When to use XML and Popcorn? - Fortune [possible satire]

designerjeanhttp://scsys.co.uk:8002/87521
designerjeani know I'm not supposed to be using XML::Simple
designerjeanbut it's only one statement in the program
rindolfdesignerjean: is it causing problems?
mstyes, and it's the one that makes the $config you can't work out how to use
designerjeanmaybe
rindolfmst: :-)
mstyour exact problem is "unable to use the results of XML::Simple"
mstbecause you're stupid and XML::Simple is shit
mstplease switch to XML::Twig
designerjeanok thanks
dhosspeople still use xml?
rindolfdhoss: it's a dirty job, but it pays.
dhossi guess there's that
designerjeananother case of stupid youth
dhossdesignerjean: how old are you
rindolfdhoss: well, I'm using XML for some stuff willingly.
rindolfdhoss: JSON wouldn't have been usable.
dhossrindolf: i guess that's a legit reason
rindolfBecause I use them for text and stuff like that.
rindolfAnd it's hard to do something like <p>Hello <b>dhoss</b>!</p> in JSON.
rokotekoI think its mainly amongst web programmers where JSON is appreciated the most.
rindolfrokoteko: JSON has many valid uses.
DuClareXML has none
LeoNerdXML is for putting attribute markup within a stream of text.
dhossrindolf: yea i can see that. JSON is more useful in a cross language barrier bit where markup isn't needed
LeoNerd(mostly because it came out of SGML)
rindolfDuClare: not true.
rokotekoXML is very widely used. that's like saying "I don't need to know Java, because the language sucks" ..
Su-Sheerindolf: you're mixing semantics with style here anyways. that would be bad xml.
rindolfSu-Shee: I was giving an illustrative example.
Su-Sheerindolf: then give a proper one. that was exactly how NOT to XML.
rindolfSu-Shee: besides , I think that <b> has some valid, semantic meaning.
rindolfAnd it's also shorter than <strong></strong>
rindolfSu-Shee: ok.
Su-Sheerindolf: no. bold doesn't mean "be bold and courageous here". it means "print this shit in bold typeface"
rindolf<p>Hello <name>Su-Shee</name>!</p>
rindolfXML is useful for wrapping and annotating text.
DorwardXML is only useful for wrapping and annotating text if you use a properly designed application of XML and everyone reading the document agrees on what the meaning is.
rokotekoXTML vs XDML could derive from XML. (text and data respectively). then of course you should be able to embed XDML in XTML.
rokotekooh wait. I'm thinking aloud.
rindolfrokoteko: I've recently played with an XML-specific compression tool.
rindolfrokoteko: it achieved better compression than xz -9 --extreme but OTOH mishandled some «"» not inside attributes - converting them to &quot;
rokotekorindolf: what requirements are you trying to meet by compressing xml?
PerlJamsmaller XML docs :)
rindolfrokoteko: well, to reduce the size.
rokotekowell, doh. but why?
rindolfrokoteko: like over the Net, etc.
rindolfrokoteko: it's like gzip compression/decompression.
rokotekorindolf: I yet fail to see the point. :(
rindolfOnly domain-specific.
rokotekowhy?
rindolfAnd if you have a lot of it it occupies less on the hard disk.
rokotekoAh. you have like SHITLOADS of XML ?
rindolfIt could happen.
rindolfJava...
PerlJamanyone who deals with XML probably has that much ;)
rokotekoWell, disk is pretty cheap.
rindolfI don't have too much XML.
rindolfWell, maybe a lot of XHTML.
rokotekoI was just curious about rindolf's use case.
rokotekoI was afraid that he was storing some binary data in XML. :)
mstI think he was just experimenting with technology
rindolfYes, I probably have more disk wasted on .mp3's and .flv's.
rindolfrokoteko: I have some interest in compression methods.
rindolfrokoteko: back from high school.
rokotekorindolf: :)
Su-Sheeif you're the company who's transferring 120 years of documents of a car company into something flexible - THEN you have a shitload of XML.
rindolfThere have been some recent advancements.
rokotekoSo just out of curiosity, that's fine with me. :) I'm just nosy sometimes.
rindolfrokoteko: I think the wikipedia XML dump is pretty large.
mstI find it's usually safe to assume that whatever rindolf's doing, there isn't a good reason for it.
rindolfrokoteko: there was some stuff about processing it quickly using Perl, etc.
rindolfmst: :-)
rindolfmst++ # Nice burn.
Su-Sheepopcorn anyone? ;)
rindolfmst: but it has a huge grain of truth in it I admit.
rindolfSu-Shee: microwave popcorn?
Su-SheeI don't have a microwave and I was being sarcastic...
Su-SheeI need a smiley for that.
rindolfSu-Shee: ah.
Su-Sheerindolf-shaped, obviously.
rindolfSu-Shee: yes, I was playing along.
petn-randallwhy not an XML-conform </sarcasm> ?
* rindolfprepares some popcorn and shares it with Su-Shee using the Popcorn-over-IRC protocol.
DrForrWhat's this about burnt popcorn?
rindolfPopcorn-over-IRC also preserves the butter taste.
burnedceleryyou're getting my keyboard all greasy
apeironew, butter
rindolfAnd it also supports multicasting popcorn.
PerlJambutter++
PerlJamthough not so much butter that it makes the popcorn soggy. I hate that.
Channel#perl
NetworkFreenode
TaglineXML and Popcorn
Published2011-02-12