What's with all the XML hate? Of course, doing everything in XML is a stupid idea (e.g. XSLT and Ant) and thanks heaven that hype is over. But if I want something that is able to express data structures customized by myself, usually with hierarchical data that can be verified for validity and syntax (XML Schemas or old-school DTD), what other options are there? Doing hierarchical data in SQL is a bitch and if you wan…
Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
91–100 of 265 posts
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#92Earlier quoted context omitted.
This link needs to be posted again and again and again. I'm sure quite a lot of people will easily recognize it. :^) Subject: Re: S-exp vs XML, HTML, LaTeX (was: Why lisp is growing) https://groups.google.com/forum/message/raw?msg=comp.lang.li...
That's a wonderful rant - I particularly appreciate the digression into anti-bush rhetoric - but : 1. There's very little detail here; it's a nicely worded, emotionally charged piece that leaves a lot of detail unaddressed, e.g. "'I would like to hear why you think it is so bad, can you be more specific please?' If you really need more information, search the Net, please." That's not very helpful. 2. It argues for 's…
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#93Earlier quoted context omitted.
Yes, because his design of git was so well-formed. Git is so well-designed that expert users manage to trash their repositories and propagate the damage. Maybe that's not a problem of libgit. But tools are both the infrastructure and the UI.
Not sure what you are referring to. What are some common ways "expert users" manage to "trash their repositories?"
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#94This is absolutely amazing for debugging purposes. Also you never have to worry about corrupt save files or anything of it's ilk. Development is easier, diagnosing problems is easier, and using a programmatic data structure on the backend means that you can pretty much keep things clean and forward compatible with ease.
(Oh, also being able to debug by altering the save file in any way you want is a godsend).
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#95This is what Linus does. He has strong opinions and he throws them around. You can't let that get to you. Both XML and JSON are just fine if used properly.
This is the first profanity-free Linus rant that I've read in a long time.
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#96What's with all the XML hate? Of course, doing everything in XML is a stupid idea (e.g. XSLT and Ant) and thanks heaven that hype is over. But if I want something that is able to express data structures customized by myself, usually with hierarchical data that can be verified for validity and syntax (XML Schemas or old-school DTD), what other options are there? Doing hierarchical data in SQL is a bitch and if you wan…
Simply put, XML does not correctly model the data by which we intend to interchange. It was a noble effort, but it didn't come from a place of innovation. It came from corporate needs for standardization.
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#97I just realized that Linus' posts are the only reason I ever go to Google Plus.
The question nobody is asking, but actually should is: I wonder what other good G+ content you are missing? G+ is largely misunderstood. It is a lousy tool for interaction with people connected to you purely socially. It's a very good way to find and interact with people connected to you by interest.
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#98Earlier quoted context omitted.
XML is unnecessarily verbose, for the supposed sake of human readability. But used as a serialization format, it isn't really readable or editable by humans (except in the sense that a Turing machine is programmable): remember that the ML in XML stands for "markup language", and SGML, its predecessor, was designed as a way of marking up normal text, not littering data with angular brackets and identifiers. (XML/SGML…
> the problem is that XML has prevented the adoption of something better What would be better?
Even if you were to stick with XML semantics as is, you could improve the syntax to be actually readable and eliminate the angle bracket tax [1, 2].
[1] http://blog.codinghorror.com/xml-the-angle-bracket-tax/
[2] http://blog.codinghorror.com/revisiting-the-xml-angle-bracke...
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#99This is what Linus does. He has strong opinions and he throws them around. You can't let that get to you. Both XML and JSON are just fine if used properly.
This is the first profanity-free Linus rant that I've read in a long time.
Re: Linus Torvalds: “I'm happily hacking on a new save format using ‘libgit2’”
#100Earlier quoted context omitted.
And the following is not acceptable as it breaks the semantics of JSON and requires a secondary deserialisation step as strings ain't numbers... XML strings ain't numbers neither. You can throw a big decimal deserialiser (e.g. as a custom deserialization adapter) at a JSON document as well.
Let's break this down into two statements: XML doesn't have strings (or types at all really) JSON strings are strings. There is a massive semantic difference here when it comes to parsing.