Archive for the 'Code' Category

C# For Programmers

Sunday, January 31st, 2010

I just breezed through Illustrated C# 2005, and made a list of language features / concepts that struck me for one reason or another, mostly as a function of being either different from (or similar to!) features in other languages I am already familiar with. ref and out parameters pass value objects into or “out [...]

Entanglement

Saturday, February 21st, 2009

Just wasted a good chunk of time on an issue I had using Grails – “deleted object would be re-saved by cascade”. Turns out that among the associations you need to remove to clear this error are the bi-directional associations created using belongsTo . I removed belongsTo from the domain object being removed from another [...]

Selenium is Groovy

Friday, September 26th, 2008

UI-Element has been integrated into Selenium Core in the project’s subversion repository for some time now. This means no special tricks are necessary to use it – just specify your map file as a user extension! I’m posting this announcement mainly because it seems my original UI-Element post is at the top of Google’s search [...]

Selenium RC Per-Session Extension Javascript

Wednesday, May 14th, 2008

Several people have asked if it is possible to specify user extension Javascript dynamically with the RC, as opposed to on the command line with the -userExtensions flag when starting up the server. It wasn’t possible before. It should be now. If you build from r2291 or greater from the RC trunk, you can play [...]

rt2500

Thursday, February 28th, 2008

My 6-year old laptop is still puttering along. Recently updated the kernel, and had to rebuild the wireless driver. The card is an Asus wl-107. The latest beta of the rt2500 driver doesn’t work with recent kernels; you need to grab a nightly snapshot. To get the card to work (as opposed to simply flashing [...]