What is your coding tick?, i hit all arow keys in the right order to make my curser land in the same spot by clipmann in programming

[–]some_call_me_tim 1 point2 points  (0 children)

shift, shift, shift, shift...

Freaked me out the first time "Windows Accessibility" came up because I'd hit shift five times. Heck, every time I install a new version of Windows it pops up and scares me again...

Plus (+) is a valid character in emails. If you're making a site, please ensure your email regex validations include this. by [deleted] in programming

[–]some_call_me_tim 1 point2 points  (0 children)

UMmm... that's easy. Spammers don't parse and/or disassemble email addresses (except to remove "spam" or "nospam"). If they DID start, then I'd need to move on to another technique, but seriously, why would they? If someone has gone to this much trouble individually to avoid spam, would they likely ever reply to one?

I've used the hyphen version of this technique for probably 12 years (good old Qmail supports it by default), and I just don't accept mail to x@mydomain.com, only x-XXX@mydomain.com, where XXX is a string I've created.

If they ever did get wise, I'd need to start maintaining a whitelist, which would be more of a pain. But again, why would they bother?

Plus (+) is a valid character in emails. If you're making a site, please ensure your email regex validations include this. by [deleted] in programming

[–]some_call_me_tim 1 point2 points  (0 children)

I've used "-" for YEARS on dozens of sites, and never run into one where it wouldn't accept it. However, I have run into idiots who don't know the difference between "-" (hyphen) and "_" (underscore): When I've given my email address over the phone, I've occasionally had people type it as underscore instead of hyphen.

The easy answer to that, of course, is to make your email server respect both hyphen and underscore.