Hacker News new | ask | show | jobs
by shawabawa3 1246 days 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
3 comments

Storing data in the metadata reminds me of the $5000 compression challenge: https://www.patrickcraig.co.uk/other/compression.htm
This 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.

True! I still like my way, but feel free to code it like you wish, more nerdy stuff is always welcome. :)
Ah, I already did this! :)

https://wgx.github.io/anypage/editor

Looks 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/

It broke 3256x880 (225 kByte) PNG image, drastically ripping it to 407x110 (3.4 kByte) JPEG image.

Thats pretty smart! I rem I did something like this with a notepad. Would love to see to future code!
The increased CPU cost of that approach maybe outweighs the saved storage cost?