News for hackers. Stuff that matters.
Re:To Facebook the answer must be no by axod on Wednesday April 21, 2010 @08:08PM (#1283623)
One of the whole points about JSON is that you can write a serializer/deserializer in a few lines of code. It's a ridiculously simple, standard format.

Compare that with massive bloated complex XML parsers.

Good on them for using JSON.

Re:To Facebook the answer must be no by abstractbill on Wednesday April 21, 2010 @08:30PM (#1283669)
And an even better thing is that you almost never have to - the list of languages without a free standard implementation of json is pretty uninteresting.

I like json a lot - it's a better reincarnation of s-expressions than xml was. The only thing I wish for is that it had a symbol type, so that I could use it as a syntax for programming languages as well as data ;)

Re:To Facebook the answer must be no by natrius on Wednesday April 21, 2010 @09:54PM (#1283852)
"One of the whole points about JSON is that you can write a serializer/deserializer in a few lines of code."

Not without a good library for parsing. I'd be impressed by a robust JSON parser written in a few lines of code using just the standard library of any language.

Re:To Facebook the answer must be no by snprbob86 on Thursday April 22, 2010 @03:08AM (#1284380)
Re:To Facebook the answer must be no by tomjen3 on Thursday April 22, 2010 @04:18AM (#1284467)
JSON is easier to parse if you have to write your parser from scratch, but there are parsers for nearly all languages so you don't have to.

JSON on the other hand, means you have to write your own parser.

And really, why not do as twitter does and make it available in both xml and json formats?

Re:To Facebook the answer must be no by axod on Thursday April 22, 2010 @06:14AM (#1284633)
Here's for why.

http://gdata.youtube.com/feeds/api/videos/cK3N2DC3Fds

Look at that data and tell me it's beautiful and efficient. It's a crapfest of mammoth proportions.

Unfortunately in the case of youtube, you can ask for it in JSON, but it'll just take the crapfest of XML and convert it to an even bigger pile of rubbish:

http://gdata.youtube.com/feeds/api/videos/cK3N2DC3Fds?alt=js...

Re:To Facebook the answer must be no by tomjen3 on Saturday April 24, 2010 @05:58PM (#1291634)
It is not beautiful, but when I throw my LINQ-to-xml magic at it, it will be quite easy to work with.
Re:To Facebook the answer must be no by pquerna on Wednesday April 21, 2010 @08:18PM (#1283640)
My programming environment doesn't have a JSON serializer or deserializer

Its 2009 man, grow up Dave. XML lost.

Re:To Facebook the answer must be no by immad on Wednesday April 21, 2010 @08:29PM (#1283660)
Its 2010.
Re:To Facebook the answer must be no by axod on Thursday April 22, 2010 @06:15AM (#1284634)
His years are clearly 0 based.
Re:To Facebook the answer must be no by ihodes on Thursday April 22, 2010 @12:27AM (#1284160)
It's.
Re:To Facebook the answer must be no by rooshdi on Thursday April 22, 2010 @01:40AM (#1284274)
It is.
Re:To Facebook the answer must be no by immad on Thursday April 22, 2010 @04:21PM (#1286321)
This comment did not deserve 43 points :)
Re:To Facebook the answer must be no by hackernews on Wednesday April 21, 2010 @09:42PM (#1283815)
Dave != XML; Dave == RSS

But yeah, json is becoming the syndication format.... Are there standards for json objects yet?

Re:To Facebook the answer must be no by jjs on Wednesday April 21, 2010 @11:01PM (#1283975)
Dave != XML; Dave == RSS

RSS ⊂ XML

Re:To Facebook the answer must be no by defeated on Thursday April 22, 2010 @12:32AM (#1284174)
There's JSON Schema which is serviceable, but unfortunately lacking a bit in the tooling department: http://json-schema.org/
Re:To Facebook the answer must be no by veemjeem on Wednesday April 21, 2010 @11:38PM (#1284055)
I don't know if there should be standards for json objects. JSON always reminded me of duck-typed objects whereas XML reminded me of strongly-typed (via the DTD) objects.
Re:To Facebook the answer must be no by aphyr on Wednesday April 21, 2010 @11:02PM (#1283978)
RSS and XMLRPC.
Re:To Facebook the answer must be no by jallmann on Wednesday April 21, 2010 @08:33PM (#1283672)
And unless I'm mistaken, he wrote the programming environment himself.

http://techcrunch.com/2005/08/21/dave-winers-creates-a-purpl...

The dude invented RSS, but still. Old dog, new trick?

Re:To Facebook the answer must be no by kragen on Wednesday April 21, 2010 @10:29PM (#1283911)
Dave Winer did not invent RSS.
Re:To Facebook the answer must be no by bkorte on Wednesday April 21, 2010 @08:27PM (#1283659)
I realize this is Dave Winer and his place in the industry... but....

Is it just me or does this read like an old out-of-date guy that doesn't like change?

Re:To Facebook the answer must be no by cookiecaper on Thursday April 22, 2010 @03:41AM (#1284422)
I syndicated his blog for the better part of a year and found most of his posts to be misguided. I think you're right that he just doesn't like it when things change.
Re:To Facebook the answer must be no by sh1mmer on Wednesday April 21, 2010 @09:41PM (#1283814)
It's ludicrous to me that Dave on the one hand refuses to use JSON but then says the OAuth is "easy".

My personal experience is that JSON is very easy and getting OAuth signatures right is like stabbing yourself in the eyes with hot needles.

Re:To Facebook the answer must be no by natrius on Wednesday April 21, 2010 @09:55PM (#1283854)
He said it's easy because he already has it implemented. No work required.
Re:To Facebook the answer must be no by hristov on Wednesday April 21, 2010 @09:28PM (#1283784)
"Facebook is to be the identity system for the web. A company? That just can't work. I can't believe he doesn't know that. Even Bill Gates didn't have the audacity to propose that!"

Dude, you don't remember Passport?

Re:To Facebook the answer must be no by geuis on Wednesday April 21, 2010 @09:39PM (#1283808)
Granted that Microsoft did come out with Passport, so Dave is wrong there. But yeah, I agree completely.
Re:To Facebook the answer must be no by iamdave on Wednesday April 21, 2010 @08:48PM (#1283704)
I really don't want Facebook to be the identity of the Internet.
Re:To Facebook the answer must be no by programnature on Wednesday April 21, 2010 @08:55PM (#1283716)
I can't decide what is more comical. That he's going to write off FB and Twitter because parsing JSON is too hard. Or that he thought the Open Graph was a bad idea in 1997 and still thinks so today, and apparently is proud of it. Or that he thinks FB could buy Microsoft.
Re:To Facebook the answer must be no by jonknee on Wednesday April 21, 2010 @08:29PM (#1283664)
It must be frustrating to develop when you have to look at everything through a two decade old lens. Dave has had some brilliant ideas, but sticking with a hacked together dead environment is making him irrelevant.
Re:To Facebook the answer must be no by abstractbill on Wednesday April 21, 2010 @08:48PM (#1283703)
It must be frustrating to develop when you have to look at everything through a two decade old lens.

You don't have to though. I've seen a lot of stuff reinvented already, some of it badly. That doesn't stop me from doing the pragmatic thing most of the time though.

Re:To Facebook the answer must be no by jonknee on Wednesday April 21, 2010 @10:34PM (#1283923)
Have was the wrong word, but Dave is unwilling to change so it's the same end result.
Re:To Facebook the answer must be no by stevenp on Wednesday April 21, 2010 @09:47PM (#1283831)
I didn't know that Dave Winer is the dad in "Shit My Dad Says"! Wow!
Re:To Facebook the answer must be no by steve19 on Wednesday April 21, 2010 @10:00PM (#1283864)
"My programming environment doesn't have a JSON serializer or deserializer"

I did not realize that in 2010 any mainstream environments did not have a JSON library!

Re:To Facebook the answer must be no by jjs on Wednesday April 21, 2010 @11:36PM (#1284048)
He must be using COBOL on Crutches.
Re:To Facebook the answer must be no by Perceval on Thursday April 22, 2010 @02:02AM (#1284306)
Re:To Facebook the answer must be no by tomjen3 on Thursday April 22, 2010 @04:20AM (#1284468)
Is there a JSON deserializer for C#?

I only ask because I haven't seen one, at least not one that is built in and guaranteed to work.

Re:To Facebook the answer must be no by steve19 on Thursday April 22, 2010 @04:23AM (#1284476)
Re:To Facebook the answer must be no by pchristensen on Wednesday April 21, 2010 @08:09PM (#1283627)
Summary: Zuck is like BillG, and having Facebook be the identity provider for the web would be a bad thing.
Re:To Facebook the answer must be no by MarkPilgrim on Wednesday April 21, 2010 @10:40PM (#1283934)
Holy shit, Dave Winer still exists!
Re:To Facebook the answer must be no by RyanMcGreal on Wednesday April 21, 2010 @11:06PM (#1283993)
Someone needs to write a JSON-to-XML mapper for poor Dave so he can still read the streaming internet.
Re:To Facebook the answer must be no by staunch on Thursday April 22, 2010 @12:28AM (#1284164)
I knew I'd regret clicking a scripting.com link...how this stuff gets 28 upvotes is beyond me.
Re:To Facebook the answer must be no by loup-vaillant on Thursday April 22, 2010 @04:16AM (#1284463)
I hoped to see a political argument, and instead saw a technical, unimportant one.

Because I agree with the title: Facebook promoting unnecessary centralization and large scale spying, the answer must be no. We just need a decentralized replacement, so it can be no.