<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Ben Poole</title>
<link>http://benpoole.com</link>
<language>en-gb</language>
<description>Ben Poole: last 10 &#8217;blog entries filed under &#8220;Apple&#8221;</description>
<copyright>Copyright 1997 - 2013, Benedict Poole</copyright>
<generator>Domino SimpleFeed from http://foo-soft.com</generator>
<webMaster>site@benpoole.com (Ben Poole)</webMaster>
<atom:link href="http://benpoole.com/bp.nsf/blogs-cat.rss" rel="self" type="application/rss+xml" />
<item><title>Bring my Apache back!</title><pubDate>Wed, 3 Oct 2012 10:25 +0100</pubDate><description><![CDATA<p>Last night, whilst demo-ing some older sites I developed, I realised that something had changed on the ole’ Mac—I could no longer preview content in my ~/Sites directory using OS X’s in-built Apache 2 server. Furthermore, the web sharing preference… he gone!</p>

<p>Never fear, Apache and OS X web sharing are still there: you just need to re-enable it all (gah!) So, here’s how to do it. First of all, fire up the trusty Terminal, and issue this command (replacing “&lt;USER&gt;” with your username):</p>

<pre class="prettyprint">vi /etc/apache2/users/&lt;USER&gt;.conf</pre>

<p>A new file will open, and after putting the file into “insert” mode (<samp>i</samp> in vi), paste in the following (again, replacing “USER” with the necessary):</p>

<pre class="prettyprint">&lt;Directory "/Users/USER/Sites/"&gt;
  Options Indexes Multiviews
  AllowOverride AuthConfig Limit
  Order allow,deny
  Allow from all
&lt;/Directory&gt;</pre>

<p>Save and exit (<samp>esc</samp>, then <samp>:wq</samp> in vi) and start up Apache:</p>

<pre class="prettyprint">sudo apachectl start</pre>

<p>Note that this will only start up Apache for the current session. If you want it to run persistently, modify the relevant daemon setting like so:</p>

<pre class="prettyprint">sudo defaults write /System/Library/LaunchDaemons/org.apache.httpd Disabled -bool false</pre>

<p>Once Apache is up and running, you should now be able to hit web pages in the usual way, e.g. <samp>http://localhost/~USERNAME/somesite/index.html</samp>.</p>

<p>If you’re still hitting problems (for example, I was getting 403 errors), these are probably permissions-related, and you need to alter permissions on the newly-created conf file from the step above (remember “USER”!):</p>

<pre class="prettyprint">
  sudo chown root:wheel /etc/apache2/users/USER.conf
  sudo chmod 644 /etc/apache2/users/USER.conf
</pre>]></description><link>http://benpoole.com/weblog/201210031025</link><dc:subject>os x, apache, configuration, tips, mountain lion</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/201210031025</guid><comments>http://benpoole.com/weblog/201210031025#comments</comments></item><item><title>Significant releases</title><pubDate>Mon, 30 Apr 2012 20:42 +0100</pubDate><description><![CDATA<p>Two important releases today. First up, we have the latest instalment of the <a href="http://wormworldsaga.com/">Wormworld saga</a> from <a href="http://daniellieske.blogspot.co.uk/">Daniel Lieske</a>, hooray!</p>

<p><a href="http://daniellieske.blogspot.co.uk/2012/04/chapter-3-monstrous-forest.html">Chapter 3 - A Monstrous Forest</a>.</p>

<blockquote cite="http://daniellieske.blogspot.co.uk/2012/04/chapter-3-monstrous-forest.html">Chapter 3 was a huge challenge for me as I wanted the first impression of the Wormworld to be a lasting one. This chapter is the longest chapter so far and it is full of elaborate full scale backgrounds. Including prelim, concept art and layout, I worked over 400 hours on Chapter 3. I think that it shows and I hope that everyone will enjoy the ride.</blockquote>


<p>And then we have something else, which I must confess I hadn’t seen coming (I’ve just been too “heads-down” lately to know what’s going on in the Java world):</p>

<blockquote cite="http://www.oracle.com/us/corporate/press/1603497"><p>Oracle Releases Java SE 7 Update 4 and JavaFX 2.1</p>
<p>First Java Development Kit and JavaFX Software Development Kit <strong>for Mac OS X Available From Oracle</strong></p></blockquote>

<p>(My emphasis). Crikey! <a href="http://www.oracle.com/us/corporate/press/1603497">Read more (and get the <abbr title="Java Deveopment Kit">JDK</abbr>) from Oracle</a>.</p>]></description><link>http://benpoole.com/weblog/201204302042</link><dc:subject>java, oracle, apple, os x, wormworld, daniel lieske</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/201204302042</guid><comments>http://benpoole.com/weblog/201204302042#comments</comments></item><item><title>Netgear ReadyNAS &amp; OS X: fixing printing</title><pubDate>Mon, 12 Sep 2011 12:40 +0100</pubDate><description><![CDATA<p>I&#8217;ve used my trusty <a href="http://www.readynas.com/?cat=4">Netgear ReadyNAS</a> for several years now, it&#8217;s super. When OS X Lion came out, Apple twiddled with <abbr title="Apple Filing Protocol">AFP</abbr> in the network stack, which meant that using many <abbr title="Network Attached Storage">NAS</abbr> implementations (Netgear&#8217;s included) as <a href="http://en.wikipedia.org/wiki/Time_Machine_(Mac_OS)" title="Link to Wikipedia page on Apple&#8217;s Time Machine utility">Time Machine</a> targets no longer worked.</p>

<p>To their credit, Netgear had beta firmware releases out in no time, which addressed this issue. However, one side effect seemed to be that for those of us who also use the ReadyNAS as a print server (it&#8217;s a Linux box basically, so you get <a href="http://www.cups.org/">CUPS</a> for free), printing was b0rked. Bonjour detection of the printer was still OK, one could send print jobs to it, but something went awry along the way and OS X reported <samp>Unable to get printer status</samp>. Hmm.</p>

<p>A very helpful chap by the name of <a href="http://www.christianfries.com">Dr. Christian Fries</a> posted some steps on the official ReadyNAS forums to address this printing issue. I can report that whilst this tip did not work for me with the beta firmware releases, bizarrely it does now that the firmware is production-ready (I&#8217;m using the newly-released 4.1.8 for my SPARC-based NV+).</p>

<p>Here I reproduce Dr. Fries&#8217; tip with some notes of my own, and I&#8217;ve also added a screenshot of the end result in CUPS (this is all assuming you&#8217;re on OS X <abbr title="By The Way">BTW</abbr>!)</p>

<ol>
<li>Set up the printer as you would normally (it should just appear when you add a printer in system preferences (assuming you advertise ReadyNAS print queues over Bonjour). My device is a Canon PIXMA iP4500. It comes with reasonable drivers, but they won&#8217;t work if you use the printer on the network via a NAS. Instead, once you&#8217;ve opted to add your printer, choose the drop-down option to &#8220;Select Printer Software&hellip;&#8221; thus: <img class="feature-image" src="http://benpoole.com/bp.nsf/files/201109121240/$file/gutenprint.png" width="738" height="554" alt="Adding my PIXMA iP4500 printer in OS X, using the Gutenburg drivers" style="display: block; margin: 1em 0 1em 0" />&hellip; and then select the relevant Gutenberg driver for your printer (they cover pretty much everything out there). You should have Gutenberg drivers installed already, but you can always grab the latest versions at the <a href="http://gimp-print.sourceforge.net/">Gutenberg site</a>.</li>
<li>Open <a href="http://127.0.0.1:631">http://127.0.0.1:631</a> in your web browser. This is the CUPS page, the printing subsystem of OS X (you may need to alter the IP address or host, depending on your set-up).</li>
<li>Select &#8220;Administration&#8221; and then &#8220;Manage Printers&#8221;. Select the non-functioning ReadyNAS print queue.</li>
<li>Now choose &#8220;Modify Printer&#8221; from the &#8220;Administration&#8221; drop-down that appears below the print queue name.</li>
<li>On the resulting screen, look for the heading &#8220;Other Network Printers&#8221; and click the &#8220;Windows printer via spoolss&#8221; radio button. Click &#8220;Continue&#8221; and you should then see a screen requesting a connection string&hellip;</li>
<li>&hellip; this connection string should be in this format: <samp>smb://YOUR_NAS/YOUR_QUEUE</samp>, where <samp>YOUR_NAS</samp> is either the host name or private IP address of your ReadyNAS as it appears in the Finder (e.g. <samp>readynas.local</samp> or <samp>192.168.1.1</samp>) and <samp>YOUR_QUEUE</samp> is the name of your printer as it appears in the ReadyNAS FrontView screen (note that you don&#8217;t need to include port numbers or extra bits like <samp>IPP</samp> as you might expect; just use the path as expressed here).</li>
<li>Done!</li>
</ol>

<p>OK, so this is how my printer looks in CUPS (where <samp>iP4500_serie</samp> is the name of the queue in FrontView):</p>

<p><img class="feature-image" src="http://benpoole.com/bp.nsf/files/201109121240/$file/printer.png" width="968" height="289" alt="My CUPS screen showing ReadyNAS print queue" /></p>

<p>Read the original post - <a href="http://www.readynas.com/forum/viewtopic.php?f=17&t=55225&amp;p=320842#p319716">ReadyNAS forums: Re: Problems printing with 4.1.18</a></p>]></description><link>http://benpoole.com/weblog/201109121240</link><dc:subject>readynas, cups, os x, netgear, tips</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/201109121240</guid><comments>http://benpoole.com/weblog/201109121240#comments</comments></item><item><title>Configuring multiple email addresses in iOS</title><pubDate>Fri, 2 Sep 2011 21:51 +0100</pubDate><description><![CDATA<p>It’s (probably) a little-known secret that you can specify multiple “Sender” email addresses in the default OS X mail application. Once more than one address is specified in preferences, the “From” field in any mail composed becomes a drop-down from which you can choose the required address:</p><p><img class="feature-image" src="http://benpoole.com/bp.nsf/files/201109022151/$file/omg_bruce.png" height="485" width="535" alt="Bruce won’t know what hit him" /></p><p>This is pretty handy if, like me, you use multiple addresses. OK, so here’s how to set that up in Mail.app’s preferences: go to the “Account Information” tab in the “Accounts” pane, and edit the “Email Address” field thus:</p><p><img class="feature-image" src="http://benpoole.com/bp.nsf/files/201109022151/$file/email_setup.png" alt="Specifying multiple email addresses in OS X Mail.app (screenshot)" height="85" width="532" /></p><p>Just separate the addresses you want to use with commas: easy! Now, where things become a little trickier is in the realm of iOS. The lack of apparent multiple email address support in the iOS mail client was a bit of a bug-bear to me last week especially, whilst on holiday. Yes, you can set up multiple email accounts, one for each address you want to use, but that’s nasty—especially when it comes to downloading your mail (multiple copies ahoy).</p><p>In a moment of quiet contemplation I figured that perhaps the comma trick would work in iOS too, but you hit an apparent <i>impasse</i> as the mail client set-up precludes the use of commas in the “Address” field. Hmm. Ah, but a bit of lateral thinking suggests that if perhaps one has a comma secreted about one’s person (OK, in one’s clipboard), the lack of comma in the relevant on-screen keyboard becomes moot. Aha!</p><p>Well what do you know, it worked. When checking this wee tip out I found an excellent post which summarises what is required, step-by-step, with screenshots to boot. Take a gander:</p><p><a href="http://modernerd.com/post/535350679/solved-gmail-ipad-iphone-and-multiple-from">Nick Cernis: Solved: Gmail, iPad, iPhone, and multiple from addresses</a> (the link is Google-specific, but I see no reason why the tips contained therein can’t work for your provider of choice).</p><p>Splendid.</p>]></description><link>http://benpoole.com/weblog/201109022151</link><dc:subject>ios, email, mail.app, os x, mail, tips</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/201109022151</guid><comments>http://benpoole.com/weblog/201109022151#comments</comments></item><item><title>How to fix a lack of PDFs in iBooks</title><pubDate>Wed, 29 Dec 2010 21:00 +0100</pubDate><description><![CDATA<p><img src="http://benpoole.com/bp.nsf/files/icon-ibooks/$file/icon-ibooks.png" width="180" height="178" alt="iBooks icon" style="border: 0; float: right; padding: 0 0 .5em .5em"></p>

<p>(A wee post for Mr. Google if no-one else). The Apple discussion forums are full of disgruntled <a href="http://itunes.apple.com/gb/app/ibooks/id364709193" title="Link to &#8220;iBooks&#8221; application page on apple.com">iBooks</a> users, lamenting the loss of PDFs they have sync&#8217;ed (or are trying to sync) to their iPhone or iPad, and I joined their serried ranks recently.</p>
<p>I updated  to the latest &#8217;n&#8217; greatest (version 1.2), and sure enough: <strong>no more <abbr title="Portable Document Format">PDF</abbr>s</strong>.</p>
<p><em>&#8220;What the flip?&#8221;</em> thought I. Like many, I gather PDF-based texts as I pootle along the highways and by-ways of t&#8217;internet, and it&#8217;s super to have them to hand in one&#8217;s iOS device of choice. So you can surely imagine my dismay when oodles of lovingly-curated docs had gone the way of British manufacturing, or jobs in IT.</p>

<p>But do not fear! If the same thing has happened to you, here&#8217;s how I got mine back: it could work for you too!</p>

<ol>
<li>Remove all PDFs from your iTunes library. <strong>Do not</strong> elect to delete the files from your machine, just from your iTunes library</li>
<li>Locate the physical files on your hard drive (normally found in the &#8220;Books&#8221; sub-directory within your iTunes folder hierarchy)</li>
<li>Move &#8217;em all somewhere else (and remember where! Don&#8217;t use &#8220;that secret place&#8221;, you&#8217;ll never find them). Move just the PDFs; ignore any author / album folder hierarchy they may have had</li>
<li>Sync your iOS device for good measure (it <em>definitely</em> shouldn&#8217;t have any PDFs on it now, just <samp>epub</samp> format books and the like)</li>
<li>Highlight a single PDF in your back-up folder, and drag it to iTunes. You should see the familiar green &#8220;plus&#8221; icon as it adds the file to your library (I presume this is the same in Windows, but don&#8217;t have iTunes on that platform, so bear with me)</li>
<li>Check that the newly-added file appears in the &#8220;PDFs&#8221; list when you look at books on your iOS device (I&#8217;m assuming you&#8217;ve left your phone / iPad connected to your iTunes machine). Interestingly, my fubar-ed PDFs, prior to fixing things, <em>didn&#8217;t</em> appear in this list. Instead, they were commingled with books, suggesting that iTunes had become most discombobulated</li>
<li>Sync, and check that the newly-(re)added PDF is now on your device. If so, add the rest in the same way</li>
</ol>

<p>Why has this happened? Why do you need to re-add your PDFs? Well, my theory is that some of us (cough) are quite anal, and categorise our PDFs with &#8220;artist&#8221; (i.e. author) names and the like. By default, iTunes organises one&#8217;s content on one&#8217;s hard drive, using folders for artist, album, and so on. It would appear that iBooks 1.2 takes to this badly, hence why re-organising PDFs (and leaving them be: no extra tags!) seems to pacify! (Simply reversing this tagging isn&#8217;t enough; you have to remove and add back).</p>

<p>So, a couple of bugs to sort out there for Apple I reckon. Oh, and whilst they&#8217;re at it, why not have iTunes start to recognise their own OS metadata for PDFs (author, date, description, etc.)!</p>]></description><link>http://benpoole.com/weblog/201012292100</link><dc:subject>ios, ibooks, iphone, ipad, itunes, tips</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/201012292100</guid><comments>http://benpoole.com/weblog/201012292100#comments</comments></item><item><title>iPads? For the love of God!</title><pubDate>Wed, 7 Apr 2010 14:06 +0100</pubDate><description><![CDATA<p>I’ve kept quiet about all this iPad malarkey, have stayed away from the endless commentary, and have no real opinion of a device that I have not used. Amongst all the ridiculous hysteria however, I will say one thing:</p> <p>For all those opining on the subject—how Apple should have done this, or done that, the specification is too limited, an Android pad will be better, an HP Slate will be better, Windoze Tablet is better, I can’t open the device and wire in my dog, blah blah blah—<strong>remember this:</strong> no-one did it. No-one else has created one of these things. Tablet PC has been out for what, eight years? Android’s here and has a vibrant ecosystem around it. There are many <strong>many</strong> players in the technology world. Have at it! Create something better! <strong>That’s what innovation is all about.</strong></p> <p>I’m not much an Apple fanboy: I whinge about certain things, whine about certain decisions. But I am not going to take them to task for releasing the iPad. You pays your money, you takes your choice. To the sceptics I will say this: no-one is forcing this technology down your throats. Go do something better.</p>]></description><link>http://benpoole.com/weblog/201004070606</link><dc:subject>ipad, apple, technology</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/201004070606</guid><comments>http://benpoole.com/weblog/201004070606#comments</comments></item><item><title>iPhone programming</title><pubDate>Tue, 7 Apr 2009 10:34 +0100</pubDate><description><![CDATA<p>You may well have seen the hub-bub around Stanford University making their iPhone programming course available for free via iTunes U. Very cool. I have subscribed to the course, and was delighted to see that the first slide in the presented material is a rick-roll. Excellent! <span class="smiley smile">:-)</span></p> <p><a href="itms://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.2024353965.02024353968">Stanford University: iPhone Application Programming</a> (iTunes link).</p>]></description><link>http://benpoole.com/weblog/200904070234</link><dc:subject>iphone, stanford, itunesu</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/200904070234</guid><comments>http://benpoole.com/weblog/200904070234#comments</comments></item><item><title>Breathtaking arrogance</title><pubDate>Thu, 26 Mar 2009 22:24 +0100</pubDate><description><![CDATA<p>Some people.</p> <blockquote cite="http://homepage.mac.com/simx/technonova/rants/on_the_continuing_macheist_controversy.html">If you’re buying MacHeist, you’re a cheap fucking bastard, and it makes me queasy that so many in the Mac community would buy into such a thing.</blockquote> <p>Some developers and middle-men come along and do a cheap bundle deal on a load of good Mac apps, and it’s the <em>consumer</em> who’s at fault?</p> <p>R--i-g-h-t.</p> <p>It’s moronic <a href="http://homepage.mac.com/simx/technonova/rants/on_the_continuing_macheist_controversy.html" title="Simone Manganelli: On the continuing MacHeist controversy">posts like this</a> that give Mac fans a bad rap. I don’t see anyone with a gun to their head.</p> <p><cite>Via <a href="http://daringfireball.net">John Gruber</a>.</cite></p>]></description><link>http://benpoole.com/weblog/200903261524</link><dc:subject>macheist</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/200903261524</guid><comments>http://benpoole.com/weblog/200903261524#comments</comments></item><item><title>So Safari 4 Beta is out</title><pubDate>Tue, 24 Feb 2009 15:15 +0100</pubDate><description><![CDATA<p>Looks great, has some super features, and the HTML 5 support is excellent. I had issues using the browser with Google Apps Mail, so for now I will let it lie, but otherwise I am impressed.</p> <p>One regret? They renamed the new Javascript engine from SquirrelFish to Nitro. That’s no fun!</p> <p><a href="http://www.apple.com/safari/">Apple: Safari 4 Beta</a>.</p> <p><i>Update</i>: if your Google mail isn’t working, try this: grab the URL for the “basic” HTML view for mail, and open that in Safari. Should work fine. <em>Then</em> switch back to the standard view. Quite why this fixes things when clearing cookies / cache / history / offline email doesn’t, I have no idea!</p>]></description><link>http://benpoole.com/weblog/200902240715</link><dc:subject>safari, apple</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/200902240715</guid><comments>http://benpoole.com/weblog/200902240715#comments</comments></item><item><title>Macintosh division, 25 years on</title><pubDate>Wed, 28 Jan 2009 13:41 +0100</pubDate><description><![CDATA<p>I love things like this: a round-up of the recent Macintosh division reunion to celebrate twenty-five years since the launch of the Mac:</p> <p><a href="http://blog.guykawasaki.com/2009/01/twenty-five-yea.html">Guy Kawasaki - Macintosh 25th Anniversary Reunion: Where Did Time Go?</a></p>]></description><link>http://benpoole.com/weblog/200901280541</link><dc:subject>apple, macintosh</dc:subject><dc:creator>Ben Poole</dc:creator><guid isPermaLink="true">http://benpoole.com/weblog/200901280541</guid><comments>http://benpoole.com/weblog/200901280541#comments</comments></item>	</channel>
</rss>
