<?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>Web developer and entrepreneur in Woburn, MA.</description><title>Ryan Twomey</title><generator>Tumblr (3.0; @ryantwomey)</generator><link>http://ryantwomey.com/</link><item><title>Check out @cwalcott&amp;#8217;s latest screencast on UIAlertView Styles in iOS...</title><description>&lt;p&gt;Check out @cwalcott&amp;#8217;s latest screencast on UIAlertView Styles in iOS 5&amp;#160;&lt;a href="http://t.co/YGsL1PcI"&gt;http://t.co/YGsL1PcI&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/12062563307</link><guid>http://ryantwomey.com/post/12062563307</guid><pubDate>Sat, 29 Oct 2011 05:14:56 -0400</pubDate></item><item><title>Follow up to yesterday&amp;#8217;s tutorial on Core Location: how to use an NSTimer to prevent run-away...</title><description>&lt;p&gt;Follow up to yesterday&amp;#8217;s tutorial on Core Location: how to use an NSTimer to prevent run-away updates &lt;a href="http://t.co/egC402rY"&gt;http://t.co/egC402rY&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/12016249246</link><guid>http://ryantwomey.com/post/12016249246</guid><pubDate>Fri, 28 Oct 2011 01:58:35 -0400</pubDate></item><item><title>Just posted a tutorial on CoreLocation in iOS for iOSDevNotes http://t.co/8at1xthj</title><description>&lt;p&gt;Just posted a tutorial on CoreLocation in iOS for iOSDevNotes &lt;a href="http://t.co/8at1xthj"&gt;http://t.co/8at1xthj&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/11966484776</link><guid>http://ryantwomey.com/post/11966484776</guid><pubDate>Wed, 26 Oct 2011 22:55:45 -0400</pubDate></item><item><title>RT @qrush: Extreme commenting, or, how not to write code: http://t.co/VhwGnzTb</title><description>&lt;p&gt;RT @qrush: Extreme commenting, or, how not to write code: &lt;a href="http://t.co/VhwGnzTb"&gt;http://t.co/VhwGnzTb&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/10484802287</link><guid>http://ryantwomey.com/post/10484802287</guid><pubDate>Wed, 21 Sep 2011 17:25:54 -0400</pubDate></item><item><title>Let&amp;#8217;s Build NSAutoreleasePool - cocoaheads: http://t.co/iPkcT8N</title><description>&lt;p&gt;Let&amp;#8217;s Build NSAutoreleasePool - cocoaheads: &lt;a href="http://t.co/iPkcT8N"&gt;http://t.co/iPkcT8N&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/10022264791</link><guid>http://ryantwomey.com/post/10022264791</guid><pubDate>Sat, 10 Sep 2011 03:34:17 -0400</pubDate></item><item><title>Let's Build NSAutoreleasePool</title><description>&lt;a href="http://www.mikeash.com/pyblog/friday-qa-2011-09-02-lets-build-nsautoreleasepool.html"&gt;Let's Build NSAutoreleasePool&lt;/a&gt;: &lt;p&gt;&lt;a href="http://cocoaheads.tumblr.com/post/9950507527"&gt;cocoaheads&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;It’s that time again: time for more programming craziness. Dallas Brown suggested that I talk about how&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&lt;code&gt;NSAutoreleasePool&lt;/code&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;works behind the scenes. I decided that the best way to do that would be to simply reimplement it, and that is what I’ll discuss today.&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://ryantwomey.com/post/10003631223</link><guid>http://ryantwomey.com/post/10003631223</guid><pubDate>Fri, 09 Sep 2011 15:54:17 -0400</pubDate><category>apple</category><category>cocoa</category><category>objective-c</category><category>xcode</category></item><item><title>Want: Pocket Chain Saw http://t.co/btPiBy8</title><description>&lt;p&gt;Want: Pocket Chain Saw &lt;a href="http://t.co/btPiBy8"&gt;http://t.co/btPiBy8&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/9481569576</link><guid>http://ryantwomey.com/post/9481569576</guid><pubDate>Sun, 28 Aug 2011 01:44:01 -0400</pubDate></item><item><title>RT @engadget: SETI comes back from the financial dead, gets a check from Jodie Foster...</title><description>&lt;p&gt;RT @engadget: SETI comes back from the financial dead, gets a check from Jodie Foster &lt;a href="http://engt.co/nTdfz7"&gt;http://engt.co/nTdfz7&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/8886313950</link><guid>http://ryantwomey.com/post/8886313950</guid><pubDate>Sun, 14 Aug 2011 00:53:06 -0400</pubDate></item><item><title>Lion spaces is going to be very had to get used to. Liking just about everything else though.</title><description>&lt;p&gt;Lion spaces is going to be very had to get used to. Liking just about everything else though.&lt;/p&gt;</description><link>http://ryantwomey.com/post/7881629015</link><guid>http://ryantwomey.com/post/7881629015</guid><pubDate>Thu, 21 Jul 2011 10:56:51 -0400</pubDate></item><item><title>“@technoweenie: en(n+)d is amazing: http://t.co/Y5tu4a3” I really don&amp;#8217;t like this proposal.</title><description>&lt;p&gt;“@technoweenie: en(n+)d is amazing: &lt;a href="http://t.co/Y5tu4a3%E2%80%9D"&gt;http://t.co/Y5tu4a3”&lt;/a&gt; I really don&amp;#8217;t like this proposal.&lt;/p&gt;</description><link>http://ryantwomey.com/post/7814645422</link><guid>http://ryantwomey.com/post/7814645422</guid><pubDate>Tue, 19 Jul 2011 20:35:10 -0400</pubDate></item><item><title>Why has it taken me this long to switch from bash to zsh? http://t.co/mXrqxSt</title><description>&lt;p&gt;Why has it taken me this long to switch from bash to zsh? &lt;a href="http://t.co/mXrqxSt"&gt;http://t.co/mXrqxSt&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/7672460307</link><guid>http://ryantwomey.com/post/7672460307</guid><pubDate>Sat, 16 Jul 2011 02:12:27 -0400</pubDate></item><item><title>Finding myself clicking the tops of windows hoping it will scroll to the top.</title><description>&lt;p&gt;Finding myself clicking the tops of windows hoping it will scroll to the top.&lt;/p&gt;</description><link>http://ryantwomey.com/post/7376161667</link><guid>http://ryantwomey.com/post/7376161667</guid><pubDate>Fri, 08 Jul 2011 07:20:38 -0400</pubDate></item><item><title>Namespacing models in Rails 3 using autoload_paths</title><description>&lt;p&gt;When working in a Rails app with lots of models, I&amp;#8217;m often tempted to clean things up by namespacing.  A project I&amp;#8217;m currently working on has some 54 models and that number will only increase.&lt;/p&gt;
&lt;p&gt;The problem with namespacing is that it introduces a lot of additional ugliness in the models.  You have to change the class names and include :class_name attributes in order to find all associations.&lt;/p&gt;
&lt;p&gt;A better way seemed to be using Rails 3&amp;#8217;s autoload_paths.  For instance, if I organized my models into a bunch of subdirectories, then I could do something like the following in my environment.rb file:&lt;/p&gt;
&lt;pre&gt;config.autoload_paths += %W("#{Rails.root}/app/models/**/**")&lt;/pre&gt;
&lt;p&gt;This works great when in the production environment, but not in development.  Whenever loading an association, I would get something along the lines of &amp;#8220;Expected &amp;#8230; to define &amp;#8230;&amp;#8221;.  I suspect the issue is Rails reloading models on-demand, and getting confused.  In production, all the models are loaded once.&lt;/p&gt;
&lt;p&gt;I don&amp;#8217;t have a solution yet, unfortunately.&lt;/p&gt;</description><link>http://ryantwomey.com/post/7343860667</link><guid>http://ryantwomey.com/post/7343860667</guid><pubDate>Thu, 07 Jul 2011 11:42:14 -0400</pubDate></item><item><title>RT @dhh: The Groupon financials are really disappointing :(. I thought they were making money hand...</title><description>&lt;p&gt;RT @dhh: The Groupon financials are really disappointing :(. I thought they were making money hand over fist. But they&amp;#8217;re loosing $100M+ &amp;#8230;&lt;/p&gt;</description><link>http://ryantwomey.com/post/6166822553</link><guid>http://ryantwomey.com/post/6166822553</guid><pubDate>Sat, 04 Jun 2011 05:03:41 -0400</pubDate></item><item><title>Long past time to eliminate software patents. Unfortunately, Congress&amp;#8217; proposed...</title><description>&lt;p&gt;Long past time to eliminate software patents. Unfortunately, Congress&amp;#8217; proposed &amp;#8220;reforms&amp;#8221; will likely compound issues. &lt;a href="http://t.co/gOahv1F"&gt;http://t.co/gOahv1F&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/6100050239</link><guid>http://ryantwomey.com/post/6100050239</guid><pubDate>Thu, 02 Jun 2011 06:15:09 -0400</pubDate></item><item><title>And in other news, Twitter continues its crusade against 3rd-party developers....</title><description>&lt;p&gt;And in other news, Twitter continues its crusade against 3rd-party developers. &lt;a href="http://pulsene.ws/1MFrG"&gt;http://pulsene.ws/1MFrG&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/6040056056</link><guid>http://ryantwomey.com/post/6040056056</guid><pubDate>Tue, 31 May 2011 16:30:11 -0400</pubDate></item><item><title>Why does Xcode 4 not automatically add the appid to entitlements? Xcode 3 did it right.</title><description>&lt;p&gt;Why does Xcode 4 not automatically add the appid to entitlements? Xcode 3 did it right.&lt;/p&gt;</description><link>http://ryantwomey.com/post/5959264890</link><guid>http://ryantwomey.com/post/5959264890</guid><pubDate>Sun, 29 May 2011 08:33:48 -0400</pubDate></item><item><title>Go #Bruins!</title><description>&lt;p&gt;Go #Bruins!&lt;/p&gt;</description><link>http://ryantwomey.com/post/5925514903</link><guid>http://ryantwomey.com/post/5925514903</guid><pubDate>Sat, 28 May 2011 09:41:44 -0400</pubDate></item><item><title>So tired of the buzzword &amp;#8220;consume&amp;#8221;. It&amp;#8217;s often used incorrectly and there&amp;#8217;s...</title><description>&lt;p&gt;So tired of the buzzword &amp;#8220;consume&amp;#8221;. It&amp;#8217;s often used incorrectly and there&amp;#8217;s almost always a better word to use instead.&lt;/p&gt;</description><link>http://ryantwomey.com/post/5865016121</link><guid>http://ryantwomey.com/post/5865016121</guid><pubDate>Thu, 26 May 2011 13:47:49 -0400</pubDate></item><item><title>NASA to Abandon Mars Spirit Rover http://pulsene.ws/1IEj9</title><description>&lt;p&gt;NASA to Abandon Mars Spirit Rover &lt;a href="http://pulsene.ws/1IEj9"&gt;http://pulsene.ws/1IEj9&lt;/a&gt;&lt;/p&gt;</description><link>http://ryantwomey.com/post/5832195480</link><guid>http://ryantwomey.com/post/5832195480</guid><pubDate>Wed, 25 May 2011 13:21:28 -0400</pubDate></item></channel></rss>

