Price of work

It’s now more than 16h of work for today. My mind hardly commutes any neuron. With pauses no greater than 5 minutes I have been sitting in my comfortable chair in front of my 2 computers codding, debugging, testing, software applications. I’m struggling with a fight I don’t know how to fight. I’m driven to work and to finish my tasks, to finish a work which never finishes. I’m driven to eat in order to give my poor neurons a bit more energy juice....

January 26, 2007 · len

Migrating Mantis from mysql 4.0 to 5.0

Goal: migrate the Mysql 4.0 mantis database to Mysql 5.0 Backup the database The wrong way: mysqldump --opt --password=xxxx mantisbt > mantisbt.sql This is a bad way because Mysql 4.0 stores the database in latin-1 encoding and if you later convert the .sql file to utf-8 the blob’s will also get converted (destroyed) and they will not be correctly imported later. The good way: mysqldump --opt --password=xxxx --allow-keywords --flush-logs --hex-blob --max_allowed_packet=16M --quote-names mantisbt > mantisbt....

January 10, 2007 · len

SOM neural networks

The SOM (self organizing maps) are some very intuitive neural networks. There are a lot of more detailed description of these networks but here is a more intuitive description. You have a number of neurons usually arranged in a 2D or 3D grid, each neuron has an associated weight vector. The input, which is a vector of the same size as the weight vector is connected to each neuron. The natural association is that each vector is a point in an n-dimensional space....

January 5, 2007 · len

JBPM Hibernate cache

Applies to: JBPM 3.1.2, JBoss 4.0.5-GA Everything starts with a beautiful concept but has to pass past those nasty errors. The same applies to this JBPM project, everything was nice, I have seen it running and then I was supposed to take the sources, clean, organize and enhance. Everything ok until now. The only problem is that when deploying the JBPM (sar) service there was this error: 16:09:17,402 ERROR [CommandExecutorThread] org....

January 4, 2007 · len

Grilled trout

This is a very simple recipe which fulfills many of my fish cravings. Grilled trout (update 20110612) Method wash the fish on the outside and the inside dry the fish with paper napkins be creative and fill with fish with things which leave nice aromas such as: a bit of garlic, lemon, rosemary, etc. put on the grill which was preheated. This is very important especially if using an Ikea grill pan as I do....

January 2, 2007 · len

Ubuntu Edgy on Latitude D820

With great surprise I found out that my long awaited laptop arrived the next day after Christmas! Of course, for a few days I did not get much sleep and I played with my new toy. The alternatives It was a hard choice to find a replacement for the Inspiron 8000, which I used for 5 years with great joy. I was tempted by the new MacBook Pro, but adding the cost for 3 years of warranty, and all taxes in Romania, and Leopard needing a few more months of wait, I chose Dell Latitude D820 with an extra bonus: better screen resolution....

December 31, 2006 · len

From Gentoo to Ubuntu on a Dell I8600

## Start Taking advantage of the the holiday spirit and the free time that comes with the package I could not resist the urge to update my 3 years gentoo linux system. It seems like an invisible bad force which pushes people to update things which work good such that they don’t work at all after. So, pushed by this force started a emerge -u world which I usually do twice a year....

December 30, 2006 · len

Gentoo: upgrading to udev-103

If you are upgrading to udev-103 as I did and you have several network interfaces then you might end up with them swaped randomly upon reboot. This is what happend to me and it costed at least 30 mins to find out the solution: started with eth0 – b44, eth1 – ipw2001 tryied to upgrade to udev-103 during a regular upgrade this required to unmerge coldplug (emerge -C coldplug) everything ok, I rebooted after merging the config files at reboot received a lot of network errors as it seemed that eth0 was now the wireless card and eth1 not even activated searching google and the gentoo forums for a while did not gave me much info in the end I found out this interesting thread: http://archives....

December 22, 2006 · len

Almonds chicken

Updated 2011-01-08: new photo and revised text Almonds chicken Ingredients Start by chopping up: 1/2 onion 3-4 garlic cloves ginger almonds chicken legs or breast with no skin or bones You will also need: 2-3 cups of curcuma (impossible to find in Romania, still have some stock from last time I was in Paris) dried hot chili peppers (small), 3-4 max salt pepper garam masala (my stock is out and could not find anywhere here) 1 egg Preparation Start by crushing the almonds and the chili peppers together Cut the ginger and the onion in small pieces Brown the chicken pieces in oil until they are white....

December 13, 2006 · len

Curry chicken indian style with couscous

This is a dish which combines indian with morocan influences and tastes. Curry chicken with couscous (revised and updated with a new photo on 22-nov-2009) Ingredients Start by chopping up: 1 onion 3-4 garlic cloves some ginger or pickled ginger chicken legs or breast with no skin or bones (~ 500g) You will also need: curry madras (not the red dust formed mainly of peppers from the supermarkets here in Romania....

December 13, 2006 · len