<?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>FatLemon &#187; Uncategorized</title>
	<atom:link href="http://www.fatlemon.co.uk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fatlemon.co.uk</link>
	<description>Contemplations on software development and human factors, by Andrew Freemantle</description>
	<lastBuildDate>Fri, 30 Apr 2010 07:59:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Securing ASP.Net Web Services with Forms Authentication</title>
		<link>http://www.fatlemon.co.uk/2010/04/securing-asp-net-web-services-with-forms-authentication/</link>
		<comments>http://www.fatlemon.co.uk/2010/04/securing-asp-net-web-services-with-forms-authentication/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 07:00:33 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=44</guid>
		<description><![CDATA[My first article for Dot Net Slackers on Securing ASP.Net Web Services with Forms Authentication is up!
Have a read and let me know what you think &#8211; any feedback about the content, the writing style, the amount of code, or anything else (!) is greatly appreciated   
]]></description>
			<content:encoded><![CDATA[<p>My first article for <a title="Securing ASP.Net Web Services with Forms Authentication" href="http://dotnetslackers.com/articles/aspnet/Securing-ASP-Net-Web-Services-with-Forms-Authentication.aspx" target="_blank">Dot Net Slackers on Securing ASP.Net Web Services with Forms Authentication</a> is up!</p>
<p>Have a read and let me know what you think &#8211; any feedback about the content, the writing style, the amount of code, or anything else (!) is greatly appreciated  <img src='http://www.fatlemon.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2010/04/securing-asp-net-web-services-with-forms-authentication/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SSD, Visual Studio and improving developer productivity</title>
		<link>http://www.fatlemon.co.uk/2010/02/ssd-visual-studio-and-improving-developer-productivity/</link>
		<comments>http://www.fatlemon.co.uk/2010/02/ssd-visual-studio-and-improving-developer-productivity/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 16:00:28 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[SSD]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=49</guid>
		<description><![CDATA[After reading lots of reviews, articles and watching a few youtube videos comparing Solid State Drives to Hard Disk Drives, I was unsure that&#8217;d see a beneficial improvement in my day-to-day developer tools of Visual Studio, such as building and spinning up desktop and web applications. 
I was unsure because there is a consensus of [...]]]></description>
			<content:encoded><![CDATA[<p>After <a title="Windows SSD Performance - www.tomshardware.com" href="http://www.tomshardware.com/reviews/windows-ssd-performance,2518.html">reading</a> <a title="Why cheap SSD sucks for Visual Studio - www.exdream.com" href="http://www.exdream.com/Blog/post/2009/02/25/Why-cheap-SSD-sucks-for-Visual-Studio.aspx" target="_blank">lots</a> <a title="Corsair X64 SSD Customer Reviews - www.overclockers.co.uk" href="http://www.overclockers.co.uk/showproduct.php?prodid=HD-004-CS&amp;tool=3&amp;groupid=1657&amp;catid=1660&amp;subcat=1668" target="_blank">of</a> <a title="Corsair P128 SSD Customer Reviews - www.eBuyer.com" href="http://www.ebuyer.com/product/167203/show_product_reviews" target="_blank">reviews</a>, <a title="SSD and Programming question - www.stackoverflow.com" href="http://stackoverflow.com/questions/499889/ssd-and-programming" target="_blank">articles</a> and watching a <a title="SSD vs 7200rpm HDD - www.youtube.com" href="http://www.youtube.com/watch?v=Dt6VbOY3xE0" target="_blank">few</a> <a title="MacBook HDD vs SSD boot time - www.youtube.com" href="http://www.youtube.com/watch?v=LCBfsfzHPeY" target="_blank">youtube</a> <a title="HDD vs SSD, Windows Vista tests - www.youtube.com" href="http://www.youtube.com/watch?v=Pf_QS3mZsyU" target="_blank">videos</a> comparing Solid State Drives to Hard Disk Drives, I was unsure that&#8217;d see a beneficial improvement in my day-to-day developer tools of Visual Studio, such as building and spinning up desktop and web applications.<strong> </strong></p>
<p>I was unsure because there is a <a title="SSD Disadvantages - www.wikipedia.org" href="http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages" target="_blank">consensus of small writes to SSDs aren&#8217;t as breathtaking</a> as the reads and writes of larger files:</p>
<blockquote><p>SATA-based SSDs generally exhibit much slower write speeds. As erase  blocks on flash-based SSDs generally are quite large (e.g. 0.5 &#8211; 1  megabyte), they are far slower than conventional disks during small writes (<em>write  amplification</em> effect) and can suffer from write fragmentation.</p>
<p>- Wikipedia</p></blockquote>
<p>But these things are fast at everything else, and while mulling over the idea of upgrading for a few months, I started to notice my usage patterns of switching between lots of different supporting applications. <strong>Given that&#8217;d I&#8217;d get improvements elsewhere if not in Visual Studio, I decided to try it out for myself.</strong></p>
<p>The SSD I chose is the Corsair CMFSSD-64D1, otherwise known as the <a title="Corsair Extreme Series X64 - www.amazon.co.uk" href="http://www.amazon.co.uk/gp/product/B002HQ2JXG?ie=UTF8&amp;tag=fatl-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B002HQ2JXG" target="_blank">Corsair Extreme Series X64</a>:</p>
<p><img class="alignnone size-medium wp-image-57" title="Corsair Extreme X64 Solid State Disk" src="http://www.fatlemon.co.uk/wp-content/uploads/corsair-x64-300x267.png" alt="" width="300" height="267" /></p>
<p>Here are the timings I took with the original Samsung 80GB 7,200rpm drive, and the timings from the <a title="Corsair Extreme Series X64 - www.amazon.co.uk" href="http://www.amazon.co.uk/gp/product/B002HQ2JXG?ie=UTF8&amp;tag=fatl-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B002HQ2JXG" target="_blank">Corsair Extreme X64</a>:<br />
(all timings are in seconds, so lower numbers are better)</p>
<table class="hdd-vs-ssd">
<thead>
<tr>
<td></td>
<td>boot</p>
<div class="table-subheading">from cold to login prompt</div>
</td>
<td>logging in</p>
<div class="table-subheading">pressing enter to ready*</div>
</td>
<td>starting outlook</p>
<div class="table-subheading">to &#8216;All folders up to date&#8217;</div>
</td>
<td>loading VS2008</p>
<div class="table-subheading">to news feed loads</div>
</td>
<td>loading solution</p>
<div class="table-subheading">8 project web solution</div>
</td>
<td>rebuild solution</p>
<div class="table-subheading">until build status says &#8216;build complete&#8217;</div>
</td>
</tr>
</thead>
<tbody>
<tr class="hdd">
<td>Samsung HDD</td>
<td>42.3</td>
<td>190.8</td>
<td>14.7</td>
<td>25.2</td>
<td>72.0</td>
<td>79.0</td>
</tr>
<tr class="ssd">
<td>Corsair X64 SSD</td>
<td>32.6</td>
<td>75.8</td>
<td>5.5</td>
<td>7.9</td>
<td>19.1</td>
<td>52.5</td>
</tr>
</tbody>
<tfoot>
<tr>
<td></td>
<td>22.8%</td>
<td>60.3%</td>
<td>63.0%</td>
<td>68.4%</td>
<td>73.5%</td>
<td>33.5%</td>
</tr>
</tfoot>
</table>
<h2>Conclusion</h2>
<p><strong>Overall, the SSD performs 53.6% faster &#8211; that means my machine is twice as responsive as it was.<br />
</strong></p>
<p>However, the most important savings to me are loading, and building solutions &#8211; I&#8217;ve only been running the SSD for a couple of days, but already I have shaken the reflexive pause I felt before closing or restarting Visual Studio, or opening up different solutions.</p>
<p>Granted, building or compiling decent sized projects in Visual Studio on an SSD is not as impressively fast as spinning up applications (Outlook, Paint.Net or Dreamweaver for example), or the improvement in general system responsiveness.</p>
<p>I now get 3 complete builds for 2..  <strong>put simply, it&#8217;s almost fast enough to remove the build waiting tax</strong>. It&#8217;s fast enough that <a title="&quot;long compile time leads to distraction&quot; - answer on www.stackoverflow.com" href="http://stackoverflow.com/questions/499889/ssd-and-programming/499959#499959" target="_blank">I don&#8217;t lose my train of thought and context switch to something else</a> &#8211; which makes me more productive.</p>
<h2>Method</h2>
<p>Timings were taken manually with a stop-watch, and averaged over 3 data points on different days.</p>
<p>* The Windows logging in timings include a start-up anti-virus scan.</p>
<p>System Specification and software versions:</p>
<ul>
<li>Intel Pentium 4 HT, 3.0 GHz</li>
<li>3 GB RAM</li>
<li>Windows XP 32bit (HDD timings), Windows 7 32bit (SSD timings)**</li>
<li>Outlook 2007</li>
<li>Visual Studio 2008 Team System Developer Edition</li>
<li>The 8 project web solution is the <a title="Invoice Management Software - Scan Notify Approve and Pay (SNAP) - www.snapsystems.co.uk" href="http://www.snapsystems.co.uk/" target="_blank">fantastic invoice management software called SNAP</a>, written in C# .Net 3.5</li>
</ul>
<p>** yes, I&#8217;d have loved to have done an apples-to-apples comparison by copying the exact same Windows XP installation over to the SSD, and I was all set to do so, except the Samsung HDD had a series of faults around the ~36GB mark that resulted in an XP installation that would only boot into Safe Mode.</p>
<p>I had taken the timings the week before I found this out, and with a clean SSD it seemed crazy not to take the opportunity to upgrade to Windows 7.  I suspect that had I stayed on Windows XP, the speed improvements would have been more impressive.</p>
<p>Fortuitously, the Corsair SSD arrived the same morning that the Samsung HDD exhibited the fault. (I know what you&#8217;re thinking, and no, it definitely wasn&#8217;t sabotage.. the SSD was on order for 2 weeks prior, and wasn&#8217;t due to arrive for another 3 days)</p>
<p>The Solid State Drive upgrade is a definite improvement, and I don&#8217;t think I&#8217;ll be buying Hard Disk Drives any more  <img src='http://www.fatlemon.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2010/02/ssd-visual-studio-and-improving-developer-productivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increasing Processes, Sessions and Transactions in Oracle XE</title>
		<link>http://www.fatlemon.co.uk/2009/06/increasing-processes-sessions-and-transactions-in-oracle-xe/</link>
		<comments>http://www.fatlemon.co.uk/2009/06/increasing-processes-sessions-and-transactions-in-oracle-xe/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 20:00:29 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Oracle XE]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=29</guid>
		<description><![CDATA[Disclaimer: following my technical advice has been known to scratch cars, void lottery tickets and confuse guide dogs &#8211; proceed at your own risk..

Out of the box, Oracle Datatbase 10g Express Edition RDBMS is fast and powerful. The stated limitations of 2GB of maximum RAM usage and 2GB of total datafile management are plentiful for [...]]]></description>
			<content:encoded><![CDATA[<div class="post-body-disclaimer">Disclaimer: following my technical advice has been known to scratch cars, void lottery tickets and confuse guide dogs &#8211; proceed at your own risk..</div>
<p><img class="alignnone size-full wp-image-126" title="Oracle Express Edition (XE)" src="http://www.fatlemon.co.uk/wp-content/uploads/oraclexe.png" alt="Oracle Express Edition (XE)" width="252" height="194" /></p>
<p>Out of the box, Oracle Datatbase 10g Express Edition <abbr title="Relational Database Management System">RDBMS</abbr> is fast and powerful. The stated limitations of 2GB of maximum RAM usage and 2GB of total datafile management are plentiful for it to easily run as the back-end for a small to medium-sized office application. However, we soon hit a connection limit as characterised by the following Oracle Errors:</p>
<pre>
ORA-12516: TNS:listener could not find available handler with matching protocol stack

ORA-00020: maximum number of processes (%s) exceeded
</pre>
<p></p>
<p><img class="alignnone size-full wp-image-127" title="ORA-00020: maximum number of processes (%s) exceeded" src="http://www.fatlemon.co.uk/wp-content/uploads/ora-00020.png" alt="ORA-00020: maximum number of processes (%s) exceeded" width="677" height="342" /></p>
<p>We can get this second message because Oracle creates Operating System processes to handle Connections (or Sessions) &#8211; which means Processes, Sessions (and as we&#8217;ll soon see..) Transactions are all related.</p>
<p>The default values in Oracle XE for these parameters are:</p>
<ul>
<li>Processes =40</li>
<li>Sessions = 49</li>
<li>Transactions = 53</li>
</ul>
<p>I was able to generate the above error message (ORA-00020) from about ~30 connections on a vanilla Oracle XE installation (on Windows 7).</p>
<p>So, let&#8217;s increase these limits to allow more connections to our Oracle Server..</p>
<h3>1. Log in as SYSDBA</h3>
<p>From the menu &#8216;Oracle Database 10g Express Edition&#8217;, find and select &#8216;Run SQL Command Line&#8217;, then type:</p>
<pre>connect sys as sysdba</pre>
<p></p>
<p>and enter your SYS, or SYSTEM password at the prompt</p>
<p><img class="alignnone size-full wp-image-124" title="Oracle XE - Connected as SYSDBA, showing default values for processes, sessions and transactions" src="http://www.fatlemon.co.uk/wp-content/uploads/oraclexe-default-processes-sessions-transactions.png" alt="oraclexe-default-processes-sessions-transactions" width="677" height="414" /></p>
<h3>2. ALTER SYSTEM commands</h3>
<p>The Oracle 10g Documentation states that <a title="TRANSACTIONS - Oracle 10g Documentation" href="http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams219.htm">TRANSACTIONS</a> is derived from <a title="SESSIONS - Oracle 10g Documentation" href="http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams191.htm#sthref587">SESSIONS</a>, which in turn is derived from <a title="PROCESSES - Oracle 10g Documentation" href="http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams169.htm#sthref521">PROCESSES</a>, thus:</p>
<p>PROCESSES = 40 to Operating System Dependant</p>
<p>SESSIONS = (1.1 * PROCESSES) + 5</p>
<p>TRANSACTIONS = 1.1 * SESSIONS</p>
<p>So, what to start with for PROCESSES?  Trebbling it is as good a start as any, then I&#8217;d add a few more for good measure..  Here are the values I recommend:</p>
<ul>
<li>PROCESSES = 150</li>
<li>SESSIONS = 300</li>
<li>TRANSACTIONS = 330</li>
</ul>
<p>type the following commands:</p>
<pre>alter system set processes = 150 scope = spfile;

alter system set sessions = 300 scope = spfile;

alter system set transactions = 330 scope = spfile;</pre>
<p></p>
<p>then to make the settings take effect, we need to bounce the database..</p>
<pre>shutdown immediate;

startup;</pre>
<p></p>
<p><img class="alignnone size-full wp-image-123" title="OracleXE - alter system commands and restarting the database" src="http://www.fatlemon.co.uk/wp-content/uploads/oraclexe-alter-system-commands.png" alt="oraclexe-alter-system-commands" width="677" height="414" /></p>
<h3>3. Verify the new parameters</h3>
<p>with this simple select statement..</p>
<pre>select name, value
from v$parameter
where name in ('processes', 'sessions', 'transactions');</pre>
<p></p>
<p><img class="alignnone size-full wp-image-125" title="OracleXE - showing updated processes, sessions and transactions" src="http://www.fatlemon.co.uk/wp-content/uploads/oraclexe-updated-processes-sessions-transactions.png" alt="oraclexe-updated-processes-sessions-transactions" width="677" height="318" /></p>
<p>And we&#8217;re done &#8211; a free, light and powerful Oracle RDBMS that&#8217;s able to serve more connections</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2009/06/increasing-processes-sessions-and-transactions-in-oracle-xe/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>On StackOverflow.com.. the founders dilemma</title>
		<link>http://www.fatlemon.co.uk/2009/05/on-stackoverflow-com-the-founders-dilemma/</link>
		<comments>http://www.fatlemon.co.uk/2009/05/on-stackoverflow-com-the-founders-dilemma/#comments</comments>
		<pubDate>Sun, 31 May 2009 20:00:30 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[StackOverflow.com]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=27</guid>
		<description><![CDATA[
StackOverflow.com is a the programming Question and Answer resource.
It combines elements of a forum where anyone can ask a Question or Answer one, elements of Digg and Reddit where anyone can vote on anything (thereby creating credibility), elements of a blog where anything can be commented on, and elements of a wiki because the Questions, [...]]]></description>
			<content:encoded><![CDATA[<p><a title="StackOverflow - Programming Q&amp;A" href="http://stackoverflow.com"><img title="StackOverflow.com" src="http://www.fatlemon.co.uk/wp-content/uploads/stackoverflow_logo1.png" alt="StackOverflow.com" width="296" height="88" /></a></p>
<p><a title="StackOverflow - Programming Q&amp;A" href="http://stackoverflow.com">StackOverflow.com</a> is <span style="text-decoration: line-through;">a</span> <em><strong>the</strong></em> programming Question and Answer resource.</p>
<p>It combines elements of a forum where anyone can ask a Question or Answer one, elements of Digg and Reddit where anyone can vote on anything (thereby creating credibility), elements of a blog where anything can be commented on, and elements of a wiki because the Questions, Answers and Comments can be edited to keep it up to date.</p>
<p><img class="alignnone size-full wp-image-103" title="Joel Spolsky and Jeff Atwood" src="http://www.fatlemon.co.uk/wp-content/uploads/3366372222_3491d6e065.jpg" alt="Joel Spolsky and Jeff Atwood" width="375" height="249" /></p>
<p>Founded by Joel Spolsky (of <a title="Joel on Software - by Joel Spolsky" href="http://www.joelonsoftware.com/">JoelOnSoftware.com</a>) and Jeff Atwood (of <a title="Coding Horror - by Jeff Atwood" href="http://www.codinghorror.com/">CodingHorror.com</a>), the quality and sheer speed of answers on StackOverflow was due initially to their existing readerships getting involved as early adopters, helping them and each other share their knowledge on day-to-day programming problems.</p>
<p>But therein lies a dilemma..</p>
<p><strong>The readerships of JoelOnSoftware and CodingHorror are also interested in the wider Software Development topics for which Joel and Jeff write about.</strong></p>
<p>The kind of questions that concern code quality, or best practice, or what makes a good developer.</p>
<p>The kind of questions that draw on experience to debate or answer.</p>
<p><strong>The kind of questions that Jeff has asked the community not to ask on StackOverflow.</strong></p>
<p>And I understand his reasons &#8211; StackOverflow isn&#8217;t really built for discussion or debatable questions because it orders responses by votes instead of time (by default), which makes conversational threads difficult to follow, and also that the &#8216;correct&#8217; answer will be different for different situations. As Jeff points out, ultimately all of these questions can be answered with the same, simple reply &#8211; &#8216;it depends&#8217; &#8211; the synonym for &#8216;it depends&#8217; on StackOverflow has become the &#8217;subjective&#8217; tag.</p>
<p>The &#8216;answer&#8217; to the subjective style of question is a combination of the answers &#8211; and that combination will be different for each person reading, and that combination could well be different each time it is read with a different perspective. The discussion around the various elements of &#8216;it depends&#8217; answers the question. <strong>And the consideration of the depending elements of any subjective programming question is a huge part of improving as a software developer</strong>.</p>
<p>Unfortunately for Jeff, StackOverflow is in many ways a honey-pot for subjective questions. Like mini blog-posts, the poster gets to start the debate with an established, skilled, experienced and knowledgable community. It&#8217;s like Joel and Jeff handing them the attention and contributions of their combined blogging traffic &#8211; all the better to get everyone considering topics they hadn&#8217;t yet thought about.</p>
<p>Subjective questions have a much broader readership appeal than narrow focussed niche questions &#8211; more readers means more answers, comments and votes &#8211; collectively called &#8216;activity&#8217;. Activity keeps the question on the home-page and visible to more readership potential, which in turn means more readers, and more activity. Broader appeal also means greater rewards for the original poster in terms of Badges &#8211; from people simply reading the question, and of Reputation &#8211; from people liking the question and voting it up.</p>
<p>But, fundamentally, the JoelOnSoftware and CodingHorror readerships are already predisposed to the public deliberation of wider Software Development topics, and those discussions will take place wherever those readerships congregate. The Badges and Reputation are icing on the real rewards for this group &#8211; that consideration and discussion with their programming peers helps everyone improve.</p>
<p>Is StackOverflow the home for those subjective questions and their discussion?  Well, I guess &#8216;it depends&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2009/05/on-stackoverflow-com-the-founders-dilemma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My favourite gadget of 2008 &#8211; the Synology DS107</title>
		<link>http://www.fatlemon.co.uk/2009/03/my-favourite-gadget-of-2008-the-synology-ds107/</link>
		<comments>http://www.fatlemon.co.uk/2009/03/my-favourite-gadget-of-2008-the-synology-ds107/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 14:00:19 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Synology]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=25</guid>
		<description><![CDATA[Yep, I know it&#8217;s March already     but back in December I picked up one of these because I was after some Network Attached Storage, and it has impressed me ever since.  This isn&#8217;t a review as such, more a highlight of my favourite features and possibly some tips and tricks I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, I know it&#8217;s March already  <img src='http://www.fatlemon.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   but back in December I picked up one of these because I was after some Network Attached Storage, and it has impressed me ever since.  This isn&#8217;t a review as such, more a highlight of my favourite features and possibly some tips and tricks I&#8217;ve found..</p>
<p><img class="alignnone" title="Synology DS107e" src="/images/synology-ds107.png" alt="Synology DS107e" width="286" height="312" /></p>
<p>My main reason for picking up the Synology DS-107+ was to have a large, always on, networked disk for multiple computer backups. It was easy to drop in a <a title="Samsung 1TB Spinpoint Disk - eBuyer.com" href="http://www.ebuyer.com/product/143288">Samsung Terrabyte disk</a> (as the box itself comes without a disk), <a title="Synology - DS107 Downloads Page" href="http://synology.com/enu/support/download.php?m=DS107">download the latest firmware</a>, and follow the simple setup wizard which formatted the disk and installed itself.</p>
<p><strong>Disk Station Manager 2.0</strong></p>
<p>Having read a few <a title="SmallNetBuilder.com - Synology DS107e review" href="http://www.smallnetbuilder.com/content/view/30157/75/">reviews</a> before I decided on it, I wasn&#8217;t able to find one that talked about the new &#8216;<a title="Synology - Disk Station Manager 2.0 Features" href="http://synology.com/enu/products/features/index.php">Disk Station Manager 2.0</a>&#8216; which Synology released in March 2008 (according to the <a title="Synology - DS107 Firmware release notes" href="http://synology.com/enu/support/releaseNote/DS107.php">release notes</a>) &#8211; this is the typical web-browser-based approach to device management we&#8217;re used to seeing in ADSL routers, VoIP devices and NAS boxes.</p>
<p>Synology have included everything and the kitchen sink in thiers &#8211; it&#8217;s all easily findable and configurable, including full &#8216;root&#8217; access via telnet and ssh (the &#8216;root&#8217; password is the same as the one you&#8217;re asked for when initially setting up the &#8216;admin&#8217; account &#8211; more on this a little later).</p>
<p>First, here&#8217;s some stuff I&#8217;ve found really useful out of the box:</p>
<p><strong>Apple Time Machine backups</strong></p>
<p>I mainly use a Mac Mini at home, which I had been backing up with Time Machine to a Firewire External Hard Disk. I was pleased to find a <a title="Time Machine backup to Synology DS-107+" href="http://www.naschenweng.info/2008/07/15/os-x-time-machine-backup-to-synology-ds1">pretty straightforward guide</a> for using the Synology instead.</p>
<p><strong>Download Station 2.0 &#8211; HTTP, FTP, BitTorrent, NZB and eMule downloads</strong></p>
<p>Being able to set away downloads of fairly large files is pretty handy &#8211; I like to check out the latest enhancements to various Linux distributions so I&#8217;ve only had need for the HTTP options so far</p>
<p><img class="alignnone" title="Synology Download Station" src="/images/synology-ds107-dms-2-download.png" alt="" width="591" height="435" /><strong></strong></p>
<p><strong>Web Station</strong></p>
<p>This basically starts an Apache2 webserver, with the option of MySQL too &#8211; a LAMP stack in a small, good looking box!  PHP is enabled by default, and Synology host a <a title="PHP and MySQL Compatible Applications - Synology" href="http://www.synology.com/wiki/index.php/User_Reported_Compatible_PHP/MySQL_Applications">wiki of user confirmed compatible web applications</a>, such as <a title="phpBB - Bulletin Board" href="http://www.phpbb.com/">phpBB</a>, <a title="Joomla - Content Management System" href="http://www.joomla.org/">Joomla</a>, <a title="Drupal - Content Management System" href="http://drupal.org/">Drupal</a>, <a title="Piwigo - Web Photo Album" href="http://piwigo.org/">Piwigo</a>, <a title="SugarCRM - Contact Relationship Managment" href="http://www.sugarcrm.com/crm/">SugarCRM</a>, oh, and DIY blogging tool called <a title="Wordpress - Blogging Software" href="http://www.wordpress.org/">Wordpress</a> ;o)</p>
<p>I&#8217;ve got <a title="DokuWiki - Wiki software" href="http://wiki.splitbrain.org/wiki:dokuwiki">DokuWiki</a> running at the moment as the user comments said <a title="MediaWiki - Wiki software" href="http://www.mediawiki.org/">MediaWiki</a> (which runs <a title="Wikipedia" href="http://www.wikipedia.org/wiki">Wikipedia</a>) is a bit slow on the DS-107. Backups are easier with DokuWiki too as it&#8217;s file based.</p>
<p><strong>Terminal &#8211; Telnet and SSH, getting under the hood</strong></p>
<p>Reading a few blog posts on the earlier DS-106 model, it seems there were patches that granted telnet access. Since then it seems Synology have quite rightly decided to provide simple Telnet and SSH access:</p>
<p><img class="alignnone" title="Synology Management - Terminal options page" src="/images/synology-ds107-dms-2-terminal.png" alt="" width="498" height="396" /></p>
<p>This means I&#8217;ve got an (albeit lightweight) Linux server, always on, sitting on the network..</p>
<p>With some <a title="Synology Bootstrapping and Subversion Server - Run to the Hills" href="http://rob.runtothehills.org/archives/25">trivial instructions</a>, I installed the <a title="ipkg - Wikipedia.org" href="http://en.wikipedia.org/wiki/Ipkg">Itsy Package Management System</a> (which is called &#8216;bootstrapping&#8217;), and gives access to 1,172 applications, tools and libraries!</p>
<p>And after securing SSH and poking a hole to it in my router, I can log into my Synology DS-107 from pretty much anywhere and get access not only to the files, but to the web interface via the magic of <a title="SSH Tunneling - Wikipedia" href="http://en.wikipedia.org/wiki/SSH_tunneling#SSH_tunneling">SSH Tunneling</a>.</p>
<p><strong>Subversion</strong></p>
<p>Among those applications is Subversion &#8211; the open source version control system which was a snap to install, configure and then (using the web Disk Station Manager 2.0 options) configure backups of both the Subversion repository and DokuWiki every hour to an old USB stick I plugged in the back.</p>
<p>The only thing that took me a bit of time to figure out was how to get &#8217;svnserve&#8217; to start automatically. Do <a title="Automatically starting svnserve on the Synology DS-107 - Blog comment" href="http://rob.runtothehills.org/archives/25#comment-1499">check out my comment</a> on <a title="Synology Subversion Server - Run to the Hills" href="http://rob.runtothehills.org/archives/25">Rob&#8217;s Synology Subversion post</a> if you&#8217;d like to know what I came up with  <img src='http://www.fatlemon.co.uk/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
<p><strong>In summary</strong></p>
<p>It&#8217;s a fantastic peice of kit &#8211; full of features, well made, small, looks good, has a great Ajax-y web interface, and with a little tweaking there&#8217;s enough of a Linux server in there to run pretty much anything.</p>
<p>Well done Synology  <img src='http://www.fatlemon.co.uk/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
<p><img class="alignnone" title="5 Stars!" src="/images/5-stars.png" alt="" width="64" height="16" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2009/03/my-favourite-gadget-of-2008-the-synology-ds107/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why are software developers so bad at estimating time?</title>
		<link>http://www.fatlemon.co.uk/2009/01/why-are-software-developers-so-bad-at-estimating-time/</link>
		<comments>http://www.fatlemon.co.uk/2009/01/why-are-software-developers-so-bad-at-estimating-time/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 15:00:26 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Estimating]]></category>
		<category><![CDATA[Productivity]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=23</guid>
		<description><![CDATA[In order to answer this question, we need to understand the term &#8220;flow&#8221;. From Peopleware:
During single-minded work time, people are ideally in a state that psychologists call flow. Flow is a condition of deep, nearly meditative involvement. In this state, there is a gentle sense of euphoria, and one is largely unaware of the passage [...]]]></description>
			<content:encoded><![CDATA[<p>In order to answer this question, we need to understand the term &#8220;flow&#8221;. From <a title="Peopleware: Productive People and Teams - Amazon.co.uk" href="http://www.amazon.co.uk/gp/product/0932633439?ie=UTF8&amp;tag=fatl-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0932633439">Peopleware</a>:</p>
<blockquote><p>During single-minded work time, people are ideally in a state that psychologists call <em>flow</em>. Flow is a condition of deep, nearly meditative involvement. In this state, there is a gentle sense of euphoria, and one is largely unaware of the passage of time: &#8220;I began to work. I looked up, and three hours had passed.&#8221;  There is no consciousness of effort; the work just seems to, well, flow. You&#8217;ve been in this state often, so we don&#8217;t have to describe it to you.</p>
<p>Not all work roles require that you attain a state of flow in order to be productive, but for anyone involved in engineering, design, development, writing, or like tasks, flow is a must. These are high-momentum tasks. It&#8217;s only when you&#8217;re in flow that the work goes well.</p></blockquote>
<p>To paraphrase, &#8220;It&#8217;s only when you&#8217;re in flow that you&#8217;re at your most productive&#8221;.</p>
<p>The quotation is taken from chapter 10, page 65. I know that because after reading those short paragraphs, I realised something that made me stop and put the book down..</p>
<p><strong>When a software developer thinks up an estimated time to complete a development task &#8211; they&#8217;re thinking solely in &#8220;flow&#8221; time.</strong></p>
<p>That realisation is profound.</p>
<p>Sure, more experienced software developers will <em>then</em> add time to this based on their experience before giving their answer, but their first thought is based on <em>flow-time</em>, which is their best-case, uninterrupted development time.</p>
<p><strong>Why is this?</strong></p>
<p>I think it&#8217;s a combination of 2 things;</p>
<ol>
<li>The question itself.. &#8220;how long would it take you to do / fix / add / change x?&#8221;.<br />
A developers starting point is their experience of development to date, and that development is at it&#8217;s most productive in flow-time. So they&#8217;re going to answer you based on them being in productive flow-time. However, this means they&#8217;re starting their estimate based on an unaware assumption that they&#8217;re quoting flow-time.<br />
For example, if a developer responds with &#8220;it&#8217;ll take me half a day&#8221;, what they&#8217;re really saying is &#8220;with a half-day of flow-time, I can do / fix /add / change x&#8221;.</li>
<li>If you didn&#8217;t already know, <a title="Defeating optimism - CodingHorror.com" href="http://www.codinghorror.com/blog/archives/000284.html">developers are optimistic</a>. They&#8217;re optimistic about how much they can get done, and they&#8217;re optimistic about how much flow-time they&#8217;re going to have.</li>
</ol>
<p><strong>So what is the answer?!</strong></p>
<p>To quote more from <a title="Peopleware: Productive People and Teams - Amazon.co.uk" href="http://www.amazon.co.uk/gp/product/0932633439?ie=UTF8&amp;tag=fatl-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0932633439">Peopleware</a>:</p>
<blockquote><p>Chances are, your company&#8217;s present time accounting system is based on a conventional model. It assumes that work accomplished is proportional to the number of hours put in. When workers fill out their time sheets in this scheme, they make no distinction between doing meaningful work and hours of pure frustration. So they&#8217;re reporting body time rather than brain time.</p>
<p>&#8230;</p>
<p>The phenomena of flow and immersion give us a more realistic way to model how time is applied to a development task. What matters is not the amount of time you&#8217;re <em>present</em>, but the amount of time that you&#8217;re <em>working at full potential</em>. An hour in flow really accomplishes something, but ten six-minute work periods sandwiched between eleven interruptions won&#8217;t accomplish anything.</p></blockquote>
<p>The answer, then, is to take the developers estimate with a pinch of salt (the more &#8217;seasoned&#8217; the developer, the less salt required), remember that their estimate <strong>is an <a title="Estimate (noun): an approximate judgment or calculation - dictionary.com" href="http://dictionary.reference.com/browse/estimate"><em>estimate</em></a></strong>, and use it with <a title="Evidence Based Scheduling - JoelOnSoftware.com" href="http://www.joelonsoftware.com/items/2007/10/26.html">evidence based scheduling</a> (if you aren&#8217;t already).</p>
<p>The next question you may be asking of course, is how do I reduce the difference between the estimate and the actual &#8211; the &#8217;slip&#8217;.</p>
<p>That&#8217;s a topic for another day. I&#8217;ll let you know when I&#8217;ve finished <a title="Peopleware: Productive People and Teams - Amazon.co.uk" href="http://www.amazon.co.uk/gp/product/0932633439?ie=UTF8&amp;tag=fatl-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0932633439">Peopleware</a>, or you can grab a copy for yourself  <img src='http://www.fatlemon.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2009/01/why-are-software-developers-so-bad-at-estimating-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automatic SVN Revision Numbering in ASP.Net MVC</title>
		<link>http://www.fatlemon.co.uk/2008/12/automatic-svn-revision-numbering-in-aspnet-mvc/</link>
		<comments>http://www.fatlemon.co.uk/2008/12/automatic-svn-revision-numbering-in-aspnet-mvc/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 15:00:30 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[SubVersion]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=20</guid>
		<description><![CDATA[While working on an internal ASP.Net MVC project at work, I wondered if it was possible to get the SubVersion (SVN) repository number to be automatically updated on the webpages I was creating every time I did a build or check-in.
The footer at the bottom of the StackOverflow.com site is what we&#8217;re trying to do [...]]]></description>
			<content:encoded><![CDATA[<p>While working on an internal <a title="ASP.Net MVC Homepage" href="http://www.asp.net/mvc" target="_self">ASP.Net MVC</a> project at work, I wondered if it was possible to get the SubVersion (SVN) repository number to be automatically updated on the webpages I was creating every time I did a build or check-in.</p>
<p>The footer at the bottom of the <a title="StackOverflow" href="http://www.stackoverflow.com" target="_self">StackOverflow.com</a> site is what we&#8217;re trying to do here (though I suspect after listening to <a title="StackOverflow Podcast 17" href="https://stackoverflow.fogbugz.com/default.asp?W24212" target="_self">their podcasts</a> that they&#8217;ve got theirs updated using custom build tasks in <a title="Cruise Control.Net" href="http://confluence.public.thoughtworks.org/display/CCNET" target="_self">CruiseControl.Net</a>)..</p>
<p><img src="/images/svn-stackoverflow.png" alt="StackOverflow.com - SVN revision" /></p>
<p>After a couple of hours of investigation, trial and error, here&#8217;s one way to do it.</p>
<p>Before we begin, we&#8217;ll need <a title="Tortoise SVN Client" href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> installed, and a local working copy of your ASP.Net MVC project checked out.</p>
<p>There are essentially 3 steps..</p>
<h3>1. Create a <a title="Html Helpers 'How Do I' video - ASP.Net MVC Website" href="http://www.asp.net/learn/mvc-videos/video-402.aspx" target="_self">Html Helper</a></h3>
<p>This greatly simplifies the return of the SVN number as a string which is then trivial to place in our View Page or footer.</p>
<p>Create the following file:</p>
<pre name="code" class="vb.net">'/Helpers/HtmlHelpers.vb
Imports System.Runtime.CompilerServices

Public Module HtmlHelpers

    <extension()> _
    Public Function SVNRevision(ByVal helper As HtmlHelper) As String
        Dim svnFile As IO.StreamReader
        Dim svnRev As String = String.Empty
        Try
            svnFile = New IO.StreamReader("svn_rev.txt")
            svnRev = svnFile.ReadLine()
            svnRev = svnRev.Replace("""", "")
            svnFile.Close()
        Catch FnFex As IO.FileNotFoundException
            'swallow, but write out the file and location we tried to read..
            Trace.WriteLine("HtmlHelper.SVNRevision: Ex: [" &#038; FnFex.Message &#038; "]")
        Finally
            If svnRev.Length = 0 Then svnRev = "-"
        End Try

        Return svnRev
    End Function
End Module
'</pre>
<h3>2. Create a Batch File and add it as a custom build task to the project</h3>
<p>Next we create a Batch File (.bat) in the root of our project, which will call the TortoiseSVN command to retrieve the SVN revision number from our working copy.<br />
We&#8217;ll call it &#8220;CreateSvnRevFile.bat&#8221;.  Here&#8217;s the contents:</p>
<pre name="code" class="batch">@echo off
rem # CreateSvnRevFile.bat
rem # Check the Working Copy folder is passed in..
if /I [%1%]==[] goto usage else goto start
:start
rem # (Re)Create the base file so SubWCRev has something to replace
echo "$WCREV$" &gt; svn_rev.txt
rem # Ask SubWCRev to replace with the latest revision
rem #  from the current (working copy) directory
C:\Progra~1\TortoiseSVN\bin\SubWCRev.exe %1 svn_rev.txt svn_rev.txt
rem # Copy the file for local hosting and testing purposes..
copy svn_rev.txt "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE" /Y
del svn_rev.txt /Q
goto end

:usage
echo Usage: %0 SvnWorkingCopyDir

:end
rem exit 0</pre>
<p>Then we need to add a custom Build Event action to call the Batch File. (The Build Events dialog is in &#8220;My Project &gt; Compile &gt; Build Events&#8221;)</p>
<p><img src="/images/svn-buildevents.png" alt="My Project - Compile - Build Events" /></p>
<p>As shown above, we need to add the line to the &#8220;Post-build event command line:&#8221; box..</p>
<pre class="batch">call "$(ProjectDir)CreateSvnRevFile.bat" "$(SolutionDir)\"</pre>
<h3>3. Add the SVN revision number to our Page</h3>
<p>With all of that background plumbing in place, all we need to do now is add a couple of lines of code in the appropriate .aspx file wherever we want our SVN revision number to appear:</p>
<pre name="code" class="vb.net">...
&lt;%@ import Namespace="MyMvcProject" %&gt;
...
&lt;%=Html.SVNRevision()%&gt;
...</pre>
<p>the first line imports our Project Namespace (which will obviously depend on your project &#8211; you may need to rebuild at this point before the =Html. autocomplete picks up the &#8216;SVNRevision()&#8217; HtmlHelper).</p>
<p>And we&#8217;re done:</p>
<p><img src="/images/svn-opsweb.png" alt="" /></p>
<h4>So, how does it work?</h4>
<p>The Post-build task CreateSvnRevFile.bat does most of the work by creating a temporary text file called svn_rev.txt containing the string &#8220;$WCREV$&#8221;, and then calls the TortoiseSVN command SubWCRev.exe on the text file to replace the string with the working copy revision number.  It&#8217;s worth noting that the revision number is held in the working copy .svn folder so this method doesn&#8217;t require a call to your SVN server to work.</p>
<p>The Html Helper code then simply tries to read the updated text file and returns the contents as a string, or it returns a dash (&#8220;-&#8221;) if there was a problem.</p>
<p>Obviously, if we&#8217;re using this on a high-traffic website or frequently referenced page then we&#8217;d want to cache the string rather than reading it from the file every time. We could do this by modifying the Html Helper to read the file once into a variable, which we could do by wrapping the actual file reading up in a singleton object, for example.</p>
<p>I hope you find it useful  <img src='http://www.fatlemon.co.uk/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
<link type="text/css" rel="stylesheet" href="/wp-content/syntax-highlighter/Styles/SyntaxHighlighter.css"></link>
<script src="/wp-content/syntax-highlighter/Scripts/shCore.js"></script><br />
<script src="/wp-content/syntax-highlighter/Scripts/shBrushVb.js"></script><br />
<script src="/wp-content/syntax-highlighter/Scripts/shBrushBatch.js"></script><br />
<script>
dp.SyntaxHighlighter.ClipboardSwf = '/wp-content/syntax-highlighter/Scripts/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2008/12/automatic-svn-revision-numbering-in-aspnet-mvc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Andrew&#8217;s Toblerone Cheesecake</title>
		<link>http://www.fatlemon.co.uk/2008/10/andrews-toblerone-cheesecake/</link>
		<comments>http://www.fatlemon.co.uk/2008/10/andrews-toblerone-cheesecake/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 14:00:29 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cheesecake]]></category>
		<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=16</guid>
		<description><![CDATA[
I don&#8217;t have a sweet tooth as such, but I have discovered a talent for making desserts &#8211; that or my friends are very complimentary  ;o)
I think I&#8217;d heard of The Cheesecake Factory before my first trip to the States, so when our hotel taxi took us past the one on Camelback Road in Phoenix [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/images/toblerone_cheesecake.png" alt="Toblerone Cheesecake" /></p>
<p>I don&#8217;t have a <a title="Sweet Tooth - Wikipedia" href="http://en.wikipedia.org/wiki/Sweet_tooth" target="_blank">sweet tooth</a> as such, but I have discovered a talent for making desserts &#8211; that or my friends are very complimentary  ;o)</p>
<p>I think I&#8217;d heard of <a title="The Cheesecake Factory" href="http://www.thecheesecakefactory.com/" target="_blank">The Cheesecake Factory</a> before my first trip to the States, so when our hotel taxi took us past <a title="The Cheesecake Factory, Phoenix, AZ - Yelp.com reviews" href="http://www.yelp.com/biz/cheesecake-factory-phoenix" target="_blank">the one on Camelback Road in Phoenix</a> we had to double back after checking in. I can testify to that first comment on <a title="Yelp! - user reviews" href="http://www.yelp.com">Yelp.com</a> &#8211; the &#8220;Portions are ginormous&#8221; !</p>
<p>A couple of months later, I decided to make a cheesecake to take into work for my Birthday, and although The Cheesecake Factory had pretty much every flavour, they didn&#8217;t have a Toblerone one, so, inspired by their &#8220;Chocolate Chip Cookie-Dough Cheesecake&#8221; &#8211; I&#8217;d not seen &#8216;floating&#8217; pieces of yumminess in the cheesecake bit before &#8211; I found a basic cheesecake recipe and experimented.</p>
<p>This is the latest version that was a huge success at my most recent Birthday celebrations.  Those mathematically minded of you will note the recipe uses only 2/3rds of the Toblerone..</p>
<p><span style="text-decoration: underline;">For the Base<br />
</span>1 Packet of <a title="Hob Nobs - Wikipedia" href="http://en.wikipedia.org/wiki/Hob_Nobs">Hob Nobs</a> or Digestives<br />
1 Packet of <a title="Oreos - Wikipedia" href="http://en.wikipedia.org/wiki/Oreo">Oreos</a> (optional)<br />
1/3 Block of Butter</p>
<p><span style="text-decoration: underline;">For the Cheesecake<br />
</span>400g Bar of <a title="Toblerone - Wikipedia" href="http://en.wikipedia.org/wiki/Toblerone">Toblerone</a><br />
450g of Cream Cheese (Philadelphia)<br />
250g Caster Sugar<br />
250g Crème Fraîche<br />
475ml Double Cream</p>
<p><span style="text-decoration: underline;">For the Topping<br />
</span>200ml of Double Cream</p>
<p><span style="text-decoration: underline;">Serves:</span> 8-10</p>
<p><span style="text-decoration: underline;"><strong>Method</strong><br />
</span>Create the base first</p>
<ol>
<li>Break-up the Hobs Nobs or Digestives and optional Oreos into crumbs, I do this by emptying them all into a <a title="Ziploc (Sandwich Bag) - Wikipedia" href="http://en.wikipedia.org/wiki/Ziploc">Sandwich Bag (or Ziploc)</a>, and hitting them repeatedly with a large Branston Pickle jar which I can also employ as a makeshift rolling pin.</li>
<li>Make sure there aren&#8217;t any large crumbs left, then melt the butter in a medium sized pan over a low heat and stir all of the mashed-up biscuit crumbs into the butter.  The crumbs will easily soak up the butter, become a little darker in colour and just start to stick together. Save the sandwich bag..</li>
<li>Take a 23cm (8&#8243;) <a title="Springform Tin" href="http://www.cooksandkitchens.co.uk/prodpage.asp?ProdID=209">springform tin</a>, and cut a piece of grease-proof paper for the bottom (I lightly dab the tray with butter in a couple of places to hold the paper in place)</li>
<li>Turn out the buttery-crumb mixture into the tin, even out, then using something with a flat surface (such as a church candle wrapped in clingfilm) pat the mixture down evenly to compress it</li>
<li>Place in the fridge to set while you continue with the main cheesecake part..</li>
</ol>
<p>Create the cheesecake</p>
<ol>
<li>Break off about a 3rd of the Toblerone peaks and place them in the same Sandwich bag (give it a good shake out first!), and with the same Branston Pickle jar mash the Toblerone into smallish chunks, roughly 1-1.5cm in size</li>
<li>Place all of the other ingredients into a large bowl, and electric whisk together until smooth</li>
<li>Stir in the battered Toblerone pieces to the mixture, then empty the lot onto the base in your springform tin, pushing the mixture into the edges and getting the top as smooth and level as you can</li>
<li>Put it back in the fridge to set, ideally overnight</li>
</ol>
<p>Create the topping</p>
<ol>
<li>Break off about a 3rd of the Toblerone, and <a title="How to melt chocolate - Delia Online" href="http://deliaonline.com/cookery-school/how-to/how-to-melt-chocolate,52,AR.html" target="_blank">melt it in a small bowl over a pan of simmering water</a>.</li>
<li>Add the double cream a bit at a time, stirring it all in before adding more, until it&#8217;s all in there.  It will get quite runny but that&#8217;s fine</li>
<li>Retrieve your cheesecake from the fridge and slowly pour the melted Toblerone topping onto it. Guide the topping so it all gets covered then place it back in the fridge to turn sticky</li>
<li>It should be ready in about an hour or so.</li>
</ol>
<p>Best served chilled with squirty cream  ;o)</p>
<p><span style="text-decoration: underline;">Variations</span><br />
To make the base a bit more interesting you can use broken up bits of <a title="Cinder Toffee recipe" href="http://www.gastronomydomine.com/2007/07/cinder-toffee.html">Cinder Toffee</a> instead of Oreos (which you can make, though I bought!). You can also add extra topping layers &#8211; I made a Toblerone Cheesecake with a layer of melted marshmallow under the melted Toblerone topping once which worked very well too</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2008/10/andrews-toblerone-cheesecake/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Reply to Iain Arthurs &#8211; Software Development Course Content</title>
		<link>http://www.fatlemon.co.uk/2008/07/reply-to-iain-arthurs-software-development-course-content/</link>
		<comments>http://www.fatlemon.co.uk/2008/07/reply-to-iain-arthurs-software-development-course-content/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 09:00:56 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=14</guid>
		<description><![CDATA[Recently, our little software company was contacted by a local college, to provide feedback on the content of a couple of new software engineering and advanced programming courses they are looking to run.

I saw this is my first opportunity to offer my assistance to those asking how should we teach software engineering?
 Hi Iain, thank [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, <a href="http://www.onepointsystems.com/" title="OnePoint Systems Ltd" target="_blank">our little software company</a> was contacted by a <a href="http://www.gateshead.ac.uk/" title="Gateshead College" target="_blank">local college</a>, to provide feedback on the content of a couple of new software engineering and advanced programming courses they are looking to run.</p>
<p><img src="/images/532895938_3581d6f105_m.jpg" height="180" width="240" /></p>
<p>I saw this is my first opportunity to offer my assistance to those asking <a href="http://www.codinghorror.com/blog/archives/001035.html" title="Coding Horror - How should we teach Software Engineering?" target="_blank">how should we teach software engineering?</a></p>
<blockquote><p> Hi Iain, thank you for your reminder &#8211; please accept my apologies for not getting back to you sooner!</p>
<p>I&#8217;ve read the 2 course outlines you sent and I think you&#8217;ve got a good focus for students wishing to go on to develop software development roles. I like the outline of the courses very much &#8211; especially your choice of .Net as we&#8217;re a .Net-based development company ourselves.</p>
<p>If I may, I would like to suggest a few areas that I found lacking in my own formal education that I think, should a graduate make note of on their C.V. as having had experience of on your courses, would put them on top of the pile based on my experience of hiring developers at OnePoint Systems. These are, namely:</p>
<p><u>An introduction to source control</u><br />
this could be as little as a single session describing what it is, why it&#8217;s essential in software development, release and maintenance lifecycles &#8211; without a doubt in team-based development, but it can also offer huge benefits for individuation development projects. I think it would be ideal to get the students to have hands-one experience with it &#8211; say as part of a team project, or as a requirement for handing in software for marking that it is checked in to some source control that the teacher would then check-out and build so as to mark</p>
<p><u>An overview of Agile Methodologies</u><br />
I see you have R.A.D. and Prototyping listed which is excellent (as is understanding the Waterfall Lifecycle), but I&#8217;ve found in my professional development that Agile &#8211; specifically Test-Driven Development (TDD) is fast becoming commonplace in software development companies &#8211; to quote Steve McConnell (author of Code Complete): &#8220;within the next few years we won’t talk about Agile much anymore; we’ll just talk about programming&#8221;. I would not wish to cover this topic in any more detail as I assume you are already familiar with it</p>
<p><u>A lesson on 3rd party tools and controls</u><br />
Something that I found completely missing in my formal education was (even the notion of) the practice of using 3rd party tools and controls within my own software projects. While tools could be covered by introducing source-control and add-ins for development IDE&#8217;s (such as Microsoft&#8217;s SourceSafe or Team System), or debugging tools such as Lutz Roeder&#8217;s .Net Reflector, the integration of 3rd party controls for their re-use value alone is, in my opinion, worth a session on its own &#8211; even if the students don&#8217;t get to actually use 3rd part controls. I&#8217;m thinking of listing a few resources such as ComponentSource.com, telerik.com, infragistics.com or janussys.com &#8211; to open the students mind to the idea that developing everything in-house is rarely the best way to proceed.</p>
<p><u> Reporting</u><br />
for most application development a little hands-on experience about how software reports are put together is, again, in my opinion essential. The reporting engine, be it Microsoft Reporting Services, Crystal Reports or a 3rd party reporting add-in such as Active Reports for .Net is of little differentiating factor for the simple kind of reports that allow the students to get the data out of their software creations and onto a physical piece of paper. In many ways, I think report creation is the final, completing step in creating a software application &#8211; it&#8217;s the tangible output of an intangible product.</p>
<p>I thank you very much for this opportunity to offer my feedback, and I wish you and your students the very best.  If I may be of any further assistance, please get in touch and I shall endeavour to be a little more responsive with my reply.</p>
<p>Kindest regards,</p>
<p>Andrew<br />
&#8211;<br />
Andrew Freemantle</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2008/07/reply-to-iain-arthurs-software-development-course-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Valuing criticism, encouragement and feedback</title>
		<link>http://www.fatlemon.co.uk/2008/04/valuing-criticism-encouragement-and-feedback/</link>
		<comments>http://www.fatlemon.co.uk/2008/04/valuing-criticism-encouragement-and-feedback/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 13:05:06 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Criticism]]></category>
		<category><![CDATA[Encouragement]]></category>
		<category><![CDATA[Feedback]]></category>

		<guid isPermaLink="false">http://www.fatlemon.co.uk/?p=12</guid>
		<description><![CDATA[Make a distinction between criticism, feedback, and encouragement, and ask for the one you really want.

Criticism is filled with judgements based on right and wrong, good and evil.
Encouragement is the intentional act of supporting someone in pursuing their objectives, regardless of how it&#8217;s going at the moment.
Feedback is open, honest communication about how we or [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Make a distinction between criticism, feedback, and encouragement, and ask for the one you really want.</p>
<ul>
<li>Criticism is filled with judgements based on right and wrong, good and evil.</li>
<li>Encouragement is the intentional act of supporting someone in pursuing their objectives, regardless of how it&#8217;s going at the moment.</li>
<li>Feedback is open, honest communication about how we or our actions are being perceived by other people</li>
</ul>
<p>- quoted from <a title="Amazon Books - Michael Neill, You can have what you want" href="http://www.amazon.co.uk/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.co.uk%2FYou-Can-Have-What-Want%2Fdp%2F1401910785%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1208093258%26sr%3D8-1&amp;tag=fatl-21&amp;linkCode=ur2&amp;camp=1634&amp;creative=6738" target="_blank">Michael Neill&#8217;s book, &#8220;You can have what you want&#8221;</a></p></blockquote>
<p>Any form of communication about our software or services from our development co-workers, testing team members, quality assurance, management and especially our end users is an opportunity for us to learn and improve &#8211; to learn and improve our software, the domain or business area it works in, and our relationship with the person we&#8217;re communicating with.</p>
<p>Of the 3 options Michael Neill presents, I think everyone prefers receiving Encouragement and Feedback rather than Criticism, but that&#8217;s more to do with favouring a pleasant delivery &#8211; especially considering that <a title="Albert Mehrabian - Non-Verbal communication study" href="http://en.wikipedia.org/wiki/Albert_Mehrabian" target="_blank">the message itself comprises only 7% of the communication</a>. Wouldn&#8217;t you rather receive the same message in a nicer way?</p>
<p>And the chances are that if you would, then it&#8217;s highly likely that everyone else would too. Therefore, wouldn&#8217;t it make sense to phrase your criticism as encouragement or feedback? and encourage feedback from those you communicate with?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fatlemon.co.uk/2008/04/valuing-criticism-encouragement-and-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
