Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 年前LDACsh.itjust.worksimagemessage-square117linkfedilinkarrow-up1837arrow-down14
arrow-up1833arrow-down1imageLDACsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 年前message-square117linkfedilink
minus-squaremsfroh@lemmy.calinkfedilinkarrow-up49·1 年前So when you zip some files and then unzip them, some of the bytes are missing? Really?!
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up11·1 年前It’s only the zeros, so you’re not really missing anything.
minus-squareKanda@reddthat.comlinkfedilinkarrow-up2arrow-down44·1 年前If nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit
minus-squareKayana@ttrpg.networklinkfedilinkarrow-up23·1 年前If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch
minus-squareNatanael@slrpnk.netlinkfedilinkarrow-up1·1 年前Newer fractional arithmetic encoding can get crazy https://en.wikipedia.org/wiki/Asymmetric_numeral_systems
minus-squareSwedneck@discuss.tchncs.delinkfedilinkarrow-up19·1 年前you compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)
minus-squarephlegmy@sh.itjust.workslinkfedilinkarrow-up11·1 年前Keep your magic ways to yourself, wizard
minus-squareenbipanic@lemmy.blahaj.zoneBannedlinkfedilinkEnglisharrow-up19·1 年前Some compression is lossy
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
If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch
Newer fractional arithmetic encoding can get crazy
https://en.wikipedia.org/wiki/Asymmetric_numeral_systems
you compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)
Keep your magic ways to yourself, wizard
Some compression is lossy