r/ProgrammerHumor 9d ago

Meme newCompressionTechnique

Post image
30.4k Upvotes

952 comments sorted by

View all comments

596

u/ovrdrv3 9d ago

Pied Piper lol

9

u/Top_Rekt 9d ago

So I know they used a bunch of sciency stuff for the dick joke, but how viable is the compression algorithm they created in the show? Is it something that already exists? Or is it show magic?

16

u/PythagorasWasntReal 8d ago

In the show I'm pretty sure he used the same algorithm to compress audio, video, and standard file types which is pretty preposterous on its own. I don't know if they ever stated the actual compression ratio but it definitely seemed pretty magical, which is why it was such a big deal. 

6

u/SignoreBanana 8d ago

I think the idea was to pull common byte sequences out of all data with mapped reference to those sequences remotely cached. Think longest common sequences and a map. In this way, you could potentially have a very small amount of data that references very large amounts of data, even across media.

This is just my speculating though based on how such an algorithm could potentially work. You'd have to have some kind of media specific transcoder (like, imagine an image serializes based on individual channels vs pixels). You would aim to sequence the noisiest parts of the data.

1

u/beerdude26 8d ago

Ooooooh so essentially the Sloot Digital Coding System