Write an opinion article (i.e. an analysis suitable for readers of a serious newspaper) of no more than 500 words on one of the following subjects: How best to judge whether government policies are helping or harming the economy. or Whether free markets have come to play too big a role in the organisation of society, … Continue reading It’s not fair.
A monad is a special prayer used by software developers. In this simple guide, I’ll teach you how to build (we developers say “reify”!) a monad of your very own. Start with the combinator function. A combinator is like a regular function except that the domain is partial and the range is delicate. Turn it clockwise … Continue reading Howto: construct a monad
“One-one-thousand, two-one-thousand, three-one-thousand, four-one-thousand” We watched as the figure ran down the street towards the wicker basket. A dog, its hind legs covered in fresh blood, sat trembling inside. “five-one-thousand, six-one-thousand, seven-one-thousand” Stephen was perched behind the wheels of a car, down in the street. I was high up on a rooftop, watching. “eight-one-thousand, nine-one-thousand, … Continue reading G.K. Zombie
(With apologies [kinda] to the hilarious and wonderful Mallory Ortberg) When is the right time to introduce your baby to Computer Science? How soon is too soon? Baby: [Knocks over building blocks] Me: That’s right, we can’t reason about arbitrarily-sized abstract structures! 0-1-many is a useful model for the world Baby: aeeeeengh Me: Well, it’s … Continue reading How to Talk to a Baby about Computer Science
I’ve got a theory that an animated high-resolution barcode is a a workable mode of communication for sending data across an air gap. The host machine displays barcodes, say once a second, and client software on a phone or laptop off the air-gap reads and decodes the barcodes. In this manner, a large amount of compressed … Continue reading High-res 2d barcodes for transmission over an air gap: part 1
This saturday I went to my first hackday – the LocalHackDay NYC, organised by Young Hackers. I’ve been trying to get more involved in social enterprises whilst I’ve been in New York. There’s lots of opportunity to volunteer here, and lots of good people that do that, but it feels like I should use the … Continue reading My first Hackday, or why we should all be terrified
I created a Chrome extension to show a barcode for your current tab’s URL in a lightweight popup window. I use it all the time when I’m presenting – people can take out their phones and browse to the site I’m demoing. The code is dead simple: i.e. – we get the URL for the … Continue reading 2dbc – Show a 2D barcode for your current tab.
One of the things that makes New York a cool place to be is CitiBike, the bike-sharing system from our friends at Citi. Credit where it’s due: they’ve blown this one out of the water. There’s even an open feed with up-to-the-minute data about docking station usage – which set my mind wandering in the … Continue reading Plotting CitiBike usage data with d3
I’m starting to realize that New York is much like Hong Kong, except that there are obviously more Chinese people here. I haven’t even been to Chinatown yet, but last night I watched the movie with Jack Nicholson and Faye Dunaway and my guess is that it’s pretty much the same. It’s a great movie … Continue reading Forget it Jake, it’s Chinatown