<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><description>The small things in my day so I don’t clutter the Dr Nic site.
Areas of interest: Ruby, Rails, JavaScript, Editors, and my life in general.</description><title>Dr Nic's Journey</title><generator>Tumblr (3.0; @drnic)</generator><link>http://drnic.tumblr.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/DrNicsJourney" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Sarah Silverman “I’m F*cking Matt Damon” on...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/wnVJZkDuVBM&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/wnVJZkDuVBM&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Sarah Silverman “I’m F*cking Matt Damon” on Jimmy Kimmel&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/YzE-fG4ypjc/25278291</link><guid isPermaLink="false">http://drnic.tumblr.com/post/25278291</guid><pubDate>Fri, 01 Feb 2008 22:23:43 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/25278291</feedburner:origLink></item><item><title>Using Rails routes anywhere</title><description>&lt;p&gt;via &lt;a href="http://s3.amazonaws.com/drawohara.com.snippets/using_action_controller_routes_outside_of_views_or_controllers_rb.html"&gt;ara’s snippet&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#&lt;br/&gt;# this is how to use action_controller routes in a class/module other that the&lt;br/&gt;# rails' view and controller classes&lt;br/&gt;class C&lt;br/&gt;  ActionController::Routing::Routes.install_helpers C&lt;br/&gt;  def initialize&lt;br/&gt;    @home_path = home_path&lt;br/&gt;  end&lt;br/&gt;end&lt;/code&gt;&lt;/pre&gt; — &lt;a href="http://tumble.toolmantim.com/"&gt;toolmantim&lt;/a&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/zMDWtulGBYo/23929115</link><guid isPermaLink="false">http://drnic.tumblr.com/post/23929115</guid><pubDate>Wed, 16 Jan 2008 23:04:54 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/23929115</feedburner:origLink></item><item><title>"Websites can also be seen as finite-state machines that run on people. Successful websites must be..."</title><description>“&lt;p&gt;Websites can also be seen as finite-state machines that run on people. Successful websites must be well-designed machines that run on people, that don’t crash, don’t halt, and have the side-effect of bringing more people in. Websites that don’t do this will disappear.&lt;/p&gt;

&lt;p&gt;Instead of a finite-state machine, think of a website as a flowchart of motivations. For every state the user is in, there are motivations: it’s fun; it’s the next action; it saves money; it’s intriguing; I’m in flow; I need to crop the photo and I remember there’s a tool to do it on that other page; it’s pretty.&lt;br/&gt;
…&lt;br/&gt;
Users should always know their next state, how they can reach it, and why they should want to.&lt;/p&gt;”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://interconnected.org/home/2007/12/28/wrapping_up_2007"&gt;wrapping up 2007 (28 December 2007, Interconnected)&lt;/a&gt;&lt;/em&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/bTO-s7mCFfQ/22593039</link><guid isPermaLink="false">http://drnic.tumblr.com/post/22593039</guid><pubDate>Sat, 29 Dec 2007 09:49:13 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/22593039</feedburner:origLink></item><item><title>Enterprise-ready! (t-shirt)</title><description>&lt;img src="http://5.media.tumblr.com/GJACsY9nr30efop4mYIvJHen_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;b&gt;Enterprise-ready!&lt;/b&gt; (&lt;a href="http://rubyrags.com/products/2" target="_blank"&gt;t-shirt&lt;/a&gt;)&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/BAvUdIjudOs/21684654</link><guid isPermaLink="false">http://drnic.tumblr.com/post/21684654</guid><pubDate>Sun, 16 Dec 2007 00:43:21 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/21684654</feedburner:origLink></item><item><title>Low-Cost Multi-touch Whiteboard using the Wii Remote by Johnny...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/5s5EvhHy7eQ&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/5s5EvhHy7eQ&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Low-Cost Multi-touch Whiteboard using the Wii Remote by Johnny Lee&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/VEe4curCTII/21532197</link><guid isPermaLink="false">http://drnic.tumblr.com/post/21532197</guid><pubDate>Fri, 14 Dec 2007 00:28:00 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/21532197</feedburner:origLink></item><item><title>Highway Edition of Guitar Hero - via www.geekculture.com</title><description>&lt;img src="http://9.media.tumblr.com/GJACsY9nr2we6aciUAqbroAY_500.gif"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Highway Edition of Guitar Hero - via &lt;a href="http://www.geekculture.com/joyoftech/joyimages/1043.gif"&gt;&lt;a href="http://www.geekculture.com"&gt;www.geekculture.com&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/6lqKLOIh924/21463133</link><guid isPermaLink="false">http://drnic.tumblr.com/post/21463133</guid><pubDate>Thu, 13 Dec 2007 05:25:05 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/21463133</feedburner:origLink></item><item><title>Which of my projects are using Git?</title><description>&lt;p&gt;I forget which projects are on git and which are on svn. Here’s a one liner to find the git ones. &lt;/p&gt;

&lt;pre&gt;find * -maxdepth 2 | grep "/.git$" | sed -e "s/\/.git//"&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Then pipe that to &lt;code&gt;xargs&lt;/code&gt; and you can do whatever you like with the knowledge.&lt;/p&gt;
&lt;p&gt;Ahh, unix ftw. &lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/kbbzfEFnFNI/21442060</link><guid isPermaLink="false">http://drnic.tumblr.com/post/21442060</guid><pubDate>Wed, 12 Dec 2007 22:55:35 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/21442060</feedburner:origLink></item><item><title>via Kevin Clark on #caboose - Rubinius + Mongrel showing a...</title><description>&lt;img src="http://15.media.tumblr.com/GJACsY9nr2sc0l0o12no9Zgz_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;via Kevin Clark on #caboose - Rubinius + Mongrel showing a webpage    &lt;a href="http://pastie.caboo.se/paste/asset/126441/Picture_4.png"&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/AnPvKCm3Zoc/21212268</link><guid isPermaLink="false">http://drnic.tumblr.com/post/21212268</guid><pubDate>Mon, 10 Dec 2007 09:13:24 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/21212268</feedburner:origLink></item><item><title>Basejumping goes even more extreme - learning to fly?</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/kt692UuRMyg&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/kt692UuRMyg&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Basejumping goes even more extreme - learning to fly?&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/JBFmV6Si7I4/19121084</link><guid isPermaLink="false">http://drnic.tumblr.com/post/19121084</guid><pubDate>Sun, 11 Nov 2007 23:05:45 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/19121084</feedburner:origLink></item><item><title>Adam Keys was at RubyConf - as a poster on the wall (thx...</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=371590&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=371590&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=371590&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Adam Keys was at RubyConf - as a poster on the wall (thx topfunky!). BUT, nonetheless, regardless, ignorant of his lack of attendance he made and awesome awesome video for us…&lt;a href="http://tumble.therealadam.com/"&gt;&lt;/a&gt; &lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/TwAZwqftB_Q/18412070</link><guid isPermaLink="false">http://drnic.tumblr.com/post/18412070</guid><pubDate>Mon, 05 Nov 2007 13:47:08 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/18412070</feedburner:origLink></item><item><title>Hot Damn - I’ve never seen the Ruby Ruby Ruby video clip...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/b_icPpW4qnA&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/b_icPpW4qnA&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Hot Damn - I’ve never seen the Ruby Ruby Ruby video clip before. Its hot diggity. &lt;b&gt;Kaiser Chiefs - Ruby&lt;/b&gt;&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/yOE_SdWYvgA/18411559</link><guid isPermaLink="false">http://drnic.tumblr.com/post/18411559</guid><pubDate>Mon, 05 Nov 2007 13:38:00 +0100</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/18411559</feedburner:origLink></item><item><title>Your momma is hacking your SQL</title><description>&lt;img src="http://10.media.tumblr.com/15128523_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://xkcd.com/327/"&gt;Your momma is hacking your SQL&lt;/a&gt;&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/Hl0S84boLKc/15128523</link><guid isPermaLink="false">http://drnic.tumblr.com/post/15128523</guid><pubDate>Thu, 11 Oct 2007 16:04:34 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/15128523</feedburner:origLink></item><item><title>via www.pizdaus.com</title><description>&lt;img src="http://21.media.tumblr.com/14115297_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;via &lt;a href="http://www.pizdaus.com/pics/CrDkMqPi65KF.jpg"&gt;&lt;a href="http://www.pizdaus.com"&gt;www.pizdaus.com&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/AXbT3iRsTQQ/14115297</link><guid isPermaLink="false">http://drnic.tumblr.com/post/14115297</guid><pubDate>Wed, 03 Oct 2007 23:04:40 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/14115297</feedburner:origLink></item><item><title>Chasers APEC Motorcade Stunt in Sydney where they drove thru...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/TdnAaQ0n5-8&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/TdnAaQ0n5-8&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Chasers APEC Motorcade Stunt in Sydney where they drove thru $60m security up to George Bush’s hotel (via &lt;a href="http://youtube.com/user/astekcbe"&gt;astekcbe&lt;/a&gt;)&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/lSiBox5GuZM/11641789</link><guid isPermaLink="false">http://drnic.tumblr.com/post/11641789</guid><pubDate>Thu, 13 Sep 2007 09:49:42 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/11641789</feedburner:origLink></item><item><title>Testing code to the (incorrect) extreme</title><description>&lt;p&gt;&lt;pre&gt;&lt;code class="javascript"&gt;
it "should validate_presence_of digits" do
   my_model.line(7).should_read "validates_presence_of :digits" 
end
&lt;/code&gt;&lt;/pre&gt;
- Jay Levitt (&lt;a href="http://rubyforge.org/pipermail/rspec-users/2007-September/002973.html"&gt;here&lt;/a&gt;)&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/W8OojpwzTxQ/11277816</link><guid isPermaLink="false">http://drnic.tumblr.com/post/11277816</guid><pubDate>Mon, 10 Sep 2007 13:18:26 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/11277816</feedburner:origLink></item><item><title>"Ethan and Mark, we’re very happy with Prototype and script.aculo.us at 37signals, but thanks for..."</title><description>“Ethan and Mark, we’re very happy with Prototype and script.aculo.us at 37signals, but thanks for your concern. Prototype has served me quite well since I created it in early 2005.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://www.37signals.com/svn/posts/556-an-under-the-hood-look-at-the-new-backpack"&gt;SamS @ 37signals&lt;/a&gt;&lt;/em&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/qzK6DbTAi_k/8242588</link><guid isPermaLink="false">http://drnic.tumblr.com/post/8242588</guid><pubDate>Fri, 10 Aug 2007 16:09:32 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/8242588</feedburner:origLink></item><item><title>Wesabe: Firefox Uploader - awesomeness on a stick</title><description>&lt;a href="https://www.wesabe.com/page/firefox"&gt;Wesabe: Firefox Uploader - awesomeness on a stick&lt;/a&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/QjYXdv3sg2w/6722103</link><guid isPermaLink="false">http://drnic.tumblr.com/post/6722103</guid><pubDate>Wed, 25 Jul 2007 16:04:48 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/6722103</feedburner:origLink></item><item><title>Packaging a rails/ruby app</title><description>&lt;p&gt;Want to send a copy of your Rails app to someone? Our old friend Rake comes to the rescue.

Stick this in your Rails app’s Rakefile:

&lt;pre&gt;&lt;code class="ruby"&gt;
require 'rake/packagetask'
require 'rake/clean'

NAME    = File.basename(File.expand_path(File.dirname(File.expand_path(__FILE__)))) unless defined? NAME
VERS = ENV['VERSION'] || begin
  `svn info` =~ /Revision: (\d+)/
  $1
end unless defined? VERS
CLEAN.include('pkg')

Rake::PackageTask.new(NAME, VERS) do |p|
  p.need_tar = true
  p.need_zip = true
  p.package_files.include('**/*')
  p.package_files.exclude(".svn")
  p.package_files.exclude("vendor/rails")
end
&lt;/code&gt;&lt;/pre&gt;

Now run &lt;code&gt;rake package&lt;/code&gt; and it will generate tar and zip files, without edge rails included (tell them to install it themself).&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/yv4BHrFjjbY/6588690</link><guid isPermaLink="false">http://drnic.tumblr.com/post/6588690</guid><pubDate>Tue, 24 Jul 2007 08:51:10 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/6588690</feedburner:origLink></item><item><title>"Yesterday, … I tried to install the god gem. It asked me if I wanted to install the daemons..."</title><description>“Yesterday, … I tried to install the god gem. It asked me if I wanted to install the daemons gem which is a dependency, and proceeded to do so. Shortly after that the power failed, maybe the name of that gem is sacreligious after all.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Rick DeNatale on RubyGems-Dev list&lt;/em&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/IPK-2mgo8p4/6287280</link><guid isPermaLink="false">http://drnic.tumblr.com/post/6287280</guid><pubDate>Fri, 20 Jul 2007 15:55:18 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/6287280</feedburner:origLink></item><item><title>Mindmaps: of Ruby’s Array class</title><description>&lt;img src="http://1.media.tumblr.com/5961491_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://rubymm.blogspot.com/2007/07/ruby-array.html"&gt;Mindmaps: of Ruby’s Array class&lt;/a&gt;&lt;/p&gt;</description><link>http://feedproxy.google.com/~r/DrNicsJourney/~3/cJyhtgir3nw/5961491</link><guid isPermaLink="false">http://drnic.tumblr.com/post/5961491</guid><pubDate>Tue, 17 Jul 2007 09:55:00 +0200</pubDate><feedburner:origLink>http://drnic.tumblr.com/post/5961491</feedburner:origLink></item></channel></rss>
