<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Philip Hallstrom</title>
    <link>http://pjkh.com/</link>
    <description></description>
    <language>en-us</language>
 
    
      
        <item>
          <title>Speeding up thumbnail generation with Paperclip</title>
          <link>http://www.pjkh.com/articles/2010/04/09/speeding-up-thumbnail-generation-with-paperclip</link>
          <description>On the heels of my other &quot;Paperclip patch&quot;:http://pjkh.com/articles/2010/04/09/rails-paperclip--auto-orient-and-resizing- I noticed that generating four styles from a large original and auto orienting them takes a lot of time (about 12 seconds on average).  Trying to cut that time down I wondered if it would be possible to generate the smaller thumbnails from the larger ones.</description>
          <pubDate>Fri, 09 Apr 2010 22:05:04 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2010/04/09/speeding-up-thumbnail-generation-with-paperclip</guid>
        </item>
      
        <item>
          <title>Rails, Paperclip, -auto-orient, and resizing...</title>
          <link>http://www.pjkh.com/articles/2010/04/09/rails-paperclip--auto-orient-and-resizing-</link>
          <description>I recently had a situation in which I wanted to generate thumbnail images and have them constrained to 67x50 (specifically &quot;67x50&gt;&quot;).  No problem so far, but I also wanted to auto rotate (via Imagemagick's -auto-orient option) the images as they all come from a digital camera that provides this information.  This causes a problem.  Namely that some images ended up being 50x67 instead of 67x50.</description>
          <pubDate>Fri, 09 Apr 2010 21:07:02 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2010/04/09/rails-paperclip--auto-orient-and-resizing-</guid>
        </item>
      
        <item>
          <title>Hanger9 FS One Running in Parallels 5 on Mac OS X</title>
          <link>http://www.pjkh.com/articles/2010/03/18/hanger9-fs-one-running-in-parallels-5-on-mac-os-x</link>
          <description>MuPromo has a software bundle containing Parallels 5.  Tempting.  Wondered if I could run Hanger9 FS One in it so I wouldn't have to use Bootcamp like I have been doing.  The answer is yes, I can!</description>
          <pubDate>Thu, 18 Mar 2010 20:10:35 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2010/03/18/hanger9-fs-one-running-in-parallels-5-on-mac-os-x</guid>
        </item>
      
        <item>
          <title>Another Reason People Prefer Macs to PCs</title>
          <link>http://www.pjkh.com/articles/2010/01/14/another-reason-people-prefer-macs-to-pcs</link>
          <description>Yet another unscientific reason people prefer macs over PCs.  Just look at these instructions.</description>
          <pubDate>Thu, 14 Jan 2010 19:46:26 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2010/01/14/another-reason-people-prefer-macs-to-pcs</guid>
        </item>
      
        <item>
          <title>Ruby in a Nutshell...</title>
          <link>http://www.pjkh.com/articles/2009/11/13/ruby-in-a-nutshell</link>
          <description>This may not be very scientific, but perhaps this is why Ruby is such a wonderful language.</description>
          <pubDate>Fri, 13 Nov 2009 20:30:54 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/11/13/ruby-in-a-nutshell</guid>
        </item>
      
        <item>
          <title>Sphinx Search 0.9.8.1 Debian Packages</title>
          <link>http://www.pjkh.com/articles/2009/06/29/sphinx-search-0-9-8-1-debian-packages</link>
          <description>There's no (to my knowledge) package of Sphinx Search for Debian.  Following some instructions I went ahead and built some for Debian 5.0.  Feel free to use them.</description>
          <pubDate>Mon, 29 Jun 2009 18:15:07 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/06/29/sphinx-search-0-9-8-1-debian-packages</guid>
        </item>
      
        <item>
          <title>Facebook Connect + Safari + Click to Flash = No Work</title>
          <link>http://www.pjkh.com/articles/2009/03/31/facebook-connect-safari-click-to-flash-no-work</link>
          <description>If you're developing a Facebook Connect application, using Safari, and have installed the ClickToFlash plugin to stop flash from loading automatically, none of your FBML tags will be parsed.  This is a known issue with ClickToFlash and apparently fixed in HEAD.  But until that's released watch out.</description>
          <pubDate>Tue, 31 Mar 2009 22:29:15 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/03/31/facebook-connect-safari-click-to-flash-no-work</guid>
        </item>
      
        <item>
          <title>Hanger9 FS One Review</title>
          <link>http://www.pjkh.com/articles/2009/03/13/hanger9-fs-one-review</link>
          <description>I just bought Hanger9 FS One and wanted to quickly say that it's awesome and runs great on a Macbook Pro via Bootcamp.</description>
          <pubDate>Fri, 13 Mar 2009 18:51:16 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/03/13/hanger9-fs-one-review</guid>
        </item>
      
        <item>
          <title>RadiantCMS Extension for Syntax Highlighting via CodeRay</title>
          <link>http://www.pjkh.com/articles/2009/02/03/radiantcms-extension-for-syntax-highlighting-via-coderay</link>
          <description>I recently converted this website to using RadiantCMS.  Many of my articles include code samples. In the past I had written a plugin for webgen to use CodeRay to provide syntax highlighting.  I've now done the same for RadiantCMS.</description>
          <pubDate>Tue, 03 Feb 2009 03:17:22 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/02/03/radiantcms-extension-for-syntax-highlighting-via-coderay</guid>
        </item>
      
        <item>
          <title>Creating an Audit Log in Rails</title>
          <link>http://www.pjkh.com/articles/2009/02/02/creating-an-audit-log-in-rails</link>
          <description>Someone just asked how to track changes via an audit log in Rails.  They wanted more than just model observers however -- they wanted to track the logged in user and some other session related data.  I recently did something just like this.</description>
          <pubDate>Mon, 02 Feb 2009 23:37:13 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/02/02/creating-an-audit-log-in-rails</guid>
        </item>
      
        <item>
          <title>Manually Invoking a Rails Sweeper</title>
          <link>http://www.pjkh.com/articles/2009/02/02/manually-invoking-a-rails-sweeper</link>
          <description>Let's say you have a Rails app, and that app has a Photo model, and that photo model has many Destinations, and the destination pages are cached to disk, and when you update a photo you need to expire all of the destination pages that photo is currently associated with.</description>
          <pubDate>Mon, 02 Feb 2009 19:58:32 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/02/02/manually-invoking-a-rails-sweeper</guid>
        </item>
      
        <item>
          <title>New Toy - Mini Super Cub RC Airplane</title>
          <link>http://www.pjkh.com/articles/2009/01/20/new-toy-mini-super-cub-rc-airplane</link>
          <description>I've always loved remote control machines and two days ago I got the new Mini Super Cub.  It's awesome :-)</description>
          <pubDate>Tue, 20 Jan 2009 22:48:47 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/01/20/new-toy-mini-super-cub-rc-airplane</guid>
        </item>
      
        <item>
          <title>Rails, Exceptions, Hoptoad, and Annoying User Agents</title>
          <link>http://www.pjkh.com/articles/2009/01/06/rails-exceptions-hoptoad-and-annoying-user-agents</link>
          <description>Hoptoad is an excellent service that allows you to funnel all of your Rails exceptions to a central location so you can splice, dice, and fix them.  I've noticed however that some web spiders mangle valid URLs into invalid ones and rather than deal with all the possible permutations it would be a lot nicer to simply have Hoptoad ignore them completely.</description>
          <pubDate>Tue, 06 Jan 2009 03:34:00 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2009/01/06/rails-exceptions-hoptoad-and-annoying-user-agents</guid>
        </item>
      
        <item>
          <title>Quickly Mirroring your Ruby Gem Installation</title>
          <link>http://www.pjkh.com/articles/2008/07/10/quickly-mirroring-your-ruby-gem-installation</link>
          <description>A friend just complained that he'd setup a server with all his gems and it would be nice if there
was an easy way to do the same install on another server without having to retype everything.
He wanted something like: gem install -l from_file.txt
</description>
          <pubDate>Thu, 10 Jul 2008 00:00:00 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2008/07/10/quickly-mirroring-your-ruby-gem-installation</guid>
        </item>
      
        <item>
          <title>OSX + iTerm + screen + vim + 256 colors</title>
          <link>http://www.pjkh.com/articles/2008/07/09/osx-iterm-screen-vim-256-colors</link>
          <description>I've used vim for a long long time.  A couple of years ago I enabled syntax coloring, but
the defaults aren't that attractive and recently I've begun to envy some of the Textmate color themes,
particularly the theme used in Ryan Bate's Railscasts.</description>
          <pubDate>Wed, 09 Jul 2008 00:00:00 GMT</pubDate>
          <guid>http://www.pjkh.com/articles/2008/07/09/osx-iterm-screen-vim-256-colors</guid>
        </item>
      
    

  </channel>
</rss>
