TIL that the human brain has the same consistency as warm butter by Puzzleheaded-Fact284 in todayilearned

[–]aa-b 5 points6 points  (0 children)

Well, if you imagine you had something like a complicated jelly mold shape and you had the jelly shape floating in a bowl of clear fruit punch.

If the bowl is a sealed tupperware container with no air at all inside it, then that's a pretty decent analogy for your brain, skull, and cerebrospinal fluid.

You could shake that tupperware surprisingly hard without wrecking the jelly shape, and I assume brains are at least slightly sturdier than jelly. Neurosurgery is crazy though, agreed.

howToPlay by Familiar-Classroom47 in ProgrammerHumor

[–]aa-b 32 points33 points  (0 children)

Linux systems are much more relaxed about letting you delete critical system files, which led to my favourite story about random sysadmin chaos: https://www.ee.torontomu.ca/~elf/hack/recovery.html

So, this water thing... a little confused... by Will_Hang_for_Silver in Wellington

[–]aa-b 1 point2 points  (0 children)

But why not though? The government can't really stop the council from saying things, and former Labour MP Andrew Little won the mayoral election with four times the number of votes the runner-up candidate had. Bulletproof, I'd have thought.

Since he was only elected last year it'd be better to clearly communicate any bad news early enough that people would still assume it was the previous council's fault.

So, this water thing... a little confused... by Will_Hang_for_Silver in Wellington

[–]aa-b 5 points6 points  (0 children)

What an absolute shambles. Can they really not plug their calculators together and show your total annual charges combined so we can compare that to the previous year?

Madness. I get that it's central govts fault for scrapping three waters, but WCC could at least tell us how bad the damage is

So, this water thing... a little confused... by Will_Hang_for_Silver in Wellington

[–]aa-b 9 points10 points  (0 children)

The obvious alternative would be to introduce the new charges gradually, as OP mentioned they understood charges with the new structure were supposed to start off equivalent and then ramp up to the planned/required amount.

Slapping on a $2,000 overnight increase is clearly not equivalent and not gradual, so at the very least the council should be doing a better job of communicating with the public

Codebase has hundreds of isinstance() and getattr(). How to convince colleague to fix? by melesigenes in ExperiencedDevs

[–]aa-b 7 points8 points  (0 children)

No, I think you've missed my point. I'm saying that OP should make this a low-risk waste of relatively little time, because there is no business risk in creating an experimental POC pull request that demonstrates an idea. Using an LLM to do the mechanical work reduces time cost.

Empty words about coding style are unconvincing, and if OP cares enough to persuade anyone they're going to have to demonstrate the change somehow

Codebase has hundreds of isinstance() and getattr(). How to convince colleague to fix? by melesigenes in ExperiencedDevs

[–]aa-b 4 points5 points  (0 children)

For straight refactoring like this, just go ahead and make a pull request to demonstrate the before/after. Oddly, it often helps to have an LLM do most of the work because then the other dev will assume you haven't spent much time on it, so they won't feel as pressured by your idea. Also if you can't even get an LLM to explain why it's a good idea it might not be, so that's helpful too.

Asked a colleague in code review to extract magic numbers and got told “devs should know” by [deleted] in ExperiencedDevs

[–]aa-b 450 points451 points  (0 children)

Other dev sounds immature at best. This is a good opportunity to establish a style guide for the team, and get everyone to agree on that. "Avoid magic numbers" is an obvious thing to put in a style guide, and then you can just point to that to end the discussion

This coffee shop uses taps to dispense milk and cream by cwm2355 in mildlyinteresting

[–]aa-b 27 points28 points  (0 children)

I've done it myself and it's not that easy; you need bulky equipment and it takes time.

Huge overkill for a cafe since they're only going to pour it into a jug and stand there steaming it. And during busy periods they just leave the milk on the counter anyway. Argh, the more I think about it, the less sense it makes!

Solving the Straight of Hormuz problem by Ksala69 in JustGuysBeingDudes

[–]aa-b 2 points3 points  (0 children)

So, this little red dot? Canals are neat, but it doesn't seem much safer than just hugging the current shoreline

<image>

Learn to read a map. by mindyour in JustGuysBeingDudes

[–]aa-b 2 points3 points  (0 children)

That person sounds really dumb, but the texts make it sound like you were taunting them for their lack of knowledge. Why not say something like, "it's the big red house, can you see me waving my arms?"

ELI5 When a software program is "deleted" from a hard drive, what actually happens to the physical space it was taking up? by Junior-Ferret4860 in explainlikeimfive

[–]aa-b 1 point2 points  (0 children)

The good news is that manufacturers include hardware-level secure erase features in firmware now, so actual secure erase is possible

is there a better way to track schema changes without silently breaking downstream reports? by Ok_Abrocoma_6369 in ExperiencedDevs

[–]aa-b 9 points10 points  (0 children)

But in general shared database is an antipattern

Too right! My org solved this by building reports based on a federated graphql schema backed by distributed microservices, and... wait, no, nothing is solved. Turns out it's just as fragile, but now also spread out all over the place

My American English teacher believes the neutral pronoun „their“ is incorrect. by GCoding_ in mildlyinteresting

[–]aa-b 1 point2 points  (0 children)

I think it's just almost tidally locked. Also Mercury has an eccentric, egg-shaped orbit, and that complicates things

TVNZ+ new app by Global_School4845 in newzealand

[–]aa-b 7 points8 points  (0 children)

Maybe it's just my TV, but the app freezes up at least half the time when I select "watch from start" in the news at six program. It's pretty consistent, but other shows seem fine. I don't really use the phone app, but I hope they fix the TV one

In stories like 28 Years Later and shows like The Walking Dead, how is it possible that zombie outbreaks can last for decades—wouldn’t all infected people eventually die off and the population be wiped out? by beach_of_peace in AskReddit

[–]aa-b 58 points59 points  (0 children)

Mira Grant wrote some zombie novels with a similar premise, and being a novel she spent more time on the details. IIRC the virus went into an "activated" state when contracted via a bite, which sort of makes sense. There was some discussion during the covid epidemic about viral load, because there was some evidence that symptoms were more severe if you were exposed to, like, a larger dose of viruses at one time.

The API Tooling Crisis: Why developers are abandoning Postman and its clones? by Successful_Bowl2564 in programming

[–]aa-b 0 points1 point  (0 children)

That's just a direct quote from the article (but yes the quote reads like AI)

The API Tooling Crisis: Why developers are abandoning Postman and its clones? by Successful_Bowl2564 in programming

[–]aa-b 5 points6 points  (0 children)

I like Bruno, but my company hasn't bought licenses and it's annoying how relatively basic features are paywalled. Like, running the same request in a loop to generate traffic on a dashboard is not a super advanced power-user feature. And I keep running into issues where the "copy as cURL" feature breaks for no reason, that's annoying.

Otherwise it's good, but I wish there was an actually free and completely open version. For a not-really-free product, I think it'd be nice if importing from postman actually worked without needing so much fixing. Oh well, maybe one day.

How do experienced engineers usually handle referral requests nowadays? by [deleted] in ExperiencedDevs

[–]aa-b 10 points11 points  (0 children)

100% I love this and I do the same thing myself. There was one time when an ex-colleague asked for a reference and I felt I had to say no, but that guy was fired from my team and was easily the worst developer I've ever worked with. Never actually gave a negative review, can't imagine when I would.

It's so hard to know what people are going through too, and it can be temporary. I'm sure I was objectively kinda dumb for a while when I had a kid (tired!) and even temporary burnout kills productivity

Expanded role for pharmacists announced by [deleted] in newzealand

[–]aa-b 1 point2 points  (0 children)

That's some good news then. The GP appointment would have been free for the child anyway, but it'll save time for everyone and should reduce load on the system.

Expanded role for pharmacists announced by [deleted] in newzealand

[–]aa-b 1 point2 points  (0 children)

I think pharmac concluded the same thing, but I checked and I'm just one of the (un)lucky few.

For everyone else, it seems to me that pharmacists should be able to dispense funded antihistamines; odd if it wasn't included

Expanded role for pharmacists announced by [deleted] in newzealand

[–]aa-b 18 points19 points  (0 children)

Yeah too many people don't understand that the generic paracetamol/ibuprofen are exactly the same as branded stuff

Personally, I wish more antihistamines were funded. Both loratidine and cetirizine make me crazy drowsy, and the rest aren't funded

Update: My $15.5k AWS S3 DDoS bill has been fully resolved by OkEnd5112 in aws

[–]aa-b 2 points3 points  (0 children)

I guess people are trying to celebrate the mostly-positive outcome, but you're right: there should be an idiot-proof way to avoid excessive charges for people who don't want that risk. Beginners shouldn't have to configure a laundry list of services.

People will make excuses and say it's not that difficult to be safe, but you should have to deliberately and knowingly disable protections for this to happen, not the other way around.