<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.2" -->
<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/"
	>

<channel>
	<title>Pervasive Code</title>
	<link>http://www.pervasivecode.com/blog</link>
	<description>Jamie Flournoy's Software Development Blog</description>
	<pubDate>Thu, 22 May 2008 08:51:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>Silencing pointless reverse DNS warnings from OpenSSH</title>
		<link>http://www.pervasivecode.com/blog/2008/05/22/silencing-pointless-reverse-dns-warnings-from-openssh/</link>
		<comments>http://www.pervasivecode.com/blog/2008/05/22/silencing-pointless-reverse-dns-warnings-from-openssh/#comments</comments>
		<pubDate>Thu, 22 May 2008 08:51:51 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[networking]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/05/22/silencing-pointless-reverse-dns-warnings-from-openssh/</guid>
		<description><![CDATA[If you&#8217;ve been using SSH for long you&#8217;ve probably seen this at least once: Address 11.22.33.44 maps to www.foobar.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Sometimes this is helpful. Sometimes this is really annoying and incorrect. Assuming you are a moderately well informed sysadmin and know that this message [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been using SSH for long you&#8217;ve probably seen this at least once: <code>Address 11.22.33.44 maps to www.foobar.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!</code></p>
<p>Sometimes this is helpful. Sometimes this is really annoying and incorrect. Assuming you are a moderately well informed sysadmin and know that this message can safely be ignored, you might have been stumped trying to silence it. You may have tried every option in <code>man ssh_options</code> and even some of your own (<code>STFU on</code>?) I think I may be able to help.<br />
 <a href="http://www.pervasivecode.com/blog/2008/05/22/silencing-pointless-reverse-dns-warnings-from-openssh/#more-74" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/05/22/silencing-pointless-reverse-dns-warnings-from-openssh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updated .autotest</title>
		<link>http://www.pervasivecode.com/blog/2008/05/17/updated-autotest/</link>
		<comments>http://www.pervasivecode.com/blog/2008/05/17/updated-autotest/#comments</comments>
		<pubDate>Sun, 18 May 2008 05:36:19 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[testing]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/05/17/updated-autotest/</guid>
		<description><![CDATA[I just brought a new project into the world of autotest. I&#8217;m not using the Leopard FSEvents &#8220;fix&#8221; because it&#8217;s not necessary (note the sleep and add_exception calls below). I am using the fun and helpful sound plugin, but not the playlist version of that plugin. Here&#8217;s my .autotest file.
]]></description>
			<content:encoded><![CDATA[<p>I just brought a new project into the world of <a href="http://nubyonrails.com/articles/autotest-rails">autotest</a>. I&#8217;m not using the <a href="http://rails.aizatto.com/category/autotest/">Leopard FSEvents &#8220;fix&#8221;</a> because it&#8217;s not necessary (note the sleep and add_exception calls below). I am using the fun and helpful <a href="http://www.fozworks.com/2007/7/28/autotest-sound-effects">sound plugin</a>, but not the <a href="http://www.metaskills.net/2008/4/6/autotest-playlist-for-red-green-feedback">playlist version of that plugin</a>. Here&#8217;s my .autotest file.<br />
 <a href="http://www.pervasivecode.com/blog/2008/05/17/updated-autotest/#more-73" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/05/17/updated-autotest/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Making Rcov measure your whole Rails app, even if tests miss entire source files</title>
		<link>http://www.pervasivecode.com/blog/2008/05/16/making-rcov-measure-your-whole-rails-app-even-if-tests-miss-entire-source-files/</link>
		<comments>http://www.pervasivecode.com/blog/2008/05/16/making-rcov-measure-your-whole-rails-app-even-if-tests-miss-entire-source-files/#comments</comments>
		<pubDate>Fri, 16 May 2008 22:42:42 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[coverage]]></category>

		<category><![CDATA[testing]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[tools]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/05/16/making-rcov-measure-your-whole-rails-app-even-if-tests-miss-entire-source-files/</guid>
		<description><![CDATA[I&#8217;ve seen a few Rake tasks for Rcov that work OK, but which fail in an interesting way (if you care about coverage): they give your coverage metrics an unexpected boost if you have 0% coverage in one or more source files.
Huh? Exactly. If you have 500 source files, and your test suite only requires [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen a few Rake tasks for Rcov that work OK, but which fail in an interesting way (if you care about coverage): they give your coverage metrics an unexpected boost if you have 0% coverage in one or more source files.</p>
<p>Huh? Exactly. If you have 500 source files, and your test suite only <code>require</code>s one of them, then you get a free ride on those 499 files that have 0% coverage. Theoretically you could get 100% coverage in your report even though 499 source files are not touched at all. D&#8217;oh!<br />
 <a href="http://www.pervasivecode.com/blog/2008/05/16/making-rcov-measure-your-whole-rails-app-even-if-tests-miss-entire-source-files/#more-72" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/05/16/making-rcov-measure-your-whole-rails-app-even-if-tests-miss-entire-source-files/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rails snippet: require app files only once</title>
		<link>http://www.pervasivecode.com/blog/2008/05/16/rails-snippet-require-app-files-only-once/</link>
		<comments>http://www.pervasivecode.com/blog/2008/05/16/rails-snippet-require-app-files-only-once/#comments</comments>
		<pubDate>Fri, 16 May 2008 22:24:11 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[ruby]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/05/16/rails-snippet-require-app-files-only-once/</guid>
		<description><![CDATA[Ruby&#8217;s Kernel.require method will re-require the same source file if you pass it differing arguments that point to the same file. It doesn&#8217;t use File.expand_path to make sure it hasn&#8217;t already loaded the same file before. This can cause problems if you&#8217;re using constants or doing one-time initialization in a source file that&#8217;s getting loaded [...]]]></description>
			<content:encoded><![CDATA[<p>Ruby&#8217;s Kernel.require method will re-require the same source file if you pass it differing arguments that point to the same file. It doesn&#8217;t use File.expand_path to make sure it hasn&#8217;t already loaded the same file before. This can cause problems if you&#8217;re using constants or doing one-time initialization in a source file that&#8217;s getting loaded multiple times for one reason; you&#8217;ll need to add a wrapper that prevents re-entry.</p>
<p>If this annoys you as much as it does me (why should my application code include workarounds for what I regard to be a Ruby bug?), add this snippet to your config/environment.rb (pre Rails 2.0) or config/preinitializer.rb (Rails 2.0 or later).<br />
 <a href="http://www.pervasivecode.com/blog/2008/05/16/rails-snippet-require-app-files-only-once/#more-71" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/05/16/rails-snippet-require-app-files-only-once/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Recommended mount options for ext3</title>
		<link>http://www.pervasivecode.com/blog/2008/05/15/recommended-mount-options-for-ext3/</link>
		<comments>http://www.pervasivecode.com/blog/2008/05/15/recommended-mount-options-for-ext3/#comments</comments>
		<pubDate>Fri, 16 May 2008 03:54:30 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[databases]]></category>

		<category><![CDATA[servers]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/05/15/recommended-mount-options-for-ext3/</guid>
		<description><![CDATA[The details of the various mount options for the ext3 filesystem are fairly well documented, but as with many things in the Unix world, knowledge is far easier to come by than wisdom. That&#8217;s a pithy way of saying that I had to do some digging to find recommendations, as opposed to explanations. So here [...]]]></description>
			<content:encoded><![CDATA[<p>The details of the various mount options for the ext3 filesystem are fairly well documented, but as with many things in the Unix world, knowledge is far easier to come by than wisdom. That&#8217;s a pithy way of saying that I had to do some digging to find recommendations, as opposed to explanations. So here are my recommendations for ext3 users (which encompasses the majority of the Linux-using world, as far as I can tell).<br />
 <a href="http://www.pervasivecode.com/blog/2008/05/15/recommended-mount-options-for-ext3/#more-70" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/05/15/recommended-mount-options-for-ext3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Save power and heat: spin down backup drives when idle</title>
		<link>http://www.pervasivecode.com/blog/2008/05/15/save-power-and-heat-spin-down-backup-drives-when-idle/</link>
		<comments>http://www.pervasivecode.com/blog/2008/05/15/save-power-and-heat-spin-down-backup-drives-when-idle/#comments</comments>
		<pubDate>Fri, 16 May 2008 00:48:16 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[raid]]></category>

		<category><![CDATA[servers]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/05/15/save-power-and-heat-spin-down-backup-drives-when-idle/</guid>
		<description><![CDATA[Here&#8217;s a tip for those of you who, like me, back up your data to hard disks instead of tapes. Backing up to the same hard disk doesn&#8217;t protect you much (if the disk failed, you&#8217;d lose the data and the backup at once), so presumably you&#8217;re backing up to a separate physical drive. That [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tip for those of you who, like me, back up your data to hard disks instead of tapes. Backing up to the same hard disk doesn&#8217;t protect you much (if the disk failed, you&#8217;d lose the data and the backup at once), so presumably you&#8217;re backing up to a separate physical drive. That means that the backup drive need not spin 24/7. Instead, it only needs to spin at backup time.<br />
 <a href="http://www.pervasivecode.com/blog/2008/05/15/save-power-and-heat-spin-down-backup-drives-when-idle/#more-69" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/05/15/save-power-and-heat-spin-down-backup-drives-when-idle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Retroactively Minimizing Installed Packages on CentOS 5.1</title>
		<link>http://www.pervasivecode.com/blog/2008/04/14/retroactively-minimizing-installed-packages-on-centos-51/</link>
		<comments>http://www.pervasivecode.com/blog/2008/04/14/retroactively-minimizing-installed-packages-on-centos-51/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 01:16:44 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[servers]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/04/14/retroactively-minimizing-installed-packages-on-centos-51/</guid>
		<description><![CDATA[In my CentOS 5.1 Minimal VPS Install Guide I describe how to install a very lean set of OS packages when starting from scratch. But what if the VPS is preinstalled for you by a hosting provider? There will be things preinstalled that you don&#8217;t need, which will slow down backups and updates, and waste [...]]]></description>
			<content:encoded><![CDATA[<p>In my <a href="/blog/2008/03/29/centos-51-minimal-vps-install-guide/">CentOS 5.1 Minimal VPS Install Guide</a> I describe how to install a very lean set of OS packages when starting from scratch. But what if the VPS is preinstalled for you by a hosting provider? There will be things preinstalled that you don&#8217;t need, which will slow down backups and updates, and waste the relatively tiny amount of disk space that VPS plans offer. So here are some instructions to help you identify and remove packages that you don&#8217;t need, when they&#8217;ve already been installed.<br />
 <a href="http://www.pervasivecode.com/blog/2008/04/14/retroactively-minimizing-installed-packages-on-centos-51/#more-68" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/04/14/retroactively-minimizing-installed-packages-on-centos-51/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why mod_rails is great for light-duty Rails apps</title>
		<link>http://www.pervasivecode.com/blog/2008/04/14/why-mod_rails-is-a-really-good-thing-for-light-duty-ruby-on-rails/</link>
		<comments>http://www.pervasivecode.com/blog/2008/04/14/why-mod_rails-is-a-really-good-thing-for-light-duty-ruby-on-rails/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 20:30:25 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[java]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[servers]]></category>

		<category><![CDATA[architecture]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/04/14/why-mod_rails-is-a-really-good-thing-for-light-duty-ruby-on-rails/</guid>
		<description><![CDATA[The Ruby on Rails story is usually presented to the new developer as a wonderful break from tradition that makes a developer&#8217;s life so much better than the frameworks of the past. The clattering of skeletons in the closet you&#8217;re hearing? Well, that&#8217;s because it makes the sysadmin&#8217;s life much worse than PHP or Java. [...]]]></description>
			<content:encoded><![CDATA[<p>The Ruby on Rails story is usually presented to the new developer as a wonderful break from tradition that makes a developer&#8217;s life so much better than the frameworks of the past. The clattering of skeletons in the closet you&#8217;re hearing? Well, that&#8217;s because it makes the sysadmin&#8217;s life much worse than PHP or Java. That just improved on Friday, with the release of mod_rails. If you&#8217;re looking for a way to do shared (or low traffic) hosting of Rails applications, this is for you.<br />
 <a href="http://www.pervasivecode.com/blog/2008/04/14/why-mod_rails-is-a-really-good-thing-for-light-duty-ruby-on-rails/#more-67" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/04/14/why-mod_rails-is-a-really-good-thing-for-light-duty-ruby-on-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Thoughts about using Git for closed source projects</title>
		<link>http://www.pervasivecode.com/blog/2008/04/14/thoughts-about-using-git-for-closed-source-projects/</link>
		<comments>http://www.pervasivecode.com/blog/2008/04/14/thoughts-about-using-git-for-closed-source-projects/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 16:11:41 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[git]]></category>

		<category><![CDATA[management]]></category>

		<category><![CDATA[tools]]></category>

		<category><![CDATA[process]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/04/14/thoughts-about-using-git-for-closed-source-projects/</guid>
		<description><![CDATA[Git is getting a lot of press in the open source world lately, but hasn&#8217;t got much traction in the closed source corporate development world. There&#8217;s a reason for this, and it&#8217;s more than conservatism on the part of the corporate developers. Git (or any DVCS, really) embodies a development culture that isn&#8217;t very enterprise-y.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://git.or.cz/">Git</a> is getting a lot of press in the open source world lately, but hasn&#8217;t got much traction in the closed source corporate development world. There&#8217;s a reason for this, and it&#8217;s more than conservatism on the part of the corporate developers. Git (or any DVCS, really) embodies a development culture that isn&#8217;t very enterprise-y.<br />
 <a href="http://www.pervasivecode.com/blog/2008/04/14/thoughts-about-using-git-for-closed-source-projects/#more-66" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/04/14/thoughts-about-using-git-for-closed-source-projects/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sphinx Search init script for Centos 5.1</title>
		<link>http://www.pervasivecode.com/blog/2008/04/14/sphinx-search-init-script-for-centos-51/</link>
		<comments>http://www.pervasivecode.com/blog/2008/04/14/sphinx-search-init-script-for-centos-51/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 06:18:11 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
		
		<category><![CDATA[CentOS]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[postgresql]]></category>

		<category><![CDATA[sql]]></category>

		<category><![CDATA[servers]]></category>

		<category><![CDATA[databases]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/04/14/sphinx-search-init-script-for-centos-51/</guid>
		<description><![CDATA[Sphinx search is pretty new, and as a result I was unable to find a nice convenient package for it for CentOS 5.1. This is problematic since there is no init script included with the source tarball, and the issue of updating the index is the sysadmin and developer&#8217;s problem, and cannot be configured to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sphinxsearch.com/">Sphinx search</a> is pretty new, and as a result I was unable to find a nice convenient package for it for CentOS 5.1. This is problematic since there is no init script included with the source tarball, and the issue of updating the index is the sysadmin and developer&#8217;s problem, and cannot be configured to simply update the index when the data changes.<br />
 <a href="http://www.pervasivecode.com/blog/2008/04/14/sphinx-search-init-script-for-centos-51/#more-65" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/04/14/sphinx-search-init-script-for-centos-51/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
