<?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>Curmi the Blog &#187; Mac</title>
	<atom:link href="http://curmi.com/blog/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://curmi.com/blog</link>
	<description>Mac stuff, Tech stuff, Weird stuff</description>
	<lastBuildDate>Fri, 06 Jan 2012 12:27:56 +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>Lots</title>
		<link>http://curmi.com/blog/2010/01/17/lots/</link>
		<comments>http://curmi.com/blog/2010/01/17/lots/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 07:00:00 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=679</guid>
		<description><![CDATA[This morning I was trying to find a particular email in Apple Mail and decided to sort all my emails by attachment &#8211; so it would list from largest number of attachments to smallest. I was surprised to see this: Lots!  Hilarious. I did a quick experiment, and it seems that once you get past [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I was trying to find a particular email in <a href="http://www.apple.com/macosx/what-is-macosx/mail-ical-address-book.html" target="_blank">Apple Mail</a> and decided to sort all my emails by attachment &#8211; so it would list from largest number of attachments to smallest.</p>
<p>I was surprised to see this:</p>
<p><img class="alignnone size-full wp-image-682" title="Screen shot 2010-01-17 at 11.53.04 AM" src="http://curmi.com/blog/wp-content/uploads/2010/01/Screen-shot-2010-01-17-at-11.53.04-AM1.jpg" alt="Lots!" width="340" height="204" /></p>
<p>Lots!  Hilarious.</p>
<p>I did a quick experiment, and it seems that once you get past 60 attachments in an email, the display shows &#8220;lots&#8221;.  It seems to occur in Snow Leopard and Leopard, so maybe this has been around for a long time &#8211; it is rare to get so many attachments in one email, so I&#8217;m not surprised I hadn&#8217;t seen this before.</p>
<p>Apple has even internationalised this &#8211; so in Japanese, for example, you get:</p>
<p><img class="alignnone size-full wp-image-684" title="Screen shot 2010-01-17 at 12.34.30 PM" src="http://curmi.com/blog/wp-content/uploads/2010/01/Screen-shot-2010-01-17-at-12.34.30-PM.jpg" alt="Lots!" width="328" height="196" /></p>
<p>That&#8217;s Apple sweating the details &#8211; unlike <a href="http://curmi.com/blog/2009/11/05/pretty-dope/" target="_self">certain</a> <a href="http://curmi.com/blog/2009/12/07/faster-simpler/" target="_self">other companies</a> we know.</p>
<p>Not sure why they chose 60 as the cut-off point (or why they had to have a cut-off point). I would have thought they&#8217;d have gone for 64, and that was what I was expecting as I added more and more items to a draft email to test. But still, it was funny and brought a smile to my face this morning.</p>
<p>Oh, and Happy New Year everyone!</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2010/01/17/lots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faster Simpler</title>
		<link>http://curmi.com/blog/2009/12/07/faster-simpler/</link>
		<comments>http://curmi.com/blog/2009/12/07/faster-simpler/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 00:07:06 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=625</guid>
		<description><![CDATA[Front page of The Age today is this ad: &#8220;Faster simpler&#8221;? What does that mean? Did they possibly mean &#8220;Faster, simpler&#8221;? And given the other sentences ended with correct punctuation, shouldn&#8217;t that one end with a full stop? Not to mention the large 7 is a different font than the 7 in the actual logo [...]]]></description>
			<content:encoded><![CDATA[<p>Front page of The Age today is this ad:</p>
<p><img class="alignnone size-full wp-image-626" title="Microsoft's Web Ad" src="http://curmi.com/blog/wp-content/uploads/2009/12/Screen-shot-2009-12-07-at-10.53.47-AM.jpg" alt="Screen shot 2009-12-07 at 10.53.47 AM" width="445" height="196" /></p>
<p>&#8220;Faster simpler&#8221;? What does that mean? Did they possibly mean &#8220;Faster, simpler&#8221;? And given the other sentences ended with correct punctuation, shouldn&#8217;t that one end with a full stop?</p>
<p>Not to mention the large 7 is a different font than the 7 in the actual logo at the bottom?</p>
<p>It&#8217;s just lazy, like everything Microsoft does. Their ads have as much <a href="http://curmi.com/blog/2009/11/05/pretty-dope/" target="_blank">attention to detail</a> as their operating system. No need to click the &#8220;Experience now&#8221; button &#8211; I think that ad tells you exactly what to expect.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/12/07/faster-simpler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random thoughts on a Sunday</title>
		<link>http://curmi.com/blog/2009/11/15/random-thoughts-on-a-sunday/</link>
		<comments>http://curmi.com/blog/2009/11/15/random-thoughts-on-a-sunday/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 01:49:32 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=592</guid>
		<description><![CDATA[Just some random thoughts on a lazy Sunday morning. Reconnect on Facebook Logging in to the new look Facebook the other day I was greeted with the following suggestion: Could it be that I actually talk to my wife in real life? Damn, Facebook is getting to be as crap as Twitter. Windows 7 copied [...]]]></description>
			<content:encoded><![CDATA[<p>Just some random thoughts on a lazy Sunday morning.</p>
<h2>Reconnect on Facebook</h2>
<p>Logging in to the <a href="http://curmi.com/blog/2009/10/25/my-mate-is-now-friends-with-some-random/" target="_blank">new look Facebook</a> the other day I was greeted with the following suggestion:</p>
<p><img class="alignnone size-full wp-image-591" title="My wife on Facebook" src="http://curmi.com/blog/wp-content/uploads/2009/11/MyWifeOnFacebook.jpg" alt="My wife on Facebook" width="289" height="86" /></p>
<p>Could it be that I actually talk to my wife in real life? Damn, Facebook is getting to be as <a href="http://curmi.com/blog/2009/08/10/cy-twitter-sucks-dogsballs/" target="_blank">crap as Twitter</a>.</p>
<h2>Windows 7 copied OS X</h2>
<p>A Microsoft exec <a href="http://thenextweb.com/2009/11/11/microsoft-admit-copied-apple/" target="_blank">said</a> they copied OS X. Another exec then said the first has no idea and they didn&#8217;t copy OS X &#8211; apparently the Windows 7 team lived in a bubble without internet access for the last 8 years and made it all themselves.</p>
<p>I&#8217;m going to surprise everyone and say that I think they <em>didn&#8217;t</em> copy OS X. If they did, they are shit copiers. Or the photocopier broke down part way through.</p>
<h2>Evolution for children</h2>
<p>My grand nephew is being brain washed by his grandparents in to Christianity. He&#8217;s 7 years old, and being told that God created Adam and Eve. They&#8217;ve got him reading a children&#8217;s version of the bible at night. Time for me to step up as Great Uncle and self-appointed <a href="http://curmi.com/blog/2009/11/04/scienceparent/" target="_blank">Scienceparent</a> &#8211; I&#8217;ve ordered him a book &#8220;<a href="http://www.thingamababy.com/baby/2009/05/evolution.html" target="_blank">Our family tree: An evolution story</a>&#8221; &#8211; something he could also read at night. That&#8217;s a first step anyway to give him some balance.</p>
<h2>Macs and viruses</h2>
<p>I&#8217;ve had it with idiots who keep telling me the Mac has viruses too (defending the fact that Windows has a bizzilion viruses and you only have to connect to the internet for like 1 second with Windows 7 and you are infected). The Mac, currently, has no viruses. It has no viruses because no one has worked out how to make a virus for it &#8211; not because there are too few users. It is a holy grail for virus writers &#8211; the best they have done so far is write trojans for it (which every operating system can have).</p>
<p>Just because you wish the Mac was as virus ridden as the piece of shit operating system you choose to use does not make it a reality. Accept that your choice of computer is crap and live with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/11/15/random-thoughts-on-a-sunday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A tail of two mouses</title>
		<link>http://curmi.com/blog/2009/11/08/a-tail-of-two-mouses/</link>
		<comments>http://curmi.com/blog/2009/11/08/a-tail-of-two-mouses/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 13:31:40 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=584</guid>
		<description><![CDATA[Apple just a few weeks ago announced availability of a new mouse &#8211; the Magic Mouse. Let&#8217;s take a look at this beauty. It is wireless, has no visible buttons (but is in fact a touch sensitive 2 button mouse), has multi-directional scrolling via a touch surface (with acceleration), and support for multi-touch gestures. WarMouse [...]]]></description>
			<content:encoded><![CDATA[<p>Apple just a few weeks ago announced availability of a new mouse &#8211; the <a href="http://www.apple.com/magicmouse/" target="_blank">Magic Mouse</a>. Let&#8217;s take a look at this beauty.</p>
<p><img class="alignnone size-full wp-image-586" title="Magic Mouse" src="http://curmi.com/blog/wp-content/uploads/2009/11/Magic-Mouse.jpg" alt="Magic Mouse" width="456" height="199" /></p>
<p>It is wireless, has no visible buttons (but is in fact a touch sensitive 2 button mouse), has multi-directional scrolling via a touch surface (with acceleration), and support for multi-touch gestures.</p>
<p>WarMouse today announced the availability of a new mouse &#8211; the <a href="http://openofficemouse.com/" target="_blank">OpenOfficeMouse</a>. Let&#8217;s take a look at this beauty.</p>
<p><img class="alignnone size-full wp-image-585" title="OpenOfficeMouse" src="http://curmi.com/blog/wp-content/uploads/2009/11/OpenOfficeMouse.jpg" alt="OpenOfficeMouse" width="456" height="199" /></p>
<p>It is wired, has 18 buttons, a scroll wheel, and a joystick.</p>
<p>I was going to rant about the open source community and how they are even worse than Microsoft at innovation and usability (who would have thought it was possible?), but I think the OpenOfficeMouse does that without me saying anything more. But this monstrosity does remind me of a <a href="http://stuffthathappens.com/blog/wp-content/uploads/2008/03/simplicity.png" target="_blank">great cartoon</a> &#8211; I recycle this a lot at the office when feature requests start to make the usability of our applications questionable.</p>
<p>Oh, and I apologise for the appalling title of this article. It is late.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/11/08/a-tail-of-two-mouses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pretty dope</title>
		<link>http://curmi.com/blog/2009/11/05/pretty-dope/</link>
		<comments>http://curmi.com/blog/2009/11/05/pretty-dope/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 12:16:01 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=569</guid>
		<description><![CDATA[I don&#8217;t spend a lot of time on Microsoft&#8217;s website, but today I happened to visit, and was greeted with this on their front page: This one ad, taking pride of place on Microsoft&#8217;s front page, is a showcase for just some of what is wrong with Microsoft. First, the obvious thing is Microsoft desperately [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t spend a lot of time on <a href="http://www.microsoft.com/en/us/default.aspx" target="_blank">Microsoft&#8217;s website</a>, but today I happened to visit, and was greeted with this on their front page:</p>
<p><a href="http://curmi.com/blog/wp-content/uploads/2009/11/dope.jpg"><img class="alignnone size-full wp-image-575" title="dope" src="http://curmi.com/blog/wp-content/uploads/2009/11/dope.jpg" alt="dope" width="479" height="227" /></a></p>
<p>This one ad, taking pride of place on Microsoft&#8217;s front page, is a showcase for just some of what is wrong with Microsoft.</p>
<p>First, the obvious thing is Microsoft desperately wants to be cool. <em>So desperately.</em> You can smell the desperation.</p>
<p>I can tell you now, using &#8220;pretty dope&#8221; on your website does not make you cool. In fact, this ad reminds me of some teenager&#8217;s father trying to act cool with his teenage son&#8217;s friends as they leave to go out partying on a Saturday night:</p>
<blockquote><p>&#8220;Homies&#8230;that car is the shizzle! You dudes are dope!!! Where da bitches at tonight? Yo?&#8221; (flicks fingers in an attempt to make some cool gang sign he saw on Law and Order).</p></blockquote>
<p>Mentioning &#8220;Twitter&#8221; does not make you cool either. You can&#8217;t just throw around the latest trends &#8211; It makes you look like a <a href="http://www.youtube.com/watch?v=wvsboPUjrGc" target="_blank">try hard</a>.</p>
<p>But there is more. There is always more.</p>
<p>&#8220;More reviews&#8221;? Was that a review? Well, I guess it was. Just not a particularly good one. A random tweet from a random anonymous user with a one line comment. That&#8217;s the quality I&#8217;m looking for in a review about an OS that I&#8217;m about to drop AU$200 or more on.</p>
<p>But the quality of the copy is nothing compared to the details. Take a look to the right of the ad. We have a number of buttons:</p>
<p><img class="alignnone size-full wp-image-578" title="Screen shot 2009-11-05 at 10.32.49 PM" src="http://curmi.com/blog/wp-content/uploads/2009/11/Screen-shot-2009-11-05-at-10.32.49-PM.jpg" alt="Screen shot 2009-11-05 at 10.32.49 PM" width="106" height="25" /></p>
<p><img class="alignnone size-full wp-image-579" title="Screen shot 2009-11-05 at 10.33.05 PM" src="http://curmi.com/blog/wp-content/uploads/2009/11/Screen-shot-2009-11-05-at-10.33.05-PM.jpg" alt="Screen shot 2009-11-05 at 10.33.05 PM" width="98" height="25" /></p>
<p><img class="alignnone size-full wp-image-580" title="Screen shot 2009-11-05 at 10.33.15 PM" src="http://curmi.com/blog/wp-content/uploads/2009/11/Screen-shot-2009-11-05-at-10.33.15-PM.jpg" alt="Screen shot 2009-11-05 at 10.33.15 PM" width="110" height="25" /></p>
<p>So what&#8217;s wrong? Well, first we have different size buttons. This is sloppy when the buttons are all left aligned and not vastly different in text length or position, and even if you argue it is because the text is shorter in some, then you&#8217;ll notice inconsistent spacing (between the last letter and the arrow), so that argument doesn&#8217;t explain the size variations. And finally, <em>inconsistent capitalisation</em> (&#8220;Learn More&#8221; versus &#8220;Find out more&#8221;) &#8211; I mean, that is beyond sloppy.</p>
<p>It&#8217;s all part of the Microsoft experience &#8211; sloppy and inconsistent. Don&#8217;t forget this is on the front page of a multi-billion dollar company with an <a href="http://brainstormtech.blogs.fortune.cnn.com/2009/10/28/apples-2009-ad-budget-half-a-billion/" target="_blank">advertising budget of 1.4 billion dollars in 2009</a> &#8211; almost 3 times the budget of <a href="http://apple.com" target="_blank">Apple</a> in that same year! Compare their ads. Compare their websites!</p>
<p>It&#8217;s about sweating the details. It is why Apple&#8217;s software is a superior experience to Microsoft&#8217;s. It is why the iPhone blows away Windows Mobile. Microsoft still doesn&#8217;t get it.</p>
<p>If you are reading this and you still don&#8217;t get why those buttons are bad, you see nothing wrong with the ad text, and you can&#8217;t smell that desperation, you probably deserve to be using Windows. I can offer you no more.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/11/05/pretty-dope/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I was wrong about Microsoft</title>
		<link>http://curmi.com/blog/2009/10/29/i-was-wrong-about-microsoft/</link>
		<comments>http://curmi.com/blog/2009/10/29/i-was-wrong-about-microsoft/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 01:48:06 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=524</guid>
		<description><![CDATA[In a recent post, I said: Do you think Apple create their legendary interfaces based solely on user input? Even Microsoft are smart enough to not do that. However, I&#8217;ve noticed the following Windows 7 ads on the internet: I give you, the OS built for Homer. :-)]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://curmi.com/blog/2009/10/25/my-mate-is-now-friends-with-some-random/" target="_self">recent post</a>, I said:</p>
<blockquote><p>Do you think Apple create their legendary interfaces based solely on user input? Even Microsoft are smart enough to not do that.</p></blockquote>
<p>However, I&#8217;ve noticed the following Windows 7 ads on the internet:</p>
<p><img class="alignnone size-full wp-image-527" title="Screen shot 2009-10-29 at 12.32.34 PM" src="http://curmi.com/blog/wp-content/uploads/2009/10/Screen-shot-2009-10-29-at-12.32.34-PM1.jpg" alt="Screen shot 2009-10-29 at 12.32.34 PM" width="470" height="57" /></p>
<p><img class="alignnone size-full wp-image-532" title="Screen shot 2009-10-29 at 12.31.39 PM" src="http://curmi.com/blog/wp-content/uploads/2009/10/Screen-shot-2009-10-29-at-12.31.39-PM1.jpg" alt="Screen shot 2009-10-29 at 12.31.39 PM" width="298" height="248" /></p>
<p>I give you, the OS <a href="http://simpsons.wikia.com/wiki/%22The_Homer%22" target="_blank">built for Homer</a>. :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/10/29/i-was-wrong-about-microsoft/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Waking your sleeping Mac on demand</title>
		<link>http://curmi.com/blog/2009/10/18/waking-your-sleeping-mac-on-demand/</link>
		<comments>http://curmi.com/blog/2009/10/18/waking-your-sleeping-mac-on-demand/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 13:51:32 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=513</guid>
		<description><![CDATA[Tonight, I discovered I had left something on my Mac at work that I wanted at home. The problem: my machine at work is sleeping, like most of the personal machines on our internal network when we are not in the office. It is also wirelessly connected to our internal network, not connected via ethernet [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight, I discovered I had left something on my Mac at work that I wanted at home. The problem: my machine at work is sleeping, like most of the personal machines on our internal network when we are not in the office. It is also wirelessly connected to our internal network, not connected via ethernet (for those one step ahead of where this post is going).</p>
<p>However, my machine at the office is also set up for Wireless Wake on Demand. Those who are interested can read some technical details <a href="http://en.wikipedia.org/wiki/Sleep_Proxy_Service" target="_blank">here</a> and setup details <a href="http://www.thestandard.com/news/2009/08/28/wake-demand-lets-snow-leopard-sleep-one-eye-open" target="_blank">here</a>. This is new in <a href="http://www.apple.com/macosx/" target="_blank">Snow Leopard</a>, and you might recognise that we are talking about waking a machine that is wirelessly connected to a network, not a simple <a href="http://en.wikipedia.org/wiki/Wake-on-LAN" target="_blank">Wake-On-Lan</a> sending a magic packet over ethernet.</p>
<p>So I VPNed to work from home, went to my Finder, selected the menu <code>Go-&gt;Connect to Server...</code> and put in &#8220;<code>jamie.internal</code>&#8221; (my machine&#8217;s name on the office network). My machine at work was woken in the background, and I connected to the machine as per normal in the Finder, got the file I wanted, disconnected, and closed down the VPN. My machine at the office went back to sleep and I had the file I wanted.</p>
<p>I could also have shared the screen to manipulate my Mac via its user interface, and apparently even shared iTunes if I had it running.</p>
<p>There is a bit more going on here than just sending a magic packet wirelessly to wake the machine &#8211; the Mac is asleep, but our office wireless router is broadcasting over <a href="http://en.wikipedia.org/wiki/Bonjour_(software)" target="_blank">bonjour</a> the services my Mac can actually handle as if it was awake on the network, so that if I try to use these services, it wakes the machine up first. This also means then that my machine in the office, even when sleeping, will still appear on other machines on the internal network as if it was awake, advertising all it&#8217;s services. Similarly, if I had it sharing music in iTunes, it would appear as a shared source of music on another machine in iTunes, even when asleep.</p>
<p>This is obviously a very handy feature &#8211; possibly more so for my colleagues than for me given I could walk over to the office in 10 minutes from my home to manually get the file (though it is after midnight, and Melbourne streets at night are a little dangerous these days, so I possibly avoided a random stabbing or glassing).</p>
<p>I&#8217;m sure you can also see advantages in a system like this for the environment too &#8211; machines don&#8217;t have to necessarily be running 24 hours a day just so you can access an occasional resource.</p>
<p>This will also work for Macs connected via ethernet. It may also work from a Windows machine to access a Mac at your office (with a SMB share). Not tested, as Windows is not welcome in my home, but I assume it will work.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/10/18/waking-your-sleeping-mac-on-demand/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SMB, Windows, and Leopard Server</title>
		<link>http://curmi.com/blog/2009/01/11/smb-windows-and-leopard-server/</link>
		<comments>http://curmi.com/blog/2009/01/11/smb-windows-and-leopard-server/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 21:37:17 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=421</guid>
		<description><![CDATA[This post may be useful to anyone using SMB to share files to Windows users, but is particularly important to Leopard Server users because of the way OS X uses hidden files in the file system. In the office we have a Mac Pro running Leopard Server. This machine acts as (amongst other things) a [...]]]></description>
			<content:encoded><![CDATA[<p>This post may be useful to anyone using <a href="http://en.wikipedia.org/wiki/Server_Message_Block" target="_blank">SMB</a> to share files to Windows users, but is particularly important to Leopard Server users because of the way OS X uses hidden files in the file system.</p>
<p>In the office we have a Mac Pro running Leopard Server. This machine acts as (amongst other things) a file server, providing a common area for sharing files (that are backed up as I&#8217;ve <a href="http://curmi.com/blog/2008/08/23/time-machine-backup-to-rotating-disks/" target="_blank">discussed previously</a>).</p>
<p>OS X users can access the server using AFP or SMB, and Windows users use SMB. I was whinging to a colleague that Windows keeps leaving these files around that we can see when sharing the drive &#8211; those files being:</p>
<ul>
<li><code>Thumbs.db</code></li>
<li><code>~$*</code> files</li>
<li><code>*.tmp</code> files</li>
<li><code>Rescued Document*</code> files</li>
</ul>
<p>He pointed out that that was nothing compared to the sheer number of files Apple&#8217;s AFP and OS X leaves behind:</p>
<ul>
<li><code>.DS_Store</code></li>
<li><code>.localized</code></li>
<li><code>.AppleDouble folders</code></li>
<li><code>._*</code> files</li>
<li><code>.TemporaryItems</code></li>
</ul>
<p>That&#8217;s a whole lot of dot files that OS X users never see because dot files by default are hidden from the user (as they are in any Unix/Linux implementation). However, Windows doesn&#8217;t use that convention.</p>
<p>I logged in via Windows and he was right &#8211; the file system was a mess. I felt sorry for the Windows users (more than I usually do just because they are Windows users).</p>
<p>So, anyway, to cut a long story short, here&#8217;s the fix. On Leopard Server, edit the file <code>/etc/smb.conf</code> from a Terminal window &#8211; something like:</p>
<blockquote><p><code>sudo vi /etc/smb.conf</code></p></blockquote>
<p>Add the following two lines to the <code>[global] </code>section of the file, and save the file:</p>
<blockquote><p><code>veto files = /.*/Thumbs.db/<br />
delete veto files = yes</code></p></blockquote>
<p>From the Server Admin application, restart SMB.</p>
<p>Now, anyone connected via SMB to the shared file system will no longer see the dot files or the <code>Thumbs.db</code> files.</p>
<p>This doesn&#8217;t fix the issue with Microsoft Office leaving <code>~$*</code> files everywhere, or Windows <code>*.tmp</code> files. You could hide them by adding them to the veto file list, but you probably don&#8217;t want to just hide the files as they are quite large. I&#8217;m thinking I might write a script that automatically removes these files once they are older than a few days, to try and keep things clean. If you have such a script, then you could hide the other files too.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/01/11/smb-windows-and-leopard-server/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Functions in Excel and Numbers &#8217;09</title>
		<link>http://curmi.com/blog/2009/01/10/functions-in-excel-and-numbers-09/</link>
		<comments>http://curmi.com/blog/2009/01/10/functions-in-excel-and-numbers-09/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 03:39:30 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=415</guid>
		<description><![CDATA[Back in late 2007 I wrote an article comparing Excel functions with Apple&#8217;s Numbers &#8217;08 - Apple&#8217;s then new spreadsheet application that was part of iWork &#8217;08. This week Apple released iWork &#8217;09, which contains Numbers &#8217;09. For completeness I thought I should do the same comparison again, to see how Numbers now stacks up. [...]]]></description>
			<content:encoded><![CDATA[<p>Back in late 2007 I wrote an article comparing <a href="http://curmi.com/blog/2007/08/26/functions-in-excel-and-numbers/" target="_blank">Excel functions with Apple&#8217;s Numbers &#8217;08 </a>- Apple&#8217;s then new spreadsheet application that was part of iWork &#8217;08.</p>
<p>This week Apple released <a href="http://www.apple.com/iwork/" target="_blank">iWork &#8217;09</a>, which contains <a href="http://www.apple.com/iwork/numbers/" target="_blank">Numbers &#8217;09</a>.  For completeness I thought I should do the same comparison again, to see how Numbers now stacks up.</p>
<h2>The Numbers</h2>
<p>Here is a link to the spreadsheet in <a href="http://curmi.com/blog/wp-content/uploads/2009/01/functions-in-excel-and-numbers-09numbers.zip">Numbers &#8217;09 format (zipped)</a>, and a <a title="functions-in-excel-and-numbers.pdf" href="http://curmi.com/blog/wp-content/uploads/2007/08/functions-in-excel-and-numbers.pdf"></a><a href="http://curmi.com/blog/wp-content/uploads/2009/01/functions-in-excel-and-numbers-09.pdf">PDF Version</a>.</p>
<p>And here is a summary table:</p>
<div><img class="alignnone size-full wp-image-416" title="thenumbers" src="http://curmi.com/blog/wp-content/uploads/2009/01/thenumbers.jpg" alt="" width="411" height="261" /></div>
<p>As you can see, things have improved a lot in terms of coverage of Excel functionality. In particular, there are big increases in Statistics and Engineering functions. Almost 100 new functions were added in the new release.</p>
<p>What does that mean for those coming from Excel, or trying to import Excel spreadsheets? Well, Apple seem to have covered most of the common functionality. The numbers above are misleading, and look like Apple haven&#8217;t &#8211; but when you take, as an example, Engineering functions, you find that most of the missing functionality is around complex numbers. I doubt anyone reading this blog has a spreadsheet that does complex number calculations. Similarly database functions &#8211; their use is pretty obscure.</p>
<p>There are possibly some stats and finance functions that will break Excel import, so if you rely heavily on these you should check the list.</p>
<p>So, as I mentioned, that is a big increase in functions. Still, I&#8217;m disappointed Apple didn&#8217;t try and match Excels functions totally (maybe not Database Functions), and then start to add some of their own. The compatibility argument would have been a lot strong if they had, and some of the functions would have been pretty easy to add (ISNUMBER anyone?)</p>
<h2>So is Numbers any good?</h2>
<p>Yes. I use it daily, and it is much easier to use than Excel, the results look better, and it has some great functionality such as table categories and intelligent tables &#8211; in comparison Excel is just a big boring grid with some functions behind cells.</p>
<p>Being able to put small individual tables on a single page is the real advantage of Numbers, and the end results are spreadsheets that actually look great, communicate better and are easier to manipulate. Numbers is a pleasure to use for the most part.</p>
<p>You can export to Excel format, though it is always disappointing as Excel spreadsheets are so damn ugly. The iPhone also can view Numbers documents (as it can Excel). If you are on Windows of course, you can&#8217;t view Numbers documents. But who actually <em>chooses</em> to use Windows these days?!</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/01/10/functions-in-excel-and-numbers-09/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kerberos login errors with Leopard Server</title>
		<link>http://curmi.com/blog/2009/01/03/kerberos-login-errors-with-leopard-server/</link>
		<comments>http://curmi.com/blog/2009/01/03/kerberos-login-errors-with-leopard-server/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 13:16:50 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=402</guid>
		<description><![CDATA[Thought I&#8217;d write a quick blog article on an issue I had with my Mac at work. We have Leopard Server running on a Mac Pro, and use Kerberos for authentication of machines on the network when connecting to services such as iCal Server. A few months ago, my work machine (a MacBook Pro) started [...]]]></description>
			<content:encoded><![CDATA[<p>Thought I&#8217;d write a quick blog article on an issue I had with my Mac at work. We have <a href="http://www.apple.com/server/macosx/" target="_blank">Leopard Server</a> running on a Mac Pro, and use Kerberos for authentication of machines on the network when connecting to services such as iCal Server.</p>
<p>A few months ago, my work machine (a MacBook Pro) started complaining when iCal was running and kept asking me for my Kerberos password. I&#8217;d enter it, and it would respond telling me that Kerberos login had failed. No one else in the office had this issue.</p>
<p>Eventually I compared my <code>~/Library/Preferences/edu.mit.Kerberos.KerberosLogin.plist</code> with that of a colleague and found they were different. The key difference was that a number of keys had changed type from <code>Boolean</code> to <code>Number</code>. That is, I had:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-403" title="bad" src="http://curmi.com/blog/wp-content/uploads/2009/01/bad.jpg" alt="" width="450" height="155" /></p>
<p>And they had:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-404" title="good" src="http://curmi.com/blog/wp-content/uploads/2009/01/good.jpg" alt="" width="443" height="158" /></p>
<p>(<code>YAMATO</code> is the name of our server machine).</p>
<p>Changing the types to <code>Boolean</code> fixed the issue.</p>
<p>The question is, how did my machine get into this state? I believe the answer is <a href="http://www.apple.com/mobileme/" target="_blank">MobileMe</a>. I had my machine at home and my machine at work syncing through MobileMe, and I included in this sync the syncing of Preferences. I believe the machine at home, that had never connected to Leopard Server, had the &#8220;bad&#8221; plist, and at some point the plist on the work machine was replaced (or merged) with the home machine.</p>
<p>I&#8217;ve turned off Preferences syncing, and continue to use other sync features of MobileMe without issue (for the record, I love MobileMe &#8211; it is especially good when you have multiple machines to sync, in my case a number of Macs and an iPhone). This may be a bug with MobileMe, but given how few people use Leopard Server, and of them an even smaller percentage use MobileMe, it isn&#8217;t surprising that no one has noticed.</p>
<p>Hopefully if someone is having this issue they will find the solution here.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2009/01/03/kerberos-login-errors-with-leopard-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lead, Follow or Get Out of the Way</title>
		<link>http://curmi.com/blog/2008/10/19/lead-follow-or-get-out-of-the-way/</link>
		<comments>http://curmi.com/blog/2008/10/19/lead-follow-or-get-out-of-the-way/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 02:56:07 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=345</guid>
		<description><![CDATA[After the release of new MacBook and MacBook Pro computers this week without Blu-ray options, Steve Jobs, during a Q&#38;A session, is quoted as saying: &#8220;Blu-ray is just a bag of hurt. It&#8217;s great to watch the movies, but the licensing of the tech is so complex, we&#8217;re waiting till things settle down and Blu-ray [...]]]></description>
			<content:encoded><![CDATA[<p>After the release of new MacBook and MacBook Pro computers this week without Blu-ray options, Steve Jobs, during a Q&amp;A session, is <a href="http://www.engadget.com/2008/10/14/steve-jobs-calls-blu-ray-a-bag-of-hurt/" target="_blank">quoted as saying</a>:</p>
<blockquote><p>&#8220;Blu-ray is just a bag of hurt. It&#8217;s great to watch the movies, but the licensing of the tech is so complex, we&#8217;re waiting till things settle down and Blu-ray takes off in the marketplace&#8221;</p></blockquote>
<p>I was a bit surprised by the comment. Other manufacturers (Dell, HP, Sony) seem to have Blu-ray options on their computers. Apparently it wasn&#8217;t so complicated for them (though admittedly easier for Sony).</p>
<p>Fan boys have come to Steve&#8217;s defence with comments like &#8220;Blu-ray will cost too much &#8211; I don&#8217;t want to pay extra for a technology I don&#8217;t use&#8221;. Fair enough &#8211; it should be an option. Not that difficult &#8211; at one time CD-RW was standard, and DVD-RW was an option at the Apple store. How can you argue against other people who might want the technology actually having access to it, even if you don&#8217;t want it yourself?</p>
<p>The reality is that Apple are not being truthful. There are two reasons for the lack of blu-ray on the new laptops.</p>
<ol>
<li>There are no blu-ray slot loading drives that are thin enough to fit in to Apple&#8217;s thin laptops.</li>
<li>Apple sell HD videos in their iTune store &#8211; and they don&#8217;t want competition from other sources (i.e. Blu-ray discs bought from the local store or borrowed from the local Blockbuster).</li>
</ol>
<p>1 needs a manufacturer to help out &#8211; which I&#8217;m sure they would if Apple asked them to develop the drive. Of course, Blu-ray on the Mac Pro would not have the problem as it can take larger drives. Which leaves only reason 2 for Apple products in general.</p>
<p>And the fan boys pipe up again with &#8220;I can get HD videos from the Apple store. Physical media is dead&#8221;.</p>
<p>Right. So Apple sell 1080p videos on iTunes? With 7.1 surround sound?</p>
<p>No. No they don&#8217;t. They sell at best 720p, and it is compressed to the point that it would fit on a dual layer DVD. That is not full HD. That is not the quality of Blu-ray. Not even close.</p>
<p>If you want to connect your Apple TV, or MacBook, to your Full HD TV, you aren&#8217;t getting the full HD experience (Apple TV can&#8217;t play 1080p video anyway).</p>
<p>Not to mention that most ISPs around the world limit the amount of data you can download in any month, so hiring a few HD videos from Apple would actually blow the limit on their ISP in days.</p>
<p>But even if you forget wanting to watch movies on your machine, how about wanting to burn Blu-ray movies. The professional video creators using Apple machines want to be able to burn their HD movies to Blu-ray. Where is the solution from Apple? Aren&#8217;t Apple supposed to be the leaders in A/V?</p>
<p>The success of the Mac is due to the fact that Apple are the sole supplier of the hardware and operating system &#8211; so it all works together so well. The problem with the Mac is that Apple are the sole supplier of the hardware and operating system.</p>
<p>It all works well when Apple are ahead of the game in terms of technology. But when Apple drag their feet, you find yourself quite limited. Blu-ray is a prime example. With other manufactures adding blu-ray drive options, you&#8217;re stuck waiting for Apple to do the same. If Apple don&#8217;t want to, you can&#8217;t go buy a Sony or Dell. Well you can, but all your Mac software won&#8217;t run (easily) on it.</p>
<p>There was a time when Apple were the leaders, not the followers. It seems now that Apple have spread themselves too thin on the computer side of their business. When your customers feel they are not cutting edge anymore, they will start to look for alternatives. Apple runs the risk of pissing off their loyal fans and having them move away.</p>
<p>The Q&amp;A sessions showed more of this attitude from Apple. Basically, Apple commented on 3 things they aren&#8217;t doing:</p>
<ol>
<li>Blu-ray. &#8220;&#8230;just a bag of hurt&#8230;.we&#8217;re waiting till things settle down and Blu-ray takes off in the marketplace&#8221;</li>
<li>Touch screen notebooks. &#8220;&#8230;it hasn&#8217;t made a lot of sense to us&#8221;</li>
<li>Netbooks. &#8220;&#8230; a nascent market that&#8217;s just getting started&#8221;</li>
</ol>
<p>Probably 2 was a fair enough call &#8211; touch screen notebooks haven&#8217;t taken the world by storm, though Apple has shown with the iPhone they can do a touchscreen device better than most.</p>
<p>3 is more interesting. Netbooks are really taking off &#8211; I&#8217;ve known 2 friends to buy one just in the last week or two. One of them has installed OS X on his (it doesn&#8217;t all work of course). But it does give some indication that people are sick of waiting for Apple to get off its arse and move on their computer division before everyone packs up and they are left with only their iPods and iPhones.</p>
<p>Lead, follow or get out of the way? Which one is it Apple?</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/10/19/lead-follow-or-get-out-of-the-way/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Reflecting on Reflection</title>
		<link>http://curmi.com/blog/2008/10/19/reflecting-on-reflection/</link>
		<comments>http://curmi.com/blog/2008/10/19/reflecting-on-reflection/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 01:20:19 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=337</guid>
		<description><![CDATA[Even by my standards, the title of this article is lame. Sorry. Anyway, Apple this week announced new MacBook and MacBook ProÂ laptops. The way I saw it, there were three major complaints: Lack of firewire on the MacBooks. Lack of Blu-ray drives on anything Apple makes, even as an option. Glossy screens only on MacBook [...]]]></description>
			<content:encoded><![CDATA[<p>Even by my standards, the title of this article is lame. Sorry.</p>
<p>Anyway, Apple this week announced new <a href="http://www.apple.com/macbook/" target="_blank">MacBook</a> and <a href="http://www.apple.com/macbookpro/" target="_blank">MacBook Pro</a>Â laptops. The way I saw it, there were three major complaints:</p>
<ol>
<li>Lack of firewire on the MacBooks.</li>
<li>Lack of Blu-ray drives on anything Apple makes, even as an option.</li>
<li>Glossy screens only on MacBook Pros &#8211; not even a matte screen option.</li>
</ol>
<p>So much has <a href="http://www.appleinsider.com/articles/08/10/16/jobs_responds_to_outrage_over_macbooks_missing_firewire.html" target="_blank">already been said</a> about 1 that I won&#8217;t bother. 2 I might write something about later. But this article is about 3.</p>
<p>Don&#8217;t click away just yet. I&#8217;m not going to just whinge like everyone else about glossy screens. Sure, I would prefer matte screens over glossy for laptops as I don&#8217;t like the reflections. But I don&#8217;t think the glossy screens are that bad &#8211; I have one on my iMac, and I&#8217;ve used an older MacBook with glossy screen and the reflections are generally not terrible.</p>
<p>This post is actually about holding up a mirror (groan) to Apple&#8217;s advertising and reflecting (groan again) on how Apple are so skilled at turning a negative in to a positive.</p>
<p>Now, say you wanted to sell a new laptop your company has just created. You want to show how great it is for working, watching videos, playing games. Surely you&#8217;d want to also show how clear the screen is &#8211; how it won&#8217;t distract you from your work and play because it is so bright and easy to read.</p>
<p>Well, that&#8217;s what I&#8217;d want to show. But maybe that is why I&#8217;m not in advertising, because apparently Apple believe the key to selling their new laptops is to show how reflections are so extreme that they get in the way of everything you do.</p>
<p>Case in point, <a href="http://www.apple.com/macbook/the-new-macbook/" target="_blank">this video</a> from Apple talking about how great their new laptops are.</p>
<p>Let&#8217;s look at some images from this video.</p>
<p>We&#8217;ll start with a fairly standard marketing shot.</p>
<p><img class="aligncenter size-full wp-image-338" title="picture-30" src="http://curmi.com/blog/wp-content/uploads/2008/10/picture-30.jpg" alt="" width="466" height="264" /></p>
<p>Ok, the reflection on that screen looks quite fake. But we can forgive Apple for this &#8211; they are showing that the screen is glossy and bright. We also have this shot:</p>
<p><img class="aligncenter size-full wp-image-339" title="picture-24" src="http://curmi.com/blog/wp-content/uploads/2008/10/picture-24.jpg" alt="" width="466" height="264" /></p>
<p>The reflection is a little extreme here &#8211; it looks like a mirror. But the screen isn&#8217;t on, so maybe it isn&#8217;t so bad. Let&#8217;s press on.</p>
<p>Here we have someone actually doing some work. Editing a photo no less.</p>
<p><img class="aligncenter size-full wp-image-340" title="picture-25" src="http://curmi.com/blog/wp-content/uploads/2008/10/picture-25.jpg" alt="" width="467" height="264" /></p>
<p>Yes, when you are editing a photo you&#8217;ve taken, you really want to have part of your image looking brighter than the rest due to a big reflection on the screen. It makes working so much easier.</p>
<p>But don&#8217;t forget, these machines are great for watching video (as long as it isn&#8217;t Blu-ray). Let&#8217;s take a look at these machines playing a movie, in this case Iron Man.</p>
<p><img class="aligncenter size-full wp-image-341" title="picture-27" src="http://curmi.com/blog/wp-content/uploads/2008/10/picture-27.jpg" alt="" width="467" height="263" /><img class="aligncenter size-full wp-image-342" title="picture-28" src="http://curmi.com/blog/wp-content/uploads/2008/10/picture-28.jpg" alt="" width="467" height="264" /></p>
<p>Is it just me, or are these reflections getting bigger and bigger now? Has someone at Apple gone mad with the post production addition of reflections to the screen?</p>
<p>Now, I don&#8217;t know about you &#8211; but if I&#8217;m watching a movie, I tend to get a bit angry if I get reflections on my screen. Apparently the Apple guys think this is cool though. The more reflection the better!</p>
<p>So, let&#8217;s take a look at how Apple advertise video games on the new glossy screens.</p>
<p><img class="aligncenter size-full wp-image-343" title="picture-29" src="http://curmi.com/blog/wp-content/uploads/2008/10/picture-29.jpg" alt="" width="465" height="263" /></p>
<p>Whoah! Now the reflection is like half the screen. I&#8217;m not making this shit up &#8211; this is all Apple. And each new image has a larger and brighter reflection.</p>
<p>You&#8217;ve got to hand it to Apple advertising though. They can take a negative, play it up to an unrealistic level, and convince you that it is all positive. I&#8217;m still struggling with the lack of firewire on MacBooks as a positive. But I&#8217;m actually quite thirsty, and Steve is offering me Kool-Aid. Thanks mate.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/10/19/reflecting-on-reflection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Funnest</title>
		<link>http://curmi.com/blog/2008/09/13/funnest/</link>
		<comments>http://curmi.com/blog/2008/09/13/funnest/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 23:27:02 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=329</guid>
		<description><![CDATA[Apple released a new iPod touch this week. An example of their new prints ads for this device is shown below: Now I, and many others, found something grating about this ad. It&#8217;s the use of the word &#8220;funnest&#8221;. Is that even a word? It certainly sounds odd and unpleasant when you say it. In [...]]]></description>
			<content:encoded><![CDATA[<p>Apple released a new iPod touch this week. An example of their new prints ads for this device is shown below:</p>
<p style="text-align: center;"><img class="size-full wp-image-331 aligncenter" title="funnest" src="http://curmi.com/blog/wp-content/uploads/2008/09/funnest.jpg" alt="" width="225" height="148" /></p>
<p>Now I, and many others, found something grating about this ad. It&#8217;s the use of the word &#8220;funnest&#8221;. Is that even a word? It certainly sounds odd and unpleasant when you say it.</p>
<p>In fact, in typing the word in Apple&#8217;s own OS X, the spell checker puts a red line under it to say it isn&#8217;t spelt correctly, and suggests replacing it with &#8220;funniest&#8221;. Not quite the print ad I&#8217;d want for my new product.</p>
<p style="text-align: center;"><img class="size-full wp-image-330 aligncenter" title="bad-spelling" src="http://curmi.com/blog/wp-content/uploads/2008/09/bad-spelling.jpg" alt="" width="200" height="35" /></p>
<p>So, what does OS X&#8217;s Dictionary actually say about it? Well, it doesn&#8217;t have an entry in search for &#8220;funnest&#8221;, but under &#8220;fun&#8221; it mentions it as follows:</p>
<p style="text-align: center;"><img class="size-full wp-image-332 aligncenter" title="dictionary" src="http://curmi.com/blog/wp-content/uploads/2008/09/dictionary.jpg" alt="" width="474" height="174" /></p>
<p>Lucky Apple ads aren&#8217;t &#8220;formal written English&#8221;. :-(</p>
<p>Horrible ads Apple. Though not as horrible as Microsoft&#8217;s new Seinfeld ads.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/09/13/funnest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Time Machine Backup to Rotating Disks</title>
		<link>http://curmi.com/blog/2008/08/23/time-machine-backup-to-rotating-disks/</link>
		<comments>http://curmi.com/blog/2008/08/23/time-machine-backup-to-rotating-disks/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 13:35:38 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/?p=288</guid>
		<description><![CDATA[We have Leopard Server running in our small software company, with user&#8217;s machines backed up to the server via Time Machine, and other important data stored on the server such as our intranet pages. So it is vital that we make backups of this server. That&#8217;s the easy bit &#8211; we can use Time Machine [...]]]></description>
			<content:encoded><![CDATA[<p>We have <a href="http://www.apple.com/server/macosx/">Leopard Server</a> running in our small software company, with user&#8217;s machines backed up to the server via Time Machine, and other important data stored on the server such as our intranet pages.  So it is vital that we make backups of this server.  That&#8217;s the easy bit &#8211; we can use Time Machine on the server itself, saving to an external drive, so that all changes are saved each hour, and Time Machine can restore files when required.</p>
<p>However, it is also important that we have offsite backups &#8211; in case the building catches fire, or the backup hard drive dies.  This is where a rotating set of external hard drives would come in useful.<br />
<span id="more-288"></span></p>
<h2>The Challenge</h2>
<p>Time Machine easily backs up to an external USB or Firewire drive.  The challenge is that Time Machine can only back up to a single drive.  We could eject the drive, then plug in another, but Time Machine is still looking for the first drive so we&#8217;d have to manually change Time Machine settings to backup to this second drive.  And then when we swap again, we&#8217;d have to do this all over again.  That is too much work.</p>
<h2>The Solution</h2>
<p>Here is the solution I came up with.  I&#8217;ll explain what I did first, then the limitations of this solution.</p>
<p>I started with the following: two 1TB external firewire 800 drives. The drives we bought were the <a href="http://www.lacie.com/us/products/product.htm?pid=10922">Lacie 1TB Big Disk Extreme +</a>.</p>
<p>I plugged the first drive in to the Mac Pro we are using (running Leopard Server).  I changed its volume name to &#8220;<code>Backup</code>&#8221; and set it up as a Time Machine backup drive.  I let Leopard Server do an initial backup.</p>
<p>Next I started the Terminal application, and from the command line looked at the contents of the backup drive, via &#8220;<code>ls -a /Volumes/Backup</code>&#8220;.  The results were as follows:</p>
<p><img src="http://curmi.com/blog/wp-content/uploads/2008/08/terminal1.jpg" alt="" title="Terminal Window Results" width="475" height="52" class="alignnone size-full wp-image-294" /></p>
<p>Your drive will have a different number file name than the <code>.001f5b310098</code> our drive has.</p>
<p>I copied this <code>.001f5b310098</code> file to a temporary directory, and plugged in the other 1TB drive.  When mounted, I changed its name to Backup, and created a directory structure to match the one on the first drive.  I also copied the <code>.001f5b310098</code> file over to this new drive.</p>
<p>Now I ejected both drives, and plugged in the second.  Leopard assumed it was the same drive as the first, and used it for Time Machine backups.  I ejected that drive, plugged in the first, and once again, Leopard assumed it was the same drive, and performed a Time Machine backup.</p>
<p>So basically, we now had rotating disks working with Time Machine.  I could eject the drive each week, take it off site, and replace it with the other drive, then swap them again the following week.</p>
<h2>Hot Swap</h2>
<p>The trouble with the system so far is that I need to go to the machine and manually eject the backup drive each week, then plug the other drive in.  That means I need to either ssh in, remote desktop in, or go to the machine itself in the server room and have a screen connected to it at all times.  This is a server machine &#8211; I really want hot swappable drives.</p>
<p><img src="http://curmi.com/blog/wp-content/uploads/2008/08/lacie.jpg" alt="" title="Lacie drive showing Shortcut button" width="164" height="205" class="alignleft size-full wp-image-298" />The Lacie drives we bought have a shortcut button &#8211; a button you can push and usually (by default) it runs EMC Retrospect.  I didn&#8217;t want to use EMC Retrospect, but I installed the software anyway as I had an idea.  Not quite &#8220;hot swappable&#8221; drives, but close enough that I don&#8217;t need to have a keyboard or screen attached to swap the drives.</p>
<p>I created an AppleScript that the Lacie Shortcut software would run on pressing the shortcut button the drive, and installed it following the instructions that came with the drive (basically there is a system preference to do this once you install the software). The idea of the script is to eject the drive when I push the button, so that I can safely remove it and plug in the next drive in rotation.</p>
<p>But I wanted a bit more.  First, I need to know it ejected it without issue, but I don&#8217;t want to have a monitor attached.  So I made the script talk &#8211; telling me if there was an error, or if it ejected the drive without incident.</p>
<p>Second, most of the time the machine has the volume off.  So I wanted it to increase the volume for the voice, then go back to the original volume &#8211; so we don&#8217;t hear beeps etc. when someone logs in remotely to the machine.</p>
<p>Third, if I made a mistake about ejecting the drive, I wanted a push of the button to remount the drive.</p>
<p>So, the following is the script I came up with.  You can download the script <a href='http://curmi.com/blog/wp-content/uploads/2008/08/backup.zip'>here</a>.</p>
<p><img src="http://curmi.com/blog/wp-content/uploads/2008/08/backup-script1.jpg" alt="" title="Backup AppleScript" width="452" height="472" class="alignnone size-full wp-image-295" /></p>
<h2>The result</h2>
<p>So now, at the start of each week I can enter the office, go to the server, press the shortcut button, wait for the voice to say &#8220;Backup is now ejected&#8221;, safely remove the drive, then take the second drive, and plug it in.  Leopard assumes it is the same drive, and continues doing incremental backups.  The first drive now is taken away and is the offsite backup.</p>
<h2>Limitations</h2>
<p>There are some limitations to this solution.</p>
<p>First, anything backed up in the previous week will be on the offsite drive.  The onsite drive will have a backup from that morning, and from one week ago, but any changes during the previous week are on the other drive.  So, if someone needs a file from last week, you have to go and get it off the offsite drive.</p>
<p>For us, this isn&#8217;t as big an issue as it sounds.  Most of the backups that people need access to are backups of personal files on their own machine, and those backups are stored within a backup store on the server.  So they remain on the machine regardless of the backup drive.  The &#8220;missing week&#8221; is only an issue for files that were changed on the server.  So far that hasn&#8217;t been an issue for us, but depending on the way your company works, it could be a show stopper.</p>
<p>The second limitation is with Time Machine itself. Time Machine doesn&#8217;t backup an entire server so you can boot from the backup, or restore an entire system from the backup.  If your system is completely hosed, you need to reinstall the operating system, then manually put all your files off the Time Machine backup back on to your server.</p>
<h2>Conclusions</h2>
<p>It all depends on what you want from your backups.  This isn&#8217;t the ideal backup, but it is a convenient and easy to set up backup system with rotating disks.  It also has great ease of use when it comes to restoring files, given the Time Machine interface.  One thing you might like to consider is using some third party software to make an occasional full system backup to another drive that you can use for rebuild if disaster strikes.  If you have other ideas, please add them to the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/08/23/time-machine-backup-to-rotating-disks/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Trac on Leopard Server</title>
		<link>http://curmi.com/blog/2008/08/10/trac-on-leopard-server/</link>
		<comments>http://curmi.com/blog/2008/08/10/trac-on-leopard-server/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 06:09:39 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/2008/08/10/trac-on-leopard-server/</guid>
		<description><![CDATA[Trac is an issue tracking system for software development projects. It integrates with Subversion (SVN), and is considered one of the better issue trackers out there because it is light weight and doesn&#8217;t bog down issue tracking with huge numbers of options that confuse the user. Getting Trac running on OS X Leopard Server is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://trac.edgewall.org/">Trac</a> is an issue tracking system for software development projects.  It integrates with <a href="http://subversion.tigris.org/">Subversion</a> (SVN), and is considered one of the better issue trackers out there because it is light weight and doesn&#8217;t bog down issue tracking with huge numbers of options that confuse the user.</p>
<p>Getting Trac running on OS X Leopard Server is quite simple, though it does require some use of the Terminal application.  The following is a tutorial on installing Trac, with an emphasis on doing so in the most OS X way possible, and integrating with Open Directory for authentication (the standard user authentication method used by Leopard Server).<br />
<span id="more-261"></span><br />
This tutorial is made easier if you follow the instructions <a href="http://curmi.com/blog/2008/08/03/subversion-on-leopard-server/">here</a> on setting up SVN on Leopard Server.  I will in particular make use of the sections on &#8220;Using Server Admin&#8221; and the section immediately following on &#8220;Back to the Terminal&#8221;.</p>
<h2>Installing Trac</h2>
<p>From Safari on your Leopard Server, <a href="http://trac.edgewall.org/wiki/TracDownload">download</a> the latest version of Trac (at the time of writing, this was version 0.11.1).</p>
<p>If downloaded from Safari, this would normally download the zip file to the Downloads directory, and unzip it automatically.  If not, unzip it manually.  Then follow these commands:</p>
<blockquote><p>cd ~/Downloads/Trac-0.11.1<br />
sudo python ./setup.py install</p></blockquote>
<p>Enter your admin password, and allow Trac to install.</p>
<h2>Setting up the Environment</h2>
<p>Making folder choices that are OS X-style, create an area for your Trac Environments.  The location I choose is /<code>Library/Trac/Environments</code>.  From the Terminal type:</p>
<blockquote><p>sudo mkdir -p /Library/Trac/Environments</p></blockquote>
<p>The next step is to create an environment for your development project.  Because the folder name used here will be part of a URL, and URL components tend to be lowercase, I choose to use a lowercase name for the environment.  Suppose we have a project &#8220;My Project&#8221;.  For this project, I create an environment as follows:</p>
<blockquote><p>sudo trac-admin \<br />
/Library/Trac/Environments/myproject initenv
</p></blockquote>
<p>You will be asked a number of questions.  For most you can take the default, but you may want to change the name, and you should enter the correct location for your subversion repository.  In the example above, the interaction looks something like the following:</p>
<blockquote><p>Trac will first ask a few questions about your environment<br />
in order to initialize and prepare the project database.</p>
<p> Please enter the name of your project.<br />
 This name will be used in page titles and descriptions.</p>
<p>Project Name [My Project]> </p>
<p> Please specify the connection string for the database to use.<br />
 By default, a local SQLite database is created in the environment<br />
 directory. It is also possible to use an already existing<br />
 PostgreSQL database (check the Trac documentation for the exact<br />
 connection string syntax).</p>
<p>Database connection string [sqlite:db/trac.db]> </p>
<p> Please specify the type of version control system,<br />
 By default, it will be svn.</p>
<p> If you don&#8217;t want to use Trac with version control integration,<br />
 choose the default here and don&#8217;t specify a repository directory.<br />
 in the next question.</p>
<p>Repository type [svn]> </p>
<p> Please specify the absolute path to the version control<br />
 repository, or leave it blank to use Trac without a repository.<br />
 You can also set the repository location later.</p>
<p>Path to repository [/path/to/repos]> </p>
<p>Creating and Initializing Project</p>
<p>&#8230;.</p>
<p>Congratulations!
</p></blockquote>
<p>Now, change the owner of the Trac area:</p>
<blockquote><p>sudo chown -R www:admin /Library/Trac</p></blockquote>
<p>And set up Trac administration:</p>
<blockquote><p>sudo trac-admin /Library/Trac/Environments/myproject
</p></blockquote>
<p>This will bring you to a prompt along the lines of:</p>
<blockquote><p>Welcome to trac-admin 0.11.1<br />
Interactive Trac administration console.<br />
Copyright (c) 2003-2008 Edgewall Software</p>
<p>Type:  &#8216;?&#8217; or &#8216;help&#8217; for help on commands.</p>
<p>Trac [/Library/Trac/Environments/myproject]></p></blockquote>
<p>At this prompt type:</p>
<blockquote><p>permission add authenticated TRAC_ADMIN
</p></blockquote>
<p>Then type:</p>
<blockquote><p>quit</p></blockquote>
<p>Make sure these two commands are applied from with trac-admin, not directly at the Terminal command-line.</p>
<h2>Using Server Admin</h2>
<p>Start up Server Admin on Leopard Server, and go to the Web section. Click on Sites at the top of the Server Admin screen. In following my <a href="http://curmi.com/blog/2008/08/03/subversion-on-leopard-server/">SVN setup instructions</a>, you should have a site set up on port 443.  We will use this site, so select this site from the list.</p>
<p>Choose the Realms Tab, and create a new Realm for Trac by choosing the + button under the list of Realms (Subversion should already be listed).  Enter information as shown.</p>
<p><center><br />
<a href='http://curmi.com/blog/wp-content/uploads/2008/08/create-realm-trac.jpg' title='Create Realm - Trac'><img src='http://curmi.com/blog/wp-content/uploads/2008/08/create-realm-trac.jpg' alt='Create Realm - Trac' width="100%"/></a><br />
</center></p>
<p>Once created, the Realms tab should look as follows.  Add users to the Realm as required &#8211; note that they only need to be listed as having Browse Only permissions.</p>
<p><a href='http://curmi.com/blog/wp-content/uploads/2008/08/realms-tab-trac.jpg' title='Realms Tab - Trac'><img src='http://curmi.com/blog/wp-content/uploads/2008/08/realms-tab-trac.jpg' alt='Realms Tab - Trac' / width="100%"></a></p>
<p>Go to the Settings at the top of the Web administration page, and choose Modules.  Find the &#8220;<code>fast_cgi</code>&#8221; module and turn this on as shown.</p>
<p><a href='http://curmi.com/blog/wp-content/uploads/2008/08/modules-trac.jpg' title='Modules - Trac'><img src='http://curmi.com/blog/wp-content/uploads/2008/08/modules-trac.jpg' alt='Modules - Trac' width="100%"/></a></p>
<p>Save all changes.</p>
<h1>Back to the Terminal</h1>
<p>In Terminal, go to the directory /<code>etc/apache2/sites</code>. If you followed the subversion setup instructions, you will be able to go to the sub-directory &#8220;<code>0001_any_443_yamato.internal</code>&#8221; (or whatever your directory was called) and add a Trac configuration file.</p>
<blockquote><p>cd /etc/apache2/sites/0001_any_443_yamato.internal<br />
sudo vi httpd_trac.conf
</p></blockquote>
<p>In this file place the text:</p>
<blockquote><p>ScriptAlias /trac<br />
/System/Library/Frameworks/Python.framework/Versions/<br />
Current/share/trac/cgi-bin/trac.fcgi</p></blockquote>
<p>All on one line.  Note that the last two lines should be joined without a space, but there should be a space after &#8220;<code>/trac</code>&#8220;.</p>
<p><strong>NOTE</strong> that Apple have made changes to Python in later releases of Leopard Server. These changes result in the install NOT installing <code>trac.fcgi</code> to the <code>/System/Library</code> area. This makes sense &#8211; it was wrong for the installer to have installed in to the <code>/System</code> area, rather than the <code>/Library</code> area. But unfortunately, this breaks things. First, the installer doesn&#8217;t install the <code>cgi-bin</code> directory anywhere, and even if you copy it manually to <code>/Library</code> for example, it doesn&#8217;t seem to run.</p>
<p>I have found it only runs if it is in the <code>/System/Library</code> area as described in the <code>ScriptAlias</code> line above. So, if you find that your installation doesn&#8217;t work following all the instructions in this article, try copying the <code>cgi-bin</code> directory (from your original install) to <code>/System/Library/Frameworks/Python.framework/Versions/<br />
Current/share/trac/</code>, making directories as required.</p>
<p>Now set up Fast CGI:</p>
<blockquote><p>cd /etc/apache2/sites<br />
vi global.conf</p></blockquote>
<p>In that file place the text:</p>
<blockquote><p>FastCgiConfig -initial-env<br />
TRAC_ENV_PARENT_DIR=/Library/Trac/Environments
</p></blockquote>
<p>All on one line.</p>
<h2>Back to Server Admin</h2>
<p>Restart the web server, by clicking Stop Web and then Start Web.</p>
<p>You should now have a working Trac installation, linked to your project&#8217;s subversion repository, and using Open Directory for authentication of users.  You should also be able to add and remove people from the Trac Realm at will, without having to mess with the configuration files.</p>
<p>In my example, Trac is available from the web link <code>https://yamato.internal/trac</code>.</p>
<h2>Further Configuration</h2>
<p>If you want to further configure your Trac environment, you can edit the file <code>/Library/Trac/Environments/cdms/conf/trac.ini</code> and make any changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/08/10/trac-on-leopard-server/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Subversion on Leopard Server</title>
		<link>http://curmi.com/blog/2008/08/03/subversion-on-leopard-server/</link>
		<comments>http://curmi.com/blog/2008/08/03/subversion-on-leopard-server/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 04:22:31 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/2008/08/03/subversion-on-leopard-server/</guid>
		<description><![CDATA[It&#8217;s surprising that, given Subversion (SVN) is an Apple officially supported revision control system for development (Xcode has support for it), Leopard Server has no real GUI support for getting a subversion server up and running (or any other revision control system server). Yes, Leopard Server does ship with Subversion. But to use it for [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s surprising that, given <a href="http://subversion.tigris.org/">Subversion</a> (SVN) is an Apple officially supported revision control system for development (Xcode has support for it), Leopard Server has no real GUI support for getting a subversion server up and running (or any other revision control system server).  Yes, Leopard Server does ship with Subversion.  But to use it for your internal projects there is quite a bit of setup required.</p>
<p>There are a number of resources on the net showing how to setup Subversion on Leopard Server, but just about every tutorial I&#8217;ve seen ends up with something that works &#8211; but if you make any unrelated changes to your web server with the Server Admin tool at a later date you end up changing your SVN settings and having to redo them.</p>
<p>What I propose below is a general way to avoid this problem that can be applied to Subversion and other tools.  I also try and do this in the most OS X way I can, using OS X style folder locations and naming, and the Server Admin tool wherever possible.  Further, I show how to integrate with Open Directory for authentication (the standard user authentication method used by Leopard Server).<br />
<span id="more-240"></span></p>
<h2>Creating the repository</h2>
<p>The first thing we need is a repository on Leopard Server to store all your files that are under SVN control.  In OS X style, I have chosen to store this repository in <code>/Library/Subversion</code>.  I will set it up to have multiple repositories &#8211; my first is called &#8220;<code>projects</code>&#8220;.  You should change as you see fit.  As &#8220;<code>projects</code>&#8221; will later be accessible via a url, where most url components are lowercase, I chose to name all our repositories in lowercase.</p>
<p>You will need to open Terminal, and type the following.  You will need to enter your admin password.</p>
<blockquote><p>sudo svnadmin create \<br />
/Library/Subversion/Repository/projects<br />
sudo chown -R www:admin /Library/Subversion<br />
sudo chmod -R 770 /Library/Subversion</p></blockquote>
<h2>Using Server Admin</h2>
<p>Start up Server Admin on Leopard Server, and go to the Web section.  Click on Sites at the top of the Server Admin screen.  In my setup, I&#8217;ve chosen to have two sites &#8211; our intranet on port 80, and our SVN services on port 443 (i.e. we will access SVN using https).  Do this by selecting the + button under the list of domains.</p>
<p>Under the General tab, fill in the details for your server.  In particular, make sure your domain name is set correctly, and will not change later.  In the example below, our machine is called &#8220;yamato&#8221; and the domain is &#8220;yamato.internal&#8221; &#8211; an internal domain that isn&#8217;t used outside of the VPN.</p>
<p><a title="General Tab" href="http://curmi.com/blog/wp-content/uploads/2008/08/general-tab.jpg"><img src="http://curmi.com/blog/wp-content/uploads/2008/08/general-tab.jpg" alt="General Tab" width="100%" /></a></p>
<p>Under the Options tab, select &#8220;WebDAV&#8221;.</p>
<p><a title="Options Tab" href="http://curmi.com/blog/wp-content/uploads/2008/08/options-tab.jpg"><img src="http://curmi.com/blog/wp-content/uploads/2008/08/options-tab.jpg" alt="Options Tab" width="100%" /></a></p>
<p>Under the Realms tab, we create a new Realm.  This will be used in the future to add new users giving them access to SVN (or not).  You create a new Realm by clicking on the + button under the Realms list.  Fill in the dialog box that slides out as shown below.</p>
<p><a title="Create Realm - SVN" href="http://curmi.com/blog/wp-content/uploads/2008/08/create-realm-svn.jpg"><img src="http://curmi.com/blog/wp-content/uploads/2008/08/create-realm-svn.jpg" alt="Create Realm - SVN" width="100%" /></a></p>
<p>I call my Subversion Realm &#8220;Subversion&#8221;.  Once created, to the right I add the users I want to allow access to SVN, giving them appropriate access (in this case all my users have &#8220;Browse and Read/Write WebDAV&#8221;).</p>
<p><a title="Realms Tab - SVN" href="http://curmi.com/blog/wp-content/uploads/2008/08/realms-tab-svn.jpg"><img src="http://curmi.com/blog/wp-content/uploads/2008/08/realms-tab-svn.jpg" alt="Realms Tab - SVN" width="100%" /></a></p>
<p>Under the Security tab, select &#8220;Enable Secure Sockets Layer (SSL)&#8221;.  I created a new certificate, but you can use the default that Leopard Server creates for you on installation.</p>
<p><a title="Security Tab" href="http://curmi.com/blog/wp-content/uploads/2008/08/security-tab.jpg"><img src="http://curmi.com/blog/wp-content/uploads/2008/08/security-tab.jpg" alt="Security Tab" width="100%" /></a></p>
<p>Now save your changes.</p>
<p>Click on Settings at the top, and choose the Modules tab.  In this tab, find &#8220;dav_svn_module&#8221; and enable it by ticking the appropriate check box.</p>
<p><a title="Modules - SVN" href="http://curmi.com/blog/wp-content/uploads/2008/08/modules-svn.jpg"><img src="http://curmi.com/blog/wp-content/uploads/2008/08/modules-svn.jpg" alt="Modules - SVN" width="100%" /></a></p>
<p>Save your changes.</p>
<h2>Back to the Terminal</h2>
<p>In Terminal, go to the directory <code>/etc/apache2/sites</code>.  Here you will find configuration files for your domains.  Of particular interest is the domain I have setup for SVN:</p>
<blockquote><p>0001_any_443_yamato.internal.conf</p></blockquote>
<p>We want to avoid changing this file as much as possible, only changing it enough to load the changes we need, and changing areas that won&#8217;t change if we make further changes to this file via Server Admin.  To do this we create a sub-directory called <code>0001_any_443_yamato.internal</code>.</p>
<blockquote><p>cd /etc/apache2/sites<br />
sudo mkdir 0001_any_443_yamato.internal</p></blockquote>
<p>Now, edit <code>0001_any_443_yamato.internal.conf</code> using your favourite command-line editor.</p>
<blockquote><p>sudo vi 0001_any_443_yamato.internal.conf</p></blockquote>
<p>In the file, find the line:</p>
<blockquote><p>LogLevel warn</p></blockquote>
<p>Above this line put:</p>
<blockquote><p>Include &#8220;/etc/apache2/sites/0001_any_443_yamato.internal/*.conf&#8221;</p></blockquote>
<p>Replacing the name of the server with the name of your server.</p>
<p>Now, go to the directory you created, and create a new file called <code>httpd_svn.conf</code>.</p>
<blockquote><p>cd /etc/apache2/sites/0001_any_443_yamato.internal<br />
sudo vi httpd_svn.conf</p></blockquote>
<p>In this file, type the following</p>
<blockquote><p>&lt;Location &#8220;/svn&#8221;&gt;<br />
DAV svn<br />
SVNParentPath /Library/Subversion/Repositories<br />
&lt;/Location&gt;</p></blockquote>
<p>and save your changes.</p>
<h2>Back to Server Admin</h2>
<p>Restart the web server, by clicking Stop Web and then Start Web.</p>
<h2>Almost done</h2>
<p>Now you just need to add a new project.  You&#8217;ll need to create the usual SVN directory structure for a project, and import the project with <code>svn import</code>.  The URL for the projects repository, in my example, is <code>https://yamato.internal/svn/projects</code>.  Authentication will use usernames and passwords of users in your Open Directory.</p>
<p>And that should be it.  Now you should be able to add and remove people from the Subversion Realm at will, without having to mess with the configuration files.  The general idea of putting extra configuration files in to a subdirectory makes extending Apache much easier while maintaining the use of Server Admin for day to day GUI tasks &#8211; I&#8217;ll show you how easy that is soon in another blog article on getting Trac up and running on Leopard Server.</p>
<h2>Troubleshooting</h2>
<p>At a later date we discovered that <code>svn status -u</code> didn&#8217;t work &#8211; giving an error.  We found that we could only get this working by turning off the Forward Proxy we had configured under Web Settings in Server Admin.  It is quite possible this could be fixed by adding an appropriate <code>ProxyPass</code> directive in <code>httpd_svn.conf</code>, but haven&#8217;t figured that out yet.  If you do, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/08/03/subversion-on-leopard-server/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Leopard Server and Spotlight Problems</title>
		<link>http://curmi.com/blog/2008/04/19/leopard-server-and-spotlight-problems/</link>
		<comments>http://curmi.com/blog/2008/04/19/leopard-server-and-spotlight-problems/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 02:50:53 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/2008/04/19/leopard-server-and-spotlight-problems/</guid>
		<description><![CDATA[When we first installed Leopard Server, we found that Spotlight wasn&#8217;t working on the server by default. A number of people have also found this to be true, and some people have suggested it may have something to do with installing on to a RAID 1 drive setup (as we did). The following is a [...]]]></description>
			<content:encoded><![CDATA[<p>When we first installed Leopard Server, we found that Spotlight wasn&#8217;t working on the server by default.  A number of people have also found this to be true, and some people have suggested it may have something to do with installing on to a RAID 1 drive setup (as we did).</p>
<p>The following is a possibly solution to get Spotlight working if you are having this issue<sup>1</sup>.</p>
<ol>
<li> Login in to your server as an administrator.</li>
<li> Open the Terminal application (in your /Applications/Utilities folder)</li>
<li> Type the following exactly as written in to the Terminal:<br />
<code></p>
<blockquote><p>sudo rm /.metadata_never_index</p></blockquote>
<p></code></p>
<p>It will ask you for your password. You may get a &#8220;file not found&#8221; error, as the file has only been reported as being there for some users.  Regardless, move to step 4.</li>
<li> Type the following in to the Terminal:<br />
<code></p>
<blockquote><p>sudo mdutil -i on /</p></blockquote>
<p></code></li>
</ol>
<p>Spotlight in the right corner of the menu of your server login should indicate it is indexing, and before long will start working.</p>
<p><small><br />
1. This post is based on a discussion in <a href="http://discussions.apple.com/thread.jspa?messageID=7063635#7063635">Apple Discussions</a>, and fixed the problem we had been having with our server.<br />
</small></p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/04/19/leopard-server-and-spotlight-problems/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Leopard Server and LDAP edit of people in Open Directory</title>
		<link>http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-edit-of-people-in-open-directory/</link>
		<comments>http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-edit-of-people-in-open-directory/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 01:59:11 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-edit-of-people-in-open-directory/</guid>
		<description><![CDATA[Leopard Server makes use of Open Directory, an LDAP based directory service of resources &#8211; including users and shared contact information. As I mentioned in a previous article, you can set up other Address Book software (such as Thunderbird&#8217;s) to access the shared contacts using LDAP. When it comes to editing these shared contacts, things [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apple.com/server/macosx/">Leopard Server</a> makes use of <a href="http://en.wikipedia.org/wiki/Apple_Open_Directory">Open Directory</a>, an LDAP based directory service of resources &#8211; including users and shared contact information.  As I mentioned in a <a href="http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-search-for-people-in-open-directory/">previous article</a>, you can set up other Address Book software (such as Thunderbird&#8217;s) to access the shared contacts using LDAP.</p>
<p>When it comes to editing these shared contacts, things are a little less straightforward.  Leopard comes with an application called &#8220;Directory&#8221;, that allows you add/delete and edit shared contacts.  The trouble is, in doing this, it uses non-standard LDAP attributes (not that there is a &#8220;standard&#8221; as such, but the ones they use aren&#8217;t even used by their own Address Book application).  So it is best you just ignore this feature of Directory until Apple fix it &#8211; (I&#8217;ve logged it with Apple &#8211; radar bug report number 5801945).</p>
<p>If you are on a Mac, your best bet is to create your shared contact in Address Book, and then drag the entry to Directory.  This works great, except that &#8220;notes&#8221; are lost. &#8211; I&#8217;ve logged this as a bug with Apple (radar bug report number 5818049)</p>
<p>If you aren&#8217;t on a Mac, or you don&#8217;t like the Address Book hack to get around Directory issues, you need another tool to edit the shared contacts. I have found very few tools that could authenticate with a default Open Directory set up &#8211; mainly because the client needs to be able to authenticate with SASL, and handle CRAM-MD5 challenge responses.</p>
<p>The one LDAP editor I found that works is <a href="http://directory.apache.org/studio/">Apache Directory Studio</a>.</p>
<p>Once installed, the settings are basically (assuming your Leopard server has domain &#8220;<code>yamato.internal</code>&#8220;):</p>
<blockquote><p><code><strong>Network Parameter</strong><br />
Hostname: yamato.internal<br />
Port: 389<br />
Encryption: [No encryption or SSL]</p>
<p><strong>Authentication</strong><br />
Authentication Method: CRAM-MD5 (SASL)<br />
Bind DN or User: [Your OD username]<br />
Bind Password: [Your OD password]</p>
<p><strong>Browser Options</strong><br />
Base DN: cn=people,dc=yamato,dc=internal</code></p></blockquote>
<p>Leave all other entries as defaults.</p>
<p>Once setup, you can connect and browse to entries. You can edit the entries and save them as required.</p>
<p>This means you can, for example, easily edit an existing shared contact.  You could even use it as a crude way to enter shared contacts, by creating a template entry, and using that for new entries. Not pretty, but at least will give you correct attributes for LDAP Address Book searches.</p>
<p>There are better LDAP based address books with editing capabilities on the net, but I couldn&#8217;t find any that could authenticate with Open Directory beyond the one mentioned here.  If you find any, leave me a note in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-edit-of-people-in-open-directory/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Leopard Server and LDAP Search for People in Open Directory</title>
		<link>http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-search-for-people-in-open-directory/</link>
		<comments>http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-search-for-people-in-open-directory/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 01:32:19 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-search-for-people-in-open-directory/</guid>
		<description><![CDATA[Leopard Server makes use of Open Directory, an LDAP based directory service of resources &#8211; including users and shared contacts. Address book in Leopard client will automatically search Open Directory for users and people, but if you need to access these contacts from other software (Outlook, Thunderbird, etc.), you&#8217;ll need to set up your own [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.apple.com/server/macosx/">Leopard Server</a> makes use of <a href="http://en.wikipedia.org/wiki/Apple_Open_Directory">Open Directory</a>, an LDAP based directory service of resources &#8211; including users and shared contacts.  Address book in <a href="http://www.apple.com/macosx/">Leopard client</a> will automatically search Open Directory for users and people, but if you need to access these contacts from other software (Outlook, Thunderbird, etc.), you&#8217;ll need to set up your own LDAP search.  The following will show you the needed parameters.</p>
<p>Suppose, for example, you are using <a href="http://www.mozilla.com/thunderbird/">Thunderbird</a>. For the example, assume your Leopard server has domain name &#8220;<code>yamato.internal</code>&#8220;. Then you enter the following in the Thunderbird Address Book when creating a new LDAP server entry:</p>
<blockquote><p><code>Hostname: yamato.internal<br />
Base DN: cn=people,dc=yamato,dc=internal<br />
Port Number: 389<br />
BindDN: [Leave blank]</code></p></blockquote>
<p>This will allow you to search for &#8220;<code>people</code>&#8221; &#8211; i.e. shared contacts entered through Apple&#8217;s Directory application in Leopard or some other application. Keep in mind there are huge bugs in the Directory application that ruin this bit &#8211; you&#8217;ll need to drag people from your local Address Book to Directory to ensure the shared contact works with LDAP search rather than edit them in the Directory application itself, or you may want to enter &#8220;people&#8221; using some other third party tool (see next blog article I&#8217;m writing).</p>
<p>If you want to search on users, change the <code>cn=people</code> to <code>cn=users</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/04/10/leopard-server-and-ldap-search-for-people-in-open-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard Server and DirectoryService crashes</title>
		<link>http://curmi.com/blog/2008/04/08/leopard-server-and-directoryservice-crashes/</link>
		<comments>http://curmi.com/blog/2008/04/08/leopard-server-and-directoryservice-crashes/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 13:21:41 +0000</pubDate>
		<dc:creator>curmi</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://curmi.com/blog/2008/04/08/leopard-server-and-directoryservice-crashes/</guid>
		<description><![CDATA[Apple&#8217;s Leopard Server appears to have a major bug that is causing havoc for those users unlucky enough to see it occur on a daily basis. Basically, DirectoryService is crashing on users of Leopard Server. This in itself isn&#8217;t a big problem &#8211; Leopard Server restarts DirectoryService if it fails. The problem is with AppleFileServer. [...]]]></description>
			<content:encoded><![CDATA[<p>Apple&#8217;s <a href="http://www.apple.com/server/macosx/">Leopard Server</a> appears to have a major bug that is causing havoc for those users unlucky enough to see it occur on a daily basis.</p>
<p>Basically, <code>DirectoryService</code> is crashing on users of Leopard Server.  This in itself isn&#8217;t a big problem &#8211; Leopard Server restarts <code>DirectoryService</code> if it fails.  The problem is with <code>AppleFileServer</code>.  <code>AppleFileServer</code> seems to lose the ability to authenticate users with the new instance of <code>DirectoryService</code>.  This means Time Machine backups stop working, and users can&#8217;t mount the server using <code>AFP</code>.</p>
<p>Currently, as of 10.5.2, this has still not been fixed.  Apple have apparently given users suggestions such as sending a <code>HUP</code> signal to <code>AppleFileServer</code> at regular intervals to get things back on track, but in my limited testing, this doesn&#8217;t work &#8211; leaving the user with the ability to only mount certain shares.</p>
<p>The only reliable solution I&#8217;ve found is to restart <code>AFP</code>.  Obviously we don&#8217;t want to do that all the time &#8211; it should only be done when <code>DirectoryService</code> crashes.  To do this, I&#8217;ve built the following launchd daemon.  Basically, it works as follows:</p>
<p>The daemon watches the <code>/Library/Logs/Crashes</code> directory, and wait until a crash occurs.  When it does, it runs a script that checks to see if the crash was a <code>DirectoryService</code> crash, moves these crash files away in to a sub-directory, and restarts <code>AFP</code>.</p>
<p>Not a great solution, as if someone is connected at the time, they get booted and have to remount.  I&#8217;m experimenting with other fixes people have listed that don&#8217;t require AFP to be restarted, but so far I&#8217;ve found they don&#8217;t seem to work consistently.</p>
<p>You can download the daemon <a href="http://curmi.com/software/mac/restartafp/restartafp.zip">here</a>.</p>
<p>Once downloaded, uncompress the file (double click in Finder).  Safari may unzip it automatically for you.</p>
<p>From a Terminal, <code>cd</code> to the unzipped folder (if downloaded from Safari, by default it will be in <code>~/Downloads</code>).</p>
<blockquote><p><code>cd ~/Downloads/restartafp</code></p></blockquote>
<p>Now, type the following.  Note that you need to be logged in as an administrator, and you will be asked for the administrator password in order to do the first operation.</p>
<blockquote><p><code>sudo mkdir \<br />
/Library/Logs/CrashReporter/DirectoryService<br />
sudo cp com.curmi.restartafp.plist \<br />
/Library/LaunchDaemons/<br />
sudo cp restartafpondscrash.sh \<br />
/usr/local/bin/<br />
sudo chmod a+x \<br />
/usr/local/bin/restartafpondscrash.sh<br />
sudo launchctl load \<br />
/Library/LaunchDaemons/com.curmi.restartafp.plist<br />
</code></p></blockquote>
<p>To test this is working, you can do the following, and check <code>/var/logs/system.log</code> to see if it mentions the restart.</p>
<blockquote><p><code>sudo touch \<br />
/Library/Logs/CrashReporter/DirectoryService_trigger.crash<br />
</code></p></blockquote>
<p>If for some reason you want to uninstall, run the following commands from the Terminal.</p>
<blockquote><p><code>sudo launchctl unload \<br />
/Library/LaunchDaemons/com.curmi.restartafp.plist<br />
sudo rm \<br />
/Library/LaunchDaemons/com.curmi.restartafp.plist<br />
sudo rm /usr/local/bin/restartafpondscrash.sh<br />
sudo mv \<br />
/Library/Logs/CrashReporter/DirectoryService/* \<br />
/Library/Logs/CrashReporter<br />
sudo rmdir \<br />
/Library/Logs/CrashReporter/DirectoryService<br />
</code></p></blockquote>
<p>I hope this is useful to others out there.  I&#8217;ve filed this bug with apple (radar bug report number 5836741), and I hope Apple fixes it soon.</p>
<p>The fix I&#8217;m currently trialling was listed <a href="http://discussions.apple.com/thread.jspa?threadID=1251475&#038;tstart=0">here</a>, and suggests that rather than doing:</p>
<blockquote><p><code>serveradmin stop afp<br />
serveradmin start afp<br />
</code></p></blockquote>
<p>in the script, we do:</p>
<blockquote><p><code>serveradmin settings afp:authenticationMode = "standard"<br />
serveradmin settings afp:authenticationMode = "standard_and_kerberos"</code></p></blockquote>
<p>I&#8217;ve tested this and it didn&#8217;t seem to work, but I&#8217;ll try it again just in case.  I&#8217;m sure DirectoryService will crash on us sometime tomorrow to confirm if the fix works or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://curmi.com/blog/2008/04/08/leopard-server-and-directoryservice-crashes/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

