<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Looking Out To Sea &#187; Culture</title>
	<atom:link href="http://www.dougalstanton.net/blog/index.php/category/culture/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dougalstanton.net/blog</link>
	<description></description>
	<lastBuildDate>Sat, 28 Jan 2012 17:49:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Book lists of the internet, unite!</title>
		<link>http://www.dougalstanton.net/blog/index.php/2012/01/09/book-lists-of-the-internet-unite/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2012/01/09/book-lists-of-the-internet-unite/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 23:11:22 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Books]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1426</guid>
		<description><![CDATA[There&#8217;s a book list that does the rounds on the internet, whose provenance I forget now (BBC viewers? Guardian readers?) &#8212; either way I&#8217;ve been working my way through it for a couple of years. Not with any great conviction, but if I&#8217;m not sure where to turn next for a book I&#8217;m open to [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a book list that does the rounds on the internet, whose provenance I forget now (BBC viewers? Guardian readers?) &#8212; either way I&#8217;ve been working my way through it for a couple of years. Not with any great conviction, but if I&#8217;m not sure where to turn next for a book I&#8217;m open to selecting something from the list.</p>

<p>I thought I&#8217;d list my currently completed for now, to provide some kind of status update. I&#8217;m currently working on Wuthering Heights, which is proving much more enjoyable than I thought it might. Frankenstein on the other hand, which isn&#8217;t actually on the list anyway, was really boring and I gave up.</p>

<ol>
<li>Pride and Prejudice, Jane Austen</li>
<li>The Lord of the Rings, JRR Tolkien</li>
<li>Jane Eyre, Charlotte Bronte &#8212; Really great, and now The Eyre Affair (Jasper Fforde) makes more sense</li>
<li>Harry Potter series, JK Rowling</li>
<li>To Kill a Mockingbird, Harper Lee &#8212; Not as good as I thought it might be</li>
<li>Nineteen Eighty-Four, George Orwell</li>
<li>His Dark Materials, Philip Pullman</li>
<li>Catch-22, Joseph Heller &#8212; Fantastic and endlessly fertile source of cultural references</li>
<li>The Hobbit, JRR Tolkien &#8212; Looking forward to the film!</li>
<li>The Hitch Hiker&#8217;s Guide to the Galaxy, Douglas Adams</li>
<li>Chronicles of Narnia, CS Lewis</li>
<li>The Lion, The Witch and The Wardrobe, CS Lewis &#8212; Yeah, I don&#8217;t know who compiled this list. This is cheating!</li>
<li>Captain Corelli&#8217;s Mandolin, Louis de Bernières</li>
<li>Animal Farm, George Orwell</li>
<li>The Da Vinci Code, Dan Brown &#8212; I&#8217;m ashamed; but it was awful</li>
<li>Lord of the Flies, William Golding &#8212; Forced to hate it at school? Yes</li>
<li>Atonement, Ian McEwan &#8212; Brilliant, and the film&#8217;s not bad either</li>
<li>Life of Pi, Yann Martel &#8212; Don&#8217;t bother</li>
<li>Dune, Frank Herbert &#8212; Weird. For some reason I even read one of the sequels, though I didn&#8217;t even particularly enjoy the first book.</li>
<li>The Curious Incident of the Dog in the Night-time, Mark Haddon</li>
<li>Of Mice and Men, John Steinbeck</li>
<li>Count of Monte Cristo, Alexandre Dumas &#8212; A huge, creeping inexorable powerhouse of a book.</li>
<li>Bridget Jones&#8217;s Diary, Helen Fielding</li>
<li>Dracula, Bram Stoker &#8212; Great fun and surprisingly creepy at times.</li>
<li>Notes From A Small Island, Bill Bryson</li>
<li>Swallows and Amazons, Arthur Ransome</li>
<li>The Remains of the Day, Kazuo Ishiguro &#8212; Quiet, reserved, evocative and restrained. Emotionally draining too.</li>
<li>Charlotte&#8217;s Web, EB White</li>
<li>Adventures of Sherlock Holmes, Sir Arthur Conan Doyle</li>
<li>The Wasp Factory, Iain Banks</li>
<li>The Three Musketeers, Alexandre Dumas &#8212; More whimsical than Monte Cristo, and a good sight shorter too!</li>
<li>Charlie and the Chocolate Factory, Roald Dahl</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2012/01/09/book-lists-of-the-internet-unite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Messages from the unfashionable end of the galaxy.</title>
		<link>http://www.dougalstanton.net/blog/index.php/2011/05/04/messages-from-the-unfashionable-end-of-the-galaxy/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2011/05/04/messages-from-the-unfashionable-end-of-the-galaxy/#comments</comments>
		<pubDate>Wed, 04 May 2011 21:25:09 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1385</guid>
		<description><![CDATA[Help, trapped in a cycle of not blogging that won&#8217;t stop. So many things that I have been enjoying that I want to mention, but that I can&#8217;t really bring to mind right now, and certainly not in an interesting fashion. Which means, a list!


I bought myself a Kindle (third generation, but just wifi, not [...]]]></description>
			<content:encoded><![CDATA[<p>Help, trapped in a cycle of not blogging that won&#8217;t stop. So many things that I have been enjoying that I want to mention, but that I can&#8217;t really bring to mind right now, and certainly not in an interesting fashion. Which means, a list!</p>

<ul>
<li><p>I bought myself a Kindle (third generation, but just wifi, not 3G) for reading stuff. In the first couple of weeks I was commuting by train and reading academic stuff. Since then I&#8217;ve been getting a lift and just reading for pleasure &#8212; which means a sub-list!</p>

<ul>
<li>Bram Stoker&#8217;s <em>Dracula</em>: It&#8217;s strange reading a book that basically started a literary and cultural genre. I mean everything from Hammer Horror to Buffy, Twilight to Anne Rice has sprouted out of this book. It wasn&#8217;t the origin but it is by a long way the most famous Victorian vampire novel and it was interesting to see how much has been around from the start. The book is told in diary form, using snippets from the journals of Jonathan Harker, Abraham van Helsing as well as newspaper reports and other sources to &#8220;piece together&#8221; the story for the reader. It&#8217;s very effective and remarkably tense. My favourite scene is definitely the arrival in England of Count Dracula, told via newspaper clippings and the log kept by the captain of the ship that carried him. Sadly the part of Van Helsing, which gets more prominent as the book continues, is really badly written. I have never seen a worse depiction of a foreign speaker of English, it&#8217;s at least as bad as any Hammer Horror Dracula!</li>
<li>Robert Louis Stevenson&#8217;s <em>Kidnapped</em>: I remember reading <em>Treasure Island</em> when I was younger (and I think I&#8217;ll re-read it soon) but couldn&#8217;t recall if I&#8217;d ever done this one. It was really enjoyable and the kind of thing I would have definitely enjoyed as a child. Non-stop adventure from the start.</li>
<li>Jonathan Swift&#8217;s <em>Gulliver&#8217;s Travels</em>: There have been so many awkward adaptations of this (or at least the <em>Lilliput</em> part) that it&#8217;s another strange one to read in its entirety. I quite liked the Ted Danson adaptation and from what I can remember it was fairly faithful to the parts Swift wrote, while including a lot of other stuff about Gulliver&#8217;s struggles to adapt to English society on his return. The first half you can read without much awareness of the political/satirical nature but it reaches a point where suddenly the author starts putting the boot in to &#8220;civilised society&#8221; and doesn&#8217;t really let up until the end of the book. Eminently readable, though if you find a copy riddled with footnotes I would abandon it immediately. The first copy I tried to read seemed to have more superscript letters than normal ones, and that really makes it a chore.</li>
</ul>

<p>As you can see I&#8217;m working my way through all the free stuff available, of which there is a substantial chunk on Project Gutenberg. Recommendations for classics are always welcome. Some authors are obviously well-represented but it would be nice to know if there are any books in particular that people think I should investigate.</p></li>
<li>Capoeira is continuing &#8212; I&#8217;m even beginning to enjoy the roda on Sunday, which I&#8217;m trying to attend as often as I can. I&#8217;ve started going to the training twice a week most weeks. Getting a job really put paid to the amount of effort I can devote to training/exercise in my own time. But it&#8217;s getting much warmer these days so maybe I can get the grass cut outside so we can practise in the garden. Last week I was even practising on the Meadows. Who knows whether people were laughing or just didn&#8217;t notice/care&#8230; most probably the latter.</li>
<li>I made a big batch of baguettes the other day, for a sandwich-based birthday party, and was complimented from many quarters. But then people will sell you their children if you provide fresh bread sandwiches!</li>
<li>I haven&#8217;t done any SICP study since I started working again but I&#8217;ve just got in touch with my co-conspirators and we&#8217;ve agreed a meeting date, which might just be a chance to catch up socially but will hopefully lead back to studying and learning again.</li>
<li>Of course now I&#8217;ve started a list I&#8217;m obliged to add enough entries to make it worthwhile, but I can&#8217;t think of anything else. How have you been?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2011/05/04/messages-from-the-unfashionable-end-of-the-galaxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PyWeek April 2011 post-mortem</title>
		<link>http://www.dougalstanton.net/blog/index.php/2011/04/13/pyweek-april-2011-post-mortem/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2011/04/13/pyweek-april-2011-post-mortem/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 20:52:09 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Friends]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1383</guid>
		<description><![CDATA[Well, it&#8217;s been a while since I wrote in this little box. My new job continues to form and my commute has been easier lately, since I&#8217;ve been getting a lift from a colleague who also lives in Edinburgh. I get back home in the evening much earlier, which is nice, though the start is [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been a while since I wrote in this little box. My new job continues to form and my commute has been easier lately, since I&#8217;ve been getting a lift from a colleague who also lives in Edinburgh. I get back home in the evening much earlier, which is nice, though the start is still as early as ever (the alarm goes off at 5.30).</p>

<p>But I didn&#8217;t break this hiatus to talk about commuting, I promise. Last week was PyWeek, a twice-yearly programming challenge to write a computer game in the Python programming language. Nick was keen to give it a go, so between me, him and Mat we concocted an idea which was just interesting enough that it might be worth playing.</p>

<p>Due to some unforeseen problems we didn&#8217;t get much time to write code, so the game didn&#8217;t really come together in time for the deadline. I think, in fact, that the code was broken as zero-hour ticked over. Oh well.</p>

<p>Having started we decided to finish, so we all met on Monday night (for the first time since the challenge started&#8230;) and got large chunks of the game completed. It&#8217;s now playable, I think, though outrageously taxing and quite awkward for one person to play against themselves. The plan, then, is to iron out some of the kinks and see if we can pitch the difficulty at just the right level to make it addictive. Maybe we&#8217;ll get it transferred to an Android/iPhone app in the future?</p>

<p>I&#8217;ve known these guys for years but we&#8217;ve never actually sat down and written a program together for the fun of it. It was really interesting, especially since we were all basically learning Python from scratch for the purpose, and I was trying to remember what all this OO stuff is supposed to be about. Maybe we&#8217;ll tackle it again for the autumn PyWeek with a new game idea, more experience and maybe a bit more time scheduled to the task.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2011/04/13/pyweek-april-2011-post-mortem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting embedded in my new role</title>
		<link>http://www.dougalstanton.net/blog/index.php/2011/03/12/getting-embedded-in-my-new-role/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2011/03/12/getting-embedded-in-my-new-role/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 00:07:27 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Maths & Computer Science]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1379</guid>
		<description><![CDATA[I&#8217;m in a new job. I&#8217;ve done one week, so my life has mostly been on hold while I work out how things will fit together. I&#8217;m working for Honeywell Security writing embedded software. Similar to before but in alarm systems instead of networking.

The job requires a hefty commute &#8212; at least two hours each [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in a new job. I&#8217;ve done one week, so my life has mostly been on hold while I work out how things will fit together. I&#8217;m working for <a href="http://www.security.honeywell.com/" title="Honeywell Security Group">Honeywell Security</a> writing embedded software. Similar to before but in alarm systems instead of networking.</p>

<p>The job requires a hefty commute &#8212; at least two hours each way if things go well, but between delayed trains and poor weather it&#8217;s sometimes an extra half hour on top of that. Which means I get up at 5.30, leave the house before 6.30 and get home in the evening around 7&#160;o&#8217;clock. You can see why the rest of my life has been a bit quiet. I&#8217;m having to rethink how I look at the week. The arrival of the weekend is important and precious!</p>

<p>I&#8217;m still learning the ins and outs of work but the people are all very friendly and helpful, which makes the travelling more bearable. Spending hours travelling to and from a hateful job would be horrible. I spend an hour on the train each way which has given me more time for other things. I&#8217;ve been splitting my travelling activities, so that in the morning I read the freebie Metro for a bit and then do some &#8220;thinking&#8221; to limber up for the day. Recently I&#8217;ve been doing simple program calculation exercises, deriving the fusion rules for fold/unfold or map/map and so on. I&#8217;m really interested in the idea of deriving correct and efficient programs from executable specification.</p>

<p>(Just to show you what I&#8217;m talking about, this is the fold/unfold fusion rule. Let us say there are two functions, <code>foldr</code> and <code>unfoldr</code> defined as follows:</p>

<p><div>
<pre class="haskell"><a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:foldr"><span style="font-weight: bold;">foldr</span></a> f z     <span style="color: green;">&#91;</span><span style="color: green;">&#93;</span> = z
<a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:foldr"><span style="font-weight: bold;">foldr</span></a> f z <span style="color: green;">&#40;</span>x:xs<span style="color: green;">&#41;</span> = f <span style="color: green;">&#40;</span><a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:foldr"><span style="font-weight: bold;">foldr</span></a> f z xs<span style="color: green;">&#41;</span>
&nbsp;
unfoldr g s = <span style="color: #06c; font-weight: bold;">case</span> g s <span style="color: #06c; font-weight: bold;">of</span>
                Nothing     -&gt; <span style="color: green;">&#91;</span><span style="color: green;">&#93;</span>
                Just <span style="color: green;">&#40;</span>x,s'<span style="color: green;">&#41;</span> -&gt; x : unfoldr g s'</pre>
</div></p>

<p>The function <code>foldr</code> combines a list of elements according to the function <code>f</code> and <code>unfoldr</code> creates a list of elements from the seed <code>s</code>. We might use <code>foldr</code> to define a <code>product</code> function which combines the elements of the list by multiplying them together:</p>

<p><div>
<pre class="haskell"><a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:product"><span style="font-weight: bold;">product</span></a> = <a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:foldr"><span style="font-weight: bold;">foldr</span></a> <span style="color: green;">&#40;</span>*<span style="color: green;">&#41;</span> <span style="color: red;">1</span></pre>
</div></p>

<p>And we might create a list of elements from 1 to <em>n</em> with an unfold.</p>

<p><div>
<pre class="haskell">enumTo n = unfoldr step <span style="color: red;">1</span>
  <span style="color: #06c; font-weight: bold;">where</span> step s = <span style="color: #06c; font-weight: bold;">if</span> s&gt;n <span style="color: #06c; font-weight: bold;">then</span> Nothing <span style="color: #06c; font-weight: bold;">else</span> Just <span style="color: green;">&#40;</span>s, s<span style="color: red;">+1</span><span style="color: green;">&#41;</span></pre>
</div></p>

<p>The observant reader will have noticed that combining these two separate functions will give us <code>factorial</code>, the product of numbers from 1 to <em>n</em> &#8212; first we create the numbers 1 to <em>n</em>, then we multiply them all together.</p>

<p><div>
<pre class="haskell">factorial = <a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:product"><span style="font-weight: bold;">product</span></a> . enumTo</pre>
</div></p>

<p>The inefficiency is that <code>enumTo</code> works on producing a list which is consumed by <code>product</code>. The elements are inserted into a list only to be removed straight away. Can we omit the redundant list production? It turns out we can, and we can do it for <em>all</em> cases where <code>foldr</code> operates on the result of <code>unfoldr</code>. The <code>product</code> and <code>enumTo</code> are specific instances of a general method which we can use to fuse production and consumption of values.</p>

<p>This fusion rule can be demonstrated by algebraic manipulation of the programs we&#8217;ve defined so far. We&#8217;ll call the <code>unfoldr</code> and then <code>foldr</code> by the name <code>hylo</code>, with the naive implementation shown:</p>

<p><div>
<pre class="haskell">hylo f z g = <a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:foldr"><span style="font-weight: bold;">foldr</span></a> f z . unfoldr g</pre>
</div></p>

<p>The equational style here facilitates some nice rearrangements which help to assert their correctness from step to step. Let&#8217;s see how this works &#8212; each line will be justified by some comment in braces:</p>

<p><div>
<pre>  hylo f z g s
= { definition from above }
  foldr f z (unfoldr g s)
= { definition of unfoldr }
  foldr f z (case g s of
                  Nothing     -&gt; []
                  Just (x,s') -&gt; x : unfoldr g s')
= { push foldr into result }
  case g s of
       Nothing     -&gt; foldr f z []
       Just (x,s') -&gt; foldr f z (x : unfoldr g s')
= { foldr on empty lists }
  case g s of
       Nothing     -&gt; z
       Just (x,s') -&gt; foldr f z (x : unfoldr g s')
= { foldr on non-empty lists }
  case g s of
       Nothing     -&gt; z
       Just (x,s') -&gt; f x (foldr f z (unfoldr g s'))
= { definition of hylo }
  case g s of
       Nothing     -&gt; z
       Just (x,s') -&gt; f x (hylo f z g s')</pre>
</div></p>

<p>Each step <em>should</em> be clearly equivalent to the one before and the one after, but by the end we have a definition for <code>hylo</code> which doesn&#8217;t construct a useless list.</p>

<p><div>
<pre class="haskell">hylo f z g s = <span style="color: #06c; font-weight: bold;">case</span> g s <span style="color: #06c; font-weight: bold;">of</span>
                 Nothing     -&gt; z
                 Just <span style="color: green;">&#40;</span>x,s'<span style="color: green;">&#41;</span> -&gt; f x <span style="color: green;">&#40;</span>hylo f z g s'<span style="color: green;">&#41;</span></pre>
</div></p>

<p>Naturally we can use the original definitions of <code>product</code> and <code>enumTo</code> to create an optimised <code>factorial</code> using this logic. The result is that <code>factorial</code> doesn&#8217;t create a redundant list either:</p>

<p><div>
<pre class="haskell">factorial n = hylo <span style="color: green;">&#40;</span>*<span style="color: green;">&#41;</span> <span style="color: red;">1</span> step
  <span style="color: #06c; font-weight: bold;">where</span> step s = <span style="color: #06c; font-weight: bold;">if</span> s &gt; n <span style="color: #06c; font-weight: bold;">then</span> Nothing <span style="color: #06c; font-weight: bold;">else</span> Just <span style="color: green;">&#40;</span>s,s<span style="color: red;">+1</span><span style="color: green;">&#41;</span></pre>
</div></p>

<p>I think this is beautiful result despite its obvious simplicity. However this has been a long digression, so I&#8217;ll stop now. But if you found it interesting I encourage you to check out work on &#8220;program calculation&#8221;, &#8220;program derivation&#8221;, &#8220;algebra of programming&#8221;, &#8220;origami programming&#8221; and so on.)</p>

<p>My evening journeys have been spent unwinding with a book, though the evening trains are noisier. I&#8217;m reading <em>Brighton Rock</em> right now and it&#8217;s good though the story makes me feel quite uncomfortable at times. One of the characters seems close to doing something wild and dangerous and it&#8217;s a fight between &#8220;must find out what happens&#8221; and &#8220;can&#8217;t bear to read any more&#8221; on a daily basis.</p>

<p>I hope week two will be easier and I will start to feel like my routine is falling into place. Watch this space.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2011/03/12/getting-embedded-in-my-new-role/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Both hands on the ground, both feet in the air?</title>
		<link>http://www.dougalstanton.net/blog/index.php/2011/01/26/both-hands-on-the-ground-both-feet-in-the-air/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2011/01/26/both-hands-on-the-ground-both-feet-in-the-air/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 01:33:45 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Hobbies]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1348</guid>
		<description><![CDATA[For about six months now I (and then Helen) have been going to Capoeira Angola classes run by M&#227;o no Ch&#227;o group. Suffice it to say we are neither of the people in this photograph in fact, it&#8217;s just one I found on Flickr.





Describing Capoeira is a mug&#8217;s game. It&#8217;s not similar to anything else [...]]]></description>
			<content:encoded><![CDATA[<p>For about six months now I (and then Helen) have been going to <a href="http://en.wikipedia.org/wiki/Capoeira_Angola">Capoeira Angola</a> classes run by <a href="http://www.maonochao.org/">M&atilde;o no Ch&atilde;o group</a>. Suffice it to say we are neither of the people in this photograph in fact, it&#8217;s just one I found on Flickr.</p>

<p><a href="http://www.flickr.com/photos/mendesrocha/4216708696/" title="Leninho esquivando do golpe de m. Goiano by mendesrocha, on Flickr"><img class="show" src="http://farm3.static.flickr.com/2535/4216708696_15730efec7.jpg" width="500" height="375" alt="Leninho esquivando do golpe de m. Goiano" /></a></p>

<p><span id="more-1348"></span></p>

<p>Describing Capoeira is a mug&#8217;s game. It&#8217;s not similar to anything else I&#8217;ve seen or done. I would say &#8220;you have to see it&#8221; but even that doesn&#8217;t always help, I find. I&#8217;ll include a video anyway, and you can make of it what you will.</p>

<iframe title="YouTube video player" class="youtube-player" type="text/html" width="480" height="390" src="http://www.youtube.com/embed/Hsk2P4pyYBk" frameborder="0" allowFullScreen></iframe>

<p>The important thing to me is that I&#8217;m getting some form of exercise which I don&#8217;t resent. The charm of going to a gym very quickly wears off, but the variety of learning new skills and working with friendly people keeps everything enjoyable. The community is an important part too, and the culture of friendliness. Everybody is willing to help out new people, and advice filters across from other people as much as it comes from above.</p>

<p>On top of the exercise there&#8217;s other nice benefits, like increased flexibility and learning how to do handstands. A lot of the moves are things I should practise more regularly but I feel that accidentally kicking a hole in the television would be a poor outcome for that level of dedication. I guess the alternative is to do strengthening exercises to help make the moves easier. My thighs are always sore the day after a session &#8212; the muscles you use to sit down or stand up complain enormously. Traditional stuff like sit-ups would probably help too, as there are loads of moves which use those core muscles.</p>

<p>The musical side is good too. I now feel that I could pick up a tambourine or congo and beat out a not-terrible rhythm. This may not actually be true, but let&#8217;s not spoil my illusions just yet. The big boy of the musical side of capoeira, the berimbau, is an instrument that I have had no fortune with at all. I&#8217;ve not really had much opportunity to really practise, not having one lying around the house, but every time I&#8217;ve picked one up the one or two elements of co-ordination required (hold instrument steady; hold stone against string; pull stone away from string; move gourd away from and toward chest) have been totally beyond me. All I really achieve is an incredibly sore finger: &#8220;berimbau pinky&#8221;.</p>

<p>The singing is tricky because I have very little sense of rhythm (which means that any instrument I&#8217;m playing suffers if I try singing at the same time) and I&#8217;m not very good at &#8220;hearing&#8221; the words of songs in a foreign language. Singing along to songs you don&#8217;t know can be hard enough but as it&#8217;s all in Brazilian Portuguese the difficulty level ramps up considerably. I&#8217;m slowly wrapping my head around the largest difficulties, like how to map between spelling and sounds when reading about the game, and especially reading song lyrics. My singing&#8217;s still awful though. ;-)</p>

<p>All of this is part of the learning process and, as I mentioned, I&#8217;m enjoying it more than enough to stick around and <em>learn</em>. I&#8217;ll let you know when I master that head-stand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2011/01/26/both-hands-on-the-ground-both-feet-in-the-air/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Books: Incoming, outgoing and in a holding pattern</title>
		<link>http://www.dougalstanton.net/blog/index.php/2011/01/24/books-incoming-outgoing-and-in-a-holding-pattern/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2011/01/24/books-incoming-outgoing-and-in-a-holding-pattern/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 13:16:49 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Friends]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1344</guid>
		<description><![CDATA[Right now I&#8217;m reading The Three Musketeers by Alexandre Dumas. It&#8217;s really enjoyable so far &#8212; whimsical and witty like a 19th-century The Princess Bride (not inconceivable). I&#8217;ve got a big ol&#8217; pile of things to get through after that. I still have a book from my birthday in June and a bunch from Christmas [...]]]></description>
			<content:encoded><![CDATA[<p>Right now I&#8217;m reading <em>The Three Musketeers</em> by Alexandre Dumas. It&#8217;s really enjoyable so far &#8212; whimsical and witty like a 19th-century <em>The Princess Bride</em> (not inconceivable). I&#8217;ve got a big ol&#8217; pile of things to get through after that. I still have a book from my birthday in June and a bunch from Christmas too. I came away from last night&#8217;s book group with two more &#8212; <em>Pathfinders: The Golden Age of Arabic Science</em> by Jim Al-Khalili. I&#8217;d been swithering over this one until I noticed the author. He has produced some great science television so I thought his book might be worth it. And <em>Under Milk Wood</em>, a play I associate strongly with my father though I&#8217;ve never heard or read it. But I&#8217;ve been quoted it a lot!</p>

<p>I took along Seamus Heaney&#8217;s translation of <em>Beowulf</em> but no-one was interested. I think a lot of people had book overload and weren&#8217;t taking new ones to read. We&#8217;re not having our next meeting until March so there will be plenty of time for people to finish the books they&#8217;ve got. Hopefully I can deplete my to-read pile slightly by then.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2011/01/24/books-incoming-outgoing-and-in-a-holding-pattern/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dorian Gray and enjoyment of reading</title>
		<link>http://www.dougalstanton.net/blog/index.php/2011/01/19/picture-of-dorian-gray/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2011/01/19/picture-of-dorian-gray/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 13:00:57 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1325</guid>
		<description><![CDATA[I finished The Picture of Dorian Gray at least a week ago and I&#8217;ve been struggling to put into words what I thought about it ever since. It&#8217;s a pretty slim novel but it took me a few weeks to get through so it obviously wasn&#8217;t enthralling.

My main problem, I think, was that it had [...]]]></description>
			<content:encoded><![CDATA[<p>I finished <em>The Picture of Dorian Gray</em> at least a week ago and I&#8217;ve been struggling to put into words what I thought about it ever since. It&#8217;s a pretty slim novel but it took me a few weeks to get through so it obviously wasn&#8217;t enthralling.</p>

<p>My main problem, I think, was that it had a plot but no story. I felt no desire to read on other than to find out how the plot resolved. The characters were bland at best, and often both hateful and boring. Dorian Gray wishes that his portrait would get older instead of him, which seems to stop him maturing at all. The book was originally much shorter, and it shows &#8212; I felt there was a lot of filler which expanded it from a short story to a novel.</p>

<p>I got a lot more enjoyment from the introduction which placed the book in a historical context and recounted some of the reactions to its publication. It&#8217;s strange how some books are more fun to read <em>about</em> than they are to read.</p>

<p>Incidentally, I object to the inclusion of an introduction which serves to give away large segments of the plot. So much so that they required a pre-introduction to tell you not to read the introduction until you&#8217;d read the book. Wouldn&#8217;t it just be more appropriate to put the spoilers at the end and call it something else?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2011/01/19/picture-of-dorian-gray/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greatest CD purchase never made</title>
		<link>http://www.dougalstanton.net/blog/index.php/2011/01/17/greatest-cd-purchase-never-made/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2011/01/17/greatest-cd-purchase-never-made/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 13:57:32 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1316</guid>
		<description><![CDATA[Several years ago I bought some stuff in HMV and was given a free sampler CD to promote a number of artists&#8217; new releases. This CD has turned out to be a fantastic resource and I&#8217;ve not yet mined all of the possibilities.

The disc included Death Cab for Cutie, Skin and Bell X1 &#8212; I [...]]]></description>
			<content:encoded><![CDATA[<p>Several years ago I bought some stuff in HMV and was given a free sampler CD to promote a number of artists&#8217; new releases. This CD has turned out to be a fantastic resource and I&#8217;ve not yet mined all of the possibilities.</p>

<p>The disc included Death Cab for Cutie, Skin and Bell X1 &#8212; I now have at least one album by all of these artists. OK Go were also there, and they&#8217;ve since become heavily played on YouTube for their great music videos. I intend to look more into their music too.</p>

<p>More things to look into: Ladyfuzz, Nightmare of You, Stellastar, Josh Rouse. The lesson learned is that if HMV give you a sampler CD you really should take it. It will probably be incredibly well curated and highlight a whole bunch of interesting artists. It worked for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2011/01/17/greatest-cd-purchase-never-made/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Taking stock of learning and beetroot cake</title>
		<link>http://www.dougalstanton.net/blog/index.php/2010/12/01/taking-stock-of-learning-and-beetroot-cake/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2010/12/01/taking-stock-of-learning-and-beetroot-cake/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 15:46:31 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[Maths & Computer Science]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1285</guid>
		<description><![CDATA[Severely snowed out today so SICP study group was cancelled. I&#8217;m using the time in the house to make stock with the bag full of lamb bones and bits that have been sitting in the freezer for many months. I think I will make some kind of soup with it later, preferably one with lots [...]]]></description>
			<content:encoded><![CDATA[<p>Severely snowed out today so SICP study group was cancelled. I&#8217;m using the time in the house to make stock with the bag full of lamb bones and bits that have been sitting in the freezer for many months. I think I will make some kind of soup with it later, preferably one with lots of chunky vegetables and other interesting bits. I&#8217;ve also got a bunch of beetroot in the fridge which I intend to make into <a href="http://www.bbcgoodfood.com/recipes/7663/blitzandbake-beetroot-and-chocolate-cake">beetroot and chocolate cake</a>, because it was so tasty last time I made it. (And I want to do it in a cooler oven since 190&deg;C blackened the outside without cooking through when I made it before. That was the only occasion when the skewer test has been useful to me.)</p>

<p>Back to the topic of the study group. Reading SICP is deceptively easy at times. Each step is a simple progression from the last, such that each idea seems obvious and trivial. Then suddenly some trivial new concept makes no sense at all and you find yourself backtracking through pages of explanation to find some firm handhold from which to start moving forward again. Most of the time I feel that I&#8217;m not learning anything but I realised today that some things which were not intuitive in the past are now familiar and natural. I was reading <a href="http://homepages.inf.ed.ac.uk/wadler/topics/monads.html#arrows-jfp">The Arrow Calculus</a> and realised that I could understand all of the notation and type rules for lambda calculus and arrows given. It was the environment stuff in particular that felt &#8220;obvious&#8221; in the way that it wouldn&#8217;t have in the past, and I&#8217;ve been doing a lot of interpreter writing and environment-jigging in recent weeks with SICP. It&#8217;s all coming together.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2010/12/01/taking-stock-of-learning-and-beetroot-cake/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fictional telephone numbers</title>
		<link>http://www.dougalstanton.net/blog/index.php/2010/11/29/fictional-telephone-numbers/</link>
		<comments>http://www.dougalstanton.net/blog/index.php/2010/11/29/fictional-telephone-numbers/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 15:17:40 +0000</pubDate>
		<dc:creator>Dougal</dc:creator>
				<category><![CDATA[Culture]]></category>

		<guid isPermaLink="false">http://www.dougalstanton.net/blog/?p=1282</guid>
		<description><![CDATA[US-made film and television use the 555 telephone prefix for fake telephone numbers. According to the IMDb trivia page for Fight Club:


  Marla Singer&#8217;s phone number, 555-0134, is the same as Teddy&#8217;s number in Memento (2000). It is also the same as the Hong Kong Restaurant in Harriet the Spy (1996), Eddie Alden&#8217;s in [...]]]></description>
			<content:encoded><![CDATA[<p>US-made film and television use the <a href="http://en.wikipedia.org/wiki/555_%28telephone_number%29">555 telephone prefix</a> for fake telephone numbers. According to the IMDb <a href="http://www.imdb.com/title/tt0137523/trivia?tr0755698">trivia page for Fight Club</a>:</p>

<blockquote>
  <p>Marla Singer&#8217;s phone number, 555-0134, is the same as Teddy&#8217;s number in <em>Memento</em> (2000). It is also the same as the Hong Kong Restaurant in <em>Harriet the Spy</em> (1996), Eddie Alden&#8217;s in <em>Animal Attraction</em> (2001) and a Mental institution in an episode of &#8220;Millennium&#8221; (1996/I).</p>
</blockquote>

<p>In fact there are only a hundred telephone numbers sanctioned for fictional use in this way &#8212; 555-0100 to 555-0199.  There must be an awful lot of overlap. So which are the most common fictional telephone numbers? Which ones have never been used? Well, this is the internet so <a href="http://home.earthlink.net/~mthyen/">someone has compiled a list of numbers and the films they appear in</a>, for your personal delight and instruction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dougalstanton.net/blog/index.php/2010/11/29/fictional-telephone-numbers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

