this post was submitted on 06 Nov 2023
33 points (97.1% liked)

Programmer Humor

36984 readers
322 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 8 comments
sorted by: hot top controversial new old
[–] magic_lobster_party@kbin.social 2 points 2 years ago (1 children)

Well at least we got a backup, right?

Right???

[–] andrew@lemmy.stuart.fun 1 points 2 years ago

It last ran a week ago and we technically haven't tested it. Just our hot replicas which also just deleted all that data.

[–] saltnotsugar@lemm.ee 2 points 2 years ago

This is what we in the industry refer to as a “big oof.”

[–] xmunk@sh.itjust.works 1 points 2 years ago (1 children)

For everyone's sanity, please restrict access to the prod DB to like two people. No company wants that to happen to them, and no developer wants to do that.

[–] HugeCounterargument@lemm.ee 1 points 2 years ago

Me applying for any database access ever: “read only. I do not want write. READ ONLY.”

[–] palordrolap@kbin.social 1 points 2 years ago

8388409 = 2^23 - 199

I may have noticed this on a certain other aggregator site once upon a time, but I'm still none the wiser as to why.

199 rows kind of makes sense for whatever a legitimate query might have been, but if you're going to make up a number, why 2^23? Why subtract? Am I metaphorically barking up the wrong tree?

Is this merely a mistyping of 8388608 and it was supposed to be ±1 row? Still the wrong (B-)tree?

WHY DO I CARE

[–] MyNameIsRichard@lemmy.ml 1 points 2 years ago (1 children)

It's a good way to wake yourself up in the morning

[–] toxic_cloud@lemmy.world 1 points 2 years ago

Doctors HATE this one simple trick! Lose up to 100% of MyChart data - and KEEP it off!

Can help reduce blood pressure, high cholesterol, weight, height, gender, name and more to NULL! Wake up feeling NULL and NULL!