/egilh

Learning by doing

July 2007 Entries

I use log4j and log4net in most of my projects but I did not have a decent alternative for VBScript so I implemented my own. The script below implements the most important features of the log4j/log4net rolling file appender. It lets you configure: file to log to size of each file number of backups/old copies to keep The code below uses test.txt as the log file with 4 backups. Test.txt contains the last logged data. When it is full, it is renamed to the backup file test.txt.1. The older lo

I always imagined my eyes send a full color image/movie to my brain, letting the brain sort out the what happens in the world. The brain has a lot of processing power but how can it decipher what it sees so fast? The failures of first DARPA Grand Challenge shows just how difficult it is to interpret visual data in real time. It turns out that the brain does not accomplish the task by itself. It gets a hand by the eyes which pre-processes the data in a way I never imagined. Frank Werblin and B