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

Showerthoughts

29619 readers
961 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

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics (NEW RULE as of 5 Nov 2024, trying it out)
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 4 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.

[–] [email protected] 19 points 4 months ago* (last edited 4 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.

[–] [email protected] 8 points 4 months ago* (last edited 4 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.

[–] [email protected] 6 points 4 months ago* (last edited 4 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.

[–] [email protected] 8 points 4 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

[–] [email protected] 2 points 4 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.

[–] [email protected] 3 points 4 months ago (1 children)
[–] [email protected] 3 points 4 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.