Archive for the 'Uncategorized' Category

Refactoring my blogs

Sunday, October 4th, 2009

Well, I’ve been reading again (always a bad move) – first Outliers, by Malcolm Gladwell, which talks about the 10,000 hour rule.  He theorises that to truly master something, you need to spend 10,000 hours practising it. I’m an old-school geek – I started coding in year 7 on my sister’s university account, in Basic; [...]

Curved corner images in rmagick

Sunday, July 20th, 2008

RMagick is a great ruby library for image manipulation – it’s basically a wrapper around the venerable ImageMagick libraries.  There are some complexities around installing it on some platforms, and you have to be careful with garbage collection, but it’s still very easy to use and very powerful. The curved corner images I used in [...]

Sigh – ie6 defeats my cunningness

Sunday, July 6th, 2008

Well, my previous post and linked page seems to work nicely. (I did fix a minor glitch in ie7) However, since then I’ve done some more reading – and my conclusion is, don’t do what I did – ie6 png transparency is just too risky. Have a read of the discussion at http://blogs.cozi.com/tech/2008/03/transparent-png.html?cid=106552420 – they [...]

Curved Corners with transparent png background on IE6

Wednesday, June 11th, 2008

I’ve been playing in the wonderful world of css – partly for work, and partly for fun. I wanted to have fluid sized, png-based, rounded-corner dialogs for a web site. This is something that has been solved many times, but not (as far as I can see) for internet explorer 6 – which still has [...]

Faking DNS with Ruby and Sinatra

Friday, March 7th, 2008

I had an annoying problem, so I needed a hacky solution… At work, we have a large number of boxes with dynamic IP addresses. Getting a static IP address is a complete pain, and keeping boxes running is bad for the planet. IP addresses don’t *usually* change, but the do change often enough to be [...]