this post was submitted on 11 Jun 2024
148 points (96.2% liked)

Showerthoughts

29221 readers
1446 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] over_clox@lemmy.world 20 points 3 months ago (2 children)

And the Commodore 64 can't decode them. Even if you fed it an algorithm that could decode them, you'd be out the memory of the algorithm.

All sounds fun on paper, but I enjoy storing terabytes of data on the Internet Archive, and sticking that to a QR code, just for fun.

[–] Thorry84@feddit.nl 19 points 3 months ago* (last edited 3 months ago) (2 children)

Bullshit, it could decode them just fine it would just take a while. It would only need a source of storage like a tape or floppy drive.

Back then and now we have our computers often do tasks which process more data than we have ram available. It's not a hard problem to solve and we even solved it back then.

[–] ChaoticNeutralCzech@lemmy.one 8 points 3 months ago* (last edited 3 months ago)

You are right, QR codes are very easy to decode if you have them raw, even the C64 should do it in a few seconds, maybe a minute for one of those 22 giant ones. The hard part is image processing when decoding a camera picture - and that can be done on the C64 too if it has enough time and some external memory (or disks for virtual memory). People have even emulated a 32-bit RISC processor on the poor thing, and made it boot Linux.

[–] darklands@reddthat.com 6 points 3 months ago* (last edited 3 months ago) (2 children)

Of course. But a fun (actual) showerthought nonetheless. As I remembered it earlier today, a qr-code (version 40) can hold about 3000 bytes.

Version 40: 177x177 modules, can hold up to 7,089 numeric characters, 4,296 alphanumeric characters, 2,953 bytes of data, or 1,817 kanji characters.

[–] over_clox@lemmy.world 8 points 3 months ago (1 children)

Indeed!

I actually encoded a 256 byte DOS assembly demo (not written by me) into a self decoding plain text batch file, and then for the hell of it encoded that into a QR code.

Again, disclaimer, I didn't write the original code, but it was fun to convert into a QR code.

https://youtube.com/watch?v=LSAJTQiQ0DA

[–] PipedLinkBot@feddit.rocks 2 points 3 months ago

Here is an alternative Piped link(s):

https://piped.video/watch?v=LSAJTQiQ0DA

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] morbidcactus@lemmy.ca 3 points 3 months ago (1 children)
[–] PipedLinkBot@feddit.rocks 3 points 3 months ago

Here is an alternative Piped link(s):

totally made a version of snake that fits in a QR code

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.