• MoonMelon@lemmy.ml
    link
    fedilink
    English
    arrow-up
    51
    ·
    3 days ago

    TFW you live in a galaxy-spanning super civilization but your planet is dying because its ID in the central database has a UUID collision with another planet 80000 light years away.

    • marcos@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      3 days ago

      Well, the UUIDs for almost everything we use are galaxy-scale already. Astronomers just need to up those random letters a bit.

    • Gork@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 days ago

      How difficult would it be for every single thing that can be cataloged and named in the known universe to have a sufficiently unique UUID?

      • atopi@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        2 days ago

        according to wikipedia, there are about 10⁸⁰ protons in the observable universe

        you would need 266 bits to give each one a different number
        if you are using base 64, you would need 45 digits
        it would look something like this aGVoc3Z4ZnN5YWhkYiByaHNqc2hyIGcgZGhzaGVkaGJz1

      • MoonMelon@lemmy.ml
        link
        fedilink
        English
        arrow-up
        9
        ·
        3 days ago

        IDK, it’s fun to think about because maybe the 128 bit UUID is still being used due to 40k-like levels of technical debt, and also weird edge cases that cause ID explosion. Like maybe the 4000 year old spec says we need to track micrometeoroids too, sorry.