Friday, February 22, 2008

Book recommendations

I occasionally get asked what books I'd recommend to programmers starting out in the game.

Here's what I select for those getting into web applications, flex and ASP.NET



The pocket reference guides below are invaluable for their succinct style although need to be accompanied by more substantial references rather than used on their own

Friday, February 01, 2008

Wasted CPU cycles

Now TortoiseSVN is the antithesis of what I've recently discovered about ActiveSync.

Although the SVNCACHE.EXE programme does have a habit of hanging around when it's not really needed.

The difference though is that the boys and girls who put Tortoise together thought about it and made it optional - but I didn't know about that until I did a quick search on the TortoiseSVN website.

If you go to the TortoiseSVN context menu, and then Settings you'll get a dialog. In there is a treeview item called "Icon Overlays" in the "Look and Feel" branch.

On that panel are options for the Status cache.

Just how it should be done!

Wasted CPU cycles

This will hopefully be a regularly updated list of apps for which the programmer should be hung-drawn and quartered. I often come across bad examples of programmer and here I'm going to name and shame them.

WCESCOMM.EXE which is part of ActiveSync 4.1.0.4841 is the communications module part of ActiveSync - it is responsible for communicating back and forward with the device. By default its configured to autorun on user login.

In their infinite wisdom MS decided to create a log file in the logged on users %TEMP% folder called WCESCOMM.LOG. Now normally you'd expect a log file like this to contain all sorts of useful information relating to errors and activity.

Oh no - these guys are better than that - they write an entry every 250ms stating "No device detected, reset to default 115200". I feel so much better knowing that the electricity I'm paying to power by PC is being used to record that nothing has happened 100,000 times a day.

Oh and to make matters worse they delete the log file each time that ActiveSync restarts - so if you were trying to diagnose an issue the log file that you'd be using has been emptied of anything valuable - except possibly that there's still not a device connected.