<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Robby on Rails: Tag productivity</title>
    <link>http://www.robbyonrails.com/articles/tag/productivity</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts.sort_by{|t| t[:topic]}.collect </description>
    <item>
      <title>RubyURL through QuickSilver</title>
      <description>&lt;p&gt;When &lt;a href="http://chriszgriffin.com/"&gt;Chris Griffin&lt;/a&gt; saw &lt;a href="http://www.leancrew.com/all-this/2007/11/shortened_urls_with_quicksilve.html"&gt;this post&lt;/a&gt;, he wanted to do the same with &lt;a href="http://rubyurl.com"&gt;RubyURL&lt;/a&gt;. Since the ShortURL gem was broken, I didn&amp;#8217;t get a chance to dive into it. However, with the shorturl command now working again with RubyURL, we get QuickSilver and RubyURL working together really quickly.&lt;/p&gt;


	&lt;p&gt;First, you&amp;#8217;ll need a recent version of the ShortURL gem installed.&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;sudo gem install shorturl&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Then you will want to add the following to &lt;code&gt;~/Library/Scripts/rubyurl.scpt&lt;/code&gt;. You will need to create this file.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
  #
  # Change accordingly if shorturl is not under /usr/bin/shorturl
  #
  set shorturl_cmd to "/opt/local/bin/shorturl" 

  tell application "Safari" 
      set original_url to URL of front document
  end tell

  set cmd to shorturl_cmd &amp;#38; " " &amp;#38; original_url

  set ruby_url to do shell script cmd
  set the clipboard to ruby_url as text
  beep
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Then you can add this script to run through QuickSilver. For details, jump to the setup process on &lt;a href="http://www.leancrew.com/all-this/2007/11/long_and_shortened_url_scripts.html"&gt;this post&lt;/a&gt;.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://skitch.com/robbyrussell/rpjk/rubyurl-quicksilver"&gt;&lt;img src="http://img.skitch.com/20080107-1uxg37c148kwe4cpm58m14ifwt.preview.jpg" alt="rubyurl quicksilver" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080"&gt;Uploaded with &lt;a href="http://plasq.com/"&gt;plasq&lt;/a&gt;&amp;#8217;s &lt;a href="http://skitch.com"&gt;Skitch&lt;/a&gt;!&lt;/span&gt;&lt;/div&gt;

	&lt;p&gt;This will make it much easier to paste RubyURLs into my Twitter client, &lt;span class="caps"&gt;IRC&lt;/span&gt;, etc.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ll try to post a more thorough tutorial soon, but wanted to share in the meantime.&lt;/p&gt;
</description>
      <pubDate>Sun, 06 Jan 2008 20:42:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:ee0e9bcc-6160-4913-b181-a5f4c95a7f68</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2008/01/06/rubyurl-through-quicksilver</link>
      <category>RubyURL</category>
      <category>quicksilver</category>
      <category>applescript</category>
      <category>rubyurl</category>
      <category>hack</category>
      <category>tip</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Collaborative Bookmarking... UNLEASHED</title>
      <description>&lt;p&gt;Like many&amp;#8230; I&amp;#8217;ve been using del.icio.us for several years and so have some of my closest colleagues. A few of us at &lt;a href="http://planetargon.com"&gt;&lt;span class="caps"&gt;PLANET ARGON&lt;/span&gt;&lt;/a&gt; have been using the &lt;code&gt;for:username&lt;/code&gt; tag to send each other links, which has been a great productivity hack as we don&amp;#8217;t need to copy URLs and paste them into emails, IMs, or &lt;span class="caps"&gt;IRC&lt;/span&gt; channel windows anymore. One of the things that del.icio.us doesn&amp;#8217;t have a totally perfect implementation is sending to a group. There are people in your network, but to my knowledge, there isn&amp;#8217;t a way to send everyone in a network the same link without selecting everyone individually. This was adding more time to the process of saving a link for ourselves and our fellow team members. So, we came up with a clever hack&amp;#8230; a new delicious user account.&lt;/p&gt;


	&lt;p&gt;Over the past four months, our team has bookmarked almost &lt;strong&gt;four hundred&lt;/strong&gt; links on topics ranging from Rails plugins, Interaction Design, Business processes, cool new web applications, to any variety of things that we find relevant to our team.&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://myskitch.com/robbyrussell/delicious-tags-20070821-202107.jpg" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;So, all of the links are being sent to a fake user. How do we see the links for that user without having to logout of our current user and into the planetargon account? Well, what we&amp;#8217;ve done is take the delicious &lt;span class="caps"&gt;RSS&lt;/span&gt; feed and pipe it through &lt;a href="http://feedburner.com"&gt;feedburner&lt;/a&gt; and given everyone the &lt;span class="caps"&gt;URL&lt;/span&gt; that feedburner provides. Now, we&amp;#8217;re all able to subscribe to the same feed and check out links when each of us has time for it.&lt;/p&gt;


	&lt;p&gt;...and this is what I get to see show up in my &lt;span class="caps"&gt;RSS&lt;/span&gt; reader. :-)&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://myskitch.com/robbyrussell/palinks-20070821-202935.jpg" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;How is your team managing bookmarks? :-)&lt;/p&gt;
</description>
      <pubDate>Tue, 21 Aug 2007 22:26:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:32d11d37-1355-45f6-8512-fe60a5d0a464</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/08/21/collaborative-bookmarking-unleashed</link>
      <category>PLANET ARGON</category>
      <category>bookmarks</category>
      <category>delicious</category>
      <category>planetargon</category>
      <category>hacks</category>
      <category>productivity</category>
    </item>
    <item>
      <title>The Zen of Auto Rspec</title>
      <description>&lt;p&gt;Several months ago, I heard that people were using a program called &lt;a href="http://nubyonrails.com/articles/2006/04/19/autotest-rails"&gt;autotest&lt;/a&gt; to have their tests continue to run as you made changes to your code base, which comes with &lt;a href="http://zentest.rubyforge.org/ZenTest/"&gt;ZenTest&lt;/a&gt;. It&amp;#8217;s a really nice tool written by Ryan Davis and I hadn&amp;#8217;t gotten a chance to play with it as of yet. Well, our team isn&amp;#8217;t spending too much time in the &lt;code&gt;test/&lt;/code&gt; directory these days as we jumped ship near the end of last summer and found ourselves hanging out on the &lt;a href="http://blog.brightredglow.com/2006/10/4/what-s-it-worth-to-me"&gt;Isle of &lt;span class="caps"&gt;BDD&lt;/span&gt;&lt;/a&gt;. The locals are &lt;a href="http://blog.daveastels.com/articles/2005/07/05/a-new-look-at-test-driven-development"&gt;quite thoughtful&lt;/a&gt; about these sorts of things.&lt;/p&gt;


	&lt;p&gt;I just started working on a project that has been under development for several months and as I&amp;#8217;m getting to learn the ins/outs of the system, I find myself having to rerun the specs, which can take quite a bit of time watching. Watching your specs or tests run sometimes is as productive as watching your code compile. Oddly enough, this is as close to compilation as we really get when working with Ruby on Rails&amp;#8230; and it&amp;#8217;s a productivity killer for me.&lt;/p&gt;


	&lt;h2&gt;There Must Be a Better Way!&lt;/h2&gt;


	&lt;p&gt;So, I did a quick google search and found &lt;a href="http://blog.nicksieger.com/articles/2006/11/15/rspec-autotest-now-a-rails-plugin"&gt;an announcement&lt;/a&gt; for Rails that ran specs through ZenTest. This was exactly what I was searching for!&lt;/p&gt;


	&lt;h3&gt;Some requirements&lt;/h3&gt;


	&lt;p&gt;Please makes sure that you have the following gems installed in your development environment as they are dependencies to make this all work.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;zentest &lt;/li&gt;
		&lt;li&gt;diff-lcs&lt;/li&gt;
	&lt;/ul&gt;


&lt;pre&gt;&lt;code&gt;
$ sudo gem install zentest diff-lcs 
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;&lt;strong&gt;note&lt;/strong&gt; I&amp;#8217;m going to assume that you have rspec and rspec for rails installed&amp;#8230; if not&amp;#8230; tsk. ;-)&lt;/p&gt;


	&lt;h3&gt;Install RSpec autotest&lt;/h3&gt;


&lt;pre&gt;&lt;code&gt;
$ script/plugin install http://svn.caldersphere.net/svn/main/plugins/rspec_autotest
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;If you&amp;#8217;re using subversion, you might consider installing it as an external.&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
$ script/plugin install -x http://svn.caldersphere.net/svn/main/plugins/rspec_autotest
&lt;/code&gt;&lt;/pre&gt;

	&lt;h3&gt;Running  RSpec autotest&lt;/h3&gt;


	&lt;p&gt;This is where it gets tricky. ;-)&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
$ rake spec:autotest
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Now, you can keep a terminal window open and autotest will watch your application and detect when files change. When they change, it&amp;#8217;ll attempt to rerun your specs (specifically those that changed). This helps save you the time of having to rerun all your specs throughout the development process and keep your spec:all sanity checks for when you&amp;#8217;re about to commit code to your repository.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ll post another entry in the next few days to show you how you can use &lt;a href="http://growl.info/"&gt;Growl&lt;/a&gt; with RSpec Autotest to keep you from having to look at your terminal all the time.&lt;/p&gt;


	&lt;p&gt;Until then&amp;#8230; have fun!&lt;/p&gt;
</description>
      <pubDate>Wed, 10 Jan 2007 11:08:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:dfc3e9d1-5548-4a55-a66b-9e36b6a07580</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/01/10/the-zen-of-auto-rspec</link>
      <category>Ruby on Rails</category>
      <category>Ruby</category>
      <category>Programming</category>
      <category>bdd</category>
      <category>rspec</category>
      <category>autotest</category>
      <category>rake</category>
      <category>subversion</category>
      <category>productivity</category>
      <category>development</category>
    </item>
    <item>
      <title>Just Go With The Flow</title>
      <description>&lt;p&gt;Jacob Harris, a very nice guy that I have the pleasure of chatting with online almost every day during the week. Not only is he a hosting customer&amp;#8230; he&amp;#8217;s my East Coast buddy that I hope to meet in person for the first time in a few months&amp;#8230; should he make it out to Portland for &lt;span class="caps"&gt;OSCON 2006&lt;/span&gt;! &lt;strong&gt;The &lt;span class="caps"&gt;PLANET ARGON&lt;/span&gt; team loves harrisj!&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Earlier this evening, I noticed that today he wrote a blog entry titled, &lt;a href="http://nimblecode.com/articles/2006/05/31/are-you-happy"&gt;Are You Happy?&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;He gives a good introduction into something that I actually had not heard of before&amp;#8230; &lt;a href="http://web.ionsys.com/~remedy/FLOW%20%20.htm"&gt;Flow&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;Jacob says, &lt;em&gt;&amp;#8220;Trying to find happiness through artificially increasing productivity is like putting the cart before the horse.&amp;#8221;&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;...trust me&amp;#8230; &lt;a href="http://nimblecode.com/articles/2006/05/31/are-you-happy"&gt;read the post&lt;/a&gt;. :-)&lt;/p&gt;
</description>
      <pubDate>Thu, 01 Jun 2006 00:24:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:186e691e-c5b7-4be8-b868-704ef6044381</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2006/06/01/just-go-with-the-flow</link>
      <category>flow</category>
      <category>productivity</category>
      <category>harrisj</category>
    </item>
  </channel>
</rss>
