Page: 0 ... 5 ... 10 ... 15 ... 20 ... 25 ... 30 32 33 34 35 36 37 38 39 40 ... 45 ... 50 ... 55 ... 60 ... 65 ... 70
VC++ 6 hangs
Date: 22/5/2007
Oh yes. I've always wondered about these hangs you get in Visual C++ when debugging an application that crashes and then the debugger hangs and soon all your GUI hangs, or at least is going very very slowly. It takes about 5 minutes to open the task manager and kill MSDEV.EXE at which point your system returns to normal. Abeit without what you were working on.

So someone worked it out and posted a (possible?) fix for it: Turn off advanced text systems in the regional settings. Tuff luck if you need that I guess.

One less problem, 9 zillion to go.
(2) Comments | Add Comment

SVG Debug Output For Rendering
Date: 2/5/2007
I've got a bug in my GPath code where in more complicated vector art it misses a segment out and draws incorrectly. So because I can't come up with a simple case to help debug it I've added a lot of logging to the code that is #define'd in and out. I wanted a way to visualize the segments being passed into the rendering stage and so I made the logging output paths in SVG format which I can paste into a file for viewing:

What you see in that image is a lot of segments each making up a vertical part of the vector art. No segment can be horizontal or double back on itself, i.e. it's either purely upwards or purely downwards. The error is in the capital "C" where there is no vertical cap on the bottom ending of the stroke joining segment 32 to segment 37. Thus putting out the in/out segment count for those scan lines and creating a visual artifact to the right of that missing segment.

I created the random colours with:
printf("color=\"%06.6X\"", rand() % 0xffffff);

I just thought this method of creating visual debugging info was cute and might be useful to others working with graphical things.

Update: Bug is fixed. But man that code is a mess. I really never want to have to touch it again.
(0) Comments | Add Comment

O Thunderbird you art hilarious...
Date: 2/5/2007
WWDC Scam:

Haw haw.
(0) Comments | Add Comment

Scribe/Mac Beta
Date: 20/4/2007
A new build of Scribe for the Mac has been released and it's had a lot of work poured into it. I expect that most things work now so I'm calling it beta instead of alpha. The change list for Test16 is epic.

I'm now using it as my main mail client to get some miles on the code base. So far so good. I've left it running for days on end with no crashes or out of character memory usage.

A Win32 release will follow shortly. However the Linux port is really broken, I'm having all sorts of trouble fixing some X protocol errors. Although I'm learning a lot more about X than I really wanted to know. I've rewritten the window manager support for the Linux port and it'd be really nice to get that out in the field.

There is a intermittent crash in the account connection shutdown code. This is the main thing blocking the windows build from being labeled "stable".
(3) Comments | Add Comment

Recursive Grep On Multiple File Types
Date: 19/4/2007
This is how I script a recursive grep for source code:
find . \( -iname "*.cpp" -or -iname "*.h" \) -exec grep -nH "$1" {} \;
There might be a way of automating the list of extensions to search, or letting the user supply that in a command line argument but my script foo is not up to converting that to the argument format required by "find".
(0) Comments | Add Comment

Why what a sweet sound...
Date: 16/4/2007
...that of 1000 billboards being cut down.

Now who do I have to write to so that happens in my city?

Update: Now with photos! :)
(0) Comments | Add Comment