News for hackers. Stuff that matters.
Re:Show HN: Shortern URIs using Huffman Coding, not a database by usgroup on Tuesday May 02, 2017 @01:42PM (#14248636)
That's basically what a Huffman code is. Once you have a big list of examples, it's just a way to encode it to take advantage of frequency of occurrence.
Re:Show HN: Shortern URIs using Huffman Coding, not a database by ciphre on Tuesday May 02, 2017 @05:18PM (#14250718)
If it were to use a dictionary that defines a large subset of domain names and common strings found in URLs it could reduce the size somewhat more, but still seems too long to be viable. What might be more interesting is an Ethereum approach to URL shortening that is distributed amongst the Internet.