<?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>Confessions of a Keytarist</title>
	<atom:link href="http://www.blog.ianmellor.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.ianmellor.co.uk</link>
	<description>Only an idiot blames his fools... tools.. damn keyboard</description>
	<lastBuildDate>Fri, 09 Jul 2010 14:03:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Finding Top Gear</title>
		<link>http://www.blog.ianmellor.co.uk/2010/07/09/finding-top-gear/</link>
		<comments>http://www.blog.ianmellor.co.uk/2010/07/09/finding-top-gear/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 14:03:00 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Cars]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[BMW]]></category>
		<category><![CDATA[Car]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Z4]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2010/07/09/finding-top-gear/</guid>
		<description><![CDATA[Recently, I’ve been taking quite a few car photographs, and although I was pleased with the overall quality of the shots, they didn’t seem to “blast” of the page like those in the glossy mags.   After a bit of studying perhaps the most famous of them all, Top Gear, I decided to see [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I’ve been taking quite a few car photographs, and although I was pleased with the overall quality of the shots, they didn’t seem to “blast” of the page like those in the glossy mags.   <br />After a bit of studying perhaps the most famous of them all, Top Gear, I decided to see if I could replicate the processing done on their images with mine.</p>
<p>I played around in Photoshop for quite a bit before settling on the process I describe below. I’m pretty pleased with the outcome, so I thought it worthy of inclusion on this blog. Hopefully some of you will find it useful too!</p>
<p> <span id="more-133"></span>
<p>Ok.. So first we need an image to work with. I’m going to use this one I took of a friend’s BMW Z4:   <br /><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-1" border="0" alt="topgear-1" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear1_thumb.jpg" width="260" height="166" /></a></p>
<p>With the image open, the first step is to increase the midtones of the image.   <br />This gives a more “fluid” look to the car and provide a better base for the alterations we will be making later on.    <br />To do this, select the “Layer-&gt;New Adjustment Layer-&gt;Curves” menu option and then alter the curve so that the midtones are increased, as below:</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear2.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-2" border="0" alt="topgear-2" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear2_thumb.png" width="144" height="240" /></a>&#160; </p>
<p>Now we need to fade out some of the colour in the image, and we do that by adding a new black “Fill” layer.    <br />To do this, select the “Layer-&gt;New Fill Layer-&gt;Solid Colour” menu.     <br />On the “New Layer” dialog that will appear, name the layer “Black Fill”, select “Hue” from the “Mode” dropdown box and set the “Opacity” to 40%, as shown below:</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear4.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-4" border="0" alt="topgear-4" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear4_thumb.png" width="240" height="85" /></a> </p>
<p>Click “OK”, and then select true black (0,0,0) as the solid colour when prompted. Your image should now appear slightly less colourful than when we started, but don’t panic – that’s normal and intended!   </p>
<p>Next we need to flatten the image (Select the “Layer-&gt;Flatten Image” menu), and then switch over to “Lab Colour” mode, which we do by selecting the “Image-&gt;Mode-&gt;Lab Color” menu option.</p>
<p>Once in Lab Colour mode, click on the “Channels” window (or select “Channels” from the “Windows” menu list), then click on the “Lightness” channel to select just it.</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear5.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-5" border="0" alt="topgear-5" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear5_thumb.png" width="244" height="114" /></a> </p>
<p>Click the “Filters-&gt;Sharpen-&gt;Unsharp Mask…” menu, and set the “Amount” and “Radius” values to 50, leaving the “Threshold” value set to 0 (zero), as shown below, then click “OK”.</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear6.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-6" border="0" alt="topgear-6" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear6_thumb.png" width="189" height="244" /></a> </p>
</p>
</p>
</p>
<p>Time to move back to RGB mode, so first select the “Lab” channel, then click the “Image-&gt;Mode-&gt;RGB Color” menu option. We should now be seeing a nice sharp image of the car with quite crisp and clean colours, with any reflections on the paint or windows showing much clearer:</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear7.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-7" border="0" alt="topgear-7" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear7_thumb.png" width="260" height="165" /></a> </p>
<p>Our image is beginning to take on that <em>Top Gear </em>feel, but we’ve one or two things left to do to make it that bit more special.</p>
<p>One of those things is to add a colour gradient, by clicking on the “Layer-&gt;New Fill Layer-&gt;Gradient…” menu option. Change the “Mode” dropdown value to “Overlay”, then click OK on the “New Layer” dialog.   <br />In the “Gradient Fill” dialog window that appears next, we want to tick the “Reverse” checkbox, then click on the gradient box to set our own colours.<em>(you need to click the coloured gradient, not the down arrow next to it)</em></p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear8.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-8" border="0" alt="topgear-8" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear8_thumb.png" width="244" height="173" /></a>&#160;</p>
<p>This will open the “Gradient Editor”, with the default “foreground to transparent” gradient already loaded.   <br />First of all, click the “New” button to ensure we don’t mess up any presets, then change both the start and end colours to a nice blood red; Click on the two sliders that appear below the gradient bar and choose a medium-dark red.    <br /><em>(If you’re unsure, they are the two sliders that appear blood-red in the image below)</em></p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear9.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-9" border="0" alt="topgear-9" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear9_thumb.png" width="214" height="244" /></a> </p>
<p>Once you’re happy with the gradient, click OK to add it to the image.   </p>
<p> <a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear10.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-10" border="0" alt="topgear-10" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear10_thumb.png" width="260" height="164" /></a>
</p>
<p>Nearly there! Next we need to add the <em>Top Gear</em> Vignette to the image.    <br />To do this, first ensure the “Background” layer is selected, then choose the elliptical marquee tool and, using the rulers for reference (CTRL+R), select from one “tick” in at the top left corner, to one “tick” in at the bottom right corner, as shown below:</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear11.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-11" border="0" alt="topgear-11" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear11_thumb.jpg" width="260" height="166" /></a></p>
<p>Next, invert the selection (“Select-&gt;Inverse” menu option) and then feather it by 250 pixels (“Select-&gt;Modify-&gt;Feather…”) so that we are only selecting the outside edges of the photo.   <br />Finally, select the “Image-&gt;Adjustments-&gt;Levels” menu and move the midtones slider to the right, until you get a nice level of vignette around the outside of the image. <em>(The exact amount varies with each image, so play around until you find a value that suits your image.)</em></p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear12.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-12" border="0" alt="topgear-12" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear12_thumb.jpg" width="260" height="166" /></a> </p>
<p>The final step is to increase the polarisation effect within the image, which will boost the detail and reflections on the car. To do this, we will be using the shadows and highlights adjustment tool. Select the “Image-&gt;Adjustments-&gt;Shadows/Highlights…” menu, then set both “Amount” and “Tonal Width” to 40%, then click OK</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear13.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-13" border="0" alt="topgear-13" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear13_thumb.jpg" width="153" height="244" /></a></p>
<p>And there we have it! To complete the job, simply flatten the entire image, by selecting “Layers-&gt;Flatten Image” and you’re done!</p>
<p>Here’s how my sample image turned out:</p>
<p><a href="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear14.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="topgear-14" border="0" alt="topgear-14" src="http://www.blog.ianmellor.co.uk/wp-content/uploads/2010/07/topgear14_thumb.jpg" width="240" height="148" /></a></p>
<blockquote><p>Let me know how you get on and if you’ve got any improvements <img src='http://www.blog.ianmellor.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> &#160; </p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2010/07/09/finding-top-gear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quicker RowCount in SQL Server 2005/2008</title>
		<link>http://www.blog.ianmellor.co.uk/2010/05/05/quicker-rowcount-in-sql-server-20052008/</link>
		<comments>http://www.blog.ianmellor.co.uk/2010/05/05/quicker-rowcount-in-sql-server-20052008/#comments</comments>
		<pubDate>Wed, 05 May 2010 09:44:19 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/?p=97</guid>
		<description><![CDATA[I needed to get a rowcount for a particular table within a customers database today, so I fired off my normal query:

1
2
SELECT COUNT(1) 
FROM &#60;&#60;TABLENAME&#62;&#62;

And I got my row count back (incdidently, it was just over 325,000), but it was taking almost 10 seconds to return. Not Good!.

As I needed to do this in codebehind [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to get a rowcount for a particular table within a customers database today, so I fired off my normal query:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">SELECT COUNT(1) 
FROM &lt;&lt;TABLENAME&gt;&gt;</pre></td></tr></table></div>

<p>And I got my row count back (incdidently, it was just over 325,000), but it was taking almost 10 seconds to return. Not Good!.<br />
<span id="more-97"></span><br />
As I needed to do this in codebehind for a website, I didn&#8217;t want to loose ten seconds of loading time to what seemed to be a fairly easy query.</p>
<p>After a bit of hunting around in the new system tables (namely sys.Indexes and sys.Partitions), I managed to piece together the following little query, which runs nicely on the same table in under a second &#8211; MUCH better!</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">SELECT P.rows AS [RowCount]
FROM sys.indexes I
   INNER JOIN sys.partitions P 
      ON P.object_id = I.object_id 
      AND P.index_id = I.index_id
WHERE I.index_id &lt; 2 
   AND P.object_id = OBJECT_ID(N'&lt;&lt;TABLENAME&gt;&gt;')</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2010/05/05/quicker-rowcount-in-sql-server-20052008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi debugging in Visual Studio</title>
		<link>http://www.blog.ianmellor.co.uk/2009/10/16/multi-debugging-in-visual-studio/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/10/16/multi-debugging-in-visual-studio/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 10:14:39 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2009/10/16/multi-debugging-in-visual-studio/</guid>
		<description><![CDATA[Firstly, I couldn’t come up with a “snappy” title for this post, so went with the above. I guess I’m too busy to be even marginally creative!
I have recently been working with a multiple web project solution in Visual Studio. For ages, I’ve been switching between each web project by stopping debugging, setting the other [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly, I couldn’t come up with a “snappy” title for this post, so went with the above. I guess I’m too busy to be even marginally creative!</p>
<p>I have recently been working with a multiple web project solution in Visual Studio. For ages, I’ve been switching between each web project by stopping debugging, setting the other as the start up project, and then starting debugging again. As you can imagine, this makes testing interoperability between the two quite a drag.</p>
<p> <span id="more-95"></span>
<p>One of my colleagues showed me that if you set a specific port for Visual Studio’s development server, you can then start the main project (in the normal fashion), but then also start the second project by right-clicking on it, and selecting “run” from the debug menu.</p>
<p>This was a good step forward for me, as previously I wasn’t sure it was possible to achieve debugging across two projects if there was no direct reference defined. However, being the person I was, I wasn’t quite satisfied with having to start one project, then manually starting the second once it had started. So I had a bit of a dive through the various properties and configuration screens within Visual Studio and discovered a method that allows you to start multiple projects, in a defined order, by simply hitting F5.</p>
<p>To do it, right click on the Solution, and choose properties from the context menu. Once the new window appears, ensure “Common Properties”-&gt;”Startup Project” is selected from the list on the left.   <br />Then, on the right side of the screen, select the “Multiple startup projects” option. Finally, change the “Action” cell in the table for each project you want to start up when you begin debugging.    <br />If you need to specify or change the order in which projects are selected, you can select the table row for that project, and using the up/down arrow on the right of the page, move it up and down in the startup order.</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/MultidebugginginVisualStudio_9E1E/solutionsprops.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="solutions-props" border="0" alt="solutions-props" src="http://www.blog.ianmellor.co.uk/images/MultidebugginginVisualStudio_9E1E/solutionsprops_thumb.png" width="483" height="303" /></a> </p>
<p>Quite a neat trick that could have saved me a good deal of ball ache in the earlier parts of this project!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/10/16/multi-debugging-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cooking Pilau Rice</title>
		<link>http://www.blog.ianmellor.co.uk/2009/09/21/cooking-pilau-rice/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/09/21/cooking-pilau-rice/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 22:28:00 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Cooking]]></category>
		<category><![CDATA[Indian]]></category>
		<category><![CDATA[Recipe]]></category>
		<category><![CDATA[Rice]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/?p=70</guid>
		<description><![CDATA[I cooked some Indian cuisine for a few friends last night and they were enquiring how I cooked the pilau rice that accompanied the main dishes.
I promised to write out the recipe; so here it is!

Required Ingedients

250 grams of plain long grain rice
125 grams of cashew nuts
125 grams of raisins
3 table spoons of vegetable oil
6 [...]]]></description>
			<content:encoded><![CDATA[<p>I cooked some Indian cuisine for a few friends last night and they were enquiring how I cooked the pilau rice that accompanied the main dishes.<br />
I promised to write out the recipe; so here it is!</p>
<p><span id="more-70"></span></p>
<h3>Required Ingedients</h3>
<ul>
<li>250 grams of plain long grain rice</li>
<li>125 grams of cashew nuts</li>
<li>125 grams of raisins</li>
<li>3 table spoons of vegetable oil</li>
<li>6 shallots</li>
<li>4 cloves</li>
<li>2 cardamom pods</li>
<li>2 centimetres of cinnamon stick</li>
<li>1 teaspoon of cumin seeds</li>
<li>1 teaspoon of turmeric (powdered)</li>
<li>1 teaspoon of saffron threads</li>
<li>500ml of water</li>
<li>2 pinches of salt</li>
<li>1 bunch of coriander</li>
<li>1 onion</li>
</ul>
<h3>Required Utensils</h3>
<ul>
<li>thick-bottomed saucepan with good fitting lid</li>
<li>Small saucepan</li>
<li>Sieve</li>
<li>Stirring Spoon</li>
<li>Sharp Kitchen Knife</li>
<li>Chopping board</li>
</ul>
<h3>Instructions</h3>
<p>Put all the water in the small saucepan and bring to the boil, then add the saffron threads and leave on a rolling boil.</p>
<p>Pour the three tablespoons of oil into the thick-bottomed pan and heat on a high heat.</p>
<p>Put the rice in the sieve and thoroughly wash under a running cold tap. This removes the starch from the rice, stopping them from clumping together when cooking.</p>
<p>Add the cashew nuts, cinnamon, cloves, cardamom pods &amp; cumin seeds to the heated oil and fry for approximately two minutes, stirring frequently.</p>
<p>Add the sliced shallots and then fry for a further two minutes, or until the shallots become translucent.</p>
<p>Add the raisins, turmeric and salt, then stir for a few seconds. Then add the washed rice and stir well until all of the rice has been coated with the spices.</p>
<p>Add the boiling saffron water and allow the rice to cook for 12 to 15 minutes, stirring occasionally. After which, cover the pan with the lid and turn the heat to low.</p>
<p>Whilst the rice is cooking, roughly chop the coriander. Slice and brown the onion in a little oil, then keep to the side, ready for garnishing the rice just before serving.</p>
<p>Once the water in the rice pan has been absorbed, taste the rice to test if it is done. If needed, leave for another minute or two with the lid on the pan.<br />
This helps the rice to become fluffy and light.</p>
<p>Serve the rice and garnish with the crispy onions and coriander.</p>
<p> </p>
<p>Let me know if you tried it and liked it, or if you have any suggestions / improvements <img src='http://www.blog.ianmellor.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/09/21/cooking-pilau-rice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making the extra effort</title>
		<link>http://www.blog.ianmellor.co.uk/2009/09/17/making-the-extra-effort/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/09/17/making-the-extra-effort/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 09:54:38 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Annoyances]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Laziness]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2009/09/17/making-the-extra-effort/</guid>
		<description><![CDATA[Warning: rant ahead!
I’m now the sole developer working on arguably one of the largest projects for our company, and things are going well. However, I keep falling into traps and pitfalls created by one of the projects last programmers.   
One of his “favourite” tricks seems to be creating a business layer method that [...]]]></description>
			<content:encoded><![CDATA[<p>Warning: rant ahead!</p>
<p>I’m now the sole developer working on arguably one of the largest projects for our company, and things are going well. However, I keep falling into traps and pitfalls created by one of the projects last programmers.   </p>
<p>One of his “favourite” tricks seems to be creating a business layer method that populates an object based on data retrieved from a database. Nothing odd there.. but it’s when you have the need to re-use one of his functions that you end up falling right into his carefully seeded trap!</p>
<p> <span id="more-69"></span>
<p>For example, we have an object called “CustomerSite”, which as the name suggests, has various properties that pertain to a customer’s site – 15 individual properties to be exact.   <br />Whilst writing an additional management page for the project today, I had the need to get a “CustomerSite” object from the database, based on the site code.    <br />A quick look through our data access methods reveals a pre-written method “GetCustomerSiteBySiteCode”. Excellent; No need to write a new stored proc and no need to write the retrieval C# code!</p>
<p>However, in hindsight I knew this particular programmer had written both the retrieval method and the stored proc, so I should have checked ahead of time, but alas I did not…</p>
<p>So I fire up my new shiny page and all goes well, right up to when my codebehind calls the “GetCustomerSiteBySiteCode” method. At which point, my page throws a wobbly with invalid use of null errors throwing hand over fist.</p>
<p>Initially, I start checking the database to make sure the data is actually fine for the customer site I selected. With that being fine, I check my code to make sure I’m not doing anything daft. Happy that I’ve not, it’s time to place a breakpoint and step on through&#8230;</p>
<p>It’s at the point I step into “GetCustomerSiteBySiteCode” that I realise I’ve been stung; Despite the “CustomerSite” object having 15 properties, only TWO of them are being set by this method – the rest are simply set to null.</p>
<p>After altering the method to actually populate all 15 properties, I checked the stored procedure, to find two select statements, the first with all fifteen fields commented out with the note “Probably want to include these fields later, but haven’t the need to use them yet.”</p>
<p>To quote Peter Griffin “This really grinds my gears”. It was the programmer who created the “CustomerSite” object to begin with, and it’s always had all 15 properties from the get go. It’s simply a case of laziness and lack of forethought; there’s every reason to believe that this method would be called elsewhere, especially as when he was working on the project, it was a multi-person project.</p>
<p>Grr.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/09/17/making-the-extra-effort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Softly does it</title>
		<link>http://www.blog.ianmellor.co.uk/2009/08/26/softly-does-it/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/08/26/softly-does-it/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 16:45:07 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Filters]]></category>
		<category><![CDATA[Soft Light]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2009/08/28/softly-does-it/</guid>
		<description><![CDATA[Following on nicely from the last post, I have another quick trick I often use to give some of my more “meh” photos a bit more “yeh”.
We’ll start with the same photo as before:
 
As before, the image appears quite “flat” and lifeless. We can try and fix this with a very quick and (usually) efficient [...]]]></description>
			<content:encoded><![CDATA[<p>Following on nicely from the last post, I have another quick trick I often use to give some of my more “meh” photos a bit more “yeh”.</p>
<p>We’ll start with the same photo as before:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/Softlydoesit_E618/nosoftlight.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="nosoftlight" src="http://www.blog.ianmellor.co.uk/images/Softlydoesit_E618/nosoftlight_thumb.jpg" border="0" alt="nosoftlight" width="217" height="244" /></a> </p>
<p>As before, the image appears quite “flat” and lifeless. We can try and fix this with a very quick and (usually) efficient contrast tweak using a “soft light” layer.</p>
<p><span id="more-67"></span></p>
<p>To this, open your image up in Photoshop, then create a duplicate of the original background layer (right-click on the background layer and select “duplicate”..).<br />
Now, with the duplicate layer selected , choose “Soft Light” from the dropdown list of layer types:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/Softlydoesit_E618/softlight_layers.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="softlight_layers" src="http://www.blog.ianmellor.co.uk/images/Softlydoesit_E618/softlight_layers_thumb.jpg" border="0" alt="softlight_layers" width="239" height="179" /></a></p>
<p>At this point, your image may already look better, but it some cases (including this image), the soft light can be a little overpowering on full opacity.<br />
Obviously, every image is different, so there’s not a “one size fits all” opacity setting, so you’ll need to experiment with each image; Try dropping the opacity down to around 70%, or until you gain a good contrast.</p>
<p>I settled for 70% for this image, and the results I gained were a good deal better than the original:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/Softlydoesit_E618/softlight.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="softlight" src="http://www.blog.ianmellor.co.uk/images/Softlydoesit_E618/softlight_thumb.jpg" border="0" alt="softlight" width="217" height="244" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/08/26/softly-does-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finish Him!</title>
		<link>http://www.blog.ianmellor.co.uk/2009/08/25/finish-him/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/08/25/finish-him/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 22:37:00 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Filters]]></category>
		<category><![CDATA[High Pass]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2009/08/25/finish-him/</guid>
		<description><![CDATA[Time for another Photoshop trick; this time it’s a very quick and easy one that can add that little bit extra to a photo.
So, first of all we need an image to work with. Here’s one of my little cousin:

As you can see, the image appears very “flat”.  I know it’s not exactly a fantastic [...]]]></description>
			<content:encoded><![CDATA[<p>Time for another Photoshop trick; this time it’s a very quick and easy one that can add that little bit extra to a photo.</p>
<p>So, first of all we need an image to work with. Here’s one of my little cousin:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/without.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="without" src="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/without_thumb.jpg" border="0" alt="without" width="233" height="260" /></a></p>
<p>As you can see, the image appears very “flat”.  I know it’s not exactly a fantastic photo to begin with, especially as it’s from a 1mp camera phone, but it’s good enough to demonstrate this trick!<span id="more-64"></span></p>
<p>So, once you have your image in Photoshop, right click the background layer and select “Duplicate” to give us an exact copy as a second layer.<br />
Then, choose “Filters-&gt;Other-&gt;High Pass” from the menus and when prompted, select a radius of 10 and click ok.<br />
You should end up with something grey looking, similar to this:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="highpass_step1" src="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step1_thumb.jpg" border="0" alt="highpass_step1" width="260" height="249" /></a></p>
<p>Next we need to make our new layer an “overlay”. To do this, select the dropdown list of layer types and choose “Overlay”.<br />
This next image shows the location of said dropdown:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="highpass_step2" src="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step2_thumb.jpg" border="0" alt="highpass_step2" width="249" height="193" /></a></p>
<p>Now we need to apply a mask to this layer, as we don’t want to apply the high pass results to the full image. So, whilst holding ALT, click the “Add Layer Mask” button, located at the bottom of the Layers pane.</p>
<p>Masks work by using the colours white and black to determine if whatever is being masked should pass through, or not, respectively. By holding ALT when creating our mask, it will be created entirely black (meaning none of the layer will pass through). This is what we want, as we only need to apply the high pass results to specific areas of the image, as you’ll see next!</p>
<p>Ok, now we have our mask, ensure it is selected. It will have a black and blue border around it if it’s selected – see the next two images for an example:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step3.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="highpass_step3" src="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step3_thumb.jpg" border="0" alt="highpass_step3" width="114" height="56" /></a><a href="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step4.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="highpass_step4" src="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/highpass_step4_thumb.jpg" border="0" alt="highpass_step4" width="100" height="58" /></a></p>
<p> </p>
<p>Now, select the paint brush tool, and the colour pure white, then start to paint over the eyes, hair, mouth and teeth (or any other areas you wish to “draw attention” to within your image).</p>
<p>Once you’re done, you should end up with something like this:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/with.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="with" src="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/with_thumb.jpg" border="0" alt="with" width="233" height="260" /></a></p>
<p>which, if you compare against the original, seems to pop out and his face draws your attention more:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/without_3.jpg"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="without" src="http://www.blog.ianmellor.co.uk/images/FinishHim_A386/without_thumb_3.jpg" border="0" alt="without" width="233" height="260" /></a></p>
<p>Hope this is of some use <img src='http://www.blog.ianmellor.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/08/25/finish-him/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pirates head for the open sea</title>
		<link>http://www.blog.ianmellor.co.uk/2009/08/18/pirates-head-for-the-open-sea/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/08/18/pirates-head-for-the-open-sea/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 13:47:05 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Piracy]]></category>
		<category><![CDATA[Pirate Bay]]></category>
		<category><![CDATA[Torrent]]></category>
		<category><![CDATA[TPB]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2009/08/24/pirates-head-for-the-open-sea/</guid>
		<description><![CDATA[Now that their&#160; once-prodigious and heralded safe haven “The Pirate Bay” is effectively suffering a hiatus whilst it’s previous captains appeal against their guilty trial verdict, it seems some of the users have started pillaging their old home and starting up their own ports of call on the internet’s high seas.
There were plans for a [...]]]></description>
			<content:encoded><![CDATA[<p>Now that their&#160; once-prodigious and heralded safe haven “The Pirate Bay” is effectively suffering a hiatus whilst it’s previous captains appeal against their guilty trial verdict, it seems some of the users have started pillaging their old home and starting up their own ports of call on the internet’s high seas.</p>
<p>There were plans for a company called Global Gaming Factory (GFF) to take over control of The Pirate Bay, in a 60m kronor (£3.5m) acquisition, but it looks like those plans may have fallen through as GFF haven’t (so far) proved they actually HAVE 60m kronor.</p>
<p>Earlier this week, one anonymous user posted a web-rip of The Pirate Bay, including all 900,000 torrents,&#160; back on the site as a single 21GB torrent download. He (or she) stated “If the TPB deal disappoints us, we can just put it up again”.</p>
<p>However, various other users have already started “clones” of The Pirate Bay, using the massive torrent database download.   <br />Sites such as <a title="http://www.btarena.net/" href="http://www.btarena.net/">http://www.btarena.net/</a> have already experienced overwhelming demand as the pirates set sail from their old bay in search of new homes…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/08/18/pirates-head-for-the-open-sea/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Contrasting Views</title>
		<link>http://www.blog.ianmellor.co.uk/2009/07/30/contrasting-views/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/07/30/contrasting-views/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 15:00:25 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[Histogram]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2009/07/30/contrasting-views/</guid>
		<description><![CDATA[This post is a continuation of the second histogram post entitled “The Highs and lows”.
Another important thing a histogram does is describe contrast within your images. According to Wikipedia:
Contrast is the difference in visual properties that makes an object (or its representation in an image) distinguishable from other objects and the background.

Or, in more simplistic [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post is a continuation of the second histogram post entitled <a href="http://www.blog.ianmellor.co.uk/2009/07/28/the-highs-and-lows/" target="_blank">“The Highs and lows</a>”.</em></p>
<p>Another important thing a histogram does is describe contrast within your images. According to Wikipedia:</p>
<blockquote><p><b>Contrast</b> is the difference in visual properties that makes an object (or its representation in an image) distinguishable from other objects and the background.</p>
</blockquote>
<p align="left">Or, in more simplistic terms, Contrast is a measure of the difference in brightness between the light and dark areas of your photographs.   <br />Images with histograms that have broad tonal ranges have a significant, or “high” contrast, whereas images with histograms that have narrow tonal ranges may appear dull or flat and are known as “low” contrast.</p>
<p> <span id="more-56"></span>
<p align="left">Differences in contrast can be caused by any combination of subject matter and lighting conditions. By rule of thumb, images taken in fog will be low contrast and those taken under strong daylight will have a high contrast.</p>
<p align="left">Contrast can have a significant visual impact on an image by emphasizing texture, as shown in the following image:</p>
<p align="left"><a href="http://www.blog.ianmellor.co.uk/images/ContrastingViews_D8D7/tut_contrast1.jpg"><img title="Capturefile: G:\Photos\2004-05-01\Image 2004-05-01 06.16.34.CRW&#10;CaptureSN: 760218328-2363622.393277&#10;Software: C1 PRO for Windows&#10;" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="131" alt="Capturefile: G:\Photos\2004-05-01\Image 2004-05-01 06.16.34.CRW&#10;CaptureSN: 760218328-2363622.393277&#10;Software: C1 PRO for Windows&#10;" src="http://www.blog.ianmellor.co.uk/images/ContrastingViews_D8D7/tut_contrast1_thumb.jpg" width="315" border="0" /></a> </p>
<p>The left side of the image is a low contrast image, whilst the right side is high contrast. The high contrast water has more pronounced shadows and highlights, which enhances the wavelets and creates an image which “pops&quot; out at the viewer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/07/30/contrasting-views/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The highs and lows</title>
		<link>http://www.blog.ianmellor.co.uk/2009/07/28/the-highs-and-lows/</link>
		<comments>http://www.blog.ianmellor.co.uk/2009/07/28/the-highs-and-lows/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 16:43:41 +0000</pubDate>
		<dc:creator>Sk93</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[Histogram]]></category>

		<guid isPermaLink="false">http://www.blog.ianmellor.co.uk/2009/07/28/the-highs-and-lows/</guid>
		<description><![CDATA[This post is a continuation of the first histogram post entitled “Getting Toned”.
In the last article, we discussed the basics of what a histogram is, what it represents and how it is generated. What we didn’t cover is why they’re important to us digital photographers. That’s where this post comes in!

Most digital cameras will have [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post is a continuation of the first histogram post entitled “Getting Toned”.</em></p>
<p>In the last article, we discussed the basics of what a histogram is, what it represents and how it is generated. What we didn’t cover is why they’re important to us digital photographers. That’s where this post comes in!</p>
<p><span id="more-52"></span></p>
<p>Most digital cameras will have next to no trouble reproducing images that have a midtone-centric histogram (a histogram where the majority of the tonal range is within the midtone section). This is because they have an “automatic” imaging mode which uses a clever set of algorithms that attempt to estimate how bright an image should be, and these algorithms frequently result in an image who’s average brightness is placed in the midtones.<br />
(<em>it’s all down to the fact digital cameras have to measure reflected, rather than incident light, but we’re not going to discuss that here.)</em></p>
<p>This is usually acceptable, however images where the majority of the tones occur in the shadow range (low key) or highlight range (high key) are often unacceptable, as the algorithms try to adjust the brightness of the scene too much (moving the tonal range back into the midtones, rather than leaving them in the shadows or highlights).</p>
<p>To give you an example of this in action, below is an image taken by manually setting the white balance and exposure:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/highkey.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="high-key" src="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/highkey_thumb.jpg" border="0" alt="high-key" width="242" height="228" /></a></p>
<p>As you can see, the histogram shows this as a high key image, with the tonal range right up in the highlights – exactly as wanted.<br />
However, the next image is the same scene but taken using the automatic mode within the camera:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/underexposed.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="underexposed" src="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/underexposed_thumb.jpg" border="0" alt="underexposed" width="242" height="232" /></a></p>
<p>As you can see, the camera’s algorithms have got involved and tried to shift the overall brightness down so that the tonal range is nearer the midtone section, which has resulted in an effectively underexposed image.</p>
<p>Whilst this isn’t great, it is a relatively easy process to fix this in Photoshop (and we will cover that later on). However, if we were taking a low key image, we could hit a big problem.</p>
<p>Take the following image as an example. This scene was very shadowy and dark, but the camera’s automatic mode has increased the overall brightness:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/tut_hist_lowkey_auto.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Capturefile: G:\Photos\2004-04-23\Image 2004-04-23 16.30.02.CRW CaptureSN: 760218328-2272795.738884 Software: C1 PRO for Windows " src="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/tut_hist_lowkey_auto_thumb.jpg" border="0" alt="Capturefile: G:\Photos\2004-04-23\Image 2004-04-23 16.30.02.CRW CaptureSN: 760218328-2272795.738884 Software: C1 PRO for Windows " width="236" height="242" /></a></p>
<p>The problem however, is that it’s lost some of the highlights from the original image; In the histogram, you can see that a large number of pixels are pure white (or very close to).  This is known as having “blown” or “clipped” the highlights.<br />
Unlike an underexposed image, it is impossible to recover any detail from the “blown” highlights.</p>
<p> </p>
<p>This is where being able to understand histograms comes into play!</p>
<p>Most digital SLR cameras will allow you to view the histogram of an image on the LCD back panel, giving you instant feedback that can help improve your image, without having to wait till you get the images back to Photoshop.<br />
That quick glance is enough to tell you if the image you’ve just taken is likely to be a decently lit image.</p>
<p>For example, if you took the image of the gate shown above, you would quickly be able to see that you’ve got blown highlights, and as such adjust the exposure on the camera to compensate, giving you something much nicer:</p>
<p><a href="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/tut_hist_lowkey.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Capturefile: G:\Photos\2004-04-23\Image 2004-04-23 16.30.02.CRW CaptureSN: 760218328-2272795.738884 Software: C1 PRO for Windows " src="http://www.blog.ianmellor.co.uk/images/Thehighsandlows_F944/tut_hist_lowkey_thumb.jpg" border="0" alt="Capturefile: G:\Photos\2004-04-23\Image 2004-04-23 16.30.02.CRW CaptureSN: 760218328-2272795.738884 Software: C1 PRO for Windows " width="242" height="154" /></a></p>
<p> </p>
<p>In the final post about histograms, I’ll be covering contrast…<br />
<a href="http://www.blog.ianmellor.co.uk/2009/07/30/contrasting-views/">http://www.blog.ianmellor.co.uk/2009/07/30/contrasting-views/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.ianmellor.co.uk/2009/07/28/the-highs-and-lows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
