Heroku app aliases

Using git remotes to alias your apps

November 18, 2014

We have four permanent Heroku apps running in production (our live site, our staging site, a development site and a demo) as well as various ephemeral apps that get created for long-running branches. Running Heroku CLI commands can become a bit of a pain in scenarios like this as you have to append the app name as an option:

# this will only . . .

Read More

Simple request profiler for Django

From the "If you can't measure it, it didn't happen" department.

October 22, 2014

Premature optimisation is the root of all evil

The most important word in the above quote by Donald Knuth, who knows a thing about programming, is 'premature'. If premature optimisation really is the root of all evil, then how do you know when to begin? If you're anything like us, then "when people start complaining" . . .

Read More

We're Lean, handle with care

Original title: The Trouble With Lean

October 20, 2014

The original title of this post was "The problem with Lean", but that sounded negative, so I went with needy instead.

From the inside of a company, lean practices are great - they are efficient, responsive, and allow a small startup to iterate and advance at breakneck speed. The combination of early launches, measurement and . . .

Read More

Tip: OSX Open File Dialog misfire

How to correct OSX's Finder Failure

October 20, 2014

[UPDATE: there is no update. This is still an issue in Yosemite]

I've had an ongoing hate affair with OSX's Finder app, which is so inferior to Windows Explorer as to make me want to switch back on a daily basis. It's terrible, and one of the bugs that has been annoying me most recently is the Case of the Missing Screenshot.

I . . .

Read More

Is dnsdock the answer?

Third time lucky on my quest to solve Docker container linking issues.

August 21, 2014

I've struggled with Docker, and getting it to play nicely with our workflow, principally around the issue of container IP resolution at runtime:

the linking of containers only works if it is done in the correct order. If you decide to restart / rebuild your database container (for instance, to reset the data to a known state), and the . . .

Read More

Spolksy - Man with a Mission

Nice guys do sometimes win

July 25, 2014

[tl;dr Go and read Joel Spolsky's own blog post - quotes printed here are taken from there without explicit permission.]

Joel Spolsky is a man who set out with a simple goal - "make a company where the best developers want to work" - and has in the process created two of the best known (amongst their target audience) properties . . .

Read More

Django's CommaSeparatedIntegerField

It doesn't do what you think it does, but it can still be useful.

June 04, 2014

I've you ever need to store lists of IDs in a field in Django, you've probably
come across the CommaSeparatedIntegerField. It sounds ideal - you can save
lists to and from the database. Brilliant.

Except that that's not how it works. The CommaSeparatedIntegerField is in
fact nothing more than a CharField with a regex validator ( . . .

Read More

  Subscribe by Email and Never Miss a Post