Articles

Updates from the Still - apache2.conf

At Rails Machine, we have recently seen problems on a few deploys where Apache’s workers become overwhelmed and unable to serve new requests, even static ones. While we haven’t identified the root cause yet, we suspect either a recent update to The Browser Which Shall Remain Unnamed causes it to abuse the length of time connections stay alive or there may be something lurking in the recent 2.2.10 Passenger release.

Hobo 1.0 – A Rapid Rails Web App Builder – Released

Hobo, an open source rapid web app builder for Ruby on Rails, has officially reached Version 1.0 after three years of focused development effort by the Hobo community and sponsorship support from Barquin International in Washington, DC.

Code Massage

This article started out as a mental experiment and led to a surprising result. I post this mostly for the fun of it. But of course you can take something away from it. With that I do mean not only technical solutions. I believe firmly that a certain level of playfulness actually helps finding better solutions. The other ingredient you need is a certain eagerness for improvement which means to not be be content too early. OK, let’s start.

Canable: The Flesh Eating Permission System

A while back I wrote about how to add simple permissions to your apps. Since then, I have worked on a few applications (Harmony among them) where I have taken that concept and expanded it. Yesterday, I decided that I had repeated myself enough times (3) and that I should abstract the shared functionality of those apps into a gem. Thus, Canable, the flesh eating permission system, was born.

Where's Waldo: Track user locations with Node.js and Redis

Where’s Waldo is my little node.js/Redis project to keep track of users in an app. Say hi!

hi waldo!

Tracking hits on every request can get costly, and I didn’t want to hold up the more important server processes with this. So, it felt like a good fit for a quick asynchronous web server. Node.js and Redis fit the bill perfectly.

Node.js For My Tiny Ruby Brain: Keeping Promises

I’ve been hacking on node.js for a week now. I won’t go into why I think it’s awesome, you probably already know (thanks to bloggers like Simon Willison).

My second raw “hello world” speed test went something like this:

My talk about Twitter-Node at PDXJS

I was recently invited to talk about my Twitter Node project at last night’s PDX Javascript Admirers meeting. I was really nervous about giving my first talk in several years, but I did alright. My slides are up on Heroku.

The big win of the talk, however, was Scott’s showoff app for composing presentations.

What's New in Edge Rails: Skinny on Scopes

I go into a detailed explanation of using ActiveRecord scopes in Rails 3 over on EdgeRails.info.

I won’t be cross-posting for too much long, so update your feed to the new EdgeRails feed to keep abreast of the latest and greatest!

Rails 3 Release Explored at RailsConf: RailsConf First Major Gathering to Follow Release

Sebastopol, CA, February 18, 2010 - This year’s RailsConf, offers the Rails community the opportunity to delve into the possibilities created by the Rails 3 release. O’Reilly Media and Ruby Central, Inc. have opened registration for RailsConf on June 7-10, 2010, at the Baltimore Convention Center in Baltimore, MD. To ensure that the program includes the most timely content possible, the call for participation remains open until March 17, 2010.

AB Testing with Google Analytics

I love AB testing. I think it is either related to the fact I did a year of Maths at university before switching to Computer Science or because human psychology fascinates me. Either way when I launched 5ft Shelf I was keen to test lots. First on the agenda was the default shelf view. For those not familiar with the site you can view a shelf of books in one of two ways – cover view or spine view as we call it on the site (see screenshots – click to enlarge).

Yahoo! | Rails Fire

Yahoo!

A Note on the Recent Outages

Following three months of near 100% uptime, we’ve just been through three major outages in as many days. I wanted to take some time to detail the problems and what we intend to do to prevent similar downtime in the future.

Palm Goes GitHub

It’s great to see more and more companies embracing open source. The latest to put their code on GitHub is Palm, with repos related to their webOS product.

Rails Envy Podcast – Episode #099

Episode #99 Like a Boss edition. Here’s a YouTube link (NSFW) for those that haven’t heard it and don’t get the joke.

The Ruby Show 99: Here's a YouTube link (NSFW) for those that haven't heard it and don't get the joke.

Episode #99 Like a Boss edition. Here's a YouTube link (NSFW) for those that haven't heard it and don't get the joke.

The Tools I Use

Inspired by Mike Gunderloy’s recent blog post, I decided to put together a list of the tools I use, both hardware and software.

I use a Mac at home and a Windows laptop at work; I plan to cover the Windows tools in a later post.

Rails in the Wild: 5 Client-Side Performance Observations

We’re putting together the presentation materials for our five-city “Rails Performance in the Cloud” Roadshow at the end of the month (Boston, Austin, Seattle, LA and Chicago).

My Tools of the Trade – 2009

I originally posted this list in mid-2008, and it seems about time for an update. So, here are the tools I tap most often these days in building web sites and doing my other work:

Hardware

For the most part, I haven’t upgraded hardware in the past year. The desktop box is starting to feel its age, and I’d like to treat myself to an upgrade, but I can’t quite justify the cost yet.

How To Ensure Your Email Gets Delivered

It goes without saying that email is the de facto method by which online businesses communicate with users and clients; without a doubt, it’s a necessary and core function of business today. That being the case, how does a business know that its  email is actually getting delivered?

Despite how significant email is, there’s confusion and a general lack of education about why email may or may not make it to its destination. So, I’ve spent some time putting together some helpful tips, and just as importantly, a list of things you want to be sure to avoid.

10 Years of Virtual Machine Performance (Semi) Demystified

There are many opinions in the air about the impact that virtualization has on performance, so I thought a short blog would be good to explain (as best I can) virtual machine performance characteristics with pointers to relevant benchmarks and technical papers.

Sneak Peak of Yahoo’s Alan Gates Talks at Aloha on Rails

Aloha!

I was so excited to visit Alan Gates at Yahoo. I’ve never been to the Yahoo campus before, and I wasn’t disappointed. Alan is a very friendly host, and Yahoo’s cafeteria had lots of gourmet (and cheap) options. Also, I think I saw Jerry Yang hanging out.

Syndicate content