<?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>Scott&#039;s code and other ponderings...</title>
	<atom:link href="http://www.scottleckie.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scottleckie.com</link>
	<description>...how hard can it be?...</description>
	<lastBuildDate>Fri, 23 Dec 2011 01:55:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>What is to become of the SharpSSH project?</title>
		<link>http://www.scottleckie.com/2011/12/what-is-to-become-of-the-sharpssh-project/</link>
		<comments>http://www.scottleckie.com/2011/12/what-is-to-become-of-the-sharpssh-project/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 01:55:06 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=238</guid>
		<description><![CDATA[<p>The SharpSSH project has, in my opinion been a success.</p>
<p>&#160;</p>
<p>It translates the standard jsch libraries into .Net CLR speak so that we C# and VB afficionados can play in the heterogeneous space, too. It was an excellent piece of work by the original developer, Tamir Gal, but it seems that he has tired of it. His own blog has not been updated since 2009 and the project itself has been stagnant for even longer.</p>
<p>Matt Wagner has made an attempt to fork and maintain the code but he will only be successful if people follow and contribute to the cause.</p>
<p>I think that the original SharpSSH project has been an immensely successful project, and that Tamir Gal should be commended.</p>
<p>&#160;</p>
<p>However, we now need [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2011/12/what-is-to-become-of-the-sharpssh-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharpSSH and getPermissionsString() [bug in SftpATTRS.cs]</title>
		<link>http://www.scottleckie.com/2011/12/sharpssh-and-getpermissionsstring-bug-in-sftpattrs-cs/</link>
		<comments>http://www.scottleckie.com/2011/12/sharpssh-and-getpermissionsstring-bug-in-sftpattrs-cs/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 01:42:09 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=235</guid>
		<description><![CDATA[<p>I&#39;ve been using the SharpSSH Library quite a lot, recently and I&#39;ve been coming across quite a few unfortunate errors&#8230;</p>
<p>&#160;</p>
<p>Today&#39;s was to do with permissions from an SFTP entry. When you execute this using the standard library you get access to a &#34;longName&#34; property which contains the UNIX style listing of the entry, such as &#34;-rwxr-xr-x 1 root apache 58585 Mar 14 2009 wibble.exe&#34;.</p>
<p>What was throwing me was the date format; &#34;Mar 14 2009&#34; &#8211; we have a script at work which reports on vital files that appear to change. It&#39;s not complex, but it depends on the string basically, err, not changing. Problem is that when a file reaches its six month birthday, UNIX stops reporting it as &#34;Mar 14 [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2011/12/sharpssh-and-getpermissionsstring-bug-in-sftpattrs-cs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Acchhh&#8230; the type &#8216;System.Data.EntityState&#8217; is defined in an assembly that is not referenced&#8230;</title>
		<link>http://www.scottleckie.com/2011/05/acchhh-the-type-system-data-entitystate-is-defined-in-an-assembly-that-is-not-referenced/</link>
		<comments>http://www.scottleckie.com/2011/05/acchhh-the-type-system-data-entitystate-is-defined-in-an-assembly-that-is-not-referenced/#comments</comments>
		<pubDate>Sat, 28 May 2011 00:34:55 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Framework]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=213</guid>
		<description><![CDATA[<p>This was a complete googlewhack; when&#160;I entered the complete text, I got exactly one response! BTW, when I try now I am up to three, so there are obviously at least two more people with the same challenges that I have&#8230;</p>
<p>&#160;</p>
<p>So, you look up the generic advice and they say a variation on the below;</p>

Update web.config to read &#34;&#60;add assembly=&#34;System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#34; /&#62;&#34;

<p>All very exciting, but the key bit of information that we&#39;re missing is that adding the EntityFramework DLL / namespace does not complete the picture.</p>
<p>Make sure you add the .Net library &#34;System.Data.Entity&#34; and all will [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2011/05/acchhh-the-type-system-data-entitystate-is-defined-in-an-assembly-that-is-not-referenced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RC of Entity Framework 4.1 (including EF Code First) is released</title>
		<link>http://www.scottleckie.com/2011/03/rc-of-entity-framework-4-1-including-ef-code-first-is-released/</link>
		<comments>http://www.scottleckie.com/2011/03/rc-of-entity-framework-4-1-including-ef-code-first-is-released/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 23:11:16 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=203</guid>
		<description><![CDATA[<p>Scott Guthrie announced on his blog that the Release Candidate of the excellent Entity Framework 4.1 is now available. See here for all the gen.</p>
<p>&#160;</p>
<p>He has also updated the &#34;NerdDinner&#34; sample project to use the new EF4.1 features, especially the &#34;Code First&#34; pattern where you can create lovely, clean POCO models and have them automatically create the database schema, update the schema and handle the repository actions.</p>
<p>It&#39;s a fantastic post and goes a long way to explaining the topics. However, given the bleeding-edge of this technology, there are a couple of differences between Scott&#39;s code and the RC code that you can get from here.</p>
New names for IDatabaseInitializer conventions
<p>Scott&#39;s code shows the following to persuade (in debug code) how to recreate [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2011/03/rc-of-entity-framework-4-1-including-ef-code-first-is-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rackspace managed hosting is EXCELLENT</title>
		<link>http://www.scottleckie.com/2010/10/rackspace-managed-hosting-is-excellent/</link>
		<comments>http://www.scottleckie.com/2010/10/rackspace-managed-hosting-is-excellent/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 01:38:55 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=177</guid>
		<description><![CDATA[<p>OK, I need to admit&#160; a little bias here; my company (on my recommendation) went with Rackspace for our SaaS offering.</p>
<p>&#160;</p>
<p>That being said, I was faced with a dilemna a few weeks ago. I needed to quickly procure a web site with a vital and graphical message (&#34;our house is for sale&#34;) and I needed to do it in such a way that my CFO/CMO was happy (wife controls costs and writes copy for any such venture). Technology choice? Easy; Joomla and the underlying technologies of PHP and mySql.</p>
<p>So, I knocked up a site on one of my many in-house Ubuntu VMs (LAMP on VM Server 2 on Ubuntu 8.04 LAMP on what-can-go-wrong-I&#39;m-a-professional) and it was great(tm). Uh. Until I tried [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2010/10/rackspace-managed-hosting-is-excellent/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gallery, ImageMagick and Ubuntu</title>
		<link>http://www.scottleckie.com/2010/09/gallery-imagemagick-and-ubuntu/</link>
		<comments>http://www.scottleckie.com/2010/09/gallery-imagemagick-and-ubuntu/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 00:10:29 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=171</guid>
		<description><![CDATA[<p>There is a very real possibiliy that I am the only person on the planet running this exact mix of software (isn&#39;t that always the case?). Anyway, I was getting deeply frustrated at my inability to get Gallery (a PHP / mySql photo gallery app) running on my Rackspace rented cloud server. The sorts of issues I was seeing included;</p>

Running any task in Site Admin / System Maintenance just led to a white screen
Uploading a single image just led to a white screen
Trying to use the Java Remote / Upload applet led to a &#34;Error: java.io.EOFException: Premature EOF encountered&#34; message
Multiple errors about ImageMagick not being installed or configured properly

<p>It was really quite yucky and, as is sadly so often with the [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2010/09/gallery-imagemagick-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kindle 3 &#8211; a game changer</title>
		<link>http://www.scottleckie.com/2010/09/kindle-3-a-game-changer/</link>
		<comments>http://www.scottleckie.com/2010/09/kindle-3-a-game-changer/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 23:14:32 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Kindle]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=150</guid>
		<description><![CDATA[<p>&#160;</p>




<p>Well, here I am, two days into Kindle ownership and I&#39;m sold. There is a little bit of clunkiness but, overall, this is the best evidence yet that paper is dead. Actually, and more worrisome as some of my friends work in book publishing/distribution, I can forecast that we will have no need for traditional publishers and bookshops in 5-10 years&#8230;</p>
<p>So, what is it? It&#39;s a device that is roughly a third the size of an iPad (which my wife owns) that is designed for nothing more than displaying books and documents. The most striking aspect is the e-ink display that really (and, I mean, really!) looks like paper. The first time I was amazed by this was when I opened [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2010/09/kindle-3-a-game-changer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How excited am I about the new Kindle?</title>
		<link>http://www.scottleckie.com/2010/08/how-excited-am-i-about-the-new-kindle/</link>
		<comments>http://www.scottleckie.com/2010/08/how-excited-am-i-about-the-new-kindle/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 00:44:26 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Kindle]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=146</guid>
		<description><![CDATA[<p>The answer? &#34;Very&#34;!</p>
<p>Oh Dawg, it seems that the magic cutoff for delivery by this week was 0600 on 6th August and I, of course, ordered it mid-afternoon on August 6th, which puts me in the twilight zone of &#34;after 27th August and before some unspoken date in September&#34;.</p>
<p>To make matters worse, Amazon delivered (right on schedule!) my &#163;30 Kindle Kover (my tm). So, I spent the day walking round the office, going &#34;oooohhhh feel that&#8230; that is EXACTLY the place that my Kindle would occupy, if I had it&#34;</p>
<p>To be fair to my co-workers; if they squinted enough, and could get as excited as I clearly was, and they remembered that &#34;co-worker&#34; = &#34;employee, who I could get rid of at [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2010/08/how-excited-am-i-about-the-new-kindle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_CrtDumpMemoryLeaks() and related fun</title>
		<link>http://www.scottleckie.com/2010/08/_crtdumpmemoryleaks-and-related-fun/</link>
		<comments>http://www.scottleckie.com/2010/08/_crtdumpmemoryleaks-and-related-fun/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 00:40:35 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=133</guid>
		<description><![CDATA[<p>Welcome to the 1990s&#8230;.</p>
<p>So, I have a new&#160;application that is resolutely non-MFC and non-ATL. Why? Because it&#39;s a GINA DLL that can be running on a machine going back to early 2001 (not quite the 1990s of the previous line but close enough!) where we have no idea whether it is running on XP SP0, SP1, SP2 or SP3.</p>
<p>This app has a lot of malloc and a lot of new object() calls in it. Are these all cleaning up after themselves?</p>
<p>Surprisingly(!), the C RunTime Library gives us an easy way to check; you can call _CrtDumpMemoryLeaks()</p>
<p>It ain&#39;t as easy as that though (obviously). To be effective, you need to bear in mind the following;</p>

_CrtDumpMemoryLeaks() only understands the context of its own [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2010/08/_crtdumpmemoryleaks-and-related-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ahhh&#8230; the olden days&#8230; DialogBox, MessagePumps and the joy of HWNDs</title>
		<link>http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/</link>
		<comments>http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 23:57:22 +0000</pubDate>
		<dc:creator>Scott Leckie</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Win32 API]]></category>

		<guid isPermaLink="false">http://www.scottleckie.com/?p=127</guid>
		<description><![CDATA[<p>How soon we forget. A few years ago, I weaned myself off of Visual C++ and MFC and toyed (briefly) with ASP.NET</p>
<p>Now, I&#39;m finally getting to grips with C#, .NET and CLR 4.0 and Silverlight.</p>
<p>And, all of a sudden, I&#39;m thrust back to 1996. Why? Because we need to write a GINA (Graphical Identification aNd Authentication) component as part of a password reset application.</p>
<p>So, here we are, with definitely no CLR (which rules out C# and CLR) and recommended against the MFC. So, we&#39;re literally back in the days of defining dialog boxes as a set of resource definitions, and copious calls to CreateWindow. And that&#39;s before we get to the single threaded message pump that is WndProc.</p>
<p>Couple all of that [...]]]></description>
		<wfw:commentRss>http://www.scottleckie.com/2010/06/ahhh-the-olden-days-dialogbox-messagepumps-and-the-joy-of-hwnds/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

