this post was submitted on 11 Feb 2025
1308 points (98.6% liked)

Programmer Humor

20778 readers
1556 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

See the post on BlueSky: https://bsky.app/profile/provisionalidea.bsky.social/post/3lhujtm2qkc2i

According to many comments, the US government DOES use SQL, and Musk is not understanding much what's going on.

you are viewing a single comment's thread
view the rest of the comments
[–] x00z@lemmy.world 30 points 2 weeks ago (1 children)

"Our databases only store in RAM because I AM THE ELECTRICITY BATTERY MASTER"

[–] Droechai@lemm.ee 5 points 2 weeks ago (1 children)

You save quite a lot of time when working on a database if it's stored in RAM compared to tape, so it does make sense to use that technology

[–] BeardedGingerWonder@feddit.uk 8 points 2 weeks ago (1 children)

Yeah in memory databases can be super fast.

[–] PrettyFlyForAFatGuy@feddit.uk 7 points 2 weeks ago (4 children)
[–] moseschrute@lemmy.world 10 points 2 weeks ago (1 children)

Then you lose your database quickly, so it’s still fast

[–] Phunter@lemm.ee 2 points 1 week ago

Your delete is O(1)? Ha! Our delete operation runs in O(0).

[–] Wiz@midwest.social 3 points 2 weeks ago

It in Elon's case, catches fire and locks you in

[–] BeardedGingerWonder@feddit.uk 1 points 2 weeks ago

My use case is primarily real time data capture - raw log is written to disk and can be recovered from, although at that point we'd have fallen back on the secondary as primary would now be suspect.

[–] dion_starfire@lemm.ee -3 points 2 weeks ago (1 children)

At which point you have to slurp down a few hundred terabytes from the other datacenters when the power turns back on.

This is why Google datacenter managers hesitate to turn off the power even when an employee is in the process of getting electrocuted.

[–] optissima@lemmy.ml 12 points 2 weeks ago (1 children)

You have to link a source for something that offhandedly horrific

[–] dion_starfire@lemm.ee 3 points 1 week ago (1 children)

Sadly I cannot, since the source is an ex-Googler I know in person who was there personally. While I fully believe the story, I'm just some rando on the Internet, so you're welcome to take it with the appropriate pile of salt.

[–] optissima@lemmy.ml 1 points 1 week ago

Thank you for the honesty, I do believe you fwiw, it's in line with general business practices