<?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>Red Row Studio</title>
	<atom:link href="http://redrowstudio.com/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://redrowstudio.com</link>
	<description>Photographic prints and products</description>
	<lastBuildDate>Thu, 22 Mar 2012 14:40:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to remove a broken or stripped screw &#8211; the ultimate collection of tips</title>
		<link>http://redrowstudio.com/index.php/2011/12/30/how-to-remove-a-broken-or-stripped-screw-the-ultimate-collection-of-tips/</link>
		<comments>http://redrowstudio.com/index.php/2011/12/30/how-to-remove-a-broken-or-stripped-screw-the-ultimate-collection-of-tips/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 15:34:08 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[crafts]]></category>

		<guid isPermaLink="false">http://redrowstudio.com/?p=1515</guid>
		<description><![CDATA[I was inspired to put this post together when searching for ways to remove a broken screw recently &#8211; there are so many different tricks that I thought it would be fun to collect them all in the same place. I have tried to put them in order of try-ability, with those that use tools [...]]]></description>
			<content:encoded><![CDATA[<p>I was inspired to put this post together when searching for ways to remove a broken screw recently &#8211; there are so many different tricks that I thought it would be fun to collect them all in the same place. I have tried to put them in order of try-ability, with those that use tools you probably already have at the top.</p>
<p>First of all, are you dealing with a <strong>stripped</strong> screw or a <strong>broken</strong> one? A <strong>stripped</strong> screw is where the slots in the head have become worn and rounded so that the screwdriver can&#8217;t grip it and looks like this:</p>
<p><img class="alignnone size-full wp-image-1527" title="stripped" src="http://redrowstudio.com/wp-content/uploads/2011/12/stripped.jpg" alt="" width="300" height="227" /></p>
<p>A broken screw is one where the head has sheared off, and looks like this:</p>
<p><img class="alignnone size-full wp-image-1528" title="Kozzi-broken-screw-441x294" src="http://redrowstudio.com/wp-content/uploads/2011/12/Kozzi-broken-screw-441x294.jpg" alt="" width="441" height="294" /></p>
<p>If you have a broken screw then the techniques for dealing with a stripped screw won&#8217;t help you, so <a href="#broken">click here</a> to jump down to the methods for broken screws. On the other hand, if you have a stripped screw, then you can use any of the techniques on this page so just start reading.</p>
<h2>Methods for stripped screws</h2>
<p>These mostly involve ways to improve the amount of grip that you can get on the screw head with a screwdriver. They often work well in combination &#8211; try heating the screw to loosen it, followed by using the rubber band trick.</p>
<h3>Tap or heat the screw to loosen it</h3>
<p>The idea here is to loosen the screw so that you can use what little grip remains in the head to unscrew it. Tapping can help to free a seized screw, while heating a metal screw can loosen it by making the metal expand then contract. To loosen the screw by tapping, place the tip of a screwdriver in the screw head (as if you were going to turn it) then tap the butt of the screwdriver with a hammer. To loosen it by heating, place the tip of a hot soldering iron in the screw head and press down for a few seconds.</p>
<p><a href="https://www.amazon.com/dp/B0006NGZK0/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B0006NGZK0&amp;adid=1K3XQWA6BVBEAXQV1HP9&amp;"><img class="alignnone" src="http://ecx.images-amazon.com/images/I/312AT3A9HGL._SL500_AA300_.jpg" alt="" width="300" height="300" /></a></p>
<h3>Drill a small hole in the centre of the screw</h3>
<p>By drilling a hole just a couple of millimetres deep in the middle of the screw head, you can allow the tip of your screwdriver to go deeper in the head and get a little bit more grip. Use a very small drill bit that will work on metal. A Dremel is perfect for this job, <a href="http://www.amazon.com/gp/product/B0006O8S0O/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0006O8S0O">using a drill bit like this one</a>.</p>
<p><a href="http://www.amazon.com/gp/product/B0006O8S0O/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0006O8S0O"><img class="alignnone size-full wp-image-1535" title="21ACVTJYaFL._SL500_AA300_PIbundle-4,TopRight,0,0_AA300_SH20_" src="http://redrowstudio.com/wp-content/uploads/2011/12/21ACVTJYaFL._SL500_AA300_PIbundle-4TopRight00_AA300_SH20_.jpg" alt="" width="110" height="300" /></a></p>
<h3>Use a rubber band to get more grip</h3>
<p>This one is simple; just place a rubber band over the screw head and unscrew it normally. The rubber can help to give just enough extra grip to get the screw to turn.</p>
<p><img class="alignnone size-medium wp-image-1536" title="strippedscrew01_rect540-e1265807015459" src="http://redrowstudio.com/wp-content/uploads/2011/12/strippedscrew01_rect540-e1265807015459-300x223.jpg" alt="" width="300" height="223" /></p>
<p>&nbsp;</p>
<h3>Use aluminum carbide or valve grinding paste</h3>
<p>The idea here is the same as above &#8211; give the screwdriver a little more grip on the screw head. Just spread a little of the paste into the slots in the screw head and unscrew as normal.</p>
<h3>Use a hammer to reshape the slots in the screw head</h3>
<p>An unsophisticated trick <img src='http://redrowstudio.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Seat the tip of a screwdriver in the screw head and whack the base of the screwdriver with a hammer. This is only likely to work on screws made out of soft metal (but hey, maybe that&#8217;s the reason they get stripped in the first place!)</p>
<h3>Use a flat-head screwdriver on a cross-head screw</h3>
<p>Sometimes a flat-head screwdriver can get a better grip on a stripped cross-head screw than the correct screwdriver can get, due to the way that cross-head screws are designed to &#8220;cam-out&#8221;. Use plenty of pressure to keep the screwdriver seated.</p>
<h3>Use a screwdriver bit that&#8217;s too big</h3>
<p>Very similar to the trick above. Instead of using a flat-head screwdriver, use a cross-head screwdriver, but pick a size that&#8217;s too big for the screw. If the slots have been worn, this can often give a better grip than using the correct size.</p>
<h3>Use a steel punch to hit the screw off-center</h3>
<p>This is only likely to work on screws that have a large head. Take a small hardened steel punch and use it to hit the screw off-centre so that it rotates anti-clockwise. This sometimes works to start a screw moving; as soon as it&#8217;s loosened, move on to one of the other methods.</p>
<p>&nbsp;</p>
<p><a name="broken"></a></p>
<h2>Methods for broken screws</h2>
<h3>Grip the screw with a pair of pliers and turn it</h3>
<p>If the screw isn&#8217;t secured too tightly, and there&#8217;s enough of it protruding, you may be able to get enough purchase with <a href="http://www.amazon.com/gp/product/B0006HVU4W/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0006HVU4W">a normal pair of pliers</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B0006HVU4W" alt="" width="1" height="1" border="0" /> to remove it. Be sure to clamp the screw in the sample place with the pliers each time you grip it so you don&#8217;t round off the screw.</p>
<p><a href="http://www.amazon.com/gp/product/B000NNFSKG/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000NNFSKG"><img class="alignnone" src="http://ecx.images-amazon.com/images/I/419%2B9ttbKaL._SL500_AA300_.jpg" alt="" width="300" height="300" /></a></p>
<p>Of course, the more leverage you can get to grip the screw with the better, so if you&#8217;ve got a pair of pliers with long handles and an adjustable jaw like <a href="http://www.amazon.com/gp/product/B000NNFSKG/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000NNFSKG">these ones</a>, then use them.</p>
<p><a href="http://www.amazon.com/gp/product/B000NNFSKG/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000NNFSKG"><img class="alignnone" src="http://ecx.images-amazon.com/images/I/31VTwaK-zTL._SL500_AA300_.jpg" alt="" width="300" height="300" /></a></p>
<p>And if you are lucky enough to have a pair of <a href="https://www.amazon.com/dp/B003E48D1M/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B003E48D1M&amp;adid=1VG83S4W6PGASH5P5M7K&amp;">locking pliers</a> (AKA vise grips, vice grips, or mole grips, depending on where you live) then you can use them to apply much more pressure and to clamp down on the screw while you turn it.</p>
<p><a href="https://www.amazon.com/dp/B003E48D1M/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B003E48D1M&amp;adid=0C3W1G90HA75MD62MC4Q&amp;"><img class="alignnone" src="http://ecx.images-amazon.com/images/I/31BmrmWn7HL._SL500_AA300_.jpg" alt="" width="300" height="300" /></a></p>
<h3>Clamp the screw shaft in a drill chuck and turn slowly</h3>
<p>The chuck of a drill is designed to hold the shaft of a drill bit securely, so it often also does a pretty good job of holding the shaft of a broken screw. Tighten up the chuck of the drill as hard as you can around the screw &#8211; you will need both hands for this so get someone to help by holding the drill in place as you do it. Don&#8217;t plug the drill in until you&#8217;ve finished clamping the screw, and <strong>make sure it&#8217;s in reverse</strong>  before you turn it on. Any cheap drill should work for this, or you can also use an electric screwdriver if it has a chuck. <strong>Don&#8217;t</strong> try this trick with a rotary tool like a Dremel &#8211; they are designed for high-speed, low-torque so will be useless (but if you have a Dremel, see the next method!)</p>
<p><a href="https://www.amazon.com/dp/B004FRXWRW/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B004FRXWRW&amp;adid=1B9Z7709JX8RPYGQWQ7S&amp;"><img class="alignnone" src="http://ecx.images-amazon.com/images/I/41sgk3QAPzL._SL500_AA300_.jpg" alt="" width="300" height="300" /></a></p>
<h3>Use a Dremel to cut a slot in the screw</h3>
<p>If there is enough of the screw protruding above the surface it&#8217;s screwed into, you can use a Dremel or other rotary tool with a cut-off bit to cut a slot directly into the shaft, which you can then unscrew with a flat-head screwdriver. Use <a href="http://www.amazon.com/gp/product/B00004UDI7/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B00004UDI7">this type of cutting wheel</a> and make the cut as straight as you can.</p>
<p><a href="http://www.amazon.com/gp/product/B00004UDI7/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B00004UDI7"><img class="alignnone" src="http://ecx.images-amazon.com/images/I/517B9XCGF6L.jpg" alt="" width="300" height="297" /></a></p>
<p>If there is plenty of shaft visible, then you can do the same with a hacksaw, but it&#8217;s much trickier &#8211; you&#8217;ll need a very narrow blade and a steady hand.</p>
<h3>Use epoxy to glue a nut onto the end</h3>
<p>Two-part epoxy glue forms an incredibly strong bond, so you can use it to glue something onto the end of the screw that will give you enough grip to turn it. <a href="https://www.amazon.com/dp/B0006O1ICE/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B0006O1ICE&amp;adid=0BHVAY8WE6JQRNCEAQEH&amp;">Use a type of epoxy designed for metal</a> &#8211; J-B Weld is the strongest:</p>
<p><a href="https://www.amazon.com/dp/B0006O1ICE/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B0006O1ICE&amp;adid=0BHVAY8WE6JQRNCEAQEH&amp;"><img class="alignnone size-full wp-image-1524" title="51pyy3f8-NL._SL500_AA300_" src="http://redrowstudio.com/wp-content/uploads/2011/12/51pyy3f8-NL._SL500_AA300_.jpg" alt="" width="300" height="300" /></a></p>
<div>The best thing to glue, if you have one, is a nut that just fits over the head of the screw. Position the nut over the head of the screw, then mix up the glue and use it to fill the gap between the nut and the screw. Be sure not to accidentally glue the screw to the surface that it&#8217;s stuck in! Wait for the glue to cure then use a spanner or socket to unscrew the screw using the nut.</div>
<div></div>
<div>Other type of glue are not strong enough for this trick, so don&#8217;t bother trying &#8211; you will just create a mess!</div>
<div></div>
<h3>Weld a nut onto the end of the screw</h3>
<div>A similar approach to number 4, but (if you have access to a welder) a much quicker one. Weld the end of the screw to something solid which you can use to grip it &#8211; a nut is perfect.</div>
<div></div>
<div><img class="alignnone size-full wp-image-1525" title="p1" src="http://redrowstudio.com/wp-content/uploads/2011/12/p1.jpg" alt="" width="320" height="378" /></div>
<div></div>
<div></div>
<h3>Use a screw extractor</h3>
<p>This is bottom of the list because it involves buying a special bit of equipment &#8211; <a href="https://www.amazon.com/dp/B001D1FXDE/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B001D1FXDE&amp;adid=1VV16VVTHTSTD644VYP0&amp;">a screw extractor set</a>. However, it really belongs at the top because it is the quickest, most reliable solution.  Screw extractors have a left-handed thread, which means that you put your drill into reverse and then start drilling into the broken screw. When the extractor has embedded itself in the screw, the left-hand rotation will neatly unscrew it. If you&#8217;re going to the trouble of buying a screw extractor, then you might as well buy a set, because (1) you won&#8217;t have to try to guess which size you need and (2) you&#8217;ll have the correct tool on hand the next time you encounter a broken screw!</p>
<p>&nbsp;</p>
<p><a href="https://www.amazon.com/dp/B001D1FXDE/ref=as_li_ss_til?tag=redrowstudio-20&amp;camp=0&amp;creative=0&amp;linkCode=as4&amp;creativeASIN=B001D1FXDE&amp;adid=1VV16VVTHTSTD644VYP0&amp;"><img class="alignnone" src="http://ecx.images-amazon.com/images/I/217nQtlrUgL._SL500_AA300_.jpg" alt="" width="300" height="300" /></a></p>
<h2>If you have a trick that&#8217;s not mentioned here, let me know in the comments and I&#8217;ll update this post!</h2>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/12/30/how-to-remove-a-broken-or-stripped-screw-the-ultimate-collection-of-tips/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to build raiser legs for a chair or sofa</title>
		<link>http://redrowstudio.com/index.php/2011/12/13/how-to-raise-chairs-and-sofas/</link>
		<comments>http://redrowstudio.com/index.php/2011/12/13/how-to-raise-chairs-and-sofas/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 11:20:26 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[crafts]]></category>

		<guid isPermaLink="false">http://redrowstudio.com/?p=1491</guid>
		<description><![CDATA[Recently I got a new set of sofas and armchairs to go in my living room. They were perfect apart from one small problem &#8211; the legs were too short. By that I mean that the underside of the sofas were too close to the ground to allow my Roomba vacuum cleaner to fit underneath. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I got a new set of sofas and armchairs to go in my living room. They were perfect apart from one small problem &#8211; the legs were too short. By that I mean that the underside of the sofas were too close to the ground to allow my Roomba vacuum cleaner to fit underneath. As you can see from this picture, a Roomba will happily clean underneath furniture, but only if there&#8217;s enough room &#8211; in the case of my model, about three and a half inches (90mm).</p>
<p><img class="alignnone size-full wp-image-1503" title="roomba" src="http://redrowstudio.com/wp-content/uploads/2011/12/roomba.jpeg" alt="" width="363" height="139" /></p>
<p>I definitely wanted to make sure that my Roomba could fit underneath the new sofas &#8211; I have three dogs and hardwood floors, so hair will inevitably gather if it&#8217;s not being picked up. I started looking at chair raisers &#8211; there are some very nice hardwood ones available &#8211; but quickly realised that there were two problems. Firstly, I would need three sets, which would set me back the best part of $100. Secondly, there&#8217;s no way to adjust the height &#8211; I wanted to raise my sofas and chairs up by only the minimum amount necessary. So I decided to make my own.</p>
<h2>Design</h2>
<p>The basic plan is to use a hole saw to cut a bunch of circular wooden disks out of cheap timber planks, and then stack the disks together until they&#8217;re the right height. Then, to securely hold the legs of the sofa, you&#8217;ll cut a final disk with a cut-out section in the middle where the sofa leg will go. A photo of the rough finished product should make things clearer:</p>
<p><img class="alignnone size-full wp-image-1504" title="P1140763" src="http://redrowstudio.com/wp-content/uploads/2011/12/P1140763.jpg" alt="" width="600" height="542" /></p>
<p>This one was made from 3/4 inch (18mm) planed timber, and I used three layers to give a total height of  2¼ inches (54mm). The top layer was made from the same piece of wood, but doesn&#8217;t contribute to the height of the sofa &#8211; the sofa leg just sits in the round depression so that it&#8217;s held securely. This is the rough version &#8211; if you&#8217;re going to be able to see the leg raisers, you could sand the outside and stain or paint for a nicer finish.</p>
<h2>Construction</h2>
<p>The trick to cutting out these perfectly circular disks of wood is to use a hole saw -  a circular blade that fits into a normal drill and cuts round holes.</p>
<p><img class="alignnone size-full wp-image-1506" title="holesaw" src="http://redrowstudio.com/wp-content/uploads/2011/12/holesaw.jpeg" alt="" width="225" height="225" /></p>
<p>For this project we need to cut two sizes of hole &#8211; a big one for the main layers, and a smaller one for the sofa/chair leg to fit into. Rather than buying two individual saws, it&#8217;s cheaper to buy a set that contains a range of sizes. <a href="http://www.amazon.com/gp/product/B004W8EE44/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B004W8EE44">This set will do the job perfectly</a> and contains a range of sizes which will be useful for other projects. You&#8217;ll also need an electric drill and some smooth planed timber &#8211; try to get a plank that&#8217;s 3/4 inches thick and about 5 inches wide.</p>
<p>Now, on to the cutting. Disclaimer: power tools are dangerous &#8211; take care!</p>
<p>If you look at your hole saw, you&#8217;ll see that the central drill bit protrudes a bit beyond the cutting saw part. The trick to cutting nice neat holes is to drill through your wood until the central bit emerges on the other side, but before the saw part has cut all the way through. Then, turn the wood over and finish off the cut from the other side, using the central hole to make sure that you&#8217;re cutting in exactly the same place. If you just cut all the way through from one side, then you&#8217;ll get a load of splinters where the saw breaks through the wood. Most hole saws have a small hole in the back that you can use to poke out the circular disk if it is stuck &#8211; do this gently, as you don&#8217;t want to dent the wood.</p>
<p>While you&#8217;re cutting, watch out for any sign of overheating, like smoke. The friction between the saw and the wood can cause it to get very hot. Also, be careful not to touch the blade immediately after you&#8217;ve finished a cut as it will probably be hot. A hole saw generates a large amount of sawdust &#8211; much more than normal drilling &#8211; so make sure you do it somewhere that will be easy to clean up.</p>
<p>The easiest way to figure how how many layers you need is by trial and error. Cut out four disks using the largest hole saw in your set, and put them underneath the four legs of your sofa. If it&#8217;s still not high enough, cut another four and repeat. Be careful, because at this stage there is nothing holding the disks together, so they could easily slip.</p>
<p>Once you&#8217;ve got enough layers to raise your sofa to the right height, cut one more set of disks for the top layer that will hold the legs. Now comes the clever bit &#8211; we will use a hole saw to cut another disk from inside the first one, leaving us with a ring-shaped bit of wood that will hold the leg securely. The trick to this is to cut the inner hole just big enough to hold the existing sofa leg, so measure it and pick the hole saw from your set that is just big enough to fit. If your existing sofa leg is round, then just measure across it; if it is square then measure on the diagonal. If the size is in between two of your hole saws, then pick the smaller one and enlarge the inner hole after glueing. Use the drill bit hole in the centre of your wooden disk to make sure that you drill the inner hole in the exact middle. You&#8217;ll probably want to clamp the wooden disk when drilling it, as there might not be much clearance between the edges of the disk and the hole that you&#8217;re drilling.</p>
<p>When all the drilling is done, you&#8217;ll be left with a stack of wooden disks (3 in my case) and a wooden ring for each leg. Assemble each raiser by glueing the bottom of each disk to the top of the one below it, and glueing the bottom of the ring to the top of the uppermost disk (take a look back at the photo above to see what I mean).  Because you&#8217;ve made the disks from planed wood, the tops and bottoms should be perfectly flat and easy to glue. And because you&#8217;ve used a hole saw to make the disks they should all be exactly the same diameter, so it should be easy to get them to line up.</p>
<p>Once the glue has dried, it&#8217;s time to check that the sofa legs fit into the depressions on the top of each raiser. If you&#8217;ve cut the holes slightly too small, then the best way to enlarge them slightly is with a rotary tool like a Dremel with a <a href="http://www.amazon.com/gp/product/B00004UDHH/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B00004UDHH">drum sander</a><img class=" uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko uzbsowodckjpnxhanjko" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B00004UDHH" alt="" width="1" height="1" border="0" />.</p>
<p><a href="http://www.amazon.com/gp/product/B00004UDHH/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B00004UDHH"><img class="alignnone size-full wp-image-1508" title="drum" src="http://redrowstudio.com/wp-content/uploads/2011/12/drum.jpg" alt="" width="300" height="300" /></a></p>
<p>You could also use a round file or a piece of sandpaper, but it will take quite a lot longer! If necessary, you can tap the bottom of the raisers with a mallet to get them seated securely on the sofa legs &#8211; the slight friction between the leg and the wood will help to hold them on securely.</p>
<p>Finally, finish the raisers however you like. I simply sanded the outside to a nice smooth finish, but if the raisers are going to be on display, then you could stain or paint them to match the rest of your furniture.</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/12/13/how-to-raise-chairs-and-sofas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build a high-quality audio system using Ubuntu</title>
		<link>http://redrowstudio.com/index.php/2011/12/05/how-to-build-a-high-quality-audio-system-using-ubuntu/</link>
		<comments>http://redrowstudio.com/index.php/2011/12/05/how-to-build-a-high-quality-audio-system-using-ubuntu/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 11:29:42 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://redrowstudio.com/?p=1474</guid>
		<description><![CDATA[Note: this post is about high-quality audio under Linux; however, the set-up will work just as well on a Windows or Mac machine. Historically, sound has always been a weak point for Linux, with many devices refusing to work due to a lack of drivers. The appearance of Ubuntu improved matters, but I have always [...]]]></description>
			<content:encoded><![CDATA[<p>Note: this post is about high-quality audio under Linux; however, the set-up will work just as well on a Windows or Mac machine.</p>
<p>Historically, sound has always been a weak point for Linux, with many devices refusing to work due to a lack of drivers. The appearance of Ubuntu improved matters, but I have always found support for high-quality audio to be lacking. However, the development of USB sound cards has made a big difference and I have finally found a way to get high-quality audio on Ubuntu on a budget. The set up I&#8217;m about to describe will give you fantastic, detailed sound for music listening for around $200.  Briefly, the recipe is</p>
<p>1. use an external USB soundcard</p>
<p>2. get a line-out signal from the soundcard and</p>
<p>3. use active monitor speakers, NOT multimedia speakers</p>
<h2>The sound card</h2>
<p>There are two main reasons to use a USB sound card. Firstly it means that the digital-to-analog conversion is taking place outside the computer, where it can&#8217;t be affected by all the electrical noise inside. Secondly, the quality of the conversion (which will ultimately determine the quality of the sound) is far better than can be achieved by your computer&#8217;s built-in sound card.</p>
<p>The best low-cost USB audio device I have found is the <a href="http://www.amazon.com/gp/product/B003E6K1VK/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B003E6K1VK">FIIO E7</a><img class=" cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B003E6K1VK" alt="" width="1" height="1" border="0" />, which you should be able to pick up for around $80.</p>
<p><a href="http://www.amazon.com/gp/product/B003E6K1VK/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B003E6K1VK"><img class="alignnone size-full wp-image-1494" title="e7" src="http://redrowstudio.com/wp-content/uploads/2011/12/e7.jpg" alt="" width="200" height="200" /></a></p>
<p>It&#8217;s actually designed and marketed as a headphone amplifier, but it&#8217;s perfect for our purposes because it&#8217;s actually a high-quality USB soundcard as well. It is recognized by Ubuntu as a USB audio device so it doesn&#8217;t need any drivers and will work out of the box.</p>
<h2>The line-out signal</h2>
<p>Because the E7 is designed to drive headphones, you can&#8217;t take the output and use it to drive a pair of speakers. Instead you need to get a line-out signal which you can feed to an amplifier. There are two products that let you get a line out signal from the E7 &#8211; a rather cool looking separate <a href="http://www.amazon.com/gp/product/B004M172FY/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004M172FY">headphone amp</a><img class=" cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B004M172FY" alt="" width="1" height="1" border="0" />, and a <a href="http://www.amazon.com/gp/product/B004QVNS0S/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004QVNS0S">line out dock</a><img class=" cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B004QVNS0S" alt="" width="1" height="1" border="0" />.</p>
<p>The headphone amp looks extremely cool, but will set you back another hundred bucks and take up a chunk of space on your desk.  The line out kit (called the L7), on the other hand, costs ten bucks and does the job perfectly.</p>
<p><a href="http://www.amazon.com/gp/product/B004QVNS0S/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B004QVNS0S"><img class="alignnone size-full wp-image-1495" title="l7" src="http://redrowstudio.com/wp-content/uploads/2011/12/l7.jpg" alt="" width="200" height="148" /></a></p>
<p>It clips to the bottom of the E7, then you plug a USB cable in one side, and get a line out signal from the other side. This will allow us to use the DAC part of the E7 while bypassing the amplifier part.</p>
<h2>Active monitors</h2>
<p>Now you have your line-out signal you need a amplifier and a pair of speakers. The best value solution is a pair of active speakers (also called powered speakers); these have an integrated amplifier so you can connect them directly to a line out source. Active speakers come in two main flavours. Multimedia speakers are designed for computer games and movies, so they tend to be loud and dynamic, but are lacking in detail for music. A much better choice is a set of monitor speakers; these are specifically designed to accurately reproduce music and are often used for recording and mixing.</p>
<p>M-audio make a few models of budget speakers that are ideal for our purposes. I am currently using <a href="http://www.amazon.com/gp/product/B0051WAM64/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0051WAM64"> a pair of AV40 speakers</a><img class=" cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B0051WAM64" alt="" width="1" height="1" border="0" /> . They are nicely sized, comfortably loud enough to fill a large room and have wonderful sound reproduction.</p>
<p><a href="http://www.amazon.com/gp/product/B0051WAM64/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0051WAM64"><img class="alignnone size-full wp-image-1496" title="av40" src="http://redrowstudio.com/wp-content/uploads/2011/12/av40.jpg" alt="" width="300" height="300" /></a></p>
<p>If you need something smaller there&#8217;s a very <a href="http://www.amazon.com/gp/product/B0051WAM1O/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0051WAM1O">similar model</a><img class=" cxrjuyrcugockdwvmgrg cxrjuyrcugockdwvmgrg" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B0051WAM1O" alt="" width="1" height="1" border="0" /> with slightly less power which will take up less room. Alternatively, if you want to go larger, the next step up would be <a href="http://www.amazon.com/gp/product/B0014IEBM0/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0014IEBM0">the Bx5A</a>, which has a slightly bigger speaker &#8211; handy if you listen to a lot of bass-heavy music &#8211; but comes at a hefty price.</p>
<h2>Setting up</h2>
<p>Hooking up a system like the one I&#8217;ve described above is very simple. The L7 plus into the bottom of the E7, then the USB cable runs from the L7 to your computer. The line out cable runs from the other side of the L7 to the active speakers. Be sure to arrange your speakers for best sound from your normal listening position &#8211; follow <a href="http://www.tweakshop.com/Speaker%20Placement.html">a guide like this one</a> and you can&#8217;t go wrong.</p>
<p>A set up like this should keep you happy for a long time; the only thing I have found I needed to upgrade is the line out cable which goes between the L7 and the speakers. The supplied one is a little loose, but even a high-quality <a href="http://www.amazon.com/gp/product/B004YEBK66/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004YEBK66">gold-plated, shielded cable</a><img class=" cxrjuyrcugockdwvmgrg" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=redrowstudio-20&amp;l=as2&amp;o=1&amp;a=B004YEBK66" alt="" width="1" height="1" border="0" /> is only about $10, will sound great, and will last practically forever.</p>
<p><a href="http://www.amazon.com/gp/product/B004YEBK66/ref=as_li_ss_tl?ie=UTF8&amp;tag=redrowstudio-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004YEBK66"><img class="alignnone size-full wp-image-1497" title="cable" src="http://redrowstudio.com/wp-content/uploads/2011/12/cable.jpg" alt="" width="300" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/12/05/how-to-build-a-high-quality-audio-system-using-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Higher order programming and functional abstraction in Groovy</title>
		<link>http://redrowstudio.com/index.php/2011/11/30/higher-order-programming-and-functional-abstraction-in-groovy/</link>
		<comments>http://redrowstudio.com/index.php/2011/11/30/higher-order-programming-and-functional-abstraction-in-groovy/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 14:27:27 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://balancing-selection.com/?p=132</guid>
		<description><![CDATA[I&#8217;ve been checking out the legendary MIT Structure and Interpretation of Computer Programs course from 1986 on YouTube, and it&#8217;s fascinating for many reasons, not least the hypnotic synthesized Bach that bookends each lecture. I don&#8217;t think I will ever be able to hear Jesu, joy of man&#8217;s desiring again without seeing that purple wizard. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been checking out the legendary MIT <a href="http://www.youtube.com/watch?v=2Op3QLzMgSY&amp;feature=list_related&amp;playnext=1&amp;list=SPE18841CABEA24090">Structure and Interpretation of Computer Programs</a> course from 1986 on YouTube, and it&#8217;s fascinating for many reasons, not least the hypnotic synthesized Bach that bookends each lecture. I don&#8217;t think I will ever be able to hear <em>Jesu, joy of man&#8217;s desiring</em> again without seeing that purple wizard. What&#8217;s really striking to me is how quickly the course gets into territory that I (coming from a self-taught Perl/Java background) think of as pretty advanced. In the first three lectures we are introduced to:</p>
<ul>
<li>Recursive subroutines</li>
<li>big-O notation</li>
<li>passing functions around as variables</li>
<li>building functions using higher-order programming</li>
</ul>
<p>Anyway, I thought that the example used to illustrate higher-order programming was pretty cool, so I decided to see if I could implement it in Groovy. The example involves writing a function to calculate the square root of a number using the <a href="http://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method">Babylonian method </a>- start with a guess and repeatedly average the guess with the number divided by the guess, until the answer is close enough.</p>
<p>Here it is in Groovy:</p>
<pre class="brush: groovy; title: ; notranslate">

def abs(x){
    if (x &lt; 0)
        -x
    else
         x
} 

def sqrt2(guess){
    println &quot;guess is $guess&quot;
    def difference = abs((guess * guess) - 2)
    if (difference &lt; 0.001){
        return guess
    }
    else{
        def new_guess = ((2 / guess) + guess) / 2
        return sqrt2(new_guess)
    }
}

sqrt2(1)
</pre>
<p>and the output:</p>
<pre class="brush: plain; title: ; notranslate">
guess is 1
guess is 1.5
guess is 1.41666666665
guess is 1.414215686275
</pre>
<p>I&#8217;ve defined an abs() closure because the built-in .abs() method complains about different types of numbers. The sqrt2 method itself is easy to read &#8211; given a guess, calculate how far off it is by squaring it, and either return the guess (it it&#8217;s close enough) or use the averaging procedure to make a new guess and call sqrt2() again. We could make it a bit more concise by leaving off the explicit return statements &#8211; a Groovy method returns the value of the last expression that was evaluated, so we don&#8217;t really need them (this is what I&#8217;ve done with my abs() method). Note that when we call the method in the last line, we have to supply it with an initial guess.</p>
<p>The first step in abstraction is pretty obvious &#8211; let&#8217;s do away with the hard-coded 2 and let the method take the number for which we want to take the square root as an argument.</p>
<pre class="brush: groovy; title: ; notranslate">

def sqrt_iter(x, guess){
    println &quot;guess is $guess&quot;
    def difference = abs((guess * guess) - x)
    if (difference &lt; 0.001){
         guess
    } else {
         def new_guess = ((x / guess) + guess) / 2
         sqrt_iter(x, new_guess)
    }
}

def sqrt = { x -&gt;
    sqrt_iter(x, 1)
}
sqrt(5)
</pre>
<p>To make things a a little more convenient I&#8217;ve moved the iterative code to a closure called sqrt_iter; the job of sqrt now is just to supply the initial guess. Now we can ask for the square root of exotic numbers like five:</p>
<pre class="brush: plain; title: ; notranslate">

guess is 1
guess is 3
guess is 2.33333333335
guess is 2.238095238095
guess is 2.2360688956435
</pre>
<p>Up to this point there&#8217;s no higher-order programming going on. But now it starts to get interesting; we can extract the bits of code that are responsible for checking if the answer is good enough and for generating the next guess:</p>
<pre class="brush: groovy; title: ; notranslate">

def improve(x, guess){
    ((x / guess) + guess) / 2
}

def goodEnough(x, guess){
    def difference = abs((guess * guess) - x)
    difference &lt; 0.001
}

def sqrt_iter(x, guess){
    println &quot;guess is $guess&quot;
   if (goodEnough(x, guess)){
        guess
    }
    else{
        def new_guess = improve(x, guess)
        sqrt_iter(x, new_guess)
    }
}

def sqrt(x){
    sqrt_iter(x, 1)
}
sqrt(5)
</pre>
<p>Now, what we are left with in sqrt_iter is a generic procedure for solving a problem by generating successively better guesses until we get close enough. We can make this abstraction explicit by turning our improve / good enough methods into closures and having them as arguments to the main iteration method:</p>
<pre class="brush: groovy; title: ; notranslate">
sqrt_improve = { x, guess -&gt;
    ((x / guess) + guess) / 2
}

sqrt_goodEnough = { x, guess -&gt;
    def difference = abs((guess * guess) - x)
    difference &lt; 0.001
}

def generic_iter(goodEnough, improve, x, guess){
    println &quot;guess is $guess&quot;
    if (goodEnough(x, guess)){
        guess
    }
    else{
        def new_guess = improve(x, guess)
        generic_iter(goodEnough, improve, x, new_guess)
    }
}

def sqrt(x){
    generic_iter(sqrt_goodEnough, sqrt_improve, x, 1)
}
sqrt(5)
</pre>
<p>I&#8217;ve changed the names of the closures to make things clearer. sqrt_improve and sqrt_goodEnough are the particular type of improve and goodEnough routines that are for solving square roots. Our iteration routine is now a generic one that take four arguments &#8211; a closure that can tell if a guess is good enough; a closure that can improve an existing guess, a number for which we&#8217;re trying to find the answer, and a guess. Note that the generic_iter method now contains absolutely no logic to do with calculating square roots &#8211; it is completely generic. We can use it to solve any problem which we can express in terms of a way of checking if a guess is good enough, and a way of improving a guess. </p>
<p>Here&#8217;s a completely brain-dead example; using the generic_iter method to solve the problem of finding the smallest integer that is bigger than a given number:</p>
<pre class="brush: groovy; title: ; notranslate">
biggerThan_improve = {x, guess -&gt;
    guess + 1
}

biggerThan_goodEnough = {x, guess -&gt;
    guess &gt; x
}

def biggerThan(x){
    generic_iter(biggerThan_goodEnough, biggerThan_improve, x, 0)
}

biggerThan(5)
</pre>
<p>The improve closure just increments the guess by one; the good enough closure just checks whether the guess is bigger than the target number. The output is not particularly surprising:</p>
<pre class="brush: plain; title: ; notranslate">
guess is 0
guess is 1
guess is 2
guess is 3
guess is 4
guess is 5
guess is 6
</pre>
<p>One final point: because we can return closures as values from methods in Groovy, we can redefine generic_iter so that rather than executing the iteration procedure, it returns it. So we can assign the result to another variable and use it later on:</p>
<pre class="brush: groovy; title: ; notranslate">
def generic_iter(goodEnough, improve){
    def returnClosure
    returnClosure =  { x, guess -&gt;
        println &quot;guess is $guess&quot;
        if (goodEnough(x, guess)){
            guess
        }
        else{
            def new_guess = improve(x, guess)
            returnClosure(x, new_guess)
        }
    }
}

def sqrt = generic_iter(sqrt_goodEnough, sqrt_improve)

sqrt(5, 1)
</pre>
<p>Note that here we have to define returnClosure before we assign a value to it, because we want to refer to it inside the closure body. generic_iter now takes only two arguments &#8211; the two closures that will do the work &#8211; because its job is not to actually carry out the calculation, but to build the routine that will.</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/11/30/higher-order-programming-and-functional-abstraction-in-groovy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix an infinite 301 redirect loop in WordPress</title>
		<link>http://redrowstudio.com/index.php/2011/11/29/how-to-fix-an-infinite-301-redirect-loop-in-wordpress/</link>
		<comments>http://redrowstudio.com/index.php/2011/11/29/how-to-fix-an-infinite-301-redirect-loop-in-wordpress/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 20:44:10 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://redrowstudio.com/?p=1470</guid>
		<description><![CDATA[I just ran into this problem today; thought I should post the solution in case anybody else finds themselves in the same boat. I moved a WordPress blog from one server to another which was running lighttpd with a blanket 301 redirect to from www to non-www URLs. When I fired up a browser to [...]]]></description>
			<content:encoded><![CDATA[<p>I just ran into this problem today; thought I should post the solution in case anybody else finds themselves in the same boat.</p>
<p>I moved a WordPress blog from one server to another which was running lighttpd with a blanket 301 redirect to from www to non-www URLs. When I fired up a browser to test it, I got the dreaded &#8220;this website is responding in a way that will never resolve&#8221; message. A quick look at the lighttpd logs confirmed that I was bouncing from <strong>www.example.com</strong> to <strong>example.com</strong> then back to <strong>www.example.com</strong>.</p>
<p>I expected the first redirect but not the second, and checking in my lighttpd conf showed no rule that could possibly be triggering it. Thinking maybe I had left a redirection plugin running, I logged on the blog (by temporarily disabling the redirect rules) and checked, but couldn&#8217;t find anything.</p>
<p>Turns out that WordPress itself is capable of generating 301 redirects according to the &#8220;Blog URL&#8221; field in the General settings page. If the URL is set to <strong>http://www.example.com </strong>and a request comes in for <strong>http://example.com/some/page</strong>, then WordPress will automatically respond with a 301 redirect to<strong> http://www.example.com/some/page</strong> (which in my case, would get caught by my lighttpd rule and bounced back to the original request URL, and so on).</p>
<p>Moral of the story: make sure that your WordPress URL settings and any manual redirection you are carrying out are in agreement as to what the &#8216;correct&#8217; URL should be!</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/11/29/how-to-fix-an-infinite-301-redirect-loop-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to lie with evolutionary trees</title>
		<link>http://redrowstudio.com/index.php/2011/09/11/how-to-lie-with-evolutionary-trees/</link>
		<comments>http://redrowstudio.com/index.php/2011/09/11/how-to-lie-with-evolutionary-trees/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 16:01:31 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://balancing-selection.com/?p=18</guid>
		<description><![CDATA[Because evolution is largely treelike in large, multicellular animals (interesting cases of lateral gene transfer notwithstanding) the easiest way to display the history of life is in the form of a tree. Trees are great at packing a lot of information into a small space; they can represent the entire set of relationships between a [...]]]></description>
			<content:encoded><![CDATA[<p>Because evolution is largely treelike in large, multicellular animals (interesting cases of lateral gene transfer notwithstanding) the easiest way to display the history of life is in the form of a tree. Trees are great at packing a lot of information into a small space; they can represent the entire set of relationships between a group of organisms very compactly.</p>
<div id="attachment_105" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-105" title="800px-Phylogenetic_tree.svg" src="http://balancing-selection.com/wp-content/uploads/2011/09/800px-Phylogenetic_tree.svg_-300x202.png" alt="" width="300" height="202" /><p class="wp-caption-text">image credit: wikipedia</p></div>
<p>However, they can also be difficult to read and so a reader&#8217;s interpretation of them can be easily affected by the way in which they&#8217;re drawn. Take a look at this evolutionary tree, showing the evolutionary relationships between several different animals.<br />
<span id="more-1426"></span></p>
<p><img class="aligncenter size-full wp-image-110" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all3.png" alt="" width="280" height="491" /></p>
<p>This is a pretty uncontroversial tree; you&#8217;d have difficulty finding any biologist who would disagree with it. On this tree, evolution moves from left to right and each horizontal branch defines a group of animals to the right of it. All the animals to the right of a given branch are more closely related to each other than they are to any of the other animals. For instance, the branch that I&#8217;ve marked with a red star defines a group that includes houseflies, horseflies and dung beetles. That branch tells us that these three animals are more closely related to each other than they are to any of the other animals in the tree.</p>
<p>Now if we wanted to tell a particular story with this tree, how could we change the presentation without changing what the tree actually says? One thing that we can do is remove animals from the tree. Doing this doesn&#8217;t change the relationships that are shown &#8211; it just means that some relationships are left out. Here&#8217;s the original tree with some of the animals in grey:</p>
<p><img class="aligncenter size-full wp-image-114" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all5.png" alt="" width="280" height="491" /></p>
<p>And here&#8217;s the tree we get when we leave those animals out. It&#8217;s completely in agreement with the first &#8211; but it tells a rather different story:</p>
<p><img class="aligncenter size-full wp-image-112" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all4.png" alt="" width="279" height="255" /></p>
<p>Look familiar? This is the &#8220;humans are the pinnacle of evolution&#8221; tree that&#8217;s often found in biology textbooks. Although all the relationships depicted in it are correct, by choosing to display only animals that are progressively more distant from humans we&#8217;ve set it up so that it looks like humans are the endpoint of evolution, and all other species are just steps along the way. If we want to make this point even stronger, we can redraw it using slanted lines:</p>
<p><img class="aligncenter size-full wp-image-115" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all6.png" alt="" width="252" height="255" /></p>
<p>So now we have a straight line from the origin of life to humans, with other species as mere offshoots. The ultimate misleading version of the tree has the species names arranged diagonally, so as to give the impression that other species are somehow &#8220;less evolved&#8221; than humans (by virtue of being not as far to the right).</p>
<p><img class="aligncenter size-full wp-image-116" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all7.png" alt="" width="252" height="227" /></p>
<p>Remember that this tree shows exactly the same relationships as the one we started with. To show how misleading it is, let&#8217;s go back to our original tree and pick a different set of species to show:</p>
<p><img class="aligncenter size-full wp-image-117" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all8.png" alt="" width="280" height="491" />After removing the species in grey, we are left with this:</p>
<p><img class="aligncenter size-full wp-image-121" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all12.png" alt="" width="279" height="253" /></p>
<p>&nbsp;</p>
<p>Which we can rearrange by moving the human down the list. This doesn&#8217;t alter the relationships, just the order in which we read the species names. The resulting tree, again, is in complete agreement with our original one, and shows a steady evolutionary progression towards houseflies!</p>
<p><img class="aligncenter size-full wp-image-120" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all11.png" alt="" width="279" height="255" /></p>
<p>Adding in our layout tricks completes the picture:</p>
<p><img class="aligncenter size-full wp-image-122" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all13.png" alt="" width="252" height="227" /></p>
<p>&nbsp;</p>
<p>For comparison, here&#8217;s the human-centric tree, housefly-centric tree, and original tree side by side.</p>
<p>&nbsp;</p>
<p><img class="aligncenter size-full wp-image-128" title="all" src="http://balancing-selection.com/wp-content/uploads/2011/09/all14.png" alt="" width="846" height="491" /></p>
<p>Remember, the trees to the left and right don&#8217;t include any relationships that are not also present in the one in the middle. The fact that they can tell such different stories about evolution is a reflection of the difficulties involved in interpreting evolutionary trees. They are to be viewed with caution.</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/09/11/how-to-lie-with-evolutionary-trees/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which is harder, walking or flying?</title>
		<link>http://redrowstudio.com/index.php/2011/09/03/which-is-harder-walking-or-flying/</link>
		<comments>http://redrowstudio.com/index.php/2011/09/03/which-is-harder-walking-or-flying/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 10:10:13 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://balancing-selection.com/?p=22</guid>
		<description><![CDATA[One of the nice things about having a reliable knowledge of the relationships between groups of organisms is that it lets us figure out when different traits have evolved. This can be of great practical importance &#8211; for instance, if we see that a particular mutation has evolved independently in several species that are all [...]]]></description>
			<content:encoded><![CDATA[<p>One of the nice things about having a reliable knowledge of the relationships between groups of organisms is that it lets us figure out when different traits have evolved. This can be of great practical importance &#8211; for instance, if we see that a particular mutation has evolved independently in several species that are all parasites, then it suggests that the mutation might be important for parasitism. It also lets us make more general statements about the history of life on earth &#8211; for example, we can say with great certainty that complex eyes have evolved independently multiple times.</p>
<p>Another trait that has evolved multiple times is powered flight. We know that there are four groups of organisms that can fly &#8211; birds, bats, insects, and (extinct) pterosaurs. And we know that each of these groups evolved flight independently because, in each case, the most closely-related group cannot fly. For example, bats are most closely related to carnivores like dogs and cats than they are to any other flying animal. (The situation with birds is slightly more complex because their closest relatives are all extinct, but the principal is the same). We can be pretty confident that powered flight evolved independently four times.<br />
<span id="more-1428"></span><br />
This seems on the low side; after all, many traits that sound just as complicated have evolved much more often than that &#8211; sophisticated eyes, complex social living arrangements (as seen in bees) and multicellularity have all been estimated to have arisen independently at least a dozen times. You might expect that something like flying, which offers such obvious benefits &#8211; escaping from predators; access to food; being able to migrate long distances &#8211; would have evolved many times as well. So why is it so uncommon? Perhaps it requires a degree of specialization that is rarely justified by the benefits it confers. Perhaps it requires a very unusual set of anatomical adaptations to happen simultaneously &#8211; this idea is given credence by the fact that gliding, as opposed to powered flight, has evolved independently many times. Maybe gliding offers enough of the benefits of flying, without the need for radical specialization, that it is more adaptive for the majority of animals.</p>
<p>Of course, perhaps it only seems rare to us because of our land-bound nature &#8211; flying seems like a big deal because we can&#8217;t do it. Let&#8217;s forget flying for a moment; how many times has <em>walking</em> evolved? I&#8217;m going to rule out animals like tardigrades, that live in tiny films of water &#8211; they don&#8217;t count. Neither do annelid worms; some of them have leg-like protuberances, but they still move by wiggling. By my count, walking has evolved independently just three times in the history of life &#8211; in arthropods (like insects and crustaceans), tetrapods (like humans and crocodiles) and velvet-worms (rather than try to describe them, here&#8217;s a <a href="http://en.wikipedia.org/wiki/Onychophora">wikipedia link</a>). In fact, it seems likely that velvet-worms and arthropods form a closely-related group, which means that walking has evolved independently just <em>twice</em>. So as per the title of this post walking is, from an evolutionary point of view, twice as difficult as flying!</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/09/03/which-is-harder-walking-or-flying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An elegant result from population genetics</title>
		<link>http://redrowstudio.com/index.php/2011/08/30/an-elegant-result-from-population-genetics/</link>
		<comments>http://redrowstudio.com/index.php/2011/08/30/an-elegant-result-from-population-genetics/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 14:32:41 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://balancing-selection.com/?p=91</guid>
		<description><![CDATA[Biology is by far the &#8220;fuzziest&#8221; of the sciences, dealing as it does with complicated and messy living organisms rather than platonic forces and molecules.  As such it has a distinct lack of the kind of elegant laws that crop up in the harder sciences. Pithy equations like E=mc2 (which relates energy, mass and a [...]]]></description>
			<content:encoded><![CDATA[<p>Biology is by far the &#8220;fuzziest&#8221; of the sciences, dealing as it does with complicated and messy living organisms rather than platonic forces and molecules.  As such it has a distinct lack of the kind of elegant laws that crop up in the harder sciences. Pithy equations like <strong>E=mc<sup>2</sup></strong> (which relates energy, mass and a fundamental physical constant), or the mathematical relationship <strong>e<sup>pi*i</sup>=-1</strong> (which relates the three most important constants in mathematics) are in short supply in biology.</p>
<p>There is one biological law, however, that shares the elegance of these equations. It comes from the field of theoretical population genetics, and concerns a scenario where a species is split into two populations. Imagine a species of lizard that is found only on a single island. The island has a mountain range running from north to south down its centre. The mountains make it difficult for the lizards to cross from one side of the island to the other, effectively splitting them into two populations.<br />
<span id="more-91"></span><br />
Our question involves the long-term fate of these two populations. We know that two isolated populations will tend to diverge from one another by a process known as genetic drift. This occurs because random variations in the frequencies of genes cause differences between the two populations to accumulate over time. But exactly what degree of isolation is necessary for this to happen?</p>
<p>One way to answer this question is to look at the frequency with which individuals move from one population to the other (from the east side of the island to the west, or vice versa). It&#8217;s obvious that if no individuals <em>ever</em> cross over, then the two populations are completely isolated and they will diverge. It&#8217;s equally obvious that if individuals can cross the mountain range easily, then there will be lots of migration between the two populations and they will not diverge. But what is the amount of migration at which the two populations switch from staying the same to diverging?</p>
<p>Intriguingly, the answer (given a large number of simplifying assumptions) turns out to be one individual per generation, in each direction. In other words, if fewer than one individual moves from each population to the other in every generation, the two populations will diverge due to genetic drift; if more than one individual moves, they won&#8217;t.</p>
<p>The reason why this answer of one-per-generation is surprising is that it doesn&#8217;t depend on the size of the populations. One migrant per generation is sufficient to stop the populations from drifting apart regardless of whether there are ten lizards or ten thousand. This seems counter-intuitive; we would expect a single individual to have a much greater impact on a small population than a large one. You would think that the genetic contribution of an individual would be swallowed up in a large population, swamped by the much larger number of genes that are already in it.</p>
<p>However, this effect is balanced out by another factor; genetic drift affects large populations much less than small ones. The explanation for this is beyond the scope of this article, but it stems from the fact that certain types of random events are more common in small populations. Genetic differences between populations are fixed by a process akin to flipping coins, so just as you have more chance of getting all heads when you flip five coins (1/32) than ten coins (1/1024), drift has a higher chance of occurring in a small population than a big one.</p>
<p>The reason why the one-per-generation rule holds, and the reason why it is so interesting, is that these two effects exactly cancel each other out. The simplified assumptions on which the rule depends are unlikely to be found in real-world populations, but nevertheless it&#8217;s an important and elegant contribution to the field of genetics.</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/08/30/an-elegant-result-from-population-genetics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Humans and fruit flies are more similar than you think</title>
		<link>http://redrowstudio.com/index.php/2011/08/22/humans-and-fruit-flies-are-more-similar-than-you-think/</link>
		<comments>http://redrowstudio.com/index.php/2011/08/22/humans-and-fruit-flies-are-more-similar-than-you-think/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 09:48:27 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://balancing-selection.com/?p=16</guid>
		<description><![CDATA[Readers with a passing interest in biology might be familiar with the name Drosophila melanogaster, a type of fruit fly that has been studied intensely for about a hundred years. Drosophila has been the subject of such interest not because there is anything unusual about it, or because it&#8217;s important to human affairs, but for [...]]]></description>
			<content:encoded><![CDATA[<p>Readers with a passing interest in biology might be familiar with the name <em>Drosophila melanogaster</em>, a type of fruit fly that has been studied intensely for about a hundred years. <em>Drosophila</em> has been the subject of such interest not because there is anything unusual about it, or because it&#8217;s important to human affairs, but for straightforward practical reasons &#8211; fruit flies don&#8217;t take up much room, they breed quickly, and they&#8217;re easy to take care of.</p>
<p>The things we learn by studying Drosophila can hopefully be applied to animals that are of more practical importance, such as disease vectors, livestock, and, of course, humans. The last item on that list usually jumps out at us and makes us wonder: just how much we can learn about humans by studying flies? Surely humans and flies are completely different animals!</p>
<p>Well, as with many things in biology, it all depends on how closely you look. Let&#8217;s start with the obvious picture that springs to mind &#8211; human on the left, fly on the right.<br />
<span id="more-16"></span><br />
<img class="alignleft size-full wp-image-65" title="1316307_happy_woman_and_christmas_present" src="http://balancing-selection.com/wp-content/uploads/2011/08/1316307_happy_woman_and_christmas_present.jpg" alt="" width="188" height="300" /><img class="alignright size-full wp-image-66" title="55542main_maflies_med" src="http://balancing-selection.com/wp-content/uploads/2011/08/55542main_maflies_med-e1313837446399.jpg" alt="" width="161" height="169" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>At first glance, we&#8217;ll be hard pressed to pick out any similarity between the two. They&#8217;re both bilaterally symmetrical (i.e. the left and right sides are the same), and they both have a head at one end with eyes and a mouth, but that&#8217;s about as far as we can go. In this view, the differences are far more obvious &#8211; absence of wings in the human, and an abundance of legs in the fly, not to mention the vast difference in size &#8211; in real life, the fly is about a thousand times shorter than the human.</p>
<p>Let&#8217;s take a closer look. Here are pictures showing the internal organs in humans:</p>
<p><img class="aligncenter size-medium wp-image-69" title="674px-Man_shadow_anatomy" src="http://balancing-selection.com/wp-content/uploads/2011/08/674px-Man_shadow_anatomy-300x266.png" alt="" width="300" height="266" />And flies:</p>
<p><img class="aligncenter size-medium wp-image-70" title="500px-Insect_anatomy_diagram.svg" src="http://balancing-selection.com/wp-content/uploads/2011/08/500px-Insect_anatomy_diagram.svg_-300x210.png" alt="" width="300" height="210" />The labels aren&#8217;t important here; what is important is that we can pick out a few more similarities. In particular, the number and placement of organs is quite similar &#8211; both have</p>
<ul>
<li>a brain at the front</li>
<li>a mouth</li>
<li>a gut running the length of the body</li>
<li>a bundle of nervous tissue running the length of the body</li>
<li>an ovary (in females) to produce eggs</li>
</ul>
<p>There&#8217;s still a vast disparity in size however, and many of the organs, although they share the same name, look nothing alike. Let&#8217;s zoom in again, and look at the tissue that these organs are made of. Here&#8217;s a picture of nerve cells from a human:</p>
<div id="attachment_72" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-72 " title="nerve" src="http://balancing-selection.com/wp-content/uploads/2011/08/nerve-300x228.jpg" alt="" width="300" height="228" /><p class="wp-caption-text">image credit: wikipedia</p></div>
<p>and nerve cells from Drosophila:</p>
<div id="attachment_73" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-73 " title="dnerve" src="http://balancing-selection.com/wp-content/uploads/2011/08/dnerve-300x273.jpg" alt="" width="300" height="273" /><p class="wp-caption-text">image credit: Melissa Rolls Lab, Penn State University</p></div>
<p>Ignore the colours (they are not important) and take a look at the structure. The cells seem more densely packed in the upper picture, but the cells themselves are pretty similar. Additionally, the size difference has gone &#8211; the human cells and the Drosophila cells are about the same size.</p>
<p>As we look in more and more detail, the similarities between humans and flies become more and more apparent, especially when we start looking at genetic information. For example, here&#8217;s a comparison of the DNA sequences for a particular protein found in humans and Drosophila:</p>
<p><img class="aligncenter size-full wp-image-80" title="Selection_006" src="http://balancing-selection.com/wp-content/uploads/2011/08/Selection_006.png" alt="" width="591" height="364" />The exact nature of the protein is not important (it&#8217;s a thioredoxin, a type of protein that plays a role in redox reactions) and neither are the sequences themselves. What <em>is</em> important to notice is that the asterisks underneath the sequences show sections where the two sequences are identical &#8211; quite a large proportion. If we look at the protein sequence for the same molecule the similarity is even more striking:</p>
<p><img class="aligncenter size-full wp-image-81" title="Selection_005" src="http://balancing-selection.com/wp-content/uploads/2011/08/Selection_005.png" alt="" width="571" height="124" />There are fewer positions where the two sequences differ, and even these are filled with amino acids with similar properties (shown by the . and : symbols). Let&#8217;s look at the protein itself; here&#8217;s an image showing the three-dimensional structure of the human and <em>Drosophila</em> proteins superimposed:</p>
<div id="attachment_79" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-79" title="Alignment_of_thioredoxins2" src="http://balancing-selection.com/wp-content/uploads/2011/08/Alignment_of_thioredoxins2-300x289.png" alt="" width="300" height="289" /><p class="wp-caption-text">image credit: wikipedia</p></div>
<p>As you can see, they line up pretty well in most places &#8211; you can see the divergence best in the spiral section on the right.</p>
<p>Finally, let&#8217;s look at a complete chemical pathway. Here&#8217;s a diagram showing the citric acid cycle (a set of chemical reactions that generates energy from food) in humans:</p>
<p><img class="aligncenter size-medium wp-image-82" title="Selection_004" src="http://balancing-selection.com/wp-content/uploads/2011/08/Selection_004-300x228.png" alt="" width="300" height="228" />and in Drosophila:</p>
<p><img class="aligncenter size-medium wp-image-83" title="Selection_003" src="http://balancing-selection.com/wp-content/uploads/2011/08/Selection_003-300x227.png" alt="" width="300" height="227" />As you can see, they&#8217;re <em>exactly</em> the same. In fact, just to show how similar living things are when you look in this level of detail, here&#8217;s the same image for rice:</p>
<p><img class="aligncenter size-medium wp-image-84" title="Selection_007" src="http://balancing-selection.com/wp-content/uploads/2011/08/Selection_007-300x224.png" alt="" width="300" height="224" />Exactly the same again, despite the fact that rice has been evolving separately from humans and flies for about one and a half <em>billion</em> years!</p>
<p>So the answer to the question of whether or not humans and flies are similar depends on how you look at them. When you look in enough detail, all animals (and to a certain extent, all living things) are very similar &#8211; reassuring us that we can indeed apply knowledge about one animal to another.</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/08/22/humans-and-fruit-flies-are-more-similar-than-you-think/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The variability hypothesis: are males more extreme?</title>
		<link>http://redrowstudio.com/index.php/2011/08/20/the-variability-hypothesis-are-males-more-extreme/</link>
		<comments>http://redrowstudio.com/index.php/2011/08/20/the-variability-hypothesis-are-males-more-extreme/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 08:57:54 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://balancing-selection.com/?p=14</guid>
		<description><![CDATA[The variability hypothesis is an idea, first suggested in the early nineteenth century, that there is more variation in men than women. The idea suggests that if we measure a given trait &#8211; for example, height &#8211; in both men and women we will find that regardless of whether their is a difference in average [...]]]></description>
			<content:encoded><![CDATA[<p>The <a class="zem_slink" title="Variability hypothesis" href="http://en.wikipedia.org/wiki/Variability_hypothesis" rel="wikipedia">variability hypothesis</a> is an idea, first suggested in the early nineteenth century, that there is more variation in men than women. The idea suggests that if we measure a given trait &#8211; for example, height &#8211; in both men and women we will find that regardless of whether their is a difference in <em>average</em> height, the <em>distribution</em> of heights in men will be more extreme than the difference in women. In other words, there are more very short and very tall men than there are very short and very tall women.</p>
<p>This idea has had a controversial history when applied to humans, for a number of reasons. It&#8217;s been proposed to apply not only to easily measurable traits like height and weight, but also more nebulous ones like intelligence and criminal behaviour and has been used to justify some outrageously sexist viewpoints. Unfortunately, there has been much less debate about increased male variability in non-human animals. However, thinking about the possible mechanisms of variability reveals an interesting quirk of natural selection that suggests how it might come about.<br />
<span id="more-1425"></span><br />
Imagine the following thought experiment: every day I go to a casino and bet $1 on a single game of roulette. Now, the interesting thing about roulette is that there are a number of different types of bet I can make, with different probabilities of winning and different payouts. To keep things simple, lets assume that I can either make a <em>red-or-black</em> bet (where I try to guess the colour that the ball will land on), or a <em>straight-up</em> bet (where I try to guess the number). We&#8217;ll also ignore the &#8216;house edge&#8217; and assume that for each bet, the payout is inversely proportional to the odds of winning. Lets look at what happens when we try each type of bet.</p>
<p><img class="aligncenter size-medium wp-image-54" title="800px-Roulette_-_detail" src="http://balancing-selection.com/wp-content/uploads/2011/08/800px-Roulette_-_detail-300x209.jpg" alt="" width="300" height="209" /></p>
<p>(Note: for clarity I am using the word &#8220;payout&#8221; here to refer to the total amount of money I get back after each bet; i.e. including the initial $1. I don&#8217;t think that&#8217;s how the word is normally used in casinos, but it makes the argument easier to follow.)</p>
<p>If I bet <em>red-or-black</em>, the chances of winning are 1/2 (for the purposes of this example, there are only two colours) and the payout is $2. Therefore, over a long period of time, I would expect to win every other day and leave the casino with an average of $1 per day. On the other hand, if I bet <em>straight-up</em>, the changes of winning are 1/36 and the payout is $36. So, compared to the <em>red/black</em> bet, I will win much less frequently (only once in every 36 days), but will take home much more money when I do. These two factors cancel each other out, so on average I will take home <strong>exactly</strong> the same amount &#8211; $1 per day.</p>
<p>The important point here is that my expected payout, over the long term, is  the same regardless of whether I always bet <em>red/black</em>, always bet <em>straight-up</em>, or play a mixture of different bets. The type of bets I choose don&#8217;t make any difference to my long-term success.</p>
<p>Now imagine that the casino suddenly introduces a new rule &#8211; all winnings will be paid in pennies, and you&#8217;re only allowed to carry out as many as you can hold in your hands. This new rule drastically changes the comparison between my two types of bet. If I bet red/black there is no problem &#8211; <a href="http://www.spudart.org/blogs/randomthoughts_comments/A4148_0_3_0_C/">the record for holding pennies in one hand looks to be around 250</a>, so it should be no problem for me to carry 200 pennies using both hands. However, if I bet straight-up then I am in trouble &#8211; there&#8217;s no way I can carry more than a fraction of my 3,600 pennies out of the casino door.</p>
<p>Under this new rule, therefore, it <em>does</em> matter which type of bet I choose &#8211; I should always make a <em>red/black</em> bet. If I make a <em>straight-up</em> bet then I can&#8217;t make enough money on the days when I win to balance out the losses on the days when I lose, because of the limited number of coins I can carry home.</p>
<p>The casino metaphor can help us to understand variation if we consider animal traits to be a type of bet. As an example, let&#8217;s imagine a population of birds that live in a jungle, eating nuts and fruit, and look at a single trait &#8211; beak length. Let&#8217;s say that short beaks are good for eating nuts but bad for eating fruit. Long beaks are the opposite &#8211; good for fruit but bad for nuts. And medium-sized beaks are in the middle &#8211; not particularly good for eating either fruit or nuts, but okay for eating either. We&#8217;ll also assume that the abundance of different foods varies from year to year.</p>
<p>&nbsp;</p>
<p>Now we come to the interesting question: if you&#8217;re a male bird, is it better to have a short, medium, or long beak?  If you have a short beak, you will do extremely well during years when nuts are abundant. You&#8217;ll be able to eat loads of nuts, giving you loads of energy and allowing you to have loads of offspring. In years where there aren&#8217;t many nuts about, you won&#8217;t do so well &#8211; in fact you may not be able to have any offspring at all &#8211; but the good years will make up for it, and on average you will do okay.</p>
<p>If you have a long beak, of course, the opposite applies &#8211; lots of offspring in fruit-rich years, hardly any offspring in fruit-poor years. On average, you&#8217;ll do okay, same as if you had a short beak.</p>
<p>And if you have a medium beak, you&#8217;ll do okay every year &#8211; you&#8217;ll never have a really good year, because you can&#8217;t take advantage of bumper fruit or nut crops, but you&#8217;ll also never have a bad year, because you can eat whichever type of food is most plentiful.</p>
<p>So for a male bird in our imaginary population, it doesn&#8217;t matter what type of beak you have &#8211; they all do about equally well over the long term. Having a medium beak is the equivalent of making a <em>red/black</em> bet in the casino (frequent, small wins), and having a long or short beak is the equivalent of making a <em>straight-up</em> bet (infrequent, big wins). A single male can have offspring with many females during a breeding season, so a short- or long-beaked male can make up for bad years by fathering lots and lots of offspring during the good years.</p>
<p><img class="aligncenter size-medium wp-image-56" title="800px-Red-billed_quelea_flocking_at_waterhole" src="http://balancing-selection.com/wp-content/uploads/2011/08/800px-Red-billed_quelea_flocking_at_waterhole-300x225.jpg" alt="" width="300" height="225" /></p>
<p>Now let&#8217;s consider the same question for a female bird &#8211; short, long, or medium beak. If you have a short or long beak, you&#8217;ll have good and bad years, just like your male equivalent. But you won&#8217;t really be able to take advantage of the good years &#8211; you can only raise a single clutch of eggs during a breeding season, regardless of how well-nourished you are. So from a reproductive point of view, you will only have bad years and okay years. If you have a medium beak then you&#8217;re in a better position &#8211; just like a medium-beaked male, you do okay every year.</p>
<p>A female bird is like a gambler at the casino after the new rule has been introduced. She is limited by the number of chicks she can rear in a breeding season, just like the gambler is limited by the number of coins he can carry. Just as there&#8217;s no point in the gambler making a <em>straight-up</em> bet when he can&#8217;t take home his winnings, there&#8217;s no point in the female bird having a specialized beak when she can&#8217;t take full advantage of the abundant food. In contrast, a male bird is like a gambler at the casino <em>before</em> the new rule &#8211; he&#8217;s not limited in the number of offspring he can raise in a breeding season, so having a specialized beak can pay off just as well as having a all-purpose one.</p>
<p>So from an evolutionary point of view, we would expect to see extremes of beak length in female birds selected against, with the result that there will be fewer short- and long-beaked females relative to males. Similar arguments can be made for many other traits that affect reproductive success.</p>
<p>There are many nuances which complicate the argument in real life. We have been talking about males and females of the same species as if their genes evolve separately, which of course is not true &#8211; genes which contribute to beak length are likely to be shared between males and females. And of course, we are completely ignoring the role of environment in determining an animal&#8217;s traits. Nevertheless, the mechanism is an interesting one &#8211; hopefully future work will be able to test its validity further in non-human animals.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://redrowstudio.com/index.php/2011/08/20/the-variability-hypothesis-are-males-more-extreme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

