this post was submitted on 11 Feb 2025
1305 points (98.5% liked)
Programmer Humor
20703 readers
2063 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm sure folks on here know this, but you know, there's also that 10K a day that don't so...
What makes this especially funny, to me, is that SSN is the literal text book example (when I was in school anyway) of a "natural" key that you absolutely should never use as a primary key. It is often the representative example of the kinds of data that seems like it'd make a good key but will absolutely fuck you over if you do.
SSN is not unique to a person. ~~They get reused after death, and a person can have more than one in their lifetime (if your id is stolen and you arduously go about getting a new one).~~ Edit: (See responses) It seems I'm misinformed about SSNs, apologies. I have heard from numerous sources that they are not unique to a person, but the specifics of how it happens are unknown to me.
And they're protected information due to all the financials that rely on them, so you don't really want to store them at all (unless you're the SSA, who would have guessed that'd ever come up though!?)
It's so stupid that it would be hilarious if people weren't dying.
Thanks for (starting to) explain this concept to people not accustomed to how the US does their shit.
See, where i live, we used to have for example a Tax-Number. That was a thing the taxdepartment used to identify a person. But if you move from city a to city b, that numbers changes. So if you move a lot, you will have numerous of these.
Now, some 15 years back, the Tax-ID was introduced (fellow residents at this point will lnow it might be Germany) and this number is a one-in-a-kind ID that will only be assigned to you. They create it shortly after birth. My sons first registraion ID was this, before anyrhing else. You will also get a uniqie healthcare-ID that also works like that.
So...how does that work in the US and why is habing a changing number that is not unique helpful? Or what is Elon not getting? I dont get it either because I dont know how this works for you.
Thanks in advance to shed light on this.
The SSN is supposed to just be a number that you give your employers and the IRS so that your social security (the USs blanket retirement savings/pension system) contributions get logged correctly to you and then when you retire you can use that number to get the social security benefits that you paid into. The number has ended up being used for all sorts of things because the USA is slightly broken because it is SORT OF a unique ID number for each US citizen, except of course that it wasn't intended to be that, SSNs are only supposed to be used from first social security contribution (first paycheck) to last social security payout (death) so naturally they can just be recycled.
Thanks, get it now.
So, Elon doesnt know this and thinks that multiple uses of SSN is a proof of a fraud when in reality it is just a sign for a bad system that is not used as intended or not designed as it is needed?
He's complaining that a number isn't unique and is being poorly used, but the number isn't supposed to be unique and he's complaining that it's not being used in a way that experts are specifically warned not to use it in.
But on a second, stupider layer, this is the system those numbers originate from. So however they use them is how they're supposed to be used.
But then, back above that first stupid layer, on an even more basic and surface level degree of stupid, the government definitely uses SQL databases. It uses just... so many of them.