Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoLDACsh.itjust.worksimagemessage-square62linkfedilinkarrow-up131arrow-down11
arrow-up130arrow-down1imageLDACsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square62linkfedilink
minus-squaremsfroh@lemmy.calinkfedilinkarrow-up3·1 year agoSo when you zip some files and then unzip them, some of the bytes are missing? Really?!
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up2·1 year agoIt’s only the zeros, so you’re not really missing anything.
minus-squareKanda@reddthat.comlinkfedilinkarrow-up0arrow-down1·1 year agoIf nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit
minus-squareSwedneck@discuss.tchncs.delinkfedilinkarrow-up2·edit-21 year agoyou compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)
minus-squareKayana@ttrpg.networklinkfedilinkarrow-up1·1 year agoIf you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch
So when you zip some files and then unzip them, some of the bytes are missing? Really?!
It’s only the zeros, so you’re not really missing anything.
If nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit
you compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)
If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch