• Sarcastic kebab reaper (unregistered) in reply to Marc Philipp
    Marc Philipp:
    I started to work on an Eclipse plugin... anyone interested?
    No. I might be slightly interested if you finish it. Nah, just kidding. Not interested at all. Forget it.
  • Noissim Bus (unregistered)

    TRWTF is, ¡si!, FTW. RT submission

  • Sir Robin-The-Not-So-Brave (unregistered) in reply to Marc Philipp
    Marc Philipp:
    I started to work on an Eclipse plugin... anyone interested?
    No, but I'm interested when you're finished. There is a lot of Java WTF out there... if you're a .NET fanboi then you could say that Java is a WTF on its own.
  • anon (unregistered)

    TRWTF is no Glenfarclas

  • (cs) in reply to Vesso
    Vesso:
    A colleague of mine asked me if you could take all of the code examples in thedailywtf and build something that works. I responded by telling him that you could build something and call it a WTFramework.
    I hate you. Look at this coffee-spoiled desk...
  • (cs) in reply to anon
    anon:
    TRWTF is no Glenfarclas
    Or Highland Park. Still, not a collection that anyone need feel embarrassed by (outside Scotland).
  • Pco (unregistered) in reply to Herb

    I think that the WTF is hiding under the lower end of the visible code in the form of a default clause. At least that is what I infer from the description above.

  • Chris (unregistered)

    The real WTF is that Talisker is not an Islay malt, it's actually from Skye.

    (It is however very nice and the 18 y.o. is spectacular).

  • pjt33 (unregistered) in reply to Spectre
    Spectre:
    empire:
    I actually went to the src browser, and I'm getting a seriously fucked up view of svn/trunk/SubmitToWTF/connect.cs. It looks like after each character another nonsense character was inserted after it.

    Are you trying to get on your own website, because for me this was more of a WTF that today's TDWTF.

    It's in UTF-16.

    Yep. TRWTF is that Alex committed it to svn with property svn:mime-type application/octet-stream
  • hasse (unregistered)

    The TRWTF is using MS tools?

  • x-sol (unregistered)

    THE WTF here is can't select the entire solution and submit it

  • Niall (unregistered)

    Even with an ample supply of Single Malt Scotch.

    Talisker's an Islay malt.. WTF?

  • Azd (unregistered)

    I suggested to a colleague this would be the most useful plugin we could have for our company. He said "No, that would be called CopyFromWTF"

  • Helix (unregistered)

    Heya, i am half american half scotch

  • boog (unregistered)

    How hard is it to copy and paste into an email?

  • Vilx- (unregistered)

    Slight offtopic: It'd be nice if we had some kind of WTFtracker. To see where your submission currently is. Like "Please wait, your submission is #11845 in the queue. Estimated time of Alex reading it: next century." and "Alex has seen your entry -- not that he cares." and finally "Alex has blessedly rejected your WTF. Nice try though."

    Otherwise you just submit and then sit in the dark wondering if it ever got through.

  • Alan McMorran (unregistered)

    I had a go at an Eclipse plugin (not that I had time, but it was an interesting exercise in interfacing with the default editors and using some Apache CXF stuff). The code is on Github at:

    http://github.com/mcmorran/dailywtf-eclipse

    I've also put up and Eclipse Update site, so just add the URL below to your update manager and it should appear:

    http://dev.opengridsystems.com/dailywtf/

    This is using the Web Service interface that was linked to above, but I'm not sure if it is actually submitting correctly (so I'm making no claims that this works as expected!) The WSDL response is just a blank string but I'm not getting any errors or exceptions... that's not to say it is working of course :-)

    It's very much a prototype at the moment and pretty alpha-level (I've not tested it on older versions of Eclipse etc.) but I stuck it under EPL so feel free to correct anything that's wrong and give me a patch!

    Now I'd better get back to doing some paid work... gottam OCD... :-)

    Alan

  • (cs) in reply to boog
    boog:
    galgorah:
    Thats quite the scotch selection. Now if you had a vodka or tequilla selection, I'd have grabbed my fiance, faxed you my resume and cover letter and up and moved to a cardboard box in the street outside Inedo. My fiance is a licensed bartender here in Massachusetts.
    Is that really appropriate to post here?
    He said "grabbed", not "groped"...
  • hughdbrown (unregistered) in reply to Steve The Cynic
    Steve The Cynic:
    boog:
    galgorah:
    Thats quite the scotch selection. Now if you had a vodka or tequilla selection, I'd have grabbed my fiance, faxed you my resume and cover letter and up and moved to a cardboard box in the street outside Inedo. My fiance is a licensed bartender here in Massachusetts.
    Is that really appropriate to post here?
    He said "grabbed", not "groped"...

    It's a new world out there, of course, but a 'fiance' is a male, so likely galgorah is a woman, even when you take into account that we're talking about Massachusetts.

  • Alan McMorran (unregistered) in reply to Alan McMorran

    Further to the above, here's a couple of screenshots:

    [image] [image]

    Also corrected the first version so it will work with the Java editor and normal text editors.

    Alan

  • (cs) in reply to galgorah
    galgorah:
    Thats quite the scotch selection. Now if you had a vodka or tequilla selection, I'd have grabbed my fiance, faxed you my resume and cover letter and up and moved to a cardboard box in the street outside Inedo. My fiance is a licensed bartender here in Massachusetts.
    Ah, so Massachusetts is one of the more progressive states that allows same-sex marriages?

    As in French, a fiancé is male, whereas a fiancée is female. Unless you're a women, of course.

  • (cs) in reply to ÃÆâ€â„
    ÃÆâ€â„:
    Hopefully, this method of submitting WTF's will finally start producing good articles here again. That and getting rid of Remy Martin and his unicorns.

    Remy Martin? There's no such person around here.

  • (cs) in reply to galgorah
    galgorah:
    boog:
    galgorah:
    Thats quite the scotch selection. Now if you had a vodka or tequilla selection, I'd have grabbed my fiance, faxed you my resume and cover letter and up and moved to a cardboard box in the street outside Inedo. My fiance is a licensed bartender here in Massachusetts.
    Is that really appropriate to post here?
    Not really sure what your getting at here? grabbed my fiance means we would have up and moved.
    So I spent all night checking every single dictionary I could find, within reasonable driving distance and online, and haven't found one yet where "grabbed" is defined as "up and moved with". But don't worry, I'll keep looking; I'm sure to find one yet.

    I will say that this would be so much easier if I was only joking about your choice of words. At least I'd have got more sleep last night. :)

  • JuanCarlosII (unregistered)

    Any self-respecting whisky collection needs Laphroaig, preferably Quarter Cask. Was there an article as well? I got distracted by the whisky.

  • wtf (unregistered) in reply to JuanCarlosII
    JuanCarlosII:
    Any self-respecting whisky collection needs Laphroaig, preferably Quarter Cask. Was there an article as well? I got distracted by the whisky.

    There's the ultimate in automation: a self-respecting whisky collection. All you have to do is buy the bottles, it'll take care of the rest.

  • (cs) in reply to veggen
    veggen:
    Remy Martin? There's no such person around here.
    Remy Martin is a brand of brandy... maybe he got confused with the whiskey?
  • boog (unregistered)

    Does this count as a damn article for today?

  • (cs) in reply to hughdbrown
    hughdbrown:
    Steve The Cynic:
    boog:
    galgorah:
    Thats quite the scotch selection. Now if you had a vodka or tequilla selection, I'd have grabbed my fiance, faxed you my resume and cover letter and up and moved to a cardboard box in the street outside Inedo. My fiance is a licensed bartender here in Massachusetts.
    Is that really appropriate to post here?
    He said "grabbed", not "groped"...

    It's a new world out there, of course, but a 'fiance' is a male, so likely galgorah is a woman, even when you take into account that we're talking about Massachusetts.

    actually its interchangable genderwise. I'm actually male and my fiance is female. you were completly off.

  • (cs) in reply to boog
    boog:
    So I spent all night checking every single dictionary I could find, within reasonable driving distance and online, and haven't found one yet where "grabbed" is defined as "up and moved with". But don't worry, I'll keep looking; I'm sure to find one yet.

    I will say that this would be so much easier if I was only joking about your choice of words. At least I'd have got more sleep last night. :)

    Lol. well perhaps I should have explained that it was a figure of speach and not an actual definition.

  • Ozz (unregistered) in reply to JuanCarlosII
    JuanCarlosII:
    Any self-respecting whisky collection needs Laphroaig, preferably Quarter Cask. Was there an article as well? I got distracted by the whisky.
    There is a Laphroaig there - the 10-year-old. As an official Friend Of Laphroaig who has also had the privilege of trying the 15, 18 and 25-y-o offerings, trust me when I say the 18 and 25 are well worth the investment. Oh, and grab the 15 while you can, as the 18 is replacing it...
  • Truth (unregistered) in reply to Tom
    Tom:
    Next up, a NetBeans plugin that submits the IDE.
    hah! +1 amens to that
  • (cs) in reply to galgorah
    galgorah:
    boog:
    galgorah:
    Thats quite the scotch selection. Now if you had a vodka or tequilla selection, I'd have grabbed my fiance, faxed you my resume and cover letter and up and moved to a cardboard box in the street outside Inedo. My fiance is a licensed bartender here in Massachusetts.
    Is that really appropriate to post here?
    Not really sure what your getting at here? grabbed my fiance means we would have up and moved.

    I'll bite.

    First... let's start with the fiancé vs. fiancée thing. Basically, every French word has a bunch of random extra letters on the end. Female versions of words get an additional "e", for luck or something I guess.

    http://dictionary.reference.com/browse/fiance http://dictionary.reference.com/browse/fiancee

    (Blond vs. blonde is left as an exercise.)

    Second... if your idea of grabbing your fiance involves moving, I either feel sorry for her, or perhaps envious if Massachusetts has some quaint Southern-style local laws of which I am unaware and you're getting out of town after the fun.

    Finally... it's "tequila", not "tequilla" (the double-l in Spanish is its own letter, a rough equivalent of "y", so this is less innocent of a typo than it might seem at first.)

  • wtf (unregistered) in reply to galgorah
    galgorah:
    actually its interchangable genderwise. I'm actually male and my fiance is female. you were completly off.

    Is this in your private version of French?

    captcha: transverbero - weirdly appropriate!

  • (cs) in reply to Alan McMorran
    Alan McMorran:
    Further to the above, here's a couple of screenshots: .....

    Also corrected the first version so it will work with the Java editor and normal text editors.

    Alan

    inamongst?

  • Dave Watson (unregistered)

    I've also got an Eclipse plugin I whipped up last night, after talking with Alex via email. This one has the wooden table, and some bonus features.

    https://bitbucket.org/quercusmax/eclipsewtf/wiki/Home

  • (cs) in reply to frits
    frits:
    LOL, nice. I'm pretty sure installing this would be a fireable offence where I work.
    I could justify it by the "need to promote the development of skill in our skill-impoverished programmer labor-force". Or something like that.

    There is an implied threat in my office that truly bad code may very well be submitted. I actually have a list of ASP.NET/SQL WTFery to post when I get the time.

    We had a web developer who, in order to copy the contents of one table to another, created a host of one-dimensional arrays - one for each column. He also did this:

    RecordCount=Records.Count-1
    For x=0 to RecordCount
         Dim Cmd As New SqlCommand("UPDATE table SET field = 'Value'", conn)
         Cmd.ExecuteNonQuery
    Next x

    I've greatly simplified the code here; this developer actually used a large number of intermediate variables, some with inappropriately large scope, to achieve this WTF, which is in fact several mini-WTFs.

  • (cs) in reply to Maurits
    Maurits:
    Finally... it's "tequila", not "tequilla" (the double-l in Spanish is its own letter, a rough equivalent of "y", so this is less innocent of a typo than it might seem at first.)

    Wait, it's not pronounced "tah-key-ah"? No wonder my Guatamalan human-traffic baby looks at me like I'm an a-hole when I ask him if he wants some in his thippy cup.

    Oh, and "grabbed" is definitely a North Eastern US colloquialism that was appropriately used in the OP's context.

  • (cs)

    Extension for emacs. It will probably work for xemacs (needs testing)

    http://github.com/blackd/blackd/tree/master/emacs/

    M-x customize-group the-daily-wtf select some code M-x wtf-submit

    C-x wtf will be appropriate key binding

    enjoy

  • (cs) in reply to KnightSword
    KnightSword:
    Am I the only one who thinks this is brilliant?!

    Only if your name is Paula

  • (cs) in reply to Helix
    Helix:
    Heya, i am half american half scotch

    I would never mix Bourbon & Scotch, that would be a waste of two perfectly good ingredients.

  • (cs) in reply to egg
    egg:
    I would love a VIM plugin for this...
    My thoughts exactly!
  • (cs) in reply to galgorah
    galgorah:
    boog:
    So I spent all night checking every single dictionary I could find, within reasonable driving distance and online, and haven't found one yet where "grabbed" is defined as "up and moved with". But don't worry, I'll keep looking; I'm sure to find one yet.

    I will say that this would be so much easier if I was only joking about your choice of words. At least I'd have got more sleep last night. :)

    Lol. well perhaps I should have explained that it was a figure of speach and not an actual definition.
    Thanks, that'll save me some time. Though a clearer choice of words, as in "I'd have fetched my fiance" or "I'd have summoned my fiance", might have avoided my (obviously-insincere) confusion. Then again, who talks like that?

    In all fairness to you, I probably would have used the same words as you did in the same situation, knowing full well that some jerk might come along and make a joke of it.

  • cf18 (unregistered)

    WTF?

    Do you really want your coworkers to easily find out you are the one sending their code over with evidence of the plug-in, and email trail from your default work mail from your work PC?

  • moz (unregistered) in reply to frits
    frits:
    Oh, and "grabbed" is definitely a North Eastern US colloquialism that was appropriately used in the OP's context.
    I read it as one of the senses given by Wordnet (the 5th, to be exact). I don't know what the word "grab" means to Maurits and Boog, but nothing listed in that dictionary seem to fit.
  • Yanick Rochon (unregistered) in reply to Alan McMorran

    The code should be unindented... ? This should be pretty easy : find the least indented line and remove that many spaces on each lines. Just a thought. Awesome plugin/idea though! Netbeans should have one too :)

  • wtf (unregistered) in reply to cf18
    cf18:
    WTF?

    Do you really want your coworkers to easily find out you are the one sending their code over with evidence of the plug-in, and email trail from your default work mail from your work PC?

    I think they'd be too busy hanging their heads in shame to say anything about it.

  • ÃÆâ€â†(unregistered)

    Where's today's WTF? Is Alex waiting for someone to actually use his plugin to submit a WTF and publish that WTF?

  • Rebecca (unregistered) in reply to dkf

    There's a 16-year-old Highland Park listed, hiding between the Glenmorangie and the MacAllan. I'll take it; but the lack of Glenfarclas IS a shame.

  • (cs) in reply to moz
    moz:
    I read it as one of the senses given by Wordnet (the 5th, to be exact). I don't know what the word "grab" means to Maurits and Boog, but nothing listed in that dictionary seem to fit.
    Um... I can't speak for Maurits, but to me "grab" has a number of definitions, most of which are summed up on Wordnet. I'm really not sure what you're implying when you say nothing "seems to fit".
  • (cs) in reply to boog
    boog:
    moz:
    I read it as one of the senses given by Wordnet (the 5th, to be exact). I don't know what the word "grab" means to Maurits and Boog, but nothing listed in that dictionary seem to fit.
    Um... I can't speak for Maurits, but to me "grab" has a number of definitions, most of which are summed up on Wordnet. I'm really not sure what you're implying when you say nothing "seems to fit".

    What I think he's implying is either your usage of "grab" is way too wide, or common usage of the word is much more narrow. Either way, you're trying to fit a half-dollar in a dime slot.

Leave a comment on “Submit WTF Code Directly From Your IDE”

Log In or post as a guest

Replying to comment #:

« Return to Article