3 ms·
You can store up to 2KB of data in the URL, so you could actually run this service with zero storage costs, just generate a URL containing the provided code, co
by shawabawa3 4y ago
You can store up to 2KB of data in the URL, so you could actually run this service with zero storage costs, just generate a URL containing the provided code, could be signed if you want the username to be the only one with control of the content
- Visurox 4y agoTrue! I still like my way, but feel free to code it like you wish, more nerdy stuff is always welcome. :)
- wgx 4y agoAh, I already did this! :) https://wgx.github.io/anypage/editor https://wgx.github.io/anypage/editor
- Visurox 4y agoThats pretty smart! I rem I did something like this with a notepad. Would love to see to future code!
- davidcollantes 4y agoCode: https://github.com/wgx/anypage https://github.com/wgx/anypage
- mk12345 4y agoLooks cool! I created something similar a while ago, which allows you to store any kind of data in the url (web pages, audio, games,...). https://mkaandorp.github.io/hdd-of-babel/ https://mkaandorp.github.io/hdd-of-babel/
- app4soft 4y ago> https://mkaandorp.github.io/hdd-of-babel/ https://mkaandorp.github.io/hdd-of-babel/ It broke 3256x880 (225 kByte) PNG image, drastically ripping it to 407x110 (3.4 kByte) JPEG image.
- twinge 4y agoStoring data in the metadata reminds me of the $5000 compression challenge: https://www.patrickcraig.co.uk/other/compression.htm https://www.patrickcraig.co.uk/other/compression.htm
- tysam_and 4y agoThis is a fascinating line of emails. I am somewhat astounded of how terribly Mike handled the sportsmanship side of things -- what was he threatening to sue over, anyways? Someone who successfully paid him $100 and had respectfully inquired for the prize? I do not handle people who act in such a volatile and aggressive manner well, especially if so spontaneously. I appreciate Patrick for having good sportsmanship, keeping the situation calm, not re-engaging, then publishing the exchange for everyone to see. I recently had an exchange like this where someone blew up at me in a very toxic manner over a text-based medium, and having the messages saved certainly helped from an accountability standpoint. Thank you again for sharing this anecdote, it was very interesting.
- layer8 4y agoThe increased CPU cost of that approach maybe outweighs the saved storage cost?