eddorre

Observations in Traffic Patterns After an I5 Bridge Lift

July 31, 2010 — 0 Comments

Interstate 5 or I5 is an Interstate Highway that runs parallel to the Pacific Ocean and extends all the way from Mexico to Canada. In the Portland-Metro area it’s home to some of the worst traffic snarls and the subject of much debate from commuters, environmentalists and everyone in between.

I myself, am a commuter, meaning that I live in Vancouver, Washington but I work in Portland, Oregon. Unlike some of my commuter brethren, I don’t hold a grudge against people that are anti-commuting; I see their point as equally as I see my own. I firmly believe that a solution won’t present itself until both sides drop the tribal/faction mentality, stop stereotyping and start work collaboratively towards a vibrant and workable metropolitan area.

Until that time, I5 is what it is – a traffic quagmire. Having resigned myself to this realization, I started trying to understand why I5 traffic is this way. Like any good geek, I started this process by collecting data. In a forthcoming article, I’ll describe in detail how I’m collecting the data, but for now I’ll just give a summary. Every 15 minutes, between the hours of 5 AM and 9 PM, an automated script will fetch a speed map of the Portland-Metro area from WSDOT (Washington State Department of Transportation).

Although I’m still early in the process of collecting the data, I found something interesting on July 21st. Although I have no hard data to support this (I wasn’t there and I only have the empirical evidence of the speed maps), I’m fairly certain that an I5 bridge lift occurred in the late morning.

Before we get to the data, I should note, I’m not a traffic engineer, I don’t hold a degree in Civil Engineering, I don’t work for a government agency and the images below are copyrighted by WSDOT. I’m just a web developer with a thirst for knowledge and an intense curiosity for how and why traffic systems work and don’t work.

Let’s look at the data, shall we?

Continue Reading Continue Reading

Using Ruby Enterprise Edition and Passenger on OS X with RVM

July 21, 2010 — 4 Comments

Ever since I installed Ruby 1.9.2-head with RVM (Ruby Version Manager) I’ve become a convert of using it to manage all of my Ruby installs.

Last week I decided to install Ruby Enterprise Edition on my development environment as my default Ruby install. My motivation for this was two-fold; better memory management and a comment by Laurent Sansonetti (one of the authors of MacRuby and works at Apple) on an article written by Robby Russell titled Installing Ruby on Rails, Passenger, PostgreSQL, MySQL, Oh My Zsh on Show Leopard, Fourth Edition.

The comment left by Laurent suggested not to rename the default Ruby install (and then symlinkling the Ruby installed via Ports) but to manage it by setting the load path.

Using RVM, we can install any Ruby version we want and have it set as the default Ruby instance easily. Let’s see how it’s done.

Continue Reading Continue Reading

Installing Rails 3 (beta 4) Using RVM

June 20, 2010 — 12 Comments

I’ve been collecting Rails 3 links ever since the first beta hit but I’ve been putting off installing it because I’ve been terribly busy and some of the early problems that I was reading on Twitter (namely with Bundler) turned me off.

Yesterday, I finally had enough time to start the installation and documentation process. For those following this guide, I should warn you in advance, Rails 3 is a fast moving target. Stuff is changing all the time, so by the time that you come across this guide it might be out of date or not The Rails Way of doing things.

I’ll try to keep it updated as best I can, but keep that warning in mind.

One more thing, the following should work with *nixes, but for those curious, I’m using OS X — Snow Leopard.

Continue Reading Continue Reading