<?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; Pivotal Labs</title>
	<atom:link href="http://pivotallabs.com/author/superuser/feed/" rel="self" type="application/rss+xml" />
	<link>http://pivotallabs.com</link>
	<description>Agility Developed</description>
	<lastBuildDate>Tue, 18 Jun 2013 03:38:22 +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>Does the set of all sets contain itself?</title>
		<link>http://pivotallabs.com/does-the-set-of-all-sets-contain-itself/</link>
		<comments>http://pivotallabs.com/does-the-set-of-all-sets-contain-itself/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 22:26:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[riddles]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/does-the-set-of-all-sets-contain-itself/</guid>
		<description><![CDATA[<p><p>No.</p>

<pre>
$ irb -r set
1.9.3p125 :001 &#62; set = ObjectSpace.each_object&#40;Set&#41;.to_set
 =&#62; #&#60;Set: {#&#60;Set: {...}&#62;}&#62;
1.9.3p125 :002 &#62; set.include?&#40;set&#41;
 =&#62; false
</pre>

<p>However, the Enumeration of all Enumerations does contain itself.</p>

<pre>
1.9.3p125 :001 &#62; e = ObjectSpace.each_object&#40;Enumerator&#41;
 =&#62; #&#60;Enumerator: ObjectSpace:each_object&#40;Enumerator&#41;&#62;
1.9.3p125 :002 &#62; e.include?&#40;e&#41;
 =&#62; true
</pre>

<p>Why this is so is left as an exercise to the reader.</p> <a href="http://pivotallabs.com/does-the-set-of-all-sets-contain-itself/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/does-the-set-of-all-sets-contain-itself/">Does the set of all sets contain itself?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>No.</p>
<pre>
$ irb -r set
1.9.3p125 :001 &gt; set = ObjectSpace.each_object&#40;Set&#41;.to_set
 =&gt; #&lt;Set: {#&lt;Set: {...}&gt;}&gt;
1.9.3p125 :002 &gt; set.include?&#40;set&#41;
 =&gt; false
</pre>
<p>However, the Enumeration of all Enumerations does contain itself.</p>
<pre>
1.9.3p125 :001 &gt; e = ObjectSpace.each_object&#40;Enumerator&#41;
 =&gt; #&lt;Enumerator: ObjectSpace:each_object&#40;Enumerator&#41;&gt;
1.9.3p125 :002 &gt; e.include?&#40;e&#41;
 =&gt; true
</pre>
<p>Why this is so is left as an exercise to the reader.</p>
<p>The post <a href="http://pivotallabs.com/does-the-set-of-all-sets-contain-itself/">Does the set of all sets contain itself?</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/does-the-set-of-all-sets-contain-itself/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Standup 3/8/2012</title>
		<link>http://pivotallabs.com/standup-3-8-2012/</link>
		<comments>http://pivotallabs.com/standup-3-8-2012/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 01:54:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-3-8-2012/</guid>
		<description><![CDATA[<p><h2>Help</h2>

<p>Standup Retrospective
1 week from today at lunchtime &#40;3/15/2012 12:30&#41;</p>

<p>Do I Really Need jquery-ujs.js</p>

<blockquote>
    <p>If I'm never going to do a remote form do I still need it?</p>
</blockquote>

<p>RAILS_ENV for JavaScript project</p>

<blockquote>
    <p>Need a way to differentiate between development/production environments.</p>

    <p>Thought about using hostname, ie localhost vs another hostname</p>
</blockquote>

<h2>Interesting</h2>

<p>EC2</p>

<blockquote>
    <p>EC2 now supports 64bit instances for all instance types</p>
</blockquote> <a href="http://pivotallabs.com/standup-3-8-2012/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-3-8-2012/">Standup 3/8/2012</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Help</h2>
<p>Standup Retrospective<br />
1 week from today at lunchtime &#40;3/15/2012 12:30&#41;</p>
<p>Do I Really Need jquery-ujs.js</p>
<blockquote>
<p>If I&#8217;m never going to do a remote form do I still need it?</p>
</blockquote>
<p>RAILS_ENV for JavaScript project</p>
<blockquote>
<p>Need a way to differentiate between development/production environments.</p>
<p>Thought about using hostname, ie localhost vs another hostname</p>
</blockquote>
<h2>Interesting</h2>
<p>EC2</p>
<blockquote>
<p>EC2 now supports 64bit instances for all instance types</p>
</blockquote>
<p>The post <a href="http://pivotallabs.com/standup-3-8-2012/">Standup 3/8/2012</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-3-8-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 3/7/2012</title>
		<link>http://pivotallabs.com/standup-3-7-2012/</link>
		<comments>http://pivotallabs.com/standup-3-7-2012/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 19:50:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-3-7-2012/</guid>
		<description><![CDATA[<p><h2>New Faces</h2>

<p>No new faces today</p>

<h2>Help</h2>

<blockquote>
    <p>What is the approved way of finding out if a migration is pending? Trying to avoid Heroku restart.</p>
</blockquote>

<h2>Interesting</h2>

<p>Heroku + submodule: .slugignore is your friend!</p>

<p>Onsi says:</p>

<blockquote>
    <p>Heroku supports git submodules!  However, when building your slugs it includes the <code>.git</code> directory in your submodules.  This unnecessarily inflates the slug's size.  To circumvent this make a <code>.slugignore</code>  file in your app's root directory add <code>path/to/submodule/.git</code> to it.  You can also use <code>.slugignore</code> to ignore specs, docs, etc...</p>
</blockquote> <a href="http://pivotallabs.com/standup-3-7-2012/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-3-7-2012/">Standup 3/7/2012</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>New Faces</h2>
<p>No new faces today</p>
<h2>Help</h2>
<blockquote>
<p>What is the approved way of finding out if a migration is pending? Trying to avoid Heroku restart.</p>
</blockquote>
<h2>Interesting</h2>
<p>Heroku + submodule: .slugignore is your friend!</p>
<p>Onsi says:</p>
<blockquote>
<p>Heroku supports git submodules!  However, when building your slugs it includes the <code>.git</code> directory in your submodules.  This unnecessarily inflates the slug&#8217;s size.  To circumvent this make a <code>.slugignore</code>  file in your app&#8217;s root directory add <code>path/to/submodule/.git</code> to it.  You can also use <code>.slugignore</code> to ignore specs, docs, etc&#8230;</p>
</blockquote>
<p>The post <a href="http://pivotallabs.com/standup-3-7-2012/">Standup 3/7/2012</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-3-7-2012/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Standup 03/05/2012</title>
		<link>http://pivotallabs.com/standup-03-05-2012/</link>
		<comments>http://pivotallabs.com/standup-03-05-2012/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 00:30:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-03-05-2012/</guid>
		<description><![CDATA[<p><h2>New Faces</h2>

<p>Rachel Bobbins - new intern</p>

<h2>Help</h2>

<blockquote>
    <p>Web 2 App - is there a service to mobile-optimise web sites?</p>
</blockquote>

<p>There are many</p>

<blockquote>
    <p>Rubymine and Spork issue: when starting Spork from Rubymine, Rubymine doesn't format test output correctly</p>
</blockquote>

<p>The solution currently in use is to add a RUBYMINE_HOME path to the bash profile: </p>

<pre>
export RUBYMINE_HOME=/Applications/RubyMine.app/
</pre>

<p>And also the following block to a file loaded by spec_helper.rb &#40;ex: YOUR_PROJECT/spec/support/rubymine.rb &#41;</p>

<pre>
if ENV['RUBYMINE_HOME']
  $:.unshift&#40;File.expand_path&#40;'rb/testing/patch/common', ENV['RUBYMINE_HOME']&#41;&#41;
  $:.unshift&#40;File.expand_path&#40;'rb/testing/patch/bdd', ENV['RUBYMINE_HOME']&#41;&#41;
end
</pre>

<p><strong>caveat:</strong>  It may be necessary to launch Rubymine from a terminal with the <code>mine</code> command, rather than from the Dock or Spotlight, because variables set in .bash_profile normally apply only to the terminal environment in Mac OS X. See: <a href="https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html#//apple_ref/doc/uid/20002093-113587">Runtime Configuration Library: Environment Variables</a></p> <a href="http://pivotallabs.com/standup-03-05-2012/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-03-05-2012/">Standup 03/05/2012</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>New Faces</h2>
<p>Rachel Bobbins &#8211; new intern</p>
<h2>Help</h2>
<blockquote>
<p>Web 2 App &#8211; is there a service to mobile-optimise web sites?</p>
</blockquote>
<p>There are many</p>
<blockquote>
<p>Rubymine and Spork issue: when starting Spork from Rubymine, Rubymine doesn&#8217;t format test output correctly</p>
</blockquote>
<p>The solution currently in use is to add a RUBYMINE_HOME path to the bash profile: </p>
<pre>
export RUBYMINE_HOME=/Applications/RubyMine.app/
</pre>
<p>And also the following block to a file loaded by spec_helper.rb &#40;ex: YOUR_PROJECT/spec/support/rubymine.rb &#41;</p>
<pre>
if ENV['RUBYMINE_HOME']
  $:.unshift&#40;File.expand_path&#40;'rb/testing/patch/common', ENV['RUBYMINE_HOME']&#41;&#41;
  $:.unshift&#40;File.expand_path&#40;'rb/testing/patch/bdd', ENV['RUBYMINE_HOME']&#41;&#41;
end
</pre>
<p><strong>caveat:</strong>  It may be necessary to launch Rubymine from a terminal with the <code>mine</code> command, rather than from the Dock or Spotlight, because variables set in .bash_profile normally apply only to the terminal environment in Mac OS X. See: <a href="https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html#//apple_ref/doc/uid/20002093-113587">Runtime Configuration Library: Environment Variables</a></p>
<p>The post <a href="http://pivotallabs.com/standup-03-05-2012/">Standup 03/05/2012</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-03-05-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mongo Madness!</title>
		<link>http://pivotallabs.com/mongo-madness/</link>
		<comments>http://pivotallabs.com/mongo-madness/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 02:09:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/mongo-madness/</guid>
		<description><![CDATA[<p><h1>New faces</h1>

<p>No new faces today.</p>

<h1>Requests for help</h1>

<blockquote>
    <p><em>"MongoMapper v. Mongoid v. Candy v. etc...? Which should I use?"</em></p>
</blockquote>

<p>A1: Don't use a mapper at all, just interact with MongoDB directly. If you use a mapper, choose a library that's least like Active Record.
A2: We used MongoMapper and it worked out okay. It doesn't behave like Active Record in some ways, but it wasn't a huge problem.
A3: We had to fight against Mongoid, since it only provided a subset of what Active Record provides and it didn't provide some MongoDB specific things.</p>

<blockquote>
    <p><em>"Does anyone have experience with the awesome nested set library? Nested set is getting corrupted when storing information in a tree"</em></p>
</blockquote>

<p>No answers from the crowd.</p>

<h1>Interesting/Protips</h1>

<p>A heads up: Rails XSS - two patches were released, but one doesn't work for Rails 2. </p>

<p>There's a cool Blabs out about running jasmine in the background @ full speed. Check it out!</p>

<p>Subscribe to the Pivotal Blabs RSS feed!</p> <a href="http://pivotallabs.com/mongo-madness/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/mongo-madness/">Mongo Madness!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h1>New faces</h1>
<p>No new faces today.</p>
<h1>Requests for help</h1>
<blockquote>
<p><em>&#8220;MongoMapper v. Mongoid v. Candy v. etc&#8230;? Which should I use?&#8221;</em></p>
</blockquote>
<p>A1: Don&#8217;t use a mapper at all, just interact with MongoDB directly. If you use a mapper, choose a library that&#8217;s least like Active Record.<br />
A2: We used MongoMapper and it worked out okay. It doesn&#8217;t behave like Active Record in some ways, but it wasn&#8217;t a huge problem.<br />
A3: We had to fight against Mongoid, since it only provided a subset of what Active Record provides and it didn&#8217;t provide some MongoDB specific things.</p>
<blockquote>
<p><em>&#8220;Does anyone have experience with the awesome nested set library? Nested set is getting corrupted when storing information in a tree&#8221;</em></p>
</blockquote>
<p>No answers from the crowd.</p>
<h1>Interesting/Protips</h1>
<p>A heads up: Rails XSS &#8211; two patches were released, but one doesn&#8217;t work for Rails 2. </p>
<p>There&#8217;s a cool Blabs out about running jasmine in the background @ full speed. Check it out!</p>
<p>Subscribe to the Pivotal Blabs RSS feed!</p>
<p>The post <a href="http://pivotallabs.com/mongo-madness/">Mongo Madness!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/mongo-madness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Longest Standup Ever</title>
		<link>http://pivotallabs.com/super-long-standup-ever/</link>
		<comments>http://pivotallabs.com/super-long-standup-ever/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 16:03:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/super-long-standup-ever/</guid>
		<description><![CDATA[<p><h2>New Faces</h2>

<p>David, Mark, and Melinda are here from a client.
Kyle is interviewing.</p>

<h2>Helps</h2>

<blockquote>
    <p><em>"Simple form translates labels. How do we get this to work in nested models?"</em>
    Check yesterday's email for answers.
    <em>"Dev Bootcamp is teaching people how to program, the Pivotal way. They're looking for mentors - contact Will if you're interested. Also, Sarah is going to visit them tomorrow &#40;Thurs&#41; over lunch. Let her know if you want to tag along."</em></p>

    <ul>
    <li>Does anyone know how to integrate with Google analytics using Garb &#40;Google Analytics for Ruby&#41;. Jonathan would love to chat with you.*</li>
    <li>Is there a commonly accepted javascript date library? *
    Check out strf-time.js; it's an easy way to format dates and times. It doesn't respond to daylight savings time in the right way, though, so watch out for that.</li>
    </ul>
</blockquote>

<p>Also, Date.js &#40;but it might fight with ember&#41;</p>

<blockquote>
    <ul>
    <li>Does anyone know of a good worker system? *
    Simple worker is one option. Others?</li>
    </ul>
</blockquote>

<h2>Interesting Things</h2>

<ul>
<li>In Rails 3.2 now drops your namespace out of your automatically generated form classes. Make sure this doesn't screw up your CSS!  </li>
<li>If Postgres keeps printing out warning messages for you whenever you interact with your database, place "min_messages: warning" into your database.yml file and it will shut up.</li>
</ul>

<p>*Get your time in!
*Gold conference room is now totally hooked up. Please don't play around with the cables yourself.
*Brown bag lunches will be on Tuesday, starting next week.
*JSHint got pulled from RubyGems, so point your Gemfile to its github account instead.</p> <a href="http://pivotallabs.com/super-long-standup-ever/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/super-long-standup-ever/">Longest Standup Ever</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>New Faces</h2>
<p>David, Mark, and Melinda are here from a client.<br />
Kyle is interviewing.</p>
<h2>Helps</h2>
<blockquote>
<p><em>&#8220;Simple form translates labels. How do we get this to work in nested models?&#8221;</em><br />
    Check yesterday&#8217;s email for answers.<br />
    <em>&#8220;Dev Bootcamp is teaching people how to program, the Pivotal way. They&#8217;re looking for mentors &#8211; contact Will if you&#8217;re interested. Also, Sarah is going to visit them tomorrow &#40;Thurs&#41; over lunch. Let her know if you want to tag along.&#8221;</em></p>
<ul>
<li>Does anyone know how to integrate with Google analytics using Garb &#40;Google Analytics for Ruby&#41;. Jonathan would love to chat with you.*</li>
<li>Is there a commonly accepted javascript date library? *<br />
    Check out strf-time.js; it&#8217;s an easy way to format dates and times. It doesn&#8217;t respond to daylight savings time in the right way, though, so watch out for that.</li>
</ul>
</blockquote>
<p>Also, Date.js &#40;but it might fight with ember&#41;</p>
<blockquote>
<ul>
<li>Does anyone know of a good worker system? *<br />
    Simple worker is one option. Others?</li>
</ul>
</blockquote>
<h2>Interesting Things</h2>
<ul>
<li>In Rails 3.2 now drops your namespace out of your automatically generated form classes. Make sure this doesn&#8217;t screw up your CSS!  </li>
<li>If Postgres keeps printing out warning messages for you whenever you interact with your database, place &#8220;min_messages: warning&#8221; into your database.yml file and it will shut up.</li>
</ul>
<p>*Get your time in!<br />
*Gold conference room is now totally hooked up. Please don&#8217;t play around with the cables yourself.<br />
*Brown bag lunches will be on Tuesday, starting next week.<br />
*JSHint got pulled from RubyGems, so point your Gemfile to its github account instead.</p>
<p>The post <a href="http://pivotallabs.com/super-long-standup-ever/">Longest Standup Ever</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/super-long-standup-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SF Standup 02/27/12</title>
		<link>http://pivotallabs.com/sf-standup-02-27-12/</link>
		<comments>http://pivotallabs.com/sf-standup-02-27-12/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 01:56:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/sf-standup-02-27-12/</guid>
		<description><![CDATA[<p><h2>New Faces</h2>

<p>Elliot is here today</p>

<h2>Helps</h2>

<blockquote>
    <p><em>"How can I place stuff over flash plugins in the DOM? &#40;z-index problem&#41;"</em>
    You can place iframes on top of the flash plugin, or set the transparent attribute on the flash elements to true. There should also be a jQuery plugin that handles this.</p>
</blockquote>

<h2>Interesting Things</h2>

<ul>
<li>Ruby meetup tonight. People who are staying around for it should try to help set things up.  </li>
<li>Poltergeist: a headless capybara driver that uses phantom.js. Check it out. Rick has used it with great success.</li>
</ul> <a href="http://pivotallabs.com/sf-standup-02-27-12/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/sf-standup-02-27-12/">SF Standup 02/27/12</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>New Faces</h2>
<p>Elliot is here today</p>
<h2>Helps</h2>
<blockquote>
<p><em>&#8220;How can I place stuff over flash plugins in the DOM? &#40;z-index problem&#41;&#8221;</em><br />
    You can place iframes on top of the flash plugin, or set the transparent attribute on the flash elements to true. There should also be a jQuery plugin that handles this.</p>
</blockquote>
<h2>Interesting Things</h2>
<ul>
<li>Ruby meetup tonight. People who are staying around for it should try to help set things up.  </li>
<li>Poltergeist: a headless capybara driver that uses phantom.js. Check it out. Rick has used it with great success.</li>
</ul>
<p>The post <a href="http://pivotallabs.com/sf-standup-02-27-12/">SF Standup 02/27/12</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/sf-standup-02-27-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 1/26/2012 &#8211; Dawn of the WebOS Dead</title>
		<link>http://pivotallabs.com/standup-1-26-2012-dawn-of-the-webos-dead/</link>
		<comments>http://pivotallabs.com/standup-1-26-2012-dawn-of-the-webos-dead/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 15:27:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-1-26-2012-dawn-of-the-webos-dead/</guid>
		<description><![CDATA[<p><h2>Ask for Help</h2>

<blockquote>
    <p>*"ActiveRecord has three methods to determine the number of records: #count, #length, and #size.  Which one should we use when?"</p>
</blockquote>

<p>As a general rule, always use #size.  It checks to see if the recordset has been loaded and if so returns the number of records.  Otherwise it hits the database with a count query.  The #count method will query the database every time when it's called on an ActiveRecord scope.  The #length method is proxied through to the array of the result set, so every time you call that all the records are pulled from the DB and instantiated.</p>

<blockquote>
    <p>*"We're using <a href="http://pow.cx">pow</a> in development and it's pretty good except sometimes we see 12 second delays in serving assets.  Has anyone else encountered this?"</p>
</blockquote>

<p>Quite mysterious.  Perhaps updating to the Pow 4.0 beta release might help.</p>

<h2>Interesting Things</h2>

<ul>
<li><p><em>Is WebOS dead?</em>  This question can be answered at <a href="http://iswebosdeadyet.com">iswebosdeadyet.com</a>.  Enyo, the UIKit and data-management layer used in HP's WebOS, is now available for other webkit browsers.  It works with PhoneGap and applications based on Enyo are already in the pipeline for iOS and Android.</p></li>
<li><p>Webrick when used in development with the Rails Asset Pipeline appears to truncate large CSS files.  The general consensus was "Don't use Webrick" with shoutouts given to unicorn, mongrel, passenger&#40;standalone&#41; and pow.</p></li>
</ul> <a href="http://pivotallabs.com/standup-1-26-2012-dawn-of-the-webos-dead/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-1-26-2012-dawn-of-the-webos-dead/">Standup 1/26/2012 &#8211; Dawn of the WebOS Dead</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Ask for Help</h2>
<blockquote>
<p>*&#8221;ActiveRecord has three methods to determine the number of records: #count, #length, and #size.  Which one should we use when?&#8221;</p>
</blockquote>
<p>As a general rule, always use #size.  It checks to see if the recordset has been loaded and if so returns the number of records.  Otherwise it hits the database with a count query.  The #count method will query the database every time when it&#8217;s called on an ActiveRecord scope.  The #length method is proxied through to the array of the result set, so every time you call that all the records are pulled from the DB and instantiated.</p>
<blockquote>
<p>*&#8221;We&#8217;re using <a href="http://pow.cx">pow</a> in development and it&#8217;s pretty good except sometimes we see 12 second delays in serving assets.  Has anyone else encountered this?&#8221;</p>
</blockquote>
<p>Quite mysterious.  Perhaps updating to the Pow 4.0 beta release might help.</p>
<h2>Interesting Things</h2>
<ul>
<li>
<p><em>Is WebOS dead?</em>  This question can be answered at <a href="http://iswebosdeadyet.com">iswebosdeadyet.com</a>.  Enyo, the UIKit and data-management layer used in HP&#8217;s WebOS, is now available for other webkit browsers.  It works with PhoneGap and applications based on Enyo are already in the pipeline for iOS and Android.</p>
</li>
<li>
<p>Webrick when used in development with the Rails Asset Pipeline appears to truncate large CSS files.  The general consensus was &#8220;Don&#8217;t use Webrick&#8221; with shoutouts given to unicorn, mongrel, passenger&#40;standalone&#41; and pow.</p>
</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-1-26-2012-dawn-of-the-webos-dead/">Standup 1/26/2012 &#8211; Dawn of the WebOS Dead</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-1-26-2012-dawn-of-the-webos-dead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 1/24/2012 &#8211; Lobot Needs New Neighborhood</title>
		<link>http://pivotallabs.com/standup-1-24-2012-lobot-needs-new-neighborhood/</link>
		<comments>http://pivotallabs.com/standup-1-24-2012-lobot-needs-new-neighborhood/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 15:30:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-1-24-2012-lobot-needs-new-neighborhood/</guid>
		<description><![CDATA[<p><h2>Ask for Help</h2>

<blockquote>
    <p>*"Has anyone used <a href="https://github.com/pivotal/lobot">Lobot</a> to install CI somewhere other than EC2?"</p>
</blockquote>

<p>Crrrrrrickets.......</p> <a href="http://pivotallabs.com/standup-1-24-2012-lobot-needs-new-neighborhood/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-1-24-2012-lobot-needs-new-neighborhood/">Standup 1/24/2012 &#8211; Lobot Needs New Neighborhood</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Ask for Help</h2>
<blockquote>
<p>*&#8221;Has anyone used <a href="https://github.com/pivotal/lobot">Lobot</a> to install CI somewhere other than EC2?&#8221;</p>
</blockquote>
<p>Crrrrrrickets&#8230;&#8230;.</p>
<p>The post <a href="http://pivotallabs.com/standup-1-24-2012-lobot-needs-new-neighborhood/">Standup 1/24/2012 &#8211; Lobot Needs New Neighborhood</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-1-24-2012-lobot-needs-new-neighborhood/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standup 01/19/2012: Dont stretch those cables</title>
		<link>http://pivotallabs.com/standup-01-19-2012-dont-stretch-those-cables/</link>
		<comments>http://pivotallabs.com/standup-01-19-2012-dont-stretch-those-cables/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 15:16:00 +0000</pubDate>
		<dc:creator>Pivotal Labs</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/standup-01-19-2012-dont-stretch-those-cables/</guid>
		<description><![CDATA[<p><h2>Ask for Help</h2>

<blockquote>
    <p><em>How to scrub production data</em></p>
</blockquote>

<ul>
<li>try my_obfuscate</li>
<li>use handcrafted update-all sql</li>
</ul>

<h2>Interesting Things</h2>

<ul>
<li>Do not stretch monitor cables, they make the ports break</li>
<li>MySql: Different os have different rules on table case sensitivity&#40;My_Table &#60;-> my_table&#41;, be strict or you get into trouble</li>
<li>validates_acceptance_of can crash your asest:precompile on heroku &#40;because it uses the db when loaded, but db is not yet ready&#41;, least hacky solution: validates_acceptance_of xxx unless ENV['RAILS_ASSETS_PRECOMPILE']</li>
</ul> <a href="http://pivotallabs.com/standup-01-19-2012-dont-stretch-those-cables/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/standup-01-19-2012-dont-stretch-those-cables/">Standup 01/19/2012: Dont stretch those cables</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Ask for Help</h2>
<blockquote>
<p><em>How to scrub production data</em></p>
</blockquote>
<ul>
<li>try my_obfuscate</li>
<li>use handcrafted update-all sql</li>
</ul>
<h2>Interesting Things</h2>
<ul>
<li>Do not stretch monitor cables, they make the ports break</li>
<li>MySql: Different os have different rules on table case sensitivity&#40;My_Table &lt;-> my_table&#41;, be strict or you get into trouble</li>
<li>validates_acceptance_of can crash your asest:precompile on heroku &#40;because it uses the db when loaded, but db is not yet ready&#41;, least hacky solution: validates_acceptance_of xxx unless ENV['RAILS_ASSETS_PRECOMPILE']</li>
</ul>
<p>The post <a href="http://pivotallabs.com/standup-01-19-2012-dont-stretch-those-cables/">Standup 01/19/2012: Dont stretch those cables</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/standup-01-19-2012-dont-stretch-those-cables/feed/</wfw:commentRss>
		<slash:comments>0</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 using apc
Object Caching 1111/1192 objects using apc

 Served from: pivotallabs.com @ 2013-06-18 01:51:54 by W3 Total Cache -->