James Coglan
makes things
using text//

I’m a programmer at Songkick in London, UK. I write The If Works and keep my code on GitHub.

// Speaking

All your laptops are belong to me

1 Oct 2011, JSConf EU

Making music with dozens of web browsers and a little JavaScript

Primer: the cache that knows too much

21 Apr 2011, Red Dirt Rubyconf

How I built Primer, an automatic cache expirer for ActiveRecord

Cross-platform JavaScript testing

11 Jan 2011, London Ajax User Group

Using JS.Test to develop cross-platform JavaScript tools

 

Faye: an event-driven application

13 Nov 2010, RubyConf, New Orleans

Patterns for building and testing event-driven applications

Writing a language in 15 minutes

18 May 2009, London Ruby User Group

Live-coding a Scheme interpreter using Ruby and Treetop

// Open source

Faye

Simple pub/sub messaging server and client for the Web, using Ruby and JavaScript

JS.Class

Object system, class library and package manager for cross-platform JavaScript

Heist

R5RS Scheme runtime in Ruby, with macros, TCO and first-class continuations

 

Primer

Experiment in automatic cache generation and other scaling strategies in Ruby

OAuth2::Provider

Songkick’s OAuth 2.0 toolkit for Ruby web applications

Helium

JavaScript package server based on Git and JS.Class

 

Terminus

Experimental Capybara driver for testing web apps on remote machines and phones

Canopy

Self-hosting PEG parser compiler written in JavaScript

Pathology

Ad-hoc, informally specified, bug-ridden, slow implementation of half of XPath for Internet Explorer

 

Bluff

Beautiful graphs in JavaScript using HTML5 Canvas, Based on the Gruff library

Sylvester

Vector, matrix and geometry library for JavaScript

Fargo

Scheme-like language written in JavaScript, includes Ruby-style fibers for async programming

// Elsewhere

The If Works

Writing about programming

Look at the Birdie

Photographs of dubious quality