<?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>Alex Gant &#187; OS X</title>
	<atom:link href="http://www.alexgant.com/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alexgant.com</link>
	<description>New media specialist &#38; consultancy</description>
	<lastBuildDate>Mon, 26 Oct 2015 21:21:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>Random drive spinning with LaCie 2big Quadra</title>
		<link>http://www.alexgant.com/random-drive-spinning-with-lacie-2big-quadra/</link>
		<comments>http://www.alexgant.com/random-drive-spinning-with-lacie-2big-quadra/#comments</comments>
		<pubDate>Mon, 26 Oct 2015 21:20:21 +0000</pubDate>
		<dc:creator><![CDATA[alexgant]]></dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Digital Media]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[External hard disk]]></category>
		<category><![CDATA[LaCie]]></category>

		<guid isPermaLink="false">http://www.alexgant.com/?p=232</guid>
		<description><![CDATA[As I&#8217;m a geek, I take great pride in my home server &#8211; a 2012 Mac Mini. As I was fortunate enough to have built my own house, during the pre-build stage I painstakingly planned out my Cat6 cabling and had everything meet up in a dedicated &#8216;comms&#8217; area. Over the last couple of years <a href="http://www.alexgant.com/random-drive-spinning-with-lacie-2big-quadra/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As I&#8217;m a geek, I take great pride in my home server &#8211; a 2012 Mac Mini. As I was fortunate enough to have built my own house, during the pre-build stage I painstakingly planned out my Cat6 cabling and had everything meet up in a dedicated &#8216;comms&#8217; area. Over the last couple of years I&#8217;ve been gradually adding, tweaking and improving the comms area which now has a 5U cabinet containing the Mac Mini, a Draytek Vigor modem, Apple Airport Extreme base station and a 16 port switch.</p>
<p>The server itself is mainly used for file sharing and as a media server but the Mini&#8217;s achilles heel is it&#8217;s lack of internal storage. Although I&#8217;ve installed two WD Blue 1TB drives, one acts as a mirror of the other so I only have 1TB of storage.</p>
<p>Enter the LaCie 2big Quadra with it&#8217;s two 3TB drives arranged as a RAID 1 array. <span id="more-232"></span>Storage sorted for the foresable future. However, the LaCie proved to be a serious headache in terms of configuration. With the drive setup and LaCie Desktop Manager installed I set about copying my data on to the new disk in readiness for attaching it to the server. During the process though, the drive would frequently spin down while not is use. Then, when you click back onto the drive it needs to respin the disks. This continued even with the OS X Energy Saver system pref set to NOT Put hard disks to sleep when possible. Thinking it may be caused by Apple&#8217;s gradual slackening of support for Firewire (a technology they invented) I swapped to USB. As my iMac is getting a bit elderly now, it only has USB 2 but the 2big (like almost all USB devices) is backward compatible so no probs there. Not so. The drive still spun down at out times and then would spin up while the Mac was asleep!</p>
<p>I wondered if Apple was slackening support for USB 2 as well as Firewire so I tried the drive on the Mac Mini server that the LaCie drive had been bought for complete with its USB 3 ports. Same issue. Random spin downs while awake and spin ups when asleep.</p>
<p>After contacting LaCie support, I tried the drive on a 2012 iMac at work. On this Mac, the LaCie worked fine. Absolutely faultless. Weird. So, I tried it on a 2008 Mac Pro that we use at work as a fire server (and, like my 2009 iMac, only has USB 2). Again, it was perfect. I was starting to suspect that the drive just didn&#8217;t like my house! So, with one more Mac available, my 2013 MacBook Pro, I tried again. Faultless operation and this time in my house!</p>
<p>I started to wonder what the link between my 2009 iMac and my 2012 Mac Mini could be. The Mini was running Mountain Lion and the iMac Yosemite so it wasn&#8217;t an OS X issue (so I apologise Apple &#8211; maybe you&#8217;re support for Firewire and USB 2 isn&#8217;t as flaky as I thought). I wasn&#8217;t an interface issue as the thing had been proven to work on USB 3, Firewire 800 and USB 2 on the Macs at work so what was it?</p>
<p>Finally, I made the connection. I had installed LaCie Desktop Manager on both the 2009 iMac and the 2012 Mac Mini. Call  me stupid, but if software is bundled with a device, I kinda assume it&#8217;s going to work with the device! Apparently, with LaCie drives, installing the software essentially stops the hardware working correctly.</p>
<p>Once LDM was uninstalled the drive started working fine on both Macs. FWIW I went all out and trashed the app, a couple of plist files and a kernel extension (LaCieScsiType00.kext).</p>
<p>So far all seems well. I have just made another minor tweak. As per this article:</p>
<p><a href="https://discussions.apple.com/thread/6607988">https://discussions.apple.com/thread/6607988</a></p>
<p>I&#8217;ve just stopped Spotlight indexing the drive as I was getting sporadic drive ejections. Hopefully this will fix the issue completely. I&#8217;ll keep you posted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexgant.com/random-drive-spinning-with-lacie-2big-quadra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Serious Workstation</title>
		<link>http://www.alexgant.com/serious-workstation/</link>
		<comments>http://www.alexgant.com/serious-workstation/#comments</comments>
		<pubDate>Tue, 12 Mar 2013 22:42:31 +0000</pubDate>
		<dc:creator><![CDATA[alexgant]]></dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.alexgant.com/?p=207</guid>
		<description><![CDATA[I&#8217;ve recently been putting the finishing touches to my home work station. As my working week is split between an office in Norwich and my &#8216;Den&#8217; at home, my work station needs to be flexible enough to allow me to move between these locations quickly, easily and effectively. A laptop is central to this as, <a href="http://www.alexgant.com/serious-workstation/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-217" title="feature_workstation" src="http://www.alexgant.com/wp-content/uploads/feature_workstation1.jpg" alt="" width="620" height="200" /></p>
<p>I&#8217;ve recently been putting the finishing touches to my home work station. As my working week is split between an office in Norwich and my &#8216;Den&#8217; at home, my work station needs to be flexible enough to allow me to move between these locations quickly, easily and effectively. A laptop is central to this as, by default, it allows me to take my files, my work and my life with me. I&#8217;ve used Apple laptops for over a decade now and currently use a late 2011 15&#8243; MacBook Pro with a quad core 2.4ghz i7 processor. Initially, I was pretty disappointed with this machine. It came with OS X 10.7 &#8216;Lion&#8217; installed but this was quickly upgraded to 10.8 &#8216;Mountain Lion&#8217; which, at the time had just been released. Mountain Lion seemed to chug along painfully slowly and made the experience of using the MacBook feel a bit like a £1400 downgrade! <span id="more-207"></span>Things didn&#8217;t improve when the main board failed giving the laptop a very Windows-like blue screen of death. Repair was swift (and under warranty) by <a href="http://www.stormfront.co.uk/" target="_blank">Stormfront</a> &#8211; my local Mac reseller in Bury St. Edmunds but the lethargy in operation was still there. My research suggested that I/O seemed to be the biggest bottleneck with the pitiful 5400rpm hard drive the key offender. As Christmas approached I splashed out and bought a 512GB SSD drive for the Mac and also used the opportunity to upgrade it from the Apple-standard 4GB of RAM to the system max of 16GB. What an improvement. I have to say that this was the most impressive upgrade that I&#8217;ve ever performed on any computer. The MacBook was like a new (and very, very fast) machine with the phrase &#8216;new lease of life&#8217; not really doing it justice.</p>
<p>So, what was next? With the MacBook now performing as required, it was time to start utilising it better when working from home where my wife and I have a 2010 27&#8243; iMac. It&#8217;s probably overkill for listening to music on and sorting out our photos on Aperture so I needed to start making better use of it.</p>
<p>Unlike its&#8217; smaller 21.5&#8243; sibling the 27&#8243; iMac has a Mini Display Port socket that can handle input and output (the 21.5&#8243; can only handle Mini Display Port output). Input can only come from another Mini Display Port or (the newer) Thunderbolt sources. Although Apple do sell varying lengths of Thunderbolt cables, these could not be used to connect my MacBook Pro to my iMac as although the former does have a Thunderbolt connection, the latter can only handle Mini Display Port. Apple have never manufactured or sold their own Mini Display Port cables but both <a href="http://www.belkin.com/us/p/P-F2CD008" target="_blank">Belkin</a> and <a href="http://uk.startech.com/Cables/Audio-Video/DisplayPort/2-meter-White-Mini-DisplayPort-Cable-Male-to-Male~MDPMM2MW" target="_blank">StarTech</a> do manufacture a Mini Display Port male &#8211; Mini Display Port male cable so I opted for Belkin and made the purchase on Amazon.</p>
<p>When the cable arrived I hastily got the machines connected up and straight away, the iMac slipped in to Target Display Mode and my MacBook Pro suddenly had another 3,686,400 crisp and very bright pixels to play with. They were very bright too. Far too bright in fact with no way of reducing the iMac screen brightness.</p>
<p>According to <a href="http://support.apple.com/kb/HT3924" target="_blank">Apple&#8217;s documentation on Target Display Mode</a>, the iMac&#8217;s keyboard would be locked out while connected to the MacBook Pro with only the brightness, volume and other media keys remaining usable. In my case though the brightness controls definitely were not working. More research identified a well known bug (discussed in depth <a href="https://discussions.apple.com/thread/3138368" target="_blank">here</a>) with Mac OS X 10.6.8 (that my iMac was running) which had effectively stopped these control keys working while in Target Display Mode. I tried a couple of Apps (Shades and Brightness Slider respectively) but neither was suitable so it seemed the only other fix was to upgrade the iMac to Mountain Lion. This I duly did, enduring the immense 4.5GB download which zapped 45% of my monthly broadband bandwidth allocation (mental note, I must change my ISP) and (thank goodness) finally the brightness controls worked on the iMac and my arc eyes started to recede.</p>
<p>So, with the final addition being to plug in a USB keyboard to the MacBook Pro, the setup was complete. I used a full-size, wired Apple keyboard for this as these are really, really good keyboards. The key clicks seem more tactile on the wired version of the keyboard and make for a much nicer experience than the wireless equivalent in my opinion. After much tinkering and all of the various upgrades, I have to say, this is the best workstation setup I&#8217;ve ever used. The iMac&#8217;s stunning display becomes the main working screen with the laptop display available to dump screens on and refer back to. An added bonus is that the iMac itself is still running in the background while you&#8217;re using it in Target Display Mode so you can log on to it from your second machine and continue to use it for other tasks (video rendering, playing iTunes etc). Apple&#8217;s Screen Sharing facility makes this so simple and means you can jump back and forth between the iMac and MacBook Pro without even having to leave Target Display Mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexgant.com/serious-workstation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File Extensions</title>
		<link>http://www.alexgant.com/file-extensions/</link>
		<comments>http://www.alexgant.com/file-extensions/#comments</comments>
		<pubDate>Tue, 31 Jul 2012 14:07:20 +0000</pubDate>
		<dc:creator><![CDATA[alexgant]]></dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[file extensions]]></category>
		<category><![CDATA[iWork]]></category>
		<category><![CDATA[Keynote]]></category>
		<category><![CDATA[Numbers]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.alexgant.com/?p=154</guid>
		<description><![CDATA[Is it just me or does Apple&#8217;s iWork apps play silly beggars with file extensions? Whenever you save a document in Pages, Keynote or Numbers, the &#8216;Save&#8217; dialog box features a checkbox that allows you to &#8216;Hide extension&#8217;. Self explanatory and typical enough of Apple&#8217;s usual easy-to-use, easy-to-understand approach. However, this option seems to be <a href="http://www.alexgant.com/file-extensions/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Is it just me or does Apple&#8217;s iWork apps play silly beggars with file extensions? Whenever you save a document in Pages, Keynote or Numbers, the &#8216;Save&#8217; dialog box features a checkbox that allows you to &#8216;Hide extension&#8217;. Self explanatory and typical enough of Apple&#8217;s usual easy-to-use, easy-to-understand approach. However, this option seems to be an absolute law unto itself. I never check this box as it&#8217;s always been my preference to leave extensions switched on so that you can instantly see what type of file you are looking at. However, with the iWork apps file extensions seem to disappear even when you leave this option unchecked. It&#8217;s (seemingly) totally random too (believe me I&#8217;ve tried lots of tests) and I haven&#8217;t been able to find any information about it on Apple&#8217;s support forums.</p>
<p>Irritating at this is, it&#8217;s still preferable to Window&#8217;s nightmarish handling of file extensions with the display options squirreled away amongst a myriad of other ambiguous settings. Don&#8217;t believe me? Take a look at the comparison below!</p>
<p><img class="aligncenter size-full wp-image-153" title="file-extensions" src="http://www.alexgant.com/wp-content/uploads/file-extensions.jpg" alt="" width="800" height="956" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexgant.com/file-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a WordPress 3 Network (nee Multisite) on MAMP</title>
		<link>http://www.alexgant.com/setting-up-a-wordpress-3-network-nee-multisite-on-mamp/</link>
		<comments>http://www.alexgant.com/setting-up-a-wordpress-3-network-nee-multisite-on-mamp/#comments</comments>
		<pubDate>Tue, 22 May 2012 21:52:00 +0000</pubDate>
		<dc:creator><![CDATA[alexgant]]></dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[8888]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[mu]]></category>
		<category><![CDATA[multisite]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.alexgant.com/?p=95</guid>
		<description><![CDATA[I happened upon an interesting problem today whilst setting up WordPress 3.3.2 on MAMP. Essentially WordPress plays nicely with MAMP so long as you don&#8217;t want to switch on the Network feature that has been rolled in to the WordPress core since version 3.0 (it was previously available as WordPress MU (Multi User). The problem <a href="http://www.alexgant.com/setting-up-a-wordpress-3-network-nee-multisite-on-mamp/"> read more <span class="meta-nav">&#187;</span></a>]]></description>
				<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-106" title="feature_wpbuttons" src="http://www.alexgant.com/wp-content/uploads/feature_wpbuttons.jpg" alt="" width="620" height="200" /></p>
<p>I happened upon an interesting problem today whilst setting up WordPress 3.3.2 on MAMP. Essentially WordPress plays nicely with MAMP so long as you don&#8217;t want to switch on the Network feature that has been rolled in to the WordPress core since version 3.0 (it was previously available as WordPress MU (Multi User).</p>
<p>The problem is a result of WordPress Network&#8217;s inability to handle a host name with a specified port number. By default, MAMP uses port 8888 and 8889 for Apache and MySQL respectively, resulting in the host name http://localhost:8888 which WordPress Network won&#8217;t accept (the setup discussed <a href="http://codex.wordpress.org/Create_A_Network">here</a> fails when using a host name that has a port number appended to it). However, with a few simple config changes to MAMP and and some very minor tinkering on the command line, you can overcome this problem.</p>
<p><span id="more-95"></span></p>
<p>Here&#8217;s how I got round the problem and got my WordPress Network working nicely on my local Mac. For the record, I&#8217;m using OS X 10.6.8 and MAMP version which includes PHP version and MySQL version. It&#8217;s also worth noting that, as far as my research could see, it is impossible to setup WordPress network in its sub-domain configuration on MAMP so the only option is to set it up in its sub-directory configuration. This wasn&#8217;t an issue for me as I need just this type of configuration.</p>
<h3>Switch off OS X&#8217;s built in Apache web server.</h3>
<p>Head in to System Prefs and make sure that Web Sharing is switched off. Otherwise OS X&#8217;s built in Apache server will get in the way of MAMP&#8217;s.</p>
<h3>Download and install MAMP</h3>
<p>No need for the Pro version, just the regular version of MAMP is all you&#8217;ll need. <a href="http://www.mamp.info/en/index.html">More info and download link here</a>.</p>
<h3>Configure MAMP</h3>
<p>Firstly, set MAMP&#8217;s Apache document root to the proposed root of your local WP install. This is likely to be something like this:</p>
<p><code>/Users/mymacusername/Sites/mydomain/wordpress</code></p>
<p>Now set MAMP&#8217;s Apache and MySQL ports to web server defaults (80 and 3306 respectively). This will cause MAMP to request your OS X admin password whenever you start your MAMP server but if you&#8217;re savvy enough to be setting up a local web server, you can probably be trusted with an OS X administrator account!</p>
<div id="attachment_108" style="width: 433px" class="wp-caption aligncenter"><img class="size-full wp-image-108" title="mamp_panel" src="http://www.alexgant.com/wp-content/uploads/mamp_panel.jpg" alt="" width="423" height="344" /><p class="wp-caption-text">Configure MAMP using its Preferences options</p></div>
<h3>Edit your hosts file</h3>
<p>Open a Terminal window and type:</p>
<p><code>sudo vi /etc/hosts</code></p>
<p>This opens the hosts config file in the vi text editor. At the bottom of the file, you&#8217;ll need to add the following line:</p>
<p><code>127.0.0.1 domainalias.co.uk</code> (choose whatever you want for domainalias.co.uk, I used imagespa.co.uk)</p>
<div id="attachment_109" style="width: 503px" class="wp-caption aligncenter"><img class="size-full wp-image-109" title="terminal_hosts" src="http://www.alexgant.com/wp-content/uploads/terminal_hosts.jpg" alt="" width="493" height="296" /><p class="wp-caption-text">Add an entry to your hosts file using OS X&#39;s Terminal</p></div>
<p>This basically means that from now on when you type domainalias.co.uk in to your browser it will actually point to the IP address of your local computer &#8211; the localhost.</p>
<p>If you&#8217;re unsure of how to use vi, take a look at this <a href="http://staff.washington.edu/rells/R110/">very helpful guide</a>.</p>
<h3>Restart MAMP</h3>
<p>If the MAMP servers are still running, stop them and then quit the application. Ensure that the changes you made to /etc/hosts have been saved and exit your Terminal session. Probably best to restart your browser now as well. If you&#8217;re happy to do so, you might also do well to clear the browser cache as well. You can now restart MAMP and your browser. To check that everything is working as expected, create a really basic HTML file and save it in the folder that you specified as MAMP&#8217;s Apache root. Save the file as something like <code>test.html</code> and then visit <code>http://mydomainalias.co.uk/test.html</code> in your browser. If everything is ok, the file should render correctly and the host name in your browser address bar shouldn&#8217;t append a port number and certainly shouldn&#8217;t revert to <code>localhost</code></p>
<h3>Install WordPress</h3>
<p>You can now download and install WordPress as normal using mynewdomainalias.co.uk as the WordPress Address (URL) and Site Address (URL) fields within WP&#8217;s &#8216;Settings&#8217; menu. You can create the WordPress database using MAMP&#8217;s built-in version of phpMyAdmin. You&#8217;ll find full instructions for <a href="http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP">setting up WordPress locally on MAMP</a> here. Don&#8217;t forget that just like our <code>test.html</code> file, WordPress needs to be installed in the folder that you specified when you configured MAMP.</p>
<h3>Setup WordPress Network</h3>
<p>You should now have a WordPress 3 install working nicely available at <code>http://mydomainalias.co.uk</code> with the WordPress admin available at <code>http://mydomainalias.co.uk/wp-admin</code></p>
<p>You can now continue with the WordPress Network setup using the <a href="http://codex.wordpress.org/Create_A_Network">Codex instructions</a> found here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexgant.com/setting-up-a-wordpress-3-network-nee-multisite-on-mamp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
