Snax

audit your gems


almost 11 years ago by Evan Weaver on Snax.
Gems don’t have to be trustworthy: $ sudo gem list --remote malice *** REMOTE GEMS *** malice (13) malice, a small, malicious library We...

how to make a cerberus post-commit hook actually work


almost 11 years ago by Evan Weaver on Snax.
I don’t use Cerberus, the continuous integration system, but my boy Chris Wanstrath does. He was trying to add a post-commit Subversion hook so that...

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...

reinventing the bug-smashing wheel


almost 11 years ago by Evan Weaver on Snax.
Somehow it is every web developer’s doom to write an issue tracker. For example: Defectr, yKAP, eTraxis, BUGS, BugNet, Porchlight, Malone, Arctic...

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...

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...

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...

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...

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...