Category Archives: Computing

Announcing time warp ruby gem

When writing tests, it is often desirable to bend time to test limits and edges of the day. It is especially useful to warp time to test results across the timezones of the world. Manipulating time is also useful to assure a day of the week, month or year every time the test [...]

Filter unwanted tweets from your Twitter stream

Ever find yourself annoyed by frequent talk of elections, memes and kitty-cats on Twitter? I have created a user script to apply to your Twitter Fluid instance or Firefox Greasemonkey install to enable regex whitelists and blacklists for filtering out tweets in your Twitter stream.

With this script installed, you will see whitelist and blacklist [...]

25+ celebrity Twitter users and their follow costs

Mashable recently published a list of celebrities using Twitter. Before you go out and start following your favorite Stargate Atlantis star, it’s best you take a look at his follow cost.

Actors

breagrant: 170.87 mΣ dhewlett: 28.13 mΣ janinaz: 17.47 mΣ katehewlett: 8.11 mΣ stephenfry: 77.96 mΣ wilw: 202.84 mΣ WilliamShatner: 0.39 mΣ

Musicians

OblivionPact: 124.14 mΣ therealbritney: 45.67 mΣ DaveJMatthews: 596.28 mΣ jonathancoulton: 44.06 mΣ MCHammer: 18.05 [...]

Fading flash message

Rails apps love flash messages. Little notes providing information, confirmation or warnings to the user. Typically implemented in a partial like so:

<% if flash[:warning] -%>    <div id=‘warning’><%= flash[:warning] -%></div> <% end -%> <% if flash[:notice] -%>   <div id=‘notice’><%= flash[:notice] -%></div> <% end -%>

There are many cases where the message does not need to stick around for [...]

Announcing follow cost

Sometimes you run into a Twitterer who you feel pressured to follow. All of your (Twitter) friends are following her. She apparently has a lot to say. But how much?

Now you can find out the answer to that question. Luke Francl and I have built follow cost to help you gauge [...]

Announcing Harvest Co-op

We at Harvest are proud to announce Harvest Co-op:

No, no, no. Not that kind of Co-op.

Our Co-op helps your team get down to business. Our Co-op helps team members understand what their colleagues are working on without needing to interrupt them. Our Co-op will also help your team have fun and pass [...]

Windy City Rails

I am all registered for Windy City Rails, taking place in Chicago on September 20th. Looking forward to a shorter conference, along with an interesting drive with fellow Minnesota Rubyists. Come join us - only $99!

Distributed team horseplay

Photo by toolmantim

Working day-in and day-out in a distributed team means you need to find creative ways to goof off with your teammates. Decorating a desk or pinning a questionable picture on someone’s cube wall is not really an option.

Enter David Hasselhoff. I’d like to claim I [...]

Post Redirect Get in Rails

Photo by Terry Bain

Post/Redirect/Get (PRG) is a web application design pattern used to supply users with nice, GET-generated results pages that bookmark and reload with ease.

Say you have a results page with a filtering form at the top. The user might alter filtering options, and submit a form [...]

Fixing slow rake on Leopard

Photo by JBAT

In the past few months, as a result of my clumsiness, I’ve been working on a new, Leopard-enabled MacBook. When replacing my wet and dying Tiger MacBook of yore, my one hope was that my daily executions of rake to test Harvest would execute a little [...]