• Deestan@lemmy.world
    link
    fedilink
    arrow-up
    125
    ·
    edit-2
    3 months ago

    Using 1,454,942 maximum size and minimum error correction QR codes in alphanumeric mode (byte mode is a lie) to store Base64-encoded binary data, you get roughly 4,687,823,124 bytes. 4.6 GB. If the cards are two-sided we get 9.2 GB.

    Minimum size of Windows 11 installer image seems to be 8 GB, so it checks out!

    • ChaoticNeutralCzech
      link
      fedilink
      English
      arrow-up
      50
      ·
      3 months ago

      Why Base64? QR codes can contain pure binary data, no need to use this inefficient, not-error-correcting 6-to-8 encoding.

      Oh, I forgot Microsoft does not care jack shit about saving people’s computing resources. However, Windows 9x installers on floppies used custom formatting except the first bootable one, allowing them to fit nearly 2 MB of useful data per floppy.

      • Deestan@lemmy.world
        link
        fedilink
        arrow-up
        22
        ·
        edit-2
        3 months ago

        They can contain binary data, but less of it. Not sure of the details, but you get 3k bytes if binary data or 4.2k alphanumeric letters. So no big difference all in all, which is a bit silly.

        Also, many QR scanners can’t handle binary data and freak out on null values or newlines.

        We must consider the practical side of installing Windows 11 from a semitrailer load of cardboard.

        • ChaoticNeutralCzech
          link
          fedilink
          English
          arrow-up
          14
          ·
          edit-2
          3 months ago

          The alphanumeric mode does not support lowercase though, it has 5.5 bits/char (pairs of characters are encoded as a base-44 numbers in 11 bits).

    • mle
      link
      fedilink
      arrow-up
      9
      ·
      3 months ago

      Nice!

      Though if they were double sided, there is no way we can see all these cards in the same shot. If it starts at odd numbers (i.e. #1), #3 and #4 would share the same card front and back, if it starts even (i.e. a cover graphic and #1 on the same card), #4 and #5 should share the same card front and back.

      • Deestan@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        3 months ago

        Card#1, Card#1 back, Card#2, Card#2 back, etc is what you need to get 9GB out of the 1,454,492 card numbers indicated. :)

        • mle
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          Right, didn’t think of that :)

    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      What are these two sided QR code cards from the future? Did you ever play Monkey Island without a hard drive in 1989?