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

In this thread we show our love for XML

Name: Anonymous 2007-02-12 21:01

<?xml version="1.0" encoding="UTF-8"?>
<sentences>
  <sentence>
    <subjects>
      <subject>I</subject>
    </subjects>
    <verbs>
      <verb>Love</verb>
    </verbs>
    <objects>
      <object>XML</object>
    </objects>
  </sentence>
</sentences>

Name: Anonymous 2007-02-12 22:09

>>1
One word, the forced indentation of code. Thread over.

Name: Anonymous 2007-02-13 3:36

<?xml version="1.0" encoding="UTF-8"?>
<xml>
 <opinion owner="me">SUCKS</opinion>
 </xml>

Name: Anonymous 2007-02-13 3:43

XML blows. It's a stupid, limited language parser that got so far up every spiky hair enterprise manager's ass that they want everything to use XML, because they think using XML means magically understanding anything. Not only that, but it's verbose and kind of half-assed, and has a ugly syntax.

A general BNF grammar processing standard tool would have been much better.

Name: Anonymous 2007-02-13 3:58

>>3
<?xml version="1.0" encoding="UTF-8"?>
<xml>
 <opinion>
  <owner>me</owner>
  <text>SUCKS</text>
 </opinion>
</xml>

Name: Anonymous 2007-02-13 5:29


<?xml version="1.0" encoding="UTF-8"?>
<xml>
 <message>
  <talk>
   <expression type="opinion">
    <owner>m</owner>
    <text>
     <word>
      <letter case="uppercase">S</letter>
      <letter case="uppercase">U</letter>
      <letter case="uppercase">C</letter>
      <letter case="uppercase">K</letter>
      <letter case="uppercase">S</letter>
     </word>
    </text>
   </expression>
  </talk>
 </message>
</xml>

Name: Anonymous 2007-02-13 6:18

>>4
Come now, it's better for company-to-company data interchange than, say, CSV.

Name: Anonymous 2007-02-13 6:26

Come now, it's better for company-to-company data interchange than, say, CSV.

Cat shit vs dog shit.

Name: Anonymous 2007-02-13 6:58

<filelist version="PLGEN_XMLHandler_0.1">
  <file>
    <filename>atb-the_summer_(ntsc-dd5.1).vob</filename>
    <folder>D:\Media\Music Videos</folder>
    <rating type="simple">2</rating>
    <tag>dance</tag>
    <tag>electronic</tag>
  </file><file>
    <filename>axwell-feel_the_vibe-dvdrip-svcd-2005-pmv.mpg</filename>
    <folder>D:\Media\Music Videos</folder>
    <rating type="detailed">
        <detail type="Video Quality" value="5"/>
        <detail type="Audio Quality" value="3"/>
        <detail type="Video" value="3"/>
        <detail type="Music" value="4"/>
    </rating>
    <tag>dance</tag>
    <tag>electronic</tag>
  </file>
</filelist>

Name: Anonymous 2007-02-13 9:23

<?xml version="1.0" encoding="utf-8"?>
<post>
 <paragraph>
  <sentence>
   <clause>
    <mood>indicative</mood>
    <subject>
     <pronoun>
      <person>2</person>
      <number>plural</number>
      <adjective>
       <type>simple</type>
       <value>all</value>
      </adjective>
     </pronoun>
    </subject>
    <verb>
     <type>copula</type>
     <tense>present</tense>
     <aspect>simple</aspect>
    </verb>
    <object>
     <noun>
      <value>bunch</value>
      <adjective>
       <type>article</type>
       <value>indefinite</value>
      </adjective>
      <adjective>
       <type>prepositional</type>
       <preposition>of</preposition>
       <object>
        <noun>
         <value>idiot</value>
         <number>plural</number>
        </noun>
       </object>
      </adjective>
     </noun>
    </object>
   </clause>
  </senctence>
 </paragraph>
</post>

Name: Anonymous 2007-02-13 11:06

well documented & designed binary format > * > xml

Name: Anonymous 2007-02-13 11:08

>>11
well documented & designed xml format > undocumented & poorly designed binary format

Name: Anonymous 2007-02-13 11:43

XHTML > XML

Name: Anonymous 2007-02-13 12:17

>>10
wow, and XML's supposed to be human-readable

Name: Anonymous 2007-02-13 13:52

>>1
You
>>3
stupid
>>5
faggots
>>6
utf-8
>>9
is
>>10
the default encoding!!

Name: Anonymous 2007-02-13 14:45

<?xml version="1.0" encoding="UTF-8"?>
<thread>
  <over>
    <word>Forced indentation of code.</word>
  </over>
</thread>

Name: Anonymous 2007-02-13 15:01

>>16
ONE WORD.  I AM LINUX TARBALLS, THE FOUNDER AND EMPEROR OF FORCED INDENTATION OF CODE.  THREAD OVER.  I GUARANTEE IT.

Name: Anonymous 2007-02-13 15:13

http://yaml.org/
--- !clarkevans.com/^invoice
invoice: 34843
date   : 2001-01-23
bill-to: &id001
    given  : Chris
    family : Dumars
    address:
        lines: |
            458 Walkman Dr.
            Suite #292
        city    : Royal Oak
        state   : MI
        postal  : 48046
ship-to: *id001
product:
    - sku         : BL394D
      quantity    : 4
      description : Basketball
      price       : 450.00
    - sku         : BL4438H
      quantity    : 1
      description : Super Hoop
      price       : 2392.00
tax  : 251.42
total: 4443.52
comments: >
    Late afternoon is best.
    Backup contact is Nancy
    Billsmer @ 338-4338.

Name: Anonymous 2007-02-13 15:41 (sage)

# The Arkenstone of Thrain
# Was +2 WIS/DEX

N:3:of Thrain
I:39:102:3
W:50:50:5:50000
P:0:1d1:0:0:0
F:ACTIVATE | SEE_INVIS | HOLD_LIFE | RES_CHAOS | HIDE_TYPE | LUCK
F:INSTA_ART | SPEED | RES_LITE | RES_DARK | ESP_ORC | LITE3
a:HARDCORE=THRAIN
D:A great globe seemingly filled with moonlight, the famed Heart of the
D:Mountain, which splinters the light that falls upon it into a thousand
D:glowing shards.

Name: Anonymous 2007-02-13 17:32

>>15
Teh fuck did you include me (>>9) for? I didn't write shit about encoding!

Name: Anonymous 2007-02-13 17:54

<?xml version="1.0" encoding="UTF-9"?>
<thread>
  <over>
    <word>Forced indentation of code.</word>
  </over>
</thread>

Fixed

Name: Anonymous 2007-02-13 19:55

>>21

<?xml version="1.0" encoding="UTF-16"?>
<thread>
  <over>
    <word quantity="1">Forced indentation of code.</word>
  </over>
</thread>

FIXED!

Name: Anonymous 2007-02-13 20:00

>>18
http://yaml.org/faq.html

# Why does YAML forbid tabs?

Tabs have been outlawed since they are treated differently by different editors and tools. And since indentation is so critical to proper interpretation of YAML, this issue is just too tricky to even attempt. Indeed Guido van Rossum of Python has acknowledged that allowing TABs in Python source is a headache for many people and that were he to design Python again, he would forbid them.


One word, the forced indentation of code. Thread over.

Name: Anonymous 2007-02-13 20:17

>>22
<?xml version="1.0" encoding="ASCII"?>
<thread>
  <over>
    <word quantity="1">Forced indentation of code.</word>
  </over>
</thread>

FIXED!

Name: Anonymous 2007-02-13 22:52

<?xml version="1.0" encoding="UTF-8"?>
<thread>
<over>
<word>Optional indentation of code.</word>
</over>
</thread>

Name: Anonymous 2007-02-13 22:56

>>25
<?xml version="1.0" encoding="UTF-8"?><thread><over><word>No indentation of code.</word></over></thread>

Name: Anonymous 2007-02-14 1:51

>>15
what if some future version of xml uses a different default encoding?

Name: Anonymous 2007-02-14 3:20

>>27
what if you're a fucking clueless moron?

Name: Anonymous 2007-02-14 3:32

>>4

Bad troll! Bad, bad troll!

Wait, aren't trolls those naked little guys with the crazy hair...shouldn't "trolls" be called gollums or something...?

Name: Anonymous 2007-02-14 4:17

Name: Anonymous 2007-02-14 6:09

>>8
Statement of truth.

>>10
Win. That's the Enterprise XML spirit.

>>11
You became an hero. I'd like either:
1. A simple binary format for serialization of simple types (int, float, unicode string, raw bytes) with lists and dictionaries of them (with which you can create trees and anything you want, and allow you to ignore stuff you don't know or care about), that can be unserialized and serialized in almost all existing languages and it would be extremely simple to use, thus profitable.
2. A standard, multi-platform, real grammar processing tool that's able to parse any file (i.e. existing file formats) without restrictions (binary safe too) into said types in your language.

>>29
>>4 was not a troll

Name: Anonymous 2007-02-14 6:54

>>10 here. the really crazy part is that i typed all that on my cell phone and then the battery died before i could post it.

Name: Anonymous 2007-02-14 8:31

what we need now is a contest for the most enterprisey XML

Name: Anonymous 2007-02-14 11:48

>>20
Sorry... faggot.

Name: Anonymous 2007-02-14 14:45

>>31
1. The great thing about binary formats is the freedom it gives you. Need to be able to quickly index some structure? No problem, just add a few extra pointers. Expect some parts of the file to be edited often? Add some padding etc around them.
2. You don't need this because there's very little need for complex parsing when it comes to binary formats. If the format is documented, writing code to deal with it is trivial.

Name: Anonymous 2007-02-14 19:06

>>8
No man, that's like dog shit vs. elephant diarrhea. One is manageable, and the other is barely manageable but takes a lot of work and is piles upon piles nastier than the less horrible alternative.

At least there's _some_ metadata in XML files. Sometimes there's too much, due to fugliness produced by the system-in-a-system effect.

Name: Anonymous 2007-02-15 9:08

<?xml?>
<text>I'm a rebel weeeeeee
</paragraph>
<thread>
</over>

Name: Anonymous 2007-02-15 13:08

FORCED CLOSED TAGS OF SYNTAX THREAD OVER

Name: Anonymous 2007-02-15 14:10

At least there's _some_ metadata in XML files
yeah, more metadata buzzword. data and metadata and metametadata is the same crap: DATA!!! use binary and shut up. key=value is already data AND fucking meta-data, and if you want more fucking meta-crap, use metacrap=metavalue.

Name: Anonymous 2007-02-15 14:18

>>39
lol moron cant comprehend the idea of a self documenting syntax.

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