A few brief code snippets on how to add an instance of an entity to another entity's one-to-many relationship.
An overview of my pipeline between development and deployment for Django projects. Fabric and Git turn a potentially unhappy task into something very quick and easy.
One of the most destructive ideas is that you can dig out of a hole by doing what you're already doing, but doing it harder. This doesn't work, but it does breed and kill your heroes, and alienate everyone else.
This post contains an extremely brief discussion on how Clojure agents differ from Erlang actors, and then follows with examples o fusing Clojure agents to serialize file writes, form message relays and perform parallel HTTP fetches.
A simple but helpful trick for using optional parameters in Django views to allow one view to serve multiple urls with varying parameters.
I'm a developer and I write a little bit. If you're curious about learning more about me, this is a good place to start.
Part of my day's experiment was to play with implementing Python datastructures which are implemented ontop of Redis. Here we take a look at dictionaries and lists, but it should be straightforward to extend this idea to sets as well.
A look at using Node.js to write a log collection server and also log submission clients. My first experiment with Node.js, which really impresses me with how easy it is to write flexible, powerful and efficient code in Node.js.
If you're doing analytics, reports or dealing with memory constraints in Redis, you're probably dealing with keeping two sorted-sets mutually consistent. This article also takes a look at using multi/exec to keep it fresh.
Software engineer, technical leader, sci-fi reader, and so on. Born in NC, living in SF, and glad to grab a coffee.