You are viewing a single thread.
View all comments
-52 points

Compression is lossy.

permalink
report
reply
48 points

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

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
-43 points

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

permalink
report
parent
reply
22 points

If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch

permalink
report
parent
reply
18 points
*

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

permalink
report
parent
reply
18 points

Some compression is lossy

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

Community stats

  • 8K

    Monthly active users

  • 1.2K

    Posts

  • 41K

    Comments