<?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>redemption in a blog &#187; Mac</title>
	<atom:link href="http://blog.codefront.net/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codefront.net</link>
	<description>Rails, Firefox, Anime, Mac</description>
	<lastBuildDate>Tue, 24 Jan 2012 01:47:54 +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>Reveal currently open files in Mac OS X</title>
		<link>http://blog.codefront.net/2008/06/28/reveal-currently-open-files-in-mac-os-x/</link>
		<comments>http://blog.codefront.net/2008/06/28/reveal-currently-open-files-in-mac-os-x/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 06:10:05 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/?p=1124</guid>
		<description><![CDATA[Something I noticed completely by accident today when I clicked on the titlebar of QuickTime Player today with the Cmd key held down. The &#8220;titlebar&#8221; is this thing here &#8211; I&#8217;m not sure that&#8217;s the right name for it: Anyway, if you hold down the Cmd key (aka the Apple key), a menu pops up [...]]]></description>
			<content:encoded><![CDATA[<p>Something I noticed completely by accident today when I clicked on the titlebar of QuickTime Player today with the Cmd key held down. The &#8220;titlebar&#8221; is this thing here &#8211; I&#8217;m not sure that&#8217;s the right name for it:</p>
<div class="img"><a href="http://blog.codefront.net/wp-content/uploads/2008/06/qt-titlebar.png"><img src="http://blog.codefront.net/wp-content/uploads/2008/06/qt-titlebar.png" alt="" title="QuickTime titlebar" /></a></div>
<p><br style="clear: both;" /></p>
<p>Anyway, if you hold down the Cmd key (aka the Apple key), a menu pops up that shows the folder hierarchy of where the currently opened QuickTime movie is in your filesystem:</p>
<div class="img"><a href="http://blog.codefront.net/wp-content/uploads/2008/06/qt-title-bar-expanded.png"><img src="http://blog.codefront.net/wp-content/uploads/2008/06/qt-title-bar-expanded.png" alt="" title="QuickTime Player with \&quot;Reveal file\&quot; menu" /></a></div>
<p><br style="clear: both;" /></p>
<p>This works in all Mac apps that display the filename of the currently open/focused file in the titlebar.</p>
<p>It&#8217;s useful for me since my <acronym title="Nerd ADD">NADD</acronym> means I try to close as many unused windows as possible to adhere to my Cmd-Tab diet &#8211; now I can close Finder windows after opening files and be sure that I can get back to them quickly. What about <a href="http://www.blacktree.com/">QuickSilver</a>? Yup, I do use (and love) QuickSilver but I don&#8217;t let it catalog every single file!</p>
<p>Another nice thing about this is that I can easily reveal files in Finder in my favorite text editor (TextMate) without needing to use the project drawer:</p>
<div class="img"><a href="http://blog.codefront.net/wp-content/uploads/2008/06/textmate-expanded.png"><img src="http://blog.codefront.net/wp-content/uploads/2008/06/textmate-expanded.png" alt="" title="TextMate with \&quot;Reveal file\&quot; menu" width="300" height="214" /></a></div>
<p><br style="clear: both;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2008/06/28/reveal-currently-open-files-in-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Try the new Mac OS X UI for Firefox 3</title>
		<link>http://blog.codefront.net/2007/11/20/try-the-new-mac-os-x-ui-for-firefox-3/</link>
		<comments>http://blog.codefront.net/2007/11/20/try-the-new-mac-os-x-ui-for-firefox-3/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 10:13:36 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/11/20/try-the-new-mac-os-x-ui-for-firefox-3/</guid>
		<description><![CDATA[The Firefox 3 developers have been working on a visual refresh that integrates more tightly into the OS, and the Mac OS X version is looking pretty sweet. Well, public opinion varies greatly &#8211; from people who feel that it&#8217;s a rip off of Safari to those who really like the Brushed Metal look (myself [...]]]></description>
			<content:encoded><![CDATA[<p>The Firefox 3 developers have been working on a <a href="http://blog.mozilla.com/faaborg/2007/10/10/the-firefox-3-visual-refresh-system-integration/">visual refresh</a> that integrates more tightly into the OS, and the Mac OS X version is looking pretty sweet. Well, public opinion varies greatly &#8211; from people who feel that it&#8217;s a <a href="http://digg.com/apple/Proposed_Firefox_3_Theme_For_Mac_OS_X_Looks_Exactly_Like_Safari">rip off of Safari</a> to those who really like the Brushed Metal look (myself included).</p>
<div class="img"><img src='http://blog.codefront.net/wp-content/uploads/2007/11/firefox-3-with-proto-theme_thumb.png' alt='' /></div>
<p><br style="clear: both;" /></p>
<p>Well, if you wanna check out the proposed Mac OS X Firefox 3 UI for yourself, grab yourself a copy of <a href="http://www.mozilla.com/en-US/firefox/3.0b1/releasenotes/">Firefox 3 Beta 1</a> and go get the <a href="https://addons.mozilla.org/en-US/firefox/addon/6050">Proto theme</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/11/20/try-the-new-mac-os-x-ui-for-firefox-3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What&#8217;s your SSID?</title>
		<link>http://blog.codefront.net/2007/09/07/whats-your-ssid/</link>
		<comments>http://blog.codefront.net/2007/09/07/whats-your-ssid/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 12:10:44 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/09/07/whats-your-ssid/</guid>
		<description><![CDATA[After seeing this amusingly-named SSID, I thought it&#8217;d be fun to post the SSID of my wireless network at home: The name is completely not my idea so I claim no credit &#8211; I stole it from my girlfriend&#8217;s brother, who conceived the SSID of &#8220;AssAssID&#8221;. What&#8217;s your SSID and have you seen any amusing [...]]]></description>
			<content:encoded><![CDATA[<p>After seeing this amusingly-named <a href="http://en.wikipedia.org/wiki/SSID">SSID</a>, I thought it&#8217;d be fun to post the SSID of my wireless network at home:</p>
<div class="img"><img src='http://blog.codefront.net/wp-content/uploads/2007/09/assassid_ssid.jpg' alt='AssAssID / SSID?' /></div>
<p><br style="clear: both;" /></p>
<p>The name is completely not my idea so I claim no credit &#8211; I stole it from my girlfriend&#8217;s brother, who conceived the SSID of &#8220;AssAssID&#8221;.</p>
<p>What&#8217;s your SSID and have you seen any amusing ones? Or is yours one of the bajillion &#8216;linksys&#8217; or &#8216;DLINK&#8217; SSIDs in existence?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/09/07/whats-your-ssid/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Adium themes use plain old XHTML, CSS and JS</title>
		<link>http://blog.codefront.net/2007/07/28/adium-themes-use-plain-old-xhtml-css-and-js/</link>
		<comments>http://blog.codefront.net/2007/07/28/adium-themes-use-plain-old-xhtml-css-and-js/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 06:07:18 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Asides]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/07/28/adium-themes-use-plain-old-xhtml-css-and-js/</guid>
		<description><![CDATA[Just a quick note of something I found out while reading Transcending CSS: all the themes (message styles, contact list styles, etc.) in Adium are crafted with our old friends XHTML, CSS and JS. I opened up a few AdiumXtras to see for myself and true enough, &#60;div&#62;s and CSS rules make up the style. [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note of something I found out while reading <a href="http://www.transcendingcss.com/">Transcending CSS</a>: all the <a href="http://adiumxtras.com/">themes</a> (message styles, contact list styles, etc.) in <a href="http://adiumx.com/">Adium</a> are crafted with our old friends XHTML, CSS and JS. I opened up a few <a href="http://adiumxtras.com/">AdiumXtras</a> to see for myself and true enough, <code>&lt;div&gt;</code>s and CSS rules make up the style. Very smart decision by the Adium developers.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/07/28/adium-themes-use-plain-old-xhtml-css-and-js/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Prototype 1.5.1 is baaaaad for Safari 1 and 2 users</title>
		<link>http://blog.codefront.net/2007/06/21/prototype-151-is-baaaaad-for-safari-1-and-2-users/</link>
		<comments>http://blog.codefront.net/2007/06/21/prototype-151-is-baaaaad-for-safari-1-and-2-users/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 11:15:00 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/06/21/prototype-151-is-baaaaad-for-safari-1-and-2-users/</guid>
		<description><![CDATA[Read the bug fix announcement. Upgrade! This was causing extremely puzzling crashes in Safari on Macs (pre-Safari 3 beta) on one of our applications and I&#8217;m glad (in some ways) that the problem lay with the Prototype library.]]></description>
			<content:encoded><![CDATA[<p>Read the <a href="http://prototypejs.org/2007/6/20/prototype-1-5-1-1-bugfix-release">bug fix announcement</a>. Upgrade! This was causing extremely puzzling crashes in Safari on Macs (pre-Safari 3 beta) on <a href="http://www.bezurk.com/hotels/singapore/singapore">one of our applications</a> and I&#8217;m glad (in some ways) that the problem lay with the Prototype library.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/06/21/prototype-151-is-baaaaad-for-safari-1-and-2-users/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>So what exactly are you looking forward to in Leopard?</title>
		<link>http://blog.codefront.net/2007/06/13/so-what-exactly-are-you-looking-forward-to-in-leopard/</link>
		<comments>http://blog.codefront.net/2007/06/13/so-what-exactly-are-you-looking-forward-to-in-leopard/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 17:02:35 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/06/13/so-what-exactly-are-you-looking-forward-to-in-leopard/</guid>
		<description><![CDATA[So there&#8217;s this big Leopard thing that&#8217;s the talk of Mac town (well, that and Safari) with all the new features being revealed (officially, at least, to the general public) at WWDC 2007. Some of the features are pretty cool, most of them are mundane. For me, I am really looking forward to: the new [...]]]></description>
			<content:encoded><![CDATA[<p>So there&#8217;s this big <a href="http://www.apple.com/macosx/leopard/">Leopard</a> thing that&#8217;s the talk of Mac town (well, that and Safari) with all the new features being revealed (officially, at least, to the general public) at <a href="http://developer.apple.com/wwdc/">WWDC 2007</a>.</p>
<div class="img"><img src='http://blog.codefront.net/wp-content/uploads/2007/06/apple-leopard-homepage.jpg' alt='Screenshot of Apple Leopard homepage' /></div>
<p><br style="clear: both;" /></p>
<p>Some of the features are pretty cool, most of them are mundane. For me, I am really looking forward to:</p>
<ul>
<li>the <a href="http://www.apple.com/macosx/leopard/features/finder.html">new Finder</a> &#8211; Finder sucks so bad as a file system interface. I use <a href="http://www.cocoatech.com/pf4/">Path Finder</a>, which incidentally had an <a href="http://www.cocoatech.com/changelog.php">upgrade</a> recently to 4.7. The new Finder looks pretty (Cover Flow for files, sexy!) but what I&#8217;m really hoping for is a Finder with which you can actually be productive.</li>
<li><a href="http://www.apple.com/macosx/leopard/technology/unix.html">Ruby and Rails baked right into Mac OS X</a> &#8211; while installing Rails and upgrading Ruby is a breeze on Mac OS X as it is right now, having these installed by default is pretty sweet. Even <a href="http://capify.org/">Capistrano</a> will be included. Now, how one upgrades Ruby is another thing though&#8230;</li>
<li><a href="http://www.apple.com/macosx/leopard/features/timemachine.html">Time Machine</a> &#8211; Even though I already own a licensed copy of <a href="http://www.shirt-pocket.com/SuperDuper/">SuperDuper!</a>, I&#8217;m still eager to use Time Machine. I mean, who isn&#8217;t hooked on the time travel metaphor yet? It&#8217;s like <a href="http://en.wikipedia.org/wiki/System_Restore">System Restore</a> done right (with the advantage of hindsight, of course).</li>
</ul>
<p>What are <strong>you</strong> looking forward in Leopard?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/06/13/so-what-exactly-are-you-looking-forward-to-in-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>That &#8220;Safari&#8221; thing&#8230;</title>
		<link>http://blog.codefront.net/2007/06/13/that-safari-thing/</link>
		<comments>http://blog.codefront.net/2007/06/13/that-safari-thing/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 16:34:34 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Asides]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/06/13/that-safari-thing/</guid>
		<description><![CDATA[So what exactly is new in Safari 3 (other than the big OMGWTFBBQ over Safari for Windows)? TUAW has the best writeup (with screenshots of course) of the new features in Safari 3 I&#8217;ve seen so far. Check it out if you&#8217;re lazy to try it out &#8211; I did install the beta and took [...]]]></description>
			<content:encoded><![CDATA[<p>So what exactly is new in <a href="http://www.apple.com/safari/">Safari 3</a> (other than the big OMGWTFBBQ over Safari for Windows)? TUAW has the <a href="http://www.tuaw.com/2007/06/12/beta-beat-new-to-safari-3/">best writeup (with screenshots of course) of the new features in Safari 3</a> I&#8217;ve seen so far. Check it out if you&#8217;re lazy to try it out &#8211; I did install the beta and took it for a test drive, but was never much of a Safari user to recognize what exactly did change in Safari 3 beta, so this helped. I must say the new Find interface is really slick and the draggable tabs has been a long time coming (one of my biggest annoyances with Safari and Camino).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/06/13/that-safari-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toilets and Linux evangelism</title>
		<link>http://blog.codefront.net/2007/06/05/toilets-and-linux-evangelism/</link>
		<comments>http://blog.codefront.net/2007/06/05/toilets-and-linux-evangelism/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 06:44:54 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/06/05/toilets-and-linux-evangelism/</guid>
		<description><![CDATA[Pardon the self-promoting cross-linking: Toilets and Linux evangelism (or what we use to build Bezurk) is an entry I just posted on the brand new Bezurk Blog about how the toilet is a good place to spread the word. If you&#8217;ve found other neat ways to use the free Ubuntu stickers (or even the Apple [...]]]></description>
			<content:encoded><![CDATA[<p>Pardon the self-promoting cross-linking: <a href="http://blog.bezurk.com/2007/06/05/toilets-and-linux-evangelism-or-what-we-use-to-build-bezurk/">Toilets and Linux evangelism (or what we use to build Bezurk)</a> is an entry I just posted on the brand new <a href="http://blog.bezurk.com/">Bezurk Blog</a> about how the toilet is a good place to spread the word. </p>
<p>If you&#8217;ve found other neat ways to use the free Ubuntu stickers (or even the Apple stickers that comes with iPods), do post it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/06/05/toilets-and-linux-evangelism/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ImageMagick port &#8220;broken&#8221; temporarily</title>
		<link>http://blog.codefront.net/2007/05/29/imagemagick-port-broken-temporarily/</link>
		<comments>http://blog.codefront.net/2007/05/29/imagemagick-port-broken-temporarily/#comments</comments>
		<pubDate>Tue, 29 May 2007 11:15:50 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/05/29/imagemagick-port-broken-temporarily/</guid>
		<description><![CDATA[Just in case anyone runs into this problem (which, I might add, would probably go away when either the portfile is updated or the source mirror fixes the problem) while installing ImageMagick via MacPorts&#8230; While trying to install Rmagick on my spanking, new, glossy, kakkoii MacBook, MacPorts reported a checksum error with the ImageMagick source [...]]]></description>
			<content:encoded><![CDATA[<p>Just in case anyone runs into this problem (which, I might add, would probably go away when either the portfile is updated or the source mirror fixes the problem) while installing <a href="http://www.imagemagick.org/">ImageMagick</a> via <a href="http://www.macports.org/">MacPorts</a>&#8230;</p>
<p>While trying to install <a href="http://rmagick.rubyforge.org/">Rmagick</a> on my spanking, new, glossy, kakkoii <a href="http://www.apple.com/macbook/macbook.html">MacBook</a>, MacPorts reported a checksum error with the ImageMagick source tarball:</p>
<blockquote><p>Target com.apple.checksum returned: Unable to verify file checksums</p></blockquote>
<p>At first, I thought it was an outdated portfile but even after a <code>sudo port selfupdate</code> and <code>sudo port -d sync</code>, the checksum error was still occurring (checksum of the file: 4bcb4264c2170fe562b10a732f43e7af, expected checksum in the portfile: 9469ce1b1b645f8c728158cc434b0ff8).</p>
<p>Turns out, the first listed master site (where MacPorts gets its source files from), http://imagemagick.linux-mirror.org/download/ is hosting a source tarball with a bad checksum. Digging around the man page for <code>port</code> a bit, and switching the order of the master source sites solved it, so it was just a case of a bad file on one of the mirror sites.</p>
<p><code>sudo port edit imagemagick</code> to edit the portfile and change the source mirror to a legit one. You should see something like this:</p>
<pre><code>master_sites \
  http://imagemagick.linux-mirror.org/download/ \
  http://ftp.surfnet.nl/pub/ImageMagick/ \
  sourceforge:imagemagick \
  ftp://ftp.imagemagick.net/pub/${name}/ \
  ftp://ftp.fifi.org/pub/ImageMagick/ \
  ftp://ftp.nluug.nl/pub/${name}/</code></pre>
<p>Just move an alternative master_site to the top of the list (I used the SourceForge one). There probably is a way to specify the master_site on the command line with <code>port install</code> but I&#8217;ve had just about enough of reading man pages and the now nearly unfindable MacPorts documentation (whatever happened to the <a href="http://darwinports.com/">old Darwin Ports site</a> that had great documentation?)</p>
<p>Anyway, I&#8217;ve written to the webmaster of the mirror site linux-mirror.org, so this would probably be fixed for all two of you who are gonna be installing ImageMagick via MacPorts within these few days or so. Still, it was a good exercise in debugging bad port installations.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/05/29/imagemagick-port-broken-temporarily/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Growl integration in Firefox 3</title>
		<link>http://blog.codefront.net/2007/05/05/growl-integration-in-firefox-3/</link>
		<comments>http://blog.codefront.net/2007/05/05/growl-integration-in-firefox-3/#comments</comments>
		<pubDate>Sat, 05 May 2007 10:39:28 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/05/05/growl-integration-in-firefox-3/</guid>
		<description><![CDATA[Some of the latest Firefox 3 aka Minefield trunk builds include Growl integration! This is probably a non-event for anyone other than Mac users, but hey Growl notifications without needing to install an extension? Pretty nice. Get a nightly here: https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ To test Firefox 3 nightlies without possibly messing up your existing profile (preferences, extensions, [...]]]></description>
			<content:encoded><![CDATA[<p>Some of the latest <a href="http://www.mozilla.org/projects/minefield/">Firefox 3 aka Minefield</a> trunk builds include <a href="http://growl.info/">Growl</a> integration! This is probably a non-event for anyone other than Mac users, but hey Growl notifications without needing to install an <a href="https://addons.mozilla.org/en-US/firefox/addon/4077">extension</a>? Pretty nice.</p>
<div class="img"><img id="image950" src="http://blog.codefront.net/wp-content/uploads/2007/05/firefox-3-download-growl.png" alt="Firefox 3 Growl notification for downloads" /></div>
<p><br style="clear: both;" /></p>
<p>Get a nightly here: <a href="https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/</a></p>
<p>To test Firefox 3 nightlies without possibly messing up your existing profile (preferences, extensions, what have you), use the <a href="http://blog.codefront.net/2007/03/03/firefox-tips-sharing-session-at-websg-meetup/#profile-manager">Profile Manager</a> to create a new profile just for testing. Way less stupid then trying to load up 48 tabs from your current profile in Firefox 3 and then seeing most of the extensions fail to work (which was what I tried to do, once).</p>
<p>Source: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=362685">Bug 362685 â€“ Growl Integration for Mac OS X (nsIAlertsService)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/05/05/growl-integration-in-firefox-3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Get your Rails tests results via Growl notifications</title>
		<link>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/</link>
		<comments>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 06:25:05 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/</guid>
		<description><![CDATA[I&#8217;ve been using Autotest (part of the ZenTest package) while testing my Rails applications and never thought of asking for more. After all, getting my tests (well, specs actually) run automatically whenever I make a relevant change and having diff-level granularity on which tests Autotest re-runs is pretty damn useful enough. That is, until I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Autotest (part of the <a href="http://www.zenspider.com/ZSS/Products/ZenTest/">ZenTest</a> package) while testing my Rails applications and never thought of asking for more. After all, getting my tests (well, <a href="http://rspec.rubyforge.org/">specs</a> actually) run automatically whenever I make a relevant change <em>and</em> having <code>diff</code>-level granularity on which tests Autotest re-runs is pretty damn useful enough. That is, until I came across this <a href="http://marcus.ahnve.net/2007/03/30/rspec-and-autotest/">RSpec and Autotest with Growl notifications blog entry</a> (on <a href="http://javablogs.com/">JavaBlogs</a>, no less!)</p>
<p>How&#8217;re these for <span style="color: #900;">red</span>/<span style="color: #090;">green</span> test results?</p>
<p><strong>Tests (specs) passing!</strong></p>
<div class="img"><img src="http://blog.codefront.net/wp-content/uploads/2007/04/growl-green-autotest.png" alt="Growl notification of tests passing" /></div>
<p><br style="clear: both;" /></p>
<p><strong>Tests (specs) failing :(</strong></p>
<div class="img"><img src="http://blog.codefront.net/wp-content/uploads/2007/04/growl-red-autotest.png" alt="Growl notification of tests failing :(" /></div>
<p><br style="clear: both;" /></p>
<p>Much better! Now I don&#8217;t have to glance at my terminal window (I recently realized how painful it is while coding with a single monitor) and get unobtrusive notifications.</p>
<p>Unfortunately, this is Mac-only (or wherever <a href="http://growl.info/">Growl</a> is supported). I had to follow links to several blog entries to get it setup nicely (see <a href="http://blog.labratz.net/articles/2006/09/13/growl-autotest-rails-with-zentest-3-4-0">Growl + Autotest Rails with Zentest 3.4.0</a> and <a href="http://blog.internautdesign.com/2006/11/12/autotest-growl-goodness">Green goodness with autotest + growl</a> &#8211; those are my references).</p>
<p>Basically you need <a href="http://growl.info/">Growl</a> installed, and the <a href="http://growl.info/documentation/growlnotify.php"><code>growlnotify</code></a> tool in your path. <code>growlnotify</code> can be found in the <code>Extras/growlnotify</code> directory in the Growl dmg (for example, after you&#8217;ve mounted the Growl-0.x.x.dmg, you can find it here: <code>/Volumes/Growl/Extras/growlnotify</code>). Just copy the <code>growlnotify</code> executable into your path (I copied it into <code>/opt/local/bin</code> since I&#8217;m using Darwin Ports and don&#8217;t have a <code>/usr/local/bin</code> directory). Verify it&#8217;s running by entering:</p>
<pre><code>growlnotify -m "Testing growlnotify" Boo Ya!</code></pre>
<p>into a terminal window. You should see a Growl notification.</p>
<p>Now, you need to create an Autotest hook by creating an autotest init file in your home directory named <code>.autotest</code>, and copy this chunk of text in:</p>
<pre><code class="ruby">
module Autotest::Growl
  def self.growl title, msg, img, pri=0, sticky=""
    system "growlnotify -n autotest --image #{img} -p #{pri} -m #{msg.inspect} #{title} #{sticky}"
  end

  Autotest.add_hook :ran_command do |at|
    output = at.results.last.slice(/(\d+)\s.*specifications?,\s(\d+)\s.*failures?/)
    if output =~ /[1-9]\sfailures?/
      growl "Test Results", "#{output}", "/Data/Pictures/Icons/rails_fail.png", 2, "-s"
    else
      growl "Test Results", "#{output}", "/Data/Pictures/Icons/rails_ok.png"
    end
  end
end</code></pre>
<p>Replace the paths to the pass/fail icons (as you can see, mine are in <code>/Data/Pictures/Icons/</code>) with the correct paths to any images you want to display (grab them from <a href="http://blog.internautdesign.com/2006/11/12/autotest-growl-goodness">Green goodness with autotest + growl</a> or roll your own). You can change the parameters passed to <code>growlnotify</code> however you want (use <code>growlnotify -h</code> to see what parameters it acccepts). The <code>pri</code> parameter sets the priority level of the message (test failures come up with a priority of 2, hence the red background of the Growl notification). Passing <code>-s</code> to <code>sticky</code> tells Growl to keep the notification sticky. If you&#8217;re running your (auto)tests on a remote server (e.g. in a Continuous Integration system), you can even use <code>growlnotify</code> to send remote notifications (see the <code>-H</code> switch) to your development workstations!</p>
<p>Lovely! I love you, MacBook Pro serial no. W86280NAVWW (despite your broken DVD drive and you randomly freezing up on me when you get too hot).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>IMAP-IDLE plugin for Apple Mail</title>
		<link>http://blog.codefront.net/2007/02/25/imap-idle-plugin-for-apple-mail/</link>
		<comments>http://blog.codefront.net/2007/02/25/imap-idle-plugin-for-apple-mail/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 18:08:40 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/02/25/imap-idle-plugin-for-apple-mail/</guid>
		<description><![CDATA[Yup I switched to Apple Mail from Thunderbird a few months back, primary reason being back then I was barely able to run my developer applications on 512MB of RAM (Apple Mail runs lighter than Thunderbird, unfortunately). It&#8217;s comforting to find that there is an IMAP-IDLE plugin for Apple Mail (Thunderbird got its IDLE support [...]]]></description>
			<content:encoded><![CDATA[<p>Yup I switched to Apple Mail from Thunderbird a few months back, primary reason being back then I was barely able to run my developer applications on 512MB of RAM (Apple Mail runs lighter than Thunderbird, unfortunately). It&#8217;s comforting to find that there is an <a href="http://www.rothwell.us/imapidle/index.html">IMAP-IDLE plugin for Apple Mail</a> (<a href="http://blog.codefront.net/2004/03/14/junk-filter-improvements-in-thunderbird-weekly-build-new-win32-installer/">Thunderbird got its IDLE support way back in 2004</a>.)</p>
<p>What&#8217;s IDLE? Well, quoting myself:</p>
<blockquote><p>Simply put, IDLE is a command that allows IMAP email servers to transmit updates to the client in real time. This saves the client from having to continuously poll the server to achieve the effect of new mail appearing immediately. All in all, an exceptionally useful command that saves Thunderbird the work of polling IMAP servers continuously.</p></blockquote>
<p>So anyway, it&#8217;s really simple to install and use (just simple checkboxes for enabling IDLE for your IMAP accounts).</p>
<div class="img"><img src="http://blog.codefront.net/wp-content/uploads/2007/02/imap-idle-plugin-pref-pane.png" alt="Preference pane for Apple Mail IMAP-IDLE plugin" /></div>
<p><br style="clear:both" /></p>
<p>Remember to configure Mail to stop polling these mail accounts every X minutes or so now. Enjoy the geeky feeling of knowing you&#8217;ve just saved several CPU cycles and a few kilobytes of bandwidth.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/02/25/imap-idle-plugin-for-apple-mail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sharing a USB printer from Mac OS X to Windows</title>
		<link>http://blog.codefront.net/2007/02/05/sharing-a-usb-printer-from-mac-os-x-to-windows/</link>
		<comments>http://blog.codefront.net/2007/02/05/sharing-a-usb-printer-from-mac-os-x-to-windows/#comments</comments>
		<pubDate>Mon, 05 Feb 2007 12:47:08 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2007/02/05/sharing-a-usb-printer-from-mac-os-x-to-windows/</guid>
		<description><![CDATA[Not too long ago I was asked to use hook up the Mac Mini that was collecting dust in our office to our HP Deskjet printer (HP Deskjet 1280 to be exact) and have it function as a &#8220;print server&#8221; of sorts (we have since replaced it with a NAS with print server functionality, which [...]]]></description>
			<content:encoded><![CDATA[<p>Not too long ago I was asked to use hook up the Mac Mini that was collecting dust in our office to our HP Deskjet printer (HP Deskjet 1280 to be exact) and have it function as a &#8220;print server&#8221; of sorts (we have since replaced it with a <acronym title="Network Attached Storage">NAS</acronym> with print server functionality, which subsequently broke &#8211; that&#8217;s how long this post has been sitting in my drafts folder). While setting it up to be shared with Mac machines was a cinch (we have a grand total of 3 Mac machines in the office, including the Mac Mini and my treasured MacBook Pro), sharing the printer from the Mac (Mini) to Windows machines was significantly more difficult. After some trial and error, first with what made the most sense, and then with stuff I could glean off the Internet, I finally arrived at something that works. Maybe this would be useful for the next unfortunate bloke that needs to do this sharing of printers from Mac to Windows machines without a print server.</p>
<p>First point of reference: <a href="http://www.macosxhints.com/article.php?story=20040208122655345">Print from Windows XP to a shared Mac printer tip on Mac OS X Hints</a>. The tip suggests you select a PostScript driver in Windows after finding it on the network (which requires you to do several things first, but we will come to that later). This worked, but it was <strong>sub-optimal</strong> because you couldn&#8217;t use the printer driver software to do stuff like 2-up printing (i.e. print 2 pages per side per sheet). This post will show you how to share a USB printer from Mac OS X to Windows PCs with <strong>full driver capability</strong>.</p>
<ol>
<li>On the Mac (the one that the USB printer that you want to share is connected to), go to the Sharing preferences pane and ensure <strong>Printer Sharing</strong> and <strong>Windows Sharing</strong> are both turned on.</li>
<li>Fire up your browser and go to <a href="http://127.0.0.1:631">http://127.0.0.1:631</a> &#8211; this is the web interface to <a href="http://www.cups.org/"><acronym title="Common UNIX Printing System">CUPS</acronym></a>. When asked to enter a password, login with your Mac OS X user account (it has to be an administrator account).</li>
<li>Go to the Printers tab and <strong>add a new printer</strong> (yes, <em>in addition</em> to any existing printer configuration that already exist for the same printer). Choose a name that&#8217;s short and descriptive (no spaces). For the purposes of this guide, let&#8217;s call it &#8216;uberprinter&#8217;. Best to keep it under 12 characters since Windows is finicky.</li>
<li>When asked to select a device, select <strong>USB printer</strong>.</li>
<li>You&#8217;ll be asked for a Device URI. To find out, open up a terminal and type <code>lpinfo -v</code>. You should see your USB printer coming up. Mine came up as &#8216;direct usb://HP/Deskjet%201280?serial=CN516851RPUN&#8217;. Copy and paste this (<strong>without the &#8216;direct&#8217; part</strong> &#8211; i.e., I&#8217;d have copied &#8216;usb://HP/Deskjet%201280?serial=CN516851RPUN&#8217;) into the &#8216;Device URI&#8217; field.</li>
<li>Select a &#8216;Make&#8217; of &#8216;<strong>Raw</strong>&#8216;. Keep going until the printer is added.</li>
<li>You&#8217;re <strong>done configuring from the Mac</strong>. But before you go, determine your Mac&#8217;s IP address (do a &#8216;ifconfig&#8217; in a shell or fire up System Profiler and check out the &#8216;Network&#8217; item) &#8211; note it down somewhere. Now it&#8217;s time to hook up your Windows machine to use the shared printer.</li>
<li>OK now go to your Windows machine and add a new printer (Control Panel -> Printers and Faxes). Select &#8216;A network printer&#8230; blah blah&#8217;. Don&#8217;t browse for the printer, you will enter its IP address directly in the &#8216;URL&#8217; field. Enter &#8216;http://your.macs.ip.address:631/printers/uberprinter&#8217; (replacing &#8216;your.macs.ip.address&#8217; with your Mac&#8217;s IP address and &#8216;uberprinter&#8217; with the short name you gave your printer). If you can&#8217;t remember your printer&#8217;s name, just scurry back to the Mac and browse to <a href="http://127.0.0.1:631/printers/">http://127.0.0.1:631/printers/</a>. You should be able to see the printer you added listed there &#8211; its name is linked there.</li>
<li>Now, all that&#8217;s left is to install the correct Windows printer driver on the Windows machine. If you&#8217;re lucky Windows already has your driver, if not do whatever you need to get the proper driver &#8211; after all, the purpose of jumping through all these hoops is to get full printer driver functionality off the shared Mac printer.</li>
</ol>
<p>That&#8217;s it. That&#8217;ll teach you for not getting a print server or one of those new printers with network functionality.</p>
<h3>Problems?</h3>
<p>Some readers wrote in with their own difficulties and have kindly allowed me to share their solutions. First off, Patrick McKrell who had a solution for cases where you still are just not able to print from the Windows machine (it involves killing a daemon so it&#8217;s pretty sweet).</p>
<blockquote><p>Thank you for making available your instructions for sharing a USB printer connected to a Mac using OS X with a Windows PC.  All of your points worked flawlessly on the Mac.  My Mac is a B&#038;W G3 running OS X 10.2.8.  The printer is an HP PSC 1510.</p>
<p>&#8230;</p>
<p>Back to Windows Add Printer.  Is my driver there? No.  I browsed the Windows file system to Program Files/HP/.  No luck.  Couldn&#8217;t find or add my driver.  Next I unplugged the printer&#8217;s USB cable from the Mac and into the PC.  Windows detected the new hardware, created whatever files it needed, and automatically created the USB-connected PSC 1500 series printer in Printers and Faxes.  Well, that&#8217;s pretty darn close. I opened the printer&#8217;s properties, changed the port from USB to Internet Port (as per your configuration guidance), sent a print job&#8230;.and nothing.  Hmmm.</p>
<p>Finally, I recalled seeing someone&#8217;s web post &#8211;thanks to your point of reference.  I followed the poster&#8217;s instructions, and, yeah, it prints, and in color.  Thanks again, Chu, for your post.  It was easy to follow, and importantly, it worked with my setup (despite the color issue).</p>
<p>Patrick McKrell</p></blockquote>
<p>The solution? Change your CUPS configuration to allow raw printing:</p>
<blockquote><p>Basically, I saw that every job on the windows side had &#8220;error&#8221;.</p>
<p>After looking at the error logs for cups on the mac box (/var/log/cups/), I noticed this line repeatedly:</p>
<p>print_job: Unsupported format &#8216;application/octet-stream&#8217;!</p>
<p>Did some googling, and found a post with the answer:</p>
<p> ><br />
 > You probably need to uncomment the following lines in<br />
 > /etc/cups/mime.types and /etc/cups/mime.convs:<br />
 ><br />
 ><br />
 > <strong>/etc/cups/mime.types</strong>:<br />
 > #application/octet-stream<br />
 ><br />
 ><br />
 > <strong>/etc/cups/mime.convs</strong>:<br />
 > #application/octet-stream application/vnd.cups-raw 0<br />
 > -<br />
 ><br />
 ><br />
 > That will allow raw printing.</p>
<p>Then, kill -HUP the cups daemon, and you&#8217;re good to go.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2007/02/05/sharing-a-usb-printer-from-mac-os-x-to-windows/feed/</wfw:commentRss>
		<slash:comments>94</slash:comments>
		</item>
		<item>
		<title>VLC 0.8.6 &#8211; full screen controller panel</title>
		<link>http://blog.codefront.net/2006/12/26/vlc-086-full-screen-controller-panel/</link>
		<comments>http://blog.codefront.net/2006/12/26/vlc-086-full-screen-controller-panel/#comments</comments>
		<pubDate>Tue, 26 Dec 2006 08:46:10 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2006/12/26/vlc-086-full-screen-controller-panel/</guid>
		<description><![CDATA[VLC media player 0.8.6 (changelog) was released a few weeks ago so this may be old news, but I am clearing my backlog of drafts. Mac OS X users, if you watch videos in full screen mode (like I do most of the time), you&#8217;d be delighted to know that they added a full screen [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://developers.videolan.org/vlc/NEWS">VLC media player</a> 0.8.6 (<a href="http://developers.videolan.org/vlc/NEWS">changelog</a>) was released a few weeks ago so this may be old news, but I am clearing my backlog of drafts.</p>
<p>Mac OS X users, if you watch videos in full screen mode (like I do most of the time), you&#8217;d be delighted to know that they added a full screen controller <em>Ã  la</em> the video player in iTunes:</p>
<div class="img"><img src="http://blog.codefront.net/wp-content/uploads/2006/12/vlc-controller-panel-black-lagoon-levy.png" alt="VLC full screen controller panel" /></div>
<p><br style="clear: both" /></p>
<p>That was one of my pet peeves with VLC when I was still using Windows as my main desktop OS, and I&#8217;d stayed true to <a href="http://sourceforge.net/projects/guliverkli/">Media Player Classic</a> right to the point where I switched to OS X. Media Player Classic is Windows-only, so I had to switch to VLC as well (QuickTime player never impressed me and I wasn&#8217;t willing to pay for the Pro version). The lack of a full controller in full screen mode and the inability to move to specific spots in the video timeline with sufficient granularity seems to have been fixed with this new full screen controller panel.</p>
<p>And while they still haven&#8217;t made it possible to pause a video by clicking on the video output (which was the case in Media Player Classic), I&#8217;ve mostly compensated for it by hitting the space bar. Now that they&#8217;ve added a right-click context menu to the video output screen, the same can be done but in 2 clicks with just the mouse &#8211; not optimal but it does feel better to see a context menu pop up when right-clicking. I guess that&#8217;s the Windows user in me talking &#8211; I still feel that almost everything I see should have a context menu or it just feels wrong.</p>
<p>Oh and they added support for the Apple Remote Control. Works great, I just have to remember to take out my remote control and use it next time I&#8217;m sitting back watching a movie or anime.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2006/12/26/vlc-086-full-screen-controller-panel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HP laptop with an Apple sticker</title>
		<link>http://blog.codefront.net/2006/12/14/hp-laptop-with-an-apple-sticker/</link>
		<comments>http://blog.codefront.net/2006/12/14/hp-laptop-with-an-apple-sticker/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 03:25:30 +0000</pubDate>
		<dc:creator>Chu Yeow</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.codefront.net/2006/12/14/hp-laptop-with-an-apple-sticker/</guid>
		<description><![CDATA[Saw this in a MacDonald&#8217;s at a local shopping mall: If you can look past the fuzziness of the photo, it&#8217;s actually someone using a HP laptop with an Apple sticker. Now, if only I can get a HP sticker for my MacBook Pro&#8230;]]></description>
			<content:encoded><![CDATA[<p>Saw this in a MacDonald&#8217;s at a local shopping mall:</p>
<div class="img"><img src="http://blog.codefront.net/wp-content/uploads/2006/12/hp-laptop-with-apple-sticker.png" alt="Man using a HP laptop with an Apple sticker" /></div>
<p><br style="clear: both" /></p>
<p>If you can look past the fuzziness of the photo, it&#8217;s actually someone using a HP laptop with an Apple sticker. Now, if only I can get a HP sticker for my MacBook Pro&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codefront.net/2006/12/14/hp-laptop-with-an-apple-sticker/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

