awful.systems
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@suy@programming.dev to Programmer Humor@programming.devEnglish • 4 months ago

The government doesn't use SQL

programming.dev

message-square
397
fedilink
1.32K

The government doesn't use SQL

programming.dev

@suy@programming.dev to Programmer Humor@programming.devEnglish • 4 months ago
message-square
397
fedilink

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.

  • @asdfasdfasdf@lemmy.world
    link
    fedilink
    6•4 months ago

    Just curious, but if SSNs were not recycled after death, would there be any reason not to use them as a primary key?

    • @franzfurdinand@lemmy.world
      link
      fedilink
      16•
      edit-2
      4 months ago

      They’re sequential, so the values above and below yours are valid SSNs of people born in the same hospital around the same time.

      This would make it trivially easy to get access to records you shouldn’t

      • @asdfasdfasdf@lemmy.world
        link
        fedilink
        7•4 months ago

        Isn’t that assuming you have access to doing arbitrary SQL queries on the database? Then you’d by definition have access to records you shouldn’t.

    • tiredofsametab
      link
      fedilink
      4•4 months ago

      As the user posted, one human can have more than one SSN in their lifetime. Many humans will never have an SSN. Some of those humans may have a TIN. Some humans may have at least one TIN and one SSN at some point.

      • @bamboo@lemmy.blahaj.zone
        cake
        link
        fedilink
        English
        1•4 months ago

        What are the situations where you can have more than one SSN?

        • tiredofsametab
          link
          fedilink
          1•4 months ago

          I’m referencing this, but I’m not actually sure: https://www.ssa.gov/OP_Home/handbook/handbook.14/handbook-1401.html

          • @bamboo@lemmy.blahaj.zone
            cake
            link
            fedilink
            English
            1•4 months ago

            right I did hear the lifelock guy had to get a new SSN, and also Hilda Schrader Whitcher who’s SSN was 078-05-1120 and needed to be reissued after her SSN was used as a placeholder in wallets. These seemed to be very uncommon though, and not something I’d expect most systems to be able to handle.

Programmer Humor@programming.dev

!programmer_humor@programming.dev

remote_follow_modal_title

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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
  • 936 users / day
  • 3.81K users / week
  • 8.2K users / month
  • 15.3K users / 6 months
  • 24.3K subscribers
  • 1.05K Posts
  • 22.4K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org