<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Zooty&#039;s Funbag</title>
	<atom:link href="http://zootfroot.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zootfroot.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 24 Jul 2009 13:27:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='zootfroot.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Zooty&#039;s Funbag</title>
		<link>http://zootfroot.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zootfroot.wordpress.com/osd.xml" title="Zooty&#039;s Funbag" />
	<atom:link rel='hub' href='http://zootfroot.wordpress.com/?pushpress=hub'/>
		<item>
		<title>&#8220;Label For&#8221;, Selects and IE6</title>
		<link>http://zootfroot.wordpress.com/2009/07/24/label-for-selects-and-ie6/</link>
		<comments>http://zootfroot.wordpress.com/2009/07/24/label-for-selects-and-ie6/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 13:27:52 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/?p=48</guid>
		<description><![CDATA[Good accessible sites use LABEL tags to describe the purpose of other controls on the page; for example a login control should have LABELs in it that tells the user which textbox is for the Username and which is for Password. To be completely groovy the LABEL should also have a FOR attribute in it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=48&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Good accessible sites use LABEL tags to describe the purpose of other controls on the page; for example a login control should have LABELs in it that tells the user which textbox is for the Username and which is for Password. To be completely groovy the LABEL should also have a FOR attribute in it that explicitly declares which control it refers to, like so:</p>
<blockquote><p>&lt;label for=&#8221;txtUsername&#8221;&gt;Username&lt;/label&gt;<br />
&lt;input type=&#8221;text&#8221; id=&#8221;txtUsername&#8221; /&gt;</p></blockquote>
<p>BUT there is one problem &#8211; f*%!&amp;ing IE6 does something very stupid when you use LABEL FOR with dropdownlist boxes (SELECTS). In IE6, if you click on the label, the SELECT resets its currently selected item and reverts to the first in the list. GOD *DAMN* IT.</p>
<p>Anyway, I knocked up this blob of JQuery which empties the LABEL FOR with SELECTs in IE6 and below. Hope it&#8217;s useful to someone.</p>
<blockquote><p>&lt;!&#8211; Script to disable Label.For attributes for SELECT elements in IE6 (otherwise they reset the selected OPTION)  &#8211;&gt;<br />
&lt;!&#8211;[if lte IE 6]&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
$(&#8216;label&#8217;).each(function() {if ($(&#8216;#&#8217; + $(this).attr(&#8216;for&#8217;)).attr(&#8216;tagName&#8217;) == &#8216;SELECT&#8217;) $(this).attr(&#8216;for&#8217;, &#8221;) ;});<br />
&lt;/script&gt;<br />
&lt;![endif]&#8211;&gt;</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=48&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/07/24/label-for-selects-and-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>Interviewing IT Development Candidates</title>
		<link>http://zootfroot.wordpress.com/2009/07/07/interviewing-it-development-candidates/</link>
		<comments>http://zootfroot.wordpress.com/2009/07/07/interviewing-it-development-candidates/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 15:07:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/07/07/interviewing-it-development-candidates/</guid>
		<description><![CDATA[Man, I&#8217;ve pondered on the best way to do this so many times, and according to Joel, I&#8217;ve made many of the classic mistakes in the past: http://www.joelonsoftware.com/articles/GuerrillaInterviewing3.html What a great site.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=47&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Man, I&#8217;ve pondered on the best way to do this so many times, and according to Joel, I&#8217;ve made many of the classic mistakes in the past:</p>
<p><a href="http://www.joelonsoftware.com/articles/GuerrillaInterviewing3.html">http://www.joelonsoftware.com/articles/GuerrillaInterviewing3.html</a></p>
<p>What a great site.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=47&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/07/07/interviewing-it-development-candidates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>Faking and Mocking: HttpContext and HttpSessionState</title>
		<link>http://zootfroot.wordpress.com/2009/06/30/faking-and-mocking-httpcontext-and-httpsessionstate/</link>
		<comments>http://zootfroot.wordpress.com/2009/06/30/faking-and-mocking-httpcontext-and-httpsessionstate/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 15:41:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/06/30/faking-and-mocking-httpcontext-and-httpsessionstate/</guid>
		<description><![CDATA[HttpContext.Current is all well and good until you want to do unit tests on your business logic, and they explode because there&#8217;s a reference to the Session collection somewhere, which returns null because you&#8217;re not in a web context. You get to thinking that your business logic should be context-agnostic anyway, and so you want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=46&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>HttpContext.Current is all well and good until you want to do unit tests on your business logic, and they explode because there&#8217;s a reference to the Session collection somewhere, which returns null because you&#8217;re not in a web context. You get to thinking that your business logic should be context-agnostic anyway, and so you want to provide your own context objects for Session, Items, User etc.</p>
<p>So then you run the gamut of HttpContext fakery, thinking about moq, TypeMock etc &#8211; only you don&#8217;t want to go to all that trouble. Phil Haack&#8217;s <a href="http://haacked.com/archive/2007/06/19/unit-tests-web-code-without-a-web-server-using-httpsimulator.aspx">HttpSimulator </a>hoves into view but just doesn&#8217;t feel right for this particular task (although it IS uber cool). His <a href="http://haacked.com/archive/2005/06/11/simulating_httpcontext.aspx">SimulatedHttpRequest </a>class was pretty cool but sadly the Session object was null when I referenced it.</p>
<p>Finally I stumbled on <a href="http://forums.asp.net/p/995143/1745080.aspx">this post</a> (specifically the one by <span style="font-weight:bold;">radmanmm</span>). Using the GetMockHttpSessionState() with my SimulatedHttpRequest object solved the problem. Wooot!</p>
<p>PS. Mr Walther&#8217;s Fake Intrinsic Objects looked pretty cool too, <a href="http://stephenwalther.com/blog/archive/2008/06/30/asp-net-mvc-tip-12-faking-the-controller-context.aspx">check them out</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=46&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/06/30/faking-and-mocking-httpcontext-and-httpsessionstate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>Indexing SQL Server 2005 Temporary Tables</title>
		<link>http://zootfroot.wordpress.com/2009/05/28/indexing-sql-server-2005-temporary-tables/</link>
		<comments>http://zootfroot.wordpress.com/2009/05/28/indexing-sql-server-2005-temporary-tables/#comments</comments>
		<pubDate>Thu, 28 May 2009 14:05:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/05/28/indexing-sql-server-2005-temporary-tables/</guid>
		<description><![CDATA[Simple really &#8211; if you create a large temporary table in your sproc, you may need to index it to improve performance on queries you subsequently run on it, e.g. CREATE CLUSTERED INDEX IX_blah ON #YourTempTable (YourPKCol)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=44&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Simple really &#8211; if you create a large temporary table in your sproc, you may need to index it to improve performance on queries you subsequently run on it, e.g.</p>
<p>CREATE CLUSTERED INDEX IX_blah ON #YourTempTable (YourPKCol)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=44&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/05/28/indexing-sql-server-2005-temporary-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server performance and statistics</title>
		<link>http://zootfroot.wordpress.com/2009/05/22/sql-server-performance-and-statistics/</link>
		<comments>http://zootfroot.wordpress.com/2009/05/22/sql-server-performance-and-statistics/#comments</comments>
		<pubDate>Fri, 22 May 2009 09:43:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/05/22/sql-server-performance-and-statistics/</guid>
		<description><![CDATA[Queries started running slowly on your SQL Server? Maybe your db statistics need updating. A quick and dirty way to do this for all tables in your DB is the sp_updatestats sproc.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=43&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Queries started running slowly on your SQL Server? Maybe your db statistics need updating.</p>
<p>A quick and dirty way to do this for all tables in your DB is the <span style="font-weight:bold;">sp_updatestats</span> sproc.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=43&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/05/22/sql-server-performance-and-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>Walk like an Egyptian</title>
		<link>http://zootfroot.wordpress.com/2009/04/27/walk-like-an-egyptian/</link>
		<comments>http://zootfroot.wordpress.com/2009/04/27/walk-like-an-egyptian/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 12:05:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/04/27/walk-like-an-egyptian/</guid>
		<description><![CDATA[Ruth and I just got back from a jolly holiday in Egypt. Here&#8217;s what we found. El Gouna is a nice, safe, gated town about half an hour&#8217;s drive up the red sea coast from Hurghada. The Moevenpick El Gouna is a nice hotel complex composed of several &#8220;clusters&#8221; of rooms set around a number [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=42&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ruth and I just got back from a jolly holiday in Egypt. Here&#8217;s what we found.</p>
<ol>
<li>El Gouna is a nice, safe, gated town about half an hour&#8217;s drive up the red sea coast from Hurghada.</li>
<li>The Moevenpick El Gouna is a nice hotel complex composed of several &#8220;clusters&#8221; of rooms set around a number of lagoons and pools. However, some clusters are nicer than others. We initially got put in cluster 7 in a grim room and a sewage smell outside. We complained to our Thompson rep and got moved to a great room in cluster 3.</li>
<li>Downtown El Gouna is good for supermarket shopping but poor for evening eating.</li>
<li>El Gouna Marina is very nice for evening nosh, especially Bleu Bleu restaurant.</li>
<li>The TukTuks are everywhere and cheap.</li>
<li>The Mosquitos are buggers! Bring protection.</li>
<li>You have to swim out quite a way to get to decent coral, but it is out there.</li>
<li>The purple jellyfishes are harmless.</li>
<li>The desert tour to see the bedouin camp is not worth it.</li>
<li>Hurghada is a sad, ugly post-credit-crunch disaster.</li>
<li>The Red Sea in April is lovely and warm but not overbearingly hot.</li>
</ol>
<p>In short, lovely holiday!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=42&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/04/27/walk-like-an-egyptian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>Parse CSV files with the MS ODBC Driver</title>
		<link>http://zootfroot.wordpress.com/2009/04/27/parse-csv-files-with-the-ms-odbc-driver/</link>
		<comments>http://zootfroot.wordpress.com/2009/04/27/parse-csv-files-with-the-ms-odbc-driver/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 11:57:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/04/27/parse-csv-files-with-the-ms-odbc-driver/</guid>
		<description><![CDATA[Easy way to read CSV files in .NET just like connecting to an SQL table &#8211; just use the standard Microsoft Text Driver. public DataTable GetData(string FullPath) { string strPathWithoutFileName = Path.GetDirectoryName(FullPath); string Name = Path.GetFileName(FullPath); DataSet dsData = new DataSet(); System.Data.Odbc.OdbcConnection conCsv = new System.Data.Odbc.OdbcConnection(); conCsv.ConnectionString = @&#8221;Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=&#8221; + strPathWithoutFileName [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=41&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Easy way to read CSV files in .NET just like connecting to an SQL table &#8211; just use the standard Microsoft Text Driver.</p>
<blockquote><p><span style="font-size:85%;">public DataTable GetData(string FullPath)<br />   {<br />       string strPathWithoutFileName = Path.GetDirectoryName(FullPath);<br />       string Name = Path.GetFileName(FullPath);</p>
<p>       DataSet dsData = new DataSet();<br />       System.Data.Odbc.OdbcConnection conCsv = new System.Data.Odbc.OdbcConnection();<br />       conCsv.ConnectionString = @&#8221;Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=&#8221; + strPathWithoutFileName + @&#8221;;Extensions=csv;&#8221;;<br />       conCsv.Open();</p>
<p>       System.Data.Odbc.OdbcDataAdapter oda = new System.Data.Odbc.OdbcDataAdapter();<br />       oda.SelectCommand = new System.Data.Odbc.OdbcCommand(&#8220;SELECT * FROM [" + Name + "]&#8220;, conCsv);</p>
<p>       try<br />       {<br />           oda.Fill(dsData);<br />       }<br />       catch (Exception ex)<br />       {<br />           throw new InvalidOperationException(&#8220;Csv File Read Error: &#8221; + FullPath, ex);<br />       }<br />       finally<br />       {<br />           oda.Dispose();<br />           conCsv.Close();<br />           conCsv.Dispose();<br />       }</p>
<p>       dsData.Tables[0].TableName = Name;</p>
<p>       return dsData.Tables[0];<br />   }</p>
<p></span></p></blockquote>
<p><span style="font-weight:bold;">A note on configuring the Microsoft Text Driver for your CSV file:</span></p>
<p>If you place a Schema.ini file in the same location as the CSV file, you can declaratively specify the expected columns and datatypes. See this article for info: <a href="http://msdn.microsoft.com/en-us/library/ms709353.aspx">http://msdn.microsoft.com/en-us/library/ms709353.aspx</a></p>
<p><span style="font-weight:bold;">A note about System Regional Settings vs Application Culture when using the Microsoft Text Driver:</span></p>
<p>I noticed something weird when I specified a column as DateTime in my Schema.ini file. The Text Driver was reading the dates in US format (mm/dd/yy). My testing indicates that even though my ASP.NET web app was explicitly set for British culture (&#8220;en-GB&#8221; in the web.config&#8217;s globalization section), the Text Driver uses the Windows Regional And Language Options setting. Annoying eh!</p>
<p>Note also that if the Text Driver cannot resolve a DateTime value according the Regional Settings format, it doesn&#8217;t throw an exception. It just treats the value as Null. Yuck.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=41&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/04/27/parse-csv-files-with-the-ms-odbc-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>SqlMetal + Visual Studio Jollity</title>
		<link>http://zootfroot.wordpress.com/2009/04/09/sqlmetal-visual-studio-jollity/</link>
		<comments>http://zootfroot.wordpress.com/2009/04/09/sqlmetal-visual-studio-jollity/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 15:00:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/04/09/sqlmetal-visual-studio-jollity/</guid>
		<description><![CDATA[Whack the following code in a .bat file, register it with Visual Studio&#8217;s &#8220;External Tools&#8221; under the Tools menu, and call it whenever you want to regenerate your LinqToSql ORM goodness: @ECHO OFFECHO # GENERATING &#8220;MyProject.Classes.ORM&#8221; CLASSES &#8211; THEY MUST BE CHECKED OUT FOR THIS TO WORK!ECHO. &#8220;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\SqlMetal.exe&#8221; /server:localhost /database:MyProjectDB /code:MyProject.Classes\ORM\MyProjectDBContext.cs /namespace:MyProject.Classes.ORM /pluralize [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=40&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Whack the following code in a .bat file, register it with Visual Studio&#8217;s &#8220;External Tools&#8221; under the Tools menu, and call it whenever you want to regenerate your LinqToSql ORM goodness:</p>
<blockquote><p>@ECHO OFF<br />ECHO # GENERATING &#8220;MyProject.Classes.ORM&#8221; CLASSES &#8211; THEY MUST BE CHECKED OUT FOR THIS TO WORK!<br />ECHO.</p>
<p>&#8220;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\SqlMetal.exe&#8221; /server:localhost /database:MyProjectDB /code:MyProject.Classes\ORM\MyProjectDBContext.cs /namespace:MyProject.Classes.ORM /pluralize</p>
<p>ECHO # GENERATION COMPLETE &#8211; CHECK ABOVE FOR ERRORS</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=40&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/04/09/sqlmetal-visual-studio-jollity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>960 CSS FTW</title>
		<link>http://zootfroot.wordpress.com/2009/04/08/960-css-ftw/</link>
		<comments>http://zootfroot.wordpress.com/2009/04/08/960-css-ftw/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 13:30:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/04/08/960-css-ftw/</guid>
		<description><![CDATA[I like this: http://960.gs/ Might make prototyping sites easier.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=39&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I like this: <a href="http://960.gs/">http://960.gs/</a></p>
<p>Might make prototyping sites easier.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=39&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/04/08/960-css-ftw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
		<item>
		<title>Undocumented SQL Server Stored Procedures</title>
		<link>http://zootfroot.wordpress.com/2009/03/31/undocumented-sql-server-stored-procedures/</link>
		<comments>http://zootfroot.wordpress.com/2009/03/31/undocumented-sql-server-stored-procedures/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 15:53:00 +0000</pubDate>
		<dc:creator>zootfroot</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zootfroot.wordpress.com/2009/03/31/undocumented-sql-server-stored-procedures/</guid>
		<description><![CDATA[This article documents some groovy system stored procs: http://www.mssqlcity.com/Articles/Undoc/SQL2000UndocSP.htm Sprocs include stuff like &#8220;FOR EACH DB/TABLE DO X&#8221; and &#8220;GET QUALIFIED OBJECT NAME&#8221;. Mucho useful. Now why the hell are they secret?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=38&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article documents some groovy system stored procs:</p>
<p><a href="http://www.mssqlcity.com/Articles/Undoc/SQL2000UndocSP.htm">http://www.mssqlcity.com/Articles/Undoc/SQL2000UndocSP.htm</a></p>
<p>Sprocs include stuff like &#8220;FOR EACH DB/TABLE DO X&#8221; and &#8220;GET QUALIFIED OBJECT NAME&#8221;.</p>
<p>Mucho useful. Now why the hell are they secret?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zootfroot.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zootfroot.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zootfroot.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zootfroot.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zootfroot.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zootfroot.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zootfroot.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zootfroot.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zootfroot.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zootfroot.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zootfroot.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zootfroot.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zootfroot.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zootfroot.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zootfroot.wordpress.com&amp;blog=8713104&amp;post=38&amp;subd=zootfroot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zootfroot.wordpress.com/2009/03/31/undocumented-sql-server-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e57a1b54cb18097c3b6b403d8d5ca84c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zootfroot</media:title>
		</media:content>
	</item>
	</channel>
</rss>
