5 ms·
GeohashPhrase looks quite brilliant. Will there be an open source implementation? I hope so -- it's hard to see it gaining traction against w3w without it, and
by tnjm 7y ago
GeohashPhrase looks quite brilliant. Will there be an open source implementation? I hope so -- it's hard to see it gaining traction against w3w without it, and it is undeniably better.
- thelittlenag 7y agoYes! The geohashphrase will be free to use and open source. Right now we're working on an implementation and docs and once we have that we'll release all that under a permissive license. Right now the problem is that we don't have anything more than a description of our idea to release...
- kerkeslager 7y agoI don't mean to be snarky here, but what are you working on exactly? Geohashes are just base32, so can't you just decode that to bytes and then encode it as PGP word list? In Python, the base32 to bytes exists in the standard library, and with an import[2] you can get the code to convert bytes to PGP word list. Literally 2 lines of code. [1] https://en.wikipedia.org/wiki/PGP_word_list https://en.wikipedia.org/wiki/PGP_word_list [2] https://github.com/thblt/pgp-words https://github.com/thblt/pgp-words
- thelittlenag 7y agoThe goal here is to be more clever than just encoding to a list of random words. We want to encode to a good choice of words. Partly, that means choosing words that are short, aurally clear, unambiguous, in common usage, etc. It also means we need words that together form a sentence. Initially that means choosing a good sentence structure. Our is [1-Adjective 2-Noun 3-Verb 4-Adjective 5-Noun (6-Adjective) (7-Noun)]. Next, we have to choose words that are most often the part of speech for the dictionary they need to live in, since we'll never re-use a word. Getting this dictionary together and having it good is a huge task. Of course we have a naive dictionary, but that's barely suitable for testing purposes. I may choose to make the "docs" I've written available today in their rough state. That will explain things slightly more.
- kerkeslager 7y agoOkay, that makes more sense. PGP word list already did the "short, aurally clear, unambiguous, in common usage, etc." pretty well. But the way they're structured doesn't create sentences, and I can see how creating sentences would be helpful.