Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 months agoLDACsh.itjust.worksimagemessage-square111fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageLDACsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 months agomessage-square111fedilink
minus-squareenbipanic@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up0·2 months agoSome compression is lossy
minus-squaremsfroh@lemmy.calinkfedilinkarrow-up0·2 months agoSo when you zip some files and then unzip them, some of the bytes are missing? Really?!
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up0·2 months agoIt’s only the zeros, so you’re not really missing anything.
minus-squareKanda@reddthat.comlinkfedilinkarrow-up0·2 months agoIf nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit
minus-squareSwedneck@discuss.tchncs.delinkfedilinkarrow-up0·edit-22 months agoyou compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)
minus-squarephlegmy@sh.itjust.workslinkfedilinkarrow-up0·2 months agoKeep your magic ways to yourself, wizard
minus-squareKayana@ttrpg.networklinkfedilinkarrow-up0·2 months agoIf you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch
Compression is lossy.
Some compression is lossy
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)
Keep your magic ways to yourself, wizard
If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch