• AnnoyingCowherd (unregistered) in reply to Bogolese
    Bogolese:
    Feb. 31, Eleventy-Eleven is okay?

    That was a splendid day. I remember it clearly. I decided to take my dogs, a half-dozen legless Siberian huskeys, for a walk around the local volcano because I find the pyroclastic flow works wonders on my sinus infection. Anyway, the sun was shining brightly through the cloudless sky and the golfball-sized hail offered a soothing massage. Unfortunately we encountered a bandersnatch and now I have two additional mouths to feed.

  • Synchronos (unregistered) in reply to Firstington
    Firstington:
    Ensimmäinen!

    For a brief moment I felt shame of also being from Finland.

  • (cs) in reply to AnnoyingCowherd
    AnnoyingCowherd:
    Bogolese:
    Feb. 31, Eleventy-Eleven is okay?

    That was a splendid day. I remember it clearly. I decided to take my dogs, a half-dozen legless Siberian huskeys, for a walk around the local volcano because I find the pyroclastic flow works wonders on my sinus infection. Anyway, the sun was shining brightly through the cloudless sky and the golfball-sized hail offered a soothing massage. Unfortunately we encountered a bandersnatch and now I have two additional mouths to feed.

    That reminds me of the time I caught the ferry over to Shelbyville. I needed a new heel for my shoe...

  • BlackBart (unregistered)

    function verifyDOB(dateStr) { return (SetSystemDate(dateStr)==bSuccess); }

    There, FTFY

  • (cs) in reply to L.
    L.:
    I'm pretty sure they wouldn't realize how f*cking annoying their brilliant questionnaire is to anyone who doesn't give a damn about it.

    Quite interesting that anyone would be considered qualified for sales duty and still not understand the customer's perspective -- yet another proof they didn't need good coders anyway ;)

    Website designers and online shit-sellers never learn. I stupidly responded a while back to a plea from a service provider of some kind that I fill in an on-line questionnaire. After about page 10 or so and it was still only 2/5 of the way through I decided life was just too short, and so was my fucking temper as well by that time. Thank the FSM for the lovely little red X at the top right of the browser window.

  • Ptorq (unregistered)

    Marketing ALWAYS asks for a lot of information the customers don't really want to provide (indifference being the BEST case scenario here), that's a pain in the rear for someone (sales or IT, usually) to collect and deal with, and that they wind up not using anyway (except possibly in the most rudimentary way, like "send everyone foolish enough to have ever provided us with an email address spam email about our new Timex Sinclair software, even though not one single customer has ever ticked the checkbox stating that they own a Timex Sinclair").

  • Bob (unregistered) in reply to Don
    Don:
    Merphle:
    So what happens when I try to sign up with my birthdate of:

    1/1/'; drop database; --

    Then we call you Little Bobby Tables.

    I didn't even click on the link and knew it was some fag linking xkcd. It's not clever. It's not funny. Just the name "Little Bobby Tables" with a link under it and the short, useless, one sentence post was all I needed to know that you were linking the cartoon where the parents iteratively one-up each other on how to screw the school system.

    It was funny to read when it came out. It's even funny when clicking on the Random button on the site and seeing it. It's NOT funny when someone links to it from a one-sentence post and thinks they're so fucking clever to have discovered xkcd.

    You probably still use lmgtfy and think you're so damn clever.

    It means in real life, you're an unoriginal hipster doofus.

    Got anything to do with sanitizing inputs to a SQL database, etc.? Link to Bobby Tables. Got a nerd-project slow-ass turing machine? Like a minecraft logic circuit from redstone? Link to the one where it's some guy alone in the world making a computer out of rocks. Got a story about password security or encryption? Link to the one where they beat the password out of the guy with a wrench.

    Fuck off. You're not clever.

  • (cs)

    I've tried, but I can't even think of a smartarse "the real WTF is ..." comment.

    It reminds me too much of a colleague (who lived in a different continent from me), who once told me over lunchtime pizza: "I think it's good to travel. I went to Italy when I was in the Navy. I think it's good to learn what it's really like in a third world country."

    His code was frequently as spastically retarded as this:

          DATA ALPHAMAP /'0064','0065','0066','0067','0068',
         >               '0069','0070','0071','0072','0073',
         >               '0074','0075','0076','0077','0078',
         >               '0079','0080','0081','0082','0083',
         >               '0084','0085','0086','0087','0088',
         >               '0089' /
    

    "Matt, ... ,er ,... , why won't it work for Z? It works for all the other letters, I can't get Z to work ..."

  • Ptorq (unregistered) in reply to L.
    L.:
    I'm pretty sure they wouldn't realize how f*cking annoying their brilliant questionnaire is to anyone who doesn't give a damn about it.

    Quite interesting that anyone would be considered qualified for sales duty and still not understand the customer's perspective -- yet another proof they didn't need good coders anyway ;)

    A minor correction that may not be obvious to those of you blessed enough to have never had to take a sales job:

    Sales != Marketing. The two departments have a very different perspective on customers.

  • (cs) in reply to Ptorq
    Ptorq:
    L.:
    I'm pretty sure they wouldn't realize how f*cking annoying their brilliant questionnaire is to anyone who doesn't give a damn about it.

    Quite interesting that anyone would be considered qualified for sales duty and still not understand the customer's perspective -- yet another proof they didn't need good coders anyway ;)

    A minor correction that may not be obvious to those of you blessed enough to have never had to take a sales job:

    Sales != Marketing. The two departments have a very different perspective on customers.

    Don't tell me: "Sales" is "applied Marketing", like "Statistics" is "applied Probability", am I right?

  • Anti-Bob (unregistered) in reply to Bob
    Bob:
    Don:
    Merphle:
    So what happens when I try to sign up with my birthdate of:

    1/1/'; drop database; --

    Then we call you Little Bobby Tables.

    I didn't even click on the link and knew it was some fag linking xkcd. It's not clever. It's not funny. Just the name "Little Bobby Tables" with a link under it and the short, useless, one sentence post was all I needed to know that you were linking the cartoon where the parents iteratively one-up each other on how to screw the school system.

    It was funny to read when it came out. It's even funny when clicking on the Random button on the site and seeing it. It's NOT funny when someone links to it from a one-sentence post and thinks they're so fucking clever to have discovered xkcd.

    You probably still use lmgtfy and think you're so damn clever.

    It means in real life, you're an unoriginal hipster doofus.

    Got anything to do with sanitizing inputs to a SQL database, etc.? Link to Bobby Tables. Got a nerd-project slow-ass turing machine? Like a minecraft logic circuit from redstone? Link to the one where it's some guy alone in the world making a computer out of rocks. Got a story about password security or encryption? Link to the one where they beat the password out of the guy with a wrench.

    Fuck off. You're not clever.

    I didn't even have to scroll down when I saw a link to xkcd to know that some idiot was going to post this reply, verbatim.

    You fuck off. You aren't clever either.

  • (cs) in reply to Anti-Bob
    Anti-Bob:
    Bob:
    Don:
    Merphle:
    So what happens when I try to sign up with my birthdate of:

    1/1/'; drop database; --

    Then we call you Little Bobby Tables.

    I didn't even click on the link and knew it was some fag linking xkcd. It's not clever. It's not funny. Just the name "Little Bobby Tables" with a link under it and the short, useless, one sentence post was all I needed to know that you were linking the cartoon where the parents iteratively one-up each other on how to screw the school system.

    It was funny to read when it came out. It's even funny when clicking on the Random button on the site and seeing it. It's NOT funny when someone links to it from a one-sentence post and thinks they're so fucking clever to have discovered xkcd.

    You probably still use lmgtfy and think you're so damn clever.

    It means in real life, you're an unoriginal hipster doofus.

    Got anything to do with sanitizing inputs to a SQL database, etc.? Link to Bobby Tables. Got a nerd-project slow-ass turing machine? Like a minecraft logic circuit from redstone? Link to the one where it's some guy alone in the world making a computer out of rocks. Got a story about password security or encryption? Link to the one where they beat the password out of the guy with a wrench.

    Fuck off. You're not clever.

    I didn't even have to scroll down when I saw a link to xkcd to know that some idiot was going to post this reply, verbatim.

    You fuck off. You aren't clever either.

    Besides, it's Ted who posts this. Bob's the one who has (or had) the brat who's a retard.

  • (cs) in reply to Ptorq
    Ptorq:
    L.:
    I'm pretty sure they wouldn't realize how f*cking annoying their brilliant questionnaire is to anyone who doesn't give a damn about it.

    Quite interesting that anyone would be considered qualified for sales duty and still not understand the customer's perspective -- yet another proof they didn't need good coders anyway ;)

    A minor correction that may not be obvious to those of you blessed enough to have never had to take a sales job:

    Sales != Marketing. The two departments have a very different perspective on customers.

    QFT. Sales people have to at least pretend to like their customers.

  • ted (unregistered) in reply to Matt Westwood
    Matt Westwood:
    Anti-Bob:
    Bob:
    Don:
    Merphle:
    So what happens when I try to sign up with my birthdate of:

    1/1/'; drop database; --

    Then we call you Little Bobby Tables.

    I didn't even click on the link and knew it was some fag linking xkcd. It's not clever. It's not funny. Just the name "Little Bobby Tables" with a link under it and the short, useless, one sentence post was all I needed to know that you were linking the cartoon where the parents iteratively one-up each other on how to screw the school system.

    It was funny to read when it came out. It's even funny when clicking on the Random button on the site and seeing it. It's NOT funny when someone links to it from a one-sentence post and thinks they're so fucking clever to have discovered xkcd.

    You probably still use lmgtfy and think you're so damn clever.

    It means in real life, you're an unoriginal hipster doofus.

    Got anything to do with sanitizing inputs to a SQL database, etc.? Link to Bobby Tables. Got a nerd-project slow-ass turing machine? Like a minecraft logic circuit from redstone? Link to the one where it's some guy alone in the world making a computer out of rocks. Got a story about password security or encryption? Link to the one where they beat the password out of the guy with a wrench.

    Fuck off. You're not clever.

    I didn't even have to scroll down when I saw a link to xkcd to know that some idiot was going to post this reply, verbatim.

    You fuck off. You aren't clever either.

    Besides, it's Ted who posts this. Bob's the one who has (or had) the brat who's a retard.

    Oh, ****! I forgot the password on my sock-puppet reference file. Sorry for the confusion.

  • Z (unregistered) in reply to Matt Westwood
    Matt Westwood:
    I've tried, but I can't even think of a smartarse "the real WTF is ..." comment.

    TRWTF is Marketing

  • Nick S. (unregistered)

    Great! This is the first website that validates my birthday: February 30th, 1988.

  • Syntax (unregistered) in reply to airdrik
    airdrik:
    bytepirate:
    airdrik:
    But each month has different numbers of days:

    ((month == "2" || month == "02") && (day == "1" || day == "2" || day == "3" || day == "4" || day == "5" || day == "6" || day == "7" || day == "8" || day == "9" || day == "10" || day == "01" || day == "02" || day == "03" || day == "04" || day == "05" || day == "06" || day == "07" || day == "08" || day == "09" || day == "10" || day == "11" || day == "12" || day == "13" || day == "14" || day == "15" || day == "16" || day == "17" || day == "18" || day == "19" || day == "20" || day == "21" || day == "22" || day == "23" || day == "24" || day == "25" || day == "26" || day == "27" || day == "28" || day == "29") || ((month == "3" || month == "03") && ... { dayOk = true; }

    c'mon you can do better than that...

          day == "26" || day == "27" || day == "28" || (day == "29" && (year==2012 || year==2008 || year==2004 || year==2000
    ...
    ))
    
    ) ||
    ((month == "3" || month == "03") && 
    ...
    

    Yeah, I could have done that but nobody complained and it wasn't on the bug report.

    As long as it's not a century unless divisible by 400 right?

    I think those are the rules. Jesus knows how it works BC and wasname sure did mess things up in 1752 with the September fiasco.

  • Microsoft (unregistered)
    month == "08"
    Oh, so that's how you do it.

    Our jscript kept destroying submissions from anyone whose graduation date was in 08 or 09. We never figured out how to parse those numbers. Now we see we shouldn't have parsed them as numbers. Thank you WTF for enlightening us!

  • Synchronos (unregistered) in reply to Matt Westwood
    Matt Westwood:
    Don't tell me: "Sales" is "applied Marketing", like "Statistics" is "applied Probability", am I right?

    No, you are not. The goal of Marketing is to make the life of Sales easier. Or to make Sales redundant completely (but that depends heavily on what you are trying to sell). If you are selling, you are in Sales. If you are trying to enable the purchase of your products, you are in Marketing. The tools to achieve these goals, which yes both bring money in, are quite different. Consider it like push versus pull.

    And of course the another misunderstanding is that Marketing would use only advertising, which is only one form of marketing communications, which is only a part of marketing.

  • Philip Stephens (unregistered)

    Nobody seems to have noticed the obvious reason why the tester's date of birth was consistently rejected: it used the format dd/mm/<anything you want>, but the tester was probably in the US...meaning out of all the awful lines of code that could have tripped up the tester, only the first actually did...

  • JD (unregistered) in reply to Philip Stephens
    Philip Stephens:
    Nobody seems to have noticed the obvious reason why the tester's date of birth was consistently rejected: it used the format dd/mm/<anything you want>, but the tester was probably in the US...meaning out of all the awful lines of code that could have tripped up the tester, only the first actually did...

    Almost, but the story states that the birthdate started with 28 and the validation code validates '27' twice but not '28' at all. This is obviously a result of a copy/paste/modify error. The coder really just needs to work on their copy/paste/modify skills.

    This is the most awful code I've seen for a long while (ever?), and I'm working with code that includes methods that return a string of either 'TRUE' or 'FALSE'. This is worse. I felt ill.

  • ysth (unregistered) in reply to JD
    JD:
    This is the most awful code I've seen for a long while (ever?), and I'm working with code that includes methods that return a string of either 'TRUE' or 'FALSE'. This is worse. I felt ill.
    What s/he said. Doesn't everybody know you should use a regex to validate dates?
    /^(?:0[1-9]|1[012])\/(?:0[1-9]|1[0-9]|2[0-8]|(?<!0[2469]\/|11\/)31|(?<!02\/)30|(?<!02\/(?=...(?:..(?:[02468][1235679]|[13579][01345789])|(?:[02468][1235679]|[13579][01345789])00)))29)\/[0-9]{4}$/
    </pre>
    Actually, that does mm/dd/ccyy; you'd need to tweak it to support other formats.
    
  • (cs) in reply to Synchronos
    Synchronos:
    Matt Westwood:
    Don't tell me: "Sales" is "applied Marketing", like "Statistics" is "applied Probability", am I right?

    No, you are not. The goal of Marketing is to make the life of Sales easier. Or to make Sales redundant completely (but that depends heavily on what you are trying to sell). If you are selling, you are in Sales. If you are trying to enable the purchase of your products, you are in Marketing. The tools to achieve these goals, which yes both bring money in, are quite different. Consider it like push versus pull.

    And of course the another misunderstanding is that Marketing would use only advertising, which is only one form of marketing communications, which is only a part of marketing.

    Oh I understand, you're both fucking parasites, but Sales people are fucking peasants as well.

  • erynnien (unregistered)

    @the peaple complaining about the possibility to enter a 30th february in this form: I once knew a man who had "April 31" as birthdate in his passport. Yes, the official document. Case was that he was born in some arab country and the official who translated the date from his birth certificate to western format made an error. Nobody noticed - till he got out of the airplane and the customs officer was not amused. Took a while to convince them this wasn't some dumb fake.

    So being able to enter "obviously incorrect" dates might be necessary.

  • (cs)

    ValidateValiddateValidateValiddateValidate ValidateValiddateValidateValiddateValidate ValidateValiddateValidateValiddateValidate ValidateValiddateValidateValiddateValidate ValidateValiddateValidateValiddateValidate

  • (cs)

    What's wrong with this code? It is a little-known fact of the Gregorian calendar that there is no such thing as the twenty-eighth day of a month. There are just two twenty-seventh days, 27a and 27b. Anyone claiming to be born on the 28th was actually born on 27b and is lying.

    (February 31st, on the other hand, absolutely exists.)

  • L. (unregistered) in reply to Matt Westwood
    Matt Westwood:
    Synchronos:
    Matt Westwood:
    Don't tell me: "Sales" is "applied Marketing", like "Statistics" is "applied Probability", am I right?

    No, you are not. The goal of Marketing is to make the life of Sales easier. Or to make Sales redundant completely (but that depends heavily on what you are trying to sell). If you are selling, you are in Sales. If you are trying to enable the purchase of your products, you are in Marketing. The tools to achieve these goals, which yes both bring money in, are quite different. Consider it like push versus pull.

    And of course the another misunderstanding is that Marketing would use only advertising, which is only one form of marketing communications, which is only a part of marketing.

    Oh I understand, you're both fucking parasites, but Sales people are fucking peasants as well.

    QFT

  • Kayaman (unregistered) in reply to Synchronos
    Synchronos:
    Firstington:
    Ensimmäinen!

    For a brief moment I felt shame of also being from Finland.

    Veit munat suustani, old friend.

    Captcha: distineo. Main character in the new Matrix:Distributed movie.

  • doctor_of_common_sense (unregistered)

    The Real WTF is consultant providing an extremely talented developer and the permanent employees agreeing to it. This has never happened on TDWTF. Never ever. I think the site is softening down (shudder).

  • just me (unregistered) in reply to Kayaman
    Kayaman:
    Captcha: distineo. Main character in the new Matrix:Distributed movie.

    Yeah man, move the matrix to the cloud, it's all the rage these days!

  • The Poop... of DOOM! (unregistered) in reply to Z
    Z:
    Matt Westwood:
    I've tried, but I can't even think of a smartarse "the real WTF is ..." comment.

    TRWTF is Marketing

    That's what I was thinking, too. And what I was thinking during that entire year of having worked for an online marketing company. "We're very customer-friendly! We only send them our newsletters when they agree to it. If they fill in their email address to get our oh so great whitepaper, they agree to get our newsletter. We send it so we can build a relationship with them, which will result in them buying more of our product (yes, not productS. How many times does one customer need his site redone -- and lets it redo it by the company that's done it before?). Oh, you're a technical writer, writing technical specifications for your customers? You don't need to write bulleted lists, but you need to write long stories. People go online to read stories, not to get the info they're looking for instantly. I know so for truth as I recently read some random book that says so! Oh, but you claim you got 20 years of experience in your field? That doesn't mean a thing, it only means you've been able to muddle through for 20 years. You should believe me when I say people want to read stories online, cause I have 10 years experience in my field!"

    I think I got traumatized by marketing!

    Oh, and that year thing's perfectly possible. They use some date widget on their site, but only need day + month so do some fiddling around to hide the year part through CSS, so nobody can fill it in and if they can (no need to explain how), it doesn't matter if it's year alpha centauri, 1492 or µ&@²}.

  • QJo (unregistered) in reply to The Poop... of DOOM!
    The Poop... of DOOM!:
    Z:
    Matt Westwood:
    I've tried, but I can't even think of a smartarse "the real WTF is ..." comment.

    TRWTF is Marketing

    That's what I was thinking, too. And what I was thinking during that entire year of having worked for an online marketing company. "We're very customer-friendly! We only send them our newsletters when they agree to it. If they fill in their email address to get our oh so great whitepaper, they agree to get our newsletter. We send it so we can build a relationship with them, which will result in them buying more of our product (yes, not productS. How many times does one customer need his site redone -- and lets it redo it by the company that's done it before?). Oh, you're a technical writer, writing technical specifications for your customers? You don't need to write bulleted lists, but you need to write long stories. People go online to read stories, not to get the info they're looking for instantly. I know so for truth as I recently read some random book that says so! Oh, but you claim you got 20 years of experience in your field? That doesn't mean a thing, it only means you've been able to muddle through for 20 years. You should believe me when I say people want to read stories online, cause I have 10 years experience in my field!"

    I think I got traumatized by marketing!

    Oh, and that year thing's perfectly possible. They use some date widget on their site, but only need day + month so do some fiddling around to hide the year part through CSS, so nobody can fill it in and if they can (no need to explain how), it doesn't matter if it's year alpha centauri, 1492 or µ&@²}.

    Mind you, it does make me wonder: what do they need your birth date for? Aha - don't tell me: they've going to send you a birthday email!

    I'm sorry, but this sort of thing comes across to me as distastefully intrusive. However, I understand that some people's user relationship with the Internet is such that they welcome marketing birthday emails. It makes them feel loved. Those people also like receiving advertising snail-mail for a similar reason, and often send away for every free offer they get.

    It is futile to ridicule such people, although they may deserve our compassion for their loneliness. But please bear this in mind: it is only the junk-mail industry which is keeping the snail-mail service alive. Without it, conventional mail (used for things like birthday cards, cheques to nieces, etc) would be immensely more expensive to send. And if it weren't for people eagerly responding to junk mail, the latter industry would not prove cost-effective.

  • The Poop... of DOOM! (unregistered) in reply to QJo
    QJo:
    (...)It is futile to ridicule such people, although they may deserve our compassion for their loneliness.(...)
    Hey, I don't like spam mail! Don't pull everybody over the same comb!
    QJo:
    And if it weren't for people eagerly responding to junk mail, the latter industry would not prove cost-effective.
    Thanks for reminding me to find all those pathetic "PLEASE GET A LOAN FROM US" snailmail spam from Citibank, get the return envelopes (no stamps, but no need for me to pay shipping + handling) and fill it with as many rusty screws, rocks and other heavy junk as I can find, then send it all back. Cost-effective, you said?
  • F (unregistered) in reply to justsomedudette

    Actually the year is always true even if you're in ASDF

  • QJo (unregistered) in reply to The Poop... of DOOM!
    The Poop... of DOOM!:
    QJo:
    (...)It is futile to ridicule such people, although they may deserve our compassion for their loneliness.(...)
    Hey, I don't like spam mail! Don't pull everybody over the same comb!

    Pardon? I was specifically referring to people who do like spam. Pay attention at the back.

    The Poop... of DOOM!:
    QJo:
    And if it weren't for people eagerly responding to junk mail, the latter industry would not prove cost-effective.
    Thanks for reminding me to find all those pathetic "PLEASE GET A LOAN FROM US" snailmail spam from Citibank, get the return envelopes (no stamps, but no need for me to pay shipping + handling) and fill it with as many rusty screws, rocks and other heavy junk as I can find, then send it all back. Cost-effective, you said?
    If you really want to spend time and effort on this, then go for it. Whatever makes you happy.
  • MrBob (unregistered)

    Their marketing department should accept whatever the customer gives them with a hearty "Thank you sir! May I have another?" The (potential) customer, after all, is doing them a favor even filling out the survey.

  • verifier (unregistered)

    This is ok for client side, surely the full verification is server side.

  • Jay (unregistered) in reply to Sock Puppet 5
    Sock Puppet 5:
    Well, it's a well-known fact that it's difficult for JavaScript™ programmers to get dates.

    I just got a spam email a couple of days ago from some dating service with the subject line, "We found 0 matches for you!!!!"

    Like, hey, I know I can't get a date, but when even marketing people, in the business of exagerrating, can't bring themselves to say they found someone desperate enough, it's just depressing.

  • Joe (unregistered) in reply to Ptorq
    Ptorq:
    Sales != Marketing. The two departments have a very different perspective on customers.

    I can certainly vouch for this. My company's sales department is very different than the "Business Strategy and Marketing", known internally as BS and Marketing, or sometimes BdSM.

    --Joe

  • Jay (unregistered)

    Marketing people often have what I consider rather bizarre ideas on what will improve sales. I often wonder if they have some reason to believe these things work, like did they actually do studies where they try different kinds of ads and see what gets better resutls? Or are these just ideas that bounce around marketing schools and departments as "common knowledge", like doctors used to think it was obvious that putting leaches on a patient would cure disease, and no one thinks to question it.

    For example, I used to work for a company that I won't name because I don't want to insult my friends, but they were well known for making a product X. But they were constantly frustrated that potential customers did not realize that they also made Y, and so people rarely went to their stores to buy Y. So they launched a marketing campaign. Now, a non-marketing person like you or I might think you'd want advertisements that said something like, "You know we make great X! But did you know we also make great Y?" No, silly idea. Instead they made ads where they tried to subtly hint that they made things other than X. They had lines like, "We're all over your house" without explaining what they meant by that. And ... it didn't work. Sales of Y did not improve. Shockingly, customers did not carefully study the ads, pour over every word, and ponder what hidden message it might be intended to convery.

  • (cs) in reply to verifier
    verifier:
    This is ok for client side, surely the full verification is server side.

    Well yeah, no worries, copy and paste it, after all, javaScript is the same as java, yeah?

  • (cs) in reply to Jay
    Jay:
    Sock Puppet 5:
    Well, it's a well-known fact that it's difficult for JavaScript™ programmers to get dates.

    I just got a spam email a couple of days ago from some dating service with the subject line, "We found 0 matches for you!!!!"

    Like, hey, I know I can't get a date, but when even marketing people, in the business of exagerrating, can't bring themselves to say they found someone desperate enough, it's just depressing.

    (Fell about laughing) you mean "can't bring themselves to say they haven't found someone desperate enough?"

    Happened to me once, and I'd spread my net wide enough to allow 60 miles distance and an age difference of up to 30 years. It was only later that I learned that the database (nationally) for this service had only about 100 clients and most of them were the same genderifical persuasion as me ...

  • alo (unregistered) in reply to Firstington
    Firstington:
    Ensimmäinen!

    Should be of course "Esnimmäinen!"

  • Mathias (unregistered)

    I see what he achieved was

    function verifyDOB(s) {
      return !(!s.match(/([012]?[0-9]|3[01])\/(0?[0-9]|1[012])\/.*/)
        && !alert("Please enter a correct date of birth"));
    }
    

    or did I miss something?

  • Kuron (unregistered)

    They forgot to verify that the DOB year isn't greater than the current year. :)

  • Enlightenment (unregistered)

    All of you ...look over the lid of your laptop and get a life. Seriously, open your bedroom curtains and see the sun. Sell your optical 100gb gismo and use the money to buy a bike. Go out and live......such a waste

  • (cs) in reply to Frederik Van Bogaert
    Frederik Van Bogaert:
    Javascript has an eval() function, you know!
    Yep.

    And its effect is to send the developper using it directly to roast in hell's 9th circle.

    Let's just kill people using eval. That's simpler. And let's torture those using document.write, before killing them too.

Leave a comment on “Verify[most]DOB()”

Log In or post as a guest

Replying to comment #:

« Return to Article