Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 224

Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/public/lib.urlhandlers.php on line 65

Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 247
JDobbelstein.dev()

Monday, January 10 2011

A custom Vimsh

Continue reading...

Friday, October 1 2010

Debugging GObjects in Glib

leaky memory

can't read SVG ? go www.getfirefox.com

I'm working (since too long) on a Haskell binding to the XFCE library "xfconf" because, you know, in order to improve one programming skills, one should write code. Anyway, after harassing the Haskell mailing-lists with my newbie questions, I got a not-so-bad working binding to xfconf.

… memory leaks apart.

It took me a lots of efforts to finally solve this memory issue, mainly because I'm a bad programmer who don't know a damn about software runtime and also because I don't know what tools to use with Haskell.

Continue reading...

Tuesday, August 10 2010

Unicode in Python and i18n in Fedora

When I was playing with the ports4dotclear system (see the previous post about it), I had to fix a number of Unicode handling errors in both Python and Perl. For those of you who do not know what is Unicode, it's the technology which allows me to write this kind of stuff: «æ€¶ŧ←»® or «你好世界».

I was forced to use Unicode because, well, XML-RPC communications are in XML and thus require the content to be encoded in UTF-8 (a Unicode encoding/decoding charset).

All this mess leads me to this conclusion : Unicode sucks in Python 2.x ! (and Fedora i18n has still some strange artifacts)

Continue reading...

Monday, July 26 2010

A port system for DotClear

can't read SVG ? go www.getfirefox.com


(SVG source)

For the ones who favor their command line interface over graphical terminals, here comes a bundle of Makefiles and scripts to easily publish new entries on a DotClear2 blog with XML-RPC enabled.

It is loosely based on *BSD ports and the idea behind static blog generators like jekyll, which in fact I've never used so the comparison might be more about what I think they are and what I'd like to use. Nevertheless, the few features I have aimed for are:

  • automation, otherwise I would not waste whole days on the command line
  • integration with VIM, the text editor
  • pure text files, a very simple and universal way to store data. Moreover ones can manage the whole damned thing with Git.
  • extensible, as in the Unix philosophy where you combine a myriad of small programs to achieve your task

The project is available on GitHub.

Continue reading...

- page 1 of 4