Development on a Shoestring

Archive for September, 2006

Code Monkey

<p><a href="http://blog.slaven.net.au/archives/2006/09/29/code-monkey/"><img src="http://i.ytimg.com/vi/v4Wy7gRGgeA/default.jpg" alt="" /></a><br /><em>There is embedded content here that you cannot see. Please <a href="http://blog.slaven.net.au/archives/2006/09/29/code-monkey/">open the post in a web browser</a> to see this.</em></p>

So.Very.Great.

There are some very talented people around with far too much spare time on their hands.  Go see Jonathan Coulton, who did the song originally.  He’s got a whole lot of other great stuff there.  Also, Mike Spiff Booth, the guy who did the video has also done a few other WoW videos for Jonathan’s songs.

(via EngTech)

Update: I’ve been listening to a few of his other songs, they’re really funny. His style reminds me a bit of TMBG.  He’s got a podcast that contains every new song too!

ArrayList.Contains() race condition

We found something interesting happening recently at work when reviewing the web exception logs on our servers.  There seemed to be an inordinate number of “Index out of range” errors occurring, and they were all coming from one class.

Digging into the code, we found that the error was occurring on a ArrayList.Contains(item) method, which seemed very odd. As I understood it, the whole point of the Contains() method is to check for the item before you try and access it, thereby avoiding the index out of range error.

A workmate thought that it may be a race condition problem, as this class is called on pretty much every page load (it sits in the page header) and the ArrayList itself was a static variable.  We weren’t sure how this could happen, so he cracked out Reflector and disassembled the Contains() method on the ArrayList object. And we found something interesting.

(more…)

links for 2006-09-22

links for 2006-09-21

links for 2006-09-20

Garfield on the reaction to the Pope

At work we have a lot of newspapers lying around the office (yeah, I know, ironic seeing as all our business is online, but anyway) and someone had left the paper from Sept 14th open to the comics page.

I noticed that Garfield seems to have definite views on the current firestorm over the Pope’s recent speech about Islam and faith & reason.

(more…)