Evan Weaver

up and running with cassandra


over 8 years ago by Evan Weaver on Snax.
Cassandra is a hybrid non-relational database in the same class as Google’s BigTable. It is more featureful than a key/value store like Riak, but...

distributed systems primer


over 8 years ago by Evan Weaver on Snax.
I’ve been reading a bunch of papers about distributed systems recently, in order to help systematize for myself the thing that we built over the last...

how to find the most popular tags


almost 11 years ago by Evan Weaver on Snax.
As a faithful follower of the growing up article, you now have a pretty nice custom tagging system for your app. But how do you find which tags are the...

log system security events to twitter


almost 11 years ago by Evan Weaver on Snax.
Ok, so cdcarter’s server got compromised just recently. The attacker deleted a bunch of logs, so we don’t really know what went down. But...

table indexes in rails


almost 11 years ago by Evan Weaver on Snax.
Table indexes are sometimes neglected in the rush to fancy RESTful web 2.0 double chocolate milkshake apps. But they are critical for performance. This...

peeping into memcached


over 8 years ago by Evan Weaver on Snax.
Memcached is generally treated as a black box. But what if you really need to know what’s in there? Not for runtime purposes, but for optimization...

polymorphs 25: total insanity branch


almost 11 years ago by Evan Weaver on Snax.
I merged and released the ActiveRecord compatibility branch today for has_many_polymorphs, which represents about a 60% rewrite and a 100% code audit. Custom...

sti abuse


almost 11 years ago by Evan Weaver on Snax.
I’ve noticed people misusing STI recently, with negative effects on maintainability. Admittedly, it is tempting to regard the class of a record as...

make python quit like a normal person


almost 11 years ago by Evan Weaver on Snax.
Let’s add quit and exit command support to the Python interactive interpreter. We’ll ignore all the arguments for and against. It’s just...

how to make a changeset-preserving svn mirror


almost 11 years ago by Evan Weaver on Snax.
I have a private svn repository, as well as a Trac instance, that I use for almost everything. I also have a bunch of Rubyforge projects with their own...