• Deestan@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 month 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@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month 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
        0
        ·
        edit-2
        1 month 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@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 month 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@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      1 month 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
        1
        ·
        1 month 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. :)