Monthly Archive for August, 2009

Which Image File Format (GIF/PNG/JPG) to Choose – a Consultant’s Answer

Which answer does a good consultant give to most general questions? “It depends.” Computer networks are complex systems, and usually there is no single option that fits all scenarios equally well.

I was reminded of this when my wife, who is a professional photographer, told me she stores images in PNG format. At first, I was stumped. PNG? Is that not some kind of successor to GIF? Why use it for photographs? Continue reading ‘Which Image File Format (GIF/PNG/JPG) to Choose – a Consultant’s Answer’



Programming Sins Regarding the Registry (Using the Example of Microsoft Excel)

While browsing through the registry I found the following “gem”. It illustrates nicely how programmers are not supposed to store settings in the registry:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Nach Microsoft E&xel exportieren]
@=”res://C:\\PROGRA~2\\MICROS~1\\Office12\\EXCEL.EXE/3000″
“Contexts”=dword:00000001

Continue reading ‘Programming Sins Regarding the Registry (Using the Example of Microsoft Excel)’


Registry Fun (Working With Hive Files)

Sometimes it is necessary to export/import data from or into the registry for some sort of additional processing. To this end, often regedit is used to create .REG files, which store a human-readable text interpretation of the registry content. .REG files can be edited easily with any capable text editor (even Notepad), and thus are a common way of making a collection of settings available to others. Continue reading ‘Registry Fun (Working With Hive Files)’


I Was Interviewed – Twice

In the past few days I have been interviewed twice: in the German O’Reilly blog and in sepago’s marketing/HR blog. You can find the two (different) interviews here:

Continue reading ‘I Was Interviewed – Twice’


Puzzle: Delete Directory Content Without Deleting the Directory Itself (on the Command Line)

The Windows command line is a powerful beast. It can be made to do things one would never have thought possible, but it can be very tricky indeed to find out just how to make it jump through a particular hoop.

Here is a real problem I had to solve for those who like puzzles:

How to delete the entire content of a directory without deleting the directory itself? Continue reading ‘Puzzle: Delete Directory Content Without Deleting the Directory Itself (on the Command Line)’