A Spoonful of Sugar

  • Someone 2011-03-16 09:03
    Personally, I cannot think of a better string.
  • Anon Too 2011-03-16 09:03
    Can't be arsed to debug? Just substitute the magic word supercalifragilisticexpialidocious!

    A real pro would have gone for disestablishmentarianism.
  • renewest 2011-03-16 09:03
    That is a bad search function indeed. Google returns over 1.770.000 results.
  • Someone 2011-03-16 09:04
    Also, since it seems to be tradition, I claim the first and second comment positions.

    Also, a better search string I guess would be;
    "StupidRubbishAPINeedsFixing"

    Or perhaps;
    "HeyYouWantAJobFixingThisAPICallUs"
  • Anon Too 2011-03-16 09:06
    "John S. was doing some on the search feature..."

    Umm ..... work, brain surgery, carburetor rebuild? What was he doing on the search feature?
  • Agile 2011-03-16 09:07
    This is what's great about unit tests: it doesn't matter how you get the right answer, it just matters that you get the right answer.
  • frits 2011-03-16 09:11
    To ensure no search results they should have used:
    ~~~<==$

  • The Boss 2011-03-16 09:12
    Remember, my minions, you must never ever capitulate to the requests of other departments. If they complain that something is "broken," and you fix it; not only are you squandering valuable company resources, but you are also demonstrating that this department is subordinate to that one! That is an offense up with which I shall not put. Feel free to offer solutions that will force THEM to fix THEIR code, but do not change your interface.

    Never forget: this department is a team, and we work together as a team. Failure is not an option: we must all fight together to defeat all other teams. Only by meeting our deadlines and causing the others to miss theirs will I achieve the promotion I so blatantly deserve.
  • Anonymous Coward 2011-03-16 09:13
    TRWTF is ColdFusion.
  • Michael 2011-03-16 09:17
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?
  • John S. 2011-03-16 09:18
    I accidentally the search feature.
  • apaq11 2011-03-16 09:21
    <easyjoke>

    He did that even though the sound of it is something quite atrocious!

    </easyjoke>

  • operagost 2011-03-16 09:23
    As is your spelling!
  • passby 2011-03-16 09:30
    Anon Too:
    "John S. was doing some on the search feature..."

    Umm ..... work, brain surgery, carburetor rebuild? What was he doing on the search feature?

    Some. Do you have trouble reading or something? It's written right there!
  • Roy 2011-03-16 09:34
    Not so much a WTF as a "GoreBlimey"
  • itsmo 2011-03-16 09:34
    This is just brillant
  • Anon 2011-03-16 09:36
    Anon Too:
    "John S. was doing some on the search feature..."

    Umm ..... work, brain surgery, carburetor rebuild? What was he doing on the search feature?


    Oh you don't want to know. Pervert!
  • AndyCanfield 2011-03-16 09:36

    A real pro would have gone for disestablishmentarianism.

    Nope; I'm an antidisestablishmentarianist.
  • JamieC 2011-03-16 09:40
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification
  • EJ_ 2011-03-16 09:43
    coldFUSION!!! Akismet!!! bunch of unrelated words for askismet to choke on
  • JayC 2011-03-16 09:57
    The Boss:
    Remember, my minions, you must never ever capitulate to the requests of other departments. If they complain that something is "broken," and you fix it; not only are you squandering valuable company resources, but you are also demonstrating that this department is subordinate to that one! That is an offense up with which I shall not put. Feel free to offer solutions that will force THEM to fix THEIR code, but do not change your interface.

    Never forget: this department is a team, and we work together as a team. Failure is not an option: we must all fight together to defeat all other teams. Only by meeting our deadlines and causing the others to miss theirs will I achieve the promotion I so blatantly deserve.


    YES! From one who has worked in such a department, I can't agree more.

    </Edit>

    Erm.. I mean't that only when it's the OTHER department's crap that's broken.
  • golddog 2011-03-16 10:02
    I presume that ColdFusion is setting the search term in that mark-up. If so, still doesn't explain the 500; seems like it should've simply not found matches (or returned a list, depending on the content against which it's searching).

    I mean, if I substituted "bob" for your sarch input, I'd expect to find all documents referring to bob, not a 500.
  • Mary 2011-03-16 10:05
    You know, you can say it backwards, which is "docious-ali-expi-istic-fragil-cali-rupus"; but that's going a bit too far, don't you think?
  • Bert 2011-03-16 10:06
    Mary:
    You know, you can say it backwards, which is "docious-ali-expi-istic-fragil-cali-rupus"; but that's going a bit too far, don't you think?

    Indubitably!
  • jpers36 2011-03-16 10:12
    JamieC:
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification


    No mention yet of Pneumonoultramicroscopicsilicovolcanoconiosis?
  • Nagesh 2011-03-16 10:12
    Anon Too:
    Can't be arsed to debug? Just substitute the magic word supercalifragilisticexpialidocious!

    A real pro would have gone for disestablishmentarianism.


    Not if he was trying to be precocious.
  • A Gould 2011-03-16 10:15
    Anon Too:
    "John S. was doing some on the search feature..."

    Umm ..... work, brain surgery, carburetor rebuild? What was he doing on the search feature?


    Whatever he's doing on the search feature, don't you think it's time for him to get off it before he breaks something?
  • java.lang.Chris; 2011-03-16 10:17
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code. I once worked at a place where I was regularly coming across broken code in the lower levels of the ball 'o mud code base. I'd submit fixes, along with a unit test (a novelty at that particular firm - no one else had even heard of unit testing) only for a more "senior" developer to veto the changes every time.
  • tehR 2011-03-16 10:19
    golddog:
    I presume that ColdFusion is setting the search term in that mark-up. If so, still doesn't explain the 500; seems like it should've simply not found matches (or returned a list, depending on the content against which it's searching).

    I mean, if I substituted "bob" for your sarch input, I'd expect to find all documents referring to bob, not a 500.


    The 500 error is returned by testing the standalone API with an empty search string.

    The ColdFusion wraps the case of empty search strings in order to never present the API with an empty search string.
  • octal 2011-03-16 10:20
    Please, enough of this sesquipedalianism.
  • lyates 2011-03-16 10:20
    How do I get that song to stop playing in my head?
  • minion 2011-03-16 10:21
    The Boss:
    Remember, my minions, you must never ever capitulate to the requests of other departments. If they complain that something is "broken," and you fix it; not only are you squandering valuable company resources, but you are also demonstrating that this department is subordinate to that one! That is an offense up with which I shall not put. Feel free to offer solutions that will force THEM to fix THEIR code, but do not change your interface.

    Never forget: this department is a team, and we work together as a team. Failure is not an option: we must all fight together to defeat all other teams. Only by meeting our deadlines and causing the others to miss theirs will I achieve the promotion I so blatantly deserve.


    Would it help if we changed the API three times before releasing the final version with yet another API? After all if we want to ensure victory over the other teams, that of course means making it difficult to follow in our tracks.
    Also, we can't let them squander our innovations - patent everything in the name of the department and force them to license or to work around our patents.
  • Pytry 2011-03-16 10:26
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    CAPTCHA: mara ... jade?



    I have supercalifragilisticexpialidocioused your search engine. Pray I don't supercalifragilisticexpialidocious it more.
  • airdrik 2011-03-16 10:29
    lyates:
    How do I get that song to stop playing in my head?

    By getting a different song stuck in your head, like: chim-chiminey, chim-chiminey, chim chim cher-ee, or: This is the song that never ends ...
  • Bert 2011-03-16 10:31
    lyates:
    How do I get that song to stop playing in my head?

    Simple; replace it with this one:

    Chim chimin-ee, chim chimin-ee, chim chim cher-ee,
    A sweep is as lucky, as lucky can be;
    Chim chimin-ee, chim chimin-ee, chim chim cher-oo,
    Good luck will rub off when I shakes 'ands with you!
  • Anon 2011-03-16 10:35
    lyates:
    How do I get that song to stop playing in my head?


    airdrik:
    By getting a different song stuck in your head, like: chim-chiminey, chim-chiminey, chim chim cher-ee, or: This is the song that never ends ...
    Bert:
    Simple; replace it with this one:

    Chim chimin-ee, chim chimin-ee, chim chim cher-ee,
    A sweep is as lucky, as lucky can be;
    Chim chimin-ee, chim chimin-ee, chim chim cher-oo,
    Good luck will rub off when I shakes 'ands with you!


    Arghhh, Mary Poppins hivemind! Flee the city! Burn your daughters!
  • Power Troll 2011-03-16 10:37
    Bert:
    lyates:
    How do I get that song to stop playing in my head?

    Simple; replace it with this one:

    Chim chimin-ee, chim chimin-ee, chim chim cher-ee,
    A sweep is as lucky, as lucky can be;
    Chim chimin-ee, chim chimin-ee, chim chim cher-oo,
    Good luck will rub off when I shakes 'ands with you!


    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!

    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!

    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!

    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!
  • boog 2011-03-16 10:39
    I don't see what's wrong with this code. Clearly similar validation logic couldn't have been used to dodge the search API altogether in the event of a predictable, erroneous input, or even print a message to the user informing them that the required input was invalid. What a ludicrous idea!

    Obviously this workaround was the author's only option.
  • Zachary 2011-03-16 10:41
    jpers36:
    JamieC:
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification


    No mention yet of Pneumonoultramicroscopicsilicovolcanoconiosis?


    You beat me to it. That is the word I was going with.

    plaga - Speaking of diseases
  • Zylon 2011-03-16 10:42
    lyates:
    How do I get that song to stop playing in my head?

    Perhaps this will help--

    I would have gone with "iamtheverymodelofamodernmajorgeneral".

    But seriously, the practice of coding around errors instead of fixing them is an aspect of programming that I don't see discussed much. Off the top of my head, the only print reference I can recall to this topic is in passing in Steven Levy's excellent Hackers.
  • Sarah 2011-03-16 10:56
    Would be even more funnier if some article (or what it is that would be found) would contain that search string..
  • RichP 2011-03-16 10:58
    D'oh, an error, a pes-ky error
    Ray, a bright idea'd fix
    Me, the coder to save the day,
    Far, a non-pool memory access
    So, I think I'll throw an error
    La, the yellow one next to Po
    Tea, a choice n'stead of coffee,
    which brings us back to D'oh!
  • kastein 2011-03-16 11:01
    apaq11:
    <easyjoke>

    He did that even though the sound of it is something quite atrocious!

    </easyjoke>



    I think you mean </cfeasyjoke>

    coldfusion is one of the many real WTFs
  • Candy 2011-03-16 11:06
    I understand you're against the antidisestablishmentarianism movement...
  • airdrik 2011-03-16 11:06
    jpers36:
    JamieC:
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification


    No mention yet of Pneumonoultramicroscopicsilicovolcanoconiosis?


    Be careful with those long words, you might trigger someone's Hippopotomonstrosesquipedaliophobia
  • F 2011-03-16 11:09
    jpers36:
    JamieC:
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification


    No mention yet of Pneumonoultramicroscopicsilicovolcanoconiosis?


    I should hope not.

    Obviously preferable: Llanfairpwllgwyngyllgogerychwyrndrobwllllantisiliogogogoch. There's no chance whatsoever of that accidentally producing a successful search.
  • Wyatt 2011-03-16 11:18
    You know, you can say it backwards, which is "docious-ali-expi-istic-fragil-cali-rupus"; but that's going a bit too far, don't you think?


    Indubitably.
  • Ray 2011-03-16 11:19
    @F: So YOU'RE the one who coded that railway routefinder...
  • neminem 2011-03-16 11:23
    Zylon:
    I would have gone with "iamtheverymodelofamodernmajorgeneral".

    That's pretty funny, as the first thing that popped into my head on the topic of catchy songs was:
    There's antimony, arsenic, aluminum, selenium,
    And hydrogen and oxygen and nitrogen and rhenium,
    And nickel, neodymium, neptunium, germanium,
    And iron, americium, ruthenium, uranium

    And really, we hack around bugs in APIs we don't control, all the time. That's not a WTF. This particular *method* of hacking around it... is. (Also generally, if it's a bug in an API coming internally from another team, we first hack around it, and then also file a bug report.)

    Also, if they really had to submit a search string, rather than random long words, fun as they are to name, couldn't they just have mashed the keyboard a bit, and gone with something like "CJFNNCNNOLIIEHREHCDMUCDGERWP"? Pretty sure *that* won't ever get any results anywhere.
  • Pyroka 2011-03-16 11:25
    F:
    jpers36:
    JamieC:
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification


    No mention yet of Pneumonoultramicroscopicsilicovolcanoconiosis?


    I should hope not.

    Obviously preferable: Llanfairpwllgwyngyllgogerychwyrndrobwllllantisiliogogogoch. There's no chance whatsoever of that accidentally producing a successful search.


    Unless you're searching for hotels in Wales
  • iToad 2011-03-16 11:28
    Mary:
    You know, you can say it backwards, which is "docious-ali-expi-istic-fragil-cali-rupus"; but that's going a bit too far, don't you think?


    You want to be very careful saying that out loud. Do not call up that which you cannot put back down.
  • trtrwtf 2011-03-16 11:28
    Pyroka:
    Unless you're searching for hotels in Wales


    The very definition of the phrase "trwtf"
  • anonymous internet wanker 2011-03-16 11:30
    come on, don't you love doing some on the search function? I do. It's my favorite thing, I do it all the time! :)

    (well, my favorite thing besides the obvious)
  • fwfw 2011-03-16 11:39
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code. I once worked at a place where I was regularly coming across broken code in the lower levels of the ball 'o mud code base. I'd submit fixes, along with a unit test (a novelty at that particular firm - no one else had even heard of unit testing) only for a more "senior" developer to veto the changes every time.


    The fact that they use CF tells me that they regularly change production data by using the Edit Rows function in SSMS.
  • steenbergh 2011-03-16 11:42
    Power Troll:

    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!

    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!

    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!

    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL WORLD, AFTER ALL!
    ITS A SMALL, SMALL WORLD!


    GOD DAMMIT!
  • Squidfood 2011-03-16 11:48
    Someone:
    Personally, I cannot think of a better string.


    But is it one of your favorite strings?

  • trtrwtf 2011-03-16 11:53
    Squidfood:
    Someone:
    Personally, I cannot think of a better string.


    But is it one of your favorite strings?



    No, that would be "Brown paper packages tied up with %s"
  • Wonk 2011-03-16 11:56
    if comment EQ ""
    cfset comment = "Chargoggagoggmanchauggagoggchaubunagungamaugg"
  • Anonymous 2011-03-16 11:57
    Squidfood:
    Someone:
    Personally, I cannot think of a better string.


    But is it one of your favorite strings?

    private string _fav1 = "raindrops on roses";
    private string _fav2 = "whiskers on kittens";
    private string _fav3 = "bright copper kettles";
    private string _fav4 = "warm woolen mittens";
    private string _fav5 = "brown paper packages tied up with string";

    These are a few of my favorite strings.
  • Vacaloca 2011-03-16 11:57
    lyates:
    How do I get that song to stop playing in my head?


    song.Dispose();
  • MrBester 2011-03-16 12:09
    Pyroka:
    F:
    Llanfairpwllgwyngyllgogerychwyrndrobwllllantisiliogogogoch. There's no chance whatsoever of that accidentally producing a successful search.

    Unless you're searching for hotels in Wales

    Nope, not even then. Perhaps if you were searching for "places that sell novelty railway platform tickets in Wales" you might get lucky, but mostly you'd get back Llanfair, Anglesey (as distinct from all the other Llanfairs around Wales). Llanfair P.G. is also acceptable but nobody calls it Llanfairpwllgwll...gogogoch any more.

    If you want me, I'll be with the sheep.
  • BentFranklin 2011-03-16 12:14
    My favorite brain melting song goes like this:

    Meow meow meow meow meow meow meow meow
    meow meow meow meow meow meow meow meow
    meow meow meow meow meow meow meow meow
    meow meow meow meow meow meow meow meow!

    (http://www.youtube.com/watch?v=5JuVHCJVYf4 if you don't remember or happily were never subjected to said torture.)

  • trtrwtf 2011-03-16 12:22
    MrBester:
    If you want me, I'll be with the sheep.


    I'll bet you will. Hey, McLeod! Get off of my ewe!
  • The Bytemaster 2011-03-16 12:23
    Once again we get a code sample where a programmer fixes a problem by using a "magic string".
  • Herby 2011-03-16 12:26
    RichP:
    D'oh, an error, a pes-ky error
    Ray, a bright idea'd fix
    Me, the coder to save the day,
    Far, a non-pool memory access
    So, I think I'll throw an error
    La, the yellow one next to Po
    Tea, a choice n'stead of coffee,
    which brings us back to D'oh!


    The hills are alive with the sound of music.....


    Sorry, wrong Julie Andrews movie. Never [Emily Litella] mind.
  • OldPeter 2011-03-16 12:35
    You want long words? Forget English and choose German:

    Oberdonaudampfschifffahrtsgesellschaftskapitäswitwenrentenantragsformulartitelzeilenendbuchstabengrößenangabe.

    (Upper danube steam ship company captain's widow rent applicance form title line end letter size value)
  • PedanticCurmudgeon 2011-03-16 12:38
    neminem:
    Also, if they really had to submit a search string, rather than random long words, fun as they are to name, couldn't they just have mashed the keyboard a bit, and gone with something like "CJFNNCNNOLIIEHREHCDMUCDGERWP"? Pretty sure *that* won't ever get any results anywhere.

    It does now. Nice work.
  • Fred 2011-03-16 12:44
    The obvious approach to this problem is to create a thingy that responds to a search for "supercalifragilisticexpialidocious" and make sure it thoroughly insults the reader in the most vile terms possible. (Like maybe calling them a VB programmer...)

    Then just sit back and wait for the complaints to pile up, forcing management to authorize fixing the actual bug instead of papering over it.

    If they merely change the magic word, rinse and repeat...
  • RobFreundlich 2011-03-16 12:48
    neminem:
    Also, if they really had to submit a search string, rather than random long words, fun as they are to name, couldn't they just have mashed the keyboard a bit, and gone with something like "CJFNNCNNOLIIEHREHCDMUCDGERWP"? Pretty sure *that* won't ever get any results anywhere.


    Whenever I need a magic string that should never appear in real-world data, I use something like this:

    "~~~!!!~~!~! THIS STRING SHOULD NEVER APPEAR IN REAL-WORLD DATA AND IS USED TO MEAN insert meaning here . IF IT DOES APPEAR IN REAL-WORLD DATA, THIS APPLICATION WILL PROBABLY BREAK OR BEHAVE IN AN UNPREDICTABLE WAY ~~~~!!!!~~~~"

    It has the benefit of being self-documenting, and if it ever does show up in real-world data, someone is clearly messing with the application's head.
  • ThingGuy McGuyThing 2011-03-16 12:57
    I'll probably take some flak, but I can see valid reasons for doing this rather than any of the other suggestions (bypassing search, returning the user to the search page, etc).

    1) Time constraints: If the dev had another 50 critical bugs to fix that day, there's no reason he should spend any more time on this bug. An if statement and a comment suffice.

    2) Global search: He can't return the user to the original page. If this search appears at the top of every page, then he'd have to go through the pain of ensuring that every form in the application was correctly populated on a bad search.

    3) One-off effects: If the search operation has one-off effects, then it's far easier to pass it a bad string than try to reproduce those effects outside of the search operation.


    Bear in mind that if the above apply, it indicates a WTF somewhere further down the line. But we knew that when we found out the search API didn't allow empty strings.

    Really, the best suggestion I've seen was by RobFreundlich - the actual string should be self-documenting.
  • Vic 2011-03-16 13:00
    It would be a real WTF if the client was Disney and people were trying to find the correct spelling.
  • boog 2011-03-16 13:06
    ThingGuy McGuyThing:
    I'll probably take some flak, but I can see valid reasons for doing this rather than any of the other suggestions (bypassing search, returning the user to the search page, etc).

    1) Time constraints: If the dev had another 50 critical bugs to fix that day, there's no reason he should spend any more time on this bug. An if statement and a comment suffice.
    Wouldn't an if-statement suffice for bypassing the search?
  • chron3 2011-03-16 13:10
    ThingGuy McGuyThing:
    - the actual string should be self-documenting.


    <cfif Trim(url.searchText) EQ "">
    <!--- empty string will cause an error --->
    <cfset searchString="If you are reading this, you are likely a fellow coder, or a general web geek. We have to pollute our code with this crap because the stupid fecks on the [insert team name] team at [insert company name] cant write an API worth a damn. No search string generates a 500 error from that pile of stinking mess they delivered, so instead, you get to read this.">
    </cfif>
  • somedude 2011-03-16 13:10
    Mahatma Gandhi, as you know, walked barefoot most of the time, which produced an impressive set of calluses on his feet. He also ate very little, which made him rather frail and, with his odd diet, he suffered from bad breath. This made him a...

    super calloused fragile mystic hexed by halitosis.
  • boog 2011-03-16 13:11
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?
  • BF 2011-03-16 13:11
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.
  • steenbergh 2011-03-16 13:26
    BF:
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.

    Does ColdFusion pay you to say that, or didn't any of the .Net shops want you after reading your resume?
  • foo 2011-03-16 13:30
    neminem:

    Also, if they really had to submit a search string, rather than random long words, fun as they are to name, couldn't they just have mashed the keyboard a bit, and gone with something like "CJFNNCNNOLIIEHREHCDMUCDGERWP"? Pretty sure *that* won't ever get any results anywhere.


    CJFNNCNNOLIIEHREHCDMUCDGERWP is probably a Welsh word.
  • hoodaticus 2011-03-16 13:31
    John S. was doing some on the search feature of a client's website...
    I tried that once, but it didn't work out as well as using a mirror.
  • AnthonyC 2011-03-16 13:33
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
  • hoodaticus 2011-03-16 13:36
    So TRWTF is that the DAL code was off limits, and he should have used wrapper pattern? Which, in a sense, he did?

    So TRWTF is that there is no RWTF?
  • hoodaticus 2011-03-16 13:38
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise nor phonetically.
  • Bob 2011-03-16 13:38
    Luckily, Bobx can automatically catch this exception and produce a meaningful error message in less than 20 lines of code.
  • hoodaticus 2011-03-16 13:39
    hoodaticus:
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise.

    Never mind. I'm a moron. I didn't realize you we're quoting the movie.
  • The Great Lobachevsky 2011-03-16 13:39
    neminem - I'm glad I'm not the only one here that appreciates Tom Lehrer.

    I randomly walk around singing "per clementina si!" when the mood strikes me :)

    captcha: nimis
  • Helps the Medicine Go Down 2011-03-16 13:40
    Why exactly was Brian testing with an empty string, anyway? I hate it when devs do crap like that.
  • kastein 2011-03-16 13:42
    steenbergh:
    BF:
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.

    Does ColdFusion pay you to say that, or didn't any of the .Net shops want you after reading your resume?


    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.
  • hoodaticus 2011-03-16 13:43
    hoodaticus unregistered:
    hoodaticus:
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise.

    Never mind. I'm a moron. I didn't realize you we're quoting the movie.
    I'm just not homosexual enough to have memorized the lyrics to every musical. Tho thorry, my apologieth.
  • frits 2011-03-16 13:43
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...
  • jumentum 2011-03-16 13:45
    hoodaticus:
    hoodaticus unregistered:
    hoodaticus:
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise.

    Never mind. I'm a moron. I didn't realize you we're quoting the movie.
    I'm just not homosexual enough...

    Hardly could tell, from the name and the self-talk.
  • Pr0gramm3r 2011-03-16 13:50
    The correct solution to this problem would have been,


    <cfif Trim(url.searchText) EQ "">
    <!--- empty string will cause an error --->
    <cfset searchString="null">
    </cfif>
  • JJ 2011-03-16 13:54
    I'll be in my bunk...doing some.
  • hoodaticus 2011-03-16 14:05
    jumentum:
    hoodaticus:
    hoodaticus unregistered:
    hoodaticus:
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise.

    Never mind. I'm a moron. I didn't realize you we're quoting the movie.
    I'm just not homosexual enough...

    Hardly could tell, from the name and the self-talk.
    Wit Lesson #1 - before turning a phrase, it helps to understand the phrase you are turning.
  • boog 2011-03-16 14:07
    frits:
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...

    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?
  • Peter 2011-03-16 14:08
    hoodaticus:
    jumentum:
    hoodaticus:
    hoodaticus unregistered:
    hoodaticus:
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise.

    Never mind. I'm a moron. I didn't realize you we're quoting the movie.
    I'm just not homosexual enough...

    Hardly could tell, from the name and the self-talk.
    Wit Lesson #1 - before turning a phrase, it helps to understand the phrase you are turning.

    How do you "turn" a phrase?
  • Sudo 2011-03-16 14:10
    Roy:
    Not so much a WTF as a "GoreBlimey"
    That should be "cor blimey", but it's easy to see how you came to make that mistake - Dick Van Dyke does the worst cockney impression known to man... it lies somewhere between Pakistani and South African.
  • notromda 2011-03-16 14:10
    Bert:
    lyates:
    How do I get that song to stop playing in my head?

    Simple; replace it with this one:

    Chim chimin-ee, chim chimin-ee, chim chim cher-ee,
    A sweep is as lucky, as lucky can be;
    Chim chimin-ee, chim chimin-ee, chim chim cher-oo,
    Good luck will rub off when I shakes 'ands with you!


    Go fly a kite.
  • Sudo 2011-03-16 14:12
    Pr0gramm3r:
    The correct solution to this problem would have been,


    <cfif Trim(url.searchText) EQ "">
    <!--- empty string will cause an error --->
    <cfset searchString="FILE_NOT_FOUND">
    </cfif>
    FTFY
  • Gunslinger 2011-03-16 14:18
    kastein:
    steenbergh:
    BF:
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.

    Does ColdFusion pay you to say that, or didn't any of the .Net shops want you after reading your resume?


    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.


    If you were someone who used visual FoxPro, then you weren't human already.

    CAPTCHA: nobis - Only a nobis uses FoxPro.
  • Lois Griffin 2011-03-16 14:23
    Peter:
    hoodaticus:
    jumentum:
    hoodaticus:
    hoodaticus unregistered:
    hoodaticus:
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise.

    Never mind. I'm a moron. I didn't realize you we're quoting the movie.
    I'm just not homosexual enough...

    Hardly could tell, from the name and the self-talk.
    Wit Lesson #1 - before turning a phrase, it helps to understand the phrase you are turning.

    How do you "turn" a phrase?
    God, you're dumb! Thank God for that ass!
  • frits 2011-03-16 14:25
    boog:
    frits:
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...

    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?


    You may want to re-read the article. The 500 error occurs when "supercalifragilisticexpialidocious" is the search term, not an empty string. Or do you mean that "supercalifragilisticexpialidocious" is a magic invalid term?

    The error encountered could be something similar to this.
  • Sudo 2011-03-16 14:25
    Helps the Medicine Go Down:
    Why exactly was Brian testing with an empty string, anyway? I hate it when devs do crap like that.
    Yeah man, why do devs always have to go testing everything? It's no wonder everything is always broken. If they just didn't test it then there wouldn't be any errors and everyone would be happy. Stoopid devs.
  • trtrwtf 2011-03-16 14:26
    Sudo:
    Roy:
    Not so much a WTF as a "GoreBlimey"
    That should be "cor blimey", but it's easy to see how you came to make that mistake - Dick Van Dyke does the worst cockney impression known to man... it lies somewhere between Pakistani and South African.



    It's true. It's even documented:
    http://modvda.blogspot.com/
  • hoodaticus (unregisted, but real) 2011-03-16 14:34
    frits:
    boog:
    frits:
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...

    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?


    You may want to re-read the article. The 500 error occurs when "supercalifragilisticexpialidocious" is the search term, not an empty string. Or do you mean that "supercalifragilisticexpialidocious" is a magic invalid term?

    The error encountered could be something similar to this.
    You've got to be fucking kidding me.
  • hoodaticus 2011-03-16 14:40
    Sudo:
    Helps the Medicine Go Down:
    Why exactly was Brian testing with an empty string, anyway? I hate it when devs do crap like that.
    Yeah man, why do devs always have to go testing everything? It's no wonder everything is always broken. If they just didn't test it then there wouldn't be any errors and everyone would be happy. Stoopid devs.
    Because, if the bogons are never observed, their wave functions won't collapse into actual bugs?
  • jumentum 2011-03-16 14:41
    hoodaticus (unregisted, but real):
    frits:
    boog:
    frits:
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...

    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?


    You may want to re-read the article. The 500 error occurs when "supercalifragilisticexpialidocious" is the search term, not an empty string. Or do you mean that "supercalifragilisticexpialidocious" is a magic invalid term?

    The error encountered could be something similar to this.
    You've got to be fucking...me.

    What was that you were saying about homosexuality again?
  • Roger Garrett 2011-03-16 14:43
    Anon Too:
    Can't be arsed to debug? Just substitute the magic word supercalifragilisticexpialidocious!

    A real pro would have gone for disestablishmentarianism.


    No, no, no. I'm definitely against that. I'd go for antdisestablishmentarianism.
  • Zadkiel 2011-03-16 14:44
    Shouldn't it have been

    <cfset searchString="BrownPaperPackagesTiedUpWith">

    ?
  • Zadkiel 2011-03-16 14:46
    Damnit, that'll teach me to only read pages 1 and 3 of the comments before posting.
  • Mark Bowtz 2011-03-16 14:58
    Edit: Thank you all for your positive comments and great support. We've been doing our best around here since Alex's passing, and I think the results have been really good. So sorry to see him go, though, I really miss the mantle he laid on this entire site.
  • neminem 2011-03-16 15:00
    hoodaticus:
    Sudo:
    Helps the Medicine Go Down:
    Why exactly was Brian testing with an empty string, anyway? I hate it when devs do crap like that.
    Yeah man, why do devs always have to go testing everything? It's no wonder everything is always broken. If they just didn't test it then there wouldn't be any errors and everyone would be happy. Stoopid devs.
    Because, if the bogons are never observed, their wave functions won't collapse into actual bugs?

    No, they'd still be observed, but only by users. And who cares about those morons anyway?

    Funny, we were just having this conversation yesterday at our team meeting, about how if we all stopped filing bug reports, we'd have so much more time for adding new features.
  • Helps the Medicine Go Down 2011-03-16 15:16
    neminem:
    hoodaticus:
    Sudo:
    Helps the Medicine Go Down:
    Why exactly was Brian testing with an empty string, anyway? I hate it when devs do crap like that.
    Yeah man, why do devs always have to go testing everything? It's no wonder everything is always broken. If they just didn't test it then there wouldn't be any errors and everyone would be happy. Stoopid devs.
    Because, if the bogons are never observed, their wave functions won't collapse into actual bugs?

    No, they'd still be observed, but only by users. And who cares about those morons anyway?

    Funny, we were just having this conversation yesterday at our team meeting, about how if we all stopped filing bug reports, we'd have so much more time for adding new features.

    More likely, the jackass was too lazy to try real search results, so he enters an empty search string. I'd throw a 500 error too, if I developed that API. Better than letting some dumbbunny cripple the database for all the users that are actually making sane queries. The front-end should keep this from happening, but the Art Major that created the website chose instead to perpetuate the jackassery.
  • Xenon Xavior 2011-03-16 15:19
    Anonymous:
    Squidfood:
    Someone:
    Personally, I cannot think of a better string.


    But is it one of your favorite strings?

    private string _fav1 = "raindrops on roses";
    private string _fav2 = "whiskers on kittens";
    private string _fav3 = "bright copper kettles";
    private string _fav4 = "warm woolen mittens";
    private string _fav5 = "brown paper packages tied up with string";

    These are a few of my favorite strings.


    It's a very rare day that I literally lol based on a forum post.

    Well done!
  • Mark Bo-who-now? 2011-03-16 15:20
    Mark Bowtz:
    Edit: Thank you all for your positive comments and great support. We've been doing our best around here since Alex's passing, and I think the results have been really good. So sorry to see him go, though, I really miss the mantle he laid on this entire site.

    I expect the real Mark can spell his own name, unlike you.
  • will 2011-03-16 15:22
    Pr0gramm3r:
    The correct solution to this problem would have been,


    <cfif Trim(url.searchText) EQ "">
    <!--- empty string will cause an error --->
    <cfset searchString="null">
    </cfif>


    Except that the reason they are doing this is to avoid some problems when the search page is done the first time. There is a good chance that the word null will appear in some documents which would result in items being displayed which you don't want.
    This was just a funny way instead of using a string of random characters or something like "nullllun"
  • Sudo 2011-03-16 15:32
    Helps the Medicine Go Down:

    More likely, the jackass was too lazy to try real search results, so he enters an empty search string. I'd throw a 500 error too, if I developed that API. Better than letting some dumbbunny cripple the database for all the users that are actually making sane queries. The front-end should keep this from happening, but the Art Major that created the website chose instead to perpetuate the jackassery.
    Wouldn't it be just as easy to return an empty result set? Seems over-engineered to me.
  • ORLY 2011-03-16 15:34
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF
  • The Corrector 2011-03-16 15:36
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF I've never used ColdFusion before.

    FTFY
  • Unfrits 2011-03-16 15:39
    frits:
    boog:
    frits:
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...

    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?


    You may want to re-read the article. The 500 error occurs when "supercalifragilisticexpialidocious" is the search term, not an empty string. Or do you mean that "supercalifragilisticexpialidocious" is a magic invalid term?

    The error encountered could be something similar to this.


    From the Article:
    he noticed that he would receive a 500 Server Error if he tested against the API with an empty string
  • ORLY 2011-03-16 15:42
    The Corrector:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF I've never used ColdFusion before, but I read somewhere that it's rubbish, and I believe everything I read, so I quote that article, to try and sound like I know what I'm talking about.

    FTFY


    FTFY
  • Matt Westwood 2011-03-16 15:44
    JamieC:
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification


    A real real *real* pro would have used pneumoultramicroscopicsilicovolcanoconiosis.
  • Matt Westwood 2011-03-16 15:44
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF


    Endless dildos? Where can I get one? It's my wife's birthday in a few weeks' time.
  • anon 2011-03-16 15:48
    Google returns this page now for that search
  • Bill's Kid 2011-03-16 15:49
    ORLY:
    The Corrector:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF I've never used ColdFusion before, but I read somewhere that it's rubbish, and I believe everything I read, so I quote that article, to try and sound like I know what I'm talking about.

    FTFY


    FTFY

    I see what you did there. But, do you?
    hint: whose quote did you change...?
  • Matt Westwood 2011-03-16 15:50
    trtrwtf:
    MrBester:
    If you want me, I'll be with the sheep.


    I'll bet you will. Hey, McLeod! Get off of my ewe!


    "Are you shearin'?"

    "Nah, get yer own."
  • boog 2011-03-16 15:50
    Sudo:
    Wouldn't it be just as easy to return an empty result set? Seems over-engineered to me.
    And some people think it's over-engineering to handle input parameters that are outside the function's domain.

    I'm not saying the API is intelligent, but the front-end should be aware of what inputs are valid and notify the user when they are not.
  • boog 2011-03-16 15:54
    Unfrits:
    frits:
    boog:
    frits:
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...

    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?


    You may want to re-read the article. The 500 error occurs when "supercalifragilisticexpialidocious" is the search term, not an empty string. Or do you mean that "supercalifragilisticexpialidocious" is a magic invalid term?

    The error encountered could be something similar to this.


    From the Article:
    he noticed that he would receive a 500 Server Error if he tested against the API with an empty string


    OK. I see right there:

    From the Article:


    <cfif Trim(url.searchText) EQ "">
    <!--- empty string will cause an error --->
    <cfset searchString="supercalifragilisticexpialidocious">
    </cfif>






  • HellKarnassus 2011-03-16 15:58
    Bill's Kid:
    ORLY:
    The Corrector:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF I've never used ColdFusion before, but I read somewhere that it's rubbish, and I believe everything I read, so I quote that article, to try and sound like I know what I'm talking about.

    FTFY


    FTFY

    I see what you did there. But, do you?
    hint: whose quote did you change...?


    FTFY
  • Matt Westwood 2011-03-16 15:59
    Matt Westwood:
    JamieC:
    Anon Too:

    A real pro would have gone for disestablishmentarianism.


    A really real pro would have gone for floccinaucinihilipilification


    A real real *real* pro would have used pneumoultramicroscopicsilicovolcanoconiosis.


    Whoops sorry, someone's already been there.
  • frits 2011-03-16 16:00
    I mean really boog, resorting to sock puppets. You should be ashamed of yourself.
  • venio 2011-03-16 16:04
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.
  • hoodaticus 2011-03-16 16:04
    frits:
    I mean really boog, resorting to sock puppets. You should be ashamed of yourself.


    The comedy here is so sweet, I think I'll be skipping lunch today.
  • hoodaticus 2011-03-16 16:06
    jumentum:
    hoodaticus (unregisted, but real):
    frits:
    boog:
    frits:
    boog:
    java.lang.Chris;:
    The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.
    Why would the previous developer have needed to change the underlying data access code? Was it broken?


    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...

    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?


    You may want to re-read the article. The 500 error occurs when "supercalifragilisticexpialidocious" is the search term, not an empty string. Or do you mean that "supercalifragilisticexpialidocious" is a magic invalid term?

    The error encountered could be something similar to this.
    You've got to be fucking...me.

    What was that you were saying about homosexuality again?
    I didn't mean to offend you. I'm sorry?
  • hoodaticus 2011-03-16 16:11
    neminem:
    hoodaticus:
    Because, if the bogons are never observed, their wave functions won't collapse into actual bugs?

    No, they'd still be observed, but only by users. And who cares about those morons anyway?
    NICE!!!
  • kastein 2011-03-16 16:20
    Gunslinger:
    kastein:
    steenbergh:
    BF:
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.

    Does ColdFusion pay you to say that, or didn't any of the .Net shops want you after reading your resume?


    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.


    If you were someone who used visual FoxPro, then you weren't human already.

    CAPTCHA: nobis - Only a nobis uses FoxPro.

    CAPTCHA jokes are not funny. Especially when they are that tenuously connected to, well, anything.

    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.

    Is gEdit or anything similar available for Windows? I know you can set up custom syntax highlighting in gEdit which would at least get you started.

    To the people bashing the coldfusion bashers, sorry, taking a fairly crummy language and ramming it up the ass with XML does not a good language make. Even PHP is less of a WTF than coldfusion.
  • validus 2011-03-16 16:26
    kastein:
    Gunslinger:
    kastein:
    steenbergh:
    BF:
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.

    Does ColdFusion pay you to say that, or didn't any of the .Net shops want you after reading your resume?


    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.


    If you were someone who used visual FoxPro, then you weren't human already.

    CAPTCHA: nobis - Only a nobis uses FoxPro.

    CAPTCHA jokes are not funny. Especially when they are that tenuously connected to, well, anything.

    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.

    Is gEdit or anything similar available for Windows? I know you can set up custom syntax highlighting in gEdit which would at least get you started.

    To the people bashing the coldfusion bashers, sorry, taking a fairly crummy language and ramming it up the ass with XML does not a good language make. Even PHP is less of a WTF than coldfusion.

    Did you read this, hoodaticus?
  • hoodaticus 2011-03-16 16:29
    validus:
    kastein:
    Gunslinger:
    kastein:
    steenbergh:
    BF:
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.

    Does ColdFusion pay you to say that, or didn't any of the .Net shops want you after reading your resume?


    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.


    If you were someone who used visual FoxPro, then you weren't human already.

    CAPTCHA: nobis - Only a nobis uses FoxPro.

    CAPTCHA jokes are not funny. Especially when they are that tenuously connected to, well, anything.

    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.

    Is gEdit or anything similar available for Windows? I know you can set up custom syntax highlighting in gEdit which would at least get you started.

    To the people bashing the coldfusion bashers, sorry, taking a fairly crummy language and ramming it up the ass with XML does not a good language make. Even PHP is less of a WTF than coldfusion.

    Did you read this, hoodaticus?
    Yes, but I'm withholding comment lest I offend the catamites among us.
  • Mick 2011-03-16 16:32
    Anon Too:
    Can't be arsed to debug? Just substitute the magic word supercalifragilisticexpialidocious!

    A real pro would have gone for disestablishmentarianism.


    Maybe antidisestablishmentarianism
  • validus 2011-03-16 16:39
    hoodaticus:
    validus:
    kastein:
    Gunslinger:
    kastein:
    steenbergh:
    BF:
    Michael:
    Anonymous Coward:
    TRWTF is ColdFusion.


    Understatement of the year.

    CAPTCHA: mara ... jade?


    I think we can all agree that the real WTF is the brain dead .NET webservice API that they were using to do the searching.

    Does ColdFusion pay you to say that, or didn't any of the .Net shops want you after reading your resume?


    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.


    If you were someone who used visual FoxPro, then you weren't human already.

    CAPTCHA: nobis - Only a nobis uses FoxPro.

    CAPTCHA jokes are not funny. Especially when they are that tenuously connected to, well, anything.

    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.

    Is gEdit or anything similar available for Windows? I know you can set up custom syntax highlighting in gEdit which would at least get you started.

    To the people bashing the coldfusion bashers, sorry, taking a fairly crummy language and ramming it up the ass with XML does not a good language make. Even PHP is less of a WTF than coldfusion.

    Did you read this, hoodaticus?
    Yes, but I'm withholding comment lest I offend the catamites among us.

    You people would no words like that.
  • Nagesh 2011-03-16 16:40
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.
  • C-Octothorpe 2011-03-16 16:43
    Anonymous:
    Squidfood:
    Someone:
    Personally, I cannot think of a better string.


    But is it one of your favorite strings?

    private string _fav1 = "raindrops on roses";
    private string _fav2 = "whiskers on kittens";
    private string _fav3 = "bright copper kettles";
    private string _fav4 = "warm woolen mittens";
    private string _fav5 = "brown paper packages tied up with string";

    These are a few of my favorite strings.


    Feature this!

    This made me lol, thanks.
  • C-Octothorpe 2011-03-16 16:44
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...
  • hoodaticus 2011-03-16 16:44
    validus:
    hoodaticus:
    validus:
    kastein:
    Is gEdit or anything similar available for Windows? I know you can set up custom syntax highlighting in gEdit which would at least get you started.

    To the people bashing the coldfusion bashers, sorry, taking a fairly crummy language and ramming it up the ass with XML does not a good language make. Even PHP is less of a WTF than coldfusion.

    Did you read this, hoodaticus?
    Yes, but I'm withholding comment lest I offend the catamites among us.

    You people would no words like that.
    NICE!
  • Matt Westwood 2011-03-16 16:48
    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.


    I got chills too. They're multiplying, and I'm losing control.
  • Nagesh 2011-03-16 16:49
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...

    I am surprising it took you so long to datter-mine this. What was first clue?
  • VI Commander 2011-03-16 16:50
    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.

    TRWTF is notepad. Who would seriously want an editor that you don't navigate using jkl;?

    - Sent from my Palm III
  • DeaDPooL 2011-03-16 16:53
    Clean, easy to read, well documented code works... what's the problem?
  • Emacs General 2011-03-16 16:53
    VI Commander:
    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.

    TRWTF is notepad. Who would seriously want an editor that you don't navigate using jkl;?

    - Sent from my Palm III

    Duh, any editor that doesn't require you to do learn Lisp to perform basic text editing isn't worth having.
  • sock-puppet Sandy 2011-03-16 16:53
    Matt Westwood:
    venio:
    kastein:
    Didn't you know? Microsoft is replacing Visual FoxPro with Visual ColdFusion++ .NET Live Edition

    if this sentence didn't give you chills, you are probably not human.

    The sentence does give me chills, but only since I don't use Visual FoxPro and could really use Visual ColdFusion++ .NET Live Edition for the current ColdFusion pages I am having to maintain in notepad.


    I got chills too. They're multiplying, and I'm losing control.


    You better shape up.
  • Cough Sneeze Splutter 2011-03-16 16:57
    MrBester:
    Pyroka:
    F:
    Llanfairpwllgwyngyllgogerychwyrndrobwllllantisiliogogogoch. There's no chance whatsoever of that accidentally producing a successful search.

    Unless you're searching for hotels in Wales

    Nope, not even then. Perhaps if you were searching for "places that sell novelty railway platform tickets in Wales" you might get lucky, but mostly you'd get back Llanfair, Anglesey (as distinct from all the other Llanfairs around Wales). Llanfair P.G. is also acceptable but nobody calls it Llanfairpwllgwll...gogogoch any more.

    If you want me, I'll be with the sheep.


    Uhm - aren't you talking about the opposite. It's not about whether it appears in search results for other terms, it's about whether that term produces results....
  • Nagesh 2011-03-16 16:59
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...


    I am no troll. I am serous about use of magic values. E.F Codd also mention NULL as a magic value in his early papers.
  • Cough Sneeze Splutter 2011-03-16 16:59
    BentFranklin:
    My favorite brain melting song goes like this:

    Meow meow meow meow meow meow meow meow
    meow meow meow meow meow meow meow meow
    meow meow meow meow meow meow meow meow
    meow meow meow meow meow meow meow meow!

    (http://www.youtube.com/watch?v=5JuVHCJVYf4 if you don't remember or happily were never subjected to said torture.)



    Look up 'Duck Song' on YouTube....

    A duck walked into a lemonade stand,
    and he said to the man running the stand,
    hey (bop, bop, bop)....got any grapes?
  • hoodaticus 2011-03-16 16:59
    Nagesh:
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...

    I am surprising it took you so long to datter-mine this. What was first clue?

    +1 fpr "datter-mine".
  • Nagesh 2011-03-16 17:00
    Nagesh:
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...

    I am surprising it took you so long to datter-mine this. What was first clue?


    Fake nagesh is double TRWTF.
  • hoodaticus 2011-03-16 17:04
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.
    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...
    Seriously. I'm starting to wonder if it's really just an Indian algorithm.
  • HellKarnassus 2011-03-16 17:08
    Nagesh:
    Nagesh:
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...

    I am surprising it took you so long to datter-mine this. What was first clue?


    Fake nagesh is double TRWTF.

    Hell yes, one Nagesh is enough TRWTF
  • ORLY 2011-03-16 17:34
    Bill's Kid:
    ORLY:
    The Corrector:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF I've never used ColdFusion before, but I read somewhere that it's rubbish, and I believe everything I read, so I quote that article, to try and sound like I know what I'm talking about.

    FTFY


    FTFY

    I see what you did there. But, do you?
    hint: whose quote did you change...?


    Hey, after the first 'FTFY', it became *our* quote!
  • G. 2011-03-16 17:36
    Nagesh:
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...


    I am no troll. I am serous about use of magic values. E.F Codd also mention NULL as a magic value in his early papers.


    I may be very wide of the mark here, but do the words 'valoo chicken' mean anything to you?
  • ORLY 2011-03-16 17:36
    hoodaticus:
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.
    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...
    Seriously. I'm starting to wonder if it's really just an Indian algorithm.


    Can't be - it works
  • Sudo 2011-03-16 17:42
    boog:
    Sudo:
    Wouldn't it be just as easy to return an empty result set? Seems over-engineered to me.
    And some people think it's over-engineering to handle input parameters that are outside the function's domain.

    I'm not saying the API is intelligent, but the front-end should be aware of what inputs are valid and notify the user when they are not.
    Fair point... there's never an argument against validating inputs. Still, I'd personally consider an empty string to be a dumbass input rather than an invalid one, and just handle it gracefully... If they started passing objects or integers to the function, then I'd start throwing errors.
  • blue 2011-03-16 17:53
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?


    That don't look backward to me....

    You're at least the second person here today who seems to struggle with the conspet of backward. Most of the syllables are still the right way
  • Coyne 2011-03-16 17:54
    I'd add a new item to the database, maybe ...


    Entered search predicate atrocious,
    Expected a system precocious,
    Clicked search to find nada,
    Unexpected the yada:
    Supercalifragilisticexpialidocious.


    Now, let the developers try to figure out why it started giving this for an empty search string...
  • whila 2011-03-16 17:56
    Peter:
    hoodaticus:
    jumentum:
    hoodaticus:
    hoodaticus unregistered:
    hoodaticus:
    AnthonyC:
    Although you can type it backwards, which is dociousaliexpiisticfragilcalirupus, but that's going a bit too far, don't you think?
    That isn't backwards, dude. Neither character-wise nor syllable-wise.

    Never mind. I'm a moron. I didn't realize you we're quoting the movie.
    I'm just not homosexual enough...

    Hardly could tell, from the name and the self-talk.
    Wit Lesson #1 - before turning a phrase, it helps to understand the phrase you are turning.

    How do you "turn" a phrase?


    poke it in the bum
  • sdlfhgskd 2011-03-16 18:03
    There is an xedit version for windows
  • boog 2011-03-16 18:06
    frits:
    I mean really boog, resorting to sock puppets. You should be ashamed of yourself.
    I have many reasons to be ashamed of myself, but resorting to sock puppets is not one of them.
  • frits 2011-03-16 18:08
    boog:
    frits:
    I mean really boog, resorting to sock puppets. You should be ashamed of yourself.
    I have many reasons to be ashamed of myself, but resorting to sock puppets is not one of them.


    So you're proud of your sock puppets?
  • boog 2011-03-16 18:09
    [quoteuser=whila][quote user="boog"][quote user="Unfrits"][quote user="frits"][quote user="boog"][quote user="frits"][quote user="boog"][quote user="java.lang.Chris;"]The only justifiable reason for the previous developer doing this is that he/she wasn't allowed to change the underlying data access code.[/quote]Why would the previous developer have needed to change the underlying data access code? Was it broken?[/quote]

    Oh I'm sure it worked as well as any super sophisticated SQL LIKE query would...
    [/quote]
    Maybe it does. And maybe the search operation starts out with
    if (parameter is invalid)
    
    throw a 500 error

    or something to that effect. Is it unlikely that the API developers decided "empty string" was an invalid input that they didn't want to handle?[/quote]

    You may want to re-read the article. The 500 error occurs when "supercalifragilisticexpialidocious" is the search term, not an empty string. Or do you mean that "supercalifragilisticexpialidocious" is a magic invalid term?

    The error encountered could be something similar to this.
    [/quote]

    [quote user="From the Article"]he noticed that he would receive a 500 Server Error if he tested against the API with an empty string[/quote][/quote]

    OK. I see right there:

    [quote user="From the Article"]

    <cfif Trim(url.searchText) EQ "">
    <!--- empty string will cause an error --->
    <cfset searchString="supercalifragilisticexpialidocious">
    </cfif>


    [/quote]
    [/quote]

    without saying "you're a fucking idiot"

    I think he was calling the API directly - so that little bit with the SearchString is on the website in the real world to avoid the issue happening
    [/quote]

    Thanks for that. I really am fucking idiot.
  • neminem 2011-03-16 18:12
    boog:
    [enormous mess of incorrectly-quoted quote]
    Thanks for that. I really am fucking idiot.

    Apparently!

    (You know what would be cool, just in general? An edit button. I hear fora have those, sometimes.)
  • unregistered 2011-03-16 18:13
    neminem:
    boog:
    [enormous mess of incorrectly-quoted quote]
    Thanks for that. I really am fucking idiot.

    Apparently!

    (You know what would be cool, just in general? An edit button. I hear fora have those, sometimes.)


    so register - then you can edit
  • M 2011-03-16 18:16
    Simply quite atrocious.
  • Mary Poppins 2011-03-16 18:21
    If it ain't broke, it's supercalifragilisticexpialidoscious.
  • boog 2011-03-16 18:21
    neminem:
    boog (cheap imitation):
    [enormous mess of incorrectly-quoted quote]
    Thanks for that. I really am fucking idiot.

    Apparently!

    (You know what would be cool, just in general? An edit button. I hear fora have those, sometimes.)

    Or a preview button. I think this boog was constructed from inferior materials.
  • boog 2011-03-16 18:24
    frits (phony):
    boog:
    frits:
    I mean really boog, resorting to sock puppets. You should be ashamed of yourself.
    I have many reasons to be ashamed of myself, but resorting to sock puppets is not one of them.

    So you're proud of your sock puppets?

    Did I say proud? No, I don't believe I did.
  • boog 2011-03-16 18:42
    Sudo:
    boog:
    Sudo:
    Wouldn't it be just as easy to return an empty result set? Seems over-engineered to me.
    And some people think it's over-engineering to handle input parameters that are outside the function's domain.

    I'm not saying the API is intelligent, but the front-end should be aware of what inputs are valid and notify the user when they are not.
    Fair point... there's never an argument against validating inputs. Still, I'd personally consider an empty string to be a dumbass input rather than an invalid one, and just handle it gracefully... If they started passing objects or integers to the function, then I'd start throwing errors.

    I'll buy that. What probably happened here is the API devs followed the path of least resistance. If frits was correct about the cause of the error, it'd be more work to handle an empty string and no work to just allow an error that shouldn't occur if the API is used appropriately (inputs within the domain and whatnot).
  • neminem 2011-03-16 18:48
    [quote user="unregistered"](You know what would be cool, just in general? An edit button. I hear fora have those, sometimes.)[/quote]

    so register - then you can edit[/quote]
    Well, dang. I tried so hard to avoid Muphry's Law, and yet let a deeper I'm-a-moron mistake slip in. Learn something every day (I only haven't ever registered because, like probably most people here, I generally post from work, which employs a stupid content-blocker that doesn't block tdwtf, but does block its forum - and the 'join' link is on the forum subdomain. That and I'm lazy, and registering requires an additional 10 seconds of work. But screw it, quota time used, registration submitted, you win. You can all proceed to not care.)

    But speaking of, TRWTF is totally websense. It's hilarious what it does and doesn't block, sometimes.
  • unregistered 2011-03-16 19:01
    neminem:
    unregistered:
    (You know what would be cool, just in general? An edit button. I hear fora have those, sometimes.)


    so register - then you can edit

    Well, dang. I tried so hard to avoid Muphry's Law, and yet let a deeper I'm-a-moron mistake slip in. Learn something every day (I only haven't ever registered because, like probably most people here, I generally post from work, which employs a stupid content-blocker that doesn't block tdwtf, but does block its forum - and the 'join' link is on the forum subdomain. That and I'm lazy, and registering requires an additional 10 seconds of work. But screw it, quota time used, registration submitted, you win. You can all proceed to not care.)

    But speaking of, TRWTF is totally websense. It's hilarious what it does and doesn't block, sometimes.


    I wonder how unregistered people could edit posts - based on comparing submitters IP to editters IP perhaps - or maybe just an assurance from the user (unregistered boog, say) that they really are the same unregistered boog that wrote the original post?



  • neminem 2011-03-16 19:11
    unregistered:
    I wonder how unregistered people could edit posts

    Yeah. Basically, I'm a moron, who forgot completely that he never registered, cause it remembers my username as if I was, anyway. (I suppose it could check the ip, but that'd be too much work for... basically negative gain, since it wouldn't be that difficult to spoof if you felt like it.)

    I also liked the perfect demonstration of Muphry's Law I just gave in the previous post, too - which, of course, was posted right before the registration went through. Awesome. Post about how people need to preview before submitting: you should really preview before submitting, yourself.
  • Curious George 2011-03-16 19:30
    Sudo:
    Roy:
    Not so much a WTF as a "GoreBlimey"
    That should be "cor blimey", but it's easy to see how you came to make that mistake - Dick Van Dyke does the worst cockney impression known to man... it lies somewhere between Pakistani and South African.

    Yeah, it turns out that the vocal trainer they hired for Dick was Irish, and also couldn't do a decent cockney.
  • Seriously? 2011-03-16 21:43
    What the damn is wrong with the comments on FireFox?
  • bgodot 2011-03-16 21:46
    Another good test case is a string containing a single (... or multiple) Unicode Byte Order Marks, which is the encoding of character 0xFEFF, a "Zero width non breaking space", that is, it has no glyph, takes up not space, and does not affect formatting; and may be stripped from the string suring processing AFTER the string is checked to not be empty.

    good times.
  • Clueless 2011-03-16 21:46
    unregistered:
    neminem:
    boog:
    [enormous mess of incorrectly-quoted quote]
    Thanks for that. I really am fucking idiot.

    Apparently!

    (You know what would be cool, just in general? An edit button. I hear fora have those, sometimes.)


    so register - then you can edit

    They could at least come up with a **** *** preview button for those who aren't registered!
  • Effeminate Black Man 2011-03-16 21:51
    ORLY:
    've never used ColdFusion before, but I read somewhere that it's rubbish, and I believe everything I read, so I quote that article, to try and sound like I know what I'm talking about.

    You are so dumb. For real.
  • Scarlet Manuka 2011-03-16 22:14
    The Great Lobachevsky:
    I randomly walk around singing "per clementina si!" when the mood strikes me :)

    ♥ That's my favourite part of that song (though the G&S ending is also good).

    Era legera
    E come un fairy
    E suo shoes numero nine
    Herring bo-ho-ho-hoxes senza to-ho-ho-hopses
    Sandale per Clementina si, per Clementina si,
    Per Clementina
    Sandale per Clementina
    Sandale per Clementine,
    Clementina, Clementina, Clementina.
    Herring boxes senza topses
    Sandale per Clementina,
    Herring boxes senza topses
    Sandale per Clementine,
    Che sciagura Clementina
    Che sciagura Clementina
    Cara Clementina cara Clementina-na-na-na-na-na-na-na.
  • Fermion 2011-03-16 22:25
    How about Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu
  • unregistered 2011-03-16 22:32
    Clueless:
    unregistered:
    neminem:
    boog:
    [enormous mess of incorrectly-quoted quote]
    Thanks for that. I really am fucking idiot.

    Apparently!

    (You know what would be cool, just in general? An edit button. I hear fora have those, sometimes.)


    so register - then you can edit

    They could at least come up with a **** *** preview button for those who aren't registered!


    There is one...
  • f**king obvious 2011-03-16 22:51
    C-Octothorpe:
    Nagesh:
    I have studied the above code and regadless to the language using by the programmer, it is valid.

    Using Magic values has been computer programming standard for donkey years.


    Ok, it's official. Nagesh is a troll.

    The comment above is MORE than enough proof...


    I would have thought his selective mastery of the English language would have given that away a LONG time ago...
  • Jugis 2011-03-17 00:09
    Matt Westwood:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF


    Endless dildos? Where can I get one? It's my wife's birthday in a few weeks' time.
    They're locked in a drawer in the server room. You may want to talk to Derek.
  • wthyrbendragon 2011-03-17 07:34
    Anon Too:
    Can't be arsed to debug? Just substitute the magic word supercalifragilisticexpialidocious!

    A real pro would have gone for disestablishmentarianism.


    However, a rebel with experience would go with 'antidisestablishmentarianism'
  • anonymous 2011-03-17 09:56
    The real WTF is that it doesn't use the ItemNotFound Boolean value.
  • ThingGuy McGuyThing 2011-03-17 09:56
    boog:
    ThingGuy McGuyThing:
    I'll probably take some flak, but I can see valid reasons for doing this rather than any of the other suggestions (bypassing search, returning the user to the search page, etc).

    1) Time constraints: If the dev had another 50 critical bugs to fix that day, there's no reason he should spend any more time on this bug. An if statement and a comment suffice.
    Wouldn't an if-statement suffice for bypassing the search?


    Not if there's additional logic embedded in the search function, like setting up parts of the search results page.
  • boog 2011-03-17 10:15
    ThingGuy McGuyThing:
    boog:
    Wouldn't an if-statement suffice for bypassing the search?

    Not if there's additional logic embedded in the search function, like setting up parts of the search results page.

    Sure, but if the search string is empty, why would you even display a search results page? Shouldn't you display an empty search box with an error saying "please try again"?
  • QJ 2011-03-17 10:37
    Fermion:
    How about Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu


    Hi-ho Silver, away.
  • C-Octothorpe 2011-03-17 10:55
    boog:
    ThingGuy McGuyThing:
    boog:
    Wouldn't an if-statement suffice for bypassing the search?

    Not if there's additional logic embedded in the search function, like setting up parts of the search results page.

    Sure, but if the search string is empty, why would you even display a search results page? Shouldn't you display an empty search box with an error saying "please try again"?


    Probably because that was above their head, or they didn't want to touch more than three lines of code to fix the defect.

    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not. They would simply add a property "IsValid", or some equally shitty named member and check that all over the place rather than checking for null.

    It's amazing what you take for granted (common sense, able to dress yourself in the morning, etc.), which some people simply lack.
  • Dr. Nil 2011-03-17 11:17
    After eading theses comments, I'm starting to get the feeling that most developers are seriously flawed, passive aggressive losers.
  • Me 2011-03-17 11:24
    The whole thing
  • C-Octothorpe 2011-03-17 11:26
    Dr. Nil:
    After eading theses comments, I'm starting to get the feeling that most developers are seriously flawed, passive aggressive losers.


    Hey! Take that back! We're not passive-agressive...

  • boog 2011-03-17 11:27
    C-Octothorpe:
    boog:
    Sure, but if the search string is empty, why would you even display a search results page? Shouldn't you display an empty search box with an error saying "please try again"?

    Probably because that was above their head, or they didn't want to touch more than three lines of code to fix the defect.

    I doubt showing an error message and adding an "else" before the search method would require much more code than setting the search string to "supercalifragilisticexpialidocious" did, but point taken.

    C-Octothorpe:
    It's amazing what you take for granted (common sense, able to dress yourself in the morning, etc.), which some people simply lack.

    That's more-or-less the point I've been trying to make. The author's excuse was gross incompetence, not a broken API.
  • Sir Robin-The-Not-So-Brave 2011-03-17 11:49
    jumentum:
    hoodaticus (unregisted, but real):
    You've got to be fucking...me.

    What was that you were saying about homosexuality again?

    What is wrong with homosexuality? Some of my best friends (m/f) are homosexual. Personally I'm sapiosexual. Which means that most comments here are a total turn off, but there are a few gems that make me want to rub my genitals against the commenter's brains. (metaforically)
  • dohpaz42 2011-03-17 11:50
    C-Octothorpe:
    ...
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not. They would simply add a property "IsValid", or some equally shitty named member and check that all over the place rather than checking for null....


    Actually, there is merit in the idea of returning an object regardless. It all depends on your needs (or your team's needs).

    TRWTF is returning null, but not checking for null before trying to use the value as an object.
  • jumentum 2011-03-17 11:59
    Sir Robin-The-Not-So-Brave:
    jumentum:
    hoodaticus (unregisted, but real):
    You've got to be fucking...me.

    What was that you were saying about homosexuality again?

    What is wrong with homosexuality? Some of my best friends (m/f) are homosexual. Personally I'm sapiosexual. Which means that most comments here are a total turn off, but there are a few gems that make me want to rub my genitals against the commenter's brains. (metaforically)

    In a previous post, he adamantly claimed not to be, but his follow-up posts clearly indicate otherwise.
  • boog 2011-03-17 12:01
    Dr. Nil:
    After eading theses comments, I'm starting to get the feeling that most developers are seriously flawed, passive aggressive losers.

    I'm pretty sure I would have strangled you if you said that to my face instead of over the internets.
  • Rance Mohanitz 2011-03-17 12:17
    The Boss:
    Remember, my minions, you must never ever capitulate to the requests of other departments. If they complain that something is "broken," and you fix it; not only are you squandering valuable company resources, but you are also demonstrating that this department is subordinate to that one! That is an offense up with which I shall not put. Feel free to offer solutions that will force THEM to fix THEIR code, but do not change your interface.

    Never forget: this department is a team, and we work together as a team. Failure is not an option: we must all fight together to defeat all other teams. Only by meeting our deadlines and causing the others to miss theirs will I achieve the promotion I so blatantly deserve.


    Nice Churchill there ;-)
  • Anonymous 2011-03-17 12:20
    Dr. Nil:
    After eading theses comments, I'm starting to get the feeling that most developers are seriously flawed, passive aggressive losers.

    Welcome to the club.
  • Jay 2011-03-17 12:24
    Fred:
    The obvious approach to this problem is to create a thingy that responds to a search for "supercalifragilisticexpialidocious" and make sure it thoroughly insults the reader in the most vile terms possible. (Like maybe calling them a VB programmer...)

    Then just sit back and wait for the complaints to pile up, forcing management to authorize fixing the actual bug instead of papering over it.

    If they merely change the magic word, rinse and repeat...


    At a former job, we had a problem that our people were constantly giving out the admin password to, like, anyone. When one of our customer service people gave out the admin password over the phone to a random customer, my boss got an idea: He changed the password to a vulgar comment about "your mother", on the reasoning that people would be too embarassed to say it.

    I'm not sure if it worked. I suspect there were plenty of people in our company who would have thought such a password was hysterically funny, and who'd be giving it to people who didn't even need access just for the laugh.
  • Jay 2011-03-17 12:51
    I always shudder when a programmer puts in a magic value and explains, "Oh, the chances of any real data having that value are too small to worry about."

    Like, in the application I'm spending my life on these days, in endless reports they check for some control field to change to decide to print subtotals, and they always initialize it with a value like "First". No doubt someone said to himself, "We'll never have a store or a customer named 'First'." How do you know that? I wouldn't be shocked to come across a cutomer named "Mary First". There are people with stranger names than that. And then you get incorrect output. How hard is it to create a first-time flag or some such so you are GUARANTEED that your program will work, and not just you hope it will robably work.
  • C-Octothorpe 2011-03-17 13:18
    Sir Robin-The-Not-So-Brave:
    jumentum:
    hoodaticus (unregisted, but real):
    You've got to be fucking...me.

    What was that you were saying about homosexuality again?

    What is wrong with homosexuality? Some of my best friends (m/f) are homosexual. Personally I'm sapiosexual. Which means that most comments here are a total turn off, but there are a few gems that make me want to rub my genitals against the commenter's brains. (metaforically)


    Goddamnit! It's really hard to pretend hysterical laughter is just coughing, asshole...

    But thanks for the lulz. Really funny.
  • hoodaticus 2011-03-17 13:28
    Seriously?:
    What the damn is wrong with the comments on FireFox?
    Nothing.
  • hoodaticus 2011-03-17 13:32
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.
  • trtrwtf 2011-03-17 13:34
    Jay:
    At a former job, we had a problem that our people were constantly giving out the admin password to, like, anyone. When one of our customer service people gave out the admin password over the phone to a random customer...
    .


    Not to call your former boss a moron or anything, but
    a) why did the customer service people have an admin password
    b) why would you give an admin password to someone who's dim enough to share it?
    c) did it not occur to anyone to give appropriate admin roles to users based on their job duties, rather than just passing around "the admin password"?
    d) was this "former job" one that you held in, oh, 1987 or something like that? That would explain it, I guess.

    Captcha: usitas - if you don't turn down that mePod so I can't hear it when I'm sitting ten feet away from you on the subway, you'll usitas a suppository, buddy.
  • hoodaticus 2011-03-17 13:36
    DeaDPooL:
    Clean, easy to read, well documented code works... what's the problem?
    TRWTF is that he didn't use a GUID.
  • Polar Bear 2011-03-17 13:43
    TRWTF is that it is St. Patrick's day, and there is not only no post today, but there are no pictures of Irish Girl today either.
  • C-Octothorpe 2011-03-17 13:43
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.
  • Atticus Hood 2011-03-17 13:47
    hoodaticus:
    DeaDPooL:
    Clean, easy to read, well documented code works... what's the problem?
    TRWTF is that he didn't use a GUID.


    Just make sure it's a singleton. You don't want to go using up a bunch of GUIDs frivolously.
  • Can't Believe I'm Responding 2011-03-17 13:49
    C-Octothorpe:
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.


    But smoke imparts flavor...
  • hoodaticus 2011-03-17 13:51
    C-Octothorpe:
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.
    The ones with a lot of untapped potential are the sweetest.
  • Nagesh 2011-03-17 13:53
    hoodaticus:
    C-Octothorpe:
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.
    The ones with a lot of untapped potential are the sweetest.


    My cousin in US might be of some use.
  • C-Octothorpe 2011-03-17 13:53
    Can't Believe I'm Responding:
    C-Octothorpe:
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.


    But smoke imparts flavor...


    That's true, but I'm on this whole "health" thing, you know...

    Trying to watch what, and whome I eat.
  • boog 2011-03-17 13:57
    Can't Believe I'm Responding:
    C-Octothorpe:
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.


    But smoke imparts flavor...

    You're right, it does, and that isn't necessarily a good thing. I could see your point if they smoked applewood, hickory, or mesquite on a regular-enough basis.
  • C-Octothorpe 2011-03-17 14:01
    boog:
    Can't Believe I'm Responding:
    C-Octothorpe:
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.


    But smoke imparts flavor...

    You're right, it does, and that isn't necessarily a good thing. I could see your point if they smoked applewood, hickory, or mesquite on a regular-enough basis.


    Please stop being funny you arseholes, I'm at work! I mean, home, yeah, I'm at home. That's the ticket...
  • Remy Martin 2011-03-17 14:15
    Polar Bear:
    TRWTF is that it is St. Patrick's day, and there is not only no post today, but there are no pictures of Irish Girl today either.

    Hey, guys, try to have some respect. Alex has just passed, and I don't even know if we're going to keep the site going per-se. We will keep you posted on the situation as it develops.
  • Nagesh 2011-03-17 14:56
    Remy Martin:
    Polar Bear:
    TRWTF is that it is St. Patrick's day, and there is not only no post today, but there are no pictures of Irish Girl today either.

    Hey, guys, try to have some respect. Alex has just passed, and I don't even know if we're going to keep the site going per-se. We will keep you posted on the situation as it develops.


    Passed out from drinking?
  • toshir0 2011-03-18 05:39
    <cfif Trim(url.searchText) EQ "">
    <!--- empty string will cause an error --->
    <cfset searchString="Johann Gambolputty de von Ausfernschpledenschlittcrasscrenbonfriediggerdingledangledonglebursteinvonknackerthrasherapplebangerhorowitzicolensicgranderknottyspelltinklegrandlichgrumbelmeyerspellerwasserkurstlichhimbleeisenbahnwagengutenabendbitteeinnurnburgerbratwurstlegerspurtenmitzweimacheluberhundsfutgumberaberschonendankerkalbsfleischmittleraucher Von Hauptkopf of Ulm">
    </cfif>
    FTFY
  • Sir Robin-The-Not-So-Brave 2011-03-18 05:49
    Remy Martin:
    Polar Bear:
    TRWTF is that it is St. Patrick's day, and there is not only no post today, but there are no pictures of Irish Girl today either.

    Hey, guys, try to have some respect. Alex has just passed, and I don't even know if we're going to keep the site going per-se. We will keep you posted on the situation as it develops.

    Say WHAT? Usually when they say that people have passed, they mean "passed away", "passed over the rainbow", "passed on to greener pastures" etc... in short that they are dead. Then why did username 'Alex Papadimoulis' publish a new article on 2011-03-17? Did someone hack into his account or steal his password?
  • Design Pattern 2011-03-18 07:52
    Sir Robin-The-Not-So-Brave:

    Say WHAT? Usually when they say that people have passed, they mean "passed away", "passed over the rainbow", "passed on to greener pastures" etc... in short that they are dead. Then why did username 'Alex Papadimoulis' publish a new article on 2011-03-17? Did someone hack into his account or steal his password?

    You probably have missed some lectures on TheNotSoDailyWTF-memes.

  • hoodaticus 2011-03-18 08:43
    Nagesh:
    hoodaticus:
    C-Octothorpe:
    hoodaticus:
    C-Octothorpe:
    I've worked with people who would return an object from a GetById method regardless of whether it was found in the DB or not.
    My uncle has a pig farm if you need to dispose of their bodies.


    Thanks, but I like the meat... Really tender when it's slow-cooked.

    On a completely unrelated note, I have a need for a new junior level .Net developer. Preferrably one who is a little on the chubby side, a vegitarian and non-smoker.
    The ones with a lot of untapped potential are the sweetest.


    My cousin in US might be of some use.
    I don't know if C-Octothorpe likes curry.
  • Buddy 2011-03-18 08:59
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.
  • Luiz Felipe 2011-03-18 10:10
    minion:
    The Boss:
    Remember, my minions, you must never ever capitulate to the requests of other departments. If they complain that something is "broken," and you fix it; not only are you squandering valuable company resources, but you are also demonstrating that this department is subordinate to that one! That is an offense up with which I shall not put. Feel free to offer solutions that will force THEM to fix THEIR code, but do not change your interface.

    Never forget: this department is a team, and we work together as a team. Failure is not an option: we must all fight together to defeat all other teams. Only by meeting our deadlines and causing the others to miss theirs will I achieve the promotion I so blatantly deserve.


    Would it help if we changed the API three times before releasing the final version with yet another API? After all if we want to ensure victory over the other teams, that of course means making it difficult to follow in our tracks.
    Also, we can't let them squander our innovations - patent everything in the name of the department and force them to license or to work around our patents.


    The Microsoft way. The teams have pratically patent other teams cannot use what already exist.
  • Nagesh 2011-03-18 10:15
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    Now C# also stand-out on its own.
  • Anonymous 2011-03-18 10:27
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.
  • frits 2011-03-18 11:18
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).
  • Nagesh 2011-03-18 11:49
    frits:
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).


    Agree with frits!

    The point is C# stand out on it own. Syntax is no longer same. If you think it has same syntax, you are using wrong version. I am using java primary, but also other things. So don't teach me anonymouse.
  • hoodaticus 2011-03-18 12:00
    Someone once said, "C# is Java with the all the stupid sucked out."
  • boog 2011-03-18 12:49
    hoodaticus:
    Someone once said, "C# is Java with the all the stupid sucked out."

    It's no wonder someone would make such a statement. All that sucked-out stupid would have to go somewhere.
  • trtrwtf 2011-03-18 12:50
    Design Pattern:
    Sir Robin-The-Not-So-Brave:

    Say WHAT? Usually when they say that people have passed, they mean "passed away", "passed over the rainbow", "passed on to greener pastures" etc... in short that they are dead. Then why did username 'Alex Papadimoulis' publish a new article on 2011-03-17? Did someone hack into his account or steal his password?

    You probably have missed some lectures on TheNotSoDailyWTF-memes.



    A meme is now "a joke someone made once"?

    Oy gewalt.
  • trtrwtf 2011-03-18 12:53
    frits:
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).


    And they also made K&R style the default indentation, improving the syntax immensely.
  • boog 2011-03-18 12:57
    trtrwtf:
    A meme is now "a joke someone made once"?

    Oy gewalt.

    Apparently yes. I used the "I'm pretty sure I would have strangled..." phrase one time, and my doofy doppelganger (fake boog) assumed this was a typical-enough comment from me to replicate it indefinitely.
  • anon 2011-03-18 14:03
    Sir Robin-The-Not-So-Brave:
    jumentum:
    hoodaticus (unregisted, but real):
    You've got to be fucking...me.

    What was that you were saying about homosexuality again?

    What is wrong with homosexuality? Some of my best friends (m/f) are homosexual. Personally I'm sapiosexual. Which means that most comments here are a total turn off, but there are a few gems that make me want to rub my genitals against the commenter's brains. (metaforically)


    I could have gone my whole life without reading that one...

    captcha: populus I sure hope you don't further populate to contaminate the species.
  • Nagesh 2011-03-18 14:13
    Matt Westwood:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF


    Endless dildos? Where can I get one? It's my wife's birthday in a few weeks' time.


    Why use external tools, if you got one of your own? Is your tool not working to full on satisfaction of the Mrs?
  • frits 2011-03-18 14:24
    Nagesh:
    Matt Westwood:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF


    Endless dildos? Where can I get one? It's my wife's birthday in a few weeks' time.


    Why use external tools, if you got one of your own? Is your tool not working to full on satisfaction of the Mrs?


    So are you suggesting that she should use native tools?
  • Nagesh 2011-03-18 14:26
    frits:
    Nagesh:
    Matt Westwood:
    ORLY:
    Anonymous Coward:
    TRWTF is ColdFusion.


    TRWTF is endless dildos who think slighting every platform or technology other than the ont they're forced to use in their current slave-cube, is a WTF


    Endless dildos? Where can I get one? It's my wife's birthday in a few weeks' time.


    Why use external tools, if you got one of your own? Is your tool not working to full on satisfaction of the Mrs?


    So are you suggesting that she should use native tools?


    Full of double meaning joke about native tools. Once some natives were playing with their tools...

  • Design Pattern 2011-03-18 15:08
    trtrwtf:
    Design Pattern:

    You probably have missed some lectures on TheNotSoDailyWTF-memes.


    A meme is now "a joke someone made once"?

    Oy gewalt.

    Since when is 1 == 3? Oh, of course this is thedailywtf!
    http://thedailywtf.com/Comments/Enterprise-Dependency-Big-Ball-of-Yarn.aspx?pg=4#340122
    http://thedailywtf.com/Comments/The-Glitchy-SVN.aspx?pg=4#341565

    You know, it's a meme if you are bored at the sight of it!
  • orly 2011-03-18 15:41
    frits:
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).


    Syntax? Really?
  • orly 2011-03-18 15:41
    frits:
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).


    Syntax? Really?
  • H 2011-03-19 06:43
    They should have used

    Hippopotomonstrosesquipedaliophobia

    which means 'fear of long words'

  • Laie Techie 2011-03-19 14:05
    I thought the longest word in English is pneumonoultramicroscopicsilicovolcanoconiosis (I hope I spelled that correctly).
  • Jay 2011-03-19 22:52
    trtrwtf:
    Jay:
    At a former job, we had a problem that our people were constantly giving out the admin password to, like, anyone. When one of our customer service people gave out the admin password over the phone to a random customer...
    .


    Not to call your former boss a moron or anything, but
    a) why did the customer service people have an admin password
    b) why would you give an admin password to someone who's dim enough to share it?
    c) did it not occur to anyone to give appropriate admin roles to users based on their job duties, rather than just passing around "the admin password"?
    d) was this "former job" one that you held in, oh, 1987 or something like that? That would explain it, I guess.


    Not that I feel an overwhelming need to defend a former boss, but ...

    (a & c) Perhaps I should clarify that I meant an application admin password, not a system admin password. And the reason why customer service people had an application admin password was so they could get on any customer's system and do whatever they needed to do to fix up problems.

    (b) See (a). They needed it to do their jobs. And the worst offender was the president of the company.

    (d) Did you know me in 1987? Not sure where you pulled that year from. But it's a job I held in the mid-80s, so maybe so.
  • Annonymous 2011-03-21 06:53
    boog:
    hoodaticus:
    Someone once said, "C# is Java with the all the stupid sucked out."

    It's no wonder someone would make such a statement. All that sucked-out stupid would have to go somewhere.

    QFT. And I work with both Java and C# regularly.

    CAPTCHA: conventio; it's somewhat lacking.
  • Anonymous 2011-03-21 07:41
    Nagesh:
    frits:
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).


    Agree with frits!

    The point is C# stand out on it own. Syntax is no longer same. If you think it has same syntax, you are using wrong version. I am using java primary, but also other things. So don't teach me anonymouse.

    You really are clueless, aren't you Nagesh? Please read this, then re-read frits' post. Get it now, dumbass?
  • Nagesh 2011-03-22 09:45
    Anonymous:
    Nagesh:
    frits:
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).


    Agree with frits!

    The point is C# stand out on it own. Syntax is no longer same. If you think it has same syntax, you are using wrong version. I am using java primary, but also other things. So don't teach me anonymouse.

    You really are clueless, aren't you Nagesh? Please read this, then re-read frits' post. Get it now, dumbass?


    Why are you making post as anonymouse? I already know definition of sarcasm, peewee!
  • Anonymous 2011-03-22 10:02
    Nagesh:
    Anonymous:
    Nagesh:
    frits:
    Anonymous:
    Nagesh:
    Buddy:
    Cold Fusion, fond memories. Once you get past its quirks and its design philosophy (let's mix DB, logic and UI!), it's a very productive language. It's possible to do amazing things with it, even the earlier versions.


    Every programming language is useful to someone or the other. A lot of java programers said "C# is a copy of Java".

    No, they said the syntax is a copy of Java, which it indisputably is.


    At least C# took Java syntax and improved it. For instance, C# got rid of stupid camel-casing for method names and uses Pascal-case instead ;).


    Agree with frits!

    The point is C# stand out on it own. Syntax is no longer same. If you think it has same syntax, you are using wrong version. I am using java primary, but also other things. So don't teach me anonymouse.

    You really are clueless, aren't you Nagesh? Please read this, then re-read frits' post. Get it now, dumbass?


    Why are you making post as anonymouse? I already know definition of sarcasm, peewee!

    And yet you can't recognise its usage? How strange. You must have learn English parrot-fashion, which actually explains a lot about your ridiculous posts come to think about it.
  • Wyrdo 2011-03-27 01:00
    Ok.

    I know we see bad code here all the time--that's the whole point of the site. But even so, I feel on some level that this is the dumbest piece of code I've ever seen.

    I mean what if someone actually put that in the database, then what, eh? sheesh.

    --
    Furry cows moo and decompress.