Cool, but it's a chipmunk not a squirrel. Just saying!
A file that’s both an acceptable HTML page and a JPEG (2012)
31–40 of 72 posts
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#32Earlier quoted context omitted.
https://animalsake.com/how-is-chipmunk-different-from-squirr... (TLDR, Chipmunks are not Squirrels)
https://en.wikipedia.org/wiki/Squirrel > Squirrels are members of the family Sciuridae, a family that includes small or medium-size rodents. The squirrel family includes tree squirrels, ground squirrels, chipmunks , marmots (including woodchucks), flying squirrels, and prairie dogs amongst other rodents. (TLDR, chipmunks are squirrels)
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#33It causes a 500 Internal Service Error when passed to the W3C validator: https://validator.w3.org/check?uri=http%3A%2F%2Flcamtuf.core...
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#34Earlier quoted context omitted.
https://animalsake.com/how-is-chipmunk-different-from-squirr... (TLDR, Chipmunks are not Squirrels)
https://en.wikipedia.org/wiki/Squirrel > Squirrels are members of the family Sciuridae, a family that includes small or medium-size rodents. The squirrel family includes tree squirrels, ground squirrels, chipmunks , marmots (including woodchucks), flying squirrels, and prairie dogs amongst other rodents. (TLDR, chipmunks are squirrels)
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#35The last week i found this [1] thread by Notch. He is working in an entry to js13k [2] (a game jam about html5 games restricted to 13 KBs). He bundled the whole source code and binary data used in the game/tech demo to use the in browser image decompression, avoiding to write a custom (de)compression code, saving KBs this way. Then he just eval() the needed parts for each thing. I found this extremely clever, game ja…
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#36If you think that this is interesting, you should check out Daeken's Magister: http://demoseen.com/windowpane/magister.png.html It's a PNG that's interpreted as HTML and loads itself as compressed JavaScript!
https://news.ycombinator.com/item?id=4209168 So, literally copying previous top comments on old posts is now a popular thing?
It seems to have been a one-off, so we won't ban the account.
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#37The last week i found this [1] thread by Notch. He is working in an entry to js13k [2] (a game jam about html5 games restricted to 13 KBs). He bundled the whole source code and binary data used in the game/tech demo to use the in browser image decompression, avoiding to write a custom (de)compression code, saving KBs this way. Then he just eval() the needed parts for each thing. I found this extremely clever, game ja…
While definitely cool, I wonder how effective this is. Code/random binary data should have different characteristics than image data.
You definitely won't save enough bytes with better input heuristics than the amount of code needed to decompress them if you're only working with 13Kb of data.
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#38The last week i found this [1] thread by Notch. He is working in an entry to js13k [2] (a game jam about html5 games restricted to 13 KBs). He bundled the whole source code and binary data used in the game/tech demo to use the in browser image decompression, avoiding to write a custom (de)compression code, saving KBs this way. Then he just eval() the needed parts for each thing. I found this extremely clever, game ja…
While definitely cool, I wonder how effective this is. Code/random binary data should have different characteristics than image data.
Re: A file that’s both an acceptable HTML page and a JPEG (2012)
#39The last week i found this [1] thread by Notch. He is working in an entry to js13k [2] (a game jam about html5 games restricted to 13 KBs). He bundled the whole source code and binary data used in the game/tech demo to use the in browser image decompression, avoiding to write a custom (de)compression code, saving KBs this way. Then he just eval() the needed parts for each thing. I found this extremely clever, game ja…