this post was submitted on 24 Jan 2025
847 points (100.0% liked)

Programmer Humor

22837 readers
575 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 3 months ago (8 children)
[–] [email protected] 49 points 3 months ago (2 children)

So when you zip some files and then unzip them, some of the bytes are missing? Really?!

[–] [email protected] 11 points 3 months ago

It's only the zeros, so you're not really missing anything.

[–] [email protected] 2 points 3 months ago (2 children)

If nothing is lost, what did you compress away? Decompression is magic, I ain't gotta explain shit

[–] [email protected] 23 points 3 months ago (1 children)
[–] [email protected] 1 points 3 months ago

Newer fractional arithmetic encoding can get crazy

https://en.wikipedia.org/wiki/Asymmetric_numeral_systems

[–] [email protected] 19 points 3 months ago* (last edited 3 months ago) (1 children)

you compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)

[–] [email protected] 12 points 3 months ago

Keep your magic ways to yourself, wizard

load more comments (5 replies)