<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><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><item><title>Sarah Silverman “I’m F*cking Matt Damon” on...</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/wnVJZkDuVBM?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&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://drnic.tumblr.com/post/25278291</link><guid>http://drnic.tumblr.com/post/25278291</guid><pubDate>Fri, 01 Feb 2008 22:23:43 +0100</pubDate></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&amp;#8217;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://drnic.tumblr.com/post/23929115</link><guid>http://drnic.tumblr.com/post/23929115</guid><pubDate>Wed, 16 Jan 2008 23:04:54 +0100</pubDate></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://drnic.tumblr.com/post/22593039</link><guid>http://drnic.tumblr.com/post/22593039</guid><pubDate>Sat, 29 Dec 2007 09:49:13 +0100</pubDate></item><item><title>Enterprise-ready! (t-shirt)</title><description>&lt;img src="http://25.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://drnic.tumblr.com/post/21684654</link><guid>http://drnic.tumblr.com/post/21684654</guid><pubDate>Sun, 16 Dec 2007 00:43:21 +0100</pubDate></item><item><title>Low-Cost Multi-touch Whiteboard using the Wii Remote by Johnny...</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/5s5EvhHy7eQ?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&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://drnic.tumblr.com/post/21532197</link><guid>http://drnic.tumblr.com/post/21532197</guid><pubDate>Fri, 14 Dec 2007 00:28:00 +0100</pubDate></item><item><title>Highway Edition of Guitar Hero - via www.geekculture.com</title><description>&lt;img src="http://25.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://drnic.tumblr.com/post/21463133</link><guid>http://drnic.tumblr.com/post/21463133</guid><pubDate>Thu, 13 Dec 2007 05:25:05 +0100</pubDate></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&amp;#8217;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://drnic.tumblr.com/post/21442060</link><guid>http://drnic.tumblr.com/post/21442060</guid><pubDate>Wed, 12 Dec 2007 22:55:35 +0100</pubDate></item><item><title>via Kevin Clark on #caboose - Rubinius + Mongrel showing a...</title><description>&lt;img src="http://25.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://drnic.tumblr.com/post/21212268</link><guid>http://drnic.tumblr.com/post/21212268</guid><pubDate>Mon, 10 Dec 2007 09:13:24 +0100</pubDate></item><item><title>Basejumping goes even more extreme - learning to fly?</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/kt692UuRMyg?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Basejumping goes even more extreme - learning to fly?&lt;/p&gt;</description><link>http://drnic.tumblr.com/post/19121084</link><guid>http://drnic.tumblr.com/post/19121084</guid><pubDate>Sun, 11 Nov 2007 23:05:45 +0100</pubDate></item><item><title>Adam Keys was at RubyConf - as a poster on the wall (thx...</title><description>&lt;iframe src="http://player.vimeo.com/video/371590" width="400" height="225" frameborder="0"&gt;&lt;/iframe&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://drnic.tumblr.com/post/18412070</link><guid>http://drnic.tumblr.com/post/18412070</guid><pubDate>Mon, 05 Nov 2007 13:47:08 +0100</pubDate></item><item><title>Hot Damn - I’ve never seen the Ruby Ruby Ruby video clip...</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/b_icPpW4qnA?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&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://drnic.tumblr.com/post/18411559</link><guid>http://drnic.tumblr.com/post/18411559</guid><pubDate>Mon, 05 Nov 2007 13:38:00 +0100</pubDate></item><item><title>Your momma is hacking your SQL</title><description>&lt;img src="http://24.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://drnic.tumblr.com/post/15128523</link><guid>http://drnic.tumblr.com/post/15128523</guid><pubDate>Thu, 11 Oct 2007 16:04:34 +0200</pubDate></item><item><title>via www.pizdaus.com</title><description>&lt;img src="http://24.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://drnic.tumblr.com/post/14115297</link><guid>http://drnic.tumblr.com/post/14115297</guid><pubDate>Wed, 03 Oct 2007 23:04:40 +0200</pubDate></item><item><title>Chasers APEC Motorcade Stunt in Sydney where they drove thru...</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/TdnAaQ0n5-8?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&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://drnic.tumblr.com/post/11641789</link><guid>http://drnic.tumblr.com/post/11641789</guid><pubDate>Thu, 13 Sep 2007 09:49:42 +0200</pubDate></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://drnic.tumblr.com/post/11277816</link><guid>http://drnic.tumblr.com/post/11277816</guid><pubDate>Mon, 10 Sep 2007 13:18:26 +0200</pubDate></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://drnic.tumblr.com/post/8242588</link><guid>http://drnic.tumblr.com/post/8242588</guid><pubDate>Fri, 10 Aug 2007 16:09:32 +0200</pubDate></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://drnic.tumblr.com/post/6722103</link><guid>http://drnic.tumblr.com/post/6722103</guid><pubDate>Wed, 25 Jul 2007 16:04:48 +0200</pubDate></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&amp;#8217;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://drnic.tumblr.com/post/6588690</link><guid>http://drnic.tumblr.com/post/6588690</guid><pubDate>Tue, 24 Jul 2007 08:51:10 +0200</pubDate></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://drnic.tumblr.com/post/6287280</link><guid>http://drnic.tumblr.com/post/6287280</guid><pubDate>Fri, 20 Jul 2007 15:55:18 +0200</pubDate></item><item><title>Mindmaps: of Ruby’s Array class</title><description>&lt;img src="http://24.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://drnic.tumblr.com/post/5961491</link><guid>http://drnic.tumblr.com/post/5961491</guid><pubDate>Tue, 17 Jul 2007 09:55:00 +0200</pubDate></item></channel></rss>

