This Year's posts

Archive for July, 2006

The Colbert Report is the *real* news

Friday, July 28th, 2006

Colbert on why The Colber Report is the real news:

YAML compatible JSON

Thursday, July 27th, 2006

As part of a new project, I’ve been authoring some files (by hand) in JSON. I chose JSON because it is simple, more than capable enough for our usage and seems to have broad support in terms of parsers.

Though there are parsers in many languages, I’m using Ruby, which has an even better parser for YAML than for JSON. It’s just more convenient and useful for me to use the YAML parser than the JSON parser. (if this project where ruby-only, I’d just use YAML, but JSON helps make the data cross-platform)

Anyway, as Mr. The Lucky Stiff has pointed out, JSON is YAML. At least, some JSON is YAML. Of course, _why later found out that there’s actually some subtle differences which can make YAML and JSON incompatible. The maintainers of both formats seem to be working together to resolve these differences, but in the meantime, it’d be nice to be able to make a subset of the formats work together.

I think I’ve figured out how to write JSON documents which are also valid YAML. Here are my notes:

  • Quote all strings. YAML allows unquoted strings, but this won’t parse in JSON.


    {"foo": "bar"}


    {"foo": bar}
  • Put a space after, but not before colons.


    {"foo": "bar"}


    {"foo" : "bar"}

What other problems have you run into? What suggestions do you have?

Monday, July 17th, 2006

So, I’ve taken on a new project. Yeah, as if I need to reduce either my sleeping or socializing time any more.

Anyway, I’m helping Eric take S5 out of the realm of a one-man band, into world of more open and productive collaboration. For those who don’t know, S5 stands for “Simple Standards-based Slide Show System” and is very simple and easy to use (for anyone who can write HTML) presentation software . I think you’d like it.

So, long story short, I’m running as an attempt to make the world a better place- or, at least to make S5 better.

Go check out my annoucement for more info.

Your YouTube Dose For Today from Herr Hasselhoff

Monday, July 10th, 2006

Orgins of Barcamp

Monday, July 10th, 2006

Tantek relates the story of how BarCamp was concieved.