this post was submitted on 11 Feb 2025
1257 points (98.5% liked)

Programmer Humor

27193 readers
1046 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.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] oo1@lemmings.world 41 points 8 months ago (1 children)
[–] senkora@lemmy.zip 25 points 8 months ago (1 children)
load more comments (1 replies)
[–] Blackmist@feddit.uk 39 points 8 months ago (5 children)
load more comments (5 replies)
[–] Tetragrade@leminal.space 39 points 8 months ago* (last edited 8 months ago) (6 children)

Sounds like he got confused looking at a view of a join.

SELECT holder_name, amount
FROM account JOIN transaction ON transaction.account_id=account.id;

-- WTF!! THERE'S DUPLICATES!!!
load more comments (6 replies)
[–] wise_pancake@lemmy.ca 35 points 8 months ago* (last edited 8 months ago) (1 children)

Maybe Musk needs to learn about data normalization and natural keys.

I'm curious what the actual data looks like. I've spent quite a bit of time auditing large data systems.

I would expect these databases to be largely denormalized with very wide tables, I would expect them to favour natural keys like a SSNs, and built around per department use cases.

I would not expect them to be highly normalized because then when you need something from another department you need them to ensure consistency.

These systems probably have like 50 years of legacy code or more in them too.

load more comments (1 replies)
[–] pivot_root@lemmy.world 35 points 8 months ago* (last edited 8 months ago) (2 children)

Oh, I'm calling it now. This one is going to be used as an attack of trans people. Throw out the archaic and manual process of updating names in federal databases, and keep it simple by making the records immutable. Then hit them with a lovely

"You MUST use your REAL NAME (MAIDEN NAME) on government forms. If the name does not match, you will be denied."

[–] Molten_Moron@lemmings.world 24 points 8 months ago (11 children)

There are already attempts to make it so your name has to match your birth certificate in order to vote.

Targets both trans rights and women's rights, simultaneously.

load more comments (11 replies)
[–] jonne 22 points 8 months ago (1 children)

They already stopped providing passports to trans people, even if they're willing to use their old name and gender. And I'm sure that policy will end up hurting women that changed their name after marriage as well, it anyone that changed their name for whatever reason.

load more comments (1 replies)
[–] AeonFelis@lemmy.world 35 points 8 months ago (6 children)

All government data is processed using sed.

load more comments (6 replies)
[–] rational_lib@lemmy.world 34 points 8 months ago (7 children)

He did the exact same thing after taking over Twitter, talking about "poorly batched RPCs" in the timeline which makes zero sense because that's obviously not how HTTP works.

The sad thing is Elon regularly shows how much of a very judgmental, "I'm so smart" idiot* he is, but somehow I keep meeting people who think he's a genius. I guess the assumption that money=smart still holds true in the US, despite being disproven time and time again.

*Do we not have a single word for this concept? I come across this kind of person so frequently there really should be one.

load more comments (7 replies)
[–] Blackmist@feddit.uk 33 points 8 months ago (1 children)

He definitely doesn't know what deduplicated means...

load more comments (1 replies)
[–] bitchkat@lemmy.world 31 points 8 months ago (1 children)

I'd bet that the government is probably the largest user of SQL. Unless there are really old systems that predate SQL. I'd imagine they have shitloads of COBOL for example.

load more comments (1 replies)
[–] x00z@lemmy.world 30 points 8 months ago (8 children)

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

load more comments (8 replies)
[–] magic_lobster_party@fedia.io 26 points 8 months ago (9 children)

Maybe it’s all just one big .xlsm file?

load more comments (9 replies)
[–] Randelung@lemmy.world 25 points 8 months ago (3 children)

Of course. Everyone who's ever used a DB knows it's BS. As long as the data is structured - which it a) is because he was able to make assertions about it and b) fucking Excel files are enough - it CAN be imported and SQL'd on. Even Excel has built in support for fuck's sake, not to mention Python and PowerQuery.

The dude is a self-certified moron - he probably struggles with the concept of PKI, too.

load more comments (3 replies)
[–] Im_old@lemmy.world 22 points 8 months ago (2 children)

Also that's not how deduplication works.

He means/thinks that SSN is not unique (which is not a problem, just different design).

Of course he's wrong about lots of stuff, just the nerd in me could not not explain it.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›