The Sims 2

I have bought The Sims 2, and I must say that I’m not dissapointed (at least not yet). It has a lot of new twists to it which makes it differ from the original and a lot more fun and variated. The only bad thing about it is that I don’t have the time to play the game :)

Storing Hierarchical Data in a Database

I’m going to implement types/categories on sumbissions for to classify them. I friend send me this great link on how to implement this and at the same time think of performance.

Take a look at this: Storing Hierarchical Data in a Database

Debianart using Smarty... soon

I have started rewriting to use the Smarty template engine. I gives me better overview of the coding and it also provides me with tools which helps me create a better website. Although I have already encountered a few quirks with it. I had trouble concating smarty variables with smarty variables and text strings with smarty variables within a smarty function. I use the Smarty plugin: PNG image with Alpha Transparency to display PNG images with transparency in IE.

Here is my ugly workaround. Notice the ‘src’ and ‘extra’ parameter:

{* It have to be possible to do this better... but for now it will suffice *}
{* It seems to impossible to call modifiers / functions from within a function
   and at the same time concat with a string, with default modifies / functions *}
{* concat is a custom plugin *}
{assign var="thumb_title" value=$submission.file_size|filesizeSize}
{png_image src="`$thumb_path``$submission.thumb`" Height="0" width="0"
 alt="Thumb for `$submission.file_name`"
 extra='class=\"thumb" title="File size '|concat:$thumb_title|concat:'"'}

GAIM notifications

I found a promising GAIM plugin, Guifications recommended by a friend. It displays buddy states similar to MSN with a popup box in the cornor of the screen, which disappears after a few seconds.

It comes in Debian packages too :)

Debian Sarge on IBM X40 howto - Part 8: Wireless (Take 3)

I wanted to update my kernel to the 2.6.8 kernel but I had some troubles compiling the Madwifi source code because a change in the kernel source code. I found a patch for the 2.6.8 kernel (only) and a Howto for applying the patch.

In my search around the net for info on my laptop, I found out how to enable the led that indicates activity on the wireless card. Before compiling the driver you have to set an environmental variable:


Now that I recompiled the driver anyway I enabled the variable and BINGO… now my led lights up as soon the driver is loaded. And thats just the half of it… sometimes it also blinks ;) Though I havn’t testet it under heavy load (to test if the blinking increases under heavy traffic). HURRAY… I have an extra led blinking on my laptop.