• memals (unregistered)

    looks an awful (pun intended) lot like http://thedailywtf.com/Articles/XML_vs_CSV__0x3a__The_Choice_is_Obvious.aspx How many times will history repeat itself ?

  • (cs)

    About time too! It's been far too long since we've had someone doing something unspeakable with XML.

  • Anonymous (unregistered)

    Should we do something simple, or do something complicated?

    Let's do both!

    CAPTCHA: Facilisis. Sounds like an infection caused by apps like this.

  • Anonymous (unregistered)

    Nice one guys, I had to laugh at this (all too familiar) misuse of XML. Still, I think you need to work on some new article names - this one sounds awfully familar...

    http://thedailywtf.com/Articles/Keeping-It-Stupid-Simple.aspx

  • Anonymous (unregistered)

    I was attracted to your site because I was looking for a good sample of XJSON. This definitively helps! Thanks.

  • (cs)
    <!-- HTML doc to pass an HTML doc -->
    <WrapperDocument>
      <Destination>htt://TheDailyWTF.com</Destination>
      <Sender>snoofle</Sender>
      <document>
        <http://thedailywtf.com/Comments/AddComment.aspx?ArticleId=6365>
        <Comment>
          WTF!?
        </Comment>
      </document>
    </WrapperDocument>
    
  • Mariano (unregistered)

    Very funny!!!

  • Santa (unregistered)

    TRWTF is "save-date-yyyy":"Oct 27"

  • Zeal_ (unregistered)

    Encapsulating JSON in XML? This one should definitely be taken a photo of on a wooden table. On a truck. On a freight train.

  • Dougal (unregistered) in reply to snoofle

    You call that HTML? lol

  • J.R. "Bob" Dobbs (unregistered)

    As an aside, I just love their very clever JSON date field names. On seeing a name like ".*mmdd", you would be tempted to fill it with something like "1027", without even looking at the documentation, huh? Well, you won't pull that one with these guys (I'm not counting the "yyyy" also being "Oct 27", as it's obviously a typo).

  • dave (unregistered)

    Reminds me of the days at uni when one person had the genius idea of storing his MySQL queries in an XML database.

  • 008 (unregistered) in reply to Dougal
    Dougal:
    You call that HTML? lol

    No, I'm pretty sure we call it (a horrible use of) XML.

    CAPTCHA: jugis (If you remove the i, then hell yes, please)

  • (cs) in reply to Anonymous
    Anonymous:
    I was attracted to your site because I was looking for a good sample of XJSON. This definitively helps! Thanks.
    They should probably write a prototype for this and name it XMLJSONHTTPRequest which would unpack the XML and create an object hierarchy in JavaScript populating the end-objects with information from JSON strings, all of which is received over a HTTP connection. The library would make things so much simpler when it comes to doing all this... And if it the server-side only works with the database, they could write the queries on the client and then the library which should keep things As Simple As Possible would be called MySQLXMLJSONHTTPASAPRequestHandler. It would be a very complex thingy that keeps lots of other thingies simple.
  • (cs)

    That's what they get asking.

    Remeber, people, the next time you face an unsolluble (there is no "better" option, just options) technical choice and think about asking management, don't!

  • Anonymous (unregistered)

    the real wtf is why are they trying to write an actual application using PHP

  • h (unregistered)
    "save-date-yyyy":"Oct 27"
    Oh yeah, I was so wasted during the year of Oct 27. So wasted, I thought we were still using numbers...
  • Vollhorst (unregistered) in reply to h
    h:
    "save-date-yyyy":"Oct 27"
    Oh yeah, I was so wasted during the year of Oct 27. So wasted, I thought we were still using numbers...

    Oct 27 == Dec 23

    Don't see a problem here.

  • Anonymous Cow-Herd (unregistered) in reply to Anonymous
    Anonymous:
    the real wtf is why are they trying to write an actual application using PHP

    I see what you did there.

    CAPTCHA dupe: facilisis

  • SchizoDuckie (unregistered) in reply to Vollhorst
    Vollhorst:
    h:
    "save-date-yyyy":"Oct 27"
    Oh yeah, I was so wasted during the year of Oct 27. So wasted, I thought we were still using numbers...

    Oct 27 == Dec 23

    Don't see a problem here.

    Actually, according to my calc.exe Oct 27 == 33

  • (cs)

    Notice how the vendor is Johann Sebastian Bach. Now I know what inspired Toccata and Fugue in D minor.

  • Vollhorst (unregistered) in reply to SchizoDuckie
    SchizoDuckie:
    Vollhorst:
    h:
    "save-date-yyyy":"Oct 27"
    Oh yeah, I was so wasted during the year of Oct 27. So wasted, I thought we were still using numbers...

    Oct 27 == Dec 23

    Don't see a problem here.

    Actually, according to my calc.exe Oct 27 == 33

    Nope. Oct 33 = Dec 27

  • (cs)

    XML or JSON

    Therein lies the problem. Should have been "XML xor JSON".

  • ricecake (unregistered) in reply to SchizoDuckie
    SchizoDuckie:
    Vollhorst:
    Oct 27 == Dec 23

    Actually, according to my calc.exe Oct 27 == 33

    Umm, Oct 27 == 2*8 + 7 == 16 + 7 == 23

  • Brian LaPierre (unregistered) in reply to SchizoDuckie
    SchizoDuckie:
    Vollhorst:
    h:
    "save-date-yyyy":"Oct 27"
    Oh yeah, I was so wasted during the year of Oct 27. So wasted, I thought we were still using numbers...

    Oct 27 == Dec 23

    Don't see a problem here.

    Actually, according to my calc.exe Oct 27 == 33

    Pray tell how the octal representation is less then the decimal representation when you can't use 8 or 9?

  • John (unregistered) in reply to SchizoDuckie

    Some trolling that's so clever it's gone over my head? How can a number represented in a higher base look bigger?

    Ah, of course you're using calc.exe penandpaper.exe is a lot less buggy, but only slightly less buggy than brain.exe

  • Pablo (unregistered) in reply to SchizoDuckie

    Then it's no surprise that the correct result is 23:

    Oct 27 = 2*8 + 7 = 23

    At least gcalctool gets it right

  • (cs) in reply to John
    John:
    Some trolling that's so clever it's gone over my head? How can a number represented in a higher base look bigger?

    Ah, of course you're using calc.exe penandpaper.exe is a lot less buggy, but only slightly less buggy than brain.exe

    don't blame it on calc.exe. it returns 23 for me. It was operator error, he did it backwards. dec 27 = oct 33
  • Pendi (unregistered) in reply to Pablo
    Pablo:
    Then it's no surprise that the correct result is 23:

    Oct 27 = 2*8 + 7 = 23

    At least gcalctool gets it right

    That's why real programmers get confused by Halloween and X-Mas, cause OCT 31 = DEC 25

    ...

  • starlite (unregistered)

    ouch I neer saw THAT coming...

  • mopp (unregistered) in reply to DaveAronson
    DaveAronson:
    > XML or JSON

    Therein lies the problem. Should have been "XML xor JSON".

    Thanks -- you just teached me what xor is for :)

  • sakabako (unregistered)

    I got a JSON array of strings of JSON once. I was speechless.

  • John (unregistered) in reply to campkev
    campkev:
    John:
    Some trolling that's so clever it's gone over my head? How can a number represented in a higher base look bigger?

    Ah, of course you're using calc.exe penandpaper.exe is a lot less buggy, but only slightly less buggy than brain.exe

    don't blame it on calc.exe. it returns 23 for me. It was operator error, he did it backwards. dec 27 = oct 33

    To be completely honest, I did it in my head, and then used calc.exe to double check.

  • Stefan W. (unregistered)

    JSB is written 'Sebastian' with a single n, which is the real wtf here.

    J-Dad Bach = Johann Ambrosius Bach, J-Son Bach = Johann Sebastian Bach.

  • Calculator (unregistered) in reply to John

    Confirmation bias FTW (which is a WTF, but backwards)

  • (cs) in reply to Pendi
    Pendi:
    Pablo:
    Then it's no surprise that the correct result is 23:

    Oct 27 = 2*8 + 7 = 23

    At least gcalctool gets it right

    That's why real programmers get confused by Halloween and X-Mas, cause OCT 31 = DEC 25

    ...

    Shoot. Pity the poor bastage born on halloween, getting presents, and getting teased. Any wonder he doesn't do either anymore?

  • (cs) in reply to JamesQMurphy
    JamesQMurphy:
    Notice how the vendor is Johann Sebastian Bach. Now I know what inspired Toccata and Fugue in D minor.
    I was inspired by "Air on a G String".
  • ambrosen (unregistered) in reply to Santa
    Santa:
    TRWTF is "save-date-yyyy":"Oct 27"
    What? "save-date" minus "yyyy"? Looks like a date minus a "yyyy" to me.
  • (cs) in reply to Code Dependent

    JSB? Move up to the greatest, although least known, member of the family, Philip David Quentin Bach. (yeah, I know his parents only gave him initials, but he probably gave himself real names later on)

  • Edward Royce (unregistered) in reply to Anonymous
    Anonymous:
    I was attracted to your site because I was looking for a good sample of XJSON. This definitively helps! Thanks.

    Is that eXtreme-JSON?

    And is it eXtreme enough?

  • (cs) in reply to JamesQMurphy
    JamesQMurphy:
    Notice how the vendor is Johann Sebastian Bach. Now I know what inspired Toccata and Fugue in D minor.

    It's a Diskworld allusion: JSB is BSJ backwards.

  • Edward Royce (unregistered) in reply to John
    John:
    Some trolling that's so clever it's gone over my head? How can a number represented in a higher base look bigger?

    Ah, of course you're using calc.exe penandpaper.exe is a lot less buggy, but only slightly less buggy than brain.exe

    I try but I always get a bluescreen.

  • Drizzt (unregistered)

    I'd say TRWTF is the »Sebastiann«, as far as I know the guy was named Johann Sebastian Bach, but after the »creative« definition of the yyyy (which was already noticed), I'll guess that's just a »minor glitch«, which »will be addressed« in one of the upcoming bugfix releases.

    Drizzt

  • Edward Royce (unregistered) in reply to cellocgw
    cellocgw:
    JSB? Move up to the greatest, although least known, member of the family, Philip David Quentin Bach. (yeah, I know his parents only gave him initials, but he probably gave himself real names later on)

    Oh yeah? I'll see your Bach and raise you a Barbara Bach!

  • NH (unregistered)

    It's all too common to encapsulate one format into XML and then wonder why it not always works as expected.

    I have a system where a fixed-record data is encapsulated in XML - and the fixed record contains spaces too, which means that there can be horrible problems if one isn't careful with formatting...

  • ollo (unregistered)

    Waiter! There's a JSON in my tagsoup!

  • Duke of New York (unregistered)

    Obviously the yank is right and the furener is wrong.

  • (cs)

    It's not even Friday the 13th, but JSON has gone to hell.

  • drobnox (unregistered)

    TRWTF is not enclosing the JSON in a CDATA seection.

  • (cs) in reply to Code Dependent
    Code Dependent:
    It's not even Friday the 13th, but JSON has gone to hell.

    thedailywtf.com/lame

Leave a comment on “Keep it Simple and Stupid”

Log In or post as a guest

Replying to comment #229435:

« Return to Article