• (cs)

    how i frist?

    this head injury is a problem...

  • Pthagonal (unregistered)

    ITS! ITS! ITS!

    My God, is it so hard to get this right?! Meh. ;-)

  • v (unregistered)

    Not two days in yet, and we already get WTFs featuring Android Studio... nice

  • EuroGuy (unregistered)

    Can we please stop submitting very high / negative / NaN numbers on progress bars? I have now seen enough examples of those and they stop being funny.

    Thank you all.

  • (cs) in reply to EuroGuy
    EuroGuy:
    Can we please stop submitting very high / negative / NaN numbers on progress bars?

    As a general rule, I would agree... But come on... This one was a massive time in a product called "Time Machine" - see the funny side of it now?

  • Pero perić (unregistered)

    Having NaN credits/cash is good since infinity by definition is not a number. Or very bad since negative infinity too is not a number.

  • (cs) in reply to EuroGuy
    EuroGuy:
    Can we please stop submitting anything at all to Error'd? I have now seen enough examples of those and they stop being funny.

    Thank you all.

    FTFY.

  • cyborg (unregistered) in reply to Pthagonal
    Pthagonal:
    ITS! ITS! ITS!

    My God, is it so hard to get this right?! Meh. ;-)

    It's.

  • (cs) in reply to cyborg
    cyborg:
    Pthagonal:
    ITS! ITS! ITS!

    My God, is it so hard to get this right?! Meh. ;-)

    It's.

    +1

  • Esse (unregistered) in reply to cyborg

    Tits.

  • Andrew (unregistered) in reply to tin
    tin:
    EuroGuy:
    Can we please stop submitting very high / negative / NaN numbers on progress bars?

    As a general rule, I would agree... But come on... This one was a massive time in a product called "Time Machine" - see the funny side of it now?

    I don't care what it's called; it's still not funny. Not in the "OMG someone died" way, but in the "i've seen this shit too many times" way.

    I would swear we've seen a lot of Time Machine in Error'd.

    FUCK

  • Les (unregistered)

    So, you're calling a time-out on Time machine?

    Nice it's, by the way.

  • (cs)

    So a First Class ticket costs [pinky finger] ONE MEEELLION POUNDS? Guess I'm going to have to hold the world to ransom to get that.

  • DES (unregistered)

    TRWTF: "Cochlear's implant". It's "cochlear implant", as in "a device implanted into the cochlea", which is a part of the inner ear.

  • Robin (unregistered)

    UK train tickets are almost that expensive though, so I don't see the WTF.

  • naro (unregistered)

    TRWTF is using the same thing for your username and password on an online banking site.

  • almien (unregistered)

    If that 1st class upgrade is displaying an integer overflow, it might be unexpectedly cheaper than normal ticket - perhaps more worthwhile investigating than it at first seems?

  • (cs) in reply to DES
    DES:
    TRWTF: "Cochlear's implant". It's "cochlear implant", as in "a device implanted into the cochlea", which is a part of the inner ear.
    In this case, Cochlear is a brand name, so the capital C and the possessive are correct.

    Their website indicates that their "home installation kit" comes with rubber mallet and an "installation spike," so there's your head injury right there.

  • fa2k (unregistered) in reply to Pero perić
    Pero perić:
    Having NaN credits/cash is good since infinity by definition is not a number. Or very bad since negative infinity too is not a number.

    It depends on how they coded it. If they allowed you to take out 100 points as cash, for example, this would be bad (no cash) // numPoints == NaN if (numPoints - 100.0 > 0.0) { if (dispenseCash(100.0) numPoints -= 100.0; }

    this would be good (infinite cash) if (! (numPoints - 100.0 < 0.0)) { if (dispenseCash(100.0) numPoints -= 100.0; }

  • Anonymous (unregistered)
    Please choose a new password that is not the same as your username or ATM PIN and that is not easy for others to guess.

    So this basically means I can bruteforce the ATM PIN by trying to change the online password?

  • (cs) in reply to eViLegion
    eViLegion:
    EuroGuy:
    Can we please stop submitting anything at all to Error'd? I have now seen enough examples of those and they stop being funny.

    Thank you all.

    FTFY.

    While we are at it, we can stop submitting horrible manager stories, we can stop submitting horrible coder that wants to avoid all useful tools like source control, we can stop submitting horrible code bits that show using a switch to build a table that associates a string with an int because the programmer doesn't know about parse and format methods, and we can stop submitting the horrible manager that doesn't want to look stupid after hiring their third cousin's son to do something and then fires the good programmer. I mean, how many variations can we hear before we get it, life sucks because people are stupid.

  • psuedonymous (unregistered) in reply to xaade
    xaade:
    eViLegion:
    EuroGuy:
    Can we please stop submitting anything at all to Error'd? I have now seen enough examples of those and they stop being funny.

    Thank you all.

    FTFY.

    While we are at it, we can stop submitting horrible manager stories, we can stop submitting horrible coder that wants to avoid all useful tools like source control, we can stop submitting horrible code bits that show using a switch to build a table that associates a string with an int because the programmer doesn't know about parse and format methods, and we can stop submitting the horrible manager that doesn't want to look stupid after hiring their third cousin's son to do something and then fires the good programmer. I mean, how many variations can we hear before we get it, life sucks because people are stupid.

    +1 This is TheDailyWTF, not some site to bitch about bad coding practices!
  • Ben Jammin (unregistered) in reply to xaade
    xaade:
    eViLegion:
    EuroGuy:
    Can we please stop submitting anything at all to Error'd? I have now seen enough examples of those and they stop being funny.

    Thank you all.

    FTFY.

    While we are at it, we can stop submitting horrible manager stories, we can stop submitting horrible coder that wants to avoid all useful tools like source control, we can stop submitting horrible code bits that show using a switch to build a table that associates a string with an int because the programmer doesn't know about parse and format methods, and we can stop submitting the horrible manager that doesn't want to look stupid after hiring their third cousin's son to do something and then fires the good programmer. I mean, how many variations can we hear before we get it, life sucks because people are stupid.

    So, what I'm hearing is that you just want to hear about the president's daughter?
  • Ben Jammin (unregistered) in reply to dgvid
    dgvid:
    DES:
    TRWTF: "Cochlear's implant". It's "cochlear implant", as in "a device implanted into the cochlea", which is a part of the inner ear.
    In this case, Cochlear is a brand name, so the capital C and the possessive are correct.

    Their website indicates that their "home installation kit" comes with rubber mallet and an "installation spike," so there's your head injury right there.

    +1 and a lolimowowaicob to you (lol in my office with others watching as I choke on breakfast)

  • (cs) in reply to Ben Jammin
    Ben Jammin:
    So, what I'm hearing is that you just want to hear about the president's daughter?
    Is she Irish?
  • chris (unregistered) in reply to dkf
    dkf:
    Ben Jammin:
    So, what I'm hearing is that you just want to hear about the president's daughter?
    Is she Irish?
    Appropriate T-shirt for the time of week (GMT). :-)
  • (cs) in reply to xaade
    xaade:
    eViLegion:
    EuroGuy:
    Can we please stop submitting anything at all to Error'd? I have now seen enough examples of those and they stop being funny.

    Thank you all.

    FTFY.
    While we are at it, we can stop submitting horrible manager stories, we can stop submitting horrible coder that wants to avoid all useful tools like source control, we can stop submitting horrible code bits that show using a switch to build a table that associates a string with an int because the programmer doesn't know about parse and format methods, and we can stop submitting the horrible manager that doesn't want to look stupid after hiring their third cousin's son to do something and then fires the good programmer. I mean, how many variations can we hear before we get it, life sucks because people are stupid.

    So long as we keep up with how the President's daughter is doing. Any news, BTW? Is she still sick?
  • (cs)

    We need more articles about how (American) English is the language that everyone should be programming in.

  • ping floyd (unregistered) in reply to Pthagonal
    Pthagonal:
    ITS! ITS! ITS!

    My God, is it so hard to get this right?! Meh. ;-)

    IT'S apparently that hard.

  • ThatGuy (unregistered)

    TRWTF: Using your username as your password.

  • (cs) in reply to Pero perić
    Pero perić:
    Having NaN credits/cash is good since infinity by definition is not a number. Or very bad since negative infinity too is not a number.

    Sure hope you're not coding for my company. NaN != Inf in any language I know.

  • C-Derb (unregistered) in reply to naro
    naro:
    TRWTF is using the same thing for your username and password on an online banking site.
    What makes you think he used his username as the password? I know that's what the error message says, but there's also a success message. My first thought was that someone who frequents this site** is probably not the type of person who would use his username as his password. He probably used a password that exceeded the minimum requirements, and that's why he got a success message.

    So, clearly, the WTF is that the error message is showing even though his password succeeded. Not the other way around.

    **The more I read the comments, frequenting this site is not necessarily evidence of intelligence.

  • (cs) in reply to cellocgw
    cellocgw:
    Pero perić:
    Having NaN credits/cash is good since infinity by definition is not a number. Or very bad since negative infinity too is not a number.

    Sure hope you're not coding for my company. NaN != Inf in any language I know.

    Sure hope you're not coding for my company. NaN shouldn't be used as a reference value in any language I know.

  • (cs) in reply to C-Derb
    C-Derb:
    naro:
    TRWTF is using the same thing for your username and password on an online banking site.
    What makes you think he used his username as the password? I know that's what the error message says, but there's also a success message. My first thought was that someone who frequents this site** is probably not the type of person who would use his username as his password. He probably used a password that exceeded the minimum requirements, and that's why he got a success message.

    So, clearly, the WTF is that the error message is showing even though his password succeeded. Not the other way around.

    **The more I read the comments, frequenting this site is not necessarily evidence of intelligence.

    Yeah, I hate the pattern of placing all possible messages on the front end, and then showing/hiding certain ones based on (often, a lack of) logic.

  • jay (unregistered) in reply to xaade
    xaade:
    eViLegion:
    EuroGuy:
    Can we please stop submitting anything at all to Error'd? I have now seen enough examples of those and they stop being funny.

    Thank you all.

    FTFY.

    While we are at it, we can stop submitting horrible manager stories, we can stop submitting horrible coder that wants to avoid all useful tools like source control, we can stop submitting horrible code bits that show using a switch to build a table that associates a string with an int because the programmer doesn't know about parse and format methods, and we can stop submitting the horrible manager that doesn't want to look stupid after hiring their third cousin's son to do something and then fires the good programmer. I mean, how many variations can we hear before we get it, life sucks because people are stupid.

    As your list covers about 90% of what's on this site, if you aren't interested in hearing this sort of thing, why don't you just stop visiting this site?

    Do you also go to Weight Watcher's web site and complain because all they talk about is dieting? Or to a political party's web site and complain that all they talk about is politics?

  • (cs) in reply to chubertdev
    chubertdev:
    cellocgw:
    Pero perić:
    Having NaN credits/cash is good since infinity by definition is not a number. Or very bad since negative infinity too is not a number.

    Sure hope you're not coding for my company. NaN != Inf in any language I know.

    Sure hope you're not coding for my company. NaN shouldn't be used as a reference value in any language I know.

    Yeah, well, what would you do when some rookie divided zero credits by zero cash? Returning Inf is a hell of a lot worse than returning NaN, which is in fact a valid description of the result of the calculation (even if the calculation was not well-designed).

  • (cs)

    Use the isNaN() method.

  • (cs)

    All of this goes back to what is the "original sin" WTF. That sin is using floating point numbers where they shouldn't be used AT ALL. If you use floating point numbers for silly things like money or points in the hope that you will have a larger range of things to deal with, you are sadly mistaken in this belief. Current single precision floating point numbers (IEEE type) have only 24 bits of precision, and not all of that is used. Some number codings are used to express silly things like 'NaNs' and 'Undefineds' which further limits their usefulness.

    The example given (Points as Nans) just shows this ignorance. One should use proper things for money (integers) and go from there. It would also show that integers don't have things like 'undef', or 'Nan' in their lexicon, so people wouldn't deal with them.

    No, using higher precision floating point numbers is even worse. You start adding up decimal fractions and you get ever increasing round-off errors, since decimal fractions CANNOT be expressed accurately in binary form.

    These errors are disasters in the waiting, and all of them will eventually show up here to be ridiculed by all (as it should be!).

    We now return you to the regularly scheduled program of comments.

  • Marmie (unregistered)

    TRWTF is a company naming themselves Cochlear so people think "Cochlear implant" is a brand name.

  • Neveralull (unregistered) in reply to jay
    jay:
    xaade:
    eViLegion:
    EuroGuy:
    Can we please stop submitting anything at all to Error'd? I have now seen enough examples of those and they stop being funny.

    Thank you all.

    FTFY.

    While we are at it, we can stop submitting horrible manager stories, we can stop submitting horrible coder that wants to avoid all useful tools like source control, we can stop submitting horrible code bits that show using a switch to build a table that associates a string with an int because the programmer doesn't know about parse and format methods, and we can stop submitting the horrible manager that doesn't want to look stupid after hiring their third cousin's son to do something and then fires the good programmer. I mean, how many variations can we hear before we get it, life sucks because people are stupid.

    As your list covers about 90% of what's on this site, if you aren't interested in hearing this sort of thing, why don't you just stop visiting this site?

    Do you also go to Weight Watcher's web site and complain because all they talk about is dieting? Or to a political party's web site and complain that all they talk about is politics?

    Obviously the second comment that starts out with "Now that we're at it..." was sarcastic, and went over everybody's head. In other words, he has already pointed out that these types of errors are what this site is all about.

  • The Maths (unregistered) in reply to herby
    herby:
    All of this goes back to what is the "original sin" WTF. That sin is using floating point numbers where they shouldn't be used AT ALL. If you use floating point numbers for silly things like money or points in the hope that you will have a larger range of things to deal with, you are sadly mistaken in this belief. Current single precision floating point numbers (IEEE type) have only 24 bits of precision, and not all of that is used. Some number codings are used to express silly things like 'NaNs' and 'Undefineds' which further limits their usefulness.

    The example given (Points as Nans) just shows this ignorance. One should use proper things for money (integers) and go from there. It would also show that integers don't have things like 'undef', or 'Nan' in their lexicon, so people wouldn't deal with them.

    No, using higher precision floating point numbers is even worse. You start adding up decimal fractions and you get ever increasing round-off errors, since decimal fractions CANNOT be expressed accurately in binary form.

    These errors are disasters in the waiting, and all of them will eventually show up here to be ridiculed by all (as it should be!).

    We now return you to the regularly scheduled program of comments.

    To nitpick (because it brings me joy), you can express some decimal fractions perfectly accurately in binary.

  • (cs) in reply to The Maths
    The Maths:
    To nitpick (because it brings me joy), you can express some decimal fractions perfectly accurately in binary.

    Thirty-two point three three three repeating, of course.

  • mugo (unregistered) in reply to xaade

    "life sucks because people are stupid" is the ultimate answer to everything.

    +100

  • Anonymous Coward (unregistered)

    TRWTF is that anyone even thinks that Time Machine snapshot is WTF worthy.

    You only ever see that window when you're doing a first backup. You never, ever see it otherwise. When TM initially begins the first backup, there's a bazillion little files that basically take up no space but take a long time to copy because they've never been copied over to the backup before. Usually this takes about 2-3 minutes, then your transfer rate rockets up to a reasonable number. 175GB would probably be about 6 hours on WiFi (802.11n).

    I'm not sure why you guys think anything like that is "WTF worthy". It's not. It's lame. Everything is working as intended. If that makes you go WTF, then I have to WTF at your WTF reaction.

  • Prof. Foop (unregistered)

    (1000000 - 999951.70)= 48.30 The upgrade is the same fare, but deducted from one million.

  • (cs) in reply to Anonymous Coward
    Anonymous Coward:
    TRWTF is that anyone even thinks that Time Machine snapshot is WTF worthy.

    You only ever see that window when you're doing a first backup. You never, ever see it otherwise. When TM initially begins the first backup, there's a bazillion little files that basically take up no space but take a long time to copy because they've never been copied over to the backup before. Usually this takes about 2-3 minutes, then your transfer rate rockets up to a reasonable number. 175GB would probably be about 6 hours on WiFi (802.11n).

    I'm not sure why you guys think anything like that is "WTF worthy". It's not. It's lame. Everything is working as intended. If that makes you go WTF, then I have to WTF at your WTF reaction.

    "a bazillion little files that basically take up no space" aha, there's your WTF.

  • Kasper (unregistered) in reply to Anonymous
    Anonymous:
    So this basically means I can bruteforce the ATM PIN by trying to change the online password?
    I thought about that possibility as well. But really, the proper implementation would be to simply reject any password, that could have been a valid PIN code, and not actually compare it to that user's PIN code.

    For example you could have a minimum password length, which is larger than the maximum PIN code length. Or you could require that the password is not only digits.

  • (cs) in reply to herby
    herby:
    All of this goes back to what is the "original sin" WTF. That sin is using floating point numbers where they shouldn't be used AT ALL. ...snip... We now return you to the regularly scheduled program of comments.

    Without going to far on a tangent there are many other ramifications to using floating point number...I guess they are co-sin's...

    <ducking and running>
  • Dhamp (unregistered)

    The upgrade cost is correct - one million is about right to refurbish an entire carriage to actually have first class.

  • Peter (unregistered) in reply to Anonymous Coward
    Anonymous Coward:
    Everything is working as intended. If that makes you go WTF, then I have to WTF at your WTF reaction.
    Time Machine can, in some circumstances, display a message telling you that the backup will take "About 3,454,012 days". You think this shows software "working as intended".

    WTF?

Leave a comment on “Screw You Oracle Interceptor!”

Log In or post as a guest

Replying to comment #:

« Return to Article