Monthly Archives: August 2009

rsync – non recursive copying

I was looking for a way to get rsync to copy all the files in a particular directory and not recurse into the sub-directories.   Unfortunately I couldn’t find an appropriate parameter and a quick search on Google turned up nothing … Continue reading

Posted in Linux | Tagged , , , , | 11 Comments

Lost connection to MySQL server during query

A member of the team came to me the other day with a MySQL error that I’d not seen before: Lost connection to MySQL server during query The MySQL manual (http://dev.mysql.com/doc/refman/5.0/en/gone-away.html) says that it can be caused by: applications that … Continue reading

Posted in MySQL | Tagged , , , , | Leave a comment

What is an abstract class?

A Python programmer recently asked me what an abstract class is, given the other explanations I found seemed to imply that you already really knew what one was – I decided to come up with my own: An abstract class … Continue reading

Posted in Object oriented programming | Tagged , , , | Leave a comment