• r00ty@kbin.life
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    1 year ago

    How about 0xYYYMDD or 0xYYYYMDD if you need years after 4095 for some reason.

    Today is 0x7e7b16

    • takeda@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Congrats, you made it even less practical. Why not make it binary if that’s the goal?

      • r00ty@kbin.life
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Nah. With binary, you can lose one hex digit AND the max year would be 2047 (11 bits year, 4 bits month, 5 bits day). What’s not to like about hex anyway?

        • Algaroth@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Wouldn’t it just start over when it hit the max? Kinda like Ghandi being so peaceful he becomes a genocidal nutcase in Civilization?

          • r00ty@kbin.life
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Yes, although isn’t that an urban legend? Pretty sure I read that it was.

            • Algaroth@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              It was acknowledged as a bug by a dev. The value went from 0 to 255 and then started over. So 256 becomes 0. It’s basically a feature now.

                • Algaroth@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  Thing is, it did happen in the earlier games and I doubt Sid programmed all the games himself. They just put his sexy face on them like the Nintendo Quality Control stamp.