Friday, 2 October 2009

The looming spectre of data corruption?

A few years ago, I was watching the video of a presentation where one of the Subversion developers listed reasons that drove them to create it. One which stood out as being particularly interesting was file corruption in CVS. It went something along the lines of CVS having no verification that the data within it was correct, so it was possible for checked in files to become silently corrupt. I was aware that storage media is to some degree unreliable, but this made me more aware of one of the possible problems that might occur.

Given that corruption of files on storage media is a possibility, even if it might be a rare occurrence, is it worth doing something about? Is there a effective solution to detect that it has happened and to correct the corruption, that is practical to adopt? The case where storage media failure renders a file unreadable can be ignored, if it is considered worth insuring against, other solutions more suited to dealing with it can be used.

PAR2 data verification and repair tools, like QuickPar, might be one possible solution. A script or application that monitors storage media and generates recovery data for files, perhaps also even periodically verifying the files once in a while, actually wouldn't be that difficult to write.

QuickPar screenshot
Okay, so this isn't a problem that people generally worry about. After all, it is hard enough to find the time and energy to ensure that you are backing up all of your important data as it is. But it is something I can see being worth doing for piece of mind.

Monday, 7 September 2009

Thanks to the Python Software Foundation

In order to maintain Stackless Python, I need to have access to the Microsoft development tools in order to do things like build installers. The free versions available these days are great, but unfortunately, they don't provide the range of functionality I need. And as such, I have been unable to release installers for recent releases.


Fortunately, Steve Holden has been arranging for Microsoft to donate licenses to people who support use of Python on Windows, and I just received an email today letting me know that I have an MSDN subscription for the next year. You can see the two versions of Visual Studio required for Python in the screenshot above (Visual Studio 2003 .NET and 2008).

C.C.P. was unable to lend me some of their internal licenses, but they did offer to buy me copies of the required versions of Visual Studio. While this would be nicer for me personally, the MSDN subscription gives me access to other things like Windows 7 which is nicer for Stackless Python, assuming I have the time to make use of them.

Anyway, thanks again to Steve and the PSF!

Edit: 2009-09-08: Added picture of validated MSDN subscription contents and comments about VS version availability.

Friday, 21 August 2009

Buying a second-hand car: WoF

As I am looking at buying a second-hand car, I've been doing a bit of research about the options. One thing I didn't know, was what someone posted on Emigrate NZ:

No one is allowed to sell a car without a WOF which is less than one month old (exception being brand new cars that dont require wofs for a few years as they are brand new).

Usually that means the car you are buying has to have a new wof before you buy it.

It is possible to sell a car without a WOF, but only if it is sold "as is"
Doing a quick google for "second hand car wof site:govt.nz" gives me this link on the Land Transport NZ web site corroborating the claim.