About Mark Needham
List/Grid Author Archives Subscribe to the RSS feed of Mark Needham

No downtime deploy with capistrano, Thin and nginx
As I mentioned a couple of weeks ago I’ve been working on a tutorial about thinking through problems in graphs and since it’s a Sinatra application I thought thin would be a decent ...

Capistrano: Deploying to a Vagrant VM
I’ve been working on a tutorial around thinking through problems in graphs using my football graph and I wanted to deploy it on a local vagrant VM as a stepping stone to deploying ...

Clojure: Reading and writing a reasonably sized file
In a post a couple of days ago I described some code I’d written in R to find out all the features with zero variance in the Kaggle Digit Recognizer data set and yesterday I started ...

Java: Faking a closure with a factory to create a domain object
Recently we wanted to create a domain object which needed to have an external dependency in order to do a calculation and we wanted to be able to stub out that dependency in our tests. Originally ...

Playing around with pomodoros
Over the last 3/4 months I’ve been playing around with the idea of using pomodoros to track all coding/software related stuff that I do outside of work. I originally started using ...

Learning Android: Freezing the UI with a BroadcastReceiver
As I mentioned in a previous post I recently wrote some code in my Android app to inform a BroadcastReceiver whenever a service processed a tweet with a link in it but in implementing ...

Pair Programming: The disadvantages of 100% pairing
I’ve written a lot of blog posts in the past about pair programming and the advantages that I’ve seen from using this technique but lately I find myself increasingly frustrated ...

Learning Android: Getting a service to communicate with an activity
In the app I’m working on I created a service which runs in the background away from the main UI thread consuming the Twitter streaming API using twitter4j. It looks like this: public ...


