this post was submitted on 27 Aug 2024
541 points (99.5% liked)

196

16551 readers
2097 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
top 42 comments
sorted by: hot top controversial new old
[–] Deestan@lemmy.world 125 points 2 months ago* (last edited 2 months ago) (5 children)

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 50 points 2 months ago (1 children)

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 22 points 2 months ago* (last edited 2 months ago) (1 children)

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 14 points 2 months ago* (last edited 2 months ago) (1 children)

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).

[–] Deestan@lemmy.world 20 points 2 months ago

Shit!

How do I cancel a print job.

[–] NegativeInf@lemmy.world 32 points 2 months ago (2 children)

Well, here I go printing 1244 pages of QR codes to store tinycorelinux for the after times.

[–] Technus@lemmy.zip 22 points 2 months ago (2 children)

Better figure out how to code a QR reader in pure machine code as well.

[–] bdonvr@thelemmy.club 5 points 2 months ago

It's cool, you can teach yourself to decode QR by hand

[–] NegativeInf@lemmy.world 4 points 2 months ago

Which is why that optar thing is probably the better option.

[–] user224@lemmy.sdf.org 10 points 2 months ago (2 children)
[–] jawa21@lemmy.sdf.org 5 points 2 months ago* (last edited 2 months ago)

Optar is the first time I've seen someone seriously present their project as compatible (even claiming that is possibly the optimal use case) with IP over avian carriers. Craziness, but well done.

[–] NegativeInf@lemmy.world 4 points 2 months ago

Damn. Now that's some lovely stuff!

[–] mle86 9 points 2 months ago (1 children)

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 8 points 2 months ago (1 children)

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. :)

[–] mle86 1 points 2 months ago

Right, didn't think of that :)

[–] WHYAREWEALLCAPS@fedia.io 7 points 2 months ago

Can you notch the corner and make a card double the capacity?

[–] jaybone@lemmy.world 5 points 2 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 116 points 2 months ago

So that would be installing from...

Puts on sunglasses

Optical media?

YEEEEEEAAAAAAHHH!

[–] LadyAutumn@lemmy.blahaj.zone 107 points 2 months ago* (last edited 2 months ago) (3 children)

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.

[–] Loulou@lemmy.mindoki.com 27 points 2 months ago

I see an engraved stone wall with people slowly moving infront, each scanning a new qr code...

[–] thepreciousboar@lemm.ee 18 points 2 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.

[–] toynbee@lemmy.world 8 points 2 months ago (1 children)
[–] MonkderVierte@lemmy.ml 4 points 2 months ago* (last edited 2 months ago) (1 children)

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 2 points 2 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 37 points 2 months ago* (last edited 2 months ago) (1 children)

For those wondering, when using the biggest QR code with the maximum error correction (10,208 bytes), 1,454,942 QR codes is slightly less than 14GiB, which should be more than enough for a Windows ISO.

My math: (1454942×10208)÷1024÷1024÷1024≈13.83

Edit: Damn another guy beat me to it, now I wonder how I'm so far off.

[–] anton@lemmy.blahaj.zone 6 points 2 months ago (1 children)

Because the other comment had a ~~useless~~ counterproductive step in it, namely base64.

[–] SteveTech@programming.dev 5 points 2 months ago* (last edited 2 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×2953)÷1024÷1024÷1024≈4.00

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

[–] WHYAREWEALLCAPS@fedia.io 22 points 2 months ago (2 children)

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

[–] ChaoticNeutralCzech 22 points 2 months ago (2 children)

Windows 11 laptops are required to have a webcam but not a punch card reader. (Bummer, right?)

[–] M500@lemmy.ml 6 points 2 months ago (1 children)

Seriously?

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

[–] ChaoticNeutralCzech 4 points 2 months ago* (last edited 2 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 5 points 2 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.

[–] Bytemeister@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

https://en.wikipedia.org/wiki/Core_rope_memory

Some back of the napkin math says that would take about 70833 ft^3 to store the Win 11 installer. Thats a cube that is about 41ft long on each side. It's approximately 18.5 semi truck trailers of memory.

[–] Iheartcheese@lemmy.world 18 points 2 months ago

ITT math nerds doing nerd math

[–] M500@lemmy.ml 14 points 2 months ago (1 children)

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 8 points 2 months ago (1 children)

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!

[–] 01189998819991197253@infosec.pub 15 points 2 months ago (1 children)

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.

[–] xspurnx@lemmy.dbzer0.com 7 points 2 months ago (1 children)

love it!

You could even incorporate the (route through the) city in the story...

[–] 01189998819991197253@infosec.pub 4 points 2 months ago (1 children)

I love that!!

Hopefully I'll have time soon, and I'll start this. If I do do this, I'll open source it. Anyone know of a git type thing for books/stories?

[–] xspurnx@lemmy.dbzer0.com 2 points 2 months ago

Do it! You have my support (which isn't worth much, but hey!).

[–] Oestradiolo@lemmy.blahaj.zone 13 points 2 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.

[–] ChaoticNeutralCzech 12 points 2 months ago

So that's why Windows 11 laptops are required to have a webcam but no optical drive.