News for hackers. Stuff that matters.
Re:Shakespeare.txt.jpg: A JPEG compression experiment by abecedarius on Monday June 17, 2013 @08:51PM (#5896910)
You'd want to count the size of the decoder, like http://en.wikipedia.org/wiki/Hutter_Prize
Re:Shakespeare.txt.jpg: A JPEG compression experiment by csense on Tuesday June 18, 2013 @01:52AM (#5897785)
Yeah. You really need this caveat to avoid the loophole where you can compress anything to zero bytes by making the desired output a literal in your decompressor (which just ignores its input and prints the hard-coded literal).

This could be considered a real-world application of "hello world" programs: Winning compression prize contests by blatantly abusing the rules.

Re:Shakespeare.txt.jpg: A JPEG compression experiment by DanBC on Tuesday June 18, 2013 @03:19AM (#5898009)
Well, yes. Except the source text is tiny, so unfortunately all the software is pretty big in comparison.

I love the Hutter Prize, and the various compression benchmark sites.

Re:Shakespeare.txt.jpg: A JPEG compression experiment by abecedarius on Tuesday June 18, 2013 @03:33PM (#5901461)
It's just pretty unconstrained without that kind of rule. And a decompressor that doesn't have to be fast can be tiny.