<?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>Delivering Quality &#187; OS X</title>
	<atom:link href="http://www.markdeepwell.com/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markdeepwell.com</link>
	<description>A Software Developers View of the World</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:44:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>mod_mono.so library OS X</title>
		<link>http://www.markdeepwell.com/2010/07/mod_mono-so-library-os-x/</link>
		<comments>http://www.markdeepwell.com/2010/07/mod_mono-so-library-os-x/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 16:44:04 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[compiled library]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=526</guid>
		<description><![CDATA[Here are compiled versions of the mod_mono.so libraries built for OS X Snow Leopard as a convenience in case you don&#8217;t want to bother compiling them. mod_mono version: 2.6.3 Download 32-bit: i386 64-bit: x86_64]]></description>
			<content:encoded><![CDATA[<p>Here are compiled versions of the <a href="http://en.wikipedia.org/wiki/Mod_mono">mod_mono</a>.so libraries built for OS X Snow Leopard as a convenience in case you don&#8217;t want to bother compiling them.</p>
<p>mod_mono version: 2.6.3</p>
<h3>Download</h3>
<p>32-bit: <a href="http://www.markdeepwell.com/wp-content/uploads/2010/07/mod_mono-i386.zip"> i386</a><br />
64-bit: <a href="http://www.markdeepwell.com/wp-content/uploads/2010/07/mod_mono-x86_64.zip"> x86_64</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2010/07/mod_mono-so-library-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Ubuntu for Time Machine in Snow Leopard</title>
		<link>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 16:47:41 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Time Machine]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=365</guid>
		<description><![CDATA[Instructions for creating a sparse bundle disk image for using Time Machine with Ubuntu on Snow Leopard.]]></description>
			<content:encoded><![CDATA[<p>Over a year ago Matthias Kretschmann posted an excellent guide on how to use  <a href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/">Ubuntu as a Time Machine</a> backup server. The guide is quite well written all the configuration steps worked, but I received <strong>Error 45 creating backup disk image</strong> when Time Machine ran. Some more research revealed that this is because of changes to the sparse bundle image in Snow Leopard.</p>
<p>To make it work I had to create my own sparse bundle with a  plist file in it to associate my MacBook&#8217;s unique id with the time machine image. Leopard and earlier releases of OS X would create a sparse disk image with the name from the network cards mac address, but in Snow Leopard  it uses the computer Hardware UUID. I imagine this is because notebooks can have more than one mac address, one for wired and one for wireless.</p>
<h3>How to create a sparse bundle in Snow Leopard</h3>
<p><strong>Step 1</strong>: Create the disk image with your computer&#8217;s name:</p>
<p><tt>hdiutil create -size 500G -fs HFS+J -volname 'Time Machine Backup'  -type SPARSEBUNDLE computer_name.sparsebundle</tt></p>
<p><strong>Step 2</strong>: Create a file called <tt>com.apple.TimeMachine.MachineID.plist</tt> inside the sparsebundle folder and fill it with the following:</p>
<div style="overflow:scroll">
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;com.apple.backupd.HostUUID&lt;/key&gt;
    &lt;string&gt;UUID_STRING&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;</code></pre>
</div>
<p>Make sure you replace UUID_STRING with your unique machine identifier. This can be found by loading System Profiler (Hardware UUID).</p>
<p><strong>Step 3</strong>: Transfer the sparse bundle disk image to your Ubuntu computer:</p>
<p><tt>rsync -avP computer_name.sparsebundle username@ubuntumachine:~/<br />
</tt></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/11/using-ubuntu-for-time-machine-in-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fixing MySQL Gem on Snow Leopard</title>
		<link>http://www.markdeepwell.com/2009/09/fixing-mysql-gem-on-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2009/09/fixing-mysql-gem-on-snow-leopard/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 22:14:36 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Tools]]></category>
		<category><![CDATA[Gem]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=231</guid>
		<description><![CDATA[A fresh Snow Leopard (OSX 10.6) install does not have the mysql gem installed, and installing it fails because of missing header files: Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h [...]]]></description>
			<content:encoded><![CDATA[<p>A fresh Snow Leopard (OSX 10.6) install does not have the mysql gem installed, and installing it fails because of missing header files:<br />
<code><br />
Building native extensions.  This could take a while...<br />
ERROR:  Error installing mysql:<br />
ERROR: Failed to build gem native extension.</code><br />
<code><br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql<br />
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h<br />
</code><br />
To correctly install the mysql gem:</p>
<ol>
<li>Download and install the <a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg">MySQL package</a>.</li>
<li>Install XCode that&#8217;s bundled with Snow Leopard</li>
<li>Install the gem for your architecture (use -arch i386 if you have an Intel Core Solo or Intel Core Duo processor):</li>
</ol>
<p><code> # sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql-5.1.38-osx10.5-x86_64/bin/mysql_config<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/09/fixing-mysql-gem-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install Git on Snow Leopard</title>
		<link>http://www.markdeepwell.com/2009/09/install-git-on-snow-leopard/</link>
		<comments>http://www.markdeepwell.com/2009/09/install-git-on-snow-leopard/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 01:23:22 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Software Tools]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=221</guid>
		<description><![CDATA[To install git on the latest version of OS X (10.6), use the git-1.6.4.2-intel-leopard.dmg (or later) package from git-osx-installer. So far it works fine for me on Snow Leopard. I like how OS X comes with a large number of open source packages such as PHP, Apache, Vim, Subversion and Ruby on Rails; however, I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>To install git on the latest version of OS X (10.6), use the git-1.6.4.2-intel-leopard.dmg (or later) package from <a href="http://code.google.com/p/git-osx-installer/">git-osx-installer</a>. So far it works fine for me on Snow Leopard.</p>
<p>I like how OS X comes with a large number of open source packages such as PHP, Apache, Vim, Subversion and Ruby on Rails; however, I&#8217;d really like to see Apple add Git to the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/09/install-git-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux Distributions are a Closed Software Environment</title>
		<link>http://www.markdeepwell.com/2009/06/linux-distributions-are-a-closed-software-environment/</link>
		<comments>http://www.markdeepwell.com/2009/06/linux-distributions-are-a-closed-software-environment/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 01:10:21 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[linux distributions]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.markdeepwell.com/?p=10</guid>
		<description><![CDATA[Closed? How can that be? The whole premise of most Linux Distributions is to be a free and open environment for users and developers. What I mean is that software packages available on the web or on distributable media often don&#8217;t work on Linux. Valid examples are software from game publishers and bleeding edge software. [...]]]></description>
			<content:encoded><![CDATA[<p>Closed? How can that be? The whole premise of most Linux Distributions is to be a <a href="http://www.free-soft.org">free and open environment</a> for users and developers.</p>
<p>What I mean is that software packages available on the web or on distributable media often don&#8217;t work on Linux. Valid examples are software from game publishers and bleeding edge software.</p>
<p>For example, people who use the Fedora distribution (could be SUSE, Ubuntu&#8230;) install new software packages via its package manager called yum. All packages in the repository (there are thousands) have been compiled specifically for each version of Fedora Core.</p>
<p>How is this a problem? It seems like an ideal universe; software is packaged and ready to go for the user, they just have to click install and BAM, it&#8217;s done.</p>
<p>It is beautiful and is wonderful for keeping software up to date, to stay on top of security patches, and for general system health. The problem starts when a user wants to try some bleeding edge software that&#8217;s not yet in the repository, or other software that&#8217;s just not well known enough to be in the public software repository. Yes you can add private ones, but that doesn&#8217;t solve the problem.</p>
<p>Users should be in full control to go to any website, download an application binary, and have it working on their system in a matter of minutes.</p>
<ul>
<li>You can do this on Windows, though it gets unwieldy.</li>
<li>Mac OS X works wonderfuly because you can just drag new software into the Applications directory. It doesn&#8217;t matter if I already have Firefox 3.0 installed and I&#8217;m trying out a release candidate of Firefox 3.5. I can install it with a drag and drop, test it, and delete it with a drag and drop while leaving my system in a 100% safe state.</li>
</ul>
<p>This should be possible on Linux.</p>
<p>But you might say that is the case, users can download software for Linux and run it. True nothing is stopping them, but it&#8217;s discouraged and can create problems for the system package manager. Even if packages are available for Linux, the experience can be bad.</p>
<p>A few days ago I tried the developers preview of <a href="http://dev.chromium.org/getting-involved/dev-channel">Google Chrome</a> on Linux and OS X. On Linux I spend 20 minutes trying to link up the libraries until I realized my AMD64 machine didn&#8217;t have the necessary 32bit libraries it required. So I tried it on Mac and had it working instantly.</p>
<p>Lets make this experience on Linux to be as simple as it is on a Mac.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markdeepwell.com/2009/06/linux-distributions-are-a-closed-software-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
