Blog posts
Collected posts from the various blogs I’ve contributed to since 2002.
Collected posts from the various blogs I’ve contributed to since 2002.
After upgrading to Wordpress 2.1, I patched the code behind this blog to support Atom 1.0, but apparently a few pieces didn’t go in the right places. So apologies to anyone who may have been waiting on updates that never came. I’ve made some changes, and hopefully normal service can now be resumed.
iConcertCal is an iTunes plugin that scans your library and produces a list of upcoming concerts that you may be interested in. It attempts to detect your city from your IP address, but that can be overridden, and the calendar itself is provided as an iTunes visualiser. The iConcertCal installer has been sitting on my desktop for a few days now, awaiting a chance to be used, so it was finally time to give it a whirl. ...
There have been quite a few geographically-themed Rails plugins emerging over the past few months and I decided it was time to try out acts_as_locateable. Acts_as_locateable is based on ZipCodeSearch. It loads in a database mapping US zip codes to coordinates and then adds convenience methods to ActiveRecord objects that let you search by distance. eg. Event.find_within_radius(50, '49503') will return all events within 50 miles of me. What the standard plugin doesn’t allow is the passing in of more search parameters. So if I wanted to limit that search to future events I’d have to retrieve all the results and iterate over them. In a large system that could be very inefficient. ...
I have to confess that we were a little disappointed to hear on the radio the other night that Beijing have announced plans to crack down on poorly translated (into English) signs in the run-up to the Olympics. We were looking forward to seeing such signs when we visit this summer. Thankfully, it seems like Malaysia Airlines are extending some sympathy. I’ve been having consistent problems with 500 errors on their website, so emailed them to suggest they might like to fix it. A few seconds later, I got this delightful automatic response: ...
One feature of recent releases of Rails I hadn’t spotted before is the ability to define your own parameter parsing based on content type. I’m working on an application that will employ a RESTful API and that I hope will take its input in either standard http parameters, microformatted HTML, XML or JSON. I don’t really want to have to write custom code within the controllers to interpret the input based on content type, so I started looking for how rails parses XML input and came across the following in the actionpack changelog: ...
The New York Times on Monday carried a piece by Robert Sullivan arguing that New York City is falling behind other North American cities (and certainly other major global cities) when it comes to being accessible on foot and by public transport. It rings true, though I don’t know New York well enough to really engage. Of particular interest is the paragraph that begins: Then there is Grand Rapids, Mich., which has a walkable downtown with purposely limited parking and is home to a new bus plaza that is part of a mass transit renaissance in Michigan. The state is investing in high-speed trains, and it is even talking about a mass transit system for the nation’s auto-capital, Detroit, where a new pedestrian plaza anchors downtown. ...
Having very much enjoyed Pan’s Labyrinth on Sunday, I was pleased to hear the creative mind behind it, Guillermo Del Toro, interviewed by Terry Gross on Fresh Air this lunchtime. The interview’s a good one and can be heard here. Tags: pan’s layrinth, guillermo del toro, npr, fresh air, terry gross
Writing the other day about West Wing reminded me that I’d meant to throw in a comment on the development of DVD boxsets. Having decided against getting either cable TV or an antenna, we’ve been getting all of our TV on DVD (or through certain other means) for a couple of years now, primarily from netflix or by adding to our collection. In the past few months I’ve begun to notice a new trend. ...
Listening to the news this morning, with all the build up to today’s Oscar nominations, I was thinking about the blog entry I’d write to lament the fact that Ryan Gosling was cheated out of an Actor In A Leading Role nomination for his part in Half Nelson. I’m very happy to be wrong, and to see him on that list! It’s an interesting list of nominees this year. Ryan Gosling has been displaced in my ‘cheated’ list with Children Of Men, which really should be up for the sound design awards (and perhaps something higher profile). But it’s good to see Pan’s Labyrinth and The Queen taking such a high profile. I suppose it was inevitable that the Pirates Of The Caribbean franchise would get a nod to appease the big money studios but it’s gratifying to see that they’re limited to technical categories. ...
Following on from the acclaimed (and Oscar-nominated) The Story Of The Weeping Camel, Byambasuren Davaa’s new film The Cave Of The Yellow Dog retains the simple premise, quiet pace and flirtations with sentimentality. Following a nomad girl, Nansal, who finds a puppy hiding in the cave and petitions her parents to let her keep him, the film uses its setting to explore the challenges and decisions facing nomadic families in Mongolia as their lifestyle becomes harder to maintain, and parents have to prepare their children for a radically different future. ...