<?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>Dan&#039;s Blog &#187; Technology</title>
	<atom:link href="http://dangarner.co.uk/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://dangarner.co.uk</link>
	<description>A mixture of tech and books</description>
	<lastBuildDate>Thu, 03 Dec 2009 21:17:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Warhammer Online</title>
		<link>http://dangarner.co.uk/2008/10/11/warhammer-online/</link>
		<comments>http://dangarner.co.uk/2008/10/11/warhammer-online/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 13:08:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dangarner.co.uk/2008/10/11/warhammer-online/</guid>
		<description><![CDATA[I recently bought the game Warhammer Online &#8211; Age or Reckoning, a MMORPG which is based on the popular table top game &#8211; Warhammer. Website here: http://www.war-europe.com/

Now I was seriously tempted to buy WoW, but instead went for WAR. I am now wondering if I am going to get into this game or not. It [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought the game Warhammer Online &#8211; Age or Reckoning, a MMORPG which is based on the popular table top game &#8211; Warhammer. Website here: <a href="http://www.war-europe.com/">http://www.war-europe.com/</a>
<div class="article_content">
<p>Now I was seriously tempted to buy WoW, but instead went for WAR. I am now wondering if I am going to get into this game or not. It came with 30 days of free subscription &#8211; after which it is about £10 per month. I must by now be about half way through my free time (which is a depressing thought).</p>
<p style="text-align: center;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Xd1E0OsZuwY/SQGvVjyYpPI/AAAAAAAAAIc/oSSVpegWX38/s1600-h/warhammerdwarf.png"><img style="cursor: pointer; width: 200px; height: 110px;" src="http://2.bp.blogspot.com/_Xd1E0OsZuwY/SQGvVjyYpPI/AAAAAAAAAIc/oSSVpegWX38/s200/warhammerdwarf.png" alt="" id="BLOGGER_PHOTO_ID_5260678624664134898" border="0" /></a></p>
<p>If anyone else has the game and would like to come help me decide if I should get a subscription or not I am a dwarf called Thepaintedman on the Karak Norn server.<span style=";font-family:Consolas;font-size:10;color:navy;"   ><br /></span></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://dangarner.co.uk/2008/10/11/warhammer-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Read Committed Snapshot In SQL Server 2005</title>
		<link>http://dangarner.co.uk/2008/09/16/read-committed-snapshot-in-sql-server-2005/</link>
		<comments>http://dangarner.co.uk/2008/09/16/read-committed-snapshot-in-sql-server-2005/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 15:38:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dangarner.co.uk/2008/09/16/read-committed-snapshot-in-sql-server-2005/</guid>
		<description><![CDATA[Why do it?
Once concurrency on a database reaches a certain level the chances of deadlocks increase. Whenever a deadlock occurs there will be at least one transaction that is a victim.
Deadlocks also have a negative effect on performance.
What about protection of data
Without going into detail (see further reading below) READ_COMMITTED_SNAPSHOT provides the same level of [...]]]></description>
			<content:encoded><![CDATA[<h3>Why do it?<o:p></o:p></h3>
<p class="externalclass17ac9467f2e5432c99f8366eaf9f2387">Once concurrency on a database reaches a certain level the chances of deadlocks increase. Whenever a deadlock occurs there will be at least one transaction that is a victim.</p>
<p>Deadlocks also have a negative effect on performance.<o:p></o:p></p>
<h4>What about protection of data<o:p></o:p></h4>
<p style="margin-bottom: 12pt;" class="externalclass17ac9467f2e5432c99f8366eaf9f2387">Without going into detail (see further reading below) READ_COMMITTED_SNAPSHOT provides the same level of protection against dirty reads as the current SQLServer default (READ_COMMITTED).</p>
<p>The payload of SNAPSHOT is increased resource usage. However compared to the resources lost from creation of LOCKS this doesnt seem to be a big issue.<o:p></o:p></p>
<h4>I have deadlocks and SQLServer 2000, what do I do?<o:p></o:p></h4>
<p>In this situation you are a little snookered!<br />The only strategy is to determine which queries are being locked/being selected as dead lock victims and reduce the lock protection on them by adding WITH(NOLOCK) to the table selection.<br />e.g.</p>
<p>SELECT * FROM Articles WITH(NOLOCK)<o:p></o:p></p>
<h4>Example a Deadlock error message<o:p></o:p></h4>
<p class="externalclass17ac9467f2e5432c99f8366eaf9f2387">Transaction (Process ID 98) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.<o:p></o:p></p>
<p class="externalclass17ac9467f2e5432c99f8366eaf9f2387"><o:p></o:p></p>
<h3>How to enable it<o:p></o:p></h3>
<p style="margin-bottom: 12pt;" class="externalclass17ac9467f2e5432c99f8366eaf9f2387">To enable READ_COMMITTED_SNAPSHOT you must have the only active connection to the database you want to enable it on. <o:p></o:p></p>
<ol start="1" type="1">
<li style="" class="MsoNormal">Log everyone off the database server</li>
<li style="" class="MsoNormal">Restart the MSSQL      service.<o:p></o:p></li>
<li style="" class="MsoNormal">Open Developer Studio &#8211; you now have the only      active connection to the database<o:p></o:p></li>
<li style="" class="MsoNormal">Run: &#8220;ALTER DATABASE MyDatabase SET      ALLOW_SNAPSHOT_ISOLATION ON&#8221;<o:p></o:p></li>
<li style="" class="MsoNormal">Run: &#8220;ALTER DATABASE MyDatabase SET      READ_COMMITTED_SNAPSHOT ON&#8221;</li>
<li style="" class="MsoNormal"><o:p></o:p>Complete<o:p></o:p></li>
</ol>
<p>Note: If either of the queries in points 4 or 5 take a long time to complete (more than a few seconds) it is likely you do not have the only active connection. Check in the activity monitor for information on active sessions.<o:p></o:p></p>
<h3>Things to be aware of<o:p></o:p></h3>
<p class="externalclass17ac9467f2e5432c99f8366eaf9f2387">When enabled ALLOW_SNAPSHOT_ISOLATION keeps an archive of all changed values in the tempdb (it will automatically clear these up after it is finished with them). You should check the location of the tempdb and ensure there is available space on that drive. <o:p></o:p></p>
<h3>Further Reading<o:p></o:p></h3>
<p><a href="http://msdn.microsoft.com/en-us/library/tcbchxcb%28VS.80%29.aspx" _fcksavedurl="http://msdn.microsoft.com/en-us/library/tcbchxcb%28VS.80%29.aspx">http://msdn.microsoft.com/en-us/library/tcbchxcb(VS.80).aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dangarner.co.uk/2008/09/16/read-committed-snapshot-in-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>N810 Internet Connection with Sony K850i</title>
		<link>http://dangarner.co.uk/2008/09/16/n810-internet-connection-with-sony-k850i/</link>
		<comments>http://dangarner.co.uk/2008/09/16/n810-internet-connection-with-sony-k850i/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 09:01:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dangarner.co.uk/2008/09/16/n810-internet-connection-with-sony-k850i/</guid>
		<description><![CDATA[I’ve been trying to get my N810 Internet Tablet (which is a very handy device) working with my SE K850i mobile phone. My network provider is Vodafone and I have a decent data account on it, so I thought why not, ill make use of the tablets large screen and excellent MicroB web browser via [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been trying to get my N810 Internet Tablet (which is a very handy device) working with my SE K850i mobile phone. My network provider is Vodafone and I have a decent data account on it, so I thought why not, ill make use of the tablets large screen and excellent MicroB web browser via the bluetooth GPRS on the phone.</p>
<p>One problem, it didnt work! This was a big suprise to me, as I expected it to work “out the box”. Two days, 3 hours fiddling with suggestions and settings I happened on the post below:</p>
<p><a href="http://www.internettablettalk.com/forums/showthread.php?p=48550#post48550">http://www.internettablettalk.com/forums/showthread.php?p=48550#post48550</a></p>
<p>The linked post sorted out all my problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://dangarner.co.uk/2008/09/16/n810-internet-connection-with-sony-k850i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aptana Studio 1.1 JVM Exit Code=1</title>
		<link>http://dangarner.co.uk/2008/08/12/aptana-studio-1-1-jvm-exit-code1/</link>
		<comments>http://dangarner.co.uk/2008/08/12/aptana-studio-1-1-jvm-exit-code1/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 15:40:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dangarner.co.uk/2008/08/12/aptana-studio-1-1-jvm-exit-code1/</guid>
		<description><![CDATA[Ok, so my Aptana crashed. And then wouldn’t load (the JVM exited when loading and I was left with a splash screen).
I tried renaming the jre directory in the Aptana Program Files folder as suggested in the Aptana FAQ, but no joy. So I did a little digging and found this : http://forums.aptana.com/viewtopic.php?p=22803&#38;sid=c2bd9586a773ff9be69c4b6e84d33d12
This lead me [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so my Aptana crashed. And then wouldn’t load (the JVM exited when loading and I was left with a splash screen).</p>
<p>I tried renaming the jre directory in the Aptana Program Files folder as suggested in the Aptana FAQ, but no joy. So I did a little digging and found this : <a href="http://forums.aptana.com/viewtopic.php?p=22803&amp;sid=c2bd9586a773ff9be69c4b6e84d33d12" _fcksavedurl="http://forums.aptana.com/viewtopic.php?p=22803&amp;sid=c2bd9586a773ff9be69c4b6e84d33d12">http://forums.aptana.com/viewtopic.php?p=22803&amp;sid=c2bd9586a773ff9be69c4b6e84d33d12</a></p>
<p>This lead me to deleting the tigris folder from plugins/ .. Hey presto, aptana now boots again. As a clean up step I disabled the Subelipse plugin altogether once I could get the plugin manager back up.</p>
]]></content:encoded>
			<wfw:commentRss>http://dangarner.co.uk/2008/08/12/aptana-studio-1-1-jvm-exit-code1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ever want to change CSV to vCard&#8230;</title>
		<link>http://dangarner.co.uk/2008/03/21/ever-want-to-change-csv-to-vcard/</link>
		<comments>http://dangarner.co.uk/2008/03/21/ever-want-to-change-csv-to-vcard/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 23:49:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dangarner.co.uk/2008/03/21/ever-want-to-change-csv-to-vcard/</guid>
		<description><![CDATA[Well I did, and it ate up a lot of time.. until I found this site: http://homepage.mac.com/phrogz/CSV2vCard_v2.html Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>Well I did, and it ate up a lot of time.. until I found this site: <a href="http://homepage.mac.com/phrogz/CSV2vCard_v2.html">http://homepage.mac.com/phrogz/CSV2vCard_v2.html</a> Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://dangarner.co.uk/2008/03/21/ever-want-to-change-csv-to-vcard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebRequest Proxy Authentication</title>
		<link>http://dangarner.co.uk/2008/03/18/webrequest-proxy-authentication/</link>
		<comments>http://dangarner.co.uk/2008/03/18/webrequest-proxy-authentication/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 16:21:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://dangarner.co.uk/2008/03/18/webrequest-proxy-authentication/</guid>
		<description><![CDATA[I have a client application written in C# and I use a Web Reference to a SOAP webservice. Now this works fine on my development machine &#8211; and indeed it continued to work fine, up until I tested it from behind a proxy.
Many hours of searching MSDN and Google later I was a little the [...]]]></description>
			<content:encoded><![CDATA[<p>I have a client application written in C# and I use a Web Reference to a SOAP webservice. Now this works fine on my development machine &#8211; and indeed it continued to work fine, up until I tested it from behind a proxy.</p>
<p>Many hours of searching MSDN and Google later I was a little the wiser (not much) about how to deal with proxy’s and authentication with .NET (I’m using v2 of the framework)</p>
<p>The first thing to check is whether .NET will auto detect the fact there is a proxy (from IE) or whether we have to set this manually. This depends on the &lt;defaultProxy&gt; element in the .config file. Check out this page for info: <a href="http://msdn2.microsoft.com/en-us/library/sa91de1e%28VS.80%29.aspx">http://msdn2.microsoft.com/en-us/library/sa91de1e(VS.80).aspx</a> Particularly the following note:</p>
</p>
<blockquote><p>&#8220;The <strong>proxy</strong> element defines a proxy server for an application. If this element is missing from the configuration file, then the .NET Framework will use the proxy settings in Internet Explorer.&#8221;</p></blockquote>
<p>So &#8211; what we could assume from this is that if the setting is not there &#8211; all should work fine and dandy… well this would be true up to a point &#8211; and that point is authentication.</p>
<p><strong>Authentication</strong></p>
<p>Does the Proxy server authenticate using the default credentials of the user logged into windows? If so then we either want:</p>
<p>a) useDefaultCredentials=”true” in the default proxy config element, also see: <a href="http://geekswithblogs.net/mnf/archive/2006/03/08/71663.aspx">http://geekswithblogs.net/mnf/archive/2006/03/08/71663.aspx</a></p>
<p>b) or we want to  “<span style="font-size:85%;color:#008080;">WebRequest</span><span style="font-size:85%;">.DefaultWebProxy.Credentials = </span><span style="font-size:85%;color:#008080;">CredentialCache</span><span style="font-size:85%;">.DefaultCredentials;”</span></p>
<p><span style="font-size:85%;">Credentials arnt stored in the Default Credentials? This is the situation you are in if have a user/pass box popup when you first navigate to a page in IE.</span></p>
<pre>  NetworkCredential nc = new NetworkCredential("ProxyUser","ProxyPassword", "ProxyDomain");

  WebRequest.DefaultWebProxy.Credentials = nc;</pre>
<p>
<p>Other interesting reading about a specific problem that you might be having:</p>
<p><a href="http://geekswithblogs.net/mnf/archive/2006/09/13/91012.aspx">http://geekswithblogs.net/mnf/archive/2006/09/13/91012.aspx</a></p>
<p><a href="http://www.dotnet247.com/247reference/msgs/52/263150.aspx">http://www.dotnet247.com/247reference/msgs/52/263150.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dangarner.co.uk/2008/03/18/webrequest-proxy-authentication/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
