Older blog entries for dams (starting at number 6)

16 Mar 2006 (updated 16 Mar 2006 at 20:07 UTC) »

looking for a way to url_encode a string in ruby? Use

CGI.escape
10 Mar 2006 (updated 16 Mar 2006 at 20:07 UTC) »

Creating my first ruby module using setup.rb. Seen in the documentation :

"I do not assure any backward compatibility for the setup.rb. If you'd like old behavior, just use old version.
It seems a bit unpleasant, like something that'll hit you in the back in the future.

Do you want to learn rake (ruby equivalent of make) ? then this tutorial is for you.

Finally, I found time to publish the photos of FOSDEM 2006. Among other bad pictures, a bunch of gentoo devs, with their name written by them :)

here it is.

3 Mar 2006 (updated 3 Mar 2006 at 13:00 UTC) »

Since I'm working with ruby, and I'm quite new to it, I'll post some interesting stuff I learned. It's for now very newbish, but it'll eventually raise in quality

ruby stuff :

That code works :

class A
def A.class_method
puts "foo"
end
end

That code doesn't work :
class A::B::C
def A::B::C.class_method
puts "foo"
end
end

The solution :
class A::B::C
def (A::B::C).class_method
puts "foo"
end
end

Going back to old school blogging : Advogato !

It's been some weeks since I stopped my last blogs, so there is a lot to say !

3 Mar 2006 (updated 3 Mar 2006 at 10:52 UTC) »

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!