Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 3 days agoLDACsh.itjust.worksimagemessage-square35fedilinkarrow-up1527arrow-down11
arrow-up1526arrow-down1imageLDACsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 3 days agomessage-square35fedilink
minus-squaremsfroh@lemmy.calinkfedilinkarrow-up29·2 days agoSo when you zip some files and then unzip them, some of the bytes are missing? Really?!
minus-squareKanda@reddthat.comlinkfedilinkarrow-up1arrow-down29·2 days agoIf nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit
minus-squareSwedneck@discuss.tchncs.delinkfedilinkarrow-up13·edit-22 days agoyou compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)
minus-squarephlegmy@sh.itjust.workslinkfedilinkarrow-up9·2 days agoKeep your magic ways to yourself, wizard
minus-squareKayana@ttrpg.networklinkfedilinkarrow-up14·2 days agoIf 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 day agoNewer fractional arithmetic encoding can get crazy https://en.wikipedia.org/wiki/Asymmetric_numeral_systems
So when you zip some files and then unzip them, some of the bytes are missing? Really?!
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
Newer fractional arithmetic encoding can get crazy
https://en.wikipedia.org/wiki/Asymmetric_numeral_systems