Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

If you think XML is bad

Name: Anonymous 2007-10-30 8:36

Then consider this, as it could be a lot worse:

UNA:+.? 'UNB+UNOC:2+STUB+BLA+960209:0843+72'UNH+0000090001+ORDERS:D:93A:UN:EAN007'BGM+220+B00404'DTM+137:19960209:102'NAD+BY+++STADT- UND UNIVERSITAETSBIBLIOTHEK:FRANKFURT+BOCKENHEIMER LANDSTR. 134-138+FRANKFURT+++DE'RFF+API:DE114110388'RFF+IT:STUB'NAD+SU+++B.H.BLACKWELL'CUX+2:GBP:9'LIN+1'PIA+5+0471949086:IB'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRQ+YYY:37.5:CA:SRP'RFF+QNB:00023302:10'DTM+171:19960208:102'RFF+LI:8216'RFF+BFN:S.KON.41'LIN+2'PIA+5+0471949000:IB'IMD+F+010+:::Cherry'IMD+F+011+:::Gordon E'IMD+F+050+:::Birmingham'IMD+F+060+:::a study in geography, hislanning'IMD+F+110+:::Chichester'IMD+F+120+:::Wiley(John)(W Sussex)'IMD+F+170+:::1994'IMD+F+180+:::254p'IMD+F+181+:::?: ill ; 24cm. - Bibl.?: P.237-244.'IMD+F+270+:::39100200?:Urban studies'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:37.5:CA:SRP'RFF+QNB:00023302:9'DTM+171:19960208:102'RFF+LI:8217'RFF+BFN:S.KON.39'LIN+3'PIA+5+0471957542:IB'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:45:CA:SRP'RFF+QNB:00023302:11'DTM+171:19960208:102'RFF+LI:8218'RFF+BFN:S.KON.41'LIN+4'PIA+5+0521435145:IB'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:65:CA:SRP'RFF+QNB:00023302:13'DTM+171:19960208:102'RFF+LI:8220'RFF+BFN:S.KON.07'LIN+5'PIA+5+0077090632:IB'IMD+F+010+:::Wenlock'IMD+F+011+:::Alison'IMD+F+050+:::The AS/400'IMD+F+060+:::built for business'IMD+F+110+:::London'IMD+F+120+:::McGraw-Hill Book Co in Europe'IMD+F+170+:::1995'IMD+F+180+:::134p'IMD+F+181+:::; 25cm. - Index'IMD+F+190+:::The IBM McGraw-Hill series'IMD+F+270+:::61100200?:Computers'IMD+F+300+:::1st Series Id?:E1678043'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:24.95:CA:SRP'RFF+QNB:00023302:1'DTM+171:19960208:102'RFF+LI:8221'RFF+BFN:S.KON.41'LIN+6'PIA+5+0521474620:IB'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:65:CA:SRP'RFF+QNB:00023302:14'DTM+171:19960208:102'RFF+LI:8222'RFF+BFN:S.KON.41'LIN+7'PIA+5+0133361993:IB'IMD+F+010+:::Shepperd'IMD+F+011+:::Martin'IMD+F+050+:::Foundations of software measurement'IMD+F+110+:::Hemel Hempstead'IMD+F+120+:::Prentice-Hall Interl Inc'IMD+F+170+:::1995'IMD+F+180+:::234p'IMD+F+181+:::; 24cm. - Bibls. - Index'IMD+F+270+:::61305050?:Software engineering'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:19.95:CA:SRP'RFF+QNB:00023302:3'DTM+171:19960208:102'RFF+LI:8224'RFF+BFN:S.KON.13'LIN+8'PIA+5+0198549512:IB'IMD+F+010+:::Evans'IMD+F+011+:::Julian'IMD+F+050+:::A wood of our own'IMD+F+110+:::Oxford'IMD+F+120+:::Oxford University Press'IMD+F+170+:::1995'IMD+F+180+:::158p'IMD+F+181+:::?: ill ; 25cm'IMD+F+270+:::76020000?:Forestry'IMD+F+300+:::Note?:Julian Evans ; with illustrati:ions by John White and Stephen Evan'IMD+F+300+:::s'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:17.99:CA:SRP'RFF+QNB:00023302:4'DTM+171:19960208:102'RFF+LI:8225'RFF+BFN:S.KON.23'LIN+9'PIA+5+0333628896:IB'IMD+F+010+:::Barraclough'IMD+F+011+:::Solon L'IMD+F+050+:::Forests and livelihoods'IMD+F+060+:::the social dynamics of den in devel:oping countries'IMD+F+110+:::London'IMD+F+120+:::Macmillan Publishers'IMD+F+170+:::1995'IMD+F+180+:::259p'IMD+F+181+:::; 23cm. - Bibl.?: p.245-253. - Inde'IMD+F+270+:::76302500?:Tropical forests'IMD+F+300+:::Note?:by Solon L. Barraclough and Kr:rishna B. Ghimire'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:45:CA:SRP'RFF+QNB:00023302:6'DTM+171:19960208:102'RFF+LI:8227'RFF+BFN:S.KON.23'LIN+10'PIA+5+0333645545:IB'IMD+F+010+:::Tyrrell'IMD+F+011+:::A J'IMD+F+050+:::Eiffel object-oriented programming'IMD+F+110+:::London'IMD+F+120+:::Macmillan Publishers'IMD+F+170+:::1995'IMD+F+180+:::283p'IMD+F+181+:::; 24cm. - Bibl.?: p.281. - Index'IMD+F+190+:::Macmillan computer science series'IMD+F+270+:::61305015?:Object-oriented programmin:g'IMD+F+300+:::1st Series Id?:E1108662'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:16.99:CA:SRP'RFF+QNB:00023302:7'DTM+171:19960208:102'RFF+LI:8228'RFF+BFN:S.KON.13'UNS+S'CNT+2:10'UNT+165+0000090001'UNH+0000170001+ORDERS:D:93A:UN:EAN007'BGM+224+B00405'DTM+137:19960209:102'NAD+BY+++STADT- UND UNIVERSITAETSBIBLIOTHEK:FRANKFURT+BOCKENHEIMER LANDSTR. 134-138+FRANKFURT+++DE'RFF+API:DE114110388'RFF+IT:STUB'NAD+SU+++B.H.BLACKWELL'CUX+2:GBP:9'LIN+1'PIA+5+0471960047:IB'QTY+21:1'FTX+ACB+3++TEST EDILIBE'PRI+YYY:40:CA:SRP'RFF+QNB:00023302:12'DTM+171:19960208:102'RFF+LI:8219'RFF+BFN:S.KON.E.631'LIN+2'PIA+5+0126487200:IB'IMD+F+050+:::The Multimedia dictionary'IMD+F+110+:::London'IMD+F+120+:::Academic Press'IMD+F+170+:::1995'IMD+F+180+:::351p'IMD+F+181+:::; ; 23cm'IMD+F+270+:::61756500?:Multi-media applications'IMD+F+300+:::Note?:edited by H. Sleurink'QTY+21:1'FTX+ACB+3++TEST EDLIBE'PRI+YYY:19.95:CA:SRP'RFF+QNB:00023302:2'DTM+171:19960208:102'RFF+LI:8223'RFF+BFN:S.KON.13'LIN+3'PIA+5+0333556453:IB'IMD+F+010+:::Medema'IMD+F+011+:::Steven G'IMD+F+050+:::Ronald H. Coase'IMD+F+110+:::London'IMD+F+120+:::Macmillan Publishers'IMD+F+170+:::1994'IMD+F+180+:::205p'IMD+F+181+:::; 23cm. - Bibl.?: p.192-203. - Inde'IMD+F+270+:::27651202?:Economic analysis/theory'QTY+21:1'FTX+ACB+3++TEST EDLIBE'PRI+YYY:40:CA:SRP'RFF+QNB:00023302:5'DTM+171:19960208:102'RFF+LI:8226'RFF+BFN:S.KON.07'UNS+S'CNT+2:3'UNT+55+0000170001'UNZ+2+72'

Name: Anonymous 2007-11-01 3:07

>>40
LOL

CSSXML

Name: Anonymous 2007-11-01 4:33

>>34
I agree that passing this xml trash over socket is stupid, but it's better than your 1 byte. It may be ok in your 20 line program in c to send that, but for large project you need to write your protocol so that whoever receives that ``1'' would understand it's sometoolname's status and not some noise, or some other valueable information. If you don't want to write your protocol, you use xml (i'd use ebml though)

Name: Anonymous 2007-11-01 6:11

EBML looks like shit. Variable length integers? Dates in nanoseconds offset from 1st Jan 2001? What the fuck were they thinking??

Name: Anonymous 2007-11-01 6:41

Beats CSV files.

Name: Anonymous 2007-11-01 11:49

>>39
The plain text requirement exists only because programmers are no longer manly enough to understand binary file formats. Kinda sad, really.

Name: Anonymous 2007-11-01 11:57

>>45
I reckon it's more historical. Back in the days when data interchange needed to be between very different systems - some with non-ASCII character sets - it made sense to make things as plain text as possible. You can see that sort of thinking in old Internet protocols such as SMTP and HTTP.

Name: Anonymous 2007-11-01 12:00

JSON

Name: Anonymous 2007-11-01 14:59

>>40

Not a markup language. Definately good for what a lot of people try to do in XML. No good for what a markup language is good at though.

Name: Anonymous 2007-11-02 6:27

>>46
Don't be retarded.

Name: Anonymous 2007-11-02 6:43

SPOILERS:

MARKUP LANGUAGES != PROGRAMMING LANGUAGES

Fucking hell, the company I work for is being comissioned to create a safety training "game" for the national institute of health, yet they're using the Unity game engine (LOL MACS) and they use XML to script the dialog and quest content.

It pisses me off.

Name: Anonymous 2007-11-02 8:57

>>50
Wrong. It depends how the data is interpreted as to whether it is a programming language or not.

Name: Anonymous 2007-11-02 9:54

>>51
XML was designed as a markup language.

Trying to use it for programming is cruise control for fail - that doesn't mean it's impossible, it's just extremely fucking shitty.

Name: Anonymous 2007-11-02 11:04

<for><initial><vardecl><type>int</type><name>i</name><value><integer>0</integer></value></vardecl></initial>...

Name: Anonymous 2007-11-02 11:14

>>52
You fail it, >>53 is made of win and awesome.

Name: Anonymous 2007-11-02 11:29

>>52
<?xml version="1.0" ?>
<program language="C">
  /* LOL version 1.00 beta */

  #include &lt;stdio.h&gt;

  int main(int argc, char **argv)
  {
    printf(&quot;LOL&quot;);
    return 0;
  }
</program>

Name: Anonymous 2007-11-02 11:37

BBCode > XML; I don't see how XML improves over it's predecessor, BBCode, in the slightest.

Name: Anonymous 2007-11-02 11:40

fuck i fail it

Name: Anonymous 2007-11-02 16:14

PHP > Perl; I don't see how Perl improves over it's predecessor, PHP, in the slightest.

Name: Anonymous 2007-11-02 16:15

C++ > C; I don't see how C improves over it's predecessor, C++, in the slightest.

Name: Anonymous 2007-11-02 16:50

Haskell > Lisp; I don't see how Lisp improves over it's predecessor, Haskell, in the slightest.

Name: Anonymous 2007-11-02 16:51

>>58
>>59
This is no good. You fail it.

Name: Anonymous 2007-11-02 16:51

>>60
You too.

Name: Anonymous 2007-11-02 16:53

>>61
Fuck you
>>62
You too.

Name: sage 2007-11-02 16:54

>>61,62
OH YEAH, YOU THINK YOU ARE TOUGH HUH?
I BET YOU CAN'T EVEN TUNE A FISH.

Name: Anonymous 2007-11-02 17:37

>>55
#include <iostream>
using namespace st;
int main()
{
  cout<<"LOL";
  return 0;
}

Now, which one looks the most efficient?

Name: Anonymous 2007-11-02 17:38

>>65
fuck, std*

Name: Anonymous 2007-11-02 17:44

>>65,66
This is what is wrong with C++.

Name: Anonymous 2007-11-04 15:50

XSLT can be considered a programming language if javascript can be as well. 

I'd just like to say that if you dont like xml because of the "bloated" characters, theres a nice compression algorithm you can use specialised for it. 

In that case any additional bloat is the fault of the person who defined the document.

Name: Anonymous 2007-11-04 17:06

>>68
Both XSLT and Javascript are Turing complete, so yes, they're full programming languages.

Name: Anonymous 2007-11-04 19:05

``ECMAScript''

Name: Anonymous 2007-11-04 23:52

>>67

C++ is full of std's

Name: Anonymous 2007-11-05 4:53

I'M RITCHIE
SON OF A BITCH C++
C++ IS PIG
DO YOU WANT CLASSES?
DO YOU WANT TEMPLATES?
C++ IS PIG DISGUSTING
BJARNE STROUSTROUP IS A MURDERER
FUCKING OOP

Name: Anonymous 2007-11-05 11:22

>>72
fucking lol

Name: Anonymous 2007-11-06 5:06

>>19
Ever heard of whitespace cropping and <br> tags?

Oh, and character sets are a problem with binaries too. At least *ML lets you specify which one you're using.

Name: Anonymous 2007-11-06 5:59

>>72
I rofled at that.

Name: Anonymous 2007-11-06 10:23

>>71
I lol'd

>>72
I didn't lol

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List