6 ms·
Unrelated, but this links to "Crockford's alphabet", https://www.crockford.com/base32.html https://www.crockford.com/base32.html , which is a base-32 system tha
by ajkjk 3y ago
Unrelated, but this links to "Crockford's alphabet", https://www.crockford.com/base32.html https://www.crockford.com/base32.html , which is a base-32 system that includes all alphanumeric characters except I and L (which are confusable with 1), O (which is confusable with 0), and U (????). The page says the reason for excluding U is "accidental obscenity'. What the heck is it talking about?
- jszymborski 3y agoFUCK
- Racing0461 3y agoyep, youtube video ids has/had? same issue where it would have things like fag/f4g etc in it. eg: google "allinurl:fag site:youtube.com"
- stronglikedan 3y agoYou can prevent any obscenity, O and 0 confusion, and I and L confusion, just by excluding vowels. If someone interprets "f4g" in an offensive way, then they have bigger issues than can be dealt with in software.
- taosx 3y agoWhy we care about obscenity in pseudo-random ids and url?
- whimsicalism 3y agoanglo morals
- Racing0461 3y agoi don't, the people that can start a **storm on twitter/tumblr causing your stock to drop 10% does.
- arcticbull 3y agoThere was that time Delta generated an "H8GAYS" PNR. [1] Pretty sure that's valid Crockford encoding too :) however, to your point, it does rely on 'A'. "H8G4YS" would likely still offend someone out there, though, given the kerfuffle in [1]. [1] https://newsfeed.time.com/2013/12/17/delta-airlines-is-very-sorry-it-generated-a-confirmation-code-that-read-h8gays/ https://newsfeed.time.com/2013/12/17/delta-airlines-is-very-...
- kortex 3y ago> But as White points out, it’s a bit surprising that Delta didn’t block this particular combination as a possibility. “I’m sure they removed many four-letter words that would be seen as offensive,” he tells the Post. “I’m surprised that ‘gays’ and ‘H8’ weren’t blocked as well.” Oh sweet summer child (meaning Jeff White, not OP/GP). As someone who has implemented a censorship/filtering list, this is a UX problem on the same level of decideability as the halting problem. You can spend boundless time curating a list to flag/grawlix every possible string that would offend even the most prudish of prudes, and some would still get through. Such as the superficially benign "EATTHE" https://www.dailymail.co.uk/news/article-2039662/Virginia-driver-wants-EAT-THE-KIDS-FIRST.html https://www.dailymail.co.uk/news/article-2039662/Virginia-dr...
- MR4D 3y agoObscenities change with language. That’s why every language has them. Even programming language have them. For instance, Basic has GOTO. /j
- ZeroClickOk 3y agoand javascript has type coercion
- oleganza 3y agoThe problem is not being offended per se, but having your user id accidentally become "user_123fuck567" — that's akin to having a vulgar license plate on your car's forehead. People don't appreciate how lucky they sometimes are.
- programmarchy 3y agoYeah, wtf?
- atonse 3y agoObviously by “wtf” you must mean “why the face?” Right? Right?? :-)
- pavlov 3y agoTrue Latinists find the letter U vulgar to the point of obscenity because it didn’t exist in Cicero’s time.
- oleganza 3y agoTrve Latinists wovld appreciate yovr point.
- littlestymaar 3y agoGotcha, there was no “W” in the Latin alphabet either ;)
- theptip 3y agoThe Scunthorpe problem? https://en.m.wikipedia.org/wiki/Scunthorpe_problem https://en.m.wikipedia.org/wiki/Scunthorpe_problem
- programmarchy 3y agoThere's enough comedic content in this article for several Silicon Valley episodes.
- pizzapill 3y agoE-Mail accounts seem the worst. Just lets write letters again, if you need a pencil I recommend penisland.net
- TedDoesntTalk 3y agoPenis mean “tail” in Latin.
- pizzapill 3y agoAs they say Your pen is Our business!
- hinkley 3y agoA coworker and I came up with basically this same set about 4 years before Crockford. We were trying to solve the url slug problem, and they were long enough that we felt 5 bits per byte would reduce transcription annoyances. In the end I think we had a couple of characters to spare, and so, sitting by ourselves because everyone else had gone home for the day, we ranked swear words by how offensive they were to prioritize removal of a few extra letters. Then I convinced him that slurs were a bigger problem so we focused on that, which got rid of the letter n, instead of u tggr is just cute, n**r is an uncomfortable conversation with multiple HR teams (we were B2B) I'm a bit fuzzy now on what our ultimate character set was, because typically you're talking [a-z][0-9], an there are a lot of symbols you can't use in urls and some that are difficult to dictate. My recollection is that we eliminated both 0, l, and 1, but I think we relied on transcription happening either from all caps or all lowercase. 0o are not a problem. Nor are 1L.
- hinkley 3y agoOther comments are jogging my memory. I think we went case sensitive (62 characters -> 30 spares), eliminated aA4, eE3, iI1l oO0 (maybe Q), uU, which is 16 characters, 14 to go. Remove the remaining 7 numbers (once you remove most for leetspeak what's the point of the rest?), nN, yY. That leaves 2 left and I can't recall what we did with those. Maybe kK or rR. Y is pretty versatile for pissing people off.
- codeulike 3y agoIf I and O are already excluded and you also exclude U that removes a lot of potential rude looking three letter combinations like *** and *** and *** and also the four letter ones like **** and **** and the dreaded ****. Of course because you have A then **** is still a possibility but very very unlikely
- titanomachy 3y agoWow I didn't know HN even had obscenity filters, and I've been here for many years. Guess that's a credit to the general civility of the community. EDIT: It appears that other people in this thread are freely using profanity, so either your comment was targeted by automation due to the unusual density of banned words, or it's a joke that went over my head :)
- rbera 3y agoThat explains it, I was very confused by what I assumed was self-censoring, since the comment didn’t actually clarify anything. I wish there was an accepted way to disambiguate asterisks from server side filters.
- deleted 3y ago[deleted]
- taberiand 3y agoNo obscenity filters, but there is a pretty good password filter I hear. For example, my password 'hunter2' will be all **** to you
- kibwen 3y ago> The page says the reason for excluding U is "accidental obscenity'. Crockford is being cheeky. To make a nice base32 alphabet out of non-confusable alphanumeric characters you only need to exclude O, I, and L. This leaves you with 33 characters still, so you need to remove one more, and it doesn't matter which one you remove, so you might as well pick an arbitrary reason for the last character that gets removed (and it's not the worst reason, if your goal is to use these as user-readable IDs, although obviously it's not even remotely bulletproof).
- pluijzer 3y agoYou could argue that U can be confused with V.
- mtlmtlmtlmtl 3y agoA vaguely related historical tangent is that V and U used to be just two ways of writing the same letter in Early Modern English. Which I imagine is why W is named as "double U" in speaking.
- jabbany 3y agoThis is also interesting since in French (and I think Spanish?) W is (correctly) called "double V"
- namtab00 3y agoIn Romanian and Italian too.
- mtlmtlmtlmtl 3y agoSame thing in Norwegian. But W is also not really a part of Norwegian orthography, it's just kind of there in the alphabet anyway. Only useful for names and maybe a couple loanwords.
- EGreg 3y agoSame with B and V, P and F, SS and Z, etc. It is why PH is F, for instance.
- deanmen 3y agoThe F word has a U in it. Sure you could just say FVCK
- deleted 3y ago[deleted]
- bongobingo1 3y agoOr Fwck if you doubly mean it.
- Zamicol 3y agoThere's more! - base 58 - Satoshi's/Bitcoin's https://en.wikipedia.org/wiki/Binary-to-text_encoding#Base58 https://en.wikipedia.org/wiki/Binary-to-text_encoding#Base58 - "base62" - Keybase's saltpack https://github.com/keybase/saltpack https://github.com/keybase/saltpack - The famous "Adobe 85" - https://en.wikipedia.org/wiki/Ascii85 https://en.wikipedia.org/wiki/Ascii85 - basE91 - https://base91.sourceforge.net https://base91.sourceforge.net At work we defined several new "bases" for QR code. IMHO, it is an under applied area of computer science.
- avgcorrection 3y ago> The page says the reason for excluding U is "accidental obscenity'. What the heck is it talking about? Because he’s an American?