sometimes i think abt whatever good intentioned person it was that compiled the standard profanity lists and how they must feel when some software engineer does this kind of incredibly public facing and embarrassing shit https://twitter.com/kateconger/status/1207775775853699072 …
-
-
I actually have one example! Had a system that generated random IDs out of letter/number strings. They showed up in URLs that we emailed, and VERY occasionally a user would complain that their link contained "27fnckyuo" or whatever. We regexed out bad words, complaints stopped.
-
Want to be very clear that I agree this would be a dumb approach in almost any other context, but we just wanted RANDOM strings to look less like INTENTIONAL cursing, and this was absolutely fine. The giant regex for that was the best thing I ever code reviewed.
End of conversation
New conversation -
-
-
It’s a good first approximation, but like for the domain of names it definitely needs a correction of checking for adjacent words for context
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
Show additional replies, including those that may contain offensive content
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.