<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nigel Ainscoe on Medium]]></title>
        <description><![CDATA[Stories by Nigel Ainscoe on Medium]]></description>
        <link>https://medium.com/@nigelainscoe?source=rss-dfe906c594d9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ee9iWpXG0R7UM7NM.jpg</url>
            <title>Stories by Nigel Ainscoe on Medium</title>
            <link>https://medium.com/@nigelainscoe?source=rss-dfe906c594d9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 08:03:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nigelainscoe/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Roasted Cauliflower Quiche]]></title>
            <link>https://medium.com/@nigelainscoe/roasted-cauliflower-quiche-a2ab3e6303ab?source=rss-dfe906c594d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2ab3e6303ab</guid>
            <category><![CDATA[baking]]></category>
            <category><![CDATA[cooking]]></category>
            <dc:creator><![CDATA[Nigel Ainscoe]]></dc:creator>
            <pubDate>Tue, 09 Oct 2018 20:05:35 GMT</pubDate>
            <atom:updated>2018-10-09T20:06:38.258Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="roasted-cauliflower-quiche" src="https://cdn-images-1.medium.com/max/1024/0*qasGWS_bfgkKqaTe.jpg" /></figure><p>I roasted a cauliflower with a mild curry powder the other day. We ate some as a side dish but there was still quite a bit left over so I wondered what to do with it. It came to me in a flash — quiche. It’s the most inspired thing I’ve cooked for a while so here goes.</p><h4>For the Roasted Cauliflower</h4><p>1 medium cauliflower<br>3 teaspoons of mild curry powder (hot won’t work here as the finished article is all about delicacy)<br>1/2 a teaspoon of salt<br>Olive Oil<br>A roasting pan</p><h4>For the Pastry</h4><p>200 grams of plain flour<br>50 grams of lard<br>50 grams of butter<br>A pinch of salt<br>An egg yolk<br>Chilled water</p><p>You can replace the lard and butter with any baking fat.</p><h4>For the quiche cream filling</h4><p>3 large eggs plus an extra yolk<br>110 grams of cream cheese<br>300 ml carton of double cream<br>50 grams of grated mature cheddar</p><p>Heat the oven to 185 degrees C ( 170 Fan)</p><h4>First make your roasted cauliflower.</h4><p>Divide the cauliflower into florets and put them in the roasting pan. Sprinkle the curry powder and salt all over, pour in the olive oil and mix it all together with your hands.</p><p>After you’ve washed your hands, cover the roasting pan with foil and place in the oven for thirty minutes. Then turn up the heat to 200 degrees ( 185 Fan), remove the foil and toss the florets about a bit. Leave for a further 10 or 15 minutes until the florets start to singe a little at the edges. Keep an eye on them at this point as you don’t want them to burn.</p><p>Remove from the oven and leave to cool. You can make this a day or two before if you want.</p><h4>To make the pastry</h4><p>Heat the oven to 185 degrees C ( 170 Fan)</p><p>If you can’t make pastry or just can’t be bothered get a block of shortcrust from the supermarket. It won’t be as nice but it’ll do at a pinch. Otherwise…</p><p>Start with a well chilled bowl and fat. Warmth is the enemy of decent pastry making — except for the baking bit obviously.</p><p>Sieve the flour into a bowl and chop the fat into it in small pieces. <br>With your fingertips rub the fat into the flour until tou have a mixture that resembles breadcrumbs.<br>Stir in the egg yolk and a tablespoon of chilled water, using a knife, until the mixture gathers together in a rough dough. Put it in some clingfilm, squeeze it into a flattish block and then put it in the fridge for half an hour or more.</p><h4>Mix the quiche cream</h4><p>Using a hand held electric mixer mix the eggs, egg yolk and cream cheese until they are completely smooth. Season well with salt and ground white pepper. Mix in the cream and then finally the grated cheese.</p><h4>Make a <a href="https://en.wikipedia.org/wiki/Blind-baking">blind baked</a> pastry case for the quiche</h4><p>Remove the pastry from the fridge and let it head towards room temperature until it starts to get a bit supple. If you try and roll it straight from the fridge it tends to crack.</p><p>Roll it out and line the buttered flan dish. I like to leave some pastry hanging over the edge as it helps to stop it from shrinking back into the tin.<br>Cover the base with a disc of baking parchment and then with baking beans. Place in the oven for ten to fifteen minutes.</p><p>Once the flan case has started to turn a light biscuit colour, remove from the oven and take out the baking beans and parchment. Return to the oven for about another five minutes to allow the base to crisp up a bit.</p><p>Remove the flan case from the oven and arrange the roasted cauliflower florets evenly around it. Don’t pack them in too tightly — this is a quiche, not a cauliflower pie.<br>Gently pour over the egg and cream mixture. Most of the cheese will probably stay in the bowl. No matter, just scrape it out gently and distribute it evenly about the flan.</p><p>Turn the oven down to 170 (160 Fan) and return the quiche and bake for about 30 to 40 minutes or until the top is starting to brown but the centre still has a slight wobble. If you have an electronic thermometer then it’s ready when it shows about 75–80 degrees in the centre.</p><p>Remove from the oven and leave on a wire rack until cooled to room temperature.</p><p>Serve with some salad. It’ll keep for a day at room temperature but will need to go in the fridge if you can make it last any longer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2ab3e6303ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Doing IRR With SQL Server]]></title>
            <link>https://medium.com/@nigelainscoe/doing-irr-with-sql-server-ee6282da4172?source=rss-dfe906c594d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee6282da4172</guid>
            <dc:creator><![CDATA[Nigel Ainscoe]]></dc:creator>
            <pubDate>Wed, 03 Oct 2018 21:15:48 GMT</pubDate>
            <atom:updated>2018-10-03T21:16:50.525Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>IRR — Internal Rate of Return. Given an investment and the resulting cash-flows determine the rate of return on the investment.</em></h4><figure><img alt="IRR Formula" src="https://cdn-images-1.medium.com/max/309/0*F9jPNso8kuMuVP5w.png" /></figure><p>I’ve recently been working with clients in the financial services industry and have been tasked with moving some spreadsheets into the database. Problem is that they use the Microsoft Excel IRR function which SQL Server’s T-SQL language doesn’t possess.</p><p>I searched around for SQL solutions but found them limiting at best. After a suitable amount of musing, I determined that the best option would be a SQL CLR function as it would obviously be easy. Wrong. It seems that IRR calculation is actually quite hard, certainly beyond my math skills.</p><p>So I set about Googling until I came across <a href="http://zainco.blogspot.com/2008/08/internal-rate-of-return-using-newton.html">this website</a> which talks about the problem and has a link to a C# project which solves the problem 👌 You can also look here if you’d like some background on the math used to solve the problem. Personally I found it fascinating even though I only half understand it.</p><p>After downloading the project I tested it out and compared the results with Excel, which were great, although it does start to brake down after eight places of decimal — I can live that for my requirements.</p><p>Next up was to create a SQL Database project and add the various classes and interfaces from the C# project. After a couple of false starts I got a signed assembly deployed to my local SQL Server, enabled CLR functions and started testing. Results match Excel — Bingo.</p><p>If this is any use to you, you can go to my <a href="https://github.com/nigelainscoe/SqlIRR">GitHub repository here</a>.</p><p>Next up — I’ll probably have to do a <a href="https://www.investopedia.com/terms/n/npv.asp">NPV function</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee6282da4172" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>