Over the last few months, I’ve been kicking around a couple of little spare-time projects, and I’ve finally got round to writing a blog post about them. Both are fairly simple, but each represents a stepping stone in my efforts to bootstrap my brain into understanding the architecture and design of web applications.
If you have a modern browser, have a go with my Game of Life implementation in JavaScript, using the HTML5 Canvas element:
(click for the “live” version)
Feel free to leave a comment with your frame rate..
JSLint is a tool for finding problems in JavaScript programs. Unfortunately, to use it, you need to paste your source code into a textarea on a website – less than ideal. This post will explain how to check your JavaScript directly from gedit.
It is based on these instructions for vim, combined with this method to [...]
A few months ago, I spent some time writing a MIDI sequencer for the Arduino. I finished the sequencer, wrote a couple of songs with it, and then got sucked into MSc thesis mode and had to abandon it.
Well, I’ve finally got round to publishing it as an open source project on Google Code, [...]
This code snippet might be useful for anyone wanting to write a script to resize your application windows automatically to fit on your display.
Note: I’m fairly sure you need to enable UI scripting for this to work.
tell application "System Events" to tell process "Dock"
set dock_dimensions to size in list 1
[...]
A quick guide for how to add support for the Camino browser to iGlasses (to allow you to change your webcam settings for recording YouTube videos directly, or any other website that uses Flash-based webcam stuff).
I had no idea TNT deliver on Sundays. It doesn’t make up for their call centre lies, though.
Anyway, it’s very nice. The big flashy features are great (I actually like the new dock and menu bar) but the small things are where you get nice surprises. For example, when you hit enter to rename a [...]
I have sat at home all day waiting for Leopard to arrive, and TNT have failed to deliver it, despite several call centre employees assuring me it was on the truck and out for delivery today. TNT, you suck.
Steve, I know you’re probably busy today pimping your new operating system, but when you finally [...]