Dr Nic's Journey

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.

Subscribe:

Dr Nic Blog:

Sarah Silverman “I’m F*cking Matt Damon” on Jimmy Kimmel

Using Rails routes anywhere

via ara’s snippet

#
# this is how to use action_controller routes in a class/module other that the
# rails' view and controller classes
class C
ActionController::Routing::Routes.install_helpers C
def initialize
@home_path = home_path
end
end
toolmantim

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.

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.

Users should always know their next state, how they can reach it, and why they should want to.

wrapping up 2007 (28 December 2007, Interconnected)
Enterprise-ready! (t-shirt)

Enterprise-ready! (t-shirt)

Low-Cost Multi-touch Whiteboard using the Wii Remote by Johnny Lee

Highway Edition of Guitar Hero - via www.geekculture.com

Highway Edition of Guitar Hero - via www.geekculture.com

Which of my projects are using Git?

I forget which projects are on git and which are on svn. Here’s a one liner to find the git ones.

find * -maxdepth 2 | grep "/.git$" | sed -e "s/\/.git//"

 

Then pipe that to xargs and you can do whatever you like with the knowledge.

Ahh, unix ftw. 

via Kevin Clark on #caboose - Rubinius + Mongrel showing a webpage    

via Kevin Clark on #caboose - Rubinius + Mongrel showing a webpage    

Basejumping goes even more extreme - learning to fly?

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…