Hacker News new | past | comments | ask | show | jobs | submit login

Encoding should also depend on the user. Base 32 (crockford & rfc 4648) has a nice unambiguous alphabet for compact representation and explanation of why. However if your users are speaking aloud you might want a word list representation, “TIDE ITCH SLOW REIN RULE MOT”, like s/key rfc 1751. DO NOT invent your own word lists; there are an infinite number of dragons lying in wait for idioms, homophones, dialects, etc. Dont be like me and unintentionally create a major incident like “wet clam butterfly.”



> However if your users are speaking aloud you might want a word list representation, “TIDE ITCH SLOW REIN RULE MOT”, like s/key rfc 1751. DO NOT invent your own word lists; there are an infinite number of dragons lying in wait for idioms, homophones

An unfortunate example. That's TIED HITCH SLOE REIGN RULE MOW? With only two parity bits, you can't even be sure this decoding is invalid.

RFC 1751 [0], from which this example comes, doesn't envisage the encoding being used in oral communication. Instead, it makes codes easier the user to "read, remember, and type in".

For oral transmission among professionals, sticking to the 26 upper case letters and relying on the NATO alphabet for encoding is a reasonable choice. Getting codes from untrained users in a lossy oral environment is still an unsolved problem.

[0] https://datatracker.ietf.org/doc/html/rfc1751


It would help if nato alphabet was universally known thing.

Typing something letter by letter in Latin when neither party is a native speaker of English is very much painful almost half the time it happens


My personal experience says that the most commonly understood phonetic alphabet in the US among laypeople is the 1946 ARRL alphabet using American first and last names, for example A as in Adam, N as in Nancy. NATO phonetic alphabet confuses almost everyone I've tried it on.

https://en.wikipedia.org/wiki/Spelling_alphabet


Everyone I've run into in the hospitality industry gets NATO phonetic. Hotels and airlines, in my experience, but I assume it generalizes.

My wife thought it was crazy the first time she heard me use it. Then she realized that they all understand it too.


Not to mention accents.

Some people are going to sound like they’re saying Todd for Tide, and have you heard how Baltimore pronounces Iron?


Gotta cut it some slack since it’s from 1994, but still that’s a humorously bad RFC:

> These require use of a keyed message-digest algorithm, MD5 [Riv92] […] while sufficiently strong […]

Heh!

> […] is hard for most people to read, remember, and type in.

Ok, go on…

> English words are significantly easier for people to both remember and type.

Most people don’t know English.. But that shouldn’t be a problem since the word list can be changed. Right?

> Because of the need for interoperability, it is undesirable to have different dictionaries for different languages.

Oh. Well the world already learned the 26 characters of the English alphabet so adding a few words is probably fine..

> char Wp[2048][4] = […]

Oh, well at least it’s common words suitable for English beginners?

> WAD, BESS, MERT…

Hold on, these words are tricky even for…

> ORR? AGEE EGAN HAAS!!

…Are you done?

> GAUL FLAM! DRAB!


What's this type of IDs called?





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: