Jesse Storimer's Blog Archives

Using Mutt with Gmail on OSX - January 19, 2010

What? Mutt is a command-line email client whose motto is "All mail clients suck. This one just sucks less". Basically it brings email to your Terminal. You can find more information on their site. Why? Lately I've had a bit of an obsession with command line tools. So the fact that mutt gives me command line access to my mail ...
Read more

Speed Up Your Paperclip Tests - January 05, 2010

We all love Paperclip. One of the reasons why is that it makes it painless to resize images. Which is great when you are working in development or on production, but image resizing can really slow down your automated tests. For example, I was working on a project that used factories instead of fixtures. Every time a factory object was ...
Read more

Explanations - December 30, 2009

“We teachers – perhaps all human beings – are in the grip of an astonishing delusion. We think that we can take a picture, a structure, a working model of something, constructed in our minds out of long experience and familiarity, and by turning that model into a string of words, transplant it whole into the mind of someone else. ...
Read more

Jekyll on Heroku - December 29, 2009

This blog is published using Jekyll. Jekyll is a static site generator, so you write your posts and pages on your local machine, generate your static HTML site and then publish it using a service that serves static files. Like GitHub Pages or Slicehost. But neither of those services are free, and my blog has nowhere near enough traffic that ...
Read more

Notes on git pushing - December 27, 2009

Pushing all local branches Executing git push will update all local branches that are tracking remote branches. For example, if you have set up your local master branch to track the remote origin master branch, then executing git push will update that branch. More on tracking remote branches here Pushing the current local branch Say you are working in your ...
Read more

Essential Rails Plugins for your Inner DBA - December 13, 2009

I like to think that I’m not bad at writing SQL. When it comes to writing complex queries, joinging tables, grouping columns, sorting, I’m quite comfortable. However I never seem to give any thought to the possible size of the tables I am working with. Are there hundreds of records? Hundreds of thousands? Millions? This is usually not an issue ...
Read more

Installing rb-gsl on Snow Leopard - October 18, 2009

I wanted to try experimenting with SVD recommenders in Ruby (via this fantastic blog post http://www.igvita.com/2007/01/15/svd-recommendation-system-in-ruby/) and was having a hell of a time trying to install Ruby’s linalg. When I saw that there was also an example using rb-gsl, I was thrilled because rb-gsl is available from MacPorts. No problem, right? Wrong! Currently if you try to install rb-gsl ...
Read more

Sinatra and Shopify: A Classy shopifyapp - June 20, 2009

This week I wrote up a basic sinatra app that allows you to work with the Shopify API. It’s basically just a port of the shopify_app rails plugin to sinatra. Why? I have been having fun working on Shopify apps lately, but I needed a simpler way than always generating a new rails app, new controllers, etc., for every little ...
Read more

Shopify API Extensions - June 15, 2009

Excited by the release of the Shopify platform, I have been playing a lot with the Shopify API and building some apps for the new App Store. The Shopify API is super easy to work with, thanks to the fact that it provides an ActiveResource interface, and of course I write all of my apps in Ruby. In the course ...
Read more

Readability - June 10, 2009

I decided to update my blog’s template after using Readability for a few days. I liked the setup that Readability provided so much that when coming to my blog, I noticed that it was very hard to read. The font was small and grey and on a white background, which I thought was OK. Through using Readability I have discovered ...
Read more

Transformers and Git - May 30, 2009

Today, I was watching some of the Special Features from the live-action Transformers movie, very interesting stuff. I noticed that whenever they would show clips from the movie there would be some text at the bottom of the screen, always a timestamp followed by a string of text. Here is one such message: “additional paint and suppression sweetening…” Looks like ...
Read more

UML vs. Rails Simplicity - March 24, 2009

Yesterday I was working through a conceptually difficult relationship between my Rails models. After sitting at the keyboard and pulling my hair for a few minutes I went to the whiteboard where I could lay things out and get a better overview of the situation. Having taken a course on Software Engineering at University, my first instinct was to use ...
Read more

Ruby on a Plane - March 12, 2009

Lately it has seemed that every time I turn around, I hear about another great Ruby project that was started on the plane to . I have been keeping a list of the ones I have come across so far, either in conversation, blog posts or podcast. If you know of more, please leave them in the comments. Towelie Liquid ...
Read more

Skating to Work - January 25, 2009

Ahh Canada. Where else could someone skate to work? I consider myself lucky, not only do I live in Ottawa, home of the worlds largest skating rink, but I also live near the middle of the Rideau Canal and work near one end of the Rideau Canal. In the mornings and evenings I tie up my skates and go for ...
Read more

Rework Your Git History - January 16, 2009

Git is an awesome tool. Recently I have been discovering more and more cool things I can do with git. Here is one such thing. I was recently working in a development branch and had made more commits than were necessary. I had been committing every time I got a small piece of new functionality to work and I had ...
Read more