5 ms·
One could always view tinyurl as a type of lossless compression for essentially limitless amounts of data. In that sense you can store as much as you like in a
by drp 17y ago
One could always view tinyurl as a type of lossless compression for essentially limitless amounts of data. In that sense you can store as much as you like in a single tweet.
- JacobAldridge 17y agoNo, you can link to limitless amounts of data in a single tweet. Storing is very different.
- silentbicycle 17y agoAll that does is reference it by name. The data is stored externally. There's a pretty approachable section on Huffman encoding in SICP, btw. Data compression algorithms can be really interesting.
- derefr 17y agoI've always thought the best solution to texting arbitrary data would be sending the MD5sum (or some other hash, and hopefully one which uses base 36 instead of base 16 for link brevity) on a link-forwarding service that sent you to the document on some server, somewhere. That is, something like: http://md5url.com/d41d8cd98f00b204e9800998ecf8427e http://md5url.com/d41d8cd98f00b204e9800998ecf8427e would be a URL this redirector would give you, based on a hash it did of the content it retrieved from the link you fed it. If the link ever broke, you could just search for the particular hash and find the file that way, assuming that there are document/image/torrent hosting sites that allow you to search by the kind of hashes it uses.
- silentbicycle 17y agoInteresting idea. It's probably worth explicitly thinking of first it as a distributed hash table, rather than a link forwarder, though. Incidentally, using google as a rainbow table sometimes works, though only for people who have really weak passwords and no salting.
- silentbicycle 17y agoAlso, look at Venti (http://en.wikipedia.org/wiki/Venti http://en.wikipedia.org/wiki/Venti) from plan9.