<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pivotal Labs &#187; Andrew Kitchen</title>
	<atom:link href="http://pivotallabs.com/author/akitchen/feed/" rel="self" type="application/rss+xml" />
	<link>http://pivotallabs.com</link>
	<description>Agility Developed</description>
	<lastBuildDate>Fri, 17 May 2013 20:10:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Meanwhile, over in Objective-C land</title>
		<link>http://pivotallabs.com/meanwhile-over-in-objective-c-land/</link>
		<comments>http://pivotallabs.com/meanwhile-over-in-objective-c-land/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 03:56:00 +0000</pubDate>
		<dc:creator>Andrew Kitchen</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[cedar]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[twui]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/meanwhile-over-in-objective-c-land/</guid>
		<description><![CDATA[<p><p>Two new interesting open-source Objective-C frameworks bookended our week this week:</p>

<p>First, Peter Kim sent a message to the <a href="http://groups.google.com/group/cedar-discuss">Cedar-discuss</a> mailing list to introduce us to his new matcher framework <a href="https://github.com/petejkim/expecta">Expecta</a>.  Now, instead of OCHamcrest's <code>assertThatBool&#40;maybe, equalToBool&#40;NO&#41;&#41;</code> shenanigans one can simply <code>expect&#40;2+2&#41;.toEqual&#40;4&#41;</code>;  There's also a nice DSL for implementing custom matchers for objects.</p>

<p>Excited about the possibilities, <a href="http://pivotallabs.com/users/kurtis/profile">Kurtis</a> and I spiked on implementing a set of custom matchers for commonly-used Cocoa structs such as CGPoint, something we have found lacking in current tools and testing patterns.  Our entire project team looks forward to writing more tests using Expecta.</p>

<p>Also, Twitter Engineering just announced <a href="http://engineering.twitter.com/2011/07/starting-today-twitter-is-offering-twui.html">TwUI</a>, a new Core Animation-based UI framework for OS X.  Fun times.</p> <a href="http://pivotallabs.com/meanwhile-over-in-objective-c-land/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/meanwhile-over-in-objective-c-land/">Meanwhile, over in Objective-C land</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Two new interesting open-source Objective-C frameworks bookended our week this week:</p>
<p>First, Peter Kim sent a message to the <a href="http://groups.google.com/group/cedar-discuss">Cedar-discuss</a> mailing list to introduce us to his new matcher framework <a href="https://github.com/petejkim/expecta">Expecta</a>.  Now, instead of OCHamcrest&#8217;s <code>assertThatBool&#40;maybe, equalToBool&#40;NO&#41;&#41;</code> shenanigans one can simply <code>expect&#40;2+2&#41;.toEqual&#40;4&#41;</code>;  There&#8217;s also a nice DSL for implementing custom matchers for objects.</p>
<p>Excited about the possibilities, <a href="http://pivotallabs.com/users/kurtis/profile">Kurtis</a> and I spiked on implementing a set of custom matchers for commonly-used Cocoa structs such as CGPoint, something we have found lacking in current tools and testing patterns.  Our entire project team looks forward to writing more tests using Expecta.</p>
<p>Also, Twitter Engineering just announced <a href="http://engineering.twitter.com/2011/07/starting-today-twitter-is-offering-twui.html">TwUI</a>, a new Core Animation-based UI framework for OS X.  Fun times.</p>
<p>The post <a href="http://pivotallabs.com/meanwhile-over-in-objective-c-land/">Meanwhile, over in Objective-C land</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/meanwhile-over-in-objective-c-land/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 5/19/2011: Down on the form</title>
		<link>http://pivotallabs.com/standup-5-19-2011-down-on-the-form/</link>
		<comments>http://pivotallabs.com/standup-5-19-2011-down-on-the-form/#comments</comments>
		<pubDate>Thu, 19 May 2011 14:35:00 +0000</pubDate>
		<dc:creator>Andrew Kitchen</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-5-19-2011-down-on-the-form/</guid>
		<description><![CDATA[<p><h2>Help</h2>

<blockquote>
    <p><em>"What does it take to get formtastic and paperclip working together out of the box?"</em></p>
</blockquote>

<p>An enquiring Pivot would like to know.</p>

<h2>Interesting</h2>

<blockquote>
    <p>*"Did you know Skype history is regex-aware?"</p>
</blockquote>

<p>Now <a href="http://hints.macworld.com/article.php?story=20090317065118803">go ahead and correct yourself</a> before resending that message...</p> <a href="http://pivotallabs.com/standup-5-19-2011-down-on-the-form/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-5-19-2011-down-on-the-form/">Standup 5/19/2011: Down on the form</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Help</h2>
<blockquote>
<p><em>&#8220;What does it take to get formtastic and paperclip working together out of the box?&#8221;</em></p>
</blockquote>
<p>An enquiring Pivot would like to know.</p>
<h2>Interesting</h2>
<blockquote>
<p>*&#8221;Did you know Skype history is regex-aware?&#8221;</p>
</blockquote>
<p>Now <a href="http://hints.macworld.com/article.php?story=20090317065118803">go ahead and correct yourself</a> before resending that message&#8230;</p>
<p>The post <a href="http://pivotallabs.com/standup-5-19-2011-down-on-the-form/">Standup 5/19/2011: Down on the form</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-5-19-2011-down-on-the-form/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Standup 5/17/2011 &#8212; You can&#039;t un-ring the bell</title>
		<link>http://pivotallabs.com/standup-3-17-2011-you-can-t-un-ring-the-bell-2/</link>
		<comments>http://pivotallabs.com/standup-3-17-2011-you-can-t-un-ring-the-bell-2/#comments</comments>
		<pubDate>Tue, 17 May 2011 14:20:00 +0000</pubDate>
		<dc:creator>Andrew Kitchen</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-3-17-2011-you-can-t-un-ring-the-bell/</guid>
		<description><![CDATA[<p><h2>Help!</h2>

<p>heroku_san + autotagger >>> anyone?  anyone?  Ken wants to talk to you.</p>

<h2>Half help, half interesting</h2>

<p>versions in .rvmrc -- use them.  If you're simply using ree@gemset things might fall apart after an upgrade.  A better practice would be to use bundler, which will be more reliable in reinstalling your required gems if your ruby is upgraded.</p>

<h2>Totally interesting</h2>

<p>Pair eXchange at Pivotal SF tonight.  Bring your side project and your thinking brain, and look forward to some fun pair programming!</p> <a href="http://pivotallabs.com/standup-3-17-2011-you-can-t-un-ring-the-bell-2/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-3-17-2011-you-can-t-un-ring-the-bell-2/">Standup 5/17/2011 &#8212; You can&#039;t un-ring the bell</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Help!</h2>
<p>heroku_san + autotagger >>> anyone?  anyone?  Ken wants to talk to you.</p>
<h2>Half help, half interesting</h2>
<p>versions in .rvmrc &#8212; use them.  If you&#8217;re simply using ree@gemset things might fall apart after an upgrade.  A better practice would be to use bundler, which will be more reliable in reinstalling your required gems if your ruby is upgraded.</p>
<h2>Totally interesting</h2>
<p>Pair eXchange at Pivotal SF tonight.  Bring your side project and your thinking brain, and look forward to some fun pair programming!</p>
<p>The post <a href="http://pivotallabs.com/standup-3-17-2011-you-can-t-un-ring-the-bell-2/">Standup 5/17/2011 &#8212; You can&#039;t un-ring the bell</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-3-17-2011-you-can-t-un-ring-the-bell-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source Development Workshop &#8212; Thursday, October 28 at 6:30PM</title>
		<link>http://pivotallabs.com/open-source-development-workshop-thursday-october-28-at-6-30pm/</link>
		<comments>http://pivotallabs.com/open-source-development-workshop-thursday-october-28-at-6-30pm/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 14:48:00 +0000</pubDate>
		<dc:creator>Andrew Kitchen</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/open-source-development-workshop-thursday-october-28-at-6-30pm/</guid>
		<description><![CDATA[<p><h1>Open Source Development Workshop</h1>

<p>Thursday, October 28 at 6:30PM</p>

<p>Pivotal Labs is hosting and our own Sarah Mei is leading an open source workshop for developers interested in learning about contributing to open source projects.  Sarah will be using the Diaspora project as an example, and the Diaspora team will be on hand to assist.  Email Sarah at sarahmei at pivotallabs dot com for more info, or view the meetup page <a href="http://bit.ly/opensource101">here</a></p>

<h1>Standup 2010-10-26 and 2010-10-27</h1>

<h2>Help!</h2>

<blockquote>
    <p><em>"How do I use RVM on the server?"</em></p>
</blockquote>

<p>RVM on the server can be fraught with peril.  Be sure that your &#40;or your process's&#41; shell is being invoked in a way which plays nice with RVM, for instance bash -lc or bash -ic in cron.</p>

<blockquote>
    <p><em>"Why does Google Street View give me a grey dead area instead of a picture of some dude's house?"</em></p>
</blockquote>

<p>Most likely this is due to having requested a view for an area where none is available.  The Google docs have been found to be a bit misleading on this, however there is an api call to see if there is an available street view for a given radius -- try increasing this radius near your lat &#38; long until you get success in order to avoid a useless response.</p>

<h2>Interesting</h2>

<ul>
<li>Running MySql in ramdisk does not yield any discernable performance boost for small to medium-sized rails projects, for test suites or the app itself.  This is probably due to the fact that most projects' code and data are already small enough to fit in cache.</li>
<li>Looking for a real perf boost?  Try <a href="http://www.rubyenterpriseedition.com/documentation.html#_garbage_collector_performance_tuning">REE with the Twitter GC tweaks</a></li>
</ul> <a href="http://pivotallabs.com/open-source-development-workshop-thursday-october-28-at-6-30pm/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/open-source-development-workshop-thursday-october-28-at-6-30pm/">Open Source Development Workshop &#8212; Thursday, October 28 at 6:30PM</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h1>Open Source Development Workshop</h1>
<p>Thursday, October 28 at 6:30PM</p>
<p>Pivotal Labs is hosting and our own Sarah Mei is leading an open source workshop for developers interested in learning about contributing to open source projects.  Sarah will be using the Diaspora project as an example, and the Diaspora team will be on hand to assist.  Email Sarah at sarahmei at pivotallabs dot com for more info, or view the meetup page <a href="http://bit.ly/opensource101">here</a></p>
<h1>Standup 2010-10-26 and 2010-10-27</h1>
<h2>Help!</h2>
<blockquote>
<p><em>&#8220;How do I use RVM on the server?&#8221;</em></p>
</blockquote>
<p>RVM on the server can be fraught with peril.  Be sure that your &#40;or your process&#8217;s&#41; shell is being invoked in a way which plays nice with RVM, for instance bash -lc or bash -ic in cron.</p>
<blockquote>
<p><em>&#8220;Why does Google Street View give me a grey dead area instead of a picture of some dude&#8217;s house?&#8221;</em></p>
</blockquote>
<p>Most likely this is due to having requested a view for an area where none is available.  The Google docs have been found to be a bit misleading on this, however there is an api call to see if there is an available street view for a given radius &#8212; try increasing this radius near your lat &amp; long until you get success in order to avoid a useless response.</p>
<h2>Interesting</h2>
<ul>
<li>Running MySql in ramdisk does not yield any discernable performance boost for small to medium-sized rails projects, for test suites or the app itself.  This is probably due to the fact that most projects&#8217; code and data are already small enough to fit in cache.</li>
<li>Looking for a real perf boost?  Try <a href="http://www.rubyenterpriseedition.com/documentation.html#_garbage_collector_performance_tuning">REE with the Twitter GC tweaks</a></li>
</ul>
<p>The post <a href="http://pivotallabs.com/open-source-development-workshop-thursday-october-28-at-6-30pm/">Open Source Development Workshop &#8212; Thursday, October 28 at 6:30PM</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/open-source-development-workshop-thursday-october-28-at-6-30pm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 2010-10-25 &#8212; Rails 3-related helps and interestings</title>
		<link>http://pivotallabs.com/standup-2010-10-25-rails-3-related-helps-and-interestings/</link>
		<comments>http://pivotallabs.com/standup-2010-10-25-rails-3-related-helps-and-interestings/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 14:45:00 +0000</pubDate>
		<dc:creator>Andrew Kitchen</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-2010-10-25-rails-3-related-helps-and-interestings/</guid>
		<description><![CDATA[<p><h2>Help</h2>

<ul>
<li>Edit: followup to delayed_job job logging failures</li>
</ul>

<p>Switching to resque might help, but not without first rewriting the jobs.</p>

<p>More research yielded the fact that delayed_job reopens all files &#40;including the log files&#41; when it spins up.  Under Ruby 1.8, File#reopen defaults file mode to last set, while 1.9 defaults to read only.  This could easily cause logging failures. &#40;with a nod to Davis W. Frank for the followup info&#41;</p>

<h2>Interesting</h2>

<ul>
<li><p>Calling .destroy on a has_one relationship does not update the record association to nil, which can cause problems when the relationship is subsequently updated.  It was suggested that calling .clear on the association might help work around the issue.</p></li>
<li><p>Rails 3 request helper methods in ActionController::TestCase::Behavior take the session and flash hashes as parameters, as opposed to setting them explicitly before making a normal get request.  Compare <a href="http://api.rubyonrails.org/classes/ActionController/TestCase/Behavior.html#method-i-get">http://api.rubyonrails.org/classes/ActionController/TestCase/Behavior.html#method-i-get</a> with <a href="http://api.rubyonrails.org/classes/ActionDispatch/Integration/RequestHelpers.html#method-i-get">http://api.rubyonrails.org/classes/ActionDispatch/Integration/RequestHelpers.html#method-i-get</a> for more detail</p></li>
</ul> <a href="http://pivotallabs.com/standup-2010-10-25-rails-3-related-helps-and-interestings/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-2010-10-25-rails-3-related-helps-and-interestings/">Standup 2010-10-25 &#8212; Rails 3-related helps and interestings</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Help</h2>
<ul>
<li>Edit: followup to delayed_job job logging failures</li>
</ul>
<p>Switching to resque might help, but not without first rewriting the jobs.</p>
<p>More research yielded the fact that delayed_job reopens all files &#40;including the log files&#41; when it spins up.  Under Ruby 1.8, File#reopen defaults file mode to last set, while 1.9 defaults to read only.  This could easily cause logging failures. &#40;with a nod to Davis W. Frank for the followup info&#41;</p>
<h2>Interesting</h2>
<ul>
<li>
<p>Calling .destroy on a has_one relationship does not update the record association to nil, which can cause problems when the relationship is subsequently updated.  It was suggested that calling .clear on the association might help work around the issue.</p>
</li>
<li>
<p>Rails 3 request helper methods in ActionController::TestCase::Behavior take the session and flash hashes as parameters, as opposed to setting them explicitly before making a normal get request.  Compare <a href="http://api.rubyonrails.org/classes/ActionController/TestCase/Behavior.html#method-i-get">http://api.rubyonrails.org/classes/ActionController/TestCase/Behavior.html#method-i-get</a> with <a href="http://api.rubyonrails.org/classes/ActionDispatch/Integration/RequestHelpers.html#method-i-get">http://api.rubyonrails.org/classes/ActionDispatch/Integration/RequestHelpers.html#method-i-get</a> for more detail</p>
</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-2010-10-25-rails-3-related-helps-and-interestings/">Standup 2010-10-25 &#8212; Rails 3-related helps and interestings</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-2010-10-25-rails-3-related-helps-and-interestings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using apc
Database Caching 11/18 queries in 0.018 seconds using apc
Object Caching 723/793 objects using apc

 Served from: pivotallabs.com @ 2013-05-18 15:57:37 by W3 Total Cache -->