Cool hack aside, can anybody think of an actual use case for this?
Itty Bitty: Sites contained within their own links
71–80 of 111 posts
Re: Itty Bitty: Sites contained within their own links
#72Cool hack aside, can anybody think of an actual use case for this?
My mind immediately went to stuff like tickets. Can't say how many times I've gotten stuck having my ticket checked at a concert or on a train simply because there's no connectivity and the page is no longer in cache on my phone. If all the data is in the URI then it could work as an option for entirely static data. I'd say this is useful for almost anything that fits in a one page PDF.
Re: Itty Bitty: Sites contained within their own links
#73You get a small performance hit on page load from decoding. But its still performant and bandwidth-saving. For network constrained users this is a solution. Also consider the scenario where you are bootstrapping. Serving static content from a single server instance or S3. But still want to target a global audience ;)
Re: Itty Bitty: Sites contained within their own links
#74This is neat! I did something similar with https://tinysite.adamdrake.com where I have a website that fits into a single ipv4 datagram (at least it did when I was using my own HTTP server). More details here: https://adamdrake.com/the-biggest-smallest-website.html
It's 9XX bytes, is the extra from TLS?
I might pull that service off of AWS APIGW/Lambda, in which case the size as an artifact of AGIGW would disappear again.
Re: Itty Bitty: Sites contained within their own links
#75Cool hack aside, can anybody think of an actual use case for this?
Copy/paste content to my coworkers, like paste-bin. but without server-side storing on the paste site. It's amazing.
Re: Itty Bitty: Sites contained within their own links
#76Re: Itty Bitty: Sites contained within their own links
#77Re: Itty Bitty: Sites contained within their own links
#78I discovered data URIs in 2014, when trying to make an app that doesn't need to be distributed through an app store. They're fun. Nihilogic made a 14KB Mario clone that can be fit into a data URI. https://web.archive.org/web/20090310220414/http://blog.nihil... I also know about the way Cemetech's jsTified TI-83 emulator parses pictures to load a calculator ROM file (steganography). https://www.cemetech.net/projects/j…
Re: Itty Bitty: Sites contained within their own links
#79I discovered data URIs in 2014, when trying to make an app that doesn't need to be distributed through an app store. They're fun. Nihilogic made a 14KB Mario clone that can be fit into a data URI. https://web.archive.org/web/20090310220414/http://blog.nihil... I also know about the way Cemetech's jsTified TI-83 emulator parses pictures to load a calculator ROM file (steganography). https://www.cemetech.net/projects/j…
The PICO-8 "fantasy console" is a playful old-school computer style emulator that passes it's programs through images. You might even look into it's algorithms [1]. I think it'd be perfect. [1]: http://pico-8.wikia.com/wiki/P8PNGFileFormat