• Ie (unregistered) in reply to snoofle

    [quote user="snoofle"]

    <!-- 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>

    Shouldn't it be:

    <response>
        <content id="article-comment-post">
            <items>
                <item>
                    <JSON>                    {"Destination":"htt://TheDailyWTF.com","Sender":"snoofle","document":"http://thedailywtf.com/Comments/AddComment.aspx?ArticleId=6365","Comment":"WTF!?"}
                    </JSON>
                </item>
    
  • (cs) in reply to Stefan W.
    Stefan W.:
    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.
    Now CPEB feels left out.
  • (cs) in reply to swordfishBob
    swordfishBob:
    Stefan W.:
    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.
    Now CPEB feels left out.

    Not to mention his (thankfully) little known little brother P.D.Q.

  • (cs) in reply to n9ds
    n9ds:
    swordfishBob:
    Stefan W.:
    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.
    Now CPEB feels left out.

    Not to mention his (thankfully) little known little brother P.D.Q.

    Half-brother.

    I'll bet that these days more people know P.D.Q. than Carl Philipp Emanuel.

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

    thedailywtf.com/lame

    Sounds like someone could use a status.

  • (cs) in reply to Edward Royce
    Edward Royce:
    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!

    Indeed. Barbara would go very nicely with the Pervertimento for Bicycle, Bagpipes and Balloon ...

    ... which is actually a rattling good piece of music, should anybody care to check it out.

  • (cs)

    It's a good thing that confidential==false. Otherwise we might get in trouble for reading this WTF. I'm smelling another WTF buried in there.

  • tbrown (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

    My version of brain.exe is in sore need of defragmentation, especially after a weekend, that I'd hesitate to rely on it for much, at least not without several instances of the Caffeine.dll assembly loaded!

  • tbrown (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)

    Definitely one of my favorites!! At the risk of totally dating myself, I still remember going on a Middle School Band field trip to see him in concert -- too funny!

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

    thedailywtf.com/lame

    Why the fuck is thedailywtf.com using IIS...

  • Charles (unregistered)

    Why stop there? Put an XML file in a JSON object that is in an XML object. A new type of Russian Doll!

    Captcha: tego - A GOTO syntx for programmers who don't want to say they use GOTO's.

  • (cs) in reply to Charles
    Charles:
    Why stop there? Put an XML file in a JSON object that is in an XML object. A new type of Russian Doll!

    Captcha: tego - A GOTO syntx for programmers who don't want to say they use GOTO's.

    The only Russian Doll for me is Anna Kournikova.

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

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

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

    Some keyboards do not include parenthesis. I'm sure that was meant to say: OCT(27) = 33

    CAPTCHA: aptent... With the economy the way it is, we'll all be in (a purple) tent

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

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

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

    Some keyboards do not include parenthesis. I'm sure that was meant to say: OCT(27) = 33

    some clever trolls are at work in this thread to make sure their points are understood by everyone. Please don't feed them. And don't feed your own trolling posts (looking at Vollhorst) and other trolls. We can lose track of who got trolled quite easily...

    sigh and I just fed...

  • (cs) in reply to Anon
    Anon:
    Why the fuck is thedailywtf.com using IIS...

    Beats me, but it always has been.

    http://uptime.netcraft.com/up/graph?site=www.thedailywtf.com

    Maybe a better question is why hasn't it broken the maximum uptime of windows 95 yet? :-)

  • (cs)

    Worst of both worlds... nice.

  • Jesse (unregistered)

    Obviously the better solution would be:

    {
      "response": {
        "content": {
          "id": "account-item-data",
          "items: [
            {
              "XML": "<id>5078</id><confidential>false</confidential><sort-date>20081027200000</sort-date><save-date-mmdd>Oct 27</save-date-mmdd><save-date-yyyy>Oct 27</save-date-yyyy><type>N</type><allow-remember>true</allow-remember><keys></keys><vendor><first-name>Johann Sebastiann</first-name><last-name>Bach</last-name></vendor>
            },
            {
              // ...
    
  • idan (unregistered)

    the real WTF is that TDWTF uses asp.

  • Phil (unregistered)
    Recently they were discussing the merits of handling the communication from the backend to the frontend via XML [b]or[/g] JSON.

    They should have precised "eXclusive OR"

  • (cs) in reply to rohypnol
    rohypnol:
    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.
    Actually, we can make it much simpler than that while simultaneously enabling its much wider use within the Modern Enterprise. Behold, the MySQLXMLJSONHTTPASAPRequestHandlerBuilderSOAPServiceFactoryStrategyMaker! Truly, the world lies within our grasp now; all we have to do is get typing and hope that the current financial situation doesn't make us redundant by the time we've finished entering that class name in all the places where it is needed...
  • (cs) in reply to Santa
    Santa:
    TRWTF is "save-date-yyyy":"Oct 27"

    Obviously the "save-date-yyyy":"Oct 27" part means...

    "Save-date MINUS yyyy" : "Oct 27"

  • Bob (unregistered)

    Well obviously, I would use Conway's game of life to simulate a universe in which there is an x86 computer that is on a wooden table that runs JSON in XML.

  • (cs) in reply to Edward Royce
    Edward Royce:
    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!

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

  • Uresu (unregistered) in reply to Anonymous

    What, like facebook? Moron.

  • Dr_Barnowl (unregistered) in reply to idan
    the real WTF is that TDWTF uses asp.

    ASP classic is about as horrible as PHP, that's true.

    ASP.NET is rather better, fast, compiled, type safe, etc. It was the first part of .NET to be properly ported to an open-source version, so what does that tell you about it's design?

  • (cs) in reply to vr602
    vr602:
    Edward Royce:
    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!

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

    Nuts, I was going to say that.... and three posts from the end I find it.

    I think I'll go back and listen to the 1712 overture again.

  • 2fuf (unregistered)

    wow, he managed to perfectly integrate the crap from both solutions into one. it's like the worst of both worlds.

  • Anonymous Cow-Herd (unregistered) in reply to Anon
    Anon:
    jeffg:
    Code Dependent:
    It's not even Friday the 13th, but JSON has gone to hell.

    thedailywtf.com/lame

    Why the fuck is thedailywtf.com using IIS...

    Gentlemen, I think we have out The Real WTF[TM].

  • (cs) in reply to dkf
    Behold, the MySQLXMLJSONHTTPASAPRequestHandlerBuilderSOAPServiceFactoryStrategyMaker!
    I'm looking forward to using that. And then I find some extra functionality is required in a few instances so I'd therefore need some MySQLXMLJSONHTTPASAPRequestHandlerBuilderSOAPServiceFactoryStrategyMakerDecorators...
  • courseitdoes (unregistered) in reply to Pendi
    Pendi:

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

    ...

    Yes, but the never get confused between assignment and comparison.

  • (cs) in reply to memals
    memals:
    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 ?
    The only lesson anyone ever learns from history, is that nobody ever learns the lessons from history. It's just a shame that we have to rediscover that fact over and over again...
  • (cs) 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.

    "Don't see a problem"? "Don't see a problem"! How about "there's only two shopping days left to christmas and I haven't even started yet"?

    I thought I had months to go, honest!

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

    thedailywtf.com/lame

    Sounds like someone could use a status.
    Ok, have one of mine:

    [status] 404 [/status]

    It's ok, I've got plenty more where that came from.

  • Matt (unregistered)

    I love this website.

    The comments are often what makes posts THAT much better.

    Thanks for the laugh.

  • nelsonl (unregistered) in reply to courseitdoes

    Unless he was using VB. Of course, in that case your not a real programmer anyway :p

  • anon (unregistered) in reply to Anonymous

    the real wtf is your stuck writing horrible code in a horrible language most likely not intended for web development, and your jealous

  • (cs)

    calc.exe? I think you guys are using omgwtfcalc.exe (one of the many, that is)

  • (cs)

    So, the WTF is that JSON shouldn't be used inside XML?

    I'm embarrassed, this one went completely over my head.

  • Guido (unregistered)

    I just wanted to throw in that KISS doesn't have an " and ", instead it has a ", ". Common misconception though.

    Unless the writer wanted to point out how many people do make that error :P

  • Could be worse (unregistered)

    I'll do you one better. The engineer in charge of our planning software was passing command as raw text files to the system. After some discussion, we determined XML would be a better idea. He then started passing commands via XML /files/. The XML files were just the old raw text embedded in XML.

  • K (unregistered)

    You call that XML? this is JSON encoded in XML:

    <json:curly>"id"<json:colon/>"5078"<json:comma/>"confidential"<json:colon/>"false"<json:comma/>"sort-date"<json:colon/>"20081027200000"<json:comma/>
    "save-date-mmdd"<json:colon/>"Oct 27"<json:comma/>"save-date-yyyy"<json:colon/>"Oct 27"<json:comma/>"type"<json:colon/>"N"<json:comma/>
    "allow-remember"<json:colon/>"true"<json:comma/>"keys"<json:colon/><json:curly></json:curly><json:comma/>"vendor"<json:colon/>
    <json:curly>"first-name"<json:colon/>"Johann Sebastiann"<json:comma/>"last-name"<json:colon/>"Bach"</json:curly></json:curly>
    
  • Doctor whois (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...

    That was a typo, it should read: "save-date-yyyy":"5.5/Apple/26"

  • Ben (unregistered) in reply to Anonymous

    Sorry, not there with you.

    PHP is an awesome platform for application development! It's free, fast, stable, scalable, cross-platform, well-documented, and provides provably rapid development. For web-based applications, it's got it all over C, scales far better than Java, and works well on everything from a $50 Ebay P4 running CentOS to a high-end AIX system.

    I've written forked, multi-process daemons in PHP with as many as 1,000 processes coordinated smoothly by multi-host master processes coordinated with shared memory operations and TCP sockets with excellent performance.

    The real WTF is a developer that blames his tools for doing a lousy job. You can write crap code in PHP just as well as in Java. The reason why PHP is the most commonly installed website server language is because it works, and damned well at that!

  • Daniel (unregistered)

    Argh!

  • (cs)

    sweet and saw

  • (cs) in reply to SchizoDuckie

    hi

Leave a comment on “Keep it Simple and Stupid”

Log In or post as a guest

Replying to comment #:

« Return to Article