4 Jul 2000 vicious   » (Master)

Mon Jul 3 21:14:04 PDT 2000

Parents left for europe and thus I've been left in charge of the house. They seem to be under the impression that it's still going to be standing in two weeks when they come back.

Otherwise didn't do much. Yesterday I was a bit depressed (many different causes, too boring to list). So I went to a movie with a friend. Saw mission impossible 2. Boy was it crap. The story couldn't have been more predictable. I think I should have gotten a clue when in the beginning there was a shot of the syndey opera house, and they had to explicitly say it was "Sydney, Australia". Very few special effects, and mostly quite sucky ones. Also the story was incredibly dumb and you knew the story in the first couple of minutes. The characters didn't seem to catch on to the obvious for quite some time though. I also liked the untracable tracing chip that doesn't send out any signals, yet it appears to send signals to a satelite, and it's small enough to be implanted. It hit me as a bit funny as the apparently only computer capable of controlling satelites is actually a laptop. I wish my laptop was at least as fast as my desktop (Though I would mind if it ate as much power and produced as much heat as the alpha:)

Otherwise I've started hacking on cln port of dr.genius again. This is an incredibly entangled mess. Partly it's extremely old, crufty, ugly code, retrofited with some new, not as ugly code, then further retrofitted with an overengineered new interface design. It's overoptimized at placees, yet incredibly inefficent at others. It's a mess of ugly and nice C code and very ugly C++ code. I've changed my goals from actually retrofitting the engine into the new interface, to modifying the current interface to be sane and using as much of the new interface as is implemented. The CLN changes are mostly done when it comes to the engine. Input and output is 99% missing. Seems making the interface will be actually easier to get to work then the CLN part. It still doesn't actually compile either. I've also realized that I had no clue about how to do memory management properly when I started hacking on genius 3 years ago. So it can be described as memory mismanagment. However the interface is nicely refcounted, and so it seems quite absurd that the engine itself uses an incredibly weird scheme for managing memory. I'm looking forward to when I just have to fix bugs in this mess rather then trying to make the whole thing even compile. The largest problem I had was assuming everything was global. Well also really crappy function naming and generally crappy design.

Latest blog entries     Older blog entries

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!