<?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>A Tempest of Thoughts &#187; Mac</title>
	<atom:link href="http://tempe.st/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://tempe.st</link>
	<description>aka blog.to_int(:inig)</description>
	<lastBuildDate>Thu, 13 May 2010 09:54:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>10 things I like about Mac OS X 10.5 Leopard</title>
		<link>http://tempe.st/2007/11/10-things-i-like-about-mac-os-x-105-leopard/</link>
		<comments>http://tempe.st/2007/11/10-things-i-like-about-mac-os-x-105-leopard/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 10:14:57 +0000</pubDate>
		<dc:creator>Giovanni Intini</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://tempe.st/2007/11/10-things-i-like-about-mac-os-x-105-leopard/</guid>
		<description><![CDATA[I&#8217;ve been playing with Leopard since day 1, and I&#8217;ve come to love some features (and loathe others, but that&#8217;s stuff for another article). Here&#8217;s the list, in no special order: Quickview &#8211; astonishingly useful, and fast. I don&#8217;t know how I&#8217;ve managed to go this far without it The new search feature in Safari [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;ve been playing with Leopard since day 1, and I&#8217;ve come to love some features (and loathe others, but that&#8217;s stuff for another article). Here&#8217;s the list, in no special order:</p>
	<ol>
		<li>Quickview &#8211; astonishingly useful, <strong>and</strong> fast. I don&#8217;t know how I&#8217;ve managed to go this far without it <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   </li>
		<li>The new search feature in Safari &#8211; it mimicks what Firefox has been doing for a long time, but the yellow popuppy highlighting sold me to it.</li>
		<li>The new iChat &#8211; if Mac OS X had a wider audience, this would be the most used program in the world. I already figure hordes of teenagers sharing their desktops and slideshows. I also envision script kiddies taking control of your desktop <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
		<li>Garbage collection in Objective C 2.0 &#8211; &#8216;nuff said.</li>
		<li>Rubygems shipped by default &#8211; the first thing I did after installing Leopard was: <em>sudo gem install rails&#8212;include-dependencies</em></li>
		<li>The new finder &#8211; I wasn&#8217;t expecting big improvements here, but it is much snappier now, and the new search feature are blazing fast, and, believe it or not, I quite like coverflow view.</li>
		<li>The way folders behave in the dock &#8211; I put my dock on the bottom just to have springing files out of folders.</li>
		<li>Webclips &#8211; suddenly the dashboard has become a much more used feature.</li>
		<li>The new window chrome (and most of all the improved shadows on the foreground window) &#8211; modern looks for modern operating systems <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
		<li>Spaces &#8211; now I feel like I&#8217;m using a Unix environment <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
	</ol>


 ]]></content:encoded>
			<wfw:commentRss>http://tempe.st/2007/11/10-things-i-like-about-mac-os-x-105-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The most unstable application on my Mac: Firefox</title>
		<link>http://tempe.st/2007/10/the-most-unstable-application-on-my-mac-firefox/</link>
		<comments>http://tempe.st/2007/10/the-most-unstable-application-on-my-mac-firefox/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 08:52:23 +0000</pubDate>
		<dc:creator>Giovanni Intini</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://tempe.st/2007/10/the-most-unstable-application-on-my-mac-firefox/</guid>
		<description><![CDATA[Is it just me or Firefox is the most unstable mainstream application available for the Macintosh platform? I have to quit and reload it at least twice a day because it hogs resources until the system isn&#8217;t responsive anymore. From now on I will resume using Safari for everything but JavaScript debugging.]]></description>
			<content:encoded><![CDATA[	<p>Is it just me or Firefox is the most unstable mainstream application available for the Macintosh platform? I have to quit and reload it at least twice a day because it hogs resources until the system isn&#8217;t responsive anymore. From now on I will resume using Safari for everything but JavaScript debugging. </p>

 ]]></content:encoded>
			<wfw:commentRss>http://tempe.st/2007/10/the-most-unstable-application-on-my-mac-firefox/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Sudoless Rails Stack on OSX</title>
		<link>http://tempe.st/2007/08/sudoless-rails-stack-on-osx/</link>
		<comments>http://tempe.st/2007/08/sudoless-rails-stack-on-osx/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 08:38:02 +0000</pubDate>
		<dc:creator>Giovanni Intini</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://tempe.st/2007/08/sudoless-rails-stack-on-osx/</guid>
		<description><![CDATA[More and more of my developer friends are switching to OSX as time goes by, and they keep asking me for directions on the best setup for rails development: how to install ruby, how to install the missing libraries, and so on. My professional development life started on a PB Titanium running OSX 10.2, and [...]]]></description>
			<content:encoded><![CDATA[	<p>More and more of my developer friends are switching to OSX as time goes by, and they keep asking me for directions on the best setup for rails development: how to install ruby, how to install the missing libraries, and so on.</p>
	<p>My professional development life started on a PB Titanium running OSX 10.2, and continued through a PB Aluminium and a Macbook Pro. Each time I changed laptop I also reinstalled everything again, and each time I tried to come up with a better setup. </p>
	<p>Now I&#8217;ve finally found a setup I&#8217;m comfortable with, and it has the following advantages:</p>
	<ul>
		<li>Sudoless: everything runs from my user directory</li>
		<li>Non-system-tampering: doesn&#8217;t touch files in the original osx installation</li>
		<li>Crash-proof-easy-reinstall: you can just delete everything and reinstall without fear of rendering your system unstable</li>
		<li>Fink based: uses everything it can use from the fink repositories</li>
	</ul>
	<p>Now that I&#8217;ve sold you on my setup <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  it&#8217;s time to explain how to implement it. </p>
	<h3>Step one: XCode and Developer Tools</h3>
	<p>If you don&#8217;t have XCode already installed you can install it from the disks you got with your Mac or, better, download the newest version from <a href="http://connect.apple.com">Apple Developer Connection</a>. Once you got it installed you can proceed to the next step.</p>
	<h3>Step two: Fink</h3>
	<p>Go to the <a href="http://www.finkproject.org/download/index.php?phpLang=en">Fink Download Page</a>, and get the package that works best on your Mac (intel or powerpc). Follow the installation instructions and install the base fink system. After you&#8217;ve done that add these lines to your <em><sub>/.profile</em></p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;"># Dev Enviroment
&nbsp;
LDFLAGS=-L/sw/lib
export LDFLAGS
&nbsp;
CPPFLAGS='-I/Users/your_username/unix/include -I/sw/include'
export CPPFLAGS</pre></div></div>

	<p>_/Users/your_username/unix/include_ doesn&#8217;t exist yet, but we&#8217;ll create it when installing ruby.</p>
	<h3>Step three: Ruby from Sources</h3>
	<p>This is the first tricky part. Before OSX 10.4.6 the Ruby version shipped by Apple didn&#8217;t work with rails, so you were on your own. Now it works, but I prefer to have ruby in my home directory so I can mess with the sources and with the gem files and upgrade painlessly. So <a href="http://www.ruby-lang.org/en/downloads">download the latest ruby</a> sources and unpack them wherever you wish (I like <em></sub>/src</em>).</p>
	<p>Now you&#8217;re ready to go. First make sure you have readline and readline5-shlibs installed via fink so you can have a comfortable irb environment:</p>
<pre>
user$ fink install readline readline5-shlibs
</pre> 
	<p>After that it&#8217;s time for ruby:</p>
<pre>
user$ cd &lt;sub&gt;/src/ruby-1.8.6
user$ ./configure &lt;del&gt;-prefix=/Users/your_username/unix
user$ make &#38;&#38; make install
</pre>
	<p>The whole magic (and it&#8217;s not a big magic btw) is in <em></del>-prefix</em>. Installing ruby will create the /Users/your_username/unix path. Now it&#8217; time to add the <em>unix</em> dir to $PATH. Edit <em></sub>/profile</em> once again and add these lines:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">PATH=/Users/your_username/unix/bin:/usr/local/mysql/bin:/usr/local/sbin:$PATH
export PATH</pre></div></div>

	<h3>Step four: MySQL</h3>
	<p>Quite simple with the packages from <a href="http://mysql.com">mysql.com</a>.</p>
	<h3>Step five: Last but not least, rubygems</h3>
	<p>Fetch the gem package from <a href="http://rubyforge.org/frs/?group_id=126">RubyForge</a> and install it:</p>
<pre>
user$ cd src/unpacked-rubygems-directory
user$ ruby setup.rb
</pre>
	<h3>Step six: This is the real last step <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8211; Rails and a little hack</h3>
	<p>Now you&#8217;re free to install rails (and friends) using</p>
<pre>
user$ gem install rails --include-dependencies
user$ gem install mysql-ruby
user$ gem install capistrano --include-dependencies
user$ gem install mongrel --include-dependencies
</pre>
	<p>The small hack I was talking about is a symlink:</p>
<pre>
user$ sudo mv /usr/bin/ruby /usr/bin/ruby-apple
user$ sudo ln -s /Users/your_username/unix/bin/ruby /usr/bin/ruby
</pre>
	<p>This way applications that insist on using <em>/usr/bin/ruby</em> (TextMate&#8217;s RubyMate for example) will work fine. </p>
	<p>Have fun with your self-made rails stack <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

 ]]></content:encoded>
			<wfw:commentRss>http://tempe.st/2007/08/sudoless-rails-stack-on-osx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Status update: the Mac Migration Assistant</title>
		<link>http://tempe.st/2007/03/status-update-the-mac-migration-assistant/</link>
		<comments>http://tempe.st/2007/03/status-update-the-mac-migration-assistant/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 23:28:30 +0000</pubDate>
		<dc:creator>Giovanni Intini</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://tempe.st/2007/03/status-update-the-mac-migration-assistant/</guid>
		<description><![CDATA[This is an update to Platform Switching. I finally decided to run the Mac Migration Assistant, that worked so well in my switch from the Powerbook Titanium to the Powerbook Aluminium, and I soon entered a world of hurt, where the Macbook Pro was slow and crashy. I guess this is the price to pay [...]]]></description>
			<content:encoded><![CDATA[	<p>This is an update to <a href="http://tempe.st/2007/03/platform-switching">Platform Switching</a>.</p>
	<p>I finally decided to run the Mac Migration Assistant, that worked so well in my switch from the Powerbook Titanium to the Powerbook Aluminium, and I soon entered a world of hurt, where the Macbook Pro was slow and crashy. I guess this is the price to pay if you like the unix part of OS X as much as the Mac part and keep compiling lots of stuff that doesn&#8217;t play nice with a new architecture <img src='http://tempe.st/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
	<p>Tomorrow I will try to move manually the last three years of my life from IBM silicon to Intel one. Cross your fingers, I know I will cross mine.</p>

 ]]></content:encoded>
			<wfw:commentRss>http://tempe.st/2007/03/status-update-the-mac-migration-assistant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Platform switching</title>
		<link>http://tempe.st/2007/03/platform-switching/</link>
		<comments>http://tempe.st/2007/03/platform-switching/#comments</comments>
		<pubDate>Mon, 19 Mar 2007 08:59:55 +0000</pubDate>
		<dc:creator>Giovanni Intini</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Random Stuff]]></category>

		<guid isPermaLink="false">http://tempe.st/2007/03/platform-switching/</guid>
		<description><![CDATA[As you probably know I recently bought a Macbook Pro to replace my trusty Powerbook G4, friend of many adventures in the lands of programming, and you will be happy to discover I&#8217;m still writing posts on the old friend. The reason is simple, I still couldn&#8217;t find the time to move all of my [...]]]></description>
			<content:encoded><![CDATA[	<p>As you probably know I recently bought a Macbook Pro to replace my trusty Powerbook G4, friend of many adventures in the lands of programming, and you will be happy to discover I&#8217;m still writing posts on the old friend.</p>
	<p>The reason is simple, I still couldn&#8217;t find the time to move all of my data from the PB to the MBP, and I&#8217;m not sure I will be able to do it as soon as I would like to.</p>
	<p>Nowaday people stock so many data on their hard drives, personal and work related, that migrating is a <em>PITA</em>. I could use the mac migration assistant, but I would like to reorganize everything (especially my fink layout). I also fear that many of my applications won&#8217;t work well on the new intel platform.</p>
	<p>I&#8217;ll probably try the migration assistant and see if it allows partial migrations (maybe just music, that would be ok). </p>
	<p>I&#8217;m open to any suggestion so feel free to comment, and cross your fingers for me <img src='http://tempe.st/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

 ]]></content:encoded>
			<wfw:commentRss>http://tempe.st/2007/03/platform-switching/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
