A useful bookmark for any developer using MySQL: 84 tips on improving your query performance in MySQL.
84 Top MySQL Performance Tips
posted 2006 // Uncategorized // 0This was my first week in my new job and on an iMac. I was looking forward to trying out OSX, I’ve seen OSX grow in popularity over the last year or two in the development community, a lot of the screen casts are done on Macs.
I was told by others in the office that I’d be sold on Mac within the first day or two because “its much better than Windows”. After a week on it though I still find OSX gets in the way. Read the rest of this entry »
I just found a blog post by Mark Dominus about design patterns being a weakness in a programming languages. I’d not given patterns enough thought to recognise this fact but when reading this it’s obvious.
It’s interesting to learn a little history about where some C based (inc PHP) syntax comes from, namely the $object->method() notation originating from C structs. As well as an example of (what was probably one of the first) design patterns from the 1950′s:
Recurring problem: Two or more parts of a machine language program need to perform the same complex operation. Duplicating the code to perform the operation wherever it is needed creates maintenance problems when one copy is updated and another is not.
Solution: Put the code for the operation at the end of the program. Reserve some extra memory (a “frame”) for its exclusive use. When other code (the “caller”) wants to perform the operation, it should store the current values of the machine registers, including the program counter, into the frame, and transfer control to the operation. The last thing the operation does is to restore the register values from the values saved in the frame and jump back to the instruction just after the saved PC value.
This is describing what we take for granted in every programming language today – functions.

I’m reading a lot of books on Agile at present, I figure this will help me de-bunk some of the Agile buzz on the web at the moment. I just finished reading Practices of an Agile Developer this morning.
I’ve seen an increasing amount of criticism about Agile methods, the primary response to this criticism is that those criticising are not practicing “Agile” correctly. My goal is to try and improve my own software development practices therefore I wanted a clear understanding of what “Agile” is so I can do it right from the start. Read the rest of this entry »
Agile and the Google way
posted 2006 // Uncategorized // 0Steve Yegge, a Google developer, has posted a lengthy article on good and bad agile where he dismisses discusses Agile methods and Google’s work practices. This is a lengthy post but if nothing else reading the comments is worth while since some intelligent responses have been posted.
This has popped up in a number of places in last couple of days.
The rise of Mac in developer land
posted 2006 // Uncategorized // 0Is it just me or are all the cool kids using Mac’s these days? I’ve not used a Mac since primary school – we’re talking mid 80′s!
I’m eager to give TextMate a whirl and see if I can produce code at half the rate of those guys in the screencasts. I’ll soon get the opportunity since I recently accepted a job at a Mac shop!
(some who made the switch aren’t entirely happy).