links for 2007-10-12

VoiceOver and Safari: Screen reading on the Mac | 456 Berea Street Explanation/reminder of how to switch on VoiceOver and use it for testing websites for accessibility (tags: accessibility osx screenreader voiceover) Tom Morris: Simple RDF Querying with Python Using semantic web tools to simply query social network data (tags: librdf python rdf semanticweb) identity-matcher - Google Code “This code, extracted from the Rails codebase of dopplr.com, extends your User model with methods to pull in social network information from sites such as GMail, Twitter, Flickr, Facebook and any site supporting appropriate Microformats.” ...

October 12, 2007

Protecting static files when deploying with Capistrano

There’s one project I work on where the client wants to be able to edit HTML files in the root folder, but I want to be able to deploy with capistrano. It’s a pain to have to log into the server and check whether those files have changed before each deployment so last night, I added the following to my deploy.rb: desc "Make sure we don't overwrite manual static file changes" task :before_deploy do captured = false run "svn status #{deploy_to}/current/public" do |ch, stream, data| if stream == :out and data.chomp.match(/^M/) captured = true end end if captured run "svn commit #{deploy_to}/current/public -m 'Storing manual changes to static HTML before deploy'" end end It’s not the most elegant, but it’ll make sure that any files the client has changed (which were already in the repository) are committed, and it makes the deployment process just that little bit easier. ...

October 3, 2007

links for 2007-09-30

Informed Comment: (US) Senate Partitions Iraq Next, they’re planning to break Britain and France back into their constituent early medieval kingdoms. (tags: iraq ussenate weirdpolitics)

September 29, 2007

links for 2007-09-23

A conversation with Ed Iacobucci about the reinvention of air travel « Jon Udell Fascinating ideas about how to transport networks by building flexible systems that respond to passenger demand in real-time. Given the environmental concerns over air travel it’s good to see railways mentioned in the comments. (tags: complexitytheory forblog mapping networkintelligence travel) Optimus Uses XSLT to transform microformat-laden html into XML, JSON or JSON-P, making it much easier to process microformats in languages without existing toolkits. Potentially very useful. ...

September 23, 2007

links for 2007-09-23

A conversation with Ed Iacobucci about the reinvention of air travel « Jon Udell Fascinating ideas about how to transport networks by building flexible systems that respond to passenger demand in real-time. Given the environmental concerns over air travel it’s good to see railways mentioned in the comments. (tags: complexitytheory fordevblog mapping networkintelligence travel) Douglas Coupland - “The Gum Thief” at Bloomsbury Theatre (Tuesday, October 9, 2007) Douglas Coupland is coming to London and we have tickets ...

September 22, 2007

links for 2007-09-18

Clinton unveils $110bn universal health plan | Subscriptions index | Guardian Unlimited “This is not government-run.” – classic Hillary cowardice. The government run healthcare in the US is extremely efficient but she still dodges the issue (tags: healthcare hillaryclinton presidentialrace2008)

September 18, 2007

links for 2007-09-17

DanNorth.net » What’s in a Story? Good overview of stories and Behaviour Driven Development (tags: bdd communication projectmanagement story testing) danbri’s foaf stories » Querying Facebook in SPARQL Efforts are underway to draw facebook data into a form that makes it easier to work with. (tags: apis facebook semanticweb sparql) New York Times Launches Facebook App More facebook. It’s interesting to see how one existing organisation is reimagining their content in order to provide a compelling experience in this new context ...

September 17, 2007

Modelling Business Hours with ActiveRecord

One of the many tasks that’s been languishing on my ’to do’ list has been improving the handling of opening/operating/business hours for Grand Rapids WiFi. So today, in a fit of wanting to reduce that ever-present list, I decided to take a proper stab at it. Since it’s got to be a fairly standard situation but I couldn’t find any other write ups online I thought the process might be worth a little documentation. ...

September 16, 2007

links for 2007-09-14

Graticule can failover | opensoul.org Geocoding gem graticule now lets you specify a sequence of geocoders to provide failover. Very nice. (tags: failover gem geocoding graticule rubyonrails) Daring Fireball: The Ringtones Racket “The distinction between ringtones and songs is an artificial marketing construct.” (tags: apple digital itunes music ringtones)

September 14, 2007

On Apple, misbehaving laptops and poor service

Along with travelling for two months and moving to another country, one of the main reasons this blog has been quiet for the past few months is that I have been having ongoing problems with my MacBook Pro. I’ve frequently toyed with writing about them here, but decided to wait and see if Apple could redeem the experience. The saga seems to be reaching a conclusion, but Apple don’t emerge from it looking very good. ...

September 13, 2007