this post was submitted on 22 Sep 2025
329 points (96.6% liked)
Programmer Humor
26650 readers
2087 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Compression algorithms are magic. Especially lossless compression.
For me it's the opposite. Lossy ones (the ones that seem to maintain quality while lowering size by a lot) are magic to me but lossless is understandable.
What do you mean "treat this image as a wave and do an inverse Fourier transform on it in order to discard the high frequency low amplitude noise". wtf? Straight up magic.
I guess there are two kinds of magic. There is the magic of Fourrier which is lossy with funny math. But it is understandable that one can get higher compression ratios when it's lossy. But I find it even more magic that we can still find better ways to encode images losslessly. I would have thought we had already long found the optimal way
Look at everyday things that occasionally improve. We have probably not found the optimal way for almost anything.
Most of us just are not smart enough to find a better way.