3 ms·
Having generated user passwords with dictionary[random()] a few times, I can tell you you will get angry users moaning about the fact you defaulted their passwo
by londons_explore 6y ago
Having generated user passwords with dictionary[random()] a few times, I can tell you you will get angry users moaning about the fact you defaulted their password to "You Fat Pig", or "Dumb Looks".
A surprising percentage of random combinations of innocuous words can be found offensive by someone, and automatic filtering is pretty much impossible.
- eneuman 6y agoThat's pretty funny, and you're right. I'm just avoiding the very obvious ones, but there will always be more!
- paledot 6y agoAt work I briefly experimented with naming releases deterministically based on the git hash and a common words list. I generated 20 random 3-word phrases as a quick proof of concept, and 3 of the 20 were easily construed as sexually suggestive. I filed a bug report with the English language, but it was rejected.