6 ms·
Even better when you switch on the --lossy option in gzip.
by sgt 6y ago
Even better when you switch on the --lossy option in gzip.
- Aachen 6y agoWas hoping for an Easter egg, but it just says unrecognized option? At least on my phone it does, iirc that's a Debian Buster install that I haven't updated in three years.
- xmprt 6y agoI might be overexplaining but it's a joke because lossy compression of a gzip would end up with you losing data that could render the entire file unreadable.
- Aachen 6y agoYeah, that much was clear, just thought it might refer to a hidden option that triggers a funny message, but it didn't for me so perhaps it was a macOS' gzip thing or an ancient/recent gzip version thing.
- ObscureScience 6y agoI assume you're joking... I've never heard of lossy compression in this kinds of formats, as there's no general way to determine what can be discarded without affecting the utility of the data. There's no such option in any implementation of gzip I've found...
- dheera 6y agoWhat version of gzip has a lossy option?
- ben509 6y agoIt's a joke. Lossy compression can only work with specific formats where information loss is acceptable, theoretically anything but in practice usually audio and video. If gzip tried to do lossy compression, not knowing what the data is, it would have to randomly corrupt data.
- dylan604 6y agoThere are plent of example texts where letters are deliberately left out to show how the brain fills in the missing data without losing meaning. Seems like this --lossy option might not be so bad after all. Might only work well for those that speak the language natively.
- jwilk 6y agohttp://www.brendangregg.com/specials.html#ltzip http://www.brendangregg.com/specials.html#ltzip
- gruez 6y agoAt that point you might as well store your files in /dev/null
- suprfsat 6y agoDoes /dev/null support sharding?
- deleted 6y ago[deleted]
- fhars 6y agoMaybe try mangodb https://github.com/dcramer/mangodb https://github.com/dcramer/mangodb
- wanderer2323 6y agoif /dev/null is fast and web scale I will use it. ( https://devnull-as-a-service.com/ https://devnull-as-a-service.com/ )
- JdeBP 6y agoIt's time to mention the name of the NABOB archiver, it seems. (-: * https://news.ycombinator.com/item?id=26460317 https://news.ycombinator.com/item?id=26460317
- jdlyga 6y agoThat's where the zoster virus hides out
- LeoPanthera 6y agoAlthough you are joking, gifsicle does have a "--lossy" switch which allows changes to a gif file in order to make the LZW compression more efficient.
- masklinn 6y agoAn other example is pngquant, which performs "lossy" compression of PNGs (by quantizing them).
- LeoPanthera 6y agopngquant reduces the size by removing information from the image before compression. gifsicle --lossy actually allows slightly lossy LZW dictionary matches to improve the compression itself.
- zinckiwi 6y agoIt was the best and worst of times.
- krrrh 6y agoIt was the best and best of times.
- jdlyga 6y agoI use gzip --lossy if I forget to submit a rough draft for school papers. It comes out decent quality, but slightly worse.
- modderation 6y agoYou may be interested in Lossy Zip [1]. It's coming up on 22 years old, as of April 1st. Admittedly, it's somewhat unclear why the format didn't take off. At its core, it uses the Lessis-Moore algorithm to perform a global bit-wise sort of its inputs, then performs a run-length encoding (plus some other magic) on the results to achieve up to 100% compression. [1] http://web.archive.org/web/20050402203136/http://lzip.sourceforge.net/faq.html http://web.archive.org/web/20050402203136/http://lzip.source...
- Dylan16807 6y agoSo it only has a 0% quality setting? I'm not convinced that actually qualifies as "lossy".
- sgt 6y agoThat's hilarious. Thank you.