.NET YAML parser by two of our students

I meant to blog about this for some time now :-)

First some background information: second year computer science students at our university are supposed to do a big project to enhance their programming skills and ability to work in teams. The students can suggest a project themselves, or choose a predefined one from a list provided by the teaching staff.

Around January, I submitted a proposal to write a YAML parser for .NET. There were a couple of YAML parsers available, but none for .NET. A secondary goal was to release the final product under an open source license.

Jonathan Slenders and Christophe Lambrechts chose to do the project. Under the guidance of Tom Van Laerhoven, they produced a working YAML parser, and released it under the LGPL. It was mentioned on the YAML homepage in June. Since then they have received quite some mails from people interested in using their library.

The project will soon be placed on SourceForge. Until then, more information (including a description of the parser’s algorithm and documentation) can be found at http://lumumba.uhasselt.be/~christophe/YAML/.

The code is available through CVS.


Edit: the project is now available on Sourceforge.

IE chokes with Ajax.updater on a table

For some time now, I have had a weird bug concerning an Ajax updater script in a Rails application. The updater worked with Firefox but not with Internet Explorer (IE).

Yesterday I finally figured out IE can only update div or span elements, when I came across this message on the Rails list. I was trying to update a table instead.

After wrapping the table in a div, and updating that div, everything worked.

Would be nice if this would have been documented in Prototype or the script.aculo.us scripts though.

Poignant Ruby

A few days ago, I saved why the lucky stiff‘s Poignant Guide to Ruby as separate PDFs per chapter, and printed it out.

Whether you’re looking for a different programming language manual, or just want to read a motivating, well-written introduction to Ruby, the poignant guide is for you. It is pretty unique in its kind, although The Little Schemer and Casting SPELs in Lisp also sport a similar spirit of playfullness.

Nevertheless, that doesn’t mean the book only covers the basics. Chapter 6 for example, deals with juicy metaprogramming.

If you are interested in the PDFs, just let me know.