<?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>let x=x &#187; macintosh</title>
	<atom:link href="http://www.crazymcphee.net/x/tag/macintosh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crazymcphee.net/x</link>
	<description>programming idiom and methodology</description>
	<lastBuildDate>Tue, 13 Jul 2010 21:56:44 +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>Evernote.com as a tool for scholarly research</title>
		<link>http://www.crazymcphee.net/x/2010/06/27/evernote-com-as-a-tool-for-scholarly-research/</link>
		<comments>http://www.crazymcphee.net/x/2010/06/27/evernote-com-as-a-tool-for-scholarly-research/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 12:25:00 +0000</pubDate>
		<dc:creator>Scot Mcphee</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[endnote]]></category>
		<category><![CDATA[evernote]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[research tools]]></category>
		<category><![CDATA[scholarly research]]></category>

		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=566</guid>
		<description><![CDATA[I&#8217;ve recently started to use the software Evernote to help organise the morass of notes I&#8217;m wading around in while doing my M.A. thesis (I am not doing a Master&#8217;s degree in any comp.sci related area &#8211; it&#8217;s a Masters of Arts in Ancient History, and my thesis is on an aspect of the Roman [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started to use the software <a href="http://www.evernote.com/">Evernote</a> to help organise the morass of notes I&#8217;m wading around in while doing my M.A. thesis (I am not doing a Master&#8217;s degree in any <em>comp.sci</em> related area &#8211; it&#8217;s a Masters of Arts in Ancient History, and my thesis is on an aspect of the Roman historian Livy&#8217;s writing). Evernote actually uploads the information placed in the Mac client to the web site (this afternoon I purchased an upgraded account to get more upload capacity). It has clients for Mac, Windows, iPhone/iPad, etc. However apart from backup, this is not really a feature I need for my thesis, although it might be useful to organise my life as a professional programmer.</p>
<p>This is used in conjunction with <a href="http://www.endnote.com/">Endnote</a> (my university supplies me a free licence) to manage my references and bibliography in the actual chapters I write (so far, one down, two to go!). Endnote must be used to manage the referencing and bibliography separately: most of the databases export the relevant reference import data for Endnote. You can also search the Library of Congress to get complete information for books that you need in your bibliography. Better than typing it all in by hand! Endnote will also handle reformatting the referencing method used (if you find the guidelines are different) and its creates a bibliography automatically out of everything you reference.</p>
<p>Back in Evernote, I drag all the PDFs of journal articles that I download from the various scholarly databases I search into Evernote, then I tag them with relevant information.  This gives me s searchable database of relevant articles. Then for each article, and for each book or other non-PDF source, I write up a set of notes into my word processor, and export that note as a PDF file. These finished notes are then imported into Evernote and I tag them with relevant information which helps me find related ideas among notes.</p>
<p>There are a few features that I think Evernote needs to have to be a fully successful scholarly research tool. I&#8217;d love to be able to directly cross-reference two notes directly, rather than indirectly via tags. Maybe even an ability to attach a note to the cross-reference, that would be super-cool, that way I could describe the nature of the linkage of ideas.  Fully notated cross-referencing is necessary for me because scholarly research doesn&#8217;t occur in a flat, one or two dimensional &#8216;tagged&#8217; space. Tagging only gets you so far.</p>
<p>Speaking of tags, its tagging needs to be properly hierarchical. You can give tags sub-tags, true enough. However if you add the leaf tag to an article, the parent tag is not automatically also available. So you might have a tag Rome, which has a sub-tag, Republic, but if you add a note to the Republic tag, it doesn&#8217;t appear when you select the Rome tag. Which is a bit silly.</p>
<p>Another great feature would be an ability to do the tasks of Endnote. Failing that (it is pretty specialised), a way for it to co-operate with Endnote, e.g by linking notes in Evernote to bibliography entries in Endnote, would be totally awesome, but quite unexpected.</p>
<p>Also there is a small bug which means while reading a PDF in Evernote it doesn&#8217;t seem to obey the page up / page down or arrow keys which is a little annoying &#8211; you have to use the mouse, or double click to open the PDF in Apple Preview.</p>
<p>But overall a relatively satisfying experience so far.</p>
<blockquote><p><strong>UPDATE 28 June 2010</strong>: Via Google Buzz, my friend <a href="http://www.google.com/profiles/aliasfreq">Shannon O&#8217;Neill</a> put me onto the Mac program <strong><em>Papers</em></strong> &#8211; <a href="http://mekentosj.com/papers/">http://mekentosj.com/papers/</a> &#8230; I just had a quick look at it tonight. it certainly has some potential. With a bit of coaxing I had it authenticate against my university&#8217;s EZproxy and thence searching and downloading journal articles straight from JSTOR (online database).</p>
<p>There is no way to make synthetic notes that link different journal papers, though, which is a pity. Also the notes window is a little cramped, which is a pity.</p>
<p>I also imported my Endnote database and it could then retrieve at least some of the article PDFs so-referenced from JSTOR and other sources. However it did think that the couple of anthology articles I had in Endnote were in &#8216;journals&#8217; but worse than that it also lists the anthology editor(s) as one of the paper&#8217;s editors. Oops. But all in all it turns out it might be useful tip. Anything to keep me from <em>writing</em> &#8211; I can now spend days if not weeks fiddling with bibliographic databases instead!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.crazymcphee.net/x/2010/06/27/evernote-com-as-a-tool-for-scholarly-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Oracle XE on Mac OSX using virtualised JeOS</title>
		<link>http://www.crazymcphee.net/x/2009/08/27/oracle-xe-on-mac-osx/</link>
		<comments>http://www.crazymcphee.net/x/2009/08/27/oracle-xe-on-mac-osx/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 06:30:20 +0000</pubDate>
		<dc:creator>Scot Mcphee</dc:creator>
				<category><![CDATA[infrastructure and frameworks]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[tools and techniques]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[oracle-xe]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=462</guid>
		<description><![CDATA[So Oracle in its wisdom doesn&#8217;t have Mac OSX version of its free database. This is of course really annoying to Mac users who need to develop systems that use Oracle databases &#8211; Oracle XE is a great little database especially for development environments. Recently I found myself in a situation where I would be [...]]]></description>
			<content:encoded><![CDATA[<p>So Oracle in its wisdom doesn&#8217;t have Mac OSX version of its free database. This is of course really annoying to Mac users who need to develop systems that use Oracle databases &#8211; Oracle XE is a great little database especially for development environments. Recently I found myself in a situation where I would be needing to bind a Hibernate object to a PL/SQL function in the target Oracle database rather than a table or view per se. As the function call is database specific, when developing the application I needed to use an Oracle database and could use e.g. HSQL or MySql as a substitute Oracle DB for development purposes. Oracle XE is a great way out here because it fully supports PL/SQL packages and functions and procedures.</p>
<p>I was off the client site so I couldn&#8217;t rely on a fast connection to their development databases. I just wrote a dummy function that was called the same as the real function with the same input and output parameters and instead of the complex function body it just wrapped a simple mock table of test data. Problem solved, Oracle XE to the rescue. But first you have get Oracle XE running on your Mac, this is what the rest of this article is about, because you can&#8217;t just download an Oracle XE edition for the Macintosh.</p>
<h3>Virtualisation is great &#8211; use a Linux VM</h3>
<p>However modern Virtualisation is your saviour. Put simply, you can use a virtualisation tool like Parallels, or my choice, VMWare Fusion, to run a virtualised version of Linux that contains the Oracle XE instance.</p>
<p>Because VMs can waste a bit of your local resources, luckily there is a specialised version of Ubuntu designed for running as a virtualised machine of this type. Its called JeOS (pron. <em>Juice</em>, apparently). It doesn&#8217;t have an X-window environment, just the shell, so it&#8217;s pretty lightweight and can run, with Oracle XE, in less than 512MB of memory. Perfect for getting a copy of Oracle XE onto your Macbook Pro.</p>
<p>It will however, eat up a couple of gigabytes of disk space, up to the maximum limit you choose for your disk size in the VMWare configuration. However it will only use the current amount of disk needed, as VMWare will expand the size of the image as needed (I&#8217;ll just assume that Parallels does something similar).</p>
<h3>Setting it up &#8211; basic instructions</h3>
<p><a href="http://tedwise.com/2008/10/03/running-oracle-for-development-on-the-mac/">This page here</a> &#8211; has a great set of instructions for getting JeOS installed and configured with Oracle XE on it. Follow the instructions there <em>exactly</em> &#8211; but only to the point where you install and configure Oracle XE &#8211; don&#8217;t go further than that.</p>
<p>Make sure you configure plenty of swap space as outlined in the instructions.</p>
<blockquote>
<h3>Setting it up on standard Ubuntu/Debian</h3>
<p>If you are running a full Ubuntu or other Debian based instance, the instructions are somewhat simpler. Install it as per normal in your VM. But make sure your swap space is twice the memory you have assigned to the VM! Oracle XE demands things to be like that.</p>
<p>Add</p>
<pre>deb http://oss.oracle.com/debian unstable main non-free</pre>
<p>to /etc/apt/sources.list and then:</p>
<pre>$ wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle  -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install oracle-xe</pre>
<p>These instructions were cribbed from <a href="http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html">here</a>.</p></blockquote>
<h3>After installing and configuring Oracle XE</h3>
<p>After you run the XE configuration (&#8216;$&#8217; represents the Unix shell prompt and should not be typed);</p>
<pre>$ sudo /etc/init.d/oracle-xe configure</pre>
<p>If you&#8217;re running on JeOS don&#8217;t yet make the machine &#8220;headless&#8221;! Or you might find there are issues with the &#8220;Apex&#8221; application. The problem is that the Apex application, which is a useful web-based administration program for Oracle XE (especially for developers who don&#8217;t want to be forced to use sqlplus for all their database administration), will only allow connections from localhost &#8211; and you don&#8217;t have X-window, or a browser, to access it (I don&#8217;t know if lynx will work with Apex and I wasn&#8217;t going to try).</p>
<h3>Get SSH installed</h3>
<p>First get SSH installed in JeOS so you can get to the command prompt remotely:</p>
<pre>$ sudo apt-get install ssh</pre>
<h3>Find out the VM&#8217;s IP address</h3>
<p>Now, if you type <em>ifconfig</em> (<em>/sbin/ifconfig</em> if that&#8217;s not found on your path) you will be able to determine the IP address of your VM running on your Macintosh. At this point you can connect to the VM using ssh from a Macintosh terminal window:</p>
<pre>$ ssh username@ip_address</pre>
<p>Actually, at this point you can go ahead and make the machine headless, if you want. I would recommend not to do that until you&#8217;re sure of everything you&#8217;ve configured.</p>
<h3>Configure environment to run sqlplus</h3>
<p>After you&#8217;ve logged back into the running Linux VM using ssh from the Mac Terminal, the next thing is you&#8217;ve got to get sqlplus access working to the XE instance you installed. Funnily enough, although the .deb file that is installed off the Oracle site creates an oracle user, it doesn&#8217;t in any way set that user up so you can use the command line tools. SO you can&#8217;t just su &#8211; oracle and get a functional environment.</p>
<p>Anyway, you will need to do two things to your environment; add the <em>ORACLE_HOME</em> environment variable and set up your <em>PATH</em> so it can find <em>sqlplus</em>.</p>
<pre>$ export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
$ export PATH=${PATH}:${ORACLE_HOME}/bin</pre>
<p>You should add these two lines to your <em>.profile</em> or <em>.bash_profile</em> file &#8211; probably best for the &#8216;oracle&#8217; user that the installation will have created. But you can actually set this up for any regular user that you configure in this VM. You can also just type them at the command line to get them in your current environment, if you have to.</p>
<h3>Configure Apex to accept non-localhost connections</h3>
<p>The web-based administration software for XE, called &#8220;APEX&#8221;, only binds to <em>localhost</em>. This is a big hassle if your VM copy of Linux (like JeOS) doesn&#8217;t have a GUI, because you don&#8217;t have a browser (lynx/links excluded, I did not try those!).  However, you can make Apex bind to the &#8220;external&#8221; IP address for your VM, but you&#8217;ll need to use <em>sqlplus</em>.</p>
<p>To run <em>sqlplus</em>, do the following:</p>
<pre>$ sqlplus system@XE
  Enter password:</pre>
<p>Enter the password you specified at the &#8216;oracle-xe configure&#8217; step above.</p>
<p>At the SQL prompt, enter the following command:</p>
<pre>SQL&gt; EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);</pre>
<p>Now you&#8217;ll have to stop and start Oracle to make the configuration active:</p>
<pre>$ sudo /etc/init.d/oracle-xe restart</pre>
<p>After which, if you type</p>
<pre>$ netstat -tna</pre>
<p>You should find a line</p>
<pre>tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN</pre>
<p>This indicates a process is listening to the port 8080 on all IP addresses for connections coming from any other IP address. Assuming you specified port 8080 at the &#8216;oracle-xe configure&#8217; step. Sometimes I use 8888 especially if I have a Tomcat instance in the same VM, as Tomcat will also like to run on 8080 and I&#8217;d prefer it if it did.</p>
<h3>Test and use Apex</h3>
<p>Test this connection in your browser, in my case, the address was 10.1.2.17, but you will have to substitute your own VM&#8217;s IP address &#8211; <em>http://10.1.2.17:8080/apex</em>. I like to make an /etc/hosts entry that points to this address as &#8216;oracleXE&#8217;. That way I can use a symbolic name in my jdbc connection strings and actually switch which instance of XE I am using depending which VM I&#8217;ve fired up without editing the jdbc configuration of the application under development &#8211; I just change the /etc/hosts entry instead.</p>
<p>Anyway once you connect to apex you can login using the user name and password you set up during your XE install and configuration process (same as you used for <em>sqlplus</em>). The users will be sys and system, you can use them to create new users to contain your databases for development.</p>
<p>The same IP address as above will be used to connect to your Oracle database from the programs you are developing. The default port should be 1521 and the SID should be XE.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazymcphee.net/x/2009/08/27/oracle-xe-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla Thunderbird as alternative to Mac Mail.app</title>
		<link>http://www.crazymcphee.net/x/2009/08/13/mozilla-thunderbird-as-alternative-to-mac-mail-app-road-test/</link>
		<comments>http://www.crazymcphee.net/x/2009/08/13/mozilla-thunderbird-as-alternative-to-mac-mail-app-road-test/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 02:03:07 +0000</pubDate>
		<dc:creator>Scot Mcphee</dc:creator>
				<category><![CDATA[rants]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mac software]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mail.app]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=434</guid>
		<description><![CDATA[This morning my Mac&#8217;s Mail.app actually ate two emails I wrote and didn&#8217;t send them or save them in my &#8216;Drafts&#8217; folder. Data loss is unacceptable, so I searched for an alternative. It seems the best alternative on offer is Thunderbird, which I used to use in my Windows and Linux days. Thunderbird 2 doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>This morning my Mac&#8217;s Mail.app actually ate two emails I wrote and didn&#8217;t send them or save them in my &#8216;Drafts&#8217; folder. Data loss is unacceptable, so I searched for an alternative. It seems the best alternative on offer is Thunderbird, which I used to use in my Windows and Linux days.</p>
<p>Thunderbird 2 doesn&#8217;t integrate with the Macintosh Address Book, so that rules it out straight away, had to go straight to Thunderbird 3 beta. I got the latest, beta 3, released in July.</p>
<p>After about 5 minutes with Thunderbird 3 beta I was telling it to <em>go fsck itself</em>. Here&#8217;s why:</p>
<ol>
<li>Installing Thunderbird 3 &#8211; what&#8217;s with the &#8220;@googlemail.com&#8217; for Gmail? I use &#8216;@gmail.com&#8217; and always have and always will. That&#8217;s the option I want. Oh sweet lord, it will force me to use @googlemail.com &#8211; that&#8217;s a <em>disaster</em> right there. Can be edited later, however, I discover. But still.</li>
<li>Thunderbird 3  &#8220;integrates&#8221; with the Mac address book, which is to say it will pull addresses from it, but it does this through it&#8217;s own horrible, horrible, interface. Bad Mozilla! I want to use &#8211; at all times &#8211; the Apple &#8216;Calendar.app&#8217; and &#8216;Address Book.app&#8217;, OK? Their user interfaces. Not yours.</li>
<li>I got some mail with pictures in it. I can view the pictures by selecting &#8220;view external content&#8221; button for this one email. If I select the &#8220;always view external content for xxxx&#8221; it wants to add the sender to the address book (it&#8217;s internal address book). <em>No Mozilla</em>, that&#8217;s not what I&#8217;m asking for. I just want the graphics for that newsletter I get sent to be shown without me pressing extra buttons every time I get this newsletter. I don&#8217;t <em>want</em> their address in my address book!</li>
<li><em>Arrrrgh! My eyes!</em> Jesus it&#8217;s ugly. And clunky. It feels like Windows all over again. Good lord. I can&#8217;t find any way to change the list display fonts. It&#8217;s probably in there somewhere, I will admit, but I can&#8217;t find it.</li>
<li>Every single folder, I have to individually select &#8220;view by thread&#8221;, as far as I can tell.</li>
<li>Search is an entirely separate window/dialogue. I can&#8217;t search more than one account at once. &#8220;Search Subfolders&#8221; at the top level includes Spam folder. There doesn&#8217;t seem to be a way to add a criteria that &#8220;Message is not spam&#8221;.</li>
<li>The terrible search function is the only basis for &#8220;Smart Folders&#8221; that I can find so far, therefore it won&#8217;t work for what I need. In Mail.app, I use three smart folders:
<ol>
<li> All unread mail in <em>any</em> account or sub-folder thereof</li>
<li>All mail in the <em>Inbox</em> of any of my three &#8220;personal&#8221; accounts, that is, mail directly addressed to me personally.</li>
<li>All mail in the <em>Inbox</em> of my work mail account.</li>
</ol>
</li>
<li>On the plus side, it does have good support for keyboard commands. I&#8217;m an old <em>mutt</em> user (before that, <em>elm</em>) so I love keyboard commands in my mail program. Mail.app has rubbish support for this.</li>
<li>Also on the plus side, Thunderbird&#8217;s threading display is a little clearer. Mail.app just puts all messages in a thread under the one hierarchy, you don&#8217;t get any sense of what message is a reply to which.</li>
</ol>
<p>OK  Apple Mail.app lost some sent mail  <em>once</em> in the middle of a godawful crash (but a crash nonetheless), and I&#8217;ve always hated its horrible keyboard support. However maybe I am willing to take those risks and annoyances  if <em>this</em> is the alternative experience. I know that Mozilla is open source, and full of all that open sorcery goodness, but I live and die via my email program, right after my IDE, and I want a pretty nice experience with it. Thus, I&#8217;m now in a bind &#8211; use a program that just proved to me its data integrity is not 100%, or use a program that that just gives me a truly horrible user experience and wants to screw with my choice of Calendar and Address Book?</p>
<p>Mac email program suggestions in the comments if you like (and no, don&#8217;t suggest <em>Entourage</em>, it&#8217;s completely off the menu).</p>
<p><em>UPDATE</em>: I should mention that, for me, the deal killers are points 2, 6, and 7.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazymcphee.net/x/2009/08/13/mozilla-thunderbird-as-alternative-to-mac-mail-app-road-test/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgrading to Maven 2.1.0 on Macintosh OS X</title>
		<link>http://www.crazymcphee.net/x/2009/03/23/upgrading-to-maven-210-on-macintosh-os-x/</link>
		<comments>http://www.crazymcphee.net/x/2009/03/23/upgrading-to-maven-210-on-macintosh-os-x/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 02:43:30 +0000</pubDate>
		<dc:creator>Scot Mcphee</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[tools and techniques]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=265</guid>
		<description><![CDATA[Recently I found a Maven plugin that wouldn&#8217;t run under Maven version 2.0.6, and I had to upgrade it on my Macintosh. I quickly discovered the usual *nix upgrade (unpack, then update ${PATH}) didn&#8217;t seem to work, as the Macintosh OS X 10.5 comes with Maven pre-installed in /usr/share/ directory. Tip &#8211; I found where [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I found a Maven plugin that wouldn&#8217;t run under Maven version 2.0.6, and I had to upgrade it on my Macintosh. I quickly discovered the usual *nix upgrade (unpack, then update ${PATH}) didn&#8217;t seem to work, as the Macintosh OS X 10.5 comes with Maven pre-installed in /usr/share/ directory.</p>
<blockquote><p><strong><em>Tip</em></strong> &#8211; I found where it was installed with this simple series of *nix commands that should work on most Unix variants such as Linux, for anything on your ${PATH}, using the &#8216;which&#8217; command:</p>
<pre>CrazyMcphee:systems smcphee$ which mvn
/usr/bin/mvn
CrazyMcphee:systems smcphee$ ls -lrta /usr/bin/mvn
lrwxr-xr-x  1 root  wheel  24  9 Mar 22:50 /usr/bin/mvn -&gt; \
  /usr/share/maven/bin/mvn</pre>
</blockquote>
<p>Following the information on <a href="http://www.gridshore.nl/2008/01/28/upgrading-maven-on-the-mac/">this page</a> as a template, here&#8217;s the procedure I used to upgrade to the latest version at time of writing, Maven 2.1.0:</p>
<pre>CrazyMcphee:~ smcphee$ sudo su -
Password:
CrazyMcphee:~ root# cd /usr/share/
CrazyMcphee:share root# mv maven maven-2.0.6
CrazyMcphee:share root# cp -R \
/Users/smcphee/Development/systems/apache-maven-2.1.0/ \
maven-2.1.0
CrazyMcphee:share root# ln -s maven-2.1.0/ maven
CrazyMcphee:share root# exit
logout
CrazyMcphee:~ smcphee$ mvn -version
Apache Maven 2.1.0 (r755702; 2009-03-19 05:10:27+1000)
Java version: 1.5.0_16
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_AU, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"</pre>
<p>You&#8217;ll note I used a symlink for the &#8216;maven&#8217; directory to the &#8216;maven-2.1.0&#8242; directory (the command &#8216;ln -s maven-2.1.0/ maven&#8217; &#8230;). This is to allow me to quickly switch back to version 2.0.6 if I find any incompatibilities in my old POM files with the new version of Maven, by simply changing which directory the symlink points to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazymcphee.net/x/2009/03/23/upgrading-to-maven-210-on-macintosh-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Apple iPhoto 09 Flickr integration is bad, very bad</title>
		<link>http://www.crazymcphee.net/x/2009/02/27/apple-iphoto-09-flickr-integration-is-bad-very-bad/</link>
		<comments>http://www.crazymcphee.net/x/2009/02/27/apple-iphoto-09-flickr-integration-is-bad-very-bad/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 12:46:02 +0000</pubDate>
		<dc:creator>Scot Mcphee</dc:creator>
				<category><![CDATA[rants]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.crazymcphee.net/x/?p=205</guid>
		<description><![CDATA[I am very, very pissed off with Apple&#8217;s iPhoto to Flickr integration. It&#8217;s seriously broken software. Here are just some of the reasons why &#8211; interface and interaction designers please take note: Uploading photos in bulk does not preserve the order (any order) in the Flickr stream. So your photostream gets whack out of order. [...]]]></description>
			<content:encoded><![CDATA[<p>I am very, very pissed off with Apple&#8217;s iPhoto to Flickr integration. It&#8217;s seriously broken software. Here are just some of the reasons why &#8211; interface and interaction designers please take note:</p>
<ul>
<li>Uploading photos in bulk does not preserve the order (any order) in the Flickr stream. So your photostream gets whack out of order.</li>
<li>When you upload photos it assumes that whatever event, album, or smart album you&#8217;re currently viewing the photos in should be created as a Set on Flickr. Oh and if the event, album or smart album contains any &#8216;special&#8217; character that Flickr won&#8217;t like in a set name, it won&#8217;t do the upload and doesn&#8217;t tell you why not.</li>
<li>Deleting the spuriously created Flickr Album in iPhoto means the photos are removed from Flickr. After iPhoto tells you it won&#8217;t actually delete any photos! (it means from iPhoto, not Flickr).</li>
<li>I tried moving the photos to another Set using Flickr&#8217;s interface, and removing the now-empty spurious set. IPhoto then asked me if this remotely-removed set should be removed, when I answered yes, somehow iPhoto still managed to delete the previously-moved photos from Flickr.</li>
<li>Did I mention that iPhoto flakes the photostream order?</li>
</ul>
<p>Most of this will also probably apply to the Facebook plugin integration too. This is seriously poor software from Apple. It effectively lies to you about what it&#8217;s doing. Yet again proving that Apple doesn&#8217;t like to play nice with others. <em>Do not use the Apple-provided iPhoto to Flickr integration</em>. It&#8217;s stuffed.</p>
<p><em>[<strong>UPDATE</strong>. More information from a iPhoto-Flickr plugin author  here: <a href="http://speirs.org/2009/01/30/on-the-flickr-support-in-iphoto-09/">http://speirs.org/2009/01/30/on-the-flickr-support-in-iphoto-09/</a> ... ]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazymcphee.net/x/2009/02/27/apple-iphoto-09-flickr-integration-is-bad-very-bad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
