News for hackers. Stuff that matters.
Re:A ridiculous patent for arbitrary compression by DarkShikari on Saturday November 12, 2011 @02:54PM (#3228723)
Actually, it is possible to write a compression program that can compress any file, even random data, by one byte: http://cs.fit.edu/~mmahoney/compression/barf.html

(See if you can spot the evil trick.)

Re:A ridiculous patent for arbitrary compression by bane on Saturday November 12, 2011 @04:35PM (#3228985)
My favorite is a lossy compression method that results in any file(regardless of entropy) compressing down to 1 byte.

Just throw out the rest of the file after the first byte.

Re:A ridiculous patent for arbitrary compression by amalcon on Saturday November 12, 2011 @04:59PM (#3229042)
I was about to reply to this with "My favorite fake compression scheme is..."

...but it turned out to be this.

Re:A ridiculous patent for arbitrary compression by StavrosK on Saturday November 12, 2011 @05:56PM (#3229175)
Haha, that's clever! It works, too.
Re:A ridiculous patent for arbitrary compression by inportb on Saturday November 12, 2011 @06:01PM (#3229192)
Very nice ;D