The Tao of Mac http://taoofmac.com Tech Made Simple CC Attribution-NonCommercial-NoDerivs 3.0 30 Mon, 31 Aug 2015 19:35:18 GMT Mon, 31 Aug 2015 19:35:18 GMT http://blogs.law.harvard.edu/tech/rss yaki Android Wear now works with iPhones http://taoofmac.com/space/links/2015/08/31/1709 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/31/1709/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/31/1709/large.jpg" class="thumb" /></a></div> <p>I’m going to wait until a proper review comes out to assess functionality, but I’d say this makes the whole wearables game a lot more interesting.</p> <p>I’m betting that after Xmas and a significant shakedown, low-end smartwatches are going to be 95% based on Android Wear. I know I’m not the first to say this, but the <a href="http://getpebble.com" title="external link to http://getpebble.com" class="http" rel="http://getpebble.com">Pebble</a> looks pretty doomed.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/31/1709#android-wear-now-works-with-iphones" title="link to http://taoofmac.com/space/links/2015/08/31/1709#android-wear-now-works-with-iphones">&#x262F;</a></small> Mon, 31 Aug 2015 17:09:35 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/31/1709#android-wear-now-works-with-iphones wiki Pulling Back the Curtain on Google’s Network Infrastructure http://taoofmac.com/space/links/2015/08/21/0820 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/21/0820/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/21/0820/large.jpg" class="thumb" /></a></div> <p><a href="http://conferences.sigcomm.org/sigcomm/2015/pdf/papers/p183.pdf" title="external link to http://conferences.sigcomm.org/sigcomm/2015/pdf/papers/p183.pdf" class="http" rel="http://conferences.sigcomm.org/sigcomm/2015/pdf/papers/p183.pdf">The paper</a> is well worth reading, seeing as it includes descriptions of not only physical but also logic approaches, common failure modes, etc.</p> <p>It boggles the mind to think of 40GB Top-of-Rack switching and the amount of aggregated bandwidth they have…</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/21/0820#pulling-back-the-curtain-on-google-s-network-infrastructure" title="link to http://taoofmac.com/space/links/2015/08/21/0820#pulling-back-the-curtain-on-google-s-network-infrastructure">&#x262F;</a></small> Fri, 21 Aug 2015 08:20:18 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/21/0820#pulling-back-the-curtain-on-google-s-network-infrastructure wiki Portugal mobile users up 1.2% in Q2 to 16.4 million http://taoofmac.com/space/links/2015/08/20/0907 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/20/0907/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/20/0907/large.jpg" class="thumb" /></a></div> <p>Even though we’re actually looking at 12.8 million (77.8%) SIMs being effectively in use, it’s still a staggering figure.</p> <p>Note the variations between providers in the article – they’re consistent with what I’ve gleaned from my acquaintances over the past year or so, and speak of changing consumer habits – IM taking over <span class="caps" title="Short Message Service">SMS</span>, cheaper voice calls boosting use, and, overall, a big (30%) increase in data usage.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/20/0907#portugal-mobile-users-up-1-2--in-q2-to-16-4-million" title="link to http://taoofmac.com/space/links/2015/08/20/0907#portugal-mobile-users-up-1-2--in-q2-to-16-4-million">&#x262F;</a></small> Thu, 20 Aug 2015 09:07:44 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/20/0907#portugal-mobile-users-up-1-2--in-q2-to-16-4-million wiki Windows Server 2016 Containers Preview http://taoofmac.com/space/links/2015/08/19/1745 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/19/1745/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/19/1745/large.jpg" class="thumb" /></a></div> <p>Added to my “try soon” checklist – I like the idea of it being baked onto an <span class="caps">IDE</span>, although I’m much more interested in any orchestration/automation features it might have.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/19/1745#windows-server-2016-containers-preview" title="link to http://taoofmac.com/space/links/2015/08/19/1745#windows-server-2016-containers-preview">&#x262F;</a></small> Wed, 19 Aug 2015 17:45:48 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/19/1745#windows-server-2016-containers-preview wiki Charting an open source path for Resin.io http://taoofmac.com/space/links/2015/08/19/1109 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/19/1109/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/19/1109/large.jpg" class="thumb" /></a></div> <p>I’ve been fooling around with this for a few months – partly because they had a working Docker build for ARMv6 – and this is pretty interesting.</p> <p>Have to file it under “for a rainy weekend”, though. Too much going on right now.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/19/1109#charting-an-open-source-path-for-resin-io" title="link to http://taoofmac.com/space/links/2015/08/19/1109#charting-an-open-source-path-for-resin-io">&#x262F;</a></small> Wed, 19 Aug 2015 11:09:13 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/19/1109#charting-an-open-source-path-for-resin-io wiki Year-old Parallels and VMware software won’t be updated for Windows 10 http://taoofmac.com/space/links/2015/08/19/0947 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/19/0947/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/19/0947/large.jpg" class="thumb" /></a></div> <p>Parallels’ decision to cripple their baseline offering and split features onto a “Pro” edition of dubious value mean that I’ll be checking out VMware’s stuff again by this October.</p> <p>I’m fine with their releasing a new version every year, and would ordinarily upgrade to version 11 directly by the time I install El Capitan, but their placing arbitrary limits on the base edition sucks, and they need to be told that without any runarounds.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/19/0947#year-old-parallels-and-vmware-software-won-t-be-updated-for-windows-10" title="link to http://taoofmac.com/space/links/2015/08/19/0947#year-old-parallels-and-vmware-software-won-t-be-updated-for-windows-10">&#x262F;</a></small> Wed, 19 Aug 2015 09:47:51 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/19/0947#year-old-parallels-and-vmware-software-won-t-be-updated-for-windows-10 wiki Installing, running, using docker on armhf (ARMv7) devices http://taoofmac.com/space/links/2015/08/19/0938 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/19/0938/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/19/0938/large.jpg" class="thumb" /></a></div> <p>This works fine on my <span class="caps">ODROID</span>-U2 and Raspberry Pi 2 boards running Ubuntu, and allowed me to side-step <a href="https://github.com/docker/docker/issues/14056" title="secure link to https://github.com/docker/docker/issues/14056" class="https" rel="https://github.com/docker/docker/issues/14056">#14056</a>.</p> <p>I had a half-hearted go at porting <code>buildstep</code>, but the “turtles all the way down” approach at building Docker images mean I’d have to put together five or six <span class="caps">ARM</span>-based images for that… There’s got to be a better way.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/19/0938#installing--running--using-docker-on-armhf--armv7--devices" title="link to http://taoofmac.com/space/links/2015/08/19/0938#installing--running--using-docker-on-armhf--armv7--devices">&#x262F;</a></small> Wed, 19 Aug 2015 09:38:48 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/19/0938#installing--running--using-docker-on-armhf--armv7--devices wiki Blot http://taoofmac.com/space/links/2015/08/18/0844 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/18/0844/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/18/0844/large.jpg" class="thumb" /></a></div> <p>This is very close to the way this site works, and has a couple of brilliant twists I wish I’d thought about before.</p> <p>I’ve seen other <a href="http://taoofmac.com/space/apps/Dropbox" class="wiki" title="apps/Dropbox was updated 2 years, 6 months ago">Dropbox</a> oriented blogging solutions, but so far none that’s this straightforward. Hard to envision how it’d cope with over 7000 pages, though.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/18/0844#blot" title="link to http://taoofmac.com/space/links/2015/08/18/0844#blot">&#x262F;</a></small> Tue, 18 Aug 2015 08:44:20 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/18/0844#blot wiki Immortal ZX Spectrum games http://taoofmac.com/space/links/2015/08/17/1817 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/17/1817/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/17/1817/large.jpg" class="thumb" /></a></div> <p>Warning: major nostalgia trip. Priceless, though.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/17/1817#immortal-zx-spectrum-games" title="link to http://taoofmac.com/space/links/2015/08/17/1817#immortal-zx-spectrum-games">&#x262F;</a></small> Mon, 17 Aug 2015 18:17:34 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/17/1817#immortal-zx-spectrum-games wiki OneNote To Rule Them All http://taoofmac.com/space/blog/2015/08/16/1800 <p>I recently decided to move to <a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a> and have been meaning to write about the whys, the shortcomings and the hows — and here it is, at last, banged out in the shade while a relatively tepid Summer blunders through the countryside chased by a faint breeze.</p> <p>This has been in the making <a href="http://taoofmac.com/space/links/2014/03/17/1957" class="wiki" title="links/2014/03/17/1957 was updated 1 year, 5 months ago">for a while</a>, really. I’ve kept tabs on <a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a>‘s progress on the <a href="http://taoofmac.com/space/com/Apple/Mac" class="wiki" title="com/Apple/Mac was updated 9 years, 2 months ago">Mac</a> and <a href="http://taoofmac.com/space/com/Apple/iOS" class="wikiunknown" title="com/Apple/iOS is not defined yet">iOS</a> for over a year, and after doing a little testing over the past couple of weeks I decided to stop faffing about and take the plunge: one evening I canceled the auto-renewal of my <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a> Premium account (still have most of a year remaining, actually) and started moving things across.</p> <h2 id="why">Why</h2> <p>In a nutshell, I’m absolutely fed up with the way <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a> is turning into a bag of mixed nuts: all I see are squirrelly-like features that get in the way of writing or managing my notes, and it feels as if they’ve pretty much lost the plot.</p> <p><a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a> now has native clients for almost every platform I use (<a href="http://taoofmac.com/space/com/Apple/OSX" class="wiki" title="com/Apple/OSX was updated 9 years, 3 weeks ago">OS X</a>, <a href="http://taoofmac.com/space/com/Microsoft/Windows" class="wiki" title="com/Microsoft/Windows was updated 5 months, 3 days ago">Windows</a>, <a href="http://taoofmac.com/space/com/Apple/iOS" class="wikiunknown" title="com/Apple/iOS is not defined yet">iOS</a> and <a href="http://taoofmac.com/space/com/Google/Android" class="wiki" title="com/Google/Android was updated 1 year, 3 weeks ago">Android</a>) that have a consistent, stable user experience and is only missing <a href="http://taoofmac.com/space/os/Linux" class="wiki" title="os/Linux was updated 7 years, 2 weeks ago">Linux</a> (where I’ve been <a href="http://taoofmac.com/space/blog/2008/10/30/2230" class="wiki" title="blog/2008/10/30/2230 was updated 6 years, 9 months ago">running Evernote under WINE since 2008 or so</a>), but that’s not a big deal.</p> <p>It also has better support for rich text editing than <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a> (up to a point), which is a godsend even considering that most of my notes are written in a variety of <a href="http://taoofmac.com/space/markup/Markdown" class="wiki" title="markup/Markdown was updated 2 years, 8 months ago">Markdown-esque</a> plain text.</p> <p>Part of that is due to the way it handles freeform notes (even handwriting, although I never used it or have any real plans to do so), which, unsurprisingly, feels a lot like Word with the ancient Pen Services for Windows 95 (remember those? Well, I do…).</p> <p>But mostly it’s because it has to interoperate nicely with Office, and has done so since the beginning.</p> <h2 id="check-please">Check, Please!</h2> <p>However, the one thing that made me switch over was its checklist features, which work really, really well for me — in particuar, they’re very easy to use on a phone<sup id="fnref:1"><a class="anchor" href="http://taoofmac.com/space/blog/2015/08/16/1800#fn:1" rel="/space/blog/2015/08/16/1800#fn:1" title="link to fn:1 in this page">1</a></sup>.</p> <p>You see, over the years I’ve become a checklist guy. I have checklists for <em>everything</em> — for shopping, for individual projects, for household chores (some of which are best referred to as “procedures”, really), etc. </p> <p>And there hasn’t really been any decent cross-platform To-Do/checklist management tool that fit my needs. <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a> sort of filled the gap, but the overall experience and bloat was getting on my nerves. <a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a> just feels <em>faster</em>, regardless.</p> <p>Every single day, first thing in the morning, I go through my weekly work checklist and see what I can tick off first, and every weekend I carry over open items and file away last week’s progress, making for a nice, compact journal.</p> <p>At the last count, I’ve ticked off nearly four hundred checkboxes this year, so this is a big deal for me. Over the years, it dawned on me that checklists are not so much an indication of progress or a roadmap but an actual <em>frame of reference</em> when trying to tackle things.</p> <p>When things are on a roll, checklists are a great way to do estimations. When things are bad (in the sense of stressful), they’re a way to make sure I don’t forget anything, and when they’re worse (in the sense of lack of motivation), they’re a sort of Jedi mind trick to force you to trudge on regardless.</p> <p>But, again, the main reason for switching over it is that <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a>, despite its awesome integration and great feature set, just can’t make up its mind about what it wants to do as an app — every single upgrade has broken the UI in some way and/or added stuff that has very little (if any) bearing on actual note taking or improve note management.</p> <p><a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a> is unlikely to suddenly sprout tentacles, content suggestions, work chat features and other sideshows or annoyances that I can’t get rid of, since its common feature set and overall focus is (at least for now) much clearer — you only have to look at the even simpler, dumber Modern version that ships with all editions of Windows 10 to realise it <em>has</em> to stay simple and focused.</p> <h2 id="shortcomings">Shortcomings</h2> <p>In retrospect it’s amazing (and likely a measure of exactly how much <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a> has ticked me off) that this section is quite long, but yes, there are some shortcomings:</p> <ul> <li>I find it a little annoying that <a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a> is completely cloud-based these days (i.e., you don’t ever see a naked <code>.one</code> file, and the stubs it places on OneDrive are just that — stubs without any real data), but at least syncing works well, they support offline editing and caching on every platform for <em>free</em> and also have <a href="http://dev.onenote.com" title="external link to http://dev.onenote.com" class="http" rel="http://dev.onenote.com">an API</a>.</li> <li>Despite their revamped clipping bookmarklet, web clipping is still a hit-and-miss affair, especially if (like me) you’re trying to clip technical articles — whitespace and code samples come out all wrong, and the alternative (storing bitmaps of web pages) is… just not practical. Pocket works well enough for me, so that’s not critical.</li> <li>Ditto for cutting and pasting styled text. Anything that doesn’t fit <a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a>‘s limited (but <a href="https://msdn.microsoft.com/EN-US/library/office/dn832628.aspx" title="secure link to https://msdn.microsoft.com/EN-US/library/office/dn832628.aspx" class="https" rel="https://msdn.microsoft.com/EN-US/library/office/dn832628.aspx">documented</a>) formatting support is highly likely to suffer from “lost in translation” syndrome and require some tweaking.</li> <li>The <a href="http://taoofmac.com/space/com/Google/Android" class="wiki" title="com/Google/Android was updated 1 year, 3 weeks ago">Android</a> app currently doesn’t support password-protected sections (and, apparently, some other features I haven’t missed yet), and there seems to be a fair amount of complaining online about lack of feature parity — hasn’t been a big deal for me yet.</li> <li>Font rendering on <a href="http://taoofmac.com/space/com/Apple/iOS" class="wikiunknown" title="com/Apple/iOS is not defined yet">iOS</a> is iffy. Calibri, in particular, is mis-kerned and mis-spaced six ways from Sunday, which makes it hard to read and irritating to write in, especially on my <a href="http://taoofmac.com/space/com/Apple/iPad" class="wiki" title="com/Apple/iPad was updated 2 years, 9 months ago">iPad</a>.</li> <li>I’ve had a some trouble with external keyboard support on the <a href="http://taoofmac.com/space/com/Apple/iPad" class="wiki" title="com/Apple/iPad was updated 2 years, 9 months ago">iPad</a> — for instance, a recent version introduced a very annoying bug in cursor movement that makes the left and right cursor keys move <em>two</em> characters instead of one. I reported it as a bug, so hopefully that’ll get fixed soon.</li> </ul> <h2 id="migration">Migration</h2> <p>It wasn’t too hard to move the important stuff across — it was just embarassingly manual, given that there are no import tools for <a href="http://onenote.com" title="external link to http://onenote.com" class="http" rel="http://onenote.com">OneNote</a> and that what little I’ve seen done using their <a href="http://dev.onenote.com" title="external link to http://dev.onenote.com" class="http" rel="http://dev.onenote.com">API</a> didn’t do what I needed.</p> <p>I also couldn’t spare the time to do the geeky thing and hack a migration tool, but this might be a nice niche business for someone else to tackle.</p> <p>A couple of sittings of dragging and dropping sufficed for my main notebook, and as it turned out a lot of the stuff I had on <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a> was either outdated or not really relevant anymore (although I did find a few precious gems during the process). </p> <p>Some notebooks I simply archived as PDFs, and a few — mostly composed of random web clippings — are still on <a href="http://taoofmac.com/space/apps/Evernote" class="wiki" title="apps/Evernote was updated 4 years, 5 months ago">Evernote</a> until I see what’s worth keeping.</p> <p>The biggest problem I had (besides the limited markup support I already alluded to) was that I can’t back-date notes — nor, as far as I can tell, tweak creation dates in any way via the UI. It <em>might</em> be doable via the API, but I simply haven’t bothered.</p> <h2 id="next-steps">Next Steps</h2> <p>Well, I expect to spend some time playing with the <a href="http://dev.onenote.com" title="external link to http://dev.onenote.com" class="http" rel="http://dev.onenote.com">API</a> this summer, if only to see if I can back-date notes. I’d also like to tie specific checklists to <a href="https://github.com" title="secure link to https://github.com" class="https" rel="https://github.com">GitHub</a> projects, but that’s likely to be a bit overkill and, to be honest, I have a <em>lot</em> of stuff on my mind these days — and it’s not really the kind of stuff I can tackle with either code or checklists…</p> <div class="footnote"> <hr /> <ol> <li id="fn:1"> <p>Oddly, though, it’s more cumbersome to add an item to an existing list than to create an entirely new list on the <a href="http://taoofmac.com/space/com/Apple/iPhone" class="wiki" title="com/Apple/iPhone was updated 3 years, 10 months ago">iPhone</a> — you have to tap a target near the top left of the screen instead of using the big, fat “plus” sign that hovers, <a href="http://en.wikipedia.org/wiki/Material_Design" title="link to Material_Design on en.wikipedia.org" class="interwiki" rel="Wikipedia:Material_Design">Material</a>-like, right next to your thumb… <a class="anchor" href="http://taoofmac.com/space/blog/2015/08/16/1800#fnref:1" rev="footnote" title="Jump back to footnote 1 in the text" rel="/space/blog/2015/08/16/1800#fnref:1">↩</a></p> </li> </ol> </div><br/><small><a href="http://taoofmac.com/space/blog/2015/08/16/1800#onenote-to-rule-them-all" title="link to http://taoofmac.com/space/blog/2015/08/16/1800#onenote-to-rule-them-all">&#x262F;</a></small><p> <div style="-webkit-border-radius: 8px; font-size: small; background-color: #ccc; color: #000; border: 1px solid #aaa; margin: 0; padding: 3px; overflow: hidden;"><p style="padding; 2px; margin: 2px;"><a title="" href="http://taoofmac.com/"><img align="left" alt="Tao of Mac Icon" src="http://taoofmac.com/img/pavatar48.png"/></a> "<a href="http://taoofmac.com/space/blog/2015/08/16/1800#onenote-to-rule-them-all"><strong>OneNote To Rule Them All</strong></a>" was written by <a href="http://taoofmac.com/RuiCarmo">Rui Carmo</a> for <a href="http://taoofmac.com">The Tao of Mac</a> and was originally posted on Sunday, Aug 16<sup>th</sup> 2015. Except as noted, it's &copy;2015 Rui Carmo and licensed for reuse under <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">CC BY-NC-ND 3.0</a>.</p> <p>As usual, please consider <a href="http://taoofmac.com/space/site/Donate">donating</a> towards hosting and bandwidth costs.</p> </div> </p> Sun, 16 Aug 2015 18:00:00 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/blog/2015/08/16/1800#onenote-to-rule-them-all wiki iPad: A Consumption Device, After All? http://taoofmac.com/space/links/2015/08/14/2139 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/14/2139/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/14/2139/large.jpg" class="thumb" /></a></div> <p>Someone needs to keep pointing out that <a href="http://taoofmac.com/space/com/Apple/iOS" class="wikiunknown" title="com/Apple/iOS is not defined yet">iOS</a> is, indeed, the one thing holding back the <a href="http://taoofmac.com/space/com/Apple/iPad" class="wiki" title="com/Apple/iPad was updated 2 years, 9 months ago">iPad</a>.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/14/2139#ipad--a-consumption-device--after-all-" title="link to http://taoofmac.com/space/links/2015/08/14/2139#ipad--a-consumption-device--after-all-">&#x262F;</a></small> Fri, 14 Aug 2015 21:39:31 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/14/2139#ipad--a-consumption-device--after-all- wiki Rands' Apple Hardware Hierarchy of Need http://taoofmac.com/space/links/2015/08/14/1938 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/14/1938/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/14/1938/large.jpg" class="thumb" /></a></div> <p>Neat, but… I currently rank my iPad as more necessary than my home <a href="http://taoofmac.com/space/com/Apple/Mac/mini" class="wiki" title="com/Apple/Mac/mini was updated 5 years, 1 month ago">mini</a>. Even with two monitors.</p> <p>That’s partly because I spend most of my time accessing remote boxes (where an <a href="http://taoofmac.com/space/com/Apple/iPad" class="wiki" title="com/Apple/iPad was updated 2 years, 9 months ago">iPad</a> has a definite advantage in terms of how fast I can get online and logged into the box) and partly because I read news on it every morning. The watch though… I’d probably rank it lower.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/14/1938#rands--apple-hardware-hierarchy-of-need" title="link to http://taoofmac.com/space/links/2015/08/14/1938#rands--apple-hardware-hierarchy-of-need">&#x262F;</a></small> Fri, 14 Aug 2015 19:38:45 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/14/1938#rands--apple-hardware-hierarchy-of-need wiki Next iPad mini could have faster CPU, split-screen http://taoofmac.com/space/links/2015/08/12/1801 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/12/1801/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/12/1801/large.jpg" class="thumb" /></a></div> <p>I most certainly hope so – it’s the one piece of essential hardware I fully intend to upgrade this year.</p> <p>I just hope they don’t tweak the form factor again – I’d like to keep using my current folio keyboard cover.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/12/1801#next-ipad-mini-could-have-faster-cpu--split-screen" title="link to http://taoofmac.com/space/links/2015/08/12/1801#next-ipad-mini-could-have-faster-cpu--split-screen">&#x262F;</a></small> Wed, 12 Aug 2015 18:01:23 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/12/1801#next-ipad-mini-could-have-faster-cpu--split-screen wiki The Pac-Man Dossier http://taoofmac.com/space/links/2015/08/12/0823 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/12/0823/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/12/0823/large.jpg" class="thumb" /></a></div> <p>Respect.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/12/0823#the-pac-man-dossier" title="link to http://taoofmac.com/space/links/2015/08/12/0823#the-pac-man-dossier">&#x262F;</a></small> Wed, 12 Aug 2015 08:23:07 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/12/0823#the-pac-man-dossier wiki Docker http://taoofmac.com/space/os/Linux/Docker <div style="-webkit-border-radius: 8px; background-color: #ccf; color: #000; border: 1px solid #aaf; margin: 0; padding: 3px; overflow: hidden;"><i>This is an update to an item originally published on Monday, Sep 2<sup>nd</sup> 2013.</i></div><br clear="all"/><p>The new hotness in the Linux container space.</p> <table style="background:transparent; margin: 0px; padding: 0px; border-collapse: collapse;"> <thead> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <th align="left" style="border-bottom: 1px solid black; border-top: 2px solid black; padding: 4px; font-weight: bold;">Category</th> <th align="center" style="border-bottom: 1px solid black; border-top: 2px solid black; padding: 4px; font-weight: bold;">Date</th> <th style="border-bottom: 1px solid black; border-top: 2px solid black; padding: 4px; font-weight: bold;">Link</th> <th align="left" style="border-bottom: 1px solid black; border-top: 2px solid black; padding: 4px; font-weight: bold;">Notes</th> </tr> </thead> <tbody> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">CLI</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Aug‘15</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://github.com/j-bennet/wharfee" title="secure link to https://github.com/j-bennet/wharfee" class="https" rel="https://github.com/j-bennet/wharfee">Wharfee</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">A very nice CLI</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Registry</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Jul‘15</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://github.com/SUSE/Portus" title="secure link to https://github.com/SUSE/Portus" class="https" rel="https://github.com/SUSE/Portus">Portus</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">A registry front-end that works with the v2 registry and has some user management features.</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Base Images</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Jul‘15</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://github.com/gliderlabs/docker-alpine" title="secure link to https://github.com/gliderlabs/docker-alpine" class="https" rel="https://github.com/gliderlabs/docker-alpine">gliderlabs/alpine</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">a minimal base image that uses <a href="http://alpinelinux.org/" title="external link to http://alpinelinux.org/" class="http" rel="http://alpinelinux.org/">Alpine Linux</a></td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Orchestration</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Jul‘15</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="http://www.rancher.com" title="external link to http://www.rancher.com" class="http" rel="http://www.rancher.com">Rancher</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Manages Docker containers across a number of hosts, including load balancing and overlay networking, all with a nice GUI.</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Orchestration</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Jul‘15</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="http://http://lattice.cf" title="external link to http://http://lattice.cf" class="http" rel="http://http://lattice.cf">Lattice</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Another orchestration framework, this time developed by Pivotal.</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Development</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Sep‘14</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="http://www.fig.sh" title="external link to http://www.fig.sh" class="http" rel="http://www.fig.sh">fig</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">A simple way to bootstrap development environments</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Hosting</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Dec‘14</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://github.com/tobegit3hub/seagull" title="secure link to https://github.com/tobegit3hub/seagull" class="https" rel="https://github.com/tobegit3hub/seagull">Seagull</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">A Web UI for container management</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Hosting</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Apr‘13</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://coreos.com" title="secure link to https://coreos.com" class="https" rel="https://coreos.com">Core OS</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Lightweight distro focused on containers</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Hosting</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Sep‘14</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://github.com/Yelp/dockersh" title="secure link to https://github.com/Yelp/dockersh" class="https" rel="https://github.com/Yelp/dockersh">dockersh</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Segregate logged in users into different containers</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Networking</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Sep‘14</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://github.com/zettio/weave" title="secure link to https://github.com/zettio/weave" class="https" rel="https://github.com/zettio/weave">weave</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Router-based inter-host tunneling, with encryption</td> </tr> <tr style="font-size: 9pt; border-top: 1px solid #aaa;"> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Networking</td> <td align="center" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Feb‘15</td> <td style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;"><a href="https://github.com/socketplane/socketplane" title="secure link to https://github.com/socketplane/socketplane" class="https" rel="https://github.com/socketplane/socketplane">socketplane</a></td> <td align="left" style="min-width: 80px; margin: 0px; padding: 4px; vertical-align: top; border-top: 1px solid #aaa;">Auto-discovery and OVS for inter-host traffic</td> </tr> </tbody> </table> <h2 id="building-the-docker-registry-from-scratch-on-arm-too">Building The Docker Registry From Scratch (on ARM, too!)</h2> <p>Very simple, really, once you have <a href="http://taoofmac.com/space/dev/Golang" class="wiki" title="dev/Golang was updated 4 months, 2 weeks ago">Go</a> installed. Quite quick on a <a href="http://taoofmac.com/space/hw/RaspberryPi" class="wiki" title="hw/RaspberryPi was updated 9 months, 1 week ago">Raspberry Pi</a> 2, too:</p> <div class="syntax"><pre>export GOPATH=$HOME/go export PATH=$GOPATH/bin:$PATH # this fetches godep and golint go get github.com/tools/godep github.com/golang/lint/golint # this fetches and builds the registry go get github.com/docker/distribution/cmd/registry # test it with the default config $GOPATH/bin/registry $GOPATH/src/github.com/docker/distribution/cmd/registry/config.yml </pre></div> <!--<!-- https://github.com/fgrehm/docker-netbeans https://github.com/unbit/uwsgi-docker http://jsfiddle.net/djhU7/4/ -->--><br/><small><a href="http://taoofmac.com/space/os/Linux/Docker" title="link to http://taoofmac.com/space/os/Linux/Docker">&#x262F;</a></small><p> <div style="-webkit-border-radius: 8px; font-size: small; background-color: #ccc; color: #000; border: 1px solid #aaa; margin: 0; padding: 3px; overflow: hidden;"><p style="padding; 2px; margin: 2px;"><a title="" href="http://taoofmac.com/"><img align="left" alt="Tao of Mac Icon" src="http://taoofmac.com/img/pavatar48.png"/></a> "<a href="http://taoofmac.com/space/os/Linux/Docker"><strong>Docker</strong></a>" was written by <a href="http://taoofmac.com/RuiCarmo">Rui Carmo</a> for <a href="http://taoofmac.com">The Tao of Mac</a> and was originally posted on Monday, Sep 2<sup>nd</sup> 2013. Except as noted, it's &copy;2015 Rui Carmo and licensed for reuse under <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">CC BY-NC-ND 3.0</a>.</p> <p>As usual, please consider <a href="http://taoofmac.com/space/site/Donate">donating</a> towards hosting and bandwidth costs.</p> </div> </p> Tue, 11 Aug 2015 08:03:34 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/os/Linux/Docker wiki Hello, Windows 10 IoT Core http://taoofmac.com/space/links/2015/08/11/0637 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/11/0637/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/11/0637/large.jpg" class="thumb" /></a></div> <p>Even though this is the first release, the <a href="http://taoofmac.com/space/hw/RaspberryPi" class="wiki" title="hw/RaspberryPi was updated 9 months, 1 week ago">Raspberry Pi</a> support is not quite baked yet.</p> <p>Interestingly enough, the release notes talk about a “browser control”, which means that I’m going to have to take a look at it sometime. But lack of acceleration doesn’t bode well.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/11/0637#hello--windows-10-iot-core" title="link to http://taoofmac.com/space/links/2015/08/11/0637#hello--windows-10-iot-core">&#x262F;</a></small> Tue, 11 Aug 2015 06:37:01 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/11/0637#hello--windows-10-iot-core wiki Alphabet http://taoofmac.com/space/links/2015/08/10/2259 <div class="quicklook_holder drop-shadow lifted"><a title="" href="http://taoofmac.com/media/links/2015/08/10/2259/large.jpg" class="quicklook"><img alt="Click on the image to zoom in" src="http://taoofmac.com/pagethumb/links/2015/08/10/2259/large.jpg" class="thumb" /></a></div> <p>Okay, that was unexpected.</p><br/><small><a href="http://taoofmac.com/space/links/2015/08/10/2259#alphabet" title="link to http://taoofmac.com/space/links/2015/08/10/2259#alphabet">&#x262F;</a></small> Mon, 10 Aug 2015 22:59:54 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/links/2015/08/10/2259#alphabet wiki Rebuilding This Site, Slowly http://taoofmac.com/space/blog/2015/08/09/2000 <p>As the langour of Summer takes hold, I’m slowly piecing together my next hosting solution, and it’s far enough advanced that I can write about it at some length.</p> <p>First off, there’s the CMS itself. <a href="https://github.com/rcarmo/sushy" title="secure link to https://github.com/rcarmo/sushy" class="https" rel="https://github.com/rcarmo/sushy">Sushy</a> is far enough advanced that it’s been self-hosting for a couple of months, and can cope with most of what I can throw at it — except, for legacy formatting it needs to support so I can actually use it to host this site.</p> <p>Nothing major, really, just a lot of boring little details that need to be done, and that I’ve turned into a game of sorts by coding it in <a href="http://hylang.org" title="external link to http://hylang.org" class="http" rel="http://hylang.org">Hy</a> instead of plain <a href="http://taoofmac.com/space/dev/Python" class="wiki" title="dev/Python was updated 1 month, 2 weeks ago">Python</a>. </p> <p>Right now all I’m really missing (besides some fun surprises I want to toss in) are stuff like automatically generated tables, galleries, and other things that basic markup rendering simply couldn’t handle when I first implemented <a href="http://taoofmac.com/space/projects/Yaki" class="wiki" title="projects/Yaki was updated 1 year, 5 months ago">Yaki</a>, and that still aren’t available on <a href="http://taoofmac.com/space/markup/Markdown" class="wiki" title="markup/Markdown was updated 2 years, 8 months ago">Markdown</a> or <a href="http://taoofmac.com/space/markup/Textile" class="wiki" title="markup/Textile was updated 1 year, 3 months ago">Textile</a> today.</p> <p>I suspect I will eventually re-write <a href="https://github.com/rcarmo/sushy" title="secure link to https://github.com/rcarmo/sushy" class="https" rel="https://github.com/rcarmo/sushy">Sushy</a> in pure <a href="http://taoofmac.com/space/dev/Python" class="wiki" title="dev/Python was updated 1 month, 2 weeks ago">Python</a> for the sake of maintainability when I decide to move to <a href="http://taoofmac.com/space/dev/Python" class="wiki" title="dev/Python was updated 1 month, 2 weeks ago">Python</a> 3 in earnest, but the amount of sheer fun involved (and the simple, straighforward way the code is turning out) are keeping it fun, and that’s what counts.</p> <h2 id="reading-first-not-just-mobile-first">Reading First, not just Mobile First</h2> <p>I’ve also started to code a new design. I decided to start anew with something even plainer than this one, and eschewing — at least for the moment — stuff like web fonts and overwrought layouts. This is what it looks like right now:</p> <p><img src="http://taoofmac.com/media/blog/2015/08/09/2000/layout.jpg" style="max-width: 100%;" /></p> <p>Yes, it reads like a book, and yes, I’m sticking to serifs. This because there are too many gimmicks in web design these days, and given the amount of traffic I’m getting from retina-grade devices, I think it’s worth focusing on typography and readability a bit more — as well as rebuilding navigation from scratch, which is probably the biggest hurdle to overcome in the next few weeks (right after doing some long overdue content conversions).</p> <h2 id="containers-of-course-but-with-a-twist">Containers, of course, but with a twist</h2> <p>I’m also going to scale down my infrastructure a bit — advertising has never been enough to pay for hosting costs, and leveraging <a href="http://cloudflare.com" title="external link to http://cloudflare.com" class="http" rel="http://cloudflare.com">CloudFlare</a> and <a href="https://www.digitalocean.com/?refcode=5090627e4da5" title="secure link to https://www.digitalocean.com/?refcode=5090627e4da5" class="https" rel="https://www.digitalocean.com/?refcode=5090627e4da5">DigitalOcean</a> I’m positive I can cut on expenses <em>and</em> have a faster site.</p> <p>As to the nuts and bolts of the thing, after pondering whether to stick with my current <a href="http://en.wikipedia.org/wiki/LXC" title="link to LXC on en.wikipedia.org" class="interwiki" rel="Wikipedia:LXC">LXC</a> setup and doing a progressive migration or doing a complete reboot and using <a href="http://taoofmac.com/space/os/Linux/Docker" class="wiki" title="os/Linux/Docker was updated 3 days, 11 hours ago">Docker</a>, I decided to make things a lot easier for me and run the whole thing using <a href="https://github.com/progrium/dokku" title="secure link to https://github.com/progrium/dokku" class="https" rel="https://github.com/progrium/dokku">Dokku</a> — which is the simplest possible way to do <a href="http://taoofmac.com/space/os/Linux/Docker" class="wiki" title="os/Linux/Docker was updated 3 days, 11 hours ago">Docker</a> deployments (even without using <a href="http://taoofmac.com/space/os/Linux/Docker" class="wiki" title="os/Linux/Docker was updated 3 days, 11 hours ago">Docker</a> directly) and also enough to tweak if I need something extra.</p> <p>But the real reason is that I’ve always loved the <a href="http://heroku.com" title="external link to http://heroku.com" class="http" rel="http://heroku.com">Heroku</a> way of doing deployments (<code>git push</code> and you’re done).</p> <p>Plus, given the amount of time I’ve been spending thinking about immutable infrastructure and reproducible deployments I decided I’d better put my own money where my mouth is (so to speak), so I picked up an <a href="http://ansible.com" title="external link to http://ansible.com" class="http" rel="http://ansible.com">Ansible</a> playbook and <a href="https://github.com/rcarmo/ansible-dokku" title="secure link to https://github.com/rcarmo/ansible-dokku" class="https" rel="https://github.com/rcarmo/ansible-dokku">tweaked it</a> to deploy mainline <a href="https://github.com/progrium/dokku" title="secure link to https://github.com/progrium/dokku" class="https" rel="https://github.com/progrium/dokku">dokku</a> on a fresh VM in roughly five minutes.</p> <p>It then takes me about twice that time to get my content synced to it and a site running. I love <a href="http://ansible.com" title="external link to http://ansible.com" class="http" rel="http://ansible.com">Ansible</a> and heartily recommend it if you have a frequent need to bootstrap new environments or run herd on multiple machines, and it plays very nicely with <a href="https://github.com/progrium/dokku" title="secure link to https://github.com/progrium/dokku" class="https" rel="https://github.com/progrium/dokku">Dokku</a> too.</p> <p><a href="https://github.com/progrium/dokku" title="secure link to https://github.com/progrium/dokku" class="https" rel="https://github.com/progrium/dokku">Dokku</a>, in turn, isn’t perfect (I still cringe a little when I think about all the stuff that <code>buildstep</code> bakes into the containers it generates), but it works pretty well for me, and the overall solution seems solid in the sense that whatever happens, I can rebuild a new machine from scratch in minutes — <em>that</em> is the thing you want to go for in any kind of modern solution…</p> <p>It’s not as trouble-free as, say, a <a href="http://taoofmac.com/space/dev/Ruby/Jekyll" class="wiki" title="dev/Ruby/Jekyll was updated 6 days, 7 hours ago">Jekyll</a> site, but it doesn’t force me to run (and leave) a bunch of litter around my machines, either.</p> <p>And I like to have a simple, straightforward way to run multiple apps/services on a host — this site is actually composed of two or three different services working in concert, and being able to rebuild/redeploy/extend them with minimal hassle will go a long way towards making sure I spend my time pursuing more… rewarding endeavors.</p> <p>Like grabbing some ice cream and reading a book in peace and quiet, which pose enough of a challenge when combined on their own, but become nearly insurmountable trials in a household infested by that common but delightful plague known as… children.</p><br/><small><a href="http://taoofmac.com/space/blog/2015/08/09/2000#rebuilding-this-site--slowly" title="link to http://taoofmac.com/space/blog/2015/08/09/2000#rebuilding-this-site--slowly">&#x262F;</a></small><p> <div style="-webkit-border-radius: 8px; font-size: small; background-color: #ccc; color: #000; border: 1px solid #aaa; margin: 0; padding: 3px; overflow: hidden;"><p style="padding; 2px; margin: 2px;"><a title="" href="http://taoofmac.com/"><img align="left" alt="Tao of Mac Icon" src="http://taoofmac.com/img/pavatar48.png"/></a> "<a href="http://taoofmac.com/space/blog/2015/08/09/2000#rebuilding-this-site--slowly"><strong>Rebuilding This Site, Slowly</strong></a>" was written by <a href="http://taoofmac.com/RuiCarmo">Rui Carmo</a> for <a href="http://taoofmac.com">The Tao of Mac</a> and was originally posted on Sunday, Aug 9<sup>th</sup> 2015. Except as noted, it's &copy;2015 Rui Carmo and licensed for reuse under <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">CC BY-NC-ND 3.0</a>.</p> <p>As usual, please consider <a href="http://taoofmac.com/space/site/Donate">donating</a> towards hosting and bandwidth costs.</p> </div> </p> Sun, 09 Aug 2015 20:00:00 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/blog/2015/08/09/2000#rebuilding-this-site--slowly wiki Jekyll http://taoofmac.com/space/dev/Ruby/Jekyll <p>Having become nearly ubiquitous thanks to <a href="http://pages.github.com" title="external link to http://pages.github.com" class="http" rel="http://pages.github.com">GitHub Pages</a>, <a href="http://jekyllrb.com" title="external link to http://jekyllrb.com" class="http" rel="http://jekyllrb.com">Jekyll</a> is something I’ve had to put up with often enough that I’ve developed a number of strategies to avoid polluting my system with brittle <a href="http://taoofmac.com/space/dev/Ruby" class="wiki" title="dev/Ruby was updated 1 year, 1 month ago">Ruby</a> gems over the years.</p> <p>These days I tend to use <code>bundler</code>, but even that is fraught with breakage and all too frequent corner cases. Still, one manages…</p> <p>Here is my typical setup:</p> <h2 id="gemfile">Gemfile</h2> <div class="syntax"><pre>source &#39;https://rubygems.org&#39; gem &#39;github-pages&#39; </pre></div> <h2 id="makefile">Makefile</h2> <div class="syntax"><pre><span class="c"># You should have bundler installed (sudo gem install bundler on vanilla OSX)</span> <span class="c"># On Yosemite, brew install libxml2 libxslt is your friend, too.</span> <span class="c"># On Windows/Cygwin, you need to make sure these are installed:</span> <span class="c"># - ruby-bundler</span> <span class="c"># - ffi-devel</span> <span class="c"># - gmp-devel</span> <span class="c"># - libxml2-devel</span> <span class="c"># - libxslt-devel</span> <span class="c"># - libiconv-devel</span> <span class="c"># ...and that your PATH includes ~/bin. </span> <span class="c"># Also, nokogiri 1.6.6.2 needs to be installed before the bundle like this:</span> <span class="c"># gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib --with-xslt-dir=/usr/include/libxslt --with-iconv-include=/usr/include --with-iconv-lib=/usr/lib</span> <span class="nf">deps</span><span class="o">:</span> bundle install <span class="nf">serve</span><span class="o">:</span> bundle <span class="nb">exec </span>jekyll serve --watch </pre></div><br/><small><a href="http://taoofmac.com/space/dev/Ruby/Jekyll" title="link to http://taoofmac.com/space/dev/Ruby/Jekyll">&#x262F;</a></small><p> <div style="-webkit-border-radius: 8px; font-size: small; background-color: #ccc; color: #000; border: 1px solid #aaa; margin: 0; padding: 3px; overflow: hidden;"><p style="padding; 2px; margin: 2px;"><a title="" href="http://taoofmac.com/"><img align="left" alt="Tao of Mac Icon" src="http://taoofmac.com/img/pavatar48.png"/></a> "<a href="http://taoofmac.com/space/dev/Ruby/Jekyll"><strong>Jekyll</strong></a>" was written by <a href="http://taoofmac.com/RuiCarmo">Rui Carmo</a> for <a href="http://taoofmac.com">The Tao of Mac</a> and was originally posted on Saturday, Aug 8<sup>th</sup> 2015. Except as noted, it's &copy;2015 Rui Carmo and licensed for reuse under <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">CC BY-NC-ND 3.0</a>.</p> <p>As usual, please consider <a href="http://taoofmac.com/space/site/Donate">donating</a> towards hosting and bandwidth costs.</p> </div> </p> Sat, 08 Aug 2015 11:47:27 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/dev/Ruby/Jekyll wiki QNX http://taoofmac.com/space/os/QNX <div style="-webkit-border-radius: 8px; background-color: #ccf; color: #000; border: 1px solid #aaf; margin: 0; padding: 3px; overflow: hidden;"><i>This is an update to an item originally published on Thursday, Dec 9<sup>th</sup> 2004.</i></div><br clear="all"/><p><a href="http://www.qnx.com" title="external link to http://www.qnx.com" class="http" rel="http://www.qnx.com">QNX</a> is probably the most successful commercial real-time <a href="http://taoofmac.com/space/com/Palm/OS" class="wiki" title="com/Palm/OS was updated 12 years, 3 weeks ago">OS</a>, with a number of interesting features and a sizable development community.</p> <p>I was tracking it for years, and then it got bought out and all the interesting public bits were essentially run into the ground by Research In Motion.</p> <h3>Resources:</h3> <ul> <li><a href="http://en.wikipedia.org/wiki/QNX" title="link to QNX on en.wikipedia.org" class="interwiki" rel="Wikipedia:QNX">Wikipedia</a></li> <li><a href="http://taoofmac.com/space/com/Mozilla" class="wiki" title="com/Mozilla was updated 11 years, 4 days ago">Mozilla</a> <a href="http://www.qnxzone.com/~amardare/mozilla/1.7/" title="external link to http://www.qnxzone.com/~amardare/mozilla/1.7/" class="http" rel="http://www.qnxzone.com/~amardare/mozilla/1.7/">ports</a></li> </ul><br/><small><a href="http://taoofmac.com/space/os/QNX" title="link to http://taoofmac.com/space/os/QNX">&#x262F;</a></small><p> <div style="-webkit-border-radius: 8px; font-size: small; background-color: #ccc; color: #000; border: 1px solid #aaa; margin: 0; padding: 3px; overflow: hidden;"><p style="padding; 2px; margin: 2px;"><a title="" href="http://taoofmac.com/"><img align="left" alt="Tao of Mac Icon" src="http://taoofmac.com/img/pavatar48.png"/></a> "<a href="http://taoofmac.com/space/os/QNX"><strong>QNX</strong></a>" was written by <a href="http://taoofmac.com/RuiCarmo">Rui Carmo</a> for <a href="http://taoofmac.com">The Tao of Mac</a> and was originally posted on Thursday, Dec 9<sup>th</sup> 2004. Except as noted, it's &copy;2015 Rui Carmo and licensed for reuse under <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">CC BY-NC-ND 3.0</a>.</p> <p>As usual, please consider <a href="http://taoofmac.com/space/site/Donate">donating</a> towards hosting and bandwidth costs.</p> </div> </p> Thu, 06 Aug 2015 22:32:00 GMT Rui Carmo The Tao of Mac http://taoofmac.com/space/os/QNX wiki