Software Development, on the Web

A loosely connected collection of articles on web development, some of which may contain interesting and potentially useful things, some of which may not.

Verifying SSL Connections to Amazon S3 in CentOS 6 via Ruby

10 June 2015

Whilst building a development virtual machine to distribute to my colleagues I ran into a problem when using the Bundler gem in Ruby. Bundler is a dependency manager and so makes lots of HTTP requests to fetch the necessary Ruby gems and I found that ...

A Simple In-Memory Cache for Python's Httplib2

27 July 2013

When making HTTP requests programmatically it's always nice to have a transparent caching mechanism to make things more efficient when you start fetching the same resource thousands of times a second. I was very close to implementing one with Python's ...

Hello World WAR Using Tomcat and Maven on Ubuntu

18 June 2013

Maven is the de facto build tool of Java projects and Tomcat is a very widely used and well-established servlet container. Together they provide an excellent basis for Java projects on the web. To that end I decided to document, from a fresh install ...

How to call a function on each value in a Python dictionary

21 May 2013

Python has great support for mapping over lists or tuples, creating new structures containing the results of calling a function on the members of the original. I was looking for something similar for the values in a dictionary, maintaining the ...

Investigating Local Variable Scope in Python with the 'dis' Module

02 May 2013

Compared to something like Javascript, scoping in Python is pretty easy to follow. However, I found a situation recently which was confusing at first glance until I examined the Python byte code using the dis module ("dis - ...

More...