• Industrial Automation Engineer (unregistered)

    Let me take a guess at the fix:

    private boolean validateBeanData(OrderRequestBean order) { boolean status = true; … // various checks are performed here if (status) { if (requestDueYear.equals("2001") || requestDueYear.equals("2002") || requestDueYear.equals("2003") || requestDueYear.equals("2004") || requestDueYear.equals("2005") || requestDueYear.equals("2007") || requestDueYear.equals("2008") || requestDueYear.equals("2009 ") || requestDueYear.equals("2010") || requestDueYear.equals("2011")) status = true; else status = false; } … return status; }

    which will probably break sooner than you'd expet.

  • (nodebb)

    Ah yes, the dreaded "Y2K06" bug.

  • Tim Ward (unregistered)

    Ah, thanks for the reminder. My web site has a list of years in it, and round about this time each year I have to remember to add another one.

  • WTFGuy (unregistered)

    Although I've seen the opposite sort of UI problem. A dropdown for year of birth where the people we're addressing are all adults, and the range of choices goes from this year back to about 150 years ago. Not unusable, but any picklist with 150 choices gets unwieldy. And of course it's rendered in some UI framework where keyboard shortcuts don't work and the scroll bar is extra narrow and trendy looking so your mouse inevitably slides off the side a time or three as you home in on your year. And which on mouse-out promptly disappears completely. Gaaah!!! Save me from cutesy trendy UI.

  • John Melville (unregistered)

    Does planned obsolesce really count as a WTF?

    Apple has been doing it for years. [Ducks]

  • (nodebb)

    No commentary on the stringly typed year field in the structure? I am disappoint.

  • Randal L. Schwartz (google) in reply to WTFGuy

    Reminds me of the UI where they have a submenu (and possibly a sub sub menu) where you have to carefully navigate out of the parent menu into the submenu through the 15px-wide overlap of bottomright and topleft corners, respectively. You miss that narrow travel line, and the menus immediately reset. YUCK.

    Addendum 2022-11-30 10:42: Referring to: Not unusable, but any picklist with 150 choices gets unwieldy.

  • Randal L. Schwartz (google) in reply to Steve_The_Cynic

    No commentary on the stringly typed year field in the structure? I am disappoint.

    They probably make up for it by putting the phone number in a long int. :)

  • COB666 (unregistered)

    I can 'maybe' understand implementing something like this so that customers don't create orders that are years in the future but that could easily be fixed by something like this to ensure that order dates are only for current year and next year.

    if (requestDueYear > DateTime.Now.Year + 1 || requestDueYear < DateTimeNow.Year) { return false; } else { return true; }

  • OldCoder (unregistered) in reply to WTFGuy

    I can better that. This week I had to fill in a medical form which, natch, requires my date of birth.

    Except... the damn field is a Calendar widget! It gives me the current month and the only way backwards and forwards are chevrons at the sides of the month name. There is no means of overriding the year or editing it to choose another.

    Now I'm not young, so selecting my date of birth would require scrolling back, one by one, 860 months. I have better things to do with my time.

    In the end I left it as 2022, which (apparently) makes me newly born yet still able to fill in a web form, which is another WTF in itself.

  • Awed (unregistered) in reply to OldCoder

    Not a WTF. You're just a baby savant.

  • Stella (unregistered)
    Comment held for moderation.
  • Mike Jeays (unregistered)

    My D-link DCS-932L web camera has a pull-down list of years in the date setting tab. It stops at 2020, but the camera still works otherwise. I patch the dates of the images when they have been downloaded.

  • Officer Johnny Holzkopf (unregistered) in reply to Randal L. Schwartz

    Oh, it can be worse. Do you know websites where you need to carefully choose where you put your mouse pointer, or to be correct, where not to put it? Because if you happen to point it at the top, at the bottom, at the sides, or within the content you're intending to read - haha! - some menu, ad, tooltip, nag screen, or newsletter invitation will appear. The only way to get back to the intended readning is to have the mouse make some round trips across your table...

  • Genuinenotes (unregistered)

    We are the best indipendent large scale producers of best quality counterfeit money that is acceptable in banks,ATM, and

    Casinos.We print original money of all types Euro,US Dollar,Pound and many mo re.we produce SUPER UNDETECTED COUNTERFEIT

    MONEY for all currencies.UNDETECTED COUNTERFEIT MONEY FOR SALE,undetectable counterfeit to buy,banknotes to buy, best

    counterfeit for sale,fake money for sale,buye undetectable fake money,fake money to buy online,undetectable fake money to

    buy,buy money online,buy currencies online, bank notes to buy, buy undetectable currencies.buy cannadian dollars, buy US

    dollars, buy euros, buy pounds, buy australian dollars for sale, CAD, USD, EUROS, POUNDS, PESOS, RUPEES, AUD, UNDETECTED


    Whatsapp: +19495192744 https://gen

  • Genuinenotes (unregistered)
    Comment held for moderation.
  • Darren (unregistered) in reply to WTFGuy

    Similarly, dropdowns that don't scroll with the mousewheel. Looking at you specifically Outlook meeting-request time-picker! Every time I use it, there's inevitably some some profanity-laden muttering.

  • Jason Stringify (unregistered) in reply to Genuinenotes

    How did this spam get through while other comments are "held for moderation"?

  • nedalic142 (unregistered)
    Comment held for moderation.
  • ParityTheUnicorn (unregistered) in reply to Jason Stringify
    Comment held for moderation.
  • Amir Hashmi (unregistered)
    Comment held for moderation.
  • سمارت بتس (unregistered)
    Comment held for moderation.

Leave a comment on “Years of Success”

Log In or post as a guest

Replying to comment #:

« Return to Article