SSN numbers are good for 999,999,999 people alive or dead. At some point the US will hit that, right? Do we start reusing numbers? Sounds like a disaster waiting to happen.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    127
    ·
    edit-2
    11 hours ago

    Just add another digit and watch the entire country break down because they can’t find someone to update their 40+ year old software written in COBOL.

    • purplemonkeymad@programming.dev
      link
      fedilink
      arrow-up
      30
      ·
      8 hours ago

      Sorry we can’t employ you as your ssn is too long. Also we can’t have any new employees called Mike Smith as the HR system already has someone with that name.

    • RegalPotoo@lemmy.world
      link
      fedilink
      English
      arrow-up
      35
      ·
      10 hours ago

      I want to see the high-octane action thriller where the grizzled old hand and the renegade upstart trek to the remote compound in the woods of Montana to find Bob, the last man alive who understands how some obscure part of the IRSs core systems works and bring him back in from the cold for one last job… to save America(s neglected computer systems from decades of under investment)

  • bokherif@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    9 hours ago

    Considering there are around 330M citizens right now, I think they ran out already and they’re probably recycling them.

    • BigDanishGuy@sh.itjust.works
      link
      fedilink
      arrow-up
      21
      ·
      edit-2
      4 hours ago

      The first SSNs were issued in 1936 https://en.wikipedia.org/wiki/Social_Security_number

      According to the death master file entry in wiki 111x10^6 SSNs died between 1962 and 2018. https://en.wikipedia.org/wiki/Death_Master_File

      That’s 1.982 x 10^6 x deaths x year^-1. Assume that number to be a constant during the period 1936-2024

      1.982 x 10^6 x deaths x year^-1 x (2024-1936) x year = 174.4 x 10^6 deaths

      According to https://en.wikipedia.org/wiki/Demographics_of_the_United_States there’s 335.9 x 10^6 residents, but I can’t tell if they are citizens with SSNs, but I’m going to assume that for now.

      So (335.9 + 174.4) x 10^6 is 510.3 x 10^6 spent SSNs.

      According to the same demographics wiki article the birth rate is 11 births per 1000 population. Death rate is 10.4 deaths per 1000 population. Because I’m just doing back of the envelope estimation for fun, while trying to manage my hangover in the early afternoon, I’m not going to create an exponential function to describe population growth. Instead I’m going to only consider future the US population a constant and not consider the 200 x 10^3 annual net growth (it only affects the next year’s growth by 120 anyway)

      With all of that BS out of the way, at the present birthrate the US requires 3.695 x 10^6 new SSNs annually. The total amount SSNs in the current scheme is (10^9) - 1. I’m going to be leaving out the -1. 10^9 total SSNs - 510.3x^6 spent SSNs leaves 489.7 x 10^6 SSNs available. 489.7/3.695 is 132.5.

      So in conclusion, assuming a constant population, the US can go for another 132.5 years with the present scheme without having to reuse any SSN.

      • bokherif@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        30 minutes ago

        How about dead SSNs between ‘36 and ‘62? Great work on the calculation but all I’m saying is, if the government ran out of numbers and recycled them already, nobody would know about it. The whole situation is ridiculous if you ask me and there’s no database of SSNs you can compare it to. Weirdly enough, official government departments straight up lie about things and easily get away with it heh.

      • paddirn@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        3 hours ago

        SSN’s are also given out to immigrants as well though, so that’s a whole other population of people outside of just natural born citizens to account for. The US awards around one million green cards annually, though I don’t know what the historical numbers are.

        • BigDanishGuy@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          1 hour ago

          SSN’s are also given out to immigrants as well though

          Oh snap! Thanks for bringing that up. Adding another million each year, and assuming a constant green card rate since before WW2(!), adds another 88 million spent SSNs. With an additional million green cards annually, that makes the calculation (1000-510.3-88)x10^6 SSNs /4.695 x 10^6 SSNs/year = 85.6 years.

          So the US has until about the end of the century to figure it out.

    • Th4tGuyII@fedia.io
      link
      fedilink
      arrow-up
      5
      arrow-down
      6
      ·
      7 hours ago

      You could be right about them recycling numbers already, but 330 million < 999 million, so that wouldn’t be why

    • rbn@sopuli.xyz
      link
      fedilink
      arrow-up
      13
      ·
      11 hours ago

      Why stop at hex? You could use the entire alphabet. Even if you take only uppercase letters and numbers, we are at 36^9 possible numbers. If we include lowercase and special characters from ASCII, we can go much further.

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        6
        ·
        6 hours ago

        It’s all fun and games until you’re assigned an SSN that contains a profanity. Because you know there’s a strong chance they’ll forget to implement a check for that until someone complains, and an even stronger chance that something that looks like a profanity will escape the first implementation of checks.

        e.g. There will be someone assigned IMABUM123 and a) that will get through the understaffed / automated profanity check (no four letter words) and b) the person who gets it will have so many problems getting people to believe that it’s really their SSN, including the people who could assign them a new one.

      • Piafraus@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        10 hours ago

        E. G. For storage and performs reasons. 5 bytes vs 9 bytes. Multiplying by amount of users and various indexes - can produce very noticeably difference. More records per page.

        • rbn@sopuli.xyz
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          9 hours ago

          If we say that the SSN database internally only stores numbers today, but could also store hexadecimal values without significant redesigns, I would assume that SSNs are stored as text already. So no matter if you put numbers, hex or text, 9 places will always use 9 bytes (assuming it’s ASCII only and doesn’t support UTF-8 etc.).

          Furthermore, the post implied that the current technical limit is 999,999,999. That very much sounds like a character data type to me. Otherwise, the limit is usually something like 2^x.

          If SSNs are stored as numbers today, then hex and text would lead to quite some change. If you go for a re-design, you can as well just increase the length of the field.

  • RightHandOfIkaros@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    8
    ·
    11 hours ago

    Probably recycle the oldest ones because those people will be long dead by then.

    But let’s not kid ourselves, everyone paying into SS right now is never going to get the benefit of it because it will have collapsed.

    • stinerman [Ohio]@midwest.social
      link
      fedilink
      arrow-up
      20
      arrow-down
      3
      ·
      11 hours ago

      It can never collapse unless Congress votes to make it collapse. Even in the future once the trust fund is spent down, benefits will be reduced to what comes in from current workers. That’s not the full amount but it will be something. I think something like 70%.

      So it’s not going to collapse unless you think that anything but full benefits is a collapse.

  • EleventhHour@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    21
    ·
    edit-2
    11 hours ago

    They are regularly recycled.

    The possible combinations exceed the maximum occupancy of this planet. We’re not gonna run out.

    • AbouBenAdhem@lemmy.world
      link
      fedilink
      English
      arrow-up
      39
      ·
      11 hours ago

      They are regularly recycled.

      Not according to the SSA’s Q&A:

      Q20: Are Social Security numbers reused after a person dies?

      A: No. We do not reassign a Social Security number (SSN) after the number holder’s death. Even though we have issued over 453 million SSNs so far, and we assign about 5 and one-half million new numbers a year, the current numbering system will provide us with enough new numbers for several generations into the future with no changes in the numbering system.

    • litchralee@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      24
      arrow-down
      1
      ·
      11 hours ago

      This does not agree with what the Social Security Administration has published:

      Q20: Are Social Security numbers reused after a person dies?

      A: No. We do not reassign a Social Security number (SSN) after the number holder’s death. Even though we have issued over 453 million SSNs so far, and we assign about 5 and one-half million new numbers a year, the current numbering system will provide us with enough new numbers for several generations into the future with no changes in the numbering system.

    • tonyn
      link
      fedilink
      arrow-up
      18
      ·
      11 hours ago

      The maximum possible combinations given the current rules set forth by the SSA is 888,931,098.
      The United States population on October 11, 2024 is: 337,248,197 The estimated population of humans on earth is 8,078,345,740

      The social security administration has said they have enough SSNs to last for about the next 70 years, and will address this issue in the future.

      • phoneymouse@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        9 hours ago

        But people have been born and died, no? I’m sure total used is closer to something like 500-600 million?

        • Hegar@fedia.io
          link
          fedilink
          arrow-up
          4
          ·
          9 hours ago

          Yeah the total number of SSNs already used would be higher than the current population, I would think. It didn’t seem to me that poster was trying to estimate SSNs used/left, just provide some important numbers as relevant context.

          It’s been going since 1936 so ~90 years, and they reckon ~70 years left, so we have roughly 45% duration remaining. I’m guessing the rate of use speeds up over time and that has been accounted for, so probably we have more than 45% of the actual numbers left? I think I’d guess 450 million total used ssns.

    • Chozo@fedia.io
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      9 hours ago

      The possible combinations exceed the maximum occupancy of this planet.

      Only one country gets SSNs, not the whole planet.