• Anonymous (unregistered)

    Reminds me of the MSN/Live! Messenger protocol.

  • (cs)

    Apparently I'm not the only one that finds it weird that Alex (or the submitter) sanitized the data, then redacted the sanitized data, but only the decoded data.

    What exactly was it supposed to accomplish?

    <?xml version="1.0" encoding="UTF-8"?>
    <record>
      <dbKey>9035768</dbKey>
      <borrower1>
        <first>Jennifer</first>
        <last>Garner</last>
        
    4829 Oakview Lane
    <city>Perryview</city> <state>WA</state> <ssn>209-23-6874</ssn> </borrower1> </record>

    As far as Google can tell, there's not even a town called Perryview.

  • Bob (unregistered) in reply to Anon

    I can literally not believe that you're so stupid as to quote WordNet without understanding what it is. Therefore, I'm assuming this an attempt at a WTF and thus not ripping the piss.

  • (cs) in reply to ih8u
    ih8u:
    Anon:
    Anon:
    The word you're looking for is figuratively. Literally is not an intensifier, it literally means you actually do that. Which I'm pretty sure you don't.
    http://wordnetweb.princeton.edu/perl/webwn?s=literally:
    S: (adv) literally (in a literal sense) "literally translated"; "he said so literally" S: (adv) literally ((intensifier before a figurative expression) without exaggeration) "our eyes were literally pinned to TV during the Gulf War"
    go awayyyy

    Sorry, but unless it's in the Oxford English Dictionary it doesn't count. It's "The definitive record of the English language" because it literally says that on their website. Also, I'm pretty sure the OED was written by Jesus himself.

    Everyone! You're missing the obvious answer to this controversy. It is quite possible and maybe even likely, that Alex was dead serious. Have you seen his place of work? Maybe data structures ARE literally chiseled in stone.

    You might not do that. I don't because stone breaks too easily. I pour liquid adamantium into molds to describe my data structures.

    What everyone seems to be overlooking is that data structures are "literally" carved in stone.

    What's silicon if not stone?

  • wtf (unregistered) in reply to da Doctah
    da Doctah:
    ih8u:
    Anon:
    Anon:
    The word you're looking for is figuratively. Literally is not an intensifier, it literally means you actually do that. Which I'm pretty sure you don't.
    http://wordnetweb.princeton.edu/perl/webwn?s=literally:
    S: (adv) literally (in a literal sense) "literally translated"; "he said so literally" S: (adv) literally ((intensifier before a figurative expression) without exaggeration) "our eyes were literally pinned to TV during the Gulf War"
    go awayyyy

    Sorry, but unless it's in the Oxford English Dictionary it doesn't count. It's "The definitive record of the English language" because it literally says that on their website. Also, I'm pretty sure the OED was written by Jesus himself.

    Everyone! You're missing the obvious answer to this controversy. It is quite possible and maybe even likely, that Alex was dead serious. Have you seen his place of work? Maybe data structures ARE literally chiseled in stone.

    You might not do that. I don't because stone breaks too easily. I pour liquid adamantium into molds to describe my data structures.

    What everyone seems to be overlooking is that data structures are "literally" carved in stone.

    What's silicon if not stone?

    What about the "carved" part?

  • Chris (unregistered)

    What if it's a literal, chiselled in stone?

  • (cs) in reply to wtf
    wtf:
    da Doctah:
    ih8u:
    Anon:
    Anon:
    The word you're looking for is figuratively. Literally is not an intensifier, it literally means you actually do that. Which I'm pretty sure you don't.
    http://wordnetweb.princeton.edu/perl/webwn?s=literally:
    S: (adv) literally (in a literal sense) "literally translated"; "he said so literally" S: (adv) literally ((intensifier before a figurative expression) without exaggeration) "our eyes were literally pinned to TV during the Gulf War"
    go awayyyy

    Sorry, but unless it's in the Oxford English Dictionary it doesn't count. It's "The definitive record of the English language" because it literally says that on their website. Also, I'm pretty sure the OED was written by Jesus himself.

    Everyone! You're missing the obvious answer to this controversy. It is quite possible and maybe even likely, that Alex was dead serious. Have you seen his place of work? Maybe data structures ARE literally chiseled in stone.

    You might not do that. I don't because stone breaks too easily. I pour liquid adamantium into molds to describe my data structures.

    What everyone seems to be overlooking is that data structures are "literally" carved in stone.

    What's silicon if not stone?

    What about the "carved" part?

    Oh, you mean ESD.

  • (cs)

    The "extensibility" of XML is that you can get backward compatibility. For example, you add a new feature and give it a default value. You read the old configuration and it works fine even with no setting for the new feature.

    You can also write it so you allow future-proofing to some extent. If you see an XML tag and don't know what it means, you ignore it. After all it may be something from a future version. Of course, you won't be able to implement what it does, but your old software version will still work as before even with the new configuration.

    Thus XML is a very good prototype for one-time loading of configuration information. It is humanly-readable so a user can look at it and even edit it with a text editor if necessary, can handle nested structures and collections and can handle backward compatibility well.

    It can also be used for client-server requests if there are not a lot of them and efficiency of parsing them is not an issue. It does become an issue if you have a server that must interpret a huge XML stream of data although it might be possible to have a "farming" system to parse them and not have them done on the server directly.

    The totally wrong use of XML is to take it too far and turn it into a meta-scripting language. Yes, it actually can be used for that purpose but it is a totally inappropriate use.

  • mozv (unregistered) in reply to Jay
    Jay:
    And of course the fact that a statement appears on a web site makes it Unquestionable Truth. How dare you blasphemers question the Almighty World Wide Web!

    I am a little puzzled, though, at how it is possible that according to the web site of one toothpaste manufacturer, 4 out of 5 dentists recommend their brand, while a competing toothpaste maker says that 9 out of 10 recommend THEIR brand ...

    It's easily possible. The explanation is simply that the advertising regulations in your village are designed by politicians who themselves advertise on television. If they weren't allowed to lie to the public, they wouldn't know what to do with the airtime.

  • boog (unregistered) in reply to Cbuttius
    Cbuttius:
    The "extensibility" of XML is that you can get backward compatibility. For example, you add a new feature and give it a default value. You read the old configuration and it works fine even with no setting for the new feature.

    You can also write it so you allow future-proofing to some extent. If you see an XML tag and don't know what it means, you ignore it. After all it may be something from a future version. Of course, you won't be able to implement what it does, but your old software version will still work as before even with the new configuration.

    Thus XML is a very good prototype for one-time loading of configuration information. It is humanly-readable so a user can look at it and even edit it with a text editor if necessary, can handle nested structures and collections and can handle backward compatibility well.

    It can also be used for client-server requests if there are not a lot of them and efficiency of parsing them is not an issue. It does become an issue if you have a server that must interpret a huge XML stream of data although it might be possible to have a "farming" system to parse them and not have them done on the server directly.

    The totally wrong use of XML is to take it too far and turn it into a meta-scripting language. Yes, it actually can be used for that purpose but it is a totally inappropriate use.

    I hope you're article is meant as a joke and trollbait, but I'll bite anyway.

    Any well-written data structure is backwards-compatible. XML is no guarantee of backwards compatibility, as it is perfectly acceptable to change the name of a tag or any of its feachures.

    This "human-readable" BS really gets on my nerves. It's no more readable or editable than properties files (much less so). See almost everything done in Linux for a point of reference.

    There is nothing implicitly special about using XML for client-server requests, except in these days of the WWW, where sending things over HTTP bypasses the firewall.

    XML is good for handling hierarchical data, and that's it. It's possibly the most-abused and misunderstood technology that exists right now.

  • T (unregistered)

    Bonus WTF:

    The blacked out info in the XML is actually visible if you select the text with the mouse. For the sake of poor Jennifer, I hope the SSN is fictitious ...

  • American Idiot (unregistered) in reply to T
    T:
    Bonus WTF:

    The blacked out info in the XML is actually visible if you select the text with the mouse. For the sake of poor Jennifer, I hope the SSN is fictitious ...

    Translation: "I just arrived on the short bus."

  • Anon (unregistered) in reply to boog
    boog:
    See almost everything done in Linux for a point of reference.

    Seriously? You want to use Linux config files as an example of anything good?

  • boog (unregistered) in reply to Anon
    Anon:
    boog:
    Cbuttius:
    [XML] is humanly-readable so a user can look at it and even edit it with a text editor if necessary
    See almost everything done in Linux for a point of reference.

    Seriously? You want to use Linux config files as an example of anything good?

    As opposed to what? The Windows registry?

  • aliquam (unregistered) in reply to American Idiot
    American Idiot:
    T:
    Bonus WTF:

    The blacked out info in the XML is actually visible if you select the text with the mouse. For the sake of poor Jennifer, I hope the SSN is fictitious ...

    Translation: "I just arrived on the short bus."
    Lmao: "And missed the queue of idiots clamoring the same thing."

  • (cs) in reply to boog
    boog:
    Cbuttius:
    The "extensibility" of XML is that you can get backward compatibility. For example, you add a new feature and give it a default value. You read the old configuration and it works fine even with no setting for the new feature.

    You can also write it so you allow future-proofing to some extent. If you see an XML tag and don't know what it means, you ignore it. After all it may be something from a future version. Of course, you won't be able to implement what it does, but your old software version will still work as before even with the new configuration.

    Thus XML is a very good prototype for one-time loading of configuration information. It is humanly-readable so a user can look at it and even edit it with a text editor if necessary, can handle nested structures and collections and can handle backward compatibility well.

    It can also be used for client-server requests if there are not a lot of them and efficiency of parsing them is not an issue. It does become an issue if you have a server that must interpret a huge XML stream of data although it might be possible to have a "farming" system to parse them and not have them done on the server directly.

    The totally wrong use of XML is to take it too far and turn it into a meta-scripting language. Yes, it actually can be used for that purpose but it is a totally inappropriate use.

    I hope you're article is meant as a joke and trollbait, but I'll bite anyway.

    Any well-written data structure is backwards-compatible. XML is no guarantee of backwards compatibility, as it is perfectly acceptable to change the name of a tag or any of its feachures.

    This "human-readable" BS really gets on my nerves. It's no more readable or editable than properties files (much less so). See almost everything done in Linux for a point of reference.

    There is nothing implicitly special about using XML for client-server requests, except in these days of the WWW, where sending things over HTTP bypasses the firewall.

    XML is good for handling hierarchical data, and that's it. It's possibly the most-abused and misunderstood technology that exists right now.

    XML has a well-defined behavior for storing special characters. It's not the only technology that has this property, but it is automatically better than all of those that don't. I often have a choice between XML and fixed-width files; XML has the concept of nullability and arbitrary length that fixed-width doesn't.

    In short, XML doesn't do much. However, the main competitors of XML are so utterly horrible that it doesn't have to do much to be the clearly better choice. Even better, most toolsets have foot-shooting protection for XML. If somebody would have standardized, named, and marketed tab separated data with backslash escape characters (or one of ten other sane formats), then XML wouldn't have been necessary.

  • quisling (unregistered) in reply to BentFranklin
    BentFranklin:
    So, you can define your data structures externally in documents, or you can define them internally such as in XML, or some hybrid/nesting/recursion of those two options. But is there any way to program without actually defining your data structure at all? That would be something to see.
    Of course there is, don't be silly.

    Any language with expandos and some form of reflection will open that door for you (of course, if you have any sense, you'll slam it back shut and board it up with common sense, rigor and discipline).

    Just tack any value on any object under any name, and use the reflection to dig back out anything that looks more or less like what you think you need. Viola, a deep violin!

    P.S.: Good luck with that... o_0

  • sino (unregistered) in reply to Mike
    Mike:
    Literally (adv):
    1. In fact. Actually.
    2. Not in fact. Not actually.
    Joined the list of auto-antonyms, then, has it?

    ...sigh...

    I literally knew it was going to come to this!

  • sino (unregistered) in reply to boog
    boog:
    It's clear that the whole article is a parity (minus the XML code, of coarse). Those seduced by XML justify it with similar (though less-hyperbolic) arguments, despite the fact that you have to modify the specification. Alex points out that to do it right requires the same amount of effort as it does to change a data structure. I believe this to be a mute point, however, because it is done right almost never of the time.
    Oh, COME ON! You're doing it on purpose!

    ...and, and...

    Fuck me running, it worked.

    Jay:
    Just to join the spelling nazis, I think you mean that the article is a PARODY and that Alex makes a MOOT point.

    A "mute point" would be when someone who cannot speak uses his fingers to indicate a direction.

    gilleain:
    Moot point? (I've always liked Joey from Friend's alternative of a 'moo point' - "it's like a cow's opinion, it doesn't matter..." :)
    TrololololololololoooooOOOOOOOO!

  • Anonymously Yours (unregistered)

    The Daily WTF Comments: Curious Abundance of English Academic Disputes

  • Some Guy (unregistered) in reply to aliquam
    aliquam:
    Lmao: "And missed the queue of idiots clamoring the same thing."
    You do know that once there are two pages of comments, it is literally illegal, impossible, and immoral to read past the first three comments before posting one's own witty observations, don't you?
  • The Corrector (unregistered) in reply to Some Guy
    Some Guy:
    aliquam:
    Lmao: "And missed the queue of idiots clamoring the same thing."
    You do know that once there are two pages of comments, it is literally illegal, impossible, and immoral to read past the first three comments before posting one's own witty observations, when you're a moron.
    FTFY
  • matt (unregistered)

    is that from real person ? i can see Jennifer Garner private info just fine after selecting with a mouse

  • matt (unregistered)

    oopa, little late on that. never been to this site before

  • The Corrector (unregistered)
    The Article:
    Fortunately, the [s]crack[/s] engineers on crack at Dave Watson's developed a solution around this problem. Instead of using XML to define specific data structures, they’d use it to define generic data structures. This way, they could use XML to define anything!
    FTFY Alex
  • (cs)
    Data structures are literally chiseled in stone, and the only way to use something different is to rewrite your application from scratch and throw the old application (and any server it touched) in the fires of Mount Doom.

    I am deeply confused by all the arguments over 'literally'. The implication would be that only the use of 'literally' was wrong, and in fact the only way to change things blah blah Mount Doom etc. part is actually literally true.

    Bloody numpties.

  • ÃÆâ€â„ (unregistered)

    Let's just be glad it was Alex writing this article. If it was Remy Martin, he would have not only left a real SSN out there in plain text and Base64 encoded, he would also have made it so that if you clicked on the SSN, gay unicorns and rainbows would pop up.

  • ÃÆâ€â„ (unregistered) in reply to davedavenotdavemaybedave
    davedavenotdavemaybedave:
    Data structures are literally chiseled in stone, and the only way to use something different is to rewrite your application from scratch and throw the old application (and any server it touched) in the fires of Mount Doom.

    I am literally confused by all the arguments over 'literally'. The implication literally would be that only the use of 'literally' was wrong, and in fact literally the only way to change things blah blah Mount Doom etc. part is actually literally true.

    Literally bloody numpties.

    FTFY

  • frits (unregistered) in reply to ÃÆâ€â„
    ÃÆâ€â„:
    Let's just be glad it was Alex writing this article. If it was Remy Martin, he would have not only left a real SSN out there in plain text and Base64 encoded, he would also have made it so that if you clicked on the SSN, gay unicorns and rainbows would pop up.
    Is you're username base-64-encoded?
  • Anon (unregistered) in reply to sino
    Oh, COME ON! Your doing it on porpoise!

    FTFY.

  • (cs) in reply to Anon
    Anon:
    Data structures are literally chiseled in stone

    The word you're looking for is figuratively. Literally is not an intensifier, it literally means you actually do that. Which I'm pretty sure you don't.

    No. I meant literally. Haven't you ever taken a Data Structures 101 class? Duh... every time you deploy a data structure, it is sent via etherwire to the Freeware Masons, who laboriously transcribe it onto the giant stone wall known as The Über Model.

  • lorgayd (unregistered) in reply to davedavenotdavemaybedave
    davedavenotdavemaybedave:
    Similarly, if you type your password in the body of your next post, it will just appear as ****** to us, although you will be able to see it in plain text.

    pwtest: h0wdoesal3xtaste?

  • lorgayd (unregistered) in reply to Ben
    Ben:
    Remember, kids, every time you use XML, God puts a bunny in a blender.

    Yeah, but will it blend? I want that episode!!

  • (cs) in reply to Alex Papadimoulis
    Alex Papadimoulis:
    Anon:
    Data structures are literally chiseled in stone

    The word you're looking for is figuratively. Literally is not an intensifier, it literally means you actually do that. Which I'm pretty sure you don't.

    No. I meant literally. Haven't you ever taken a Data Structures 101 class? Duh... every time you deploy a data structure, it is sent via etherwire to the Freeware Masons, who laboriously transcribe it onto the giant stone wall known as The Über Model.

    I like that Alex blue-ed his own comment.
  • blunder (unregistered)

    This is almost* the worst thread ever. It's discouraging to know that these "joke" things that Alex slips into the articles completely mystify your average coder.

    *The worst: http://thedailywtf.com/Comments/Java-Destruction.aspx

  • Nails (unregistered) in reply to Alex Papadimoulis

    The Über Model sounds suspiciously similar to the USTRANSCOM's Master Model.

    It's a fun little beast that is supposed to contain the data definition of all information used by all DOD Transportation systems.

    New systems were supposed to check the Master Model and use its definitions if their data was already described.

    Unfortunately it is nearly impossible to browse through the Master Model, and there is a process for having your own data model added, so now everything you could possibly want is in the Master Model in 3-5 different unusable formats.

  • (cs) in reply to lorgayd
    lorgayd:
    davedavenotdavemaybedave:
    Similarly, if you type your password in the body of your next post, it will just appear as ****** to us, although you will be able to see it in plain text.

    pwtest: ****************

    Happy?

  • Arancaytar (unregistered)

    This is an inflexible approach. The outer XML file should have been base64-encoded, then gzipped, then base64-encoded again, then videotaped on a wooden table, the animated gif image of which should be stored as a base64-encoded blob inside another XML file.

  • (cs) in reply to Arancaytar
    Arancaytar:
    This is an inflexible approach. The outer XML file should have been base64-encoded, then gzipped, then base64-encoded again, then videotaped on a wooden table, the animated gif image of which should be stored as a base64-encoded blob inside another XML file.
    Oh noes! You have just designed SSDS 2.0!
  • Andrew (unregistered) in reply to BentFranklin
    BentFranklin:
    But is there any way to program without actually defining your data structure at all?

    Sure, most programming in Perl is just like that.

  • ysth (unregistered)

    Best punchline in quite a while.

  • Mark (unregistered) in reply to wtf

    I take it no one has informed you yet of the fate of "Begging the Question"?

    Right, you'll want to sit down for this.

  • Brian (unregistered) in reply to Alex Papadimoulis

    You are a funny man, sir. I literally laughed, not figuratively lol'd.

  • (cs) in reply to Jay
    Jay:
    I am a little puzzled, though, at how it is possible that according to the web site of one toothpaste manufacturer, 4 out of 5 dentists recommend their brand, while a competing toothpaste maker says that 9 out of 10 recommend THEIR brand ...
    I've seen this in toothbrushes more than in toothpaste, actually.

    In addition to the already-posted solution that in fact it's just tooth{paste|brushes} in general, there's another possibility; the data could have been collected in a process which allows each dentist to recommend several brands of tooth{paste|brush}. This would actually have some value, if the results were publicised - a brand recommended by 90% of dentists would probably be better than one recommended by only 40% of dentists.

    In any case, since it's used for marketing, the surveys were probably along the lines of "Which of the following would you recommend most highly for brushing your teeth: Brand X toothpaste, or sulfuric acid mixed with sugar?"

  • Per Pwn (unregistered)
    <?xml version="1.0" encoding="UTF-8"?> <record> <dbKey>9035768</dbKey> <borrower1> <first>Jennifer</first> <last>Garner</last>
    4829 Oakview Lane
    <city>Perryview</city> <state>WA</state> <ssn>209-23-6874</ssn> </borrower1> </record>

    Was this supposed to be confidential?

  • TheSHEEEP (unregistered)

    _numPeopleNotReadingComments++;

    (this is NOT! spam)

  • Si (unregistered)

    erm, whats the point in cencering the output in the article, but showing the input and saying how to decode it ?

    Heres to hoping Jennifer Garner is fictious for the article.

  • Ah but (unregistered) in reply to Ben
    Ben:
    My knee-jerk hatred of XML is TRWTF.

    There. Fixed it.

  • Ah but (unregistered) in reply to Anon
    Anon:
    JamesQMurphy:
    Anon:
    ... Also, I'm pretty sure the OED was written by Jesus himself.

    I thought it was Samuel Johnson.

    No, he failed when he left out sausage.

    And aardvark

  • (cs) in reply to boog
    boog:
    I hope you're article is meant as a joke and trollbait, but I'll bite anyway.

    Any well-written data structure is backwards-compatible. XML is no guarantee of backwards compatibility, as it is perfectly acceptable to change the name of a tag or any of its feachures.

    This "human-readable" BS really gets on my nerves. It's no more readable or editable than properties files (much less so). See almost everything done in Linux for a point of reference.

    There is nothing implicitly special about using XML for client-server requests, except in these days of the WWW, where sending things over HTTP bypasses the firewall.

    XML is good for handling hierarchical data, and that's it. It's possibly the most-abused and misunderstood technology that exists right now.

    Human-readable can be very useful for debugging as you can read a blob directly without having to put it through some binary dumper. The slowness issues can easily be addressed by throwing more hardware at it but developer time is far more precious.

    There are many different IPC protocols. I have never really been a fan of using XML for this purpose but can see its advantages if you have the hardware to handle it and if runtime performance is not the primary issue. You might reduce the bandwidth by compressing it if the XML blob is big enough, and you might use SSL encryption to get past security issues.

Leave a comment on “Extensible XML”

Log In or post as a guest

Replying to comment #:

« Return to Article