<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Pervasive Code</title>
	<link>http://www.pervasivecode.com/blog</link>
	<description>Jamie Flournoy's Software Development Blog</description>
	<lastBuildDate>Wed, 01 Feb 2012 06:11:00 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Patch to make Ubuntu&#8217;s GNU Screen bash completion work better</title>
		<description><![CDATA[If you make a screen with a name using screen -S foo and then try and reattach later using screen -R f&#60;tab&#62; it doesn&#8217;t work. It only completes the full name as seen in screen -ls which starts with the PID of the detached screen, like 9972.foo. Not very convenient. Why can&#8217;t it just complete [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2012/02/01/patch-to-make-ubuntus-gnu-screen-bash-completion-work-better/</link>
			</item>
	<item>
		<title>On Ruby&#8217;s Expressiveness- The Littlest Microframework Explained</title>
		<description><![CDATA[In the past few weeks, I&#8217;ve had a few conversations with web developers and back-end engineers who are unfamiliar with Ruby, in which I&#8217;ve tried to explain how Ruby can be nearly as expressive as Perl (tiny amounts of code can accomplish a lot) while being as readable as Python or Java. In fact, I [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2011/03/27/on-rubys-expressiveness-the-littlest-microframework-explained/</link>
			</item>
	<item>
		<title>MacRuby tweaks to your customized .irbrc</title>
		<description><![CDATA[I started playing with MacRuby this evening. macirb wouldn&#8217;t run with my customized .irbrc and gave the following error:
/usr/local/bin/macirb:60:in `block': No such file or directory - open() failed (Errno::ENOENT)
	from /usr/local/bin/macirb:9:in `block'
	from /usr/local/bin/macirb:7:in `'


If you&#8217;re seeing this, you need to do something like this:
# preserve history across irb executions:
require 'irb/completion'
unless 'macruby' == RUBY_ENGINE
  require 'irb/ext/save-history'
 [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2011/03/19/macruby-tweaks-to-your-customized-irbrc/</link>
			</item>
	<item>
		<title>Managing autossh via monit</title>
		<description><![CDATA[SSH port forwarding is so useful that sometimes you want to daemonize it, to create encrypted tunnels that never go away. But it&#8217;s not trivial to do this. Fortunately it is possible with a little fiddling, and I did it using monit.

I have two servers, let&#8217;s call them A and B, and I want to [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2011/01/04/managing-autossh-via-monit/</link>
			</item>
	<item>
		<title>Making Bundler 1.0.0.beta.10 install Nokogiri on Leopard with a newish libxml</title>
		<description><![CDATA[Okay, now that Bundler 1.0.0.beta.10 is out, you can once again pass build-time options to gems with native extensions, such as Nokogiri. So this supercedes my older instructions for making Bundler 0.8.5 install Nokogiri on Leopard.
So now instead of making a YAML file and referring to it, pass the options like this:

bundle config build.nokogiri \
--with-xml2-include=/usr/local/include/libxml2 [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2010/07/25/making-bundler-1-0-0-beta-10-install-nokogiri-on-leopard-with-a-newish-libxml/</link>
			</item>
	<item>
		<title>Fix for MacBook Pro sudden USB and Ethernet port failures</title>
		<description><![CDATA[I own a 2.16GHz MacBook Pro, which is a little over 3 years old. Over the last year I&#8217;ve had an odd problem with it, which has gotten severe in the last few weeks. The problem was that it would suddenly disable the Ethernet port and the USB ports, disconnecting mounted disks and freezing networked [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2010/07/24/fix-for-macbook-pro-sudden-usb-and-ethernet-port-failures/</link>
			</item>
	<item>
		<title>The Princess and the Pea, as a Cucumber Feature</title>
		<description><![CDATA[Kent Beck tweeted:

User story: &#8220;As a princess I want to confirm my royalty so I get bruised after sleeping on 40 mattresses over a pea&#8221;. Just tell real stories&#8221;

That sounded so much like a Cucumber feature that I decided to write it as one:

Feature: Physical Sensitivity
  In order to confirm my royalty
  As [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2010/06/01/the-princess-and-the-pea-as-a-cucumber-feature/</link>
			</item>
	<item>
		<title>Unix tip: kill -STOP and kill -CONT</title>
		<description><![CDATA[Pretty much every Unix user knows about the kill command, and most know about &#8216;kill -KILL&#8217; aka &#8216;kill -9&#8242;.
But do you know about kill -STOP and kill -CONT?

I&#8217;m not sure of the exact mechanism (kernel vs. user process) but everything I&#8217;ve used it on on a Mac OS X machine has responded to it in [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2010/04/03/unix-tip-kill-stop-and-kill-cont/</link>
			</item>
	<item>
		<title>How to make Machinist and Autotest coexist</title>
		<description><![CDATA[If you&#8217;ve tried to use Machinist and autotest (part of ZenTest) you have probably seen this exception that prevented you from using it: 
`method_missing': No sham defined for name
It&#8217;s discussed in the machinist Google Group as well.
It&#8217;s because of a wacky hack that&#8217;s part of Machinist that overrides Module.name so you can do Sham.name, but [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2010/03/23/how-to-make-machinist-and-autotest-coexis/</link>
			</item>
	<item>
		<title>Rails Migration Antipatterns and How To Fix Them</title>
		<description><![CDATA[Migrations are one of the best features of Rails. Although some folks prefer pure SQL rather than Rails migration DSL, I don&#8217;t know of anyone who dislikes the idea of a versioned schema that can evolve in a controlled and repeatable fashion.
But because the concept of database migrations is such a powerful one, it&#8217;s tempting [...]]]></description>
		<link>http://www.pervasivecode.com/blog/2010/03/18/rails-migration-antipatterns-and-how-to-fix-them/</link>
			</item>
</channel>
</rss>

