<?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>Conceptric &#187; Mac User</title>
	<atom:link href="http://www.conceptric.co.uk/tag/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.conceptric.co.uk</link>
	<description>Ideas and Applications</description>
	<lastBuildDate>Fri, 12 Aug 2011 13:00:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My turn with the Apple iPad</title>
		<link>http://www.conceptric.co.uk/my-turn-with-the-apple-ipad.htm</link>
		<comments>http://www.conceptric.co.uk/my-turn-with-the-apple-ipad.htm#comments</comments>
		<pubDate>Thu, 11 Feb 2010 20:51:56 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Mac User]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[HCI]]></category>
		<category><![CDATA[ipad]]></category>

		<guid isPermaLink="false">http://www.conceptric.co.uk/?p=334</guid>
		<description><![CDATA[Everyone else has had a go, so it&#8217;s my turn to give my impressions of the Apple iPad. I believe that the future is about Human&#8211;Computer Interaction (HCI) or it&#8217;s non-computing equivalent, making continually more complex functionality simple enough for everyone to use, and I think that Apple are of the same mind.]]></description>
			<content:encoded><![CDATA[<p>The iPod Touch has become my primary platform for consuming RSS feeds, financial data and email, I love the immediacy, being able to access these things at the press of a button with no bootup. Despite this my first reaction to the iPad was not for myself, but that it&rsquo;s the computing platform of my Mother&rsquo;s dreams, not that she thinks much about computing, but that&rsquo;s probably because the iPad doesn&rsquo;t exist yet.</p>

<p>The main limitation on my iPod use is the small size of the display at 480&#215;320 pixels. It makes reading complex documents hard on the eyes, I doubt that my Mum&rsquo;s eyesight could cope with the iPod at all, but scale the display up to the iPad &#8212; 1024&#215;768 pixels &#8212; and the story might be very different. It&rsquo;s probably no mistake that this resolution matches a long established web design standard size, an indication that the App Store isn&rsquo;t the only way to get content onto the platform.</p>

<p>Web applications can be docked on the Home screen in the same way as Apps, and open the way to a graphically richer experience even without Flash. It also allows closer integration with proprietary database applications on private networks, I guess they&rsquo;ll need redesigning to be less dependent upon IE6, but even Microsoft would be in favour of that!</p>

<p>We sometimes lose sight of the fact that this restricted platform isn&rsquo;t aimed at us geeks. We want to customise everything about our desktop environment, and if that&rsquo;s you want take a look at Linux. In my opinion it&rsquo;s flexibility has kept Linux from many desktops. I&rsquo;ve personally been asked to replace perfectly good Linux installations with Windows because it&rsquo;s unfamiliar and looks really complicated.</p>

<p>This platform is aimed at the often insignificant majority of people that aren&rsquo;t like us. They just want a simple to use system that works without any special incantations or sacrificing animals at a full moon. Give them a wide range of applications that are stupidly easy to install and an internet connection that doesn&rsquo;t need fettling and they&rsquo;ll be happy, and why not.</p>

<p>On the geeky side, the iPhone OS can&rsquo;t multi-task and some don&rsquo;t like the fact. As a seasoned iPod Touch user, I&rsquo;ve found that the single app life can have advantages, it enforces simplicity and robustness in the platform and the user&rsquo;s activities.</p>

<p>The fact that I can&rsquo;t open everything at once means that I focus more closely on the task, or the feed, at hand: we could probably all do with more of that. Neither can I have all the usual junk running in the background like it does on my laptop, reducing a quick machine to a crawl. Truly mobile machines need to conserve power and rarely have the extra resources to waste, opting for a single application environment allows modest processors to run like lightning&#8230; <a href="http://daringfireball.net/2010/01/ipad_big_picture">apparently</a>.</p>

<p>Whilst listening to the conversation about the iPad on <a href="http://5by5.tv/devshow/2">the Dev Show from 5by5</a> it seems that those in the medical profession won&rsquo;t like the on-screen keyboard of the iPad. Personally I think the iPhone implementation is very slick, but I wouldn&rsquo;t want to use it for an essay.</p>

<p>Anyhow it transpires that Doctors generally prefer to dictate notes. This could be a driver for another interesting interface: the ability to dictate into text files, the Mac already has limited voice recognition functionality and I believe the <a href="http://www.apple.com/uk/ipad/specs/">iPad specifications </a>include both a microphone and bluetooth.</p>

<p>Dan Benjamin said that he sees the iPad as a platform for content manipulation not creation, and he&rsquo;s right. You can&rsquo;t code software on it, or edit images, or even write a book, but you can consume all of these. I can see myself having an iPad to carry on where my iPod Touch leaves off&#8230; but not for a couple of iterations, let them fix the bugs first.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/my-turn-with-the-apple-ipad.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another Snow Leopard upgrade story</title>
		<link>http://www.conceptric.co.uk/another-snow-leopard-upgrade-story.htm</link>
		<comments>http://www.conceptric.co.uk/another-snow-leopard-upgrade-story.htm#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:26:49 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Mac User]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.conceptric.co.uk/?p=308</guid>
		<description><![CDATA[The time had come to upgrade our MacBook Pros to Snow Leopard. Not wishing to break my partner's laptop, I decided to see if the upgrade route would work using my machine as a testbed. Would I live to regret it...]]></description>
			<content:encoded><![CDATA[<p>It may be that I&#8217;m a little paranoid, but I spent a full half day updating backups and two separate, and tested, clones of my main drive partition using <a href="http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html">SuperDuper</a>.</p>

<p>This complete, I pushed the Mac OS X Snow Leopard Family Pack upgrade disc into the drive, and after a quick read, I&#8217;d signed away my life to Apple, pressed the install button, and found something else to do for the next hour.</p>

<p>I&#8217;d checked that all my key applications were compliant with Snow Leopard before I started, so the mainstream upgrade process was pretty painless: very promising for my chances of surviving my next upgrade.</p>

<p>I also remembered to install Xcode and the developer tools, vital for the next step.</p>

<h3>The Pain of the Developer.</h3>

<p>The problems started with the developer environment I&#8217;ve become accustom to using: PHP and Ruby. I started to wonder whether a clean install might have been a better idea.</p>

<p>I&#8217;m happy using the bundled Apache and PHP at the moment; these have been upgraded to versions 2.2.11 and 5.3 respectively, so there&#8217;s no major drama until they need to connect to MySQL.</p>

<p>Conversely, I prefer to build the majority of my tools from source in the <code>/usr/local</code> directory: MySQL, Ruby, RubyGems and Git.</p>

<p>Dan Benjamin has a <a href="http://hivelogic.com/categories/software">great set of posts to help you</a> do this, but he starts with a clean install, and if you&#8217;re upgrading it might not go so smoothly. Here are a few pointers gleaned from the Web and personal experience.</p>

<h3>A new MySQL build.</h3>

<p>I&#8217;ve been using version 5.0.51a for a while and decided to upgrade to 5.1.39 as part of the whole process. The first step was to create a dumpfile of the old database to upload into the new version:</p>

<p><code class="terminal">mysqldump --opt -uroot -p --all-databases > currentdatabasedump.sql</code></p>

<p>In my experience, following <a href="http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/">Dan&#8217;s instructions</a> gives great results, but I install each version into its own directory and symbolic link the one I want to use:</p>

<p><code class="terminal">lrwxr-xr-x    1 root  wheel    12 28 Oct 16:05 mysql -> mysql-5.1.39
drwxr-xr-x   12 root  wheel   408 28 Oct 13:24 mysql-5.0.51a
drwxr-xr-x   10 root  wheel   340 28 Oct 16:07 mysql-5.1.39
</code></p>

<p>Now to load the old databases into the new management system, so I logged in as root:</p>

<p><code class="terminal">mysql -uroot</code></p>

<p>notice there&#8217;s no password yet, and from the mysql command line I loaded the contents of the dumpfile:</p>

<p><code class="terminal">source path/to/dumpfile/currentdatabasedump.sql;</code></p>

<p>Finally, the databases need to be checked for incompatibilities and upgraded:</p>

<p><code class="terminal">mysql_upgrade</code></p>

<p>and the database was acting like the old one, with the expected users and passwords assigned.</p>

<h4>Why PHP still can&#8217;t use MySQL.</h4>

<p>Snow Leopard doesn&#8217;t come with a <code>php.ini</code> file, so I copied <code>/etc/php.ini.default</code>  to <code>/etc/php.ini</code>, but this file still needed a little modification to work with MySQL.</p>

<p>I changed all the occurrences of <code>/var/mysql/mysql.sock</code> to <code>/tmp/mysql.sock</code>, restarted Apache and my local WordPress installations were back in action, but MediaWiki wasn&#8217;t.</p>

<p>At this point the irony of having my troubleshooting notes in the form of a local wiki struck home, fortunately an upgrade to MediaWiki version 1.15.1 solved the problem.</p>

<h3>Building Ruby, Rails and Gems.</h3>

<p>I based my attempt on <a href="http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/">Dan&#8217;s instructions</a>, and this time I was greeted by a series of <code>make</code> errors from <code>readline</code>.</p>

<p><a href="http://blog.robseaman.com/2008/12/10/from-ruby-1-8-6-to-1-87-and-back-again-on-leopard">Rob Seaman sums them up nicely</a> and making the suggested adjustments to <code>config.h</code> allowed me to complete the installation.</p>

<p>I also tried to uninstall <code>readline</code>, but this only resulted in more errors, so pragmatically I upgraded to <code>readline 6.0</code>, and stuck to with the file modifications; must solve this problem one day&#8230;</p>

<p>Back to Dan for RubyGems, and installing the MySQL gem, and the first leg of the job was complete.</p>

<h4>Rebuilding all the other gems.</h4>

<p>Time to upgrade every gem, and <code>gem update</code> won&#8217;t do the job, they all need to be reinstalled. I picked up this handy line of Ruby code that can be run in <code>irb</code> from <a href="http://blog.costan.us/2009/07/rebuild-your-ruby-gems-if-you-update-to.html">Victor Costan&#8217;s blog</a>:</p>

<p><code class="terminal"><code>gem list</code>.each_line {|line| system "sudo gem install #{line.split.first}"}</code></p>

<p>It executes the <code>gem install</code> command for every gem on your existing local list, and it was at this point that I noticed that the arrow keys were behaving strangely in <code>irb</code>.</p>

<p>It turns out that the <code>readline</code> extension isn&#8217;t installed along with the rest of Ruby:</p>

<p><code class="terminal">cd /usr/local/src/ruby-1.8.7-p174/ext/readline
ruby extconf.rb
make
sudo make install
</code></p>

<p>should fix the problem.</p>

<h4>The fly in the ointment.</h4>

<p>Everything was going great, but whilst building the Nokogiri gem I ran into more errors. As <a href="http://rogerneel.posterous.com/snow-leopard-rails-headaches">Roger Neel worked out</a>, I also tracked the problem to MacPorts, and the thing is that I can&#8217;t remember why it&#8217;s installed in the first place! So I took a risk, cloned first of course, and removed all traces of MacPorts:</p>

<p><code class="terminal">sudo port -f uninstall installed</code></p>

<p>No good, MacPorts was too broken to uninstall itself, so next I took the direct approach:</p>

<p><code class="terminal">sudo rm -rf /opt/local \
/Applications/MacPorts \
/Applications/DarwinPorts \
/Library/Tcl/macports1.0 \
/Library/Tcl/darwinports1.0 \
/Library/LaunchDaemons/org.macports.* \
/Library/StartupItems/DarwinPortsStartup \
/Library/Receipts/MacPorts<em>.pkg \
/Library/Receipts/DarwinPorts</em>.pkg \
~/.macports
</code></p>

<p>Gone, and with it the Nokogiri compilation errors, I can&#8217;t help wondering whether I&#8217;ll regret this step later&#8230; when I figure out why I installed it in the first place.</p>

<h4>Building and installing Passenger.</h4>

<p>Like all the gems, Passenger needs to be rebuilt using the new <code>gcc</code> compiler bundled with Xcode. My original Passenger configuration file disappeared from the <code>/etc/apache2/other</code> directory during the upgrade, so I made a new one:</p>

<p><code class="terminal">-r--r--r--  1 root  wheel   73 18 May 20:44 bonjour.conf
-rw-r--r--  1 root  wheel  287 28 Oct 20:06 passenger.conf
-r--r--r--  1 root  wheel  194 18 May 20:44 php5.conf
</code></p>

<p>This file contains the configuration instructions given at the end of the Passenger installation invoked by:</p>

<p><code class="terminal">passenger-install-apache2-module</code></p>

<h3>And Git.</h3>

<p>Followed <a href="http://hivelogic.com/articles/compiling-git-on-snow-leopard/">Dan&#8217;s recommendations</a> and there were no problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/another-snow-leopard-upgrade-story.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First impressions of MarsEdit</title>
		<link>http://www.conceptric.co.uk/first-impressions-of-marsedit.htm</link>
		<comments>http://www.conceptric.co.uk/first-impressions-of-marsedit.htm#comments</comments>
		<pubDate>Thu, 10 Apr 2008 15:56:39 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Mac User]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[marsedit]]></category>

		<guid isPermaLink="false">http://www.jameswhinfrey.co.uk/?p=39</guid>
		<description><![CDATA[I&#8217;m writing on the 30 day trial of MarsEdit, the blog editing tool for the Mac. Given that this is my second post of the day &#8212; very rare, I know &#8212; you might have gathered that I like it. I&#8217;ve always edited my online content remotely, I have a local copy and can work [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing on the <a href="http://www.red-sweater.com/marsedit/">30 day trial of MarsEdit</a>, the blog editing tool for the Mac.  Given that this is my second post of the day &#8212; very rare, I know &#8212; you might have gathered that I like it.</p>

<p>I&#8217;ve always edited my online content remotely, I have a local copy and can work off&#8211;line. I use <a href="http://macromates.com/">TextMate</a> for most of my development work and I&#8217;ve been using it for blogging too.</p>

<p>OK&#8230; I was reluctant to change. I like having full control over mark&#8211;up and haven&#8217;t been impressed by a <acronym title="What You See Is What You Get">WYSIWYG</acronym> editor yet, for Web use at least. Untried, I ranked MarsEdit amongst them.</p>

<p>I must apologise to the developers. It&#8217;s a great and flexible tool. Hope I&#8217;ll be doing a little more blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/first-impressions-of-marsedit.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

