Running BitTorrent Sync on AWS or: how to get peace of mind for pennies a month

I’ve been an avid user of BitTorrent Sync for a year or two now, and although it can be finicky at times, I’m still happy with my switch away from hosted services like Dropbox. With the current state of security on the internet, I felt the urge to take matters into my own hands. I store all of my passwords in 1Password, and having all of that information stored in Dropbox made me uneasy.

I took the plunge and bought a Posted July 27, 2015

Plucking Multiple Columns in Rails 3

The problem: you have a large result set that you want to return, but you don’t need full blown ActiveRecord models for each result. In fact, doing so would likely bring the Ruby process to a crawl. Instead, you just need a few attributes in an array plucked from each result.

If you only want to fetch a single column from a query, you can use the normal pluck method.

Posted June 11, 2013

A Coffeescript Base Class

I’ll be the first to admit that I’m an organizational freak when it comes to code. Yet, every time I work with a NodeJS based project, I end up frustrated that I can’t organize my code in a cleaner fashion. NodeJS’s require system completely isolates every file from one another, so to speak, so I always find myself tempted to write in a single-file monolithic fashion that makes my eye twich in self-restraint.

I’ve been putting toget...


Loving cars isn’t really anything out of the ordinary. The vast majority of people have at least some kind of opinion about them. A Honda Civic will usually be labeled as practical. A Ferrari will usually be labeled as exotic. While they provide an obvious necessity to most of us for our day-to-day lives, there still is something magical about them.

To the engineer, they are the culmination of 300 years of hard work. The engine is b...

Implementing an ORM in Coffeescript - Part 1

For the past week and a half, I have been working on and off on refactoring my node-activerecord project. For those of you who aren’t familiar with the concept of “active record”, it’s a way to map an object directly to a database entry. It exposes an object-relational mapping (ORM) that makes it incredibly simple to work with the database.

Since a lot go...

The Playstation 4 has Already Failed

In case you haven’t heard the news, Sony officially announced the next generation of it’s console today, the Playstation 4. It’s been about 6.5 years since the launch of the Playstation 3, and it’s obvious that not only the gaming world, but also the technological landscape itself has progressed drastically. Sony claims it has an 8-core x86 processor, 8GB o...

The Importance of Design

I know what you’re thinking. You’re thinking, “of course this guy thinks design is important; it’s central to his job”. Yeah, well… you have a point, but hear me out for a minute.

Investing in design for your brand or product is the most important thing you can do. No one likes to judge a book by it’s cover, but let’s not ignore the fact that we are human. The moment you lay eyes upon a product, you are instantly evaluating. It’s ho...