News for hackers. Stuff that matters.
Re:Amount of profanity in git commit messages per programmin... by eftpotrm on Tuesday February 22, 2011 @06:47PM (#2252160)
Hmm, that's not very comprehensive for this purpose.

Years ago at a former employer, we discovered just after shipping a large quantity of quite sensitive demo materials that an outside contractor had managed to slip a hidden profanity into it. Oh, the joy that caused....

The immediate reaction though was that a few of the less polite and proper members of the organisation were tasked with producing as close to an exhaustive profanity list as they could so we could do a relatively thorough sweep. From memory that list was pushing 40 terms - I think I might still have a copy somewhere but the last thing this discussion needs is more swearing!

Re:Amount of profanity in git commit messages per programmin... by adriand on Tuesday February 22, 2011 @09:48PM (#2252772)
Years ago I developed a custom CRM for a client that included reminders. While testing the production version of the system pre-launch, I added many fake reminders, for users who happened to be real, along with a lot of other test data. I then cleared all of the test data...except I accidentally skipped the reminders table.

For weeks afterwards, my clients would receive profanity-laden reminders, helpfully labeled as "from Adrian".

Luckily, they had a good sense of humour about it. But since then, I've never used profanity in any kind of test data.

Re:Amount of profanity in git commit messages per programmin... by dspillett on Wednesday February 23, 2011 @09:19AM (#2254120)
I never use anything remotely non-serious in my test data. I even try make comments type on forms in tested seem at least close to real. Silly names are out too. You never know when some fool is going to show a visiting client a development system instead of one of the official demos, and I've been stung by someone not being amused by the existence of Don Kiddick and Mike Hunt in my sample dataset.
Re:Amount of profanity in git commit messages per programmin... by anthonyb on Tuesday February 22, 2011 @10:44PM (#2252919)
or at least not used your real name...
Re:Amount of profanity in git commit messages per programmin... by barake on Tuesday February 22, 2011 @07:33PM (#2252335)
We have a table full of unsavory words due to generating more than one password that upset someone. At one point someone decided we needed "pronounceable" passwords for our new users without considering the consequences.
Re:Amount of profanity in git commit messages per programmin... by eftpotrm on Wednesday February 23, 2011 @06:53AM (#2253795)
I had a brief play once for this sort of thing with doing stem-based pronounceable word generation based off a starting dictionary; the idea being that it broke them into fragments marked as beginning, middle or end and used intersections of these to build words that followed letter use rules of known words but yet weren't known words themselves. You start getting distance problems though - a lot of words it generates are too close to or are trivial encapsulations of existing words, so that'd need taking account of. One day I'll have a proper play and do something more comprehensive for this.

Tip for anyone cacheing unsavoury words - from memory the bulk of what we ended up checking for were racial slurs, of which there's an astonishing (and unsurprisingly heavily localised) variety.

Re:Amount of profanity in git commit messages per programmin... by sbov on Tuesday February 22, 2011 @07:50PM (#2252403)
Random numbers can also you in trouble in this way. E.g. anything with 666. The hard part is cross culture references that you may be unaware of.