Category Archives: Hacking

Ruby Beanstalkd distributed worker intermediate lessons

This post is a follow up to Ruby beanstalkd basics, I will try to make the example code little more interesting and useful. I am calling this is a Ruby beanstalkd intermediate write up, it sets up a few workers and distributes and receives results simultaneously. In this example the code resembles real code a [...]

Someone please build an awesome embeddable code widget

One awesome thing about working at a startup is that you get to focus very deeply on the problem you’re trying to solve. On the other hand, if you’ve taken the leap and founded a startup, it’s probably because you tend to see solutions and opportunities everywhere. It can be really hard to focus on [...]

Ruby Beanstalkd distributed worker basics

At Devver we have a lot of jobs to do quickly, so we distribute our work out to a group of EC2 workers. We have tried and used a number of queuing solutions with Ruby, but in the end beanstalkd seemed to be the best solution for us at the time.
I have only seen a [...]

Tracking down open files with lsof

The other day I was running in a weird error on Devver. After running around twenty test runs on the system, the component that actually runs individual unit tests was crashing due to “Too many open files - (Errno::EMFILE)”
Unfortunately, I didn’t know much more than that. Which files were being kept open? I knew that [...]

Ruby Tools Roundup

I collected all of the Ruby tools posts I made this week into a single roundup. You can quickly jump to any tool that interests you or read my reviews start to finish. If you just want to read a individual section here are the previous posts Ruby Code Quality Tools, Ruby Test Quality Tools, [...]

Why Side Projects?

I just read a great post at Ekinoderm that nicely tied together two things Dan and I have been thinking and blogging about recently - the joys of side projects and why you should own your own IP. Check it out.

My Day Project: IMShoes

Inspired by two posts _Why’s ’so create’ and GitHub’s Start a Side Project I decided that I needed to do a quick side project. After our demo day we were taking the weekend easy and I had some extra time on Sunday. I decided that I should find a really quick project something I could [...]

Leaving NetBeans for Emacs as my Ruby Editor

When I first started working with Ruby I used RadRails (which still has the best integrated test runner I have used). Various problems and crashes with RadRails along with exciting features being added to Ruby NetBeans enticed me to switch. I enjoyed NetBeans and some of its features, but the weight of my IDE began slowing [...]

Useful Gem Shortcuts Tip

When you are working with projects in the command line all day, it can be really annoying to have to remember the exact location of everything. Often when programming against a gem in Ruby, it can be really useful to read over the documentation. Adding a couple lines to your .bash_profile can make loading up [...]

Sad but true

The other day I was talking to my brother about possible plans for Devver’s future. I’d clearly been coding too much that day, so the conversation went something like this:
Me: “Of course, [plan A] and [plan B] aren’t … uh, you know … one doesn’t stop the other … I mean, they aren’t … uh [...]