~ ~
  • StrangeLoop20 Sep 2014
    I went to StrangeLoop. It was awesome! Basically a polyglot conference that pulled together academia and industry. Very focused on Functional Programming (FP), but had other ideas too. I took notes, pasted in somewhat raw fashion below. I highly recommend going next year! 2014-09-17 Future of Programming Workshop x Emerging Languages Camp I attended a bonus day...

    Comments

  • Free and Open Source14 Sep 2014
    Open Source, Open Communities Open source is really great. I wouldn’t be where I am today without it. We’re all standing on the backs of giants. Think about it—if we hadn’t had the open-source movement, we’d all be paying thousands of dollars for access to mediocre software that would allow us to write slightly less mediocre software in carefully...

    Comments

  • The other day I went to CoderDojoDC and it seemed like every kid there was obsessed with Minecraft. I recently interviewed Charles Nutter, who mentioned you could mod Minecraft with JRuby. I wanted to get some experience with it so I could help the kids out, so I figured I’d give it a shot. It wasn’t hard!...

    Comments

  • Measuring Rails Boot Time07 Sep 2012
    Our main rails app is pretty slow to load, so I hacked together a really simple report to show what’s going on during boot. This system could use a lot of improvement to aggregate together requires, but it’s enough to draw some immediate conclusions. First, I created this script that overrides Kernel.require: Kernel.require Comments

  • On Entrepreneurship18 Mar 2012
    You live in a city on the ocean. Your fellow citizens are generally part of two groups: normal people and people who have won medals. The people with medals are accorded higher honors and have access to the best things in life. You, of course, want a medal. The problem is, the only way to get a medal is to...

    Comments

  • TL;DR: Ruby 1.9.2 leaks memory with rails apps, switch to 1.9.3. We’ve been having some trouble running out of memory on our production servers ever since we upgraded our app to Rails 3.1 and Ruby 1.9.2 (p290). Our unicorn processes will gradually use up all the memory on our (m1.large) servers (7.5Gb) over the course of 24 hours or so....

    Comments

  • Ruby DCamp Retrospective21 Sep 2011
    I attended Ruby DCamp this year. It’s a programmers’ event where you camp out (in cabins). There’s a code retreat the first day and then subsequent days are an open-spaces event. The Code Retreat The code retreat involved programming Conway’s Game of Life over and over again. Each time you get 45 minutes to work on...

    Comments

  • Shut Up, HAProxy!10 Mar 2011
    We use HAProxy to load-balance requests across multiple Rails backends. It works great, but man does it clutter up the logs. Every N seconds (2 in our case), HAProxy requests our root url (DashboardsController#index) to ensure the site is up. This results in lots of log entries like this: Processing DashboardsController#index (for 10.0.0.205 at 2011-03-07 06:42:20)...

    Comments

  • Net::HTTP Alternatives10 Feb 2011
    Here at Optoro we’ve been building some external tools that interact with our website via http. For simplicity’s sake, we’ve been using curl. I was discussing this with some friends when someone recommended I check out Curb. I was already in the middle of transitioning to HTTParty, due to its improved syntax, but I figured I’d...

    Comments