<?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>davemessina.com &#187; programming</title>
	<atom:link href="http://davemessina.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://davemessina.com</link>
	<description></description>
	<lastBuildDate>Tue, 11 Nov 2008 20:20:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Finally! I can use FileMerge with subversion</title>
		<link>http://davemessina.com/2007/09/18/finally-i-can-use-filemerge-with-subversion/</link>
		<comments>http://davemessina.com/2007/09/18/finally-i-can-use-filemerge-with-subversion/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 09:34:58 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://davemessina.com/2007/09/18/finally-i-can-use-filemerge-with-subversion/</guid>
		<description><![CDATA[These days I pretty much always use Subversion &#8212; I have come to rely on it to save me when I manage to mangle, delete, or otherwise befoul previously working code. I have also come to rely on FileMerge, Apple&#8217;s graphical diff tool. Mmmm, shiny. Unfortunately, FileMerge doesn&#8217;t conform to the interface of the long-standard [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://davemessina.com/blog/wp-content/uploads/2007/09/textmate-screenshot.png" alt="TextMate_screenshot.png" border="0" width="319" height="257" align="right" />These days I pretty much always use <a href="http://subversion.tigris.org/">Subversion</a> &mdash; I have come to rely on it to save me when I manage to mangle, delete, or otherwise befoul previously working code. I have also come to rely on <a href="http://en.wikipedia.org/wiki/Apple_Developer_Tools#FileMerge">FileMerge</a>, Apple&#8217;s graphical diff tool. Mmmm, shiny. Unfortunately, FileMerge doesn&#8217;t conform to the interface of the long-standard <code>diff</code> and <code>diff3</code>, so even though <code>svn</code> can accept external diff tools, FileMerge couldn&#8217;t be used.</p>
<p>I figured there was a way to overcome this problem, but my initial pokes and prods weren&#8217;t fruitful and so I abandoned my attempt. This seems to have been a good idea, because in the meantime someone else has solved the problem for me. <a href="http://ssel.vub.ac.be/ssel/about:members:brunodefraine">Bruno De Fraine</a> has posted wrapper scripts which make FileMerge svn-compatible: <a href="http://ssel.vub.ac.be/ssel/internal:fmdiff">fmdiff, fmdiff3, and fmresolve</a>.</p>
<p>By the way, I found out about <code>fmdiff</code> because for some reason my installation of <a href="http://macromates.com/">TextMate</a> isn&#8217;t correctly picking up my <code>PATH</code> variable, so it can&#8217;t see that I have <code>subversion</code> installed. TextMate&#8217;s documentation <a href="http://macromates.com/textmate/manual/shell_commands#search_path">says</a> that it gets its environment from the Finder.</p>
<p>Do any of you know how to fix this?</p>
]]></content:encoded>
			<wfw:commentRss>http://davemessina.com/2007/09/18/finally-i-can-use-filemerge-with-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>links for 2007-06-23</title>
		<link>http://davemessina.com/2007/06/22/links-for-2007-06-23/</link>
		<comments>http://davemessina.com/2007/06/22/links-for-2007-06-23/#comments</comments>
		<pubDate>Sat, 23 Jun 2007 00:50:10 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[daily_links]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://davemessina.com/2007/06/22/links-for-2007-06-23/</guid>
		<description><![CDATA[

POE: What POE Is
POE is a framework for creating event-driven multitasking programs in Perl.
(tags: perl framework POE multitasking)


]]></description>
			<content:encoded><![CDATA[<ul class="delicious">
<li>
<div class="delicious-link"><a href="http://poe.perl.org/?What_POE_Is">POE: What POE Is</a></div>
<div class="delicious-extended">POE is a framework for creating event-driven multitasking programs in Perl.</div>
<div class="delicious-tags">(tags: <a href="http://del.icio.us/Dave_Messina/perl">perl</a> <a href="http://del.icio.us/Dave_Messina/framework">framework</a> <a href="http://del.icio.us/Dave_Messina/POE">POE</a> <a href="http://del.icio.us/Dave_Messina/multitasking">multitasking</a>)</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://davemessina.com/2007/06/22/links-for-2007-06-23/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The modern version of Cruel Shoes</title>
		<link>http://davemessina.com/2007/05/31/the-modern-version-of-cruel-shoes/</link>
		<comments>http://davemessina.com/2007/05/31/the-modern-version-of-cruel-shoes/#comments</comments>
		<pubDate>Thu, 31 May 2007 14:50:38 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://davemessina.com/2007/05/31/the-modern-version-of-cruel-shoes/</guid>
		<description><![CDATA[Now you can get vi behavior in OS X text windows with viAllOver. Still in beta. As if that&#8217;s the only reason to avoid it.
vi was written&#8230;on a Lear-Siegler ADM3A terminal. On this machine, the Escape key was where the Tab key is nowadays, thus enabling users to very efficiently switch modes. Also, the keys [...]]]></description>
			<content:encoded><![CDATA[<p>Now you can get <a href="http://www.bostic.com/vi/"><font style="font-family:courier;font-size:14px;">vi</font></a> behavior in OS X text windows with <a href="http://www.dabble.org/viallover/">viAllOver</a>. Still in beta. As if that&#8217;s the only reason to avoid it.</p>
<blockquote><p><font style="font-family:courier;font-size:14px;">vi</font> was written&#8230;on a Lear-Siegler ADM3A terminal. On this machine, the Escape key was where the Tab key is nowadays, thus enabling users to very efficiently switch modes. Also, the keys <font style="font-family:courier;font-size:14px;">hjkl</font> had arrows, thus explaining the usage of these keys for moving around.</p></blockquote>
<p align="right"><cite><a href="http://en.wikipedia.org/wiki/Vi">Wikipedia</a></cite></p>
<p>Aha! So <font style="font-family:courier;font-size:14px;">Vi</font> was designed for an arcane entry system no longer in use.</p>
<p><img src="http://davemessina.com/blog/wp-content/uploads/2007/05/boots.jpg" border="0" height="214" width="300" alt="boots.jpg" align="left" style="float:right;border:solid 1px silver;padding:5px;margin-right:10px;"/></p>
<h6>photo by <a href="http://www.digitalapoptosis.com">Andre Nantel</a></h6>
<p><!-- Technorati Tags Start --></p>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/os+x" rel="tag">os+x</a>, <a href="http://technorati.com/tag/cruel+shoes" rel="tag">cruel+shoes</a>, <a href="http://technorati.com/tag/vi" rel="tag">vi</a>
</p>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://davemessina.com/2007/05/31/the-modern-version-of-cruel-shoes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating perl 5.8.8 on OS X</title>
		<link>http://davemessina.com/2007/05/23/updating-perl-588-on-os-x/</link>
		<comments>http://davemessina.com/2007/05/23/updating-perl-588-on-os-x/#comments</comments>
		<pubDate>Wed, 23 May 2007 23:09:49 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://davemessina.com/2007/05/23/updating-perl-588-on-os-x/</guid>
		<description><![CDATA[Despite what I&#8217;ve read before, installing the current stable version under OS X is no longer a big deal. By default, everything is installed under /usr/local/ so it won&#8217;t clobber Apple&#8217;s perl 5.8.6, which can be found in /usr/. And it compiles cleanly, too.
The included instructions are pretty straightforward but long, so to cut to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://davemessina.com/blog/wp-content/uploads/2007/05/382039671-67a744fb4d-o.jpg"><img src="http://davemessina.com/blog/wp-content/uploads/2007/05/382039671-67a744fb4d-m.jpg" border="0" height="160" width="240" alt="382039671_67a744fb4d_m.jpg" align="right" /></a>Despite what <a href="http://search.cpan.org/~nwclark/perl-5.8.8/README.macosx#Updating_Apple">I&#8217;ve read before</a>, installing the current stable version under OS X is no longer a big deal. By default, everything is installed under <code class=&rdquo;prettyprint&rdquo;>/usr/local/</code> so it won&#8217;t clobber Apple&#8217;s perl 5.8.6, which can be found in <code class=&rdquo;prettyprint&rdquo;>/usr/</code>. And it compiles cleanly, too.</p>
<p><a href="http://search.cpan.org/~nwclark/perl-5.8.8/README.macosx">The included instructions</a> are pretty straightforward but long, so to cut to the chase:</p>
<p>1. Download <a href="http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.8.tar.gz">perl 5.8.8</a>. Unpack as usual and enter that directory.</p>
<pre class="prettyprint">	% tar zxf perl-5.8.8.tar.gz
	% cd perl-5.8.8
</pre>
<p>2. Run the included configuration script with a bunch of flags. <i>Hint: swipe each line separately, building one long command line, rather than grabbing all 6 lines in one go.</i></p>
<pre class="prettyprint">	% ./Configure -Accflags="-nostdinc
	-B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
	-B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
	-isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include
	-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks"
	-Aldflags="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" -de
</pre>
<p>3. Take a quick peek at the resulting settings to make sure everything&#8217;s kosher. I just scrolled up in my terminal window, but you can look in <code class=&rdquo;prettyprint&rdquo;>config.sh</code>, too.</p>
<p>4. <font style="font-family:courier;font-size:12px;">make</font>, <code class=&rdquo;prettyprint&rdquo;>make test</code>, <code class=&rdquo;prettyprint&rdquo;>make install</code> as usual.</p>
<p>5. That&#8217;s it &mdash; you&#8217;re done! You can verify that your new installation is now your default perl.</p>
<pre class="prettyprint">	% which perl
	/usr/local/bin/perl
	% perl --version

	This is perl, v5.8.8 built for darwin-2level
	[...etc...]</pre>
<p>If your results are different, make sure that <code class=&rdquo;prettyprint&rdquo;>/usr/local/bin</code> is before <code class=&rdquo;prettyprint&rdquo;>/usr/bin</code> in your path.</p>
<p><p>
<cite>Photo by <a href="http://flickr.com/photos/laughingsquid/">Laughing Squid</a></cite><br />
<!-- Technorati Tags Start --></p>
<h6>
<p>Technorati Tags:<br />
<a href="http://technorati.com/tag/perl" rel="tag">perl</a>, <a href="http://technorati.com/tag/os+x" rel="tag">os+x</a>, <a href="http://technorati.com/tag/howto" rel="tag">howto</a>, <a href="http://technorati.com/tag/apple" rel="tag">apple</a>
</p>
</h6>
<p><!-- Technorati Tags End --></p>
]]></content:encoded>
			<wfw:commentRss>http://davemessina.com/2007/05/23/updating-perl-588-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
