Kevin Carmody: machines, media & miscellanea

Elsewhere: Mastodon, Github, Email

Routing with Rack and Lotus::Router

I gave another talk at the West Midlands Ruby User Group on routing, both using plain Rack apps and in the Lotus framework.

Vagrant to Docker

Despite some initial misgivings, I really fell for Vagrant. Consistent repeatable develoment environments, what’s not to love? Well, mostly the lack of speed. There are tricks that help, like nfs, but a full VM is comparatively slow compared to running native. Also, though I try to keep things consistent by using provisioners like Ansible, there still seems to be some discrepencies between environments. Maybe there is another way…

Provisioning with Ansible

Slides from my talk on using Ansible to provision at the West Midlands Ruby User Group’s June meetup

IRC logs viewer using CouchDB and KnockoutJS

In my previous post I talked about how to make an IRC bot in Node.js that would store messages in a CouchDB instance. This time, I’ll look at how we might retrieve and display the stored messages.

IRC bots in Node.js, with CouchDB

Over at JS Oxford we’ve been avidly using IRC for organising, as well as general JS chatting. The openness of IRC is brilliant. You can just rock up to freenode, /join #jsoxford, and you’re chatting with the team. One of the major downsides I found with IRC though is that there is no obvious way to view conversations that happened while you were offline. So I decided to write a small bot that would save the conversation in a public document store. From that point on, it’s just a small jump to displaying chat data on a public webpage (and another blog post ;).

Wheedonverse, mapped using d3.js

Man, I love the Wedonverse. All of it. Firefly, Dollhouse, Buffy… even Angel. I really like Firefly. So much so that I’ve made my (lovely) girlfriend watch Castle, just because it has Nathan Fillion in it. So I got to thinking, how much crossover is there with all these shows? What we need is some kind of node/edge graph :)

Keep running

Over the past couple of years I've really gotten myself in to running. Last year I seemed to have peaked on my season's running, I think I did about 10 events. I hit most of my targets, with a 47:20 10km and a 1:51:45 half-marathon. I was really pleased with these, but they were all building up to the big one. The Marathon. I ended up doing the Milton Keynes event last April in 4:25:32. I'll admit, I was somewhat disappointed with my time as I was sure I could have done it in under 4hrs, but I know why I didn't.

Monkey Flask

So it turns out that in GCSE computing, they have to learn Python now. How wicked is that?! I've been helping out my girlfriend's cousin with hers and I've been having to quickly learn bits of Python on the fly so I can answer her questions. Here are some of my thoughts

RC cars in Node.js

Wanna make your brain hurt? Try developing a hardware interfacing library for node.js...

Arrownd variable size div arrows

One of our designers has a love for putting variable size arrows on navigation lists. This is really easy to do in Photoshop but a damn nightmare to build. However, I felt bad that saying it was something we couldn't really do. I mean, coming up with solutions is our thing right?! So I spent some time thinking about it...