• supersquirrel@lemmy.ca
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      1 day ago

      An easy to remember pattern of any kind would have been better, a repeating sequence like 1010101 or 1234567 or something else that doesn’t feel completely and utterly arbitrary (almost to the point of condescension to normal non-techy users in my opinion).

      • SparroHawc@piefed.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        127 is the highest number you can fit in 7 bits of binary. It’s a lot easier to remember if you know your powers of 2.

        One bit can hold the numbers 0 and 1.
        Two bits can hold 0 through 3.
        Three bits can hold 0 through 7. Et cetera. These numbers were far more important to remember when everyone who did programming had to do low-level programming to get any sort of performance out of their code.

          • SparroHawc@piefed.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            19 hours ago

            But… but then you’re mixing signed and unsigned numbers in the same address! Panic! Human sacrifice! Dogs and cats living together! MASS HYSTERIA!!