47 points

WARNING: QR codes are not suitable for upgrading your C64’s RAM.

permalink
report
reply
12 points

Well not with that attitude.

permalink
report
parent
reply
5 points

This is how YouTube videos are born

permalink
report
parent
reply
21 points

Now this is a shower thought. I love it.

permalink
report
reply
20 points

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.

permalink
report
reply
19 points
*

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.

permalink
report
parent
reply
8 points
*

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.

permalink
report
parent
reply
-7 points

Did you read the original post? They said RAM.

Go ahead and pull all that magic in RAM, and RAM alone…

permalink
report
parent
reply
6 points
*

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.

permalink
report
parent
reply
8 points

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

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
3 points
3 points

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.

permalink
report
parent
reply
15 points

Tiny nitpick, 23 qr-codes are needed as one can contain 2,953 bytes and c64 has 65,536 bytes of ram. 65536/2953=22.19

permalink
report
reply
15 points

Finally, I can download more RAM

permalink
report
reply

Showerthoughts

!showerthoughts@lemmy.world

Create post

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

  • All posts must be showerthoughts
  • The entire showerthought must be in the title
  • Posts must be original/unique
  • Be good to others - no bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia
  • Adhere to Lemmy’s Code of Conduct

Community stats

  • 5.4K

    Monthly active users

  • 1.1K

    Posts

  • 39K

    Comments