Older blog entries for niemeyer (starting at number 2)

16 Jan 2001 (updated 17 Jan 2001 at 19:45 UTC) »

Today I've fixed a bug in the Pythonmod module of Linuxconf. Linuxconf has a default handler for the SIGCHLD signal that controls all of its child termination. This method has a few disadvantages. Before calling any external processes without using default Linuxconf methods, you must block this handler, otherwise Linuxconf will get on your way. Because of this, If a Pythonmod module tried to fork external processes, they were failing. Now Pythonmod is setting the SIGCHLD signal to SIG_DFL (POSIX doesn't allow us to SIG_IGN it) before calling python code, and after returning from a few Linuxconf API functions that set the handler back. When the python code returns, popen_initsignal() is called, putting the Linuxconf handler back in place.

On the gnome-linuxconf side, I've implemented the drawing context command Defpen. Now we have colored lines and primitives!! (ok... not that good... ;-)

I've also spent a few hours in the last two days backing up and restoring data in my colocated machine. Now my personal emails are back online and the server has an updated kernel. I hope it doesn't bother me for a long time.

Unfortunately, the server stuff didn't let me work on Pybot, but I had time to implement dynamically loading, unloading and reloading of modules, before I started on the server. This will help a lot in the development, since I don't have to reboot the bot everytime something is wrong. Anyway, now that the server is ok (I hope so), I'm planning to spend some of my spare time on the bot (yes, I still have some... ;-).

11 Jan 2001 (updated 11 Jan 2001 at 12:44 UTC) »

Today I've added the ability of using icons while in the Treemenu mode of Linuxconf. I have just changed some functions to pass the icon name around until it got into the treemenu module and then sent it to the GUI front-end. A little hack on gnome-linuxconf did the work at the front-end side. Following this line of improvements, I'm planning to add a splash screen or something like that soon. Icons would also be welcome in the web interface.

Besides that, I'm also playing with a Python IRC bot. It's not meant to be a war or a channel control bot. I'm planning to implement useful modules to help making IRC even more useful as an information media (no it won't be just another infobot clone). The core and a few modules are ready. I'll post more information later... for now, I'll just tell that it is a multi-channel, multi-server bot, and that I'm trying to make its commands with natural language (eg. forward messages from #blah on servername to #bloh on servername).

Happy birthday Diogo!!

Created advogato account.

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!