Old as fuck.
Old =/= everyone knows about it.
11–20 of 113 posts
Old as fuck.
Old =/= everyone knows about it.
I've seen something similar with a PNG file for user supplied profile image [1]. The image was a 10000x10000 all black PNG image which compresses to a pretty small file size. Unless you validate the image dimensions as well as the file size it may cause problems, for instance when GD is used to try to resize it exhausted the memory limit. [1] https://bugs.launchpad.net/mahara/+bug/784978
15,000 x 15,000: http://i.imgur.com/WzCyE.png
50,000 x 50,000: http://i.imgur.com/kgmHu.png
Both FF and Chrome refuse to open the second one. IE does something weird. Both Opera and Safari figure out the size correctly, but don't display the image.
Old as fuck.
So is algebra, and yet, every year millions of people learn it for the first time.
Web browsers support compressed data, I wonder will they try to decompress something like this?
Web browsers support compressed data, I wonder will they try to decompress something like this?
Web browsers support compressed data, I wonder will they try to decompress something like this?
Yes they will, there was a post a while back which used this to bomb the browser.
(http://www.maximumcompression.com/compression_fun.php)
It includes a 115 byte rar file that expands to 5 Mb. (That 115 bytes can be squashed down further; one compressor gets it to 39 bytes.); a file that compresses with one software but ends up bigger with another software; etc.
some say that file compression is linked to AI - good general purpose compression relies on being able to predict the text and create table; if you can predict something you understand it.
The Hutter prize tests this against the 100 Mb of enwiki8. Best attempt so far is a bit less than 16 Mb.
(http://prize.hutter1.net/) I remember zip bombs from early 90s BBSing. I also remember ANSI bombs.
Old as fuck.
>Old as fuck. So is algebra, and yet, every year millions of people learn it for the first time.