Archive for December, 2010

Free Software

Tuesday, 21 December 2010

For most pieces of commercial software for common tasks there is an excellent free althernative; sometimes even open source. Here are a few of my favourites.

This post extends and complements several previous ones on open source software, firefox extensions and system tools.


Learning the Multiplication Tables

Tuesday, 21 December 2010

In a previous post, I tried to show that learning the multiplication tables need not be daunting for children (or even adults). Here are a few odd methods and techniques that might also help.


Sharing a Folder as a Different Name under Windows 7

Thursday, 9 December 2010

With Windows 7, you wish to share a folder (directory) on the network but to have the network view of that folder given a different name. For example, you might wish to share the to local directories <C:\first\share\> and <C:\second\share\> respectively as <\\my-machine\share-1\> and <\\my-machine\share-2\>, in order easily to distinguish them.


SVN: Problems Applying a Patch Cross-platform

Wednesday, 8 December 2010

Suppose you have a set of changes on a Windows machine ready for commit. However, before committing, you’d like to check compilation on your Linux box. So, you create a patch file with a command such as

C:\my-dir> svn diff > patch.diff

Having copied the patch to your Linux box, you try the command

/home/me/my-dir$ patch -p0 < patch.diff

Unfortunately, you see many problems of the form

Hunk #1 FAILED at 234.

What is wrong?