TIL (about the Dark Arts of HTML)
-
Even Discourse does it right, btw.
As soon as the E-Mail address contains
stuff
@
site
.
blah
, it acknowledges it as valid, otherwise it says "Please enter a valid email address".It's not complicated.
But hey, maybe you just never wrote software that got used by, you know, actual users.
-
But hey, maybe you just never wrote software that got used by, you know, actual users.
None of them ever signed up successfully?
-
Depending on the downstream SMTP service, it's probably best to avoid too many invalid requests.
Why don't you tell us your objection to this?
I'm not sure how you could avoid this if your users fatfinger their addresses on a regular basis. And I don't think that they'll fatfinger the "@" specifically.
Also, you're making it sound as if there's a horde of monkeys out there, just waiting for some sign-up form to allow a # instead of an @
-
But hey, maybe you just never wrote software that got used by, you know, actual users.
I think he's said elsewhere that he's mainly an admin. I suppose I could Discosearch for the evidence…
Nah.
-
-
Also, you're making it sound as if there's a horde of monkeys out there, just waiting for some sign-up form to allow a # instead of an @
Not really.
There's a specific set of scenarios where you can prevent users from submitting an invalid address - as we've all pointed out here - and it's so simple that there's no excuse not to.
You can't stopcodinghooror@ilovegoats.wtf
vscodinghorror@ilovegoats.wtf
but you can preventcodinghorror
orcodinghorror@ilovegoats
.
-
And just how probable is the latter?
-
And just how probable is the latter?
Does it really matter considering it how little time it takes to avoid?
-
Does it really matter considering it how little time it takes to avoid?
Time you could easily spend on other features.
-
Time you could easily spend on other features.
Like cutting down on the amount of invalid spam mail your app is generating? Does that qualify as a feature?
-
Time you could easily spend on
other featuresmaking a cup of tea.
FTFY.Even Jeff gets this concept.
-
Parenthetically, the free wifi in my hotel requires me to "log in" with a 'valid' email address every 24hours to continue using it. (I've been alternating between
bob@abc.com
andbob@xyz.com
each day, but that's not important right now.)Have a guess what happens if you delete the
@
from the email address in the login form? Go on, have a guess. I dare you to guess...
-
my go to email address for that sort of thing is
thiswillbounce@example.com
-
That's fine, if a bit long.
a@b.com
is often sufficient.
Filed under: what do you mean, I have a thing for short names?
-
i'm amazed at how often a@a.aaa works.
-
Today i learned that there is a skyrim fanfiction by the title of "arrow to the heart"
good to know......
oh. based on the description it appears to be yaoi...
/me closes that tab
moving on.
-
I'm tempted to move this stuff into a future FP discussion.
-
hmm...... if you are thinking of the one i think you are thinking of it would be rather apropos.
-
Not that I'm seeing how someone could accidentally type a hash instead of an @ since they're on opposite sides of the keyboard.
Not on a US QWERTY. @ is shifted 2 and # is shifted 3.
Edit: Hanzo'd. A lot.
-
I'm not sure how you could avoid this if your users fatfinger their addresses on a regular basis. And I don't think that they'll fatfinger the "@" specifically.
Also, you're making it sound as if there's a horde of monkeys out there, just waiting for some sign-up form to allow a # instead of an @
I had a user fat finger in a ! Instead of the @ the other day. Even with the validation in our system, they still couldn't figure out why it was invalid and called our helpdesk. Point is, users are idiots and can't even see the answer when you give it to them. How do you think they'll react when you blindly accept an address that is obviously wrong and then they never get the setup email?
-
I do think it's valuable to check for
/.+@.+\..+/
. Primarily because that's a simple check, which matches all addresses you're willing to assign accounts to, and it catches people misfilling the form and supplying their real name, twitter handle, phone number, or any number of other unrelated items in that field.There's plenty else to fatfinger which you can't exclude.
-
That only makes sense if you are the one who has to trigger the email manually for each and every entry.
Or if your server's CPU load jumps to 100% everytime an email is sent.
Have you ever designed an UI? Or made a front-end in general? I sure hope not.
Sure, you can not care about guarding against obvious typos. Hell, you don't need a "repeat password" field, or in most cases even a valid email in general - you can just say "well, it's too much work to code that, so if anybody can't log in or doesn't receive e-mails, screw them, it's their fault anyway". Of course it's less work.
But users don't care what's convenient to the developers.
a sensible justification besides "a user might yell at me!"
That is a sensible justification. The user is the one paying you money. He might not yell at you, and probably won't - he'll just take the business elsewhere.
So you don't want to have pissed off users.
Yes, of course. Preventing them from making a typo will bring peace on earth.
So it's either "peace on earth" or "fuck them with a stick"?
Also, you're making it sound as if there's a horde of monkeys out there, just waiting for some sign-up form to allow a # instead of an @
Not a horde. But given the amount of work you'd need to protect against that, in most cases even a single person who does fat-finger the @, doesn't get the activation email and gets bored enough not to try again has probably cost you more than it would to implement the solution.
Besides, just misreading the field description and typing email in nick and nick in email is an admittedly unusual, but definitely more probable problem.
oh. based on the description it appears to be yaoi...
/me closes that tab
Render me surprised.
-
But users don't care what's convenient to the developers.
Like using 0 to mean January.
Dicks.
-
Like using 0 to mean January.
Dicks.
What January? I make them write UNIX timestamps.
-
I had a user fat finger in a ! Instead of the @ the other day. Even with the validation in our system, they still couldn't figure out why it was invalid and called our helpdesk. Point is, users are idiots and can't even see the answer when you give it to them. How do you think they'll react when you blindly accept an address that is obviously wrong and then they never get the setup email?
There won't be a difference either way from your tale, so why bother?
-
-
Agreed.
-
-
It's gay porn, but cute!
The odd thing is it's gay porn aimed at women.But then the classic male fantasy is apparently lesbians, so…
-
But then the classic male fantasy is apparently lesbians, so…
Most males are just not fans of looking at dicks in general. Lesbian porn is an obvious choice in that matter.
-
Most males are just not fans of looking at dicks in general. Lesbian porn is an obvious choice in that matter.
This.
It's not a fantasy because, well, TDEMS but as porn it works.
-
I don't understand straight people sometimes... like, you're looking at a person, and you're all, sweet butt, nice legs, decent hips, oh, wait, there's a dick, boner gone? -5000 sexy points for inappropriate genitalia?
-
oh, wait, there's a dick, boner gone
Isn't that kinda the definition of being a straight male?
-
-5000 sexy points for inappropriate genitalia?
That sounds about right. Like, you bite into an apple, and whadayaknow....half a worm!
-
you're all, sweet butt, nice legs, decent hips, oh, wait, there's a dick, boner gone?
Men and women are different in those respects. Hot women don't have a man's bum, and presumably vice versa.
If there's a man's bum, then it's a no before getting far enough to notice the dick.
-
I don't understand straight people sometimes... like, you're looking at a person, and you're all, sweet butt, nice legs, decent hips, oh, wait, there's a dick, boner gone? -5000 sexy points for inappropriate genitalia?
They're just not very aesthetic.
-
Hot women don't have a man's bum, and presumably vice versa.
Dunno. I've seen great bums on people of both genders XD As a bisexual the whole concept of parts I can't see killing the attraction is weird to me.
-
And as a straight person the opposite is true.
I'm attracted to women with womanly characteristics. A dick is not one of those.
-
-
As a bisexual the whole concept of parts I can't see killing the attraction is weird to me.
But the point of porn is to see the parts...
-
Did we really just have a discussion about whether or not 4 lines of JS that you can copy and paste is too much work because...Fuck users?
Wow.
-
Oh, I'm not talking about porn, I'm talking about like, being attracted to someone in a film or on the street or whatnot. Porn is a whole nother kind of weird.
-
It's the same outside of porn.
If it looks like a man, it's probably a man. Straight men don't find those attractive.
Vice versa if it looks like a woman.
-
Oh, I'm not talking about porn, I'm talking about like, being attracted to someone in a film or on the street or whatnot.
Men are attracted to women because we want to stick our parts in their parts. We do not want to stick our parts in other male parts, so it is not attractive to us. It is all about sex for us.
Yes, most of us are secure enough in our sexuality to be able to realize that Brad Pitt is a good looking guy, but we do not find him attractive.
Also, women got the better end of the deal on aesthetically pleasing parts. Well...most women have.
-
thinks about my single, whorish years -
-
shudder -
Goddamned Discourse parser...
-
-
-
Passable Transvestite?
I was thinking more along the line of "meat curtains". Turn of safe search and GIS that to see what I was on about. ;-)
-
Unfortunately I don't need Google's assistance with that one.
-
Unless you're @Rhywden then you don't check what it looks like before hand, and find out later if your move gets rejected.
That's why you always do initial validation before committing. ;-)
-
See also futa (with variable number of parts). NSFW, GIS not recommended, etc...
-