Older blog entries for neoneye (starting at number 8)

Last night I released version 0.8 of regexp-engine(perl5+6), which I have been on its way for a long time (4 months). I finally got fixed a very peculiar problem with nested quantifiers and backtracking. Besides that I got hit by the

premature optimization is the root of all evil
so that took a great piece of my time. Theres a testsuite (Rubicon) which exercises many aspects of Ruby, it contains 1560 tests of Ruby's native regexp engine. My initial goal has been to be compatible with 95% of these tests, which I have now exceeded. For a really long time I were only able to do 92% of the tests, and now I do 96.025% so I am very satisfied. But I guess its another example of the 80-20 rule:
The last 20 percent, takes 80 percent of the time
I like perl6 regexps, How about you?
8 Apr 2004 (updated 8 Apr 2004 at 23:26 UTC) »

Last night I got FOP working on my BSD box, it depends on Java. First I tried with diablo java, but it crashed on startup. I checked if others had experienced the same, apparently this was a known problem on the FreeBSD 5.x. Though it should work on FreeBSD 4.x.. Had I only known this on beforehand. I decided to see if I would have more luck installing jdk142. First I had to make an account at sun.com and supplying lots of info about myself. The registration took really long time. Next I had to download 3 files.

-rw-------   1 root     wheel     2513462 Apr  7 14:08 j2sdk-1_4_2-bin-scsl.zip
-rw-------   1 neoneye  neoneye  49269919 Apr  7 14:02 j2sdk-1_4_2-src-scsl.zip
-rw-------   1 root     wheel    35829260 Apr  7 14:53 j2sdk-1_4_2_04-linux-i586.bin

About 87 mbytes. I had to add linux fs emulation to fstab, and mount it. I had to load a linux emulation kernel module.

Finally It started compiling java. Many hours compiling on my pentium 700MHz, where the machine hardly could be used because of lacking. I went to a friends place and played poker, when I got back the installation was completed. It had consumed 3.3 gbytes diskspace! Installing java can be painful.

Figured out how to add a project to advogato... I didn't noticed the creat button at the bottom of the project page until today. Maybe a small hint at the account page could help?

It seems as if I have managed to turn my sleeping pattern. Last night I went to bed at ?.. but got up at 0800! Thats a great improvement. Lets see if I can stay awake in the evening? BTW: must eat brains!

Some bugs lasts longer than others, some is hard to identify and yet others is just a pain in the ass. At one point you will be driven near madness, so that you do silly things because you think you are out of options. Admitted I have a bug (possible several bugs) which have been haunting me for too long. The amount of debug output has reached a point where it only confuses more that it helps. I have been thinking about using a multilevel logging system, but have so far rejected it. But now that I am near-crazy I consider it more that ever. It will definitly provide me with fine-graned information when I need it. I usualy just do a regexp search in the debug output. Howto tell if one has gone crazy?

Went to bed at 1000, but woke up at 1430. A total sleep of 4 and a half hour, not good. I am used to sleep roughly 7 hours and sometimes more. I feel dizzy and needs coffie, however I still feel wasted as if I had stayed awake while I should have been sleeping. Last night we switched to summer time which has displaced my sleeping-pattern by one hour in the wrong direction. I am beginning to consider when to force a transition upon myself, so normalization can occur. The temperature is 30.7 celcius inside my appartment, because its being hit by direct sunlight. Maybe the heat woke me up?

While fixing one bug you discover that another problem is also present, and when you dig into it you begin wonder how the whole program have been able to work? perhaps fixing the bug will break your program? Anyway it wasn't that severe but it got my attention. Even though it was hard to track, I added only 2 assertions to a testcase which exercises that cloning my iterator primitive works. However fixing that package, broke my regexp package. Programmers are like detectives, good at identifying what caused an action (the opposite of cause and effect). Hypotesis; programmers are better than detectives at solving puzzles?

Tonight I discovered that I have been working the whole week, under a false assumption, trying to solve a problem with nested quantifiers. No wonder it was difficult to understand what was going on, hounestly I never figuered it out. I think this could be the real reason why I recently have been visiting slashdot a thousand times and reading/writing newsgroups without solving any real problems. Damn it was hard to consolidate and identify this problem. I wrote bunches of testcases and carefully chose the input data. Is it true that humans learn from their mistakes?

Ever had days where you only switched back and forth between slashdot, the favorite newsgroup, checking mail, without accomplishing anything at all. Feeling dizzy and wasted. I don't have a TV and cannot watch DVDs and startrek, still I manage to not do anything! Hesitating too much initiating the next big choice in life. Luckily there is no expectations to what I do, so don't feel any stress that way. However I have some expectations to myself, which maybe is too high? Further more I have too many projects which I am working on, without feeling any progress. I think this is a pretty common geek situation. How does one avoid such wasted days?

My sleeping pattern is right now turned upsidedown, because I have no job at the moment. I have lots of spare time in front of my 17" LG flatron 795FTplus display which had seen its best days many years ago. Following such sleeping pattern is not recommendable, in the middle of the day people are phoning and disturbing you while sleeping. And one of my neighbours in the appartment is making lots of noise in the daytime. I can hear my left neighbour is just waking up now and Im just getting started! How does one normalize such sleeping pattern?

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!