Using git remotes to alias your apps
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 . . .
From the "If you can't measure it, it didn't happen" department.
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" . . .
Original title: The Trouble With Lean
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 . . .
How to correct OSX's Finder Failure
[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 . . .
Third time lucky on my quest to solve Docker container linking issues.
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 . . .
Nice guys do sometimes win
[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 . . .
It doesn't do what you think it does, but it can still be useful.
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 (
. . .