<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Legends of the Sun Pig: Everything (blog, reviews, et al.)</title>
    <link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/" />
    <link rel="self" type="application/atom+xml" href="http://www.sunpig.com/martin/feeds/everything-atom.xml" />
    <id>tag:www.sunpig.com,2008-02-11:/martin//everything</id>
    <updated>2012-01-29T15:53:37Z</updated>
    <subtitle>Combined feed for Legends of the Sun Pig: blog, reviews, and other stuff.</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 5.11</generator>

<entry>
	<title>Half-way points</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2012/01/29/half-way-points.html" />	
	
	<id>tag:www.sunpig.com,2012:/martin//2.2300</id>
    
	<published>2012-01-29T15:14:27Z</published>
	<updated>2012-01-29T15:53:37Z</updated>
    
	<summary>My parents are visiting this weekend, and earlier today we went out for a delightful brunch at Hotel Akersloot. We were talking about societal and technological progress, and I was struck by an interesting date calculation. We moved to the Netherlands (for the first time) in 1978, which is half-way...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>My parents are visiting this weekend, and earlier today we went out for a delightful brunch at <a href="http://valk.com/akersloot">Hotel Akersloot</a>. We were talking about societal and technological progress, and I was struck by an interesting date calculation. We moved to the Netherlands (for the first time) in 1978, which is half-way between the end of the Second World War and Right Now. 33 years from the autumn of 1945 to the autumn of 1978, and another 33 (and a bit) years from 1978 to January 2012.</p>

<p>Which is kind of, wow. Huge changes in both of those periods, but it feels to me that the years from 1945 - 1978 were more significant. Perhaps that's because I wasn't around to experience the changes first-hand; things I have seen and events I have watched myself seem more ordinary than events I've only read about in historical records.</p>

<p>But I suppose that when Alex and Fiona are my age, and compare the period 1978 - 2012 to the decades they will have lived through, they will think that those years were more significant: the fall of the Soviet Union, the unification of Europe, the dawn of the internet and instant, universal access to information.</p>

<p>Interesting times. I wonder what comes next?</p>

<h3>Further reading:</h3>
<ul>
<li><a href="http://www.antipope.org/charlie/blog-static/2012/01/world-building-301-some-projec.html">Charlie Stross - World building 301: some projections</a></li>
<li><a href="www.antipope.org/charlie/blog-static/2012/01/world-building-302-psychology.html">Charlie Stross - World building 302: psychology, beliefs, and other times</a></li>
<li><a href="www.antipope.org/charlie/blog-static/2012/01/world-building-404-the-unknown.html">Charlie Stross - World building 404: The unknown unknowns</a></li>
</ul>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Site protest blackouts with .htaccess</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2012/01/17/site-protest-blackouts-with-htaccess.html" />	
	
	<id>tag:www.sunpig.com,2012:/martin//2.2299</id>
    
	<published>2012-01-17T16:43:20Z</published>
	<updated>2012-01-17T22:12:06Z</updated>
    
	<summary>Many sites are going to go dark tomorrow (18 January 2012) in protest of the SOPA and PIPA bills currently before US congress. I&apos;m helping Making Light do this, and I thought I&apos;d make a quick note of how we&apos;re going about it. Google recommends using HTTP 503 &quot;Service Unavailable&quot;...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>Many sites are going to go dark tomorrow (18 January 2012) in protest of the SOPA and PIPA bills currently before US congress. I'm helping <a href="http://nielsenhayden.com/makinglight/archives/013461.html">Making Light do this</a>, and I thought I'd make a quick note of how we're going about it.</p>

<p><a href="https://plus.google.com/115984868678744352358/posts/Gas8vjZ5fmB">Google recommends using HTTP 503 "Service Unavailable" status codes</a>. The 503 code indicates that the service (or page, or site) is temporarily unavailable, but that it is expected back again soon. This is better than using the 404 (not found), 302 (
moved temporarily), or 301 (moved permanently) codes, because it tells web crawlers that they should just come back and try again later.</p>

<p>If your site is running on Apache, and is allowed to use mod_rewrite, you can set up a site-wide 503 page with the following steps:</p>

<ol>
<li>Create an HTML page called 503.html, and upload it in the root of your site. This is just a normal HTML page - no special code needed. Here's an example: <a href="http://sunpig.com/503_sopa.html">503_sopa.html</a></li>
<li>If you don't already have an .htaccess file for your site, create one (it also goes in the root of your site). If you do already have one, add the following code to the top of the file, but <strong>read the notes before you do so</strong>:</li>
</ol>

<pre class="code"><code class="htaccess"># =====================
# SOPA Blackout 
# =====================

&lt;IfModule mod_rewrite.c&gt;
# Set a custom error document for 503 errors
ErrorDocument 503 /503_sopa.html

# Cause all requests (except images) to generate a 503 error,
# which will produce the custom 503 error document
RewriteEngine on
RewriteBase /
RewriteCond %{ENV:REDIRECT_STATUS} !=503
RewriteCond %{REMOTE_HOST} !^111\.111\.111\.111$
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif) [NC]
RewriteCond %{REQUEST_URI} !robots\.txt$ [NC]
RewriteRule ^ - [L,R=503]
&lt;/IfModule&gt;</code></pre>

<p><strong>Important notes</strong> on this snippet:</p>

<ul>
	<li>The "<code>REMOTE_HOST</code>" line contains an IP address that will be excluded from the blackout rules. Change the IP address listed (111.111.111.111) to your own. This will allow <em>you</em> to keep using your site (and its back-end features, like Movable Type or Wordpress), but everyone else will just see the 503 page. If you want to preserve access to your site from multiple IP addresses, you can add multiple <code>REMOTE_HOST</code> lines.</li>
	<li>The first "<code>REQUEST_URI</code>" line contains exceptions for image files. If you want to serve up an image as part of your 503 file, you need this line, otherwise images will return 503 errors as well. If you don't need an image, or if you are using images hosted elsewhere, you can remove this line.</li>
	<li>The second "<code>REQUEST_URI</code>" line ensures that the file robots.txt on your site will be served up normally, without a 503 error.</li>
</ul>

<p>When you want to restore access to your site, simply remove the code from your .htaccess file, and you'll be back to normal again.</p>

<p><b>Update:</b> <a href="http://borkweb.com/">Matthew Batchelder</a> has a nifty update that uses mod_rewrite date conditions to automatically switch on the 503 redirect rule on 18th January 2011: <a href="http://borkweb.com/story/preparing-a-site-for-sopa-blackout-with-htaccess">Preparing a Site for SOPA Blackout with .htaccess</a></p>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>My most-played albums of 2011</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2012/01/16/my-most-played-albums-of-2011.html" />	
	
	<id>tag:www.sunpig.com,2012:/martin//2.2298</id>
    
	<published>2012-01-16T00:21:13Z</published>
	<updated>2012-01-16T15:39:14Z</updated>
    
	<summary>I have two modes of listening to music: whole-album, and best-of. Sometimes I like to listen to a whole album, all the way through, again and again. And sometimes I like to listen to a random selection of my favourite tunes on shuffle. My iTunes library is organized accordingly. When...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>I have two modes of listening to music: whole-album, and best-of. Sometimes I like to listen to a whole album, all the way through, again and again. And sometimes I like to listen to a random selection of my favourite tunes on shuffle.</p>

<p>My iTunes library is organized accordingly. When I download a new album, I create a new playlist for it, using the year in which I bought it, the band name, and album title (e.g. "2011 Aberfeldy</td><td>Somewhere To Jump From"). I add metadata to the comments to keep track of where I got it from, and the exact date on which I added it (e.g. "sunpig:acquired=20110206;sunpig:source=emusic.com"). Finally, I use iTunes' star ratings to rate individual tracks. <em>Slightly</em> obsessive, but I like the way it gives me a view of what I was listening to in a given year. (iTunes doesn't track listens by date--I wish it did--but I'm guessing that at least 80% of my listens happen in a 6-month period after initial acquisition.)</p>

<p>According to my library, I bought 76 albums in 2011. (For comparison: 2005 = 87, 2006 = 71, 2007 = 81, 2008 = 73, 2009 = 59, 2010 = 57.) Of those 76, there were 20 that I had played all the way through at last 10 times at the end of the year. (Technically: I have listened to each individual track on the album at least 10 times, but that's a good enough metric for me.) Here's the list, sorted alphabetically by artist.</p>

<ul>

<li><b>Aberfeldy - <i><a href="http://aberfeldy.bandcamp.com/album/somewhere-to-jump-from">Somewhere To Jump From</a></i></b>
<p>Another delightful album from Aberfeldy. Light melodic pop drifting from humorous to melancholy with practiced ease. I've never come across an album with closing credits before. They're quirky and uniquely fitting. Don't you go changing.</p>
</li>

<li><b><a href="http://bttls.com/">Battles</a> - <i>Gloss Drop</i></b>
<p>More accessible, and more consistent than their first album <i>Mirrored</i>. A fantastic mix of experimental rhythms and furious driving beats. <a href="http://www.youtube.com/watch?v=pkgQ88G8Hj8">Video: "My Machines" feat. Gary Numan.</a></p>
</li>

<li><b><a href="http://beastieboys.com/">Beastie Boys</a> - <i>Hot Sauce Committee Part Two</i></b>
<p>I was disappointed at first that there wasn't anything on the album quite as catchy as the lead single "<a href="http://www.youtube.com/watch?v=WdgLMslbDuY&ob=av2e">Make Some Noise</a>," but it definitely grew on me. Fun and funky.</p>
</li>

<li><b>Bibio - <i><a href="http://warp.net/records/releases/bibio/mind-bokeh">Mind Bokeh</a></i></b>
<p>One of my favourite tracks of the whole year is "Anything New", which is distilled summer in a crystal goblet. A couple of other up-tempo moments punctuate a chilled-out ambient soundscape.</p>
</li>

<li><b><a href="http://bigmovesband.com/">Big Moves</a> - <i>In the Beginning</i></b>
<p>My favourite band discovery of the year. Big Moves are an indie band from Los Angeles. This album has a playful yet very <em>precise</em> sound that reminds me a lot of the Long Blondes - especially singer Jess Imme's vocals on "Brontosaurus" - but with a generous helping of jazzy meanderings ("Blue Rose"). <a href="http://www.youtube.com/watch?v=JVWsb3Rhs1c">Video: "Stegosaurus"</a>.</p>
</li>

<li><a href="http://bigmovesband.bandcamp.com/album/lanterns-ep"><b>Big Moves - <i>Lanterns EP</i></a></b>
<p>One bored afternoon in October I was browsing Last.fm for some new music recommendations. Big Moves came up, I followed the link to Youtube, and watched the video for "<a href="http://www.youtube.com/watch?v=j4mYXT-8_sQ">Groundbreaking Studies</a>". Then I watched it again. And again. And again. How can a song this good still only have less than 2000 views on it? The song is lush, energetic, and exuberant. The band takes the jazzy indie rock style they displayed on <i>In The Beginning</i> and turns it up to 11. It's <em>awesome</em>. The rest of the EP is fantastic as well.</p>
</li>

<li><b>Cee Lo Green - <i>The Lady Killer</i></b>
<p>Of all the albums in this list, this is the only one I don't listen to any more. I loved it at the start of the year, but now it bores me.</p>
</li>

<li><b>Dananananaykroyd - <i>There Is A Way</i></b>
<p><a href="http://sunpig.com/martin/archives/2011/11/08/there-was-a-way.html">Just amazing, as I have mentioned before</a>. <a href="http://www.youtube.com/watch?v=zl2rqOfG8Ao">Video: "Muscle Memory"</a></p>
</li>

<li><b><a href="http://www.foofighters.com/">Foo Fighters</a> - <i>Wasting Light</i></b>
<p>Great solid rock. The Foo Fighters on top form. The <a href="http://www.youtube.com/watch?v=4PkcfQtibmU">video for "Walk"</a> is a neat spoof of <a href="http://uk.imdb.com/title/tt0106856/">Falling Down</a>.</p>
</li>

<li><http://www.wearefriendlyfires.com/><b>Friendly Fires - <i>Pala</i></http://www.wearefriendlyfires.com/></b>
<p>I loved Friendly Fires' first album, and <i>Pala</i> is a great follow-up. Steamy and smooth tropical dance sounds. After seeing their performance at T In The Park on the BBC, I was really looking forward to catching them live at Melkweg in December, but they had to cancel. Sad Panda. <a href="http://www.youtube.com/watch?v=bhdVV58l0vA">Weird video: "Hurting"</a></p></li>

<li><b><a href="http://frightenedrabbit.com/">Frightened Rabbit</a>  - <i>The Winter Of Mixed Drinks</i></b>
<p>I somehow missed out on Frightened Rabbit's second album <i>The Midnight Organ Fight</i>, so my baseline was their debut, <i>Sings The Greys</i>, which is a fairly subdued, moody affair. They have taken that moody, slightly folky feel, and turned up the power. This album is exultantly alive with anthems like "<a href="http://www.youtube.com/watch?v=X1Lf7mriehU">The Loneliness And The Scream</a>" and "<a href="http://www.youtube.com/watch?v=pfpXLu62hGE">Living In Colour</a>". These guys are now on my "must-see-live" list.</p></li>

<li><b><a href="http://newmusicensemble.org/">Grand State Valley University New Music Ensemble</a>  - <i>Steve Reich's Music for 18 Musicians</i></b><p>I went through a bit of a Steve Reich phase in the spring, after noticing the <a href="http://www.last.fm/festival/1837880+World+Minimal+Music+Festival">World Minimal Music Festival</a> <em>just after it was over</em>. Must not make that mistake again next year. The GSVU version of <i>Music for 18 Musicians</i> is crisp and clear and glorious. <a href="http://www.youtube.com/watch?v=CHVMVDhC-UA">Trailer video</a>.</p></li>

<li><b><a href="http://www.mogwai.co.uk/">Mogwai</a> - <i>Hardcore Will Never Die, But You Will </i></b>
<p>Vast, sprawling, lush. Classic Mogwai.</p></li>

<li><b><a href="http://www.weareskylarkin.com/">Sky Larkin</a>  - <i>Kaleide</i></b>
<p>Last.fm recommended Sky Larkin to me based on similarity to Dananananaykroyd. I didn't see at at first, because their vocal styles are so radically different, but the rest of their music shares a lot of common themes: heavy rock-infused pop, with unorthodox song structures. <i>Kaleide</i> is a rich and complex album, and my favourite tracks have shifted around a lot since I started listening to it. For now, I've settled on liking "<a href="http://www.youtube.com/watch?v=nvCQlTkVLJ0">ATM</a>" most of all.</p></li>

<li><b><a href="http://decemberists.com/">The Decemberists</a> - <i>The King Is Dead</i></b>
<p>Unlike the myth-tinged unity of their previous album <i>The Hazards of Love</i>, <i>The King is Dead</i> is "just" a collection of songs. A <em>great</em> collection of <em>beautiful</em> songs, from the peppy REM-ish "Calamity Song" to the sparse, haunting simplicity of "June Hymn." I caught them live in Paradiso in March, and they were fantastic. Take any opportunity you get to see them.</p>
</li>

<li><b>The Joy Formidable - <i>The Big Roar</i></b>
<p>I wasn't sure if this album should count for 2011, because it includes most of the same songs as their EP <i>A Balloon Called Moaning</i>, which I listened to a lot in 2010. But it's too good to leave out. Muscular yet dreamy rock, somewhat reminiscent of Ladytron, but all guitars and no synths. Surprise moment: when I came across their anthem "<a href="http://www.youtube.com/watch?v=W66yhfMb4d0">Cradle</a>" backing a <a href="http://www.youtube.com/watch?v=C8hPkDUIOSU">trailer for the new Ratchet &amp; Clank game</a>.</p>
</li>

<li><b>Tom Waits - <i>Bad As Me</i></b>
<p>Brilliant, as always. <a href="http://www.youtube.com/watch?v=xHn_Kb4Dz40">Video: "Satisfied"</a>.</p>
</li>

<li><b><a href="http://www.underworldlive.com/">Underworld</a> - <i>Barking</i></b>
<p>Attaching the word "mature" to techno feels <em>wrong</em>, but that's what <i>Barking</i> is: practiced, polished, and highly accomplished. Underworld are mainstream now. I still love the album, but it occasionally makes me feel old. <a href="http://www.youtube.com/watch?v=RR98qq9iHmw">Video: "Bird 1"</a>.</p>
</li>

<li><a href="http://unitedfruit.bandcamp.com/"><b>United Fruit - <i>Fault Lines</i></b></a>
<p>I grabbed this because United Fruit were playing support for Dananananaykroyd on their Glasgow gig in October, and it turns out to be an effective hard rock album. They're good live, too.</p>
</li>

<li><b><a href="http://www.zoeyvangoey.com/">Zoey van Goey</a> - <i>The Cage Was Unlocked All Along</i></b>
<p>Interesting that this list starts with Aberfeldy, and ends with Zoey van Goey, because their musical styles are quite similar. Sweet, airy, and melodic pop with excursions into the hauntingly melancholic. <a href="http://www.youtube.com/watch?v=W3h7nmL9PKM">Video: "We Don't Have That Kind Of Bread"</a>.</p>
</li>

</ul>

<p>Notable omission: <a href="http://aidanmoffat.co.uk/">Aidan Moffat</a> + The Best Ofs - <i>How To Get To Heaven From Scotland</i>. I love this album, and it would have had a higher play count if I'd bought it earlier in the year.</p>
]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Some rambling thoughts about self-published ebooks</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2012/01/06/some-rambling-thoughts-about-self-published-ebooks.html" />	
	
	<id>tag:www.sunpig.com,2012:/martin//2.2297</id>
    
	<published>2012-01-06T22:44:11Z</published>
	<updated>2012-01-09T01:43:13Z</updated>
    
	<summary>One of the most interesting (and entertaining) things I&apos;ve read about the publishing industry is Teresa Nielsen Hayden&apos;s Slushkiller. It deals with the manuscript submission stage, where authors send their work to a publisher, and an editor decides whether they should publish it. Teresa gives a blunt yet whimsical list...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>One of the most interesting (and entertaining) things I've read about the publishing industry is Teresa Nielsen Hayden's <a href="http://nielsenhayden.com/makinglight/archives/004641.html">Slushkiller</a>. It deals with the manuscript submission stage, where authors send their work to a publisher, and an editor decides whether they should publish it. Teresa gives a blunt yet whimsical list of reasons a manuscript is typically rejected:</p>

<blockquote cite="http://nielsenhayden.com/makinglight/archives/004641.html">
<ol>
  <li value="1">Author is functionally illiterate.</li>
  <li value="2">Author has submitted some variety of literature we don't publish: poetry, religious revelation, political rant, illustrated fanfic, etc.</li>
  <li value="3">Author has a serious neurochemical disorder, puts all important words into capital letters, and would type out to the margins if MSWord would let him.</li>
</ol>
<p>...</p>
<ol>
  <li value="12">Author is talented, but has written the wrong book.</li>
  <li value="13">It's a good book, but the house isn't going to get behind it, so if you buy it, it'll just get lost in the shuffle.</li>
</ol>
</blockquote>

<p>Stage 14 is not a rejection, but rather "Buy this book" &mdash; the point at which the publishing house decides to put the book into production.</p>

<p>The reason this list is on my mind is because I have recently read two self-published ebooks that are probably 13s, specifically <a href="http://www.harryjconnolly.com/blog/?page_id=5822&amp;shopp_pid=1">Twenty Palaces</a> by <a href="www.harryjconnolly.com/blog/">Harry Connolly</a>, and <a href="http://www.orcutt.net/weblog/a-real-piece-of-work/">A Real Piece of Work</a> by <a href="http://www.orcutt.net/weblog/">Chris Orcutt</a>.</p>

<p>The interesting thing about stage 13 books is that they are good enough be published, and importantly: good enough that a certain number of readers would enjoy them, and pay cash money for the privilege. If an author knows that their book is at stage 13, it may make sense for them to self-publish and try to reach that audience directly. Here are some reasons that can stop a book from being published, but that would <em>not</em> stop me from buying it:</p>

<ul>
  <li>Books in a series I enjoy that has not sold as well as the publisher hoped it would. (E.g. <a href="http://www.harryjconnolly.com/blog/?p=5488"><i>Twenty Palaces</i></a>)</li>
  <li>Books of a genre and type that home in on my taste like a guided missile, but where the author hasn't yet convinced a publisher to take the financial risk of launching the series. (E.g. <i>A Real Piece of Work</i>)</li>
  <li>Books that have been published before, but are now out of print, and whose rights have reverted to the author. (What was popular in the 1970s might not be mass-marketable any more.)</li>
</ul>

<p>As a reader, I like the idea of these stage 13 books being available for purchase, in the same way that I like artists releasing music directly on <a href="http://soundcloud.com/">soundcloud</a> or <a href="http://bandcamp.com/">bandcamp</a> instead of (or as well as) through a major label album publishing deal. (My favourite examples right now: <a href="http://soundcloud.com/slimes">Slimes</a> and <a href="http://bigmovesband.bandcamp.com/">Big Moves</a>.) Just looking at it on a purely numerical basis, the fact that authors are willing to put stage 13 books on the market directly means that there are more books available that I might really like.</p>

<p>For the record, I don't think that all authors should publish this way, and I don't think that in the future all authors <em>will</em> self-publish. Authors <em>write</em>. They don't necessarily do editing, artwork, typesetting (yes, ebooks <em>do</em> improve with proper typography), marketing, sales support, or any of the other numerous things that come into play when you start to sell books in volume. Right now, publishers act as a one-stop shop for all these services, and I'm sure they will continue to do so. I don't know exactly what the future of publishing holds, but I imagine that the shift towards ebooks will create scope for new ventures: smaller-scale niche publishing houses, writer's collectives, and blue-sky innovative startups.</p>

<p>Of course, if authors can put stage 13 books on the market, then what's to stop them from sticking any old slush into an ePub and calling it silver? How do I know if a self-published ebook is a 13 that a publisher regretfully declined, or if it's the laughing-stock of every editor in the business? Amazon doesn't require you to have purchased an item before you can review it; most people can convince friends and family to drop a couple of 5-star reviews on them. But market distortion like that is hard to keep up in the long run. I think that in the end a little bit of general-purpose bullshit detection will help me steer clear of the worst dross, just as reviews, blogs, and word-of-mouth will steer me towards the best stuff. Which sounds pretty much like how I find most of my books already.</p>

<p>So although self-publishing holds benefits for me as a reader, whether it's a good thing for <em>authors</em> is an entirely different matter. Self-publishing is going to enable a much deeper long tail of books in print than we have right now. This does not mean that we will all read more lesser-known works, and fewer bestsellers. The "recommendation problem," described in great depth by Paul Lamere in his article "<a href="http://musicmachinery.com/2009/03/26/help-my-ipod-thinks-im-emo-part-1/">Help! My iPod thinks I'm emo</a>" applies to books as well as music. I reckon that self-publishing will bring fame and fortune to a lucky few, but only the satisfaction of craftsmanship itself to the vast majority. As with any lottery, one should beware of <a href="http://en.wikipedia.org/wiki/Selection_bias">selection</a> and <a href="http://en.wikipedia.org/wiki/Confirmation_bias">confirmation bias</a>.</p>

<p>So if writing is a hobby for an author, and a previously rejected novel can be enjoyed by a couple of hundred readers around the world, is that a good thing, or a bad thing? Does it sap the author's ambition to strive for something greater, or does it bring them hard-earned satisfaction? Does it diminish the popularity of a well-loved full-time writer who sells books by the tens of thousands? Does wider availability of "good" reduce the reading public's appetite for "great"?</p>

<p>Personally, I don't come to the end of a good book and think, "There! My work here is done." The end of a good book leaves me hungry for <em>more</em>. That's really what makes me happy: more of what I like. I'm inclined to think that self-published ebooks work in my favour here.</p>
]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Styling the at sign in DIN</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/12/03/styling-the-at-sign-in-din.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2296</id>
    
	<published>2011-12-03T13:41:16Z</published>
	<updated>2012-01-16T12:54:56Z</updated>
    
	<summary>FF DIN is a fantastic font. It&apos;s clear and authoritative, but with loads of personality. Once you get to know it (thanks Mark!), you start seeing it everywhere. It&apos;s particularly delicious for all-caps titling, but it works equally well as a body text font. The only problem with DIN is...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p><a href="http://dinfont.com/">FF DIN</a> is a fantastic font. It's clear and authoritative, but with loads of personality. Once you get to know it (thanks <a href="http://twitter.com/flightresponse">Mark</a>!), you start seeing it everywhere. It's particularly delicious for all-caps titling, but it works equally well as a body text font.</p>

<p class="center"><img src="http://sunpig.com/martin/images/2011/arctic-weapon.png" alt="The text ARCTIC WEAPON, set in DIN" /></p>

<p>The only problem with DIN is the default at sign (@), which looks like ass.</p>

<p class="center"><img src="http://sunpig.com/martin/images/2011/ass-at.png" alt="email address with the default DIN at sign" /></p>

<p>Fortunately, DIN comes with a set of alternate glyphs built in, which you can access through <a href="http://en.wikipedia.org/wiki/OpenType">OpenType</a>'s <i>stylistic alternates</i> feature. One of those alternate glyphs is a version of the at sign that actually looks like an at sign rather than a half-melted "id" ligature.</p>

<p class="center"><img src="http://sunpig.com/martin/images/2011/awesome-at.png" alt="email address with the alternate DIN at sign"/></p>

<p>You can usually select OpenType stylistic alternates from the advanced font options dialog of your graphics or word processing program. In Pixelmator for OS X, for example, you open up the fonts dialog, click on the tools button, select the "Typography" option, and then choose an alternative stylistic set in the Typography dialog. In Word 2011, you open up the fonts dialog by selecting "Font..." from Format menu; stylistic sets are shown in the "Advanced typography" section of the Advanced tab.</p>

<p>Unfortunately, although CSS3 includes a <code><a href="http://www.w3.org/TR/css3-fonts/#propdef-font-variant-alternates">font-variant-alternates</a></code> property with which you can select alternate glyphs, there aren't any browsers that support this yet. Bummer. So if you want to use DIN on the web, you're either stuck with the ass-at, or you have to use a workaround.</p>

<p>One way is to wrap at signs in a <code>&lt;span&gt;</code>, so you can set their style explicitly, as suggested by Dan Cedarholm in his article <a href="http://simplebits.com/notebook/2008/08/14/ampersands-2/">Use the Best Available Ampersand</a>.</p>

<code class="html"><pre>monkey&lt;span class="awesomat"&gt;@&lt;/span&gt;example.com</pre></code>

<p>But <a href="http://allinthehead.com/">Drew McLellan's</a> article <a href="http://24ways.org/2011/unicode-range">Creating Custom Font Stacks with Unicode-Range</a> in this year's <a href="http://24ways.org/">24 Ways</a> advent calendar suggests an intriguing potential alternative. The concept is that the <code>@font-face</code> rule allows you to select which unicode characters the webfont will be used for by setting the <code>unicode-range</code> property. Single out the ampersand (U+0026) or the at sign (U+0040) for special treatment, and Bob's your uncle.</p>

<p>The difference is that for awesompersands you are trying to <em>add</em> a font for a single character, whereas for DIN awesomats, I want to <em>remove</em> font styling for a single character. The <code>unicode-range</code> property obliges nicely here, because it accepts multiple ranges:</p>

<pre><code class="css">@font-face {
  font-family: 'dinregular';
  url('font/DINWeb.woff') format('woff');
  unicode-range:U+0-3F,U+41-10FFFF; /* Everything but the @ */
}</code></pre>

<p>Browsers that don't handle <code>unicode-range</code> will ignore it, and fall back to showing DIN for all characters, even the @. Which is fine.</p>

<p>In terms of typography, however, the drawback of this technique is that the plain font to be used for the U+40 unicode character may have a different <a href="http://en.wikipedia.org/wiki/X-height">x-height</a> than the DIN of the surrounding text, so the at sign may look out of place &mdash; too large or too small. And the <code>@font-face</code> rule doesn't allow a <code>font-size</code> property inside it, so you can't tweak the font sizes to match each other. Hmm.</p>

<p>On balance, I think I'll stick to wrapping my DIN at signs in a <code>&lt;span&gt;</code> until <code>font-variant-alternates</code> appears, but it's a nifty technique to be aware of.</p>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Twenty Palaces</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/11/26/twenty-palaces.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2295</id>
    
	<published>2011-11-26T20:42:28Z</published>
	<updated>2012-01-17T11:39:55Z</updated>
    
	<summary>When it comes to fiction, in general, I&apos;m a two-genre kind of guy: mysteries and science fiction. There are exceptions, of course, but as a rule historical and faux-historical settings don&apos;t appeal to me. This takes out a lot of fantasy and nixes steampunk as an SF sub-genre. (Even Sue...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>When it comes to fiction, in general, I'm a two-genre kind of guy: mysteries and science fiction. There are exceptions, of course, but as a rule historical and faux-historical settings don't appeal to me. This takes out a lot of fantasy and nixes steampunk as an SF sub-genre. (Even <a href="http://en.wikipedia.org/wiki/Sue_Grafton">Sue Grafton's alphabet series</a>, which remains set in the 1980s, drifts further into historical territory with every new book.) Romance is not my cup of tea, either, and high school destroyed any possibility of me ever taking pleasure from literary fiction.</p>

<p>I used to like the occasional piece of horror and slipstream, but until this summer I had no great desire to read urban fantasy. My probably unfair impression of the field was: vampires, werewolves, and woo. Real life is so full of superstition and pseudo-scientific claptrap that my appetite for the paranormal in fiction is diminished by association.</p>

<p>The notable exceptions to my genre-bound reading habits tend to come about as a result of a personal recommendation, or a favourite author trying something different. For example, I'll read anything Lois McMaster Bujold writes: her Chalion and Sharing Knife series are fantasy, and I love them. My friend Julian suggested Kate Griffin's Matthew Swift series to me, and <a href="http://sunpig.com/martin/archives/2011/09/04/some-summer-reading.html">I enjoyed the heck out of <i>A Madness of Angels</i></a>. And I simply adore <a href="http://www.tor.com/blogs/2010/07/is-it-urban-fantasy-charles-strosss-laundry-files">Charlie Stross's Laundry series</a>, which are a kind of Lovecraftian tongue-in-cheek (sometimes) spy thriller crossover. Ish.</p>

<p>It was on <a href="http://www.antipope.org/charlie/">Charlie's blog</a> that I first came across <a href="http://www.harryjconnolly.com/">Harry Connolly</a>. Harry was writing some <a href="http://www.antipope.org/charlie/blog-static/2011/02/introducing-harry-connolly.html">guest posts</a> while Charlie was away earlier this year, and I particularly liked his thoughts on "<a href="http://www.antipope.org/charlie/blog-static/2011/02/high-and-low-thrillers.html">High and Low Thrillers</a>"</p>

<blockquote cite="http://www.antipope.org/charlie/blog-static/2011/02/high-and-low-thrillers.html">
<p>Me, I write low thrillers. The setting is generally commonplace and localized, most of the characters are regular folks, and the plot is played out through the exercise of personal agency rather than cultural or organizational power. In fact, one of the most persistent criticisms of my books has been that they don't have a high thriller insider's view of the Twenty Palace Society.</p>
</blockquote>

<p>Charlie's recommendation that <i>"if you like my Laundry stories there is a good chance you'll find Harry's Twenty Palaces yarns agreeable"</i> was good enough for me, and Harry's first book, <a href="http://www.amazon.co.uk/Child-Fire-Twenty-Palaces-Novel/dp/0345508890/"><i>Child of Fire</i></a> found its way into my shopping basket in time for the summer holidays.</p>

<p><a href="http://www.amazon.co.uk/Child-Fire-Twenty-Palaces-Novel/dp/0345508890/"><img src="http://sunpig.com/martin/images/2011/child-of-fire.jpg" class="left" /></a>Although my reaction upon finishing the book was, "Great! Want more!" my first impressions were mixed, because I came to the book with skewed expectations. Thinking that it was going to be like the Laundry books, I was expecting more humour. Thinking of other hard-boiled low thrillers I like, I was expecting Ray Lilly, the protagonist, to be more confident and self-assured. Both expectations were wrong.</p>

<p>Ray Lilly is tough, but he's not cocky. He's one step above hired muscle, but he's not a thug. At the start of the book, it is very clear that he is not top dog in the situation. He is out of his depth. His boss Annalise Powliss can kick his ass, and he knows it. He doesn't have the endearing haplessness of Bob Howard in the Laundry. He's not a private eye who cracks wise to cover up a sensitive nature or a tortured soul. Ray has <em>seen and done things</em> that scare the shit out of him. He doesn't want to help save the world; he just doesn't know what else he can do any more.</p>

<p>It takes a while for these expectations to settle in, and judging from Harry's comments, maybe they don't for everyone:</p>

<blockquote>
<p>"The folks who believed that nothing happened in the first third of Child of Fire confused me at first, until I realized that, until Ray and Annalise identify the villain they’ll be chasing, the plot question for the book was “What the hell is going on?” For some reason, a sizeable segment of the readership doesn’t recognize that as legitimate narrative. That’s surprising and interesting to me."</p>
</blockquote>

<p><a href="http://www.amazon.co.uk/Game-Cages-Twenty-Palaces-Novel/dp/0345508904/"><img src="http://sunpig.com/martin/images/2011/game-of-cages.jpg" class="right" /></a>Ray is low on the totem pole of an organization called the "Twenty Palaces Society". The Society exists to limit who has access to magic, because magic is <em>really dangerous</em>. People who wield it sometimes mistakenly think that they can control the creatures they summon from the Empty Spaces. The Society calls those creatures <i>predators</i>, because they want little more than to cross over into our world and enslave, eat, or simply kill all life on the planet.</p>

<p>Annalise Powliss is a peer in the Society, and her job is to go around and stomp on magic &mdash; hard. She doesn't use a cute <a href="http://www.imdb.com/title/tt0119654/"><i>Men In Black</i></a> neuralizer device to erase people's memories; she just kills them and takes their spell books. Ray is her Wooden Man, a role he first thinks of as <em>subordinate</em>, but which he later comes to understand is much closer to <em>decoy</em>, or simply <em>bait</em>.</p>

<p>As I mentioned earlier: there is no wise-cracking here, no jocular camaraderie. The job they do and the things they see take a terrible toll on them. This is a dark book, not a buddy movie. But despite the Lovecraftian terrors, disturbing twists, and grisly scenes, I would call it a grim thriller rather than a horror novel. This is perhaps what sets it apart from Charlie Stross's Laundry books: their sometimes cheerful British attitude towards the end of the world belies a peculiar flavour of despair that <em>does</em> flag them as horror.</p>

<p><a href="http://www.amazon.co.uk/Circle-Enemies-Twenty-Palaces-Novel/dp/0345508912/"><img src="http://sunpig.com/martin/images/2011/circle-of-enemies.jpg" class="left" /></a>At the end of <i>Child of Fire</i>, I was completely drawn in to the world, and wanted to read more. Fortunately the second book in the series, <a href="http://www.amazon.co.uk/Game-Cages-Twenty-Palaces-Novel/dp/0345508904/"><i>Game of Cages</i></a> was already in print, and the third, <a href="http://www.amazon.co.uk/Circle-Enemies-Twenty-Palaces-Novel/dp/0345508912/"><i>Circle of Enemies</i></a> was due out at the end of August, so I didn't have long to wait for my next fix.</p>

<p>Both books are cracking good reads, as much in terms of the self-contained stories they tell as in what they reveal about Ray and Annalise, and the dangerous world they inhabit. The ghost knife that Ray wields turns out to be much more intriguing than just a tool and a weapon. Ray himself turns out to be much more capable than the typical Wooden Man. And the secretive Twenty Palaces Society itself turns out to be more fallible and less powerful than the world perhaps needs it to be. As tantalizing hooks for future plots go, it would be hard to beat the discovery Ray makes at the end of <i>Circle of Enemies</i>. I love finding new series, and this was a winner.</p>

<p>Or so I thought, until I saw a tweet that led me back to Harry Connolly's blog, where he had posted an entry titled "<a href="http://www.harryjconnolly.com/blog/?p=5488">It’s Official: The Twenty Palaces Series Has Been Cancelled (long)</a>" on 14th October. <em>Damn it.</em></p>

<blockquote cite="http://www.harryjconnolly.com/blog/?p=5488">
<p>There are no guarantees in writing. You work like crazy on a story that means a lot to you, and when you send it out into the world where it’s met with scorn, or indifference, or casual contempt. There are no guarantees that X will be a great story or that Y number of readers will fall all over it and spread the word. I know as well as anyone that no one owes me anything.</p>
</blockquote>

<p>First <a href="http://www.sunpig.com/martin/archives/2011/11/08/there-was-a-way.html">Dananananaykroyd breaking up</a>, then the Twenty Palaces series being cancelled. Noooooooo!</p>

<p>As Harry describes it, he got excellent support from his publisher, but the market just didn't respond. The books got good reviews, and have gathered a loyal set of followers, but in the end not enough people bought them. I feel a kind of selfish disappointment that there won't be any more books in the series, but just as <a href="http://journal.neilgaiman.com/2009/05/entitlement-issues.html">George R.R. Martin is not my bitch</a>, neither is Harry Connolly. All I can say is that he has gained an admirer in me, and I'll be looking forward to anything he writes in the future.</p>

<p>The bright point at the end of this tale is that I <em>do</em> still have one more Ray Lilly story to savour. Just yesterday, Harry self-published <a href="http://www.harryjconnolly.com/blog/?p=5696"><i>Twenty Palaces</i></a>, a prequel story to the whole series, in which Ray meets Annalise, creates his ghost knife, and sees a predator for the first time:</p>

<blockquote cite="http://www.harryjconnolly.com/blog/?p=5696">
<p>When Ray Lilly was 13 years old, a handgun accident landed his best friend, Jon Burrows, in a wheelchair and turned Ray into a runaway and petty criminal. Fifteen years later, Ray returns home after a stint in prison; he’s determined to go straight, but he knows he can’t do that without making peace with his old friend.</p>

<p>What Ray doesn’t expect is to discover that Jon has just received a mysterious cure–not only is he out of his wheelchair, he seems stronger and faster than… well, pretty much anyone. Worse, his cure has drawn all sorts of unwanted attention: the media are camped out on his block, the police are investigating him for insurance fraud, and weird shadowy figures have begun to draw closer, figures who clearly do not mean to do Jon any good.</p>

<p>Can Ray atone for the biggest mistake of his life by protecting his oldest and best friend? What’s more, should he?</p>
</blockquote>

<p class="center"><a href="http://www.harryjconnolly.com/blog/?p=5696"><img src="http://sunpig.com/martin/images/2011/twenty-palaces.jpg" /></a></p>

<p>I bought it ($4.99) as soon as I saw the blog post. What I didn't realize until I got the PDF is that this "story" runs to a novel-length 268 pages. I'd been expecting something much shorter. As a fan of a cancelled series, that's not just good value; it's priceless.</p>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>The mobile web splash screen antipattern</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/11/13/the-mobile-web-splash-screen-antipattern.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2294</id>
    
	<published>2011-11-13T11:09:40Z</published>
	<updated>2011-12-06T15:56:02Z</updated>
    
	<summary>Brad Frost&apos;s tweet yesterday reminded me that this is a request I have been presented with, and argued against, on every mobile web project I have been involved with: First-time visitors to the mobile website should see a splash screen inviting them to download our App. They should also have...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p><a href="https://twitter.com/brad_frost/status/135423666824544256">Brad Frost's tweet yesterday</a> reminded me that this is a request I have been presented with, and argued against, on <em>every</em> mobile web project I have been involved with:</p>

<blockquote><p>First-time visitors to the mobile website should see a splash screen inviting them to download our App. They should also have an option that allows them to proceed to the mobile website.</p></blockquote>

<p>This is symptomatic of another bad, but regrettably common practice: <a href="http://sunpig.com/martin/archives/2011/07/09/how-to-fail-at-mobile-web.html">building your native app before you build your mobile website</a>.</p>

<p>The impulse to put a splash screen in place is driven by a variety of factors and assumptions, not all of them correct (and not all of them openly acknowledged):</p>

<ul>
  <li>The native app has a prettier UI than the website. Users like pretty. Therefore it will drive more engagement, and more conversions.</li>
  <li>The native app goes on a user's home screen, therefore they will see it regularly, and use it more often than the web.</li>
  <li>A user might prefer a native app, and they might not know that we have one.</li>
  <li>If we get lots of downloads, we will rank highly in the App Store, which is good for marketing and will lead to even more downloads.</li>
  <li>We just spent a lot of money building a native app! If someone just uses the website instead, then all that money and effort was wasted!</li>
</ul>

<p>Here are the counter-arguments:</p>

<ul>
  <li>It's a barrier to user engagement. A user has to click through the splash screen to get to where they were trying to go in the first place. If you know about purchase or marketing funnels, you know that every screen is another step in the funnel. You never <em>gain</em> users as you step through the funnel, you only ever <em>lose</em> them. The splash screen is a valuable opportunity for you to lose customers.</li>
  <li>The idea that someone who goes to the effort of downloading your app will become a more <em>engaged</em> user is questionable. You should also consider the possibility that they will get distracted or just give up during the process of a) being redirected to the App Store, b) reading the app description, c) acquiring the app, d) downloading &amp; installing the app, e) launching the app, f) figuring out how to navigate your app to get to the point you led them away from in the first place.</li>
  <li>The request is usually to provide a splash screen for <em>first-time</em> users. If there is any category of users who should <em>never</em> be presented with an extra hurdle it's first-time users. If they are visiting your site for the first time, then they almost by definition don't know enough about your product or service to decide whether they want to carry on using it, or download an app for it. In the desktop web world, you may have come across sites that show a popup asking you to take part in a survey about the site. How do I know if I want to do that before I have experienced the site itself?</li>
  <li>It's disrespectful. If a user has arrived at your <strong>website</strong> using a <strong>web browser</strong>, very likely by following a link from another <strong>website</strong>, then maybe they were trying to use their <strong>web browser</strong> to use your <strong>website</strong>. Extend your users the courtesy of considering that they might actually know what they're doing. Putting up a splash screen is like McDonalds putting a bouncer on the door, and telling customers who just parked their car and want to enter the restaurant that they should use the drive-through instead.</li>
</ul>

<p>Basically, a mobile splash screen, no matter how pretty your designer has made it, is annoying and needy. You are placing your own desires above your user's. Don't do it.</p>

<p>"But how will people find out about our wonderful native app then?!" I hear you cry. There may indeed be cases where users can do things in your native app that they can't do on your website. (Push notifications, for example.) Some people prefer to use apps than websites. For frequent-use, highly-interactive services, a native app may be a faster, lower-friction option than a website. Fortunately there are plenty of less intrusive ways to let your web customers know about it:</p>

<ul>
  <li>Show a notification bar at the top of the page. You can leave it visible until a user dismisses it, or until they have viewed <i>N</i> pages, or some other criterion. But it shouldn't obscure the page, or require explicit action before the user can carry on interacting with the page.</li>
  <li>The page footer, traditionally a place people look for additional information, can carry a link to the native app.</li>
  <li>If your site involves some kind of sign up process, you can tell people about your app options at the end of the sign-up process, or in a welcome email. Signed-up users have indicated a clear level of engagement with your product or service; this is a good time to entice them further. Read <a href="http://www.uie.com/articles/seducible_moments/">Jared Spool's 2002 article about "Seducible Moments."</a></li>
  <li>If your site carries advertising, consider injecting ads for your own native app into your ad stream.</li>
</ul>

<p>But above all, don't rely on a native app to be the only way a user with a small-screen device can interact with your business. You'll <em>literally</em> be turning away customers.</p>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>There Was A Way</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/11/08/there-was-a-way.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2293</id>
    
	<published>2011-11-08T22:28:42Z</published>
	<updated>2011-11-09T08:26:36Z</updated>
    
	<summary>Back in June I wrote that Hey Everyone by Dananananayroyd was one of my favourite albums of 2010 (it was released in 2009, but I&apos;m slow like that). This was after I&apos;d listened to their second album, There Is A Way, but before I&apos;d seen them live in Paradiso in...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>Back in June I wrote that <a href="http://sunpig.com/martin/archives/2011/06/19/some-remarkable-albums.html"><i>Hey Everyone</i> by Dananananayroyd was one of my favourite albums of 2010</a> (it was released in 2009, but I'm slow like that). This was <em>after</em> I'd listened to their second album, <a href="http://www.amazon.co.uk/gp/product/B004TMGZ5E/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21"><i>There Is A Way</i></a>, but <em>before</em> I'd seen them <a href="http://www.last.fm/event/1915624+Dananananaykroyd+at+Paradiso+on+19+July+2011">live in Paradiso in July</a>.</p>

<p><a href="http://www.amazon.co.uk/gp/product/B004TMGZ5E/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21"><img src="http://sunpig.com/martin/images/2011/there-is-a-way.jpg" class="left" /></a>I remember being unsure about <i>There Is A Way</i> when I first listened to it, even though that seems inconceivable now: it is nothing short of brilliant. Like <i>Hey Everyone</i>, the first thing that strikes you are the screamed vocals. Underlying the back-and-forth yelling, though, are a set of songs that are intricately melodic and cleverly structured. The energy the band brings is more under control, with fewer tracks like "Infinity Milk" and "Some Dresses" that bounce off off the furniture in all directions like a hyperactive toddler. But when they <em>do</em> let themselves go, they positively <em>soar</em>. The climactic "Make A Fist" that closes the album is exhausting and ecstatic: an orgasm of a track.</p>

<p>But seeing them live was something else entirely. On 19th July, they played the small upstairs room at Paradiso in Amsterdam, and I have never seen anything like it. It was far from a capacity crowd, and I was right up at the front. They opened with "Reboot" from the new album, which has an instrumental intro lasting about a minute and a half. During the intro, the two singers John and Callum jumped down off the stage and mingled through the bemused audience giving hugs, and treating us all like best friends they hadn't seen for years. And when they were done, they hauled themselves back up onto stage and belted out <a href="http://www.last.fm/event/1915624+Dananananaykroyd+at+Paradiso+on+19+July+2011">one of the best live sets I have ever seen</a>.</p>

<p>Dananananaykroyd have two settings: off, and <strong><em>FUCK YEAH!</em></strong> The energy they put out was amazing. There is no barrier between the audience and the stage at Paradiso, and throughout the set they continued to jump in and out of the crowd for particularly animated screaming duels ("The Greater The Symbol And The Hash") and guitar solos, or because they just felt like it. They looked like they were having a great time, and even though the audience was pretty small and relatively timid, they just kept on firing at top volume and top speed. And then there was the <i>Wall Of Cuddles</i>...</p>

<p>The <i>Wall Of Cuddles</i> is what Dananananayroyd does instead of a metal <a href="http://en.wikipedia.org/wiki/Moshing">Wall of Death</a>. About half-way through "Some Dresses" they split up the crowd into two halves, and explain how on the count of four both sides should run headlong into each other and...<a href="http://www.youtube.com/watch?v=_cij4-y0ID8">cuddle as many strangers as they can</a>. Because this happens at the end of the gig, everyone is all nice and sweaty and happy and ready go go along with whatever weird instructions they get. I still saw some tentative looks and "er, really?" expressions, but I certainly rushed into it with abandon.</p>

<p>After it was over, I emerged into the Amsterdam evening, my ears ringing, a huge grin on my face, aware that I had just experienced something really special.</p>

<p class="center"><a href="https://twitter.com/#!/sunpig/status/93427492307742720"><img src="http://sunpig.com/martin/images/2011/dananananaykroyd_tweet_1_small.png" alt="Tweet: HOLY SHIT. HOLY FUCKING SHIT. DANANANANAYKROYD. Holy shit. That was FUCKING AWESOME." /></a></p>

<p>I wanted more.</p>

<p>I knew they were playing some more dates in the UK at the end of their tour, and I had been wondering if I could justify a trip across to see them. My rule of live music is, <strong>"Never miss an opportunity to see your favourite band, because you never know when they will split up, or die."</strong> Cases in point:</p>

<ul>
  <li>Back in 2003 my brother Scott and I <a href="http://www.sunpig.com/martin/archives/2003/03/02/boston-part-2.html">took a trip across the Atlantic to see Toad The Wet Sprocket in Boston</a> when they did a small reunion tour. We had never seen them while we they were still together, and it was too good an opportunity to miss. Turns out Toad are semi-back-together again now, and still gig regularly, but I couldn't have known that back then.</li>
  <li>I saw the <a href="http://www.last.fm/user/sunpig/journal/2009/11/27/3721fj_tragically_hip_at_paradiso,_27_november_2009:_set_list">Tragically Hip at Paradiso in November of 2009</a>. While we're on the subject of great live acts: The Hip are amazing. So good that I went to see them again the very next week. I was across on Scotland on business anyway; they were playing the Garage in Glasgow; I couldn't pass it by. Who knows when they'll be back in Europe again?</li>
</ul>

<p>But when I learned that <a href="http://dananananaykroyd.blogspot.com/2011/09/end.html">Dananananaykroyd were splitting up</a> my need became much greater. Now I <em>knew</em> this was going to be my last chance. So I booked two tickets to see them in Glasgow, the cheapest flights I could find (hello, <a href="http://skyscanner.net">Skyscanner</a>), a twin room at the Holiday Inn Express, and convinced Scott that it would be a great idea for him to come through to Glasgow for a night out.</p>

<p class="center"><a href="https://twitter.com/#!/sunpig/status/126430379962925056"><img src="http://sunpig.com/martin/images/2011/dananananaykroyd_tweet_2_small.png" alt="Tweet: The best kind of madness: next Saturday I'll be flying from Amsterdam to Glasgow to see @dananananaykroy on their final tour." /></a></p>

<p>And <em>oh boy</em> was it worth it.</p>

<p>The cheapest flights were crazy early. Abi kindly drove me to Schiphol at 05:30 on the morning of Saturday 29th October so that I could catch the 07:05 to Glasgow. The plane arrived in Glasgow at 07:30, and I was in town by about 08:30, well before anything interesting was open. I nursed a hot chocolate in a Starbucks for an hour or so, and checked cinema listings to see if there were any interesting matinees. No luck, so I decided to take a bit of a walk instead. I wandered down to the <a href="http://www.gsc.org.uk/">Science Centre</a> and back again, then stuck my head in a few music shops to see if I could find some musicians' earplugs -- on the recommendation of <a href="http://grapefruitmoon.net/">Mr Grapefruitmoon</a>. After traipsing round Merchant City and down Argyll Street, I  finally found some at <a href="http://www.musical-instrumentsuk.co.uk/">Biggars</a> on Sauchiehall Street. Then met up with my parents for a late lunch before heading over to the hotel.</p>

<p>It's not very rock 'n roll, but after I had checked in and Scott had joined me a short while later, what we both really wanted to do was...have a nap.</p>

<p>So we were thoroughly refreshed for the gig, of course! We got the the <a href="http://www.o2abcglasgow.co.uk/">ABC</a> quite early, around 19:15 or so, and the place was dead quiet. We had a beer, and I went a bit mad on merch, buying three T-shirts for myself and a small pink (sabbath) girly one for Fiona. (Can you blame me? Last chance!) <a href="http://unitedfruit.bandcamp.com/">United Fruit</a> came on at about 19:45 and played a blinding little set from their new album <a href=""><i>Fault Lines</i></a>. Here's a tip: this is another band you should go and see. They're good.</p>

<p>I had tried out the earplugs during United Fruit, but they damped the sound a bit too much, and I wanted to positively <em>bathe</em> in the noise of the main event, so I left them out. We positioned ourselves close to the stage, but not quite on the front lines. This evening they kicked off with "E Numbers"...and David's guitar promptly broke. John and Callum kept up some banter while they got things sorted out, and they carried on with a wild and wonderful hour-long set:</p>

<ol>
  <li>E Numbers</li>
  <li>Reboot</li>
  <li>All Us Authors</li>
  <li>Hey Everyone + Watch This</li>
  <li>The Greater Than Symbol &amp; The Hash</li>
  <li>Think And Feel</li>
  <li>Muscle Memory</li>
  <li>Black Wax</li>
  <li>Time Capsule</li>
  <li>Infinity Milk</li>
  <li>Pink Sabbath</li>
  <li>(encore) Some Dresses</li>
</ol>

<p>It's hard to say how this compared to the gig at Paradiso. The crowd, being out in support for a local band, was more energetic and appreciative. The band seemed less rehearsed, looser, more frantic. And knowing what to expect, and knowing that I was in a group of like-minded fans who were all there for a historic final gig, I took part in the <i>Wall Of Cuddles</i> with more gusto than my first time. I was hugging people all over the place.</p>

<p>And then it was over. The band left the stage, the lights came on. As I looked round, I saw that the venue was maybe half full, no more. Dananananaykroyd have received so many plaudits, have been praised to the skies as one of Britain's best live bands, but they didn't sell out their farewell home town concert. I wish I could have been cloned, so I could have appreciated them twice. I'm so glad I went.</p>

<p>It wasn't even 22:00 when we left the venue, so Scott &amp; I did what any right-thinking pair of brothers does in Glasgow on a Saturday night: we had a burger at McDonalds, and hit a pub. Our next move was a little less orthodox (a late-night showing of <a href="http://www.imdb.com/title/tt1124035/"><i>The Ides Of March</i></a> at the Cineworld on Renfrew Street), but at least we weren't in bed before midnight. Pure dead radge.</p>

<p>Back on an early flight the next morning. Scott was going to give me a life to the airport, so we were downstairs at reception at just before 07:00 to get me there for my 08:15 flight. As we were checking out, Scott asked the receptionist if she could validate his parking. He had parked his car at Buchanan Galleries the evening before.</p>

<p>"Oh," said the receptionist, "They don't actually open until 9 o'clock on a Sunday..."</p>

<p>Taxiiii!</p>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Offline radio, a wobbly analogy</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/09/29/offline-radio-a-wobbly-analogy.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2292</id>
    
	<published>2011-09-29T09:36:53Z</published>
	<updated>2011-09-29T09:59:10Z</updated>
    
	<summary>It&apos;s 1981. You want to listen to music while you&apos;re at home. So you go out and buy a cheap radio with a power cord. You take it home, plug it in, and listen to some music. But what if there&apos;s a power cut, or if you want to listen...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>It's 1981.</p>

<p>You want to listen to music while you're at home. So you go out and buy a cheap radio with a power cord. You take it home, plug it in, and listen to some music.</p>

<p>But what if there's a power cut, or if you want to listen to music while you're away from home? You go out and buy a new radio, this one with a battery compartment. You can plug it in when you're at home, and use batteries when there is no other power available.</p>

<p>But what if there's no radio signal, or there's interference, or none of the radio stations are playing music you want to listen to? So you go out and buy a new radio, this one with a battery compartment <em>and</em> a cassette recorder, so you can record your favourite music when it is available, and listen to it on those occasions when you happen to be in the middle of the Sahara with no power and no signal.</p>

<p>Note that the device you have ended up with is more complex, bigger, heavier, and more expensive than the one you started with. Is this a trade-off you're happy with?</p>

<p>It's 2011</p>

<p>You want to take your web site offline? <a href="http://diveintohtml5.org/offline.html">Yes</a> <a href="http://www.html5rocks.com/en/tutorials/appcache/beginner/">you</a> <a href="http://blogs.msdn.com/b/ie/archive/2011/09/27/building-offline-experiences-with-html5-appcache-and-indexeddb.aspx">can</a>. But understand that you're going to end up with something more complex (harder to design, build, and test) and more expensive than a web site that assumes and relies on a network connection. Do you need that? Are your users constantly complaining that they can't use your site when they're in on their yacht in the middle of the Atlantic with no 3G? Is this a trade-off you're happy with?</p>

<h3>Footnotes</h3>
<ul>
  <li>The analogy is wobbly because you don't actually need a power supply at all to make a radio receiver. The power is there for amplification.</p>
  <li>This stuff won't stay hard and expensive forever. The libraries for building (and browsers for consuming) sites that work offline will get better.</p>
  <li>No points for being the first to say, "Daddy, what's a cassette recorder?"</li>
</ul>
]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Whom will our leaders defend?</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/09/11/whom-will-our-leaders-defend.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2290</id>
    
	<published>2011-09-11T20:30:44Z</published>
	<updated>2011-09-18T03:32:33Z</updated>
    
	<summary>John P. Hussman poses the question, &quot;An Imminent Downturn: Whom Will Our Leaders Defend?&quot; (via John Mauldin&apos;s Thoughts from the Frontline newsletter) The global economy is at a crossroad that demands a decision - whom will our leaders defend? One choice is to defend bondholders - existing owners of mismanaged...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>John P. Hussman poses the question, "<a href="http://hussmanfunds.com/wmc/wmc110905.htm">An Imminent Downturn: Whom Will Our Leaders Defend?</a>" <i>(via <a href="http://www.johnmauldin.com/frontlinethoughts/preparing-for-a-credit-crisis">John Mauldin's Thoughts from the Frontline newsletter</a>)</i></p>

<blockquote>
<p>The global economy is at a crossroad that demands a decision - whom will our leaders defend? One choice is to defend bondholders - existing owners of mismanaged banks, unserviceable peripheral European debt, and lenders who misallocated capital by reaching for yield and fees by making mortgage loans to anyone with a pulse. Defending bondholders  will require forced austerity in government spending of already depressed economies, continued monetary distortions, and the use of public funds to recapitalize poor stewards of capital. It will do nothing for job creation, foreclosure reduction, or economic recovery.</p>

<p>The alternative is to defend the public by focusing on the reduction of unserviceable debt burdens by restructuring mortgages and peripheral sovereign debt, recognizing that most financial institutions have more than enough shareholder capital and debt to <em>their own</em> bondholders to absorb losses without hurting customers or counterparties - but also recognizing that properly restructuring debt will wipe out many existing holders of mismanaged financials and will require a transfer of ownership and recapitalization by better stewards. That alternative also requires fiscal policy that couples the willingness to accept larger deficits in the near term with significant changes in the trajectory of long-term spending.</p>
</blockquote>

<p>Basically: to whom are the politicians most beholden? To their corporate backers, who give them the money to get elected, or to the voters who actually do the electing? In Western Europe, things haven't got bad enough <em>yet</em> to tip the balance towards the latter, but we're heading that way at a steady pace. The financial sector <em>has</em> to be shackled.</p>

<p>Charlie Stross uses the turbulence of the forthcoming decade as part of the background for one of his characters in <i><a href="http://www.amazon.co.uk/gp/product/1841497738/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21">Rule 34</a></i>. The following paragraphs brilliantly capture the potential for some ultimate good coming out of this cascade of crises:</p>

<blockquote>
<p>Dorothy's job is an odd one: catching corporate corruption before it metastasizes and infects society at large. After Enron collapsed--while you were still in secondary school--the Americans passed the Sarbanes-Oxley Act, accounting regulations for catching corporate malfeasance. But all they were looking for was accounting irregularities: symptoms of maladministration. The unspoken ideology of capitalism didn't admit, back then, of any corporate duty beyond making a return on investment for the shareholders while obeying the law.<p>

<p>Then the terrible teens hit, with a global recession followed by a stuttering shock wave of corporate scandals as rock-ribbed enterprises were exposed as hollow husks run by conscience-free predators who were even less community-minded and altruistic than gangsters. The ravenous supermarket chains had gutted the entire logistics and retail sector, replacing high-street banks and post offices as well as food stores and gas stations, recklessly destroying community infrastructure; manufacturers had outsources production to the cheapest overseas bidders, hollowing out the middle-class incomes on which consumer capitalism depended: The prison-industrial complex, higher education, and private medical sectors were intent on milking a public purse that no longer had a solid tax base with which to pay. Maximizing short-term profit worked brilliantly for sociopathic executives looking to climb the promotion ladder--but as a long-term strategy for stability, a spiralling Gini coefficient left a lot to be desired.</p>

<p>The European Parliament responded by focussing on corporate governance. If corporations wanted to be legal citizens, the politicians riding the backlash declared, they could damn well shoulder the responsibilities of good citizenship as well as the benefits. Social as well as financial audits were the order of the day. Directives outlining standards for corporate citizenship were drafted, and a lucrative niche for a new generation of management consultants emerged--those who could look at an organization and sound a warning if its structure rewarded pathological behaviour. And as for the newly nationalized supermarket monopolies, a flourishing future as government-owned logistics hubs beckoned. After all, with no post offices, high street banks, or independent general stores, who else could do the job?</p>
</blockquote>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Obscure Rails 3.1 asset pipeline feature messes with my head</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/09/09/obscure-rails-31-asset-pipeline-feature-messes-with-my-head.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2289</id>
    
	<published>2011-09-09T17:14:56Z</published>
	<updated>2011-09-09T18:01:41Z</updated>
    
	<summary>For some time, I have been in the habit of appending a datestamp to my image assets whenever I update them. This is a low-tech, reliable cache-buster. For example, if I add a new icon to the sprite image &quot;app-icons-20110901.png&quot; (last edited 1 September 2011), I would change the name...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>For some time, I have been in the habit of appending a datestamp to my image assets whenever I update them. This is a low-tech, reliable cache-buster. For example, if I add a new icon to the sprite image "<code>app-icons-20110901.png</code>" (last edited 1 September 2011), I would change the name to "<code>app-icons-20110909.png</code>", and change the matching CSS from</p>

<pre><code class="css">.test {
    background-image:url(/images/sprites/app-icons-20110901.png);
}</code></pre>

<p>to

<pre><code class="css">.test {
    background-image:url(/images/sprites/app-icons-20110909.png);
}</code></pre>

<p>By changing the name of the file, I can guarantee that as soon as a browser gets the new CSS, there is no risk of it re-using an old version of the sprite file from cache. This works great on static sites that are updated rarely, and on sites where you haven't gone to the trouble of implementing a more sophisticated system of (image) asset fingerprinting.</p>

<p>Rails 3.1 comes with fingerprinting baked in as part the new <a href="http://guides.rubyonrails.org/asset_pipeline.html">asset pipeline</a>. Unfortunately, the asset pipelining <em>breaks</em> in the presence of my manual fingerprinting efforts. Rails refuses to serve up an image asset whose file name ends in a dash followed by more than 6 digits:</p>

<ul>
<li style="color:green">/app/assets/images/<b>app-icons-2011.png</b> is fine</li>
<li style="color:green">/app/assets/images/<b>app-icons-201109.png</b> is fine</li>
<li style="color:red">/app/assets/images/<b>app-icons-2011090.png</b> doesn't work</li>
<li style="color:red">/app/assets/images/<b>app-icons-20110909.png</b> doesn't work</li>
</ul>

<p>The error reported is a straightforward Routing Error:</p>

<pre><code class="css">No route matches [GET] "/assets/app-icons-20110909.png"</code></pre>

<p>So code like this in a stylesheet will not work:</p>

<pre><code class="css">
<b>/* application.css.erb */</b>
.test {
    background-image:url(<%= asset_path 'sprites/app-icons-20110909.png' %>);
}</code></pre>

<p>(Also, running <code>bundle exec rake assets:precompile</code> will not generate a matching MD5 fingerprinted image under <code>/public</code> for the affected file.)</p>

<p>I haven't gone into the source code to find out exactly where this happening (I think this all goes on under the hood in <a href="https://github.com/sstephenson/sprockets">Sprockets</a> rather than in Rails itself) but as the old joke goes, the solution is pretty simple:</p>

<blockquote>
<p>Doctor, doctor! It hurts when I do this!</p>
<p><i>Well, stop doing that, then.</i></p>
</blockquote>

<p>If you're doing Rails 3.1, just let it take care of the fingerprinting, and everything will be fine.</p>

<h2>Further reading:</h2>
<ul>
<li><a href="http://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/">Steve Souders: Revving Filenames: don’t use querystring</a>
<li><a href="http://code.google.com/speed/page-speed/docs/caching.html">Google Page Speed: Optimize Caching</a> (Section: "<i>Use fingerprinting to dynamically enable caching.</i>")</li>
</ul>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>The Non-Scenic Route</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/09/07/the-non-scenic-route.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2288</id>
    
	<published>2011-09-07T19:05:17Z</published>
	<updated>2011-09-08T04:43:47Z</updated>
    
	<summary>Brilliant article by John Lanchester in the London Review of Books: &quot;The Non-Scenic Route to the Place We’re Going Anyway&quot; Quarterly GDP data don’t, on the whole, tend to make the person studying them laugh out loud. The most recent set, however, are an exception, despite the fact that the...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p>Brilliant article by John Lanchester in the London Review of Books: "<a href="http://www.lrb.co.uk/v33/n17/john-lanchester/the-non-scenic-route-to-the-place-were-going-anyway">The Non-Scenic Route to the Place We’re Going Anyway</a>"</p>

<blockquote>
<p>Quarterly GDP data don’t, on the whole, tend to make the person studying them laugh out loud. The most recent set, however, are an exception, despite the fact that the general picture is of unrelieved and spreading economic gloom. Instead of the surge of rebounding growth which historically accompanies successful exit from a recession, we have the UK’s disappointing 0.2 per cent growth, the US’s anaemic 0.3 per cent and the glum eurozone average figure of 0.2 per cent. That number includes the surprising and alarming German 0.1 per cent, the desperately poor French 0 per cent and then, wait for it, the agreeably frisky Belgian 0.7 per cent. Why is that, if you’ve been following the story, laugh-aloud funny? Because Belgium doesn’t have a government. Thanks to political stalemate in Brussels, it hasn’t had one for 15 months. No government means none of the stuff all the other governments are doing: no cuts and no ‘austerity’ packages. In the absence of anyone with a mandate to slash and burn, Belgian public sector spending is puttering along much as it always was; hence the continuing growth of their economy. It turns out that from the economic point of view, in the current crisis, no government is better than any government – any existing government.</p></blockquote>
]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Some summer reading</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/09/04/some-summer-reading.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2287</id>
    
	<published>2011-09-04T20:54:38Z</published>
	<updated>2011-09-04T20:57:04Z</updated>
    
	<summary> Charles Stross - Rule 34 A sharp and funny thriller set in 2020s Edinburgh, full of observations on the impact information technology might have on policing, politics, and our personal lives. Like many of Charlie&apos;s books, I found the ending a bit too vague. He seems to like leaving...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<ul>

<li><a href="http://www.amazon.co.uk/gp/product/1841497738/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=1841497738"><b>Charles Stross - <i>Rule 34</i></a></b> A sharp and funny thriller set in 2020s Edinburgh, full of observations on the impact information technology might have on policing, politics, and our personal lives. Like many of Charlie's books, I found the ending a bit too vague. He seems to like leaving you with questions and opportunities for you to use your imagination to fill in the details. Apart from that, brilliant.</li>

<li><a href="http://www.amazon.co.uk/gp/product/0007225733/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=0007225733"><b>James Gleick - <i>The Information</i></b></a> A history of how we deal with, well, information: language, writing, communication. Gleick spins a thread of discoveries, inventions, and insights from pre-literacy right up to present information age. It's the earlier chapters I found most compelling, though. The book is subtitled, "A History, a Theory, a Flood," and once Gleick gets through Shannon and into the era of the Flood, many of the anecdotes and details feel incomplete, or drift off into unsatisying speculation. Gleick is at his best as a chronicler, but the story of the information Flood has only just begun, so it's hard to paint a complete picture. <i>The Information</i> actually complements <i>Rule 34</i> very nicely: together they vividly cover both the past and the future of the subject.</li>

<li><a href="http://www.amazon.co.uk/gp/product/1841497339/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=1841497339"><b>Kate Griffin - <i>A Madness of Angels</i></b></a> Urban Fantasy didn't used to be my cup of tea, but I'm discovering more and more <a href="http://www.defectiveyeti.com/archives/002167.html">hardboiled</a> Urban Fantasy books that sit with me rather well. I'm not sure if this <em>strictly</em> qualifies as hardboiled, but despite a certain tendency towards overly descriptions it doesn't have any of the goth-ish faux-noir sensibilities that I (perhaps unfairly) associate with the genre. Tough, well-drawn characters and a present-day London that is both gritty and filled with thinly disguised wonder are going to have me coming back for more.</li>

<li><a href="http://www.amazon.co.uk/gp/product/0345508904/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=0345508904"><b>Harry Connolly - <i>Game Of Cages</i></b></a> No doubt whatsoever about the hardboiled nature of this one. I read the first book in this series, <i>Child Of Fire</i> a couple of months ago after having read <a href="http://www.antipope.org/charlie/blog-static/2011/02/introducing-harry-connolly.html">Harry's guest posts on Charlie Stross's blog</a>. Harry's Twenty Palaces books tackle Lovecraftian horror with a very head-first American hardboiled flavour in the same way that Charlie's Laundry books cover it with a uniquely British twist. His new book, <i>Circle of Enemies</i> is just out, and will be on my next Amazon order.</p>

<li><a href="http://www.amazon.co.uk/gp/product/0007302169/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=0007302169"><b>Derek Landy - <i>Skulduggery Pleasant 3: The Faceless Ones</i></b></a> Alex got the first book in the Skulduggery Pleasant series for Christmas, and declared it "awesome". He persuaded me to read it, and damn it, he's right. It's funny, and full of fast-paced action and snappy dialogue. So now I'm following behind Alex as he works his way through the whole series. (I wish he'd hurry up on book 4; I'm eager to find out what happens next!)</li>

<li><a href="http://www.amazon.co.uk/gp/product/0099534444/ref=as_li_ss_tl?ie=UTF8&tag=legenofthesun-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=0099534444"><b>Lev Grossman - <i>The Magicians</i></b></a> Very mixed reviews on Amazon for this one, and I can see how it might not suit everyone, but I loved it. It builds up a complex set of relationships very quickly, but it doesn't linger lovingly on them, or tease out every nuance, because it moves through the plot at a blistering pace. It appears blatantly derivative of <i>Narnia</i>, <i>Harry Potter</i>, and <i>The Secret History</i>, but it blends these old and new archetypes with an insouciance I found entertaining. In fact, the multiplicity of influences is exactly what keeps it interesting: just when you think you know what the next chapter will bring, it actually turns in a different direction.</li>

</ul>]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>Mobile web ancestry</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/08/22/mobile-web-ancestry.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2286</id>
    
	<published>2011-08-22T09:40:19Z</published>
	<updated>2011-08-22T11:12:55Z</updated>
    
	<summary>Joe Celko has a nice new article on Simple-Talk.com about how easy it is to write SQL queries that unconsciously adopt the idioms of sequential media, i.e. magnetic tape. When you sit in a live theater, you cannot do a close-up, pan shot, zoom, dissolve or other effect that are...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p><a href="http://www.simple-talk.com/sql/t-sql-programming/mimicking-magnetic-tape-in-sql/">Joe Celko has a nice new article on Simple-Talk.com</a> about how easy it is to write SQL queries that unconsciously adopt the idioms of sequential media, i.e. <em>magnetic tape</em>.</p>

<blockquote><p>When you sit in a live theater, you cannot do a close-up, pan shot, zoom, dissolve or other effect that are common in movies today. Early silent films parked the camera in one position and mimicked a theater experience. This is a general systems principle that the new technology will first mimic the previous technology before it finds its own voice.</p></blockquote>

<p>The mobile web has two immediate genetic parents: mobile apps and the desktop web. When a mobile website can tries to follow in the footsteps of either parent too closely, it feels wrong. Encountering a mobile website that locks your vertical viewport size and forces you to use a custom scrolling algorithm is just <a href="http://onswipe.com/">uncanny-valley weird</a>; whereas a site full of great content and links that doesn't enjoy the full depth and richness of the "main" site feels unsatisfying.</p>

<p>Remember, though, that we haven't been using magnetic tape as a mainstream storage medium for databases for <em>some time now</em>, but the idioms are still ingrained. The "classic" web has been around for a scant 20 years, and is still evolving. Mobile apps, as introduced by the iPhone, are only 3 years old</p>

<p>The mobile web's parents are a teen and a toddler. Is it any wonder that it hasn't found its own feet yet? Right now, it's an ugly duckling inside a cocoon. Some onlookers may expect to see it emerge as a swan or a butterfly, but I'm betting on something much more interesting and strange.</p>
]]>
        
	
	
	
    </content>
</entry>

<entry>
	<title>More on Google and online identity</title>
	<link rel="alternate" type="text/html" href="http://www.sunpig.com/martin/archives/2011/07/10/more-on-google-and-online-identity.html" />	
	
	<id>tag:www.sunpig.com,2011:/martin//2.2285</id>
    
	<published>2011-07-10T15:32:34Z</published>
	<updated>2011-08-02T08:40:12Z</updated>
    
	<summary>&quot;Google seemingly split on pseudonymous Google+ accounts and Google Profiles – It’s okay until it isn’t&quot; by Tateru Nino (via Dave Bell on Making Light) is another interesting look at the side effects of the rollout of Google+. It seems that Google+ and Google Profiles share some aspects of a...</summary>
	
	
    <author>
        <name>Martin</name>
        <uri>http://www.sunpig.com/martin/</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.sunpig.com/martin/">
	
        <![CDATA[<p><a href="http://dwellonit.taterunino.net/2011/07/08/google-seemingly-split-on-pseudonymous-google-accounts-and-google-profiles-its-okay-until-it-isnt/">"Google seemingly split on pseudonymous Google+ accounts and Google Profiles – It’s okay until it isn’t"</a> by Tateru Nino (via <a href="http://nielsenhayden.com/makinglight/archives/013103.html#564613">Dave Bell on Making Light</a>) is another interesting look at the side effects of the rollout of Google+. It seems that Google+ and Google Profiles share some aspects of a <a href="http://en.wikipedia.org/wiki/Honeypot_(computing)">honeypot</a> for people with the audacity not to use their full real-world identity online so they can be more effectively marketed to.</p>

<p>And then there's <a href="http://airplanepilot.blogspot.com/2011/07/last-post.html">"Last Post"</a> over at <a href="http://airplanepilot.blogspot.com/">Cockpit Conversation</a> (via <a href="http://nielsenhayden.com/makinglight/archives/013103.html#565060">Sylvia on Making Light</a>), which is another tale of someone losing access to their Gmail and blog (hosted by Google) because of a date of birth issue.</p>

<p>People blogging about these particular problems are the visible tip of the iceberg. There must be thousands of other people who are running up against the same issues. And unfortunately, unless you know someone inside Google, the only way to ask them for help with some <em>really scary problems</em> is to <a href="http://www.google.com/support/forum/p/gmail?hl=en">post in an open forum</a>.  (And seriously, if you're not a computer geek with the knowledge to figure it out, losing access to your email can be terrifying.)</p>

<p>Despite all the people posting on that forum about date of birth problems preventing them from accessing their accounts, so far Google's best official response there seems to be <a href="http://www.google.com/support/forum/p/gmail/thread?tid=5228c69a9007e25f&hl=en">"Google is aware that mistaken dob entries have precluded some users from entering the Google+ Project in it's initial field trial."</a></p>

<p>For a company whose motto is "don't be evil," and that is filled with engineers driven to make the internet a better place not just for Google users, but for <em>all of us</em>, this kind of hands-off take-it-or-leave-it approach is...disappointing.</p>

<p>For reference (because people have been asking), we haven't heard anything from Google about our own particular situation, either formally or through back channels. As many people have pointed out, we <em>could</em> use the account recovery process to claim that we made an error, and enter a fake date of birth that shows Alex is over 13. But this is the <em>only</em> circumstance in which Google allows you to change the date of birth in your profile. Once it is in there, it is in there for good, and there would be no way for Alex to reset it once he is old enough. This may be problematic if he decides wants to keep using this particular Google account in the future.</p>]]>
        
	
	
	
    </content>
</entry>

</feed>
