849
ultimate storage hack (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] kryptonianCodeMonkey@lemmy.world 52 points 5 days ago

I had a manager once tell me during a casual conversation with complete sincerity that one day with advancements in compression algorithms we could get any file down to a single bit. I really didn't know what to say to that level of absurdity. I just nodded.

[-] VineGram@programming.dev 1 points 1 day ago

Maybe they also believe themselves to be father of computing

[-] friendlymessage@feddit.org 25 points 5 days ago* (last edited 5 days ago)

That's the kind of manager that also tells you that you just lack creativity and vision if you tell them that it's not possible. They also post regularly on LinkedIn

[-] pressanykeynow@lemmy.world 6 points 4 days ago

Well he's not wrong. The decompression would be a problem though.

[-] groet@feddit.org 3 points 4 days ago

Yeah with lossy compression the future is today!

[-] SpaceCadet@feddit.nl 10 points 5 days ago* (last edited 5 days ago)

You can give me any file, and I can create a compression algorithm that reduces it to 1 bit. (*)

spoiler(*) No guarantees about the size of the decompression algorithm or its efficacy on other files

[-] lord_ryvan@ttrpg.network 1 points 2 days ago

Here's a simple command to turn any file into a single b!

echo a > $file_name

u can have everthing in a single bit, if the decompressor includes the whole universe

[-] Valmond@lemmy.world 7 points 5 days ago

Send him your work: 1 (or 0 ofc)

[-] bluemellophone@lemmy.world 7 points 5 days ago

That’s precisely when you bet on it.

[-] calcopiritus@lemmy.world 4 points 5 days ago

Just make a file system that maps each file name to 2 files. The 0 file and the 1 file.

Now with just a filename and 1 bit, you can have any file! The file is just 1 bit. It's the filesystems that needs more than that.

[-] Randelung@lemmy.world 3 points 5 days ago* (last edited 4 days ago)

It's an interesting question, though. How far CAN you compress? At some point you've extracted every information contained and increased the density to a maximum amount - but what is that density?

[-] maxwellfire@lemmy.world 2 points 4 days ago* (last edited 4 days ago)

This is a really good question!

I believe the general answer is, until the compressed file is indistinguishable from randomness. At that point there is no more redundant information left to compress. Like you said, the 'information content' of a message can be measured.

(Note that there are ways to get a file to look like randomness that don't compress it)

[-] Couldbealeotard@lemmy.world 3 points 5 days ago

I think by the time we reach some future extreme of data density, it will be in a method of storage beyond our current understanding. It will be measured in coordinates or atoms or fractions of a dimension that we nullify.

this post was submitted on 11 May 2025
849 points (100.0% liked)

Programmer Humor

23286 readers
1773 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS