<?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>James Wiseman</title>
	<atom:link href="http://www.jameswiseman.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jameswiseman.com/blog</link>
	<description>My Programming Notebook and Other Things</description>
	<lastBuildDate>Tue, 07 Sep 2010 08:01:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Going Postal With Software System Maintenance</title>
		<link>http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/</link>
		<comments>http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 08:01:42 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1397</guid>
		<description><![CDATA[Recently, Sky continued its series of adaptations of books from Terry Pratchett&#8217;s Discworld series by commissioning &#8216;Going Postal&#8217;. This is a tale of a conman coerced into running the city postal service, locking horns with the dominant competitor who had a monopoly in sending messages using semaphore towers located across the continent (A system whimsically [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, Sky continued its series of adaptations of books from Terry Pratchett&#8217;s Discworld series by commissioning &#8216;Going Postal&#8217;. This is a tale of a conman coerced into running the city postal service, locking horns with the dominant competitor who had a monopoly in sending messages using semaphore towers located across the continent (A system whimsically call the &#8216;Clacks&#8217;, a mechanical version of Email).</p>
<div class="zemanta-img zemanta-action-dragged" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright" style="width: 207px;">
<dt class="wp-caption-dt"><a href="http://en.wikipedia.org/wiki/File:Discworld_Postal.jpg"><img title="Going Postal" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/Discworld_Postal.jpg" alt="Going Postal" width="198" height="333" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://en.wikipedia.org/wiki/File:Discworld_Postal.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>The Clacks system started as a few towers to prototype and demonstrate a communication mechanism as a proof of concept. This prototype never got &#8216;thrown away&#8217;, and instead grew, carrying with it the flaws and problems encountered in its constructions.</p>
<p>The same is true for many software systems. Fred Brookes tells us that you should &#8216;plan to throw one away&#8217;, as you invariably will have to do this anyway. The escalating costs of maintaining the system built on the prototype will be at least as large as the cost of throwing the system away.</p>
<p>So, what was the attitude of the directors of the &#8216;Grand Trunk Semaphore Company&#8217; that controlled the Clacks? Grind the system into the ground by cutting corners, scaling down maintenance while subsequently raising charges. This attitude in relation to software systems will be familiar to many onlookers.</p>
<p>This neglect had cause the system to &#8216;crash&#8217; so frequently that its emerging rival, the post office, had established a foothold in the now substantial niche that was left by these system failures, and was taking substantial business from the &#8216;Clacks&#8217; company.</p>
<p>The directors called an emergency meeting, in which they invited the chief engineer, Mr Pony, to advise on fixing the endemic problems precipitated by the years of neglect.</p>
<blockquote><p>Pony: &#8221;Do you want it fast or cheap or good, gentlemen? The way things have gone, I can only give you one out of three&#8230;&#8221;</p>
<p>Director: &#8220;How soon can we have the Grand Trunk working properly?&#8221;</p>
<p>Pony: &#8220;Nine Months, shut down&#8221;</p>
<p>Director: &#8220;Don&#8217;t be a fool, man!&#8221;</p></blockquote>
<p>Ring any bells?</p>
<div>
<dl class="wp-caption alignleft" style="width: 300px;">
<dt class="wp-caption-dt"><a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/reachergilt.jpg"><img title="Reacher Gilt" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/reachergilt.jpg" alt="Reacher Gilt" width="281" height="179" /></a></dt>
</dl>
</div>
<p>The mere use of a software system does not physically wear it out in the same way that use of a mechanical system like the Clacks does. The wear and tear on a software system comes in the form of updates, upgrades, extensions, etc.</p>
<p>Mr Pony goes onto insist on the restoration of the &#8216;Hour of the dead&#8217;, which had been done away with by the management.</p>
<blockquote><p>Pony: &#8220;Could we have the Hour of The Dead back, Mr Gilt?&#8221;</p>
<p>Gilt: &#8220;I really wish you would use that fanciful term&#8221;&#8230;&#8221;it really does not present the right image&#8221;</p>
<p>Pony: &#8220;Sorry, sir, but I still need it&#8221;</p>
<p>Gilt: &#8220;That&#8217;s revenue flow we&#8217;re talking about. the board won&#8217;t be very pleased with me if I-&#8221;</p>
<p>&#8216;Pony: &#8220;I think I&#8217;ve got to insist, Mr Gilt.&#8221;</p></blockquote>
<p>The hour of the dead was a time at which the communication towers were shut down, and simple maintenance performed. Small problems that would eventually lead to large problems were addressed, and the whole system kept manageable.</p>
<p>The same concept can apply on a larger scale with our software system. Consider a &#8216;Month of the dead&#8217; each year to maintain areas of the system. Technically, we don&#8217;t even have to write any code; for example, we can simply document what is out there and identify areas for refactoring/improving.</p>
<p>And that month goes for everyone, requirements gatherers, business analysts, developers and testers to name a few.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=09148bfe-eb67-4bac-9851-5b447b3d0c3b" alt="" /><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance&amp;desc=Recently%2C%20Sky%20continued%20its%20series%20of%20adaptations%20of%20books%20from%20Terry%20Pratchett%27s%20Discworld%20series%20by%20commissioning%20%27Going%20Postal%27.%20This%20is%20a%20tale%20of%20a%20conman%20coerced%20into%20running%20the%20city%20postal%20service%2C%20locking%20horns%20with%20the%20dominant%20competitor%20who%20had%20a%20monopoly%20in%20sending%20messages%20using%20semapho" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;t=Going+Postal+With+Software+System+Maintenance" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance&amp;srcUrl=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;srcTitle=Going+Postal+With+Software+System+Maintenance&amp;snippet=Recently%2C%20Sky%20continued%20its%20series%20of%20adaptations%20of%20books%20from%20Terry%20Pratchett%27s%20Discworld%20series%20by%20commissioning%20%27Going%20Postal%27.%20This%20is%20a%20tale%20of%20a%20conman%20coerced%20into%20running%20the%20city%20postal%20service%2C%20locking%20horns%20with%20the%20dominant%20competitor%20who%20had%20a%20monopoly%20in%20sending%20messages%20using%20semapho" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Going+Postal+With+Software+System+Maintenance&amp;body=Link: http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Recently%2C%20Sky%20continued%20its%20series%20of%20adaptations%20of%20books%20from%20Terry%20Pratchett%27s%20Discworld%20series%20by%20commissioning%20%27Going%20Postal%27.%20This%20is%20a%20tale%20of%20a%20conman%20coerced%20into%20running%20the%20city%20postal%20service%2C%20locking%20horns%20with%20the%20dominant%20competitor%20who%20had%20a%20monopoly%20in%20sending%20messages%20using%20semapho" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;bm_description=Going+Postal+With+Software+System+Maintenance&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;title=Going+Postal+With+Software+System+Maintenance" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Going+Postal+With+Software+System+Maintenance+-+http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/&amp;n=Going+Postal+With+Software+System+Maintenance&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/09/07/going-postal-with-software-system-maintenance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who are you?</title>
		<link>http://www.jameswiseman.com/blog/2010/09/01/who-are-you/</link>
		<comments>http://www.jameswiseman.com/blog/2010/09/01/who-are-you/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 18:29:14 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Draft Posts]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1380</guid>
		<description><![CDATA[Yes, you from Ljubljana, Slovenia. Don&#8217;t think I haven&#8217;t noticed you poking around my draft blog postings: While I&#8217;m grateful that you&#8217;re showing an interest, I would be curious to know how you&#8217;re getting access to the drafts (if indeed you are). Feel free to let me know by posting a comment below. Many thanks [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, you from <a title="Ljubljana, Slovenia" href="http://en.wikipedia.org/wiki/Ljubljana" target="_blank">Ljubljana, Slovenia</a>.</p>
<p>Don&#8217;t think I haven&#8217;t noticed you poking around my draft blog postings:</p>
<p><a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/whoareyou.jpg"><img class="alignnone size-full wp-image-1390" title="whoareyou" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/whoareyou.jpg" alt="" width="584" height="134" /></a></p>
<p>While I&#8217;m grateful that you&#8217;re showing an interest, I would be curious to know how you&#8217;re getting access to the drafts (if indeed you are).</p>
<p>Feel free to let me know by posting a comment below.</p>
<p>Many thanks <img src='http://www.jameswiseman.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/09/01/who-are-you/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F&amp;desc=Yes%2C%20you%20from%20Ljubljana%2C%20Slovenia.%0D%0A%0D%0ADon%27t%20think%20I%20haven%27t%20noticed%20you%20poking%20around%20my%20draft%20blog%20postings%3A%0D%0A%0D%0A%0D%0A%0D%0AWhile%20I%27m%20grateful%20that%20you%27re%20showing%20an%20interest%2C%20I%20would%20be%20curious%20to%20know%20how%20you%27re%20getting%20access%20to%20the%20drafts%20%28if%20indeed%20you%20are%29.%0D%0A%0D%0AFeel%20free%20to%20let%20me%20know%20by%20posting%20a%20co" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;t=Who+are+you%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F&amp;srcUrl=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;srcTitle=Who+are+you%3F&amp;snippet=Yes%2C%20you%20from%20Ljubljana%2C%20Slovenia.%0D%0A%0D%0ADon%27t%20think%20I%20haven%27t%20noticed%20you%20poking%20around%20my%20draft%20blog%20postings%3A%0D%0A%0D%0A%0D%0A%0D%0AWhile%20I%27m%20grateful%20that%20you%27re%20showing%20an%20interest%2C%20I%20would%20be%20curious%20to%20know%20how%20you%27re%20getting%20access%20to%20the%20drafts%20%28if%20indeed%20you%20are%29.%0D%0A%0D%0AFeel%20free%20to%20let%20me%20know%20by%20posting%20a%20co" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Who+are+you%3F&amp;body=Link: http://www.jameswiseman.com/blog/2010/09/01/who-are-you/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Yes%2C%20you%20from%20Ljubljana%2C%20Slovenia.%0D%0A%0D%0ADon%27t%20think%20I%20haven%27t%20noticed%20you%20poking%20around%20my%20draft%20blog%20postings%3A%0D%0A%0D%0A%0D%0A%0D%0AWhile%20I%27m%20grateful%20that%20you%27re%20showing%20an%20interest%2C%20I%20would%20be%20curious%20to%20know%20how%20you%27re%20getting%20access%20to%20the%20drafts%20%28if%20indeed%20you%20are%29.%0D%0A%0D%0AFeel%20free%20to%20let%20me%20know%20by%20posting%20a%20co" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;bm_description=Who+are+you%3F&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;title=Who+are+you%3F" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Who+are+you%3F+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/09/01/who-are-you/&amp;n=Who+are+you%3F&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/09/01/who-are-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find out which process is locking a DLL</title>
		<link>http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/</link>
		<comments>http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 12:06:16 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[DLL]]></category>
		<category><![CDATA[DLL Locking]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1378</guid>
		<description><![CDATA[There have been a number of occasions recently where I have wanted to recompile, rename or delete a DLL, only to be thwarted by some locking problem, having no idea what's causing it.]]></description>
			<content:encoded><![CDATA[<p>There have been a number of occasions recently where I have wanted to recompile, rename or delete a DLL, only to be thwarted by some locking problem:</p>
<p><a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/RenameChangeControl.jpg"><img class="alignnone size-full wp-image-1384" title="RenameChangeControl" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/RenameChangeControl.jpg" alt="" width="456" height="133" /></a></p>
<p>I had no idea what was locking it.</p>
<p>My first investigations took me to <a title="How to find out which process is locking a DLL" href="http://blogs.msdn.com/b/winclient/archive/2004/07/08/177947.aspx" target="_blank">this MSDN Blog Site</a>. To summarise, you can utilise the little-known <a title="tasklist command-line interface" href="http://technet.microsoft.com/en-us/library/bb491010.aspx" target="_blank">tasklist command-line interface</a>. Typing <strong>tasklist /m </strong><em><strong>thelocked.dll</strong> </em>will list all processes that are locking your DLL.</p>
<p>Microsoft has also made available a tool that (probably) hooks into this. <a title="Process Explorer" href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" target="_blank">Process explorer</a> provides a more visual overview of processes and dependencies. It&#8217;s also useful for tracking down DLL-version problems or handle leaks, and provide insight into the way Windows and applications work.</p>
<div class="zemanta-img zemanta-action-dragged" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/File:Unlocker.png"><img title="Screenshot of Unlocker 1.8.8" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/09/300px-Unlocker.png" alt="Screenshot of Unlocker 1.8.8" width="300" height="205" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/File:Unlocker.png">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>But the most useful tool for me by far was a tool called <a title="Unlocker" href="http://ccollomb.free.fr/unlocker/" target="_blank">Unlocker</a>. Upon installing the little application I was automatically prompted of processes that were locking a file when I get the access denied error.</p>
<p>So there we have it. A number of ways in which you can tackle this issue, and maybe even help extract yourself from <a title="DLL Hell" href="http://en.wikipedia.org/wiki/DLL_hell" target="_blank">DLL Hell</a>!</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL&amp;desc=There%20have%20been%20a%20number%20of%20occasions%20recently%20where%20I%20have%20wanted%20to%20recompile%2C%20rename%20or%20delete%20a%20DLL%2C%20only%20to%20be%20thwarted%20by%20some%20locking%20problem%2C%20having%20no%20idea%20what%27s%20causing%20it." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;t=How+to+find+out+which+process+is+locking+a+DLL" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL&amp;srcUrl=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;srcTitle=How+to+find+out+which+process+is+locking+a+DLL&amp;snippet=There%20have%20been%20a%20number%20of%20occasions%20recently%20where%20I%20have%20wanted%20to%20recompile%2C%20rename%20or%20delete%20a%20DLL%2C%20only%20to%20be%20thwarted%20by%20some%20locking%20problem%2C%20having%20no%20idea%20what%27s%20causing%20it." rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=How+to+find+out+which+process+is+locking+a+DLL&amp;body=Link: http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A There%20have%20been%20a%20number%20of%20occasions%20recently%20where%20I%20have%20wanted%20to%20recompile%2C%20rename%20or%20delete%20a%20DLL%2C%20only%20to%20be%20thwarted%20by%20some%20locking%20problem%2C%20having%20no%20idea%20what%27s%20causing%20it." rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;bm_description=How+to+find+out+which+process+is+locking+a+DLL&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;title=How+to+find+out+which+process+is+locking+a+DLL" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+to+find+out+which+process+is+locking+a+DLL+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/&amp;n=How+to+find+out+which+process+is+locking+a+DLL&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/09/01/how-to-find-out-which-process-is-locking-a-dll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually Traverse a DOM Tree Using jQuery</title>
		<link>http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 20:43:44 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[DOM Traversal]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1353</guid>
		<description><![CDATA[Image via Wikipedia jQuery does a wonderful job of traversing the DOM tree, so you might ask why you would like to do this yourself? I recently encountered a requirement to count the maximum &#8216;depth&#8217; of a DOM tree. I.e. find the level of the deepest nested element. So, I managed to knock this up [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img zemanta-action-dragged" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/File:Dom_tree.png"><img title="Example DOM Tree" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/300px-Dom_tree.png" alt="Example DOM Tree" width="300" height="149" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/File:Dom_tree.png">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>jQuery does a wonderful job of traversing the DOM tree, so you might ask why you would like to do this yourself?<br />
I recently encountered a requirement to count the maximum &#8216;depth&#8217; of a DOM tree. I.e. find the level of the deepest nested element. So, I managed to knock this up in a few minutes:</p>
<pre class="JavaScript" name="code">function Recurse($item, depth) {
    $item.each(function() {
        depth.count++;
        if (depth.count &gt; depth.max) {
            depth.max = depth.count;
        }
        Recurse($(this).children(), depth);
    });
    depth.count--;
    return depth.max;
}

$(document).ready(function() {
    alert(Recurse($("body"), { count: 0, max:0 }));
}</pre>
<p>A few points to note about this</p>
<ul>
<li><strong>depth</strong> is an object with two members, <strong>count</strong> and <strong>max</strong>. We want to keep a count of the current and maximum depth, but want to avoid global variables (it&#8217;s better practice, and makes the solution more self-contained).</li>
<li>JavaScript doesn&#8217;t allow us to pass variables by reference. Using the variables within the passed <strong>depth</strong> object means we can pass values to lower levels of recursion.</li>
<li>We must pass an object in our first call. Technically the function can be improved by including a check for this.</li>
<li>The function returns <strong>depth.max</strong>. Although the return value doesn&#8217;t matter when the function is called recursively, its useful for passing our intended value out to the original calling function.</li>
</ul>
<p>You can test this out on JsFiddle: <a href="http://jsfiddle.net/RqHzf/">http://jsfiddle.net/RqHzf/</a></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/zemified_a.png?x-id=47ad50c8-ab51-4922-9095-283ac0880bb3" alt="Enhanced by Zemanta" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery&amp;desc=%0D%0A%20%20Image%20via%20Wikipedia%20%0D%0A%0D%0AjQuery%20does%20a%20wonderful%20job%20of%20traversing%20the%20DOM%20tree%2C%20so%20you%20might%20ask%20why%20you%20would%20like%20to%20do%20this%20yourself%3F%0D%0AI%20recently%20encountered%20a%20requirement%20to%20count%20the%20maximum%20%27depth%27%20of%20a%20DOM%20tree.%20I.e.%20find%20the%20level%20of%20the%20deepest%20nested%20element.%20So%2C%20I%20managed%20to%20knock%20thi" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;t=Manually+Traverse+a+DOM+Tree+Using+jQuery" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;srcTitle=Manually+Traverse+a+DOM+Tree+Using+jQuery&amp;snippet=%0D%0A%20%20Image%20via%20Wikipedia%20%0D%0A%0D%0AjQuery%20does%20a%20wonderful%20job%20of%20traversing%20the%20DOM%20tree%2C%20so%20you%20might%20ask%20why%20you%20would%20like%20to%20do%20this%20yourself%3F%0D%0AI%20recently%20encountered%20a%20requirement%20to%20count%20the%20maximum%20%27depth%27%20of%20a%20DOM%20tree.%20I.e.%20find%20the%20level%20of%20the%20deepest%20nested%20element.%20So%2C%20I%20managed%20to%20knock%20thi" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Manually+Traverse+a+DOM+Tree+Using+jQuery&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %0D%0A%20%20Image%20via%20Wikipedia%20%0D%0A%0D%0AjQuery%20does%20a%20wonderful%20job%20of%20traversing%20the%20DOM%20tree%2C%20so%20you%20might%20ask%20why%20you%20would%20like%20to%20do%20this%20yourself%3F%0D%0AI%20recently%20encountered%20a%20requirement%20to%20count%20the%20maximum%20%27depth%27%20of%20a%20DOM%20tree.%20I.e.%20find%20the%20level%20of%20the%20deepest%20nested%20element.%20So%2C%20I%20managed%20to%20knock%20thi" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;bm_description=Manually+Traverse+a+DOM+Tree+Using+jQuery&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;title=Manually+Traverse+a+DOM+Tree+Using+jQuery" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Manually+Traverse+a+DOM+Tree+Using+jQuery+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/&amp;n=Manually+Traverse+a+DOM+Tree+Using+jQuery&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/24/manually-traverse-a-dom-tree-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indentity Inserting in SQL Server</title>
		<link>http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 18:00:48 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Identity Insert]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1325</guid>
		<description><![CDATA[When I starting writing this blog, I was a little unsure as to what to put in it. I knew I wanted it to be mostly programming related, with articles about things that interested me. So I named it my &#8216;Programming Notebook&#8217; and put into words exactly what I envisaged I&#8217;d be putting in it. [...]]]></description>
			<content:encoded><![CDATA[<p>When I starting writing this blog, I was a little unsure as to what to put in it. I knew I wanted it to be mostly programming related, with articles about things that interested me. So I named it my &#8216;Programming Notebook&#8217; and put into words exactly what I envisaged I&#8217;d be putting in it. This is what I put in my <a title="About page" href="http://www.jameswiseman.com/blog/about/" target="_blank">About page</a>:</p>
<blockquote><p>My main intention was for this blog was to be a notebook for myself in a presentable format – an aid to memory of things I’ve found useful on a day-to-day basis, and little snippets I’d like to share. A lot of it won’t be ground-breaking and you’ll almost certainly find it around elsewhere on the net, but it’s presented in a way that I learned it in the hope that others might find it useful.</p></blockquote>
<p>And later on I started fretting that I was duplicating what already &#8216;out there&#8217;, which is nonsense, because almost everything that anyone writes is already &#8216;out there&#8217; anyway.</p>
<p>None of this has anything to do with Identity Inserting in SQL Server, but maybe goes some way to explaining why I am writing about something that is well documented &#8216;out there&#8217;.</p>
<p>The reason is that I had to look it up twice. I needed to look it once, and then I forgot, so I needed to look it up again. What I needed was some sort of programming noteb&#8230;. hey&#8230; I have one!</p>
<p>So here it is:</p>
<pre name="code" class="sql">SET IDENTITY_INSERT [MyTable] ON
INSERT INTO [MyTable] (IDField, Field2, Field3, Field4) values (1,212,2,2)
SET IDENTITY_INSERT [MyTable] OFF</pre>
<p>You&#8217;ll need to set IDENTITY_INSERT &#8216;ON&#8217; for the table into which you are inserting, and (for good measure) set it back to &#8216;OFF&#8217; when you&#8217;re done.</p>
<p>You&#8217;ll also need to include a field list (which is good practice anyway). The following just won&#8217;t work:</p>
<pre name="code" class="sql">INSERT INTO [MyTable] values (1,212,2,2)</pre>
<p>So there we are, SQL Server Identity Inserting covered&#8230;.again.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server&amp;desc=When%20I%20starting%20writing%20this%20blog%2C%20I%20was%20a%20little%20unsure%20as%20to%20what%20to%20put%20in%20it.%20I%20knew%20I%20wanted%20it%20to%20be%20mostly%20programming%20related%2C%20with%20articles%20about%20things%20that%20interested%20me.%20So%20I%20named%20it%20my%20%27Programming%20Notebook%27%20and%20put%20into%20words%20exactly%20what%20I%20envisaged%20I%27d%20be%20putting%20in%20it.%20This%20is%20what" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;t=Indentity+Inserting+in+SQL+Server" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;srcTitle=Indentity+Inserting+in+SQL+Server&amp;snippet=When%20I%20starting%20writing%20this%20blog%2C%20I%20was%20a%20little%20unsure%20as%20to%20what%20to%20put%20in%20it.%20I%20knew%20I%20wanted%20it%20to%20be%20mostly%20programming%20related%2C%20with%20articles%20about%20things%20that%20interested%20me.%20So%20I%20named%20it%20my%20%27Programming%20Notebook%27%20and%20put%20into%20words%20exactly%20what%20I%20envisaged%20I%27d%20be%20putting%20in%20it.%20This%20is%20what" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Indentity+Inserting+in+SQL+Server&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A When%20I%20starting%20writing%20this%20blog%2C%20I%20was%20a%20little%20unsure%20as%20to%20what%20to%20put%20in%20it.%20I%20knew%20I%20wanted%20it%20to%20be%20mostly%20programming%20related%2C%20with%20articles%20about%20things%20that%20interested%20me.%20So%20I%20named%20it%20my%20%27Programming%20Notebook%27%20and%20put%20into%20words%20exactly%20what%20I%20envisaged%20I%27d%20be%20putting%20in%20it.%20This%20is%20what" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;bm_description=Indentity+Inserting+in+SQL+Server&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;title=Indentity+Inserting+in+SQL+Server" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Indentity+Inserting+in+SQL+Server+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/&amp;n=Indentity+Inserting+in+SQL+Server&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/24/indentity-inserting-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Hex Colors #fff and #ffffff</title>
		<link>http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 10:59:57 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[hex-color-codes]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1300</guid>
		<description><![CDATA[I was wrong today. A CSS Stylesheet had a style with a backgound-color setting of #fff: background-color:#fff; And another style with a color of #aaaaaa: background-color:#aaaaaa; My colleague commented that for consistency they should both be a six digit hex-code, to which I agreed. But I was mistaken as to what the six digit hex [...]]]></description>
			<content:encoded><![CDATA[<p>I was wrong today.<br />
A CSS Stylesheet had a style with a backgound-color setting of <strong>#fff</strong>:</p>
<pre>background-color:#fff;</pre>
<p>And another style with a color of <strong>#aaaaaa:</strong></p>
<pre>background-color:#aaaaaa;</pre>
<p>My colleague commented that for consistency they should both be a six digit hex-code, to which I agreed. But I was mistaken as to what the six digit hex equivalent of <strong>#fff</strong> was.</p>
<p>I thought it was <strong>#fff000</strong>.</p>
<p>I can also see what fold might assume its <strong>#000fff</strong>.</p>
<p>Or even <strong>#f0f0f0;</strong></p>
<p>But actually, it is <strong>#ffffff</strong>. The same is true for <strong>#aaa</strong> and <strong>#aaaaaa</strong>. And <strong>#aba</strong> is actually <strong>#aabbaa</strong>.</p>
<p>For a good explanation as to why this might be, refer to the following links:<br />
<a href="http://www.fluther.com/13071/whats-the-difference-in-fff-and-ffffff-in-css-and-why/" target="_blank"> http://www.fluther.com/13071/whats-the-difference-in-fff-and-ffffff-in-css-and-why/</a><br />
<a href="http://stackoverflow.com/questions/2899197/does-stylecolor-fff-render-as-f0f0f0-or-ffffff" target="_blank"> http://stackoverflow.com/questions/2899197/does-stylecolor-fff-render-as-f0f0f0-or-ffffff</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff&amp;desc=I%20was%20wrong%20today.%0D%0AA%20CSS%20Stylesheet%20had%20a%20style%20with%20a%20backgound-color%20setting%20of%20%23fff%3A%0D%0Abackground-color%3A%23fff%3B%0D%0AAnd%20another%20style%20with%20a%20color%20of%20%23aaaaaa%3A%0D%0Abackground-color%3A%23aaaaaa%3B%0D%0AMy%20colleague%20commented%20that%20for%20consistency%20they%20should%20both%20be%20a%20six%20digit%20hex-code%2C%20to%20which%20I%20agreed.%20But%20I%20was%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;t=CSS+Hex+Colors+%23fff+and+%23ffffff" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;srcTitle=CSS+Hex+Colors+%23fff+and+%23ffffff&amp;snippet=I%20was%20wrong%20today.%0D%0AA%20CSS%20Stylesheet%20had%20a%20style%20with%20a%20backgound-color%20setting%20of%20%23fff%3A%0D%0Abackground-color%3A%23fff%3B%0D%0AAnd%20another%20style%20with%20a%20color%20of%20%23aaaaaa%3A%0D%0Abackground-color%3A%23aaaaaa%3B%0D%0AMy%20colleague%20commented%20that%20for%20consistency%20they%20should%20both%20be%20a%20six%20digit%20hex-code%2C%20to%20which%20I%20agreed.%20But%20I%20was%20" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=CSS+Hex+Colors+%23fff+and+%23ffffff&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20was%20wrong%20today.%0D%0AA%20CSS%20Stylesheet%20had%20a%20style%20with%20a%20backgound-color%20setting%20of%20%23fff%3A%0D%0Abackground-color%3A%23fff%3B%0D%0AAnd%20another%20style%20with%20a%20color%20of%20%23aaaaaa%3A%0D%0Abackground-color%3A%23aaaaaa%3B%0D%0AMy%20colleague%20commented%20that%20for%20consistency%20they%20should%20both%20be%20a%20six%20digit%20hex-code%2C%20to%20which%20I%20agreed.%20But%20I%20was%20" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;bm_description=CSS+Hex+Colors+%23fff+and+%23ffffff&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;title=CSS+Hex+Colors+%23fff+and+%23ffffff" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=CSS+Hex+Colors+%23fff+and+%23ffffff+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/&amp;n=CSS+Hex+Colors+%23fff+and+%23ffffff&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/21/css-hex-colors-fff-and-ffffff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Telephone Scam – Part 6 – They Rang Me!</title>
		<link>http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 10:48:33 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Non-Programming]]></category>
		<category><![CDATA[Scam]]></category>
		<category><![CDATA[windows-support-telephone-scam]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1302</guid>
		<description><![CDATA[And I was out! Dammit! &#8220;We have noticed from our logs that you have been downloading lots of viruses&#8221; My wife took the call, and politely declined, which is more than they deserved. I&#8217;ve got a nice counter-scam dreamed up as well (see This Post for my thoughts on this). So, to all the criminals [...]]]></description>
			<content:encoded><![CDATA[<p>And I was out! Dammit!</p>
<p>&#8220;We have noticed from our logs that you have been downloading lots of viruses&#8221;</p>
<p>My wife took the call, and politely declined, which is more than they deserved. I&#8217;ve got a nice counter-scam dreamed up as well (see <a title="Scamming the scammers" href="http://www.jameswiseman.com/blog/2010/07/31/windows-telephone-scam-%E2%80%93-part-4-%E2%80%93-scamming-the-scammers/" target="_blank">This Post</a> for my thoughts on this).</p>
<p>So, to all the criminals responsible for perpetrating the scam that are this. Please ring back, I REALLY want technical support, as my event viewer has lots of errors, and my prefetch folder is full of viruses!</p>
<p>Help!</p>
<p><strong>Other Articles</strong></p>
<div>
<p>This is one of an ongoing series of articles that I have written following this scam. You can find them under the following tag group:</p>
<p><a title="Windows Support Telephone Scam Tag" href="http://www.jameswiseman.com/blog/tag/windows-support-telephone-scam/" target="_self">http://www.jameswiseman.com/blog/tag/windows-support-telephone-scam/</a></p>
</div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-–-part-6-–-they-rang-me/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21&amp;desc=And%20I%20was%20out%21%20Dammit%21%0D%0A%0D%0A%22We%20have%20noticed%20from%20our%20logs%20that%20you%20have%20been%20downloading%20lots%20of%20viruses%22%0D%0A%0D%0AMy%20wife%20took%20the%20call%2C%20and%20politely%20declined%2C%20which%20is%20more%20than%20they%20deserved.%20I%27ve%20got%20a%20nice%20counter-scam%20dreamed%20up%20as%20well%20%28see%20This%20Post%20for%20my%20thoughts%20on%20this%29.%0D%0A%0D%0ASo%2C%20to%20all%20the%20crimi" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;t=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;srcTitle=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21&amp;snippet=And%20I%20was%20out%21%20Dammit%21%0D%0A%0D%0A%22We%20have%20noticed%20from%20our%20logs%20that%20you%20have%20been%20downloading%20lots%20of%20viruses%22%0D%0A%0D%0AMy%20wife%20took%20the%20call%2C%20and%20politely%20declined%2C%20which%20is%20more%20than%20they%20deserved.%20I%27ve%20got%20a%20nice%20counter-scam%20dreamed%20up%20as%20well%20%28see%20This%20Post%20for%20my%20thoughts%20on%20this%29.%0D%0A%0D%0ASo%2C%20to%20all%20the%20crimi" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A And%20I%20was%20out%21%20Dammit%21%0D%0A%0D%0A%22We%20have%20noticed%20from%20our%20logs%20that%20you%20have%20been%20downloading%20lots%20of%20viruses%22%0D%0A%0D%0AMy%20wife%20took%20the%20call%2C%20and%20politely%20declined%2C%20which%20is%20more%20than%20they%20deserved.%20I%27ve%20got%20a%20nice%20counter-scam%20dreamed%20up%20as%20well%20%28see%20This%20Post%20for%20my%20thoughts%20on%20this%29.%0D%0A%0D%0ASo%2C%20to%20all%20the%20crimi" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;bm_description=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/&amp;n=Windows+Telephone+Scam+%E2%80%93+Part+6+%E2%80%93+They+Rang+Me%21&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/21/windows-telephone-scam-%e2%80%93-part-6-%e2%80%93-they-rang-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Little Trick To Return To Where You Were Editing</title>
		<link>http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 10:43:31 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[IDE]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1305</guid>
		<description><![CDATA[Have you ever been working on a bit of code, or writing a document, and then find that you need to jump elsewhere to check something out. You&#8217;ll move the cursor away from your edit position, and you&#8217;ll lost where you are and have to spend time finding where it was. Maybe not much, but [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever been working on a bit of code, or writing a document, and then find that you need to jump elsewhere to check something out. You&#8217;ll move the cursor away from your edit position, and you&#8217;ll lost where you are and have to spend time finding where it was. Maybe not much, but enough to be sufficiently</p>
<p>Well, here is what I do:  <strong>control-z</strong> then <strong>control-y</strong>.</p>
<p>What this effectively does is undo your last change, then reapply it, and in the process return to exactly where you were editing originally. Beware, though, to make sure your IDE actually does this. Its pretty standard, but not all will support it. For example, you&#8217;ll be disappointed if you&#8217;re using VB6 IDE.<a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/ui-Toolbar-UndoRedo-mac.jpg"><img class="alignright size-full wp-image-1312" title="ui-Toolbar-UndoRedo-mac" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/ui-Toolbar-UndoRedo-mac.jpg" alt="" width="64" height="40" /></a></p>
<p>Of course, if you&#8217;re keyboard-shy, the you can always use the &#8216;undo&#8217; and &#8216;redo&#8217; arrow buttons in your editor.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing&amp;desc=Have%20you%20ever%20been%20working%20on%20a%20bit%20of%20code%2C%20or%20writing%20a%20document%2C%20and%20then%20find%20that%20you%20need%20to%20jump%20elsewhere%20to%20check%20something%20out.%20You%27ll%20move%20the%20cursor%20away%20from%20your%20edit%20position%2C%20and%20you%27ll%20lost%20where%20you%20are%20and%20have%20to%20spend%20time%20finding%20where%20it%20was.%20Maybe%20not%20much%2C%20but%20enough%20to%20be%20s" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;t=A+Little+Trick+To+Return+To+Where+You+Were+Editing" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;srcTitle=A+Little+Trick+To+Return+To+Where+You+Were+Editing&amp;snippet=Have%20you%20ever%20been%20working%20on%20a%20bit%20of%20code%2C%20or%20writing%20a%20document%2C%20and%20then%20find%20that%20you%20need%20to%20jump%20elsewhere%20to%20check%20something%20out.%20You%27ll%20move%20the%20cursor%20away%20from%20your%20edit%20position%2C%20and%20you%27ll%20lost%20where%20you%20are%20and%20have%20to%20spend%20time%20finding%20where%20it%20was.%20Maybe%20not%20much%2C%20but%20enough%20to%20be%20s" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=A+Little+Trick+To+Return+To+Where+You+Were+Editing&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Have%20you%20ever%20been%20working%20on%20a%20bit%20of%20code%2C%20or%20writing%20a%20document%2C%20and%20then%20find%20that%20you%20need%20to%20jump%20elsewhere%20to%20check%20something%20out.%20You%27ll%20move%20the%20cursor%20away%20from%20your%20edit%20position%2C%20and%20you%27ll%20lost%20where%20you%20are%20and%20have%20to%20spend%20time%20finding%20where%20it%20was.%20Maybe%20not%20much%2C%20but%20enough%20to%20be%20s" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;bm_description=A+Little+Trick+To+Return+To+Where+You+Were+Editing&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;title=A+Little+Trick+To+Return+To+Where+You+Were+Editing" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=A+Little+Trick+To+Return+To+Where+You+Were+Editing+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/&amp;n=A+Little+Trick+To+Return+To+Where+You+Were+Editing&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/21/a-little-trick-to-return-to-where-you-were-editing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heirarchy Sorting in SQL Server</title>
		<link>http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 18:01:43 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Hierarchy]]></category>
		<category><![CDATA[Sorting]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Stackoverflow]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1276</guid>
		<description><![CDATA[One of the reasons I like Stackoverflow as a place for asking and answering programming questions is that I Almost always get what I am after Almost always learn something in the process (in answering and asking) Case in point with a question I asked regarding hierarchy sorting in SQL Server. The question in full [...]]]></description>
			<content:encoded><![CDATA[<p>One of the reasons I like <a title="stackoverflow.com" href="http://www.stackoverflow.com" target="_blank">Stackoverflow </a>as a place for asking and answering programming questions is that I</p>
<ol>
<li>Almost always get what I am after</li>
<li>Almost always learn something in the process (in answering and asking)</li>
</ol>
<p style="padding-left: 30px;"><iframe src="http://stackoverflow.com/users/flair/144491.html?theme=clean" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width="210" height="60"></iframe></p>
<p>Case in point with a <a title="Stackoverflow hierarchy Sorting" href="http://stackoverflow.com/questions/3474870/how-can-i-sort-a-version-number-column-generically-using-a-sql-server-query" target="_blank">question I asked regarding hierarchy sorting in SQL Server</a>. The question in full can be found on the adjacent link, but, in a nutshell I was looking at how I might sort a variable length hierarchy field in SQL Server 2000.</p>
<p>So, the field value could be 1. Or it could be 1.2.3.4. Or it could be 1.92.333.14.58.62.7.81231.</p>
<p>Given that I needed to sort by the last digit, then the second-last, etc, etc, AND that the length was variable, I found myself a little stumped as to an elegant solution. So I decided to call upon the generosity of the Stackoverflow community</p>
<p>First-up was a number of fixed length solutions, which while good, didn&#8217;t quite help. Then I got some help in SQL 2008, which was unfortunate, as I was wanting it in SQL 2000. And then user <a title="Stackoverflow User Vash" href="http://stackoverflow.com/users/390695/vash" target="_blank">Vash</a> popped up with an edit to his original post:</p>
<p style="padding-left: 30px;"><iframe src="http://stackoverflow.com/users/flair/390695.html?theme=clean" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width="210" height="60"></iframe></p>
<blockquote><p>Solutions for 2000, 2005, 2008: <a title="Solutions to T-SQL Sorting Challenge here" rel="nofollow" href="http://www.sqlmag.com/article/sql-server/solutions-to-t-sql-sorting-challenge.aspx" target="_blank">Solutions to T-SQL Sorting Challenge here</a>.</p></blockquote>
<p>Marvellous! Here is the solution (modified sightly) that I adopted:</p>
<pre class="sql" name="code">CREATE FUNCTION dbo.ufn_SortByHierarchy(@s as varchar(500), @delimiter as char(1))
  returns VARBINARY(2500)
AS
BEGIN
  DECLARE @pos as int, @r as varbinary(2500), @element as int;

  SET @r = 0x;
  SET @s = @s + @delimiter;
  SET @pos = charindex(@delimiter, @s);
  while @pos &gt; 0
  BEGIN
	SET @element = cast(left(@s, @pos - 1) AS INT);

	SET @r = @r +
	  CASE
		WHEN @element = -2147483648 THEN 0x0000000000
		WHEN sign(@element) = -1
		  THEN 0x01 + cast(2147483647 + @element AS BINARY(4))
		ELSE 0x02 + cast(@element AS BINARY(4))
	  END;

	SET @s = stuff(@s, 1, @pos, '');
	SET @pos = charindex(@delimiter, @s);
  END

  RETURN @r;

END</pre>
<p>And, as it turned out, I&#8217;d never heard of the <strong>varbinary</strong> data type, so right there was some extra reading and knowledge for me.</p>
<p>And that, I thought was it. But no! A short while later, user <a title="Stackoverflow User Martin Smith" href="http://stackoverflow.com/users/73226/martin-smith" target="_blank">Martin Smith</a>, popped up with a comment.</p>
<p style="padding-left: 30px;"><iframe src="http://stackoverflow.com/users/flair/73226.html?theme=clean" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width="210" height="60"></iframe></p>
<blockquote><p>@James &#8211; Not sure what you ended up using. You can also use <code>parsename</code> for this as in this answer: <a title="how to get max value of a version number varchar column in t sql" rel="nofollow" href="http://stackoverflow.com/questions/3057532/how-to-get-max-value-of-a-version-number-varchar-column-in-t-sql/3057547#3057547">stackoverflow.com/questions/3057532/</a></p></blockquote>
<p>A comment! I&#8217;d have voted it up if it were an answer. So I followed the link, and voted that up.</p>
<p>So, I also learned about <a title="SQL Server Parsename" href="http://msdn.microsoft.com/en-us/library/ms188006.aspx" target="_blank">Parsename</a>, which works in lowly SQL 2000 as well. unfortunately, it only works on a four-digit hierarchy, but still useful for me to know about.</p>
<p>So, lots of useful information, new things learned and a permanently documented solution to my problem. That is why I like Stackoverflow.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server&amp;desc=One%20of%20the%20reasons%20I%20like%20Stackoverflow%20as%20a%20place%20for%20asking%20and%20answering%20programming%20questions%20is%20that%20I%0D%0A%0D%0A%09Almost%20always%20get%20what%20I%20am%20after%0D%0A%09Almost%20always%20learn%20something%20in%20the%20process%20%28in%20answering%20and%20asking%29%0D%0A%0D%0A%0D%0ACase%20in%20point%20with%20a%20question%20I%20asked%20regarding%20hierarchy%20sorting%20in%20SQL%20Ser" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;t=Heirarchy+Sorting+in+SQL+Server" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;srcTitle=Heirarchy+Sorting+in+SQL+Server&amp;snippet=One%20of%20the%20reasons%20I%20like%20Stackoverflow%20as%20a%20place%20for%20asking%20and%20answering%20programming%20questions%20is%20that%20I%0D%0A%0D%0A%09Almost%20always%20get%20what%20I%20am%20after%0D%0A%09Almost%20always%20learn%20something%20in%20the%20process%20%28in%20answering%20and%20asking%29%0D%0A%0D%0A%0D%0ACase%20in%20point%20with%20a%20question%20I%20asked%20regarding%20hierarchy%20sorting%20in%20SQL%20Ser" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Heirarchy+Sorting+in+SQL+Server&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A One%20of%20the%20reasons%20I%20like%20Stackoverflow%20as%20a%20place%20for%20asking%20and%20answering%20programming%20questions%20is%20that%20I%0D%0A%0D%0A%09Almost%20always%20get%20what%20I%20am%20after%0D%0A%09Almost%20always%20learn%20something%20in%20the%20process%20%28in%20answering%20and%20asking%29%0D%0A%0D%0A%0D%0ACase%20in%20point%20with%20a%20question%20I%20asked%20regarding%20hierarchy%20sorting%20in%20SQL%20Ser" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;bm_description=Heirarchy+Sorting+in+SQL+Server&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;title=Heirarchy+Sorting+in+SQL+Server" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Heirarchy+Sorting+in+SQL+Server+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/&amp;n=Heirarchy+Sorting+in+SQL+Server&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/16/heirarchy-sorting-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should One HTML Radio Button Always Be Checked?</title>
		<link>http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 12:31:09 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Radio-Buttons]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1272</guid>
		<description><![CDATA[Recently I encountered a business requirement whereby it was stipulated that both radio buttons in a group be left unchecked. In addition to this, a check was required to forcing the user to select one before they can continue. This struck me as being direct contradiction as to what a Radio button was trying to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I encountered a business requirement whereby it was stipulated that both radio buttons in a group be left unchecked. In addition to this, a check was required to forcing the user to select one before they can continue.<a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/radiobutton.jpg"><img class="size-full wp-image-1278 alignright" title="radiobutton" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/radiobutton.jpg" alt="radio button" width="150" height="130" /></a></p>
<p>This struck me as being direct contradiction as to what a Radio button was trying to achieve, and that it was actually more work as you were forcing the user to make a choice without giving them a default.</p>
<p>It just felt wrong.</p>
<p>But I wasn&#8217;t sure, so I did a bit of research, and came up with the following.</p>
<p>Firstly (and some could say, lastly) there is the W3 Recommendation at <a rel="nofollow" href="http://www.w3.org/TR/html401/interact/forms.html#radio">http://www.w3.org/TR/html401/interact/forms.html#radio</a>:</p>
<blockquote><p>At all times, exactly one of the radio buttons in a set is checked.</p></blockquote>
<p>And that ought to be it, but for completeness, here is quite a nice set of guidelines regarding this <a href="http://www.useit.com/alertbox/20040927.html">http://www.useit.com/alertbox/20040927.html</a>:</p>
<blockquote><p><strong>Always offer a default selection for radio button lists</strong>. By definition, radio buttons always have exactly one option selected, and you therefore shouldn&#8217;t display them without a default selection. (Checkboxes, in contrast, often default to having none of the options selected.)</p>
<li>If users might need to refrain from making a selection, you should provide a radio button for this choice, such as one labeled &#8220;None.&#8221; Offering users an explicit, neutral option to click is better than requiring the implicit act of not selecting from the list, especially because doing the latter violates the rule of always having exactly one option chosen.</li>
</blockquote>
<div>Personally, it was nice to pin this down and get some good points of reference.</div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F&amp;desc=Recently%20I%20encountered%20a%20business%20requirement%20whereby%20it%20was%20stipulated%20that%20both%20radio%20buttons%20in%20a%20group%20be%20left%20unchecked.%20In%20addition%20to%20this%2C%20a%20check%20was%20required%20to%20forcing%20the%20user%20to%20select%20one%20before%20they%20can%20continue.%0D%0A%0D%0AThis%20struck%20me%20as%20being%20direct%20contradiction%20as%20to%20what%20a%20Radio%20butto" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;t=Should+One+HTML+Radio+Button+Always+Be+Checked%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;srcTitle=Should+One+HTML+Radio+Button+Always+Be+Checked%3F&amp;snippet=Recently%20I%20encountered%20a%20business%20requirement%20whereby%20it%20was%20stipulated%20that%20both%20radio%20buttons%20in%20a%20group%20be%20left%20unchecked.%20In%20addition%20to%20this%2C%20a%20check%20was%20required%20to%20forcing%20the%20user%20to%20select%20one%20before%20they%20can%20continue.%0D%0A%0D%0AThis%20struck%20me%20as%20being%20direct%20contradiction%20as%20to%20what%20a%20Radio%20butto" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Should+One+HTML+Radio+Button+Always+Be+Checked%3F&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Recently%20I%20encountered%20a%20business%20requirement%20whereby%20it%20was%20stipulated%20that%20both%20radio%20buttons%20in%20a%20group%20be%20left%20unchecked.%20In%20addition%20to%20this%2C%20a%20check%20was%20required%20to%20forcing%20the%20user%20to%20select%20one%20before%20they%20can%20continue.%0D%0A%0D%0AThis%20struck%20me%20as%20being%20direct%20contradiction%20as%20to%20what%20a%20Radio%20butto" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;bm_description=Should+One+HTML+Radio+Button+Always+Be+Checked%3F&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;title=Should+One+HTML+Radio+Button+Always+Be+Checked%3F" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Should+One+HTML+Radio+Button+Always+Be+Checked%3F+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/&amp;n=Should+One+HTML+Radio+Button+Always+Be+Checked%3F&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/11/should-one-html-radio-button-always-be-checked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Difference Between Command.com and Cmd.Exe</title>
		<link>http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 11:30:23 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Command Promt]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1240</guid>
		<description><![CDATA[Yesterday when wanting to run some commands from the Windows Command Shell, I fired it up on my windows XP desktop, only to find things were a little strange.]]></description>
			<content:encoded><![CDATA[<p>Yesterday when wanting to run some commands from the Windows Command Shell, I fired it up on my windows XP desktop, only to find things were a little strange.</p>
<p>For a start it was slower &#8211; pasting something in from the clipboard seemed to take time. And then it didn&#8217;t protest too much when I started typing things I felt sure shouldn&#8217;t work. Then things I wanted to happen didn&#8217;t happen when I expected them to.</p>
<p>It all left me a bit confused.</p>
<p>And then I noticed, I&#8217;d typed in &#8220;command.exe&#8221; not &#8220;cmd.exe&#8221;. I rectified the mistake, and everything seemed to be just fine. But I did wonder what the difference was.</p>
<p><a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/command_cmd.jpg"><img class="alignnone size-full wp-image-1273" title="command_cmd" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/command_cmd.jpg" alt="Cmd or Command?" width="725" height="409" /></a></p>
<p>Well, initially, from the above screenshot we can see that the version information has the text is &#8216;Windows DOS&#8217; vs &#8216;Windows XP&#8217;. However there are a number of other differences:</p>
<p><strong>Cmd.exe</strong> is a command-line interface, provided so you can run command-line commands. It is not a DOS window.</p>
<p><strong>Command.com</strong> is a stripped-down version of the command processor from DOS. It is a 16-bit application which is used for older DOS compatibility and actually runs inside the NTVDM (NT Virtual DOS Machine) due to its 16-bit nature.</p>
<p>With <strong>Command.com</strong> we do not have the long name support. Typing in &#8216;<em>cd program files</em>&#8216; yields the error &#8216;<em>Too many parameters &#8211; files</em>&#8216;, whereas this command works fine in <strong>Cmd.exe</strong>. In fact to get this to work in <strong>Command.com</strong>, we have to type &#8216;<em>cd progra~1</em>&#8216;.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe&amp;desc=Yesterday%20when%20wanting%20to%20run%20some%20commands%20from%20the%20Windows%20Command%20Shell%2C%20I%20fired%20it%20up%20on%20my%20windows%20XP%20desktop%2C%20only%20to%20find%20things%20were%20a%20little%20strange." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;t=The+Difference+Between+Command.com+and+Cmd.Exe" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;srcTitle=The+Difference+Between+Command.com+and+Cmd.Exe&amp;snippet=Yesterday%20when%20wanting%20to%20run%20some%20commands%20from%20the%20Windows%20Command%20Shell%2C%20I%20fired%20it%20up%20on%20my%20windows%20XP%20desktop%2C%20only%20to%20find%20things%20were%20a%20little%20strange." rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=The+Difference+Between+Command.com+and+Cmd.Exe&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Yesterday%20when%20wanting%20to%20run%20some%20commands%20from%20the%20Windows%20Command%20Shell%2C%20I%20fired%20it%20up%20on%20my%20windows%20XP%20desktop%2C%20only%20to%20find%20things%20were%20a%20little%20strange." rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;bm_description=The+Difference+Between+Command.com+and+Cmd.Exe&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;title=The+Difference+Between+Command.com+and+Cmd.Exe" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=The+Difference+Between+Command.com+and+Cmd.Exe+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/&amp;n=The+Difference+Between+Command.com+and+Cmd.Exe&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/11/the-difference-between-command-com-and-cmd-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Telephone Scam – Part 5 – Who Are They?</title>
		<link>http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 20:55:22 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Non-Programming]]></category>
		<category><![CDATA[Scam]]></category>
		<category><![CDATA[windows-support-telephone-scam]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1195</guid>
		<description><![CDATA[I don&#8217;t know, and I&#8217;d like to. I noticed a suspicious entry in my visitor logs from an IP in Calcutta looking at the last Scam post &#8211;  &#8217;Scamming the Scammers&#8217;. My suspicions were confirmed when the IP linked back to one of the websites quoted by the fraudsters (http://onlinepccare.com/) . See this entry: http://www.robtex.com/cnet/203.200.180.html. So [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know, and I&#8217;d like to.</p>
<p>I noticed a suspicious entry in my visitor logs from an IP in Calcutta looking at the <a title="Scamming the Scammers" href="http://www.jameswiseman.com/blog/2010/07/31/windows-telephone-scam-%E2%80%93-part-4-%E2%80%93-scamming-the-scammers/" target="_blank">last Scam post &#8211;  &#8217;Scamming the Scammers&#8217;</a>. My suspicions were confirmed when the IP linked back to one of the websites quoted by the fraudsters (<a rel="nofollow" href="http://onlinepccare.com/" target="_blank">http://onlinepccare.com/</a>) . See this entry: <a rel="nofollow" href="http://www.robtex.com/cnet/203.200.180.html" target="_blank">http://www.robtex.com/cnet/203.200.180.html</a>.</p>
<p><a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/calcuttaip.jpg"><img class="alignnone size-large wp-image-1204" title="calcuttaip" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/calcuttaip-1024x160.jpg" alt="Screenshot of Visit from IP in Calcutta" width="1024" height="160" /></a></p>
<p>So it looks like the criminals are reading this. HELLO, Criminals!</p>
<p>After looking around a bit more, I found a forum post (<a href="http://www.dslreports.com/forum/r22222049-Scam-Supportonclickcom-scareware-scam~start=140">http://www.dslreports.com/forum/r22222049-Scam-Supportonclickcom-scareware-scam~start=140</a>) that lists a few more to be wary of:</p>
<p>www.supportonclick.com<br />
www.onlinepccare.com<br />
www.techmyhelp.com<br />
www.comantra.net<br />
www.gogreenpc.net<br />
www.techisonline.com<br />
www.techonsupport.com<br />
www.fixonclick123.com<br />
www.virtualpcdoctor.com<br />
www.loginforcare.com<br />
www.systemrecure.com</p>
<p>An Australian website has taken also  to recording info regarding this (<a href="http://forums.whirlpool.net.au/forum-replies.cfm?t=1485775">http://forums.whirlpool.net.au/forum-replies.cfm?t=1485775</a>). A further link from here to an article containing a response from Microsoft Australia is also an interesting read: (<a href="http://www.smh.com.au/technology/security/pay-up-or-your-pcs-toast-20100630-zm8i.html">http://www.smh.com.au/technology/security/pay-up-or-your-pcs-toast-20100630-zm8i.html</a>).</p>
<p>The Guardian, UK, carry <a title="Guardian Article" href="http://www.guardian.co.uk/technology/blog/2010/jul/23/phone-virus-pc-scam-pecon-denies" target="_blank">an article linking OnlinePCCare.com to a company called Pecon Software</a> based in &#8211; you&#8217;ve guess it &#8211; Calcutta  (<a title="Changing Indian Place Names" href="http://geography.about.com/od/specificplacesofinterest/a/indianames.htm" target="_blank">or Kolkata if you&#8217;d prefer</a>). Their customer relationship manager, Vikas Gupta strenuously denies any involvement and states that he has an email from Mahesh Shah, head of Pecon Software, in which he is told that the company has terminated its contract with &#8220;around 30 employees in last two years</p>
<p>It is interesting to note that Pecon Software still have a link on their front page to the (now shut-down) supportonclick.com through an employee login link.</p>
<p>So I guess it&#8217;s important to know who is actually accepting money for this, i.e. to which company is the money on the credit card being paid to? Or, put it another way, what is the name of the company that appears on the credit card receipt?</p>
<p>Any info, post here.</p>
<p><strong>Other Articles</strong></p>
<div>
<p>This is one of an ongoing series of articles that I have written following this scam. You can find them under the following tag group:</p>
<p><a title="Windows Support Telephone Scam Tag" href="http://www.jameswiseman.com/blog/tag/windows-support-telephone-scam/" target="_self">http://www.jameswiseman.com/blog/tag/windows-support-telephone-scam/</a></p>
</div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-–-part-5-–-who-are-they/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F&amp;desc=I%20don%27t%20know%2C%20and%20I%27d%20like%20to.%0D%0A%0D%0AI%20noticed%20a%20suspicious%20entry%20in%20my%20visitor%20logs%20from%20an%20IP%20in%20Calcutta%20looking%20at%20the%20last%20Scam%20post%20-%20%C2%A0%27Scamming%20the%20Scammers%27.%20My%20suspicions%20were%20confirmed%20when%20the%20IP%20linked%20back%20to%20one%20of%20the%20websites%20quoted%20by%20the%20fraudsters%20%28http%3A%2F%2Fonlinepccare.com%2F%29%20.%20See%20th" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;t=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;srcTitle=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F&amp;snippet=I%20don%27t%20know%2C%20and%20I%27d%20like%20to.%0D%0A%0D%0AI%20noticed%20a%20suspicious%20entry%20in%20my%20visitor%20logs%20from%20an%20IP%20in%20Calcutta%20looking%20at%20the%20last%20Scam%20post%20-%20%C2%A0%27Scamming%20the%20Scammers%27.%20My%20suspicions%20were%20confirmed%20when%20the%20IP%20linked%20back%20to%20one%20of%20the%20websites%20quoted%20by%20the%20fraudsters%20%28http%3A%2F%2Fonlinepccare.com%2F%29%20.%20See%20th" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20don%27t%20know%2C%20and%20I%27d%20like%20to.%0D%0A%0D%0AI%20noticed%20a%20suspicious%20entry%20in%20my%20visitor%20logs%20from%20an%20IP%20in%20Calcutta%20looking%20at%20the%20last%20Scam%20post%20-%20%C2%A0%27Scamming%20the%20Scammers%27.%20My%20suspicions%20were%20confirmed%20when%20the%20IP%20linked%20back%20to%20one%20of%20the%20websites%20quoted%20by%20the%20fraudsters%20%28http%3A%2F%2Fonlinepccare.com%2F%29%20.%20See%20th" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;bm_description=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;title=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/&amp;n=Windows+Telephone+Scam+%E2%80%93+Part+5+%E2%80%93+Who+Are+They%3F&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/08/windows-telephone-scam-%e2%80%93-part-5-%e2%80%93-who-are-they/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Algorithm Animator</title>
		<link>http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 19:55:59 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[algorithm-animation]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=745</guid>
		<description><![CDATA[It&#8217;s a long while since I finally left the world of education to enter the real world. In June 1999, I finally packed my student suitcase and departed Bath University for a lifetime in software development (or something). I haven&#8217;t had much cause to look back over the things I did during those years, however, [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a long while since I finally left the world of education to enter the real world. In June 1999, I finally packed my student suitcase and departed Bath University for a lifetime in software development (or something).<a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/title16colour.bmp"><img class="alignright size-full wp-image-1260" title="title16colour" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/title16colour.bmp" alt="Algorithm Animation" /></a></p>
<p>I haven&#8217;t had much cause to look back over the things I did during those years, however, recently I found myself thinking back to my final year project on Sorting Algorithm Animation.</p>
<p>My task was to create an application that could demonstrate and compare the common algorithms for sorting lists of numbers. This included, Bubble, Insertion, Selection, Quick, Hash and Merge.</p>
<p>So this is, in short, what I did. And I did it, believe it or not, in Delphi 3!</p>
<p>Ever since I set up JamesWiseman.com, I&#8217;ve included a link to it, and I even did a basic version in C# when I first started looking at the language.</p>
<p>I was pleasantly surprised when I revisited it recently. It&#8217;s not perfect, but still (IMHO) not bad at all.</p>
<p>Check it out here  if you are curious: <a href="http://jameswiseman.com/aa.php">http://jameswiseman.com/aa.php</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator&amp;desc=It%27s%20a%20long%20while%20since%20I%20finally%20left%20the%20world%20of%20education%20to%20enter%20the%20real%20world.%20In%20June%201999%2C%20I%20finally%20packed%20my%20student%20suitcase%20and%20departed%20Bath%20University%20for%20a%20lifetime%20in%20software%20development%20%28or%20something%29.%0D%0A%0D%0AI%20haven%27t%20had%20much%20cause%20to%20look%20back%20over%20the%20things%20I%20did%20during%20those%20ye" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;t=Algorithm+Animator" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;srcTitle=Algorithm+Animator&amp;snippet=It%27s%20a%20long%20while%20since%20I%20finally%20left%20the%20world%20of%20education%20to%20enter%20the%20real%20world.%20In%20June%201999%2C%20I%20finally%20packed%20my%20student%20suitcase%20and%20departed%20Bath%20University%20for%20a%20lifetime%20in%20software%20development%20%28or%20something%29.%0D%0A%0D%0AI%20haven%27t%20had%20much%20cause%20to%20look%20back%20over%20the%20things%20I%20did%20during%20those%20ye" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Algorithm+Animator&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A It%27s%20a%20long%20while%20since%20I%20finally%20left%20the%20world%20of%20education%20to%20enter%20the%20real%20world.%20In%20June%201999%2C%20I%20finally%20packed%20my%20student%20suitcase%20and%20departed%20Bath%20University%20for%20a%20lifetime%20in%20software%20development%20%28or%20something%29.%0D%0A%0D%0AI%20haven%27t%20had%20much%20cause%20to%20look%20back%20over%20the%20things%20I%20did%20during%20those%20ye" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;bm_description=Algorithm+Animator&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;title=Algorithm+Animator" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Algorithm+Animator+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/&amp;n=Algorithm+Animator&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/08/algorithm-animator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting Registry Entries using a .Reg File</title>
		<link>http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 19:00:31 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1067</guid>
		<description><![CDATA[Most people who have had any cause to edit registry settings on a regular basis will probably be familiar with the registry file (.reg) file convention: [HKEY_LOCAL_MACHINE\Software\Test] &#8220;TestValue&#8220;=&#8221;SomeValue&#8221; &#8220;TestValue2&#8220;=&#8221;Some Other Value&#8220; When you double-click the registry file from Windows Explorer, the registry settings are applied quote effortlessly. I recently found out, however that its possible [...]]]></description>
			<content:encoded><![CDATA[<p>Most people who have had any cause to edit registry settings on a regular basis will probably be familiar with the registry file (.reg) file convention:</p>
<p><em><strong>[HKEY_LOCAL_MACHINE\Software\Test]<br />
</strong></em><var><strong>&#8220;</strong><em><strong>TestValue</strong></em><strong>&#8220;=&#8221;</strong><em><strong>SomeValue</strong></em><strong>&#8221;<br />
&#8220;</strong><em><strong>TestValue2</strong></em><strong>&#8220;=&#8221;</strong><em><strong>Some Other Value</strong></em><strong>&#8220;</strong><br />
</var></p>
<p>When you double-click the registry file from Windows Explorer, the registry settings are applied quote effortlessly.</p>
<p>I recently found out, however that its possible to delete registry settings in the same way by a cunning placement of the hyphen character (-).</p>
<p>To delete a value, use the following:</p>
<p><em><strong>[HKEY_LOCAL_MACHINE\Software\Test]<br />
</strong></em><var><strong>&#8220;</strong><em><strong>TestValue</strong></em><strong>&#8220;=-</strong><strong><br />
</strong></var></p>
<p>(Note the hyphen after the equals sign.)</p>
<p>To delete a whole key, use the following:</p>
<p><em><strong>[-HKEY_LOCAL_MACHINE\Software\Test] </strong></em></p>
<p>This time we put the hyphen in front of the key name.</p>
<p><em><strong><span style="font-style: normal; font-weight: normal;">Read more here, (including the disclaimer on the inherent risks of registry editing): <a title="Registry Files" href="http://support.microsoft.com/kb/310516" target="_blank">http://support.microsoft.com/kb/310516</a></span></strong></em></p>
<p><em><strong><span style="font-style: normal; font-weight: normal;"><br />
</span></strong></em></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File&amp;desc=Most%20people%20who%20have%20had%20any%20cause%20to%20edit%20registry%20settings%20on%20a%20regular%20basis%20will%20probably%20be%20familiar%20with%20the%20registry%20file%20%28.reg%29%20file%20convention%3A%0D%0A%0D%0A%5BHKEY_LOCAL_MACHINE%5CSoftware%5CTest%5D%0D%0A%22TestValue%22%3D%22SomeValue%22%0D%0A%22TestValue2%22%3D%22Some%20Other%20Value%22%0D%0A%0D%0A%0D%0AWhen%20you%20double-click%20the%20registry%20file%20from%20W" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;t=Deleting+Registry+Entries+using+a+.Reg+File" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;srcTitle=Deleting+Registry+Entries+using+a+.Reg+File&amp;snippet=Most%20people%20who%20have%20had%20any%20cause%20to%20edit%20registry%20settings%20on%20a%20regular%20basis%20will%20probably%20be%20familiar%20with%20the%20registry%20file%20%28.reg%29%20file%20convention%3A%0D%0A%0D%0A%5BHKEY_LOCAL_MACHINE%5CSoftware%5CTest%5D%0D%0A%22TestValue%22%3D%22SomeValue%22%0D%0A%22TestValue2%22%3D%22Some%20Other%20Value%22%0D%0A%0D%0A%0D%0AWhen%20you%20double-click%20the%20registry%20file%20from%20W" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Deleting+Registry+Entries+using+a+.Reg+File&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Most%20people%20who%20have%20had%20any%20cause%20to%20edit%20registry%20settings%20on%20a%20regular%20basis%20will%20probably%20be%20familiar%20with%20the%20registry%20file%20%28.reg%29%20file%20convention%3A%0D%0A%0D%0A%5BHKEY_LOCAL_MACHINE%5CSoftware%5CTest%5D%0D%0A%22TestValue%22%3D%22SomeValue%22%0D%0A%22TestValue2%22%3D%22Some%20Other%20Value%22%0D%0A%0D%0A%0D%0AWhen%20you%20double-click%20the%20registry%20file%20from%20W" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;bm_description=Deleting+Registry+Entries+using+a+.Reg+File&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;title=Deleting+Registry+Entries+using+a+.Reg+File" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Deleting+Registry+Entries+using+a+.Reg+File+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/&amp;n=Deleting+Registry+Entries+using+a+.Reg+File&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/08/registry-files-deleting-entries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn CSS Positioning in Ten Steps</title>
		<link>http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/</link>
		<comments>http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 19:00:52 +0000</pubDate>
		<dc:creator>jameswiseman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Beer]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.jameswiseman.com/blog/?p=1193</guid>
		<description><![CDATA[I probably should understand more about CSS positioning and layout styles on HTML DIVs, as its integral to today&#8217;s modern web page. The days where I used to lay everything out in a borderless HTML table are long gone, but despite this many of the features of DIV positioning remained a mystery to me until [...]]]></description>
			<content:encoded><![CDATA[<p>I probably should understand more about CSS positioning and layout styles on HTML DIVs, as its integral to today&#8217;s modern web page.<a href="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/jason-miller-beer.jpg"><img class="alignright size-medium wp-image-1249" title="jason-miller-beer" src="http://www.jameswiseman.com/blog/wp-content/uploads/2010/08/jason-miller-beer-300x201.jpg" alt="Beer" width="300" height="201" /></a></p>
<p>The days where I used to lay everything out in a borderless HTML table are long gone, but despite this many of the features of DIV positioning remained a mystery to me until I stumbled across <a title="Learn CSS Positioning in Ten Steps" href="http://www.barelyfitz.com/screencast/html-training/css/positioning/" target="_blank">Barely Fitz Designs Learn CSS Positioning in Ten Steps</a>.</p>
<p>You get ten simple demonstrations on the positioning options, which covers all you need to know. Practice, as always, makes perfect, to its worthwhile having a play yourself.</p>
<p>He even invites you to buy him a beer for his efforts. I didn&#8217;t, but don&#8217;t let that stop you.</p>
<p>Mmmm, now I&#8217;m thirsty.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps&amp;desc=I%20probably%20should%20understand%20more%20about%20CSS%20positioning%20and%20layout%20styles%20on%20HTML%20DIVs%2C%20as%20its%20integral%20to%20today%27s%20modern%20web%20page.%0D%0A%0D%0AThe%20days%20where%20I%20used%20to%20lay%20everything%20out%20in%20a%20borderless%20HTML%20table%20are%20long%20gone%2C%20but%20despite%20this%20many%20of%20the%20features%20of%20DIV%20positioning%20remained%20a%20mystery%20to%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;t=Learn+CSS+Positioning+in+Ten+Steps" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps&amp;srcUrl=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;srcTitle=Learn+CSS+Positioning+in+Ten+Steps&amp;snippet=I%20probably%20should%20understand%20more%20about%20CSS%20positioning%20and%20layout%20styles%20on%20HTML%20DIVs%2C%20as%20its%20integral%20to%20today%27s%20modern%20web%20page.%0D%0A%0D%0AThe%20days%20where%20I%20used%20to%20lay%20everything%20out%20in%20a%20borderless%20HTML%20table%20are%20long%20gone%2C%20but%20despite%20this%20many%20of%20the%20features%20of%20DIV%20positioning%20remained%20a%20mystery%20to%20" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Learn+CSS+Positioning+in+Ten+Steps&amp;body=Link: http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20probably%20should%20understand%20more%20about%20CSS%20positioning%20and%20layout%20styles%20on%20HTML%20DIVs%2C%20as%20its%20integral%20to%20today%27s%20modern%20web%20page.%0D%0A%0D%0AThe%20days%20where%20I%20used%20to%20lay%20everything%20out%20in%20a%20borderless%20HTML%20table%20are%20long%20gone%2C%20but%20despite%20this%20many%20of%20the%20features%20of%20DIV%20positioning%20remained%20a%20mystery%20to%20" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;bm_description=Learn+CSS+Positioning+in+Ten+Steps&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;title=Learn+CSS+Positioning+in+Ten+Steps" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Learn+CSS+Positioning+in+Ten+Steps+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/&amp;n=Learn+CSS+Positioning+in+Ten+Steps&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jameswiseman.com/blog/2010/08/06/learn-css-positioning-in-ten-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://www.jameswiseman.com/blog/wp-content/plugins/mystat/mystat.php?act=time_load&id=14900&rnd=834702799" /></channel>
</rss>
