Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Trithon10294y"Text needs to be losslessly compressed, otherwise you might end up sending the wrong worms"
-- Tom Scott -
donuts236784y@12bitfloat oh ok.... But that's like generating a hash? or just corrupting the data?
<El>hi</El> becomes <El>h</> the data is sorta useless and invalid? -
@billgates Yes that's the joke. Lossy text compression is pointless in 99.9999% of all cases.
-
donuts236784y@electrineer so like JS code obfuscation/minifier then. Not lossy though...
But point is if it's lossy then you need to make sure you don't need whatever gets lost. And well for XML... THE only thing you can lose is the info between the start, end tags if you still need it to be valid for machine parsing.
Guess depends on use case
Zup - A lossy compression algorithm for text files.
Zup - A lossy compression algorithm for text files.