T
T
tao2011-11-04 03:55:14
Programming
tao, 2011-11-04 03:55:14

Phrases as identifiers?

Not so long ago, it seems, there was an article on Habré about guys who gave users a phrase instead of an error identifier (to simplify contacting technical support, as far as I remember). Those. when something didn't work, the user would get an error message like Alert! Pink pony! or “ Alarm! Drunken Octopus! ”, called support, reporting his drunken octopus, where the octopus was decrypted and the error identifier was received.
Question: where the hell is this article? Who are these guys? Off my feet, looking for a second hour, performing wonders of compiling requests.
Question with an asterisk: well, the article could not be found, or there was none, or I made it up, but the idea is good; what is the best way to encode arbitrary identifiers into noob-readable phrases? What is the number of identifiers that can be encoded into adjective + noun phrases in this way? Choose the format of identifiers yourself, but two are commonly used: numeric (123456) and alphanumeric (q1w2e3).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Habroche, 2011-11-04
@tao

Voila: 6 sad squids hugging tenderly (first result for the " bug reports " tag ).

A
Alexey Grichenko, 2011-11-04
@Kalobok

The article was, I remember. Only the phrase there seems to have been more complicated. Something like "what, who, how, what does." The number of codes is, in principle, limited only by the number of words in a language. You can take 1000 nouns and 1000 adjectives and get a million codes. You will need a conversion table. Although, you can do without it. For example, use hashes of words. But then you need to choose such words and such a hash so that there are no collisions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question