this post was submitted on 17 Mar 2026
448 points (99.8% liked)

Programmer Humor

30720 readers
1787 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] 9point6@lemmy.world 159 points 2 weeks ago (6 children)

I often assume this kind of thing is part of an effort to filter for idiots

If you know that's an invalid IP address, you're probably less likely to fall for the scam after the scammer has put the setup work in. So if they filter you out before a scammer has to spend any actual effort on you, that means more time they can spend scamming people who might be more likely to fall for it

That's why these things often have egregious spelling errors and other seemingly obvious red flags

[–] zo0@programming.dev 77 points 2 weeks ago (2 children)

Just because I know what a valid IP is doesn't mean I'm not an idiot 😎

[–] toynbee@piefed.social 16 points 2 weeks ago (2 children)

Let's see you write a regex for one, then we'll decide.

[–] JasonDJ@lemmy.zip 6 points 2 weeks ago

Why would anyone want to do that when there are dozens on stackoverflow?

[–] zitrone 2 points 1 week ago* (last edited 1 week ago) (1 children)

lemme try

(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}

tbh i have seen the stackoverflow solutions so i kinda know what i needed to do

this is entirely typed out from brain tho

[–] toynbee@piefed.social 1 points 1 week ago

I'm currently on my phone and I'm not going to try to figure out how to test regex on Graphene. Therefore I can only say: well done!

[–] ulterno@programming.dev 3 points 2 weeks ago

That's not the probability they are looking for.

[–] DScratch@sh.itjust.works 51 points 2 weeks ago (1 children)

I do believe that is confirmed canon.

[–] entwine@programming.dev 2 points 2 weeks ago

I remember reading about this many years ago as an explanation for why there were so many banner ads that looked like they were created in MS paint.

[–] schnurrito@discuss.tchncs.de 19 points 2 weeks ago (1 children)

It's possible in general, but I don't think that's what's going on specifically here; not many people read IP addresses in such detail to notice such things at first glance.

[–] Cypher@aussie.zone 11 points 2 weeks ago (1 children)

It’s exactly what is happening, they’re filtering out people who know what an IP address is and can contain so that they get fewer time wasters.

[–] communism@lemmy.ml 8 points 2 weeks ago (1 children)

The point schnurrito was making is that even if you know what an IP address is and what are valid or invalid IP addresses, a lot of people won't read the IP address. They'll just see numbers and skim over them. Even if you're keeping eyes peeled for scams, most people don't have their IP address memorised off the top of their heads so they wouldn't be looking to check if the IP address looks right or not.

[–] Cypher@aussie.zone 7 points 2 weeks ago (1 children)

And the point I’m making is that they’re doing it to filter out people who know and pay attention. Real simple stuff.

[–] communism@lemmy.ml -3 points 2 weeks ago (1 children)

Then I don't think that would be the most effective way because most people aren't paying that much attention, independently of knowledge. What would tip me off to it being a scam would be other parts of the email.

[–] ApathyTree@lemmy.dbzer0.com 1 points 2 weeks ago

You, maybe, someone else, maybe not.

They put in a lot of flags like that, of varying obviousness, to filter out as many people as possible who would be savvy enough to not fall for the scam overall. It’s not just one clue, it never is.

[–] teddypolice@feddit.org 15 points 2 weeks ago

Movies and TV shows actually do it this way to prevent actual machines getting group hugged.

Like in that one X-Files episode, where the Lone Gunmen hack into an invalid IP.

[–] sniggleboots 8 points 2 weeks ago

It's also why there's usually bad spelling or grammar in those e-mails as well

[–] SCmSTR@lemmy.blahaj.zone 2 points 2 weeks ago

I never thought of it like that before. I wonder how common this intent actually is...