<?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>words &#187; OS X</title>
	<atom:link href="http://www.curlybrace.com/words/category/technology/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.curlybrace.com/words</link>
	<description>by Jeff Fitzsimons</description>
	<lastBuildDate>Tue, 20 Dec 2011 10:21:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>db46 Checksum Error During MacPorts Upgrade</title>
		<link>http://www.curlybrace.com/words/2011/03/05/db46-checksum-error-during-macports-upgrade/</link>
		<comments>http://www.curlybrace.com/words/2011/03/05/db46-checksum-error-during-macports-upgrade/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 20:17:46 +0000</pubDate>
		<dc:creator>Jeff Fitzsimons</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.curlybrace.com/words/?p=1612</guid>
		<description><![CDATA[Problem When upgrading my MacPorts installation, using sudo port upgrade outdated, I ran into the following error: ---> Verifying checksum(s) for db46 Error: Checksum (md5) mismatch for patch.4.6.21.1 Error: Checksum (md5) mismatch for patch.4.6.21.2 Error: Checksum (md5) mismatch for patch.4.6.21.3 &#8230; <a href="http://www.curlybrace.com/words/2011/03/05/db46-checksum-error-during-macports-upgrade/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>When upgrading my <a href="http://www.macports.org/">MacPorts</a> installation, using <tt>sudo port upgrade outdated</tt>, I ran into the following error:</p>
<blockquote><pre class="bash">--->  Verifying checksum(s) for db46
Error: Checksum (md5) mismatch for patch.4.6.21.1
Error: Checksum (md5) mismatch for patch.4.6.21.2
Error: Checksum (md5) mismatch for patch.4.6.21.3
Error: Checksum (md5) mismatch for patch.4.6.21.4
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<http://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
Error: Problem while installing db46</pre>
</blockquote>
<h2>Solution</h2>
<blockquote><pre class="bash">sudo port clean --all db46</pre>
</blockquote>
<p>Subsequently, running <tt>sudo port upgrade outdated</tt> worked as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curlybrace.com/words/2011/03/05/db46-checksum-error-during-macports-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mounting a TrueCrypt Partition on Mac OS</title>
		<link>http://www.curlybrace.com/words/2010/09/03/mounting-a-truecrypt-partition-on-mac-os/</link>
		<comments>http://www.curlybrace.com/words/2010/09/03/mounting-a-truecrypt-partition-on-mac-os/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 10:02:20 +0000</pubDate>
		<dc:creator>Jeff Fitzsimons</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.curlybrace.com/words/?p=1336</guid>
		<description><![CDATA[When an entire volume has been encrypted by TrueCrypt, it looks like an uninitialized drive to Mac OS. A dialog box will pop up, asking if you want to initialize (format) the drive. Click ignore. Next, run TrueCrypt. If TrueCrypt &#8230; <a href="http://www.curlybrace.com/words/2010/09/03/mounting-a-truecrypt-partition-on-mac-os/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When an entire volume has been encrypted by TrueCrypt, it looks like an uninitialized drive to Mac OS.  A dialog box will pop up, asking if you want to initialize (format) the drive.  <b>Click ignore</b>.</p>
<p><a href="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_DiskNotReadable..png"><img src="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_DiskNotReadable.-300x106.png" alt="" title="MacOS_DiskNotReadable." width="300" height="106" class="aligncenter size-medium wp-image-1330" /></a></p>
<p>Next, run TrueCrypt.  If TrueCrypt is already running, open its main window.  Click &#8216;select device&#8217;.</p>
<p><a href="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_Run..png"><img src="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_Run.-300x259.png" alt="" title="MacOS_TrueCrypt_Run." width="300" height="259" class="aligncenter size-medium wp-image-1334" /></a></p>
<p>TrueCrypt will prompt you for your administrator password.  This is your regular login password.  Note that if you don&#8217;t have administrative rights, you can&#8217;t mount an encrypted volume.</p>
<p><a href="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_EnterPassword..png"><img src="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_EnterPassword.-300x92.png" alt="" title="MacOS_TrueCrypt_EnterPassword." width="300" height="92" class="aligncenter size-medium wp-image-1332" /></a></p>
<p>Next, select the encrypted disk from the list of drives.  In this example, it&#8217;s a 60 gigabyte external harddrive, so I select the drive reported as 55.9 GB.</p>
<p><a href="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_SelectDevice..png"><img src="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_SelectDevice.-300x238.png" alt="" title="MacOS_TrueCrypt_SelectDevice." width="300" height="238" class="aligncenter size-medium wp-image-1335" /></a></p>
<p>You are now returned to TrueCrypt&#8217;s main window.  Click &#8216;Mount&#8217; in the bottom, left corner.</p>
<p><a href="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_MountVolume..png"><img src="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_MountVolume.-300x259.png" alt="" title="MacOS_TrueCrypt_MountVolume." width="300" height="259" class="aligncenter size-medium wp-image-1333" /></a></p>
<p>TrueCrypt will now prompt for the volume password.  This is the password used to encrypt the disk.</p>
<p><a href="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_EnterPassword..png"><img src="http://www.curlybrace.com/words/wp-content/uploads/2010/09/MacOS_TrueCrypt_EnterPassword.-300x92.png" alt="" title="MacOS_TrueCrypt_EnterPassword." width="300" height="92" class="aligncenter size-medium wp-image-1332" /></a></p>
<p>The volume is now mounted.  You may close the TrueCrypt main window and continue to access the encrypted disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curlybrace.com/words/2010/09/03/mounting-a-truecrypt-partition-on-mac-os/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Better GMail Causes 100% CPU Usage in Firefox</title>
		<link>http://www.curlybrace.com/words/2009/03/17/better-gmail-causes-100-cpu-usage-in-firefox/</link>
		<comments>http://www.curlybrace.com/words/2009/03/17/better-gmail-causes-100-cpu-usage-in-firefox/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 20:43:47 +0000</pubDate>
		<dc:creator>Jeff Fitzsimons</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.curlybrace.com/words/?p=714</guid>
		<description><![CDATA[For the last several weeks, I&#8217;ve noticed excessive CPU usage whenever GMail (GAYD-hosted email, specifically) is open in Firefox. By turning off add-ons one at a time, I found that this is caused solely by Better GMail 2. Firebug, FireGPG, &#8230; <a href="http://www.curlybrace.com/words/2009/03/17/better-gmail-causes-100-cpu-usage-in-firefox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For the last several weeks, I&#8217;ve noticed excessive CPU usage whenever GMail (GAYD-hosted email, specifically) is open in Firefox.  By turning off add-ons one at a time, I found that this is caused solely by Better GMail 2.</p>
<p>Firebug, FireGPG, Greasemonkey (on which Better GMail relies), and AdBlock Plus all had no effect on CPU usage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curlybrace.com/words/2009/03/17/better-gmail-causes-100-cpu-usage-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making OS X Command Line Behave More Like Linux (GNU)</title>
		<link>http://www.curlybrace.com/words/2009/03/04/command-line-autocompletion-for-os-x/</link>
		<comments>http://www.curlybrace.com/words/2009/03/04/command-line-autocompletion-for-os-x/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 21:42:34 +0000</pubDate>
		<dc:creator>Jeff Fitzsimons</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Auto-Completion]]></category>
		<category><![CDATA[Autocompletion]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[Port]]></category>

		<guid isPermaLink="false">http://www.curlybrace.com/words/2009/03/04/command-line-autocompletion-for-os-x/</guid>
		<description><![CDATA[The command-line oddities of Mac OS X&#8217;s BSD heritage drive me insane. I much prefer the behavior of the GNU toolchain, as provided by Ubuntu Linux. To begin, first install MacPorts. MacPorts Installation Variant +with_default_names With several MacPorts packages, the &#8230; <a href="http://www.curlybrace.com/words/2009/03/04/command-line-autocompletion-for-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The command-line oddities of Mac OS X&#8217;s BSD heritage drive me insane.  I much prefer the behavior of the GNU toolchain, as provided by Ubuntu Linux.</p>
<p>To begin, first <a href="http://www.macports.org/install.php">install MacPorts</a>.</p>
<h3>MacPorts Installation Variant <tt>+with_default_names</tt></h3>
<p>With several MacPorts packages, the <tt>+with_default_names</tt> variant may be specified.  This causes package contents to be installed without the default &#8220;g&#8221; prefix.  For example, without <tt>+with_default_names</tt>, <tt>find</tt> would be installed as <tt>gfind</tt>.</p></blockquote>
<h3>Autocompletion</h3>
<p>1) Use MacPorts to install the <tt>bash-completion</tt> package:</p>
<blockquote><pre class="bash">sudo /opt/local/bin/port install bash-completion</pre>
</blockquote>
<p>2)  Edit <tt>~/.bash_profile</tt> to load the correct autocompletion script:</p>
<blockquote><pre class="bash">if [ -f <b>/opt/local/</b>etc/bash_completion ]; then
   /opt/local/etc/bash_completion
fi</pre>
</blockquote>
<p>Open a new terminal window, and commands should auto-complete according to the GNU specification.</p>
<h3>Find</h3>
<p>The GNU version of <tt>find</tt> helpfully assumes that, if no arguments were given, you wish to search the current directory.  The OS X (BSD) version has no idea what to do without a directory specification.</p>
<blockquote><pre class="bash">sudo /opt/local/bin/port install findutils +with_default_names</pre>
</blockquote>
<p>This package includes find</tt>, <tt>gfind</tt>, <tt>glocate</tt>, <tt>goldfind</tt>, <tt>gupdatedb</tt>, <tt>gxargs</tt>, <tt>locate</tt>, <tt>oldfind</tt>, <tt>updatedb</tt>, and <tt>xargs</tt>.</p>
<h3>Core Utilities</h3>
<p>This vaguely-named package provides a large number of standard GNU tools.</p>
<blockquote><pre class="bash">sudo /opt/local/bin/port install coreutils +with_default_names</pre>
</blockquote>
<h3>Update Path</h3>
<p>In order to call the MacPorts-installed tools by default, your path will have to be updated to include <tt>/opt/local/libexec/gnubin/</tt>.  I added the following to <tt>~/.bash_profile</tt>:</p>
<blockquote><pre class="bash">export PATH="/opt/local/libexec/gnubin/:$PATH"</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.curlybrace.com/words/2009/03/04/command-line-autocompletion-for-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

