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.
Being the concerned citizens that we are, we’ve been trying to work out how much of our travelling next summer can be completed by public transport. Good sources of train information are hard to come by, so I was very pleased to discover Seat 61, an impressive resource with details of train and ship travel for more than eighty countries. Well worth a look if you’re trying to plan some travel without the carbon cost of airfare. ...
In the process of building my bus route app, I realised that half the data for bus stops is missing. While the site’s developers have done a good job of providing clear data on half the stops, if you want to see stops going in the other direction, you have to use a drop-down box that triggers an AJAX request and repopulates the table. A little digging shows that the call is to: ...
Following on from my previous entry about scraping bus route data from The Rapid’s website, and to begin to demonstrate the possibilities it opens up, I’ve set up a simple web service to provide route and stop data. It’s based on the new REST style from Edge Rails, and routes are scoped by city to allow for future expansion. To get data on Route 1, GET: http://projects.jystewart.net/buses/cities/1/routes/1 To get a list of the stops within 1.5 miles of a given longitude and latitude, GET: ...
The Rapid, the bus service for Grand Rapids and surrounding areas, recently redesigned their website. The redesign was long overdue and the result certainly looks a lot cleaner, if still far from inspiring. They’ve added a flash-based map showing their routes (though it could do with being a little larger on the page) and added PDF maps of each route (eg. this one for Route 6)). Unfortunately as yet there’s no tool for working out routes, but that’s not a big surprise. ...
Disclosure: I was sent a review copy of The Long Tail by the author after responding to a request on his blog for reviewers. I wrote a few times on The Long Tail when Chris Anderson’s original article began its journey to being one of the most talked about concepts in the blogosphere. In the months that have followed, the phrase has become part of everyday language and the buzzphrase to drop when talking about media consumption. ...
David Brin complains about the difficulty of obtaining BASIC for modern computers, in a piece published yesterday on Salon. He’s been trying to teach his son to code, starting with simple algorithms and developing a good sense of what the computer is doing as it processes each step. Java and C++ are considered too complex for this purpose, and he seems to consider most scripting languages to be too high-level: The “scripting” languages that serve as entry-level tools for today’s aspiring programmers – like Perl and Python – don’t make this experience accessible to students in the same way. BASIC was close enough to the algorithm that you could actually follow the reasoning of the machine as it made choices and followed logical pathways. Repeating this point for emphasis: You could even do it all yourself, following along on paper, for a few iterations, verifying that the dot on the screen was moving by the sheer power of mathematics, alone. Wow! ...
I spend a lot of my time in iTerm, but even on my macbook pro it’s far from slick. A month or so ago I tried their latest nightly build, but it was very buggy (crashing when I resized the window) and no faster. So I’ve mainly been waiting to see if someone came out with an alternative. As a result, I was very pleased to see this post from Rob Orsini as I was scanning Planet Ruby on Rails before starting work this morning. It seems the iTerm developers have completely replaced their tab code, fixed some memory leaks, and come out with nightly builds that are much more stable and far faster. ...
Once again inspired by slacktivist’s alphabetical progression through his music collection: Jesus, Etc. - Wilco - Kicking Television Jesus, I / Mary Star of The Sea - Zwan - Mary Star Of The Sea Jesusland - Ben Folds - Songs for Silverman Jezebel - Iron & Wine - Woman King EP Joan - The Innocence Mission - Umbrella Joan of Arc - Leonard Cohen - Songs Of Love and Hate Joe Dimaggio Done It Again - Billy Bragg & Wilco - Mermaid Ave Vol. 2 John Saw That Number - Neko Case - Fox Confessor Brings The Flood July, July! - The Decemberists - Castaways and Cutouts June - Over The Rhine - Eve
For some time now I’ve been interested in the possibility of bringing together political information from all different layers of government and finding ways of layering it. Too few of us understand where the key decisions on the issues that concern or affect us are taken. Action at a local level can be a very powerful political tool it’s hard to find out which level is most appropriate, or to trace how issues move between layers. Unfortunately it can seem even harder to find well-structured data at more local levels than it is on a national level. ...
After returning from a weekend away, updating my apps to the latest Edge Rails, and running my test suite I started spotting new deprecation warnings: DEPRECATION WARNING: assert_flash_exists is deprecated and will be removed from Rails 2.0 DEPRECATION WARNING: assert_flash_has is deprecated and will be removed from Rails 2.0 Kevin Clark has posted on the deprecation of assert_tag in favour of assert_select, but I’ve yet to see any notes on this one. Looking in the actionpack CHANGELOG there’s no reference to the change, and there’s no documentation in the new home of those methods (actionpack/lib/actioncontroller/assertions/deprecated_assertions.rb) to suggest what we should use instead other perhaps than making use of the code used in those methods. eg: ...