<?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 blog of Rob Cameron - programmer, woodworker and husband.</description><title>Riding the Clutch</title><generator>Tumblr (3.0; @ridingtheclutch)</generator><link>http://stream.ridingtheclutch.com/</link><item><title>Finished the dresser</title><description>&lt;p&gt;Finished the dresser for the baby&amp;#8217;s room!&lt;/p&gt;
&lt;p&gt;&lt;img height="374" width="500" alt="Dresser" src="http://farm5.static.flickr.com/4113/5087094052_700ffa4634.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;More photos here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/cannikin/5087094052/in/set-72157624653668266/"&gt;http://www.flickr.com/photos/cannikin/5087094052/in/set-72157624653668266/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And video here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=bNvZ1fq8Dtk&amp;amp;hd=1"&gt;http://www.youtube.com/watch?v=bNvZ1fq8Dtk&amp;amp;hd=1&lt;/a&gt;&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/1329258812</link><guid>http://stream.ridingtheclutch.com/post/1329258812</guid><pubDate>Sat, 16 Oct 2010 11:15:39 -0700</pubDate></item><item><title>Upload filesize limit and nginx</title><description>&lt;p&gt;If you&amp;#8217;re trying to upload a file to a server running nginx and you&amp;#8217;re getting some weird errors, check this. By default nginx only lets you have file uploads that are a max of two megs before it gives up. It will return something like &amp;#8220;413: Entity too large.&amp;#8221; When that happens head over to your nginx.conf file (or whichever config file contains your &lt;code&gt;server&lt;/code&gt; directive) and add the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;server {
  listen 80;
  server_name mycomain.com;
  root /var/www/myapp/public;

  client_max_body_size 10M;
  ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That directive would now tell nginx to allow a ten megabyte upload. Modify to your liking!&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/1308952461</link><guid>http://stream.ridingtheclutch.com/post/1308952461</guid><pubDate>Wed, 13 Oct 2010 16:29:00 -0700</pubDate><category>web server</category><category>nginx</category></item><item><title>Using Rails 3 route helpers outside of a controller/view</title><description>&lt;p&gt;I&amp;#8217;m working on a job for &lt;a href="http://github.com/tobi/delayed_job"&gt;delayed_job&lt;/a&gt; which sends an email including a link back to the site. I wanted to use Rails&amp;#8217;s built-in &lt;a href="http://guides.rubyonrails.org/routing.html"&gt;URL helpers&lt;/a&gt; like &lt;code&gt;new_post_path&lt;/code&gt; and &lt;code&gt;edit_blog_url&lt;/code&gt;. After a little poking around I found this method call which gives you access to all the helpers from anywhere:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  Rails.application.routes.url_helpers
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Append your helper call to that method chain to get the final string:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  Rails.application.routes.url_helpers.new_post_path 
  =&amp;gt; '/posts/new'

  Rails.application.routes.url_helpers.edit_person_url(@person, :host =&amp;gt; 'server.com') 
  =&amp;gt; 'http://server.com/people/3/edit'
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you use the &lt;code&gt;_url&lt;/code&gt; version of the helper you&amp;#8217;ll need to provide the host at the same time you include any other parameters that helper might need.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/1299774075</link><guid>http://stream.ridingtheclutch.com/post/1299774075</guid><pubDate>Tue, 12 Oct 2010 10:49:28 -0700</pubDate><category>ruby</category><category>rails</category></item><item><title>Three drawers down, three to go.</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l9ey5ixYOR1qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Three drawers down, three to go.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/1198902887</link><guid>http://stream.ridingtheclutch.com/post/1198902887</guid><pubDate>Mon, 27 Sep 2010 09:07:25 -0700</pubDate><category>woodworking</category></item><item><title>Whole bunch of dovetails.</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l8phdczX3V1qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Whole bunch of dovetails.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/1117256337</link><guid>http://stream.ridingtheclutch.com/post/1117256337</guid><pubDate>Mon, 13 Sep 2010 15:05:17 -0700</pubDate></item><item><title>Cranked out a drawer today.</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l7lfl4wI9B1qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Cranked out a drawer today.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/997021795</link><guid>http://stream.ridingtheclutch.com/post/997021795</guid><pubDate>Mon, 23 Aug 2010 00:02:02 -0700</pubDate></item><item><title>My new pride and joy! Lie-Nielsen 8pt panel saw. Getting broken...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l745iqsy721qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;My new pride and joy! Lie-Nielsen 8pt panel saw. Getting broken in this weekend building the dresser.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/949413089</link><guid>http://stream.ridingtheclutch.com/post/949413089</guid><pubDate>Fri, 13 Aug 2010 16:05:38 -0700</pubDate><category>woodworking</category></item><item><title>"It is the nature of all greatness not to be exact."</title><description>“It is the nature of all greatness not to be exact.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Edmund Burke&lt;/em&gt;</description><link>http://stream.ridingtheclutch.com/post/930548450</link><guid>http://stream.ridingtheclutch.com/post/930548450</guid><pubDate>Mon, 09 Aug 2010 22:42:19 -0700</pubDate></item><item><title>The Camera+ secret cypher and hidden feature</title><description>&lt;p&gt;(If all you care about is what the link is and does, skip to the end. The rest of the this post is how I went about figuring out the cypher.)&lt;/p&gt;
&lt;p&gt;Earlier today, &lt;a href="http://twitter.com/taptaptap"&gt;@taptaptap&lt;/a&gt; (the company that created the &lt;a href="http://campl.us/"&gt;Camera+&lt;/a&gt; iPhone app) tweeted the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;For those of you who like puzzles (and doors besides the front)… pnzcyhf://ranoyribyhzrfanc {this tweet will self-destruct in 30 minutes}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Of course that URL makes no sense. Or does it? I figured they would have to make this cypher somewhat easy if the expected any lay person to be able to figure it out. It probably wouldn&amp;#8217;t translate into a standard &amp;#8220;http&amp;#8221; link because there were 7 characters before the ://  Also, there were no decimals after the //, so I figured it wasn&amp;#8217;t a standard website.&lt;/p&gt;
&lt;p&gt;The iPhone (and Safari in general) support special URLs besides the standard ones like HTTP and FTP. On the iPhone you can have your app register for certain URLs &amp;#8212; when you open that link in Safari it will go ahead launch your app. There are seven letters before the :. &amp;#8220;Camplus&amp;#8221; also contains seven letters. We&amp;#8217;re off to a good start!&lt;/p&gt;
&lt;p&gt;The simplest cyphers there are involve simply moving the alphabet a few letters (officially called &amp;#8220;monoalphabetic substitution ciphers&amp;#8221;). For example, to encrypt &amp;#8220;rob&amp;#8221; using a single letter alphabet &amp;#8220;move&amp;#8221;,  you look ahead one letter:  &amp;#8221;r&amp;#8221; becomes &amp;#8220;s,&amp;#8221; &amp;#8220;o&amp;#8221; becomes &amp;#8220;p&amp;#8221; and &amp;#8220;b&amp;#8221; becomes &amp;#8220;c&amp;#8221;: spc.&lt;/p&gt;
&lt;p&gt;&amp;#8220;c&amp;#8221; and &amp;#8220;a&amp;#8221; are two letters apart and so are &amp;#8220;p&amp;#8221; and &amp;#8220;n.&amp;#8221; After a quick calculation I found that both of these are thirteen letters away from &amp;#8220;c&amp;#8221; and &amp;#8220;a.&amp;#8221; I found a &lt;a href="http://www.simonsingh.net/The_Black_Chamber/generalsubstitutionWithMenu.html"&gt;website&lt;/a&gt; lets you quickly encrypt and decrypt these kinds of cyphers Once I plugged in the full alphabet rotated by 13 characters, voilà:&lt;/p&gt;
&lt;p&gt;&lt;a href="camplus://enablevolumesnap"&gt;camplus://enablevolumesnap&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Clicking that in your iPhone (assuming you have Camera+ installed) will open Camera+ and let you use the volume buttons to take photos! An official version of the app containing this feature was just &lt;a href="http://taptaptap.com/blog/cameraplus-volumesnap-rejected/"&gt;rejected by Apple&lt;/a&gt;. Ironically, the taptaptap guys make a point of saying that several developers who have tried to sneak in features like this have been outright banned from developing apps ever again! I guess they&amp;#8217;re going to take their chances. :)&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/929250575</link><guid>http://stream.ridingtheclutch.com/post/929250575</guid><pubDate>Mon, 09 Aug 2010 17:22:55 -0700</pubDate><category>iphone</category></item><item><title>Dresser halves are together along with a top!</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l6v5bkbyNt1qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Dresser halves are together along with a top!&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/924900866</link><guid>http://stream.ridingtheclutch.com/post/924900866</guid><pubDate>Sun, 08 Aug 2010 19:23:02 -0700</pubDate><category>woodworking</category></item><item><title>The greatest tool chest ever made.</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/C9QaFTI2F9c?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;The greatest tool chest ever made.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/903785156</link><guid>http://stream.ridingtheclutch.com/post/903785156</guid><pubDate>Wed, 04 Aug 2010 11:07:12 -0700</pubDate><category>woodworking</category></item><item><title>Build an app in under 10k</title><description>&lt;a href="http://10k.aneventapart.com/Entry/44"&gt;Build an app in under 10k&lt;/a&gt;: &lt;p&gt;My entry for the 10k Apart competition is up! Build a web app in 10,240 bytes of code or less. It’s harder than it sounds!&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/896799864</link><guid>http://stream.ridingtheclutch.com/post/896799864</guid><pubDate>Mon, 02 Aug 2010 23:21:16 -0700</pubDate><category>html</category><category>javascript</category><category>css</category></item><item><title>Thoughts on woodworking</title><description>&lt;a href="http://www.dearlindsaylohan.com/post/857634152/dear-lindsay-lohan-sunday-july-25th-2010"&gt;Thoughts on woodworking&lt;/a&gt;: &lt;p&gt;This guy wrote a postcard to Lindsay Lohan every day she was in prison. Here was an interesting one with his thoughts on woodworking…&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/896218227</link><guid>http://stream.ridingtheclutch.com/post/896218227</guid><pubDate>Mon, 02 Aug 2010 20:40:32 -0700</pubDate><category>woodworking</category></item><item><title>Rails for the dresser mortised into the legs.</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l657kj1Uu81qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Rails for the dresser mortised into the legs.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/859267280</link><guid>http://stream.ridingtheclutch.com/post/859267280</guid><pubDate>Sun, 25 Jul 2010 19:14:13 -0700</pubDate><category>woodworking</category></item><item><title>After a marathon of jointing and planing, parts for 8 dust...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l5g80puz811qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;After a marathon of jointing and planing, parts for 8 dust panels are ready to go.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/802162787</link><guid>http://stream.ridingtheclutch.com/post/802162787</guid><pubDate>Mon, 12 Jul 2010 07:23:00 -0700</pubDate><category>woodworking</category></item><item><title>12” board sawn by hand and eye - not bad!</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l5eyjzSCKB1qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;12” board sawn by hand and eye - not bad!&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/799288140</link><guid>http://stream.ridingtheclutch.com/post/799288140</guid><pubDate>Sun, 11 Jul 2010 15:01:00 -0700</pubDate><category>woodworking</category></item><item><title>What happens when I work at home.</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l5bmasR6Wo1qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;What happens when I work at home.&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/791916000</link><guid>http://stream.ridingtheclutch.com/post/791916000</guid><pubDate>Fri, 09 Jul 2010 19:43:50 -0700</pubDate></item><item><title>Bandsaw has arrived!</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_l5b4jumLLH1qccavzo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Bandsaw has arrived!&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/790708537</link><guid>http://stream.ridingtheclutch.com/post/790708537</guid><pubDate>Fri, 09 Jul 2010 13:20:31 -0700</pubDate><category>woodworking</category></item><item><title>"The known is finite, the unknown is infinite; intellectually we stand on an islet in the midst of an..."</title><description>“The known is finite, the unknown is infinite; intellectually we stand on an islet in the midst of an illimitable ocean of inexplicability. Our business in every generation is to reclaim a little more land.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;T.H. Huxley&lt;/em&gt;</description><link>http://stream.ridingtheclutch.com/post/787913068</link><guid>http://stream.ridingtheclutch.com/post/787913068</guid><pubDate>Thu, 08 Jul 2010 20:49:27 -0700</pubDate></item><item><title>Random photo of me at work</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l584g238uM1qccavzo1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Random photo of me at work&lt;/p&gt;</description><link>http://stream.ridingtheclutch.com/post/784031520</link><guid>http://stream.ridingtheclutch.com/post/784031520</guid><pubDate>Wed, 07 Jul 2010 22:26:25 -0700</pubDate></item></channel></rss>

