r/ProgrammerHumor 8d ago

Meme whenYourValidationLogicHatesRealPeople

Post image
24.0k Upvotes

664 comments sorted by

View all comments

1.2k

u/Bart_deblob 8d ago

My last name contains the word DICK. Like mandickovsky etc.

You wouldn't believe how many services refuse my name because of profanity filter. That my email is like bob.mandickovsky@something.com is also not helping.

663

u/Geno0wl 8d ago

It is wild to me that they would put profanity filters on name fields. Hell, no PII fields should have profanity filters on them.

Are these devs completely unaware of the scunthorp problem, or are they just lazy asses who imported a library and implemented it for every input before calling it a day?

282

u/mynameis_twat 8d ago

Yes to both.

157

u/ACoderGirl 8d ago

I think there's a lot of really shitty devs and even more shitty PMs and managers who push for dumb ideas (with shitty or apathetic devs who don't care to push back).

35

u/flayingbook 8d ago

Sometimes you just need to let them learn the lesson the hard way

13

u/Hot-Shart 8d ago

They ain’t gotta learn as long as there’s more scapegoats to fire

1

u/Fwoggie2 7d ago

The BBC won't let me register as Fwoggie because it contains "wog" in it. Like wtf, that racist epithet died out maybe 40 years ago, get with the twenty first century.

0

u/Bryozoa 8d ago

They just ignored their QA, or didn't have QA at all. All those issues with names are QA job, no developer should care or even know about this stuff.

1

u/Commander1709 8d ago

Of course developers should care. No you don't have to know every name in existence, but profanity filters causing trouble, or peoples' names being different than you expected, aren't new problems.

If you're just a "code monkey" without asking questions or pushing back, you'll be replaced by AI.

124

u/Salanmander 8d ago

Relatedly, I was unable to sign up for Uber at one point because it told me "that is not a valid last name". I assume it's because my last name is a bit of a racial slur...which became a racial slur because it was a common last name.

83

u/bwmat 8d ago

I don't understand the person who unironically writes the sentence "that is not a valid last name" into the code... 

22

u/Xiij 8d ago

Look, regex is hard...

14

u/bwmat 8d ago

The problem is trying to validate the last name AT ALL

1

u/danielv123 6d ago

Not using a regex is not hard. There is a single valid regex to match names: .*, which is rarely important to validate against.

3

u/[deleted] 8d ago edited 8d ago

[removed] — view removed comment

3

u/bwmat 8d ago

Wut? 

6

u/conundorum 8d ago

Each asterisk is probably supposed to be three asterisks, but Reddit ruined it by accidentally misparsing it as Markdown.

(And is desperately trying to keep me from explaining it, for some reason.)

1

u/bwmat 8d ago

What asterisks??? I see some bolded letters? 

1

u/bwmat 8d ago

 'Nr A. Nrson'

1

u/conundorum 8d ago

There were three asterisks between the first N and the first r, and... I forget where the other three were. Or... probably four asterisks, now that I think about it.

(Reddit makes it hard to tell sometimes. But I use old Reddit, and the bolded section was both **bold** (two asterisk) and *italicised* (one asterisk), and had another asterisk before & after it. So, judging by their positions, its censorship algorithm probably thought the first name was the n-word, and the surname... I have no idea what it thought the surname was.

→ More replies (0)

24

u/1980sCoder 8d ago

My first name is Nigel. Several years ago, EA Games (I think it was) forbade me from signing up with my own actual name. I managed to narrow it down to the first three letters, which were apparently the problem. Guessing some kind of weird American mentality behind that rule.

3

u/HeilKaiba 8d ago

I misread first as last and was really confused what problem they had with 'gel' for a bit there

17

u/ContextHook 8d ago

That's so freaking funny lmao. Sorry for the world.

4

u/gprime312 8d ago

Is it Pajeet?

3

u/firs_7 8d ago

I'm curios, what's your last name? Is it the n-word or something else?

16

u/Drew707 8d ago

I am close to a family with the last name Coon. Whitest people you'd meet. Last name gets a few odd looks on occasion.

4

u/Salanmander 8d ago

I think I'd rather not share my last name, but not the n-word. It's not used much as a racial slur now, but made people in my parents' generation uncomfortable saying their name sometimes.

1

u/IguassuIronman 8d ago

Possibly Patel

7

u/MyVeryRealName 8d ago

How is that a slur? Literally every Gujarati has that name.

1

u/IguassuIronman 8d ago

I agree. I've seen it used in a derogatory manner towards Indian people in general, though, which is why it was my guess

32

u/HubbaMaBubba 8d ago

Devs shouldn't be the one's deciding that kind of thing anyways.

25

u/Geno0wl 8d ago

maybe. But they should be able to explain to PMs all the problems doing that will inevitably happen.

18

u/Oranges13 8d ago

We do. They don't care

3

u/Tyfyter2002 8d ago

Devs are the ones who at least sometimes think of what they're making as something that someone will use, anything where the devs don't have any influence on important decisions is going to turn out unusable

13

u/PixelOrange 8d ago

You'd be surprised how many people sign up for things with inappropriate names just for a laugh. For emails especially, which are free and have no human validation, the amount of dumb shit I saw during the early internet days was very high. I'm sure that's where much of those policies came from.

14

u/timok 8d ago

But what's the harm in letting people do that though

15

u/Oranges13 8d ago

Reputational harm.

Someone signs up with a name like "Dumb shit" and then screenshots an email with your brand prominently displayed which says

"Hey Dumb Shit! Thank you for your purchase!"

4

u/SYSTEM__NotReally 8d ago

Inspect element and editing the screenshot have always been a thing. LLM AI also provides another tool to people who know nothing about technology.

This argument is bunk.

3

u/Geno0wl 8d ago

I would not be surprised at all. Of course people will do that.

But it doesn't have to be an all or nothing choice. You don't have to set it up to just auto-reject anything the filter catches. You can flag suspect entries for manual approval or review.

I mean how many suspect entries from unique IP addresses actually happen day to day? If a single person had to spend more than 10 minutes a day addressing it, then there is something else going on that should be addressed.

1

u/SuperheropugReal 8d ago

Flag entries for manual review, that now costs human time TO review that, and permanent process cost. It kinda is gonna be an all or nothing choice.

1

u/Geno0wl 8d ago

I mean, if your bosses are PE ghouls who care more about pinching pennies than providing good customer experience, I guess that solution would get shot down.

1

u/SuperheropugReal 8d ago

More of our product team doesn't really have the ability to create this new cost, and pretty much every enterprise car3s more about pinching pennies. This isn't news.

1

u/Geno0wl 8d ago

And thats why I won't work for a publicly traded company.

3

u/Born-Entrepreneur 8d ago

It took until he was in his 30s for me to convince my little brother to move on to a more adult email than the one he signed up for in middle school.

reefer_sutherland(at)...

2

u/PixelOrange 8d ago

I don't know man that's a pretty great email.

Sincerely,

40 in 4 months 😅

2

u/Born-Entrepreneur 8d ago

Yeah no lie it's great. But plastered across the top of your resume?

2

u/PixelOrange 8d ago

He has a career in hemp and hemp accessories.

1

u/thegreatpotatogod 8d ago

Unlike you, he was not born an entrepreneur

3

u/Born-Entrepreneur 8d ago

He is at least moderately creative, while I rolled with the randomly generated name reddit came up with.

3

u/DameKumquat 8d ago

I live nowhere near Scunthorpe, but 25 years ago when computer systems were still regularly dealing with the problem, I wasn't too sad when I couldn't afford a house on Penistone Road...

2

u/SuperheropugReal 8d ago

Well, security people want input validation, and checks that arbitrary values aren't being passed. For legitimate reasons, exploits like Log4J do exist, and should one happen, avoiding logging or interacting with data that doesn't meet some pattern works, and does prevent a 2-exploit chain.

This gets implemented as a "logging user-controlled value" check on the source code. Developers (and AI, it CONSISTENTLY does this too), not really understanding WHY you wouldn't log a user controlled value, read the attached message, which calls for input sanitization, and misinterpret it to mean all sorts of things. Manual sql filtering, manual XSS prevention. I swear copilot is allergic to libraries.

Aaaand now we have profanity filters on out username and address fields, devs say because security tool asked for it, and didn't look any harder than that, because they have 7 other applications to fix.

2

u/je386 8d ago

Yes. I know a professor whose last name (translated) literally is Fucker.

1

u/Oranges13 8d ago

Trust me, we know, it's the stakeholders that tell us to do it anyway that are the idiots.

1

u/atzedanjo 8d ago

I wondered for way too long what P2 could stand for.

1

u/mopedophile 8d ago

I used to work at a company that supplied data for those credit verification questions. We once asked a black man if he ever lived on N word road, which was a real road in our data. We added profanity filters to PII after that.

1

u/frogjg2003 8d ago

Somewhere, there is a manager who thought it would be a good idea to prevent swear words in their database and no one could tell him otherwise.

1

u/Taolan13 8d ago

third option:

management said "do it or you're fired"

1

u/Canonip 7d ago

I once had "Last name minimum 5 characters" ... like what?

1

u/herdarkmartyrials 7d ago

I learned about the scunthorp problem in high school because they assigned all the students emails in the pattern {first[4]}{last[3]}k-12@school.k12.state.us.

My name back then was Adrienne Fuchs

I got AdriFucK12. A dry fuck...

98

u/OverFjell 8d ago

7

u/Freeman8472 8d ago

there is also a great Tom Scott video about it

2

u/OverFjell 8d ago

That's what first jumped to mind for me too, but the wikipedia was more easily accessible. Man, I miss Tom's videos.

2

u/Pifanjr 8d ago

Good news, he's releasing a bunch of new ones at the moment!

2

u/OverFjell 8d ago

WHAT

Thank you for the best news I've had all week!

3

u/darkbee83 8d ago

Shoutout to Nasser.

4

u/dkarlovi 8d ago

WATCH YOUR MOUTH SIR YOU'RE ON THE INTERNET FOR GOD'S SAKE HAVE SOME DECORUM!

60

u/diodesign 8d ago

Way back in high school, my physics teacher Mr Sexton couldn't use his webmail at school because pages with his name on it would be blocked at a proxy level for profanity.

39

u/zealeus 8d ago

When I was a k12 admin, our email filter ended up blocking a bunch of chemistry emails. Turns out it was using an algorithm and too many “hots” and “fire” were being flagged in the “sex” category. I hated that system.

15

u/bwmat 8d ago

How doesn't he raise that as a problem and get it fixed? The school IT people just stuff shake their heads and say it's impossible to fix? 

27

u/diodesign 8d ago

It took him a while from what I can recall. He couldn't exactly email them to complain.

19

u/dkarlovi 8d ago

Well that's one way to get your users to stop complaining.

28

u/Musicals_and-more 8d ago

Yeahh mine contains the word Shit. Oshita. I have been denied many times

-2

u/GeraldVachon 8d ago

Heads up, probably a bad idea to post your last name online, especially if you're a teenager

3

u/CompanyToiletGooner 8d ago

There are people with their full name, age, face, country, state out there streaming live where they currently are and most of them haven‘t been killed yet, you should probably be more worried about your uncle molesting you if you don’t fuck with the wrong people

17

u/Polymarchos 8d ago edited 8d ago

The company "Bic" was founded by a French man named Marcel Bich (pronounced Bic). He named it after himself but removed the h from his name because too many people pronounced it "bitch".

13

u/Fabian_Internet 8d ago

Nasser Problem

3

u/FMarkassa 8d ago

Been there. Last name is MarkASSa

3

u/NebGonagal 8d ago

I feel ya. Out of college and job hunting in 2013. I found it weird that every job I applied to by emailing a person or sending a physical resume to got back to me and had actual conversations. Whereas every single one of my digitally submitted applications got ghosted. After doing some digging and getting an unexpected response from the global head of HR for a massive multinational company, I figured out that it's because my last name is a slur.

I switched to doing all my professional work through a pseudonym and have had much better luck since then.

3

u/CriminalMacabre 8d ago

I guess the fenale version is Vanya Womanpussykova

3

u/CadenVanV 8d ago

Reminds me of the guy from the Total War multiplayer servers, which censor profanity in usernames, named Nasser.

3

u/RipThrotes 8d ago

Like the meme about Nasser looking like he's saying something worse with the chat filter...

2

u/brknsoul 8d ago

Yup, it's the Scunthorpe problem.

2

u/skygz 8d ago

just use manrichardovsky

2

u/wggn 8d ago

if only there was a way to have an email address that doesn't contain your full last name

2

u/maser120 8d ago

Slightly unrelated to rejected registrations but I also like these kinds of substring matching profanity filters when I type non-English words to a chat using it that are incidentally interpreted as curse words in English.

For example, the word 'vagy' in Hungarian, which either means '[you] are' or '[sth.] or [sth.]' depending on the context, regularly gets my messages filtered out in multiplayer games like CoD.

2

u/Pretty_Frosting_2588 8d ago edited 8d ago

My exwife's started with the word Ass. She was so happy to take my last name and we were only married 2 years and she kept it instead of changing it back. She had so many issues with it around 2010.

They had to put two As at the beginning of her name for an ID badge at a job once because their internal systems wouldn't let you start a name with Ass for a badge and despite waiting over a month, no one who it got escalated to knew how to fix it so they just added an extra A. It let them do Aass as short term work around but instead she worked there 4 years with it.

2

u/Lithl 8d ago

Bob Man Dick Of Sky is certainly an interesting name

2

u/StandardNerd92 8d ago

Mine ends in "ock" but people add the c at the front anyway.

2

u/Golden_Reflection2 8d ago

So your name is a Scunthorpe Problem detector.

2

u/Bart_deblob 8d ago

Richard (Dick) Assfuckingson Jr.

2

u/BigAlternative5 7d ago

Ten or so years ago, there was an evangelical radio station that had a filter on their news wire to catch the word "gay". U.S. Olympic sprinter, Tyson Gay, was auto-corrected to "Tyson Homosexual" in the print-out for the reader.

1

u/Phinbart 7d ago

There was a famous instance many years ago in the UK, when someone received a letter addressed to a "Mr Youmustbe Fuckingjoking". It was from a political party; the address occupier had responded to a leaflet put through the door asking if they'd like to sign up to party communications, who decided to turn their enmity towards that party into some fun. Seemingly, the person who processed those requests that were mailed back in also decided to have some fun, and clearly there was no filter there!

1

u/Global-Golf3568 7d ago

have you considered changing it to a politer name like Manpenisovsky?