Older blog entries for crj (starting at number 2)

Imagine having preprocessor macros leak into your program from a common library header file which turns

foo::Status()

into

foo::int()

or

bar::Convex()

into

bar::2()

Well actually I don't have to imagine. Because thats what will happen if you happen to #include<Xlib.h> and have the balls to have a member function named Status or Convex, which it turns out are X11 macros! Stupid little useless macros even. Well isn't that smart. "Um Nobody would ever want to use the word 'Status' or 'Convex' in a program!" Like they could'nt have used X11_Convex or something.

Just micro ranting cause it took me two hours to figure out what was going on. :)

Worked some on FREEdraft conversion project. Converted Drawable entity classes to use the open cascade Geom2d_Geomtry types. Looking at how/if to apply the Graphic2d classes. They look mighty attractive.

Dinner: Stir fryed half a chicken breast, sliced, in chili sauce and garlic with red pepper - in a small amount of way hot peanut oil. And served it over steamed brocolli and asparagus. It was super yummy. A Coke to drink, of course.

Today I am worked on migrating FREEdraft from my homegrown geometry objects and storage model to Open Cascade. - (the very cool smart pointers.) My plan is to use geometry and storage model of cascade, but not the visualization - as I think what I have already is nice.

The occ library maps suprisingly well to what I have already built in FREEdraft.

I still have major rewriting.. ahead before I can get it working again though.

And then some.

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!