• Deestan@lemmy.world
    link
    fedilink
    arrow-up
    125
    ·
    edit-2
    4 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@feddit.org
      link
      fedilink
      English
      arrow-up
      51
      ·
      4 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
        4 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.

    • mle@feddit.org
      link
      fedilink
      arrow-up
      9
      ·
      4 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.

    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      4 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?

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    115
    ·
    4 months ago

    So that would be installing from…

    Puts on sunglasses

    Optical media?

    YEEEEEEAAAAAAHHH!

  • LadyAutumn@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    107
    ·
    edit-2
    4 months ago

    KolibriOS, arguably the smallest modern GUI OS at 1.44MB, could be encoded on ~142 of them. I shouldn’t find that interesting but I do. MikeOS, which is an operating system used to teach about OS design, could fit on ~74.

    Making this a very dumb very impractical but nonetheless legitimately viable method for non-electromagnetic OS storage.

    • thepreciousboar@lemm.ee
      link
      fedilink
      arrow-up
      18
      ·
      4 months ago

      Laminated paper qr codes for long-term storage could last centuries, possibly much more than an hard drive or a flash drive. That would probably outlive any computer it couls be used on, but it’s an interesting solution.

      • MonkderVierte@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        4 months ago

        Lol, i use qrencode for years in a tiny little function to display URL in the image viewer.

        Btw, Unixes used lf, Mac decided on cr, and that’s why MS used cr lf, for compatibility. Did i remember that right?

        • toynbee@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          I think I knew the answer to that last question about twenty years ago, but I can’t answer it with any guaranteed accuracy now, sorry.

          Actually … I thought it was carriage return (emulate sending the typewriter carriage back to the starting position), line feed (emulate typewriter moving paper up by one line). Or, to put it another way: ding!

      • SteveTech@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        4 months ago

        Maybe, but also I think I was looking at the raw ‘data bits’, not ‘binary’ data. It’s actually almost exactly 4GiB, even when dropping down to minimum error correction (1.7 GiB otherwise).

        (1454942×29531024÷1024÷10244.00

        Edit: So if alphanumeric mode could store lowercase letters, base64 would’ve stored more.

  • WHYAREWEALLCAPS@fedia.io
    link
    fedilink
    arrow-up
    22
    ·
    4 months ago

    The only thing that would top this would be using punch cards. I think that’d be around 58 million punch cards for Win11.

      • M500@lemmy.ml
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 months ago

        Seriously?

        Will it know it’s a laptop and not a desktop and not let me install if there is not a webcam?

        • ChaoticNeutralCzech@feddit.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          4 months ago

          This applies to device-tied installations (PCs that come with Windows 11 preinstalled). Microsoft will not allow manufacturers to sell a laptop without a webcam this way. It needs to be HD at 15 fps, too.

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

        I always cover the punch card reader with a piece of tape, so no one can watch me jerking off to pong on my zoom calls.

  • M500@lemmy.ml
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 months ago

    I thought it would be cool to have qr-code stickers that when scanned would be an ebook.

    Sadly, they don’t hold enough data and I could not find any kind of compression that would help.

    I know it could be linked to a server, but then it’s reliant on an internet connection and for the server to be active.

    • LordAmplifier@pawb.social
      link
      fedilink
      English
      arrow-up
      8
      ·
      4 months ago

      I love that idea. The first result I got on DDG says that QR codes can hold up to 3KB of data, 7,089 numeric, or 4,269 alphanumeric characters, so (very short) short stories should work!

      • 𝕸𝖔𝖘𝖘@infosec.pub
        link
        fedilink
        English
        arrow-up
        15
        ·
        4 months ago

        Or book chapters, spread out across the city or town, with clues at the end of where the next chapter is located, forcing readers to explore the town, as they look for the next chapters in the epic they’re reading, all while living their very own epic in the process.

        Now that’s a run-on sentence.

  • Claudia@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    13
    ·
    4 months ago

    So you see SCOTUS, the government can’t tell me to shut down my windows 11 printing press, because I’m reporting on its color scheme and people need to have a copy to understand my journalism.