<?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>ÎÜñ&#124;‹ø\/\/ñ [ÐëÞrëçã†ëð]&#039;s Blog &#187; .geek</title>
	<atom:link href="http://desigeek.com/blog/amit/category/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://desigeek.com/blog/amit</link>
	<description>Amit Bahree&#039;s insight into stuff…</description>
	<lastBuildDate>Fri, 27 Jan 2012 15:53:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Kinect SDK</title>
		<link>http://desigeek.com/blog/amit/2011/06/17/kinect-sdk/</link>
		<comments>http://desigeek.com/blog/amit/2011/06/17/kinect-sdk/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 01:58:51 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>
		<category><![CDATA[.microsoft]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2011/06/17/kinect-sdk/</guid>
		<description><![CDATA[Microsoft recently release the Kinect SDK which allows you to implement a Natural User Interface and program against it! There is a lot of interest&#160; around including claims on how Robotics will change to how you can integrate a light sensor. You can use Visual Studio (C++, C# and VB.NET supported) and get quite interesting [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft recently release the <a href="http://research.microsoft.com/en-us/um/redmond/projects/kinectsdk/" target="_blank">Kinect SDK</a> which allows you to implement a Natural User Interface and program against it! There is a lot of interest&#160; around including claims on how <a href="http://www.wired.com/magazine/2011/06/mf_kinect" target="_blank">Robotics will change</a> to how you can integrate a light sensor.</p>
<p>You can use Visual Studio (C++, C# and VB.NET supported) and get quite interesting results. </p>
<p>Here are a series of links below which will help you get started.</p>
<ol>
<li>Download and install the Kinect SDK</li>
<li>Download and install <a href="http://files.ch9.ms/coding4fun/KinectForWindowsSDKQuickstarts.zip" target="_blank">Quickstart Samples and Slides</a> (zip file)</li>
<li>Understanding the <a href="http://channel9.msdn.com/Series/KinectSDKQuickstarts/Understanding-Kinect-Hardware" target="_blank">Kinect hardware</a></li>
<li>Setting up your <a href="http://channel9.msdn.com/Series/KinectSDKQuickstarts/Getting-Started" target="_blank">Dev Environment</a></li>
<li>Understanding the basics of <a href="http://channel9.msdn.com/Series/KinectSDKQuickstarts/Skeletal-Tracking-Fundamentals" target="_blank">skeletal tracking</a> using the Kinect sensor</li>
<li>Understanding <a href="http://channel9.msdn.com/Series/KinectSDKQuickstarts/Camera-Fundamentals" target="_blank">camera fundamentals</a></li>
<li>Understanding the <a href="http://channel9.msdn.com/Series/KinectSDKQuickstarts/Audio-Fundamentals" target="_blank">audio fundamentals</a></li>
<li>Playing with the <a href="http://channel9.msdn.com/coding4fun/projects/Coding4Fun-Kinect-Toolkit" target="_blank">Coding4Fun Kinect toolkit</a> and seeing how one can build cool apps such as:</li>
<ul>
<li><a href="http://channel9.msdn.com/coding4fun/projects/Kinect-Paint" target="_blank">Kinect Paint</a> (which uses skeleton tracking)</li>
<li><a href="http://channel9.msdn.com/coding4fun/projects/Kinect-Mouse-Cursor" target="_blank">Kinect Mouse</a> which uses your hands as the mouse cursor</li>
</ul>
</ol>
<p>Keep and eye out on the <a href="http://channel9.msdn.com/coding4fun/kinect" target="_blank">Coding4Fun Kinect blog</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2011%2F06%2F17%2Fkinect-sdk%2F&amp;title=Kinect%20SDK" id="wpa2a_2"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2011/06/17/kinect-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips on Buying a UPS?</title>
		<link>http://desigeek.com/blog/amit/2011/05/15/tips-on-buying-a-ups/</link>
		<comments>http://desigeek.com/blog/amit/2011/05/15/tips-on-buying-a-ups/#comments</comments>
		<pubDate>Sun, 15 May 2011 12:11:21 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.desh]]></category>
		<category><![CDATA[.geek]]></category>
		<category><![CDATA[.media center]]></category>
		<category><![CDATA[.whs]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/?p=3531</guid>
		<description><![CDATA[After moving to Bangalore, it turns out that I would need to get one or more UPS&#8217;s for the machines at home. The place we will be moving to in a few weeks does have power backup, but if/when there is a power cut it takes a few minutes for the generators to kick in [...]]]></description>
			<content:encoded><![CDATA[<p>After moving to Bangalore, it turns out that I would need to get one or more UPS&#8217;s for the machines at home. The place we will be moving to in a few weeks does have power backup, but if/when there is a power cut it takes a few minutes for the generators to kick in and is not instantaneous as I was thinking.</p>
<p>I have never bought a UPS until now and don&#8217;t have any experience with it &#8211; what are the things that I need to consider? I will have the following equipment running which will need to be powered up for about 15 minutes:</p>
<ul>
<li>4 Desktops (including a MCE and WHS)</li>
<li>Two 17” LCD Monitors</li>
<li>A set of powered Speakers (optional)</li>
<li>Few switches</li>
<li>KVM Switch</li>
<li>VOIP Phone</li>
<li>Wireless Router</li>
<li>DSL Modem</li>
</ul>
<p>Would it make sense to buy a few smaller UPS&#8217;s instead of one big one? Which is a good one? How much wattage/capacity should I look to get? Can one get second-hand ones &#8211; are they recommended? Does the UPS required any maintenance or are they maintenance free these days? <img src='http://desigeek.com/blog/amit/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' /> </p>
<p>Of all the machines, the WHS is one of the most critical ones. Is there any UPS&#8217;s which work well with some Add-Ins? I am interested in WHS shutting down in an orderly fashion so as to save all the data whenever the UPS battery gets low (in case for some reason the generators don&#8217;t kick in).</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2011%2F05%2F15%2Ftips-on-buying-a-ups%2F&amp;title=Tips%20on%20Buying%20a%20UPS%3F" id="wpa2a_4"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2011/05/15/tips-on-buying-a-ups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading through every version of Windows</title>
		<link>http://desigeek.com/blog/amit/2011/03/02/upgrading-through-every-version-of-windows/</link>
		<comments>http://desigeek.com/blog/amit/2011/03/02/upgrading-through-every-version-of-windows/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 23:39:30 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>
		<category><![CDATA[.microsoft]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2011/03/02/upgrading-through-every-version-of-windows/</guid>
		<description><![CDATA[Upgrading through *all* versions of Windows from v1 thru to Win7.]]></description>
			<content:encoded><![CDATA[<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:e342f3ee-4680-4673-ac2f-775dac089bf2" class="wlWriterEditableSmartContent">
<div><object width="448" height="336"><param name="movie" value="http://www.youtube.com/v/vPnehDhGa14?hl=en&amp;hd=1"></param><embed src="http://www.youtube.com/v/vPnehDhGa14?hl=en&amp;hd=1" type="application/x-shockwave-flash" width="448" height="336"></embed></object></div>
<div style="width:448px;clear:both;font-size:.8em">Upgrading through *all* versions of Windows from v1 thru to Win7.</div>
</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2011%2F03%2F02%2Fupgrading-through-every-version-of-windows%2F&amp;title=Upgrading%20through%20every%20version%20of%20Windows" id="wpa2a_6"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2011/03/02/upgrading-through-every-version-of-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensource ZigBee stack?</title>
		<link>http://desigeek.com/blog/amit/2011/01/16/opensource-zigbee-stack/</link>
		<comments>http://desigeek.com/blog/amit/2011/01/16/opensource-zigbee-stack/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 17:10:29 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.code]]></category>
		<category><![CDATA[.geek]]></category>
		<category><![CDATA[.mobile]]></category>
		<category><![CDATA[.opensource]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/?p=3460</guid>
		<description><![CDATA[I was planning on getting the Telegesis ETRX2USB and wanted to know if there are any open source (or shareware) open source ZigBee stacks that I can use with that? I also wanted to know if there is any opensource (or not too expensive), network management or network analyser for a ZigBee network? Essentially I want to [...]]]></description>
			<content:encoded><![CDATA[<p>I was planning on getting the <a href="http://www.telegesis.com/products/test_page_2.htm" target="_blank">Telegesis ETRX2USB</a> and wanted to know if there are any open source (or shareware) open source ZigBee stacks that I can use with that?</p>
<p>I also wanted to know if there is any opensource (or not too expensive), network management or network analyser for a ZigBee network? Essentially I want to be able to programatically view network and node information on the ZigBee network (e.g. S/N ratio, signal strength, etc.) &#8211; something similar to <a href="http://www.ember.com/products_zigbee_development_tools_desktop.html" target="_blank">Ember&#8217;s Insight Desktop</a> which <a href="http://www.ember.com/products_insight_desktop_pop.html" target="_blank">shows the details</a> I am interested in. I could not find anything specific and would be interested in getting ideas.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2011%2F01%2F16%2Fopensource-zigbee-stack%2F&amp;title=Opensource%20ZigBee%20stack%3F" id="wpa2a_8"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2011/01/16/opensource-zigbee-stack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading to WordPress 3.0.3?</title>
		<link>http://desigeek.com/blog/amit/2010/12/25/upgrading-to-wordpress-3-0-3/</link>
		<comments>http://desigeek.com/blog/amit/2010/12/25/upgrading-to-wordpress-3-0-3/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 17:29:25 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/?p=3421</guid>
		<description><![CDATA[The latest version of WordPress 3.0.3 and the Redirection plugin (v 2.2.3) don&#8217;t play nice together. If you upgraded to the latest version of WordPress the redirection plugin will always show only your last post on your blog&#8217;s homepage. Until the plugin is fixed, the only way around this is either not to upgrade to [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of WordPress 3.0.3 and the Redirection plugin (v 2.2.3) don&#8217;t play nice together. If you upgraded to the latest version of WordPress the redirection plugin will always show only your last post on your blog&#8217;s homepage. Until the plugin is fixed, the only way around this is either not to upgrade to the latest version of WordPress (not recommended), or to disable the Redirection plugin.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2010%2F12%2F25%2Fupgrading-to-wordpress-3-0-3%2F&amp;title=Upgrading%20to%20WordPress%203.0.3%3F" id="wpa2a_10"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2010/12/25/upgrading-to-wordpress-3-0-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cray XMT</title>
		<link>http://desigeek.com/blog/amit/2010/11/05/cray-xmt/</link>
		<comments>http://desigeek.com/blog/amit/2010/11/05/cray-xmt/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:16:17 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2010/11/05/cray-xmt/</guid>
		<description><![CDATA[As you might have heard, the Cray XMT implemented a multithreaded processor architecture (called Threadstorm); these processors are compatible with Socket F which means they can use the AMD Opteron CPUs. The interesting part however is that these Threadstorm CPU’s only execute user code and avoids memory dependency stalls i.e. when the memory dependence prediction [...]]]></description>
			<content:encoded><![CDATA[<p>As you might have heard, the <a href="http://www.cray.com/products/XMT.aspx" target="_blank">Cray XMT</a> implemented a multithreaded processor architecture (called Threadstorm); these processors are compatible with <a href="http://en.wikipedia.org/wiki/Socket_F" target="_blank">Socket F</a> which means they can use the AMD Opteron CPUs. The interesting part however is that these Threadstorm CPU’s only execute user code and avoids memory dependency stalls i.e. when the <a href="http://en.wikipedia.org/wiki/Memory_dependence_prediction" target="_blank">memory dependence prediction</a> goes wrong and stalls the specific load to ensure there is no violation.</p>
<p>The Cray XMT does this by switching among 128 concurrent threads. As the XMT supports more than 8000 CPUs, if one needs to maximize throughput the developer must provide at least 128 threads per CPU, With 8K CPUs you are looking at over 1,024,000 threads! <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-surprisedsmile" alt="Surprised smile" src="http://desigeek.com/blog/amit/wp-content/uploads/2010/11/wlEmoticon-surprisedsmile.png" /> Needless to say, with such large number of threads, it is extremely important to get thread management implemented correctly – without that the system won’t be able to scale and even deadlock.</p>
<p>Another factor is the application design specifically the parallel programming models (including the recursive threaded models) and resource management to be able to successfully handle resource exhaustion.</p>
<p>If this is an area of interest then you should check out the likes of <a href="http://en.wikipedia.org/wiki/Openmp" target="_blank">OpenMP</a>, <a href="http://en.wikipedia.org/wiki/Parallel_Extensions" target="_blank">Parallel Extension to .NET 4</a> (which include PLINQ and TPL), <a href="http://en.wikipedia.org/wiki/Concurrency_and_Coordination_Runtime" target="_blank">CCR</a>, etc.</p>
<p>Underpinning all of this of course is <a href="http://en.wikipedia.org/wiki/Amdahl's_law" target="_blank">Amdahl’s law</a> which one should be comfortable with; including its relation to the law of <a href="http://en.wikipedia.org/wiki/Diminishing_returns" target="_blank">diminishing returns</a>.</p>
<p>I wonder, where I can I get some time on a Cray XMT? I can also settle for a <a href="http://www.cray.com/Products/CX/Systems.aspx" target="_blank">Cray CX1</a> – anyone willing to donate some money to a poor geek to help with this? <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://desigeek.com/blog/amit/wp-content/uploads/2010/11/wlEmoticon-winkingsmile.png" /></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2010%2F11%2F05%2Fcray-xmt%2F&amp;title=Cray%20XMT" id="wpa2a_12"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2010/11/05/cray-xmt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft&#8217;s Street Slide</title>
		<link>http://desigeek.com/blog/amit/2010/07/28/microsofts-street-slide/</link>
		<comments>http://desigeek.com/blog/amit/2010/07/28/microsofts-street-slide/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:22:38 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2010/07/28/microsofts-street-slide/</guid>
		<description><![CDATA[This is quite cool – now only if MS hurry’s up and incorporated this to Bing Maps. MS Street Slide]]></description>
			<content:encoded><![CDATA[<p>This is quite cool – now only if MS hurry’s up and incorporated this to Bing Maps.</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:d730c1e1-2e58-4d49-a279-cd8e5f9b3460" class="wlWriterEditableSmartContent">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/K-_T949uSwU&amp;hl=en"></param><embed src="http://www.youtube.com/v/K-_T949uSwU&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
<div style="width:425px;clear:both;font-size:.8em">MS Street Slide</div>
</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2010%2F07%2F28%2Fmicrosofts-street-slide%2F&amp;title=Microsoft%26rsquo%3Bs%20Street%20Slide" id="wpa2a_14"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2010/07/28/microsofts-street-slide/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hardware Chart</title>
		<link>http://desigeek.com/blog/amit/2010/06/20/hardware-chart/</link>
		<comments>http://desigeek.com/blog/amit/2010/06/20/hardware-chart/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 18:15:28 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2010/06/20/hardware-chart/</guid>
		<description><![CDATA[This computer hardware chart is quite cool. Not sure why, where and who would want to use this. But, it does beg the question – can things get any geekier?]]></description>
			<content:encoded><![CDATA[<p>This computer hardware chart is quite cool. Not sure why, where and who would want to use this. But, it does beg the question – can things get any geekier? <img src='http://desigeek.com/blog/amit/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://bahree.smugmug.com/Computers/Amits-Blog-Pictures/computer-hardware-2/907479120_5ZgiC-O.jpg" target="_blank" rel="lightbox[3309]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="907479120_5ZgiC-S[1]" border="0" alt="907479120_5ZgiC-S[1]" src="http://desigeek.com/blog/amit/wp-content/uploads/2010/06/907479120_5ZgiCS1.jpg" width="170" height="320" /></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2010%2F06%2F20%2Fhardware-chart%2F&amp;title=Hardware%20Chart" id="wpa2a_16"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2010/06/20/hardware-chart/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Analysis of Algorithms</title>
		<link>http://desigeek.com/blog/amit/2010/03/26/analysis-of-algorithms/</link>
		<comments>http://desigeek.com/blog/amit/2010/03/26/analysis-of-algorithms/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 18:50:40 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.architecture]]></category>
		<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2010/03/26/analysis-of-algorithms/</guid>
		<description><![CDATA[If you were interested in algorithms and interested in some mathematical foundations for algorithm analysis? For example if you are interested in proof techniques, probability, Amortization analysis techniques, Case studies and Asymptotic notions (such as Big-Oh, Big-Omega, Little-oh, little-omega, Big-Theta) then check out these lecture notes (in ppt, 224kb) from California State University.]]></description>
			<content:encoded><![CDATA[<p>If you were interested in algorithms and interested in some mathematical foundations for algorithm analysis? For example if you are interested in proof techniques, probability, Amortization analysis techniques, Case studies and Asymptotic notions (such as Big-Oh, Big-Omega, Little-oh, little-omega, Big-Theta) then check out <a href="http://csc.csudh.edu/jhan/Spring2005/csc401/LectureNotes/LectureNotes02.ppt" target="_blank">these lecture notes</a> (in ppt, 224kb) from California State University.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2010%2F03%2F26%2Fanalysis-of-algorithms%2F&amp;title=Analysis%20of%20Algorithms" id="wpa2a_18"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2010/03/26/analysis-of-algorithms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu on a HTC Touch Pro 2</title>
		<link>http://desigeek.com/blog/amit/2010/03/09/ubuntu-on-a-htc-touch-pro-2/</link>
		<comments>http://desigeek.com/blog/amit/2010/03/09/ubuntu-on-a-htc-touch-pro-2/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 22:44:39 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>
		<category><![CDATA[.opensource]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/?p=3263</guid>
		<description><![CDATA[Well this is the phone I have maybe some day I will try this &#8211; pretty geeky albeit useless.]]></description>
			<content:encoded><![CDATA[<p>Well this is the phone I have maybe some day I will try this &#8211; pretty geeky albeit useless. <img src='http://desigeek.com/blog/amit/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/qE_rDay9RJ8&amp;hl=en_GB&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/qE_rDay9RJ8&amp;hl=en_GB&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2010%2F03%2F09%2Fubuntu-on-a-htc-touch-pro-2%2F&amp;title=Ubuntu%20on%20a%20HTC%20Touch%20Pro%202" id="wpa2a_20"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2010/03/09/ubuntu-on-a-htc-touch-pro-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geek moment of the day</title>
		<link>http://desigeek.com/blog/amit/2010/01/15/geek-moment-of-the-day/</link>
		<comments>http://desigeek.com/blog/amit/2010/01/15/geek-moment-of-the-day/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 09:49:09 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2010/01/15/geek-moment-of-the-day/</guid>
		<description><![CDATA[(: ¿ɥǝ sıɥʇ sı looɔ ʍoɥ]]></description>
			<content:encoded><![CDATA[<p>(: ¿ɥǝ sıɥʇ sı looɔ ʍoɥ</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2010%2F01%2F15%2Fgeek-moment-of-the-day%2F&amp;title=Geek%20moment%20of%20the%20day" id="wpa2a_22"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2010/01/15/geek-moment-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allowing remote desktop with blank passwords on Win7</title>
		<link>http://desigeek.com/blog/amit/2009/12/19/allowing-remote-desktop-with-blank-passwords-on-win7/</link>
		<comments>http://desigeek.com/blog/amit/2009/12/19/allowing-remote-desktop-with-blank-passwords-on-win7/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 12:47:42 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>
		<category><![CDATA[.media center]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/?p=3125</guid>
		<description><![CDATA[I finally got the time to upgrade my MCE with the RTM bits of Win7 (was running an old RC build until now). Given this is a dedicated MCE with nothing else on it and an on an isolated part of the network, I don&#8217;t have a password set for the Account I use to [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got the time to upgrade my MCE with the RTM bits of Win7 (was running an old RC build until now). Given this is a dedicated MCE with nothing else on it and an on an isolated part of the network, I don&#8217;t have a password set for the Account I use to login (of course not a recommended practice). Now, I wanted to RDP to the machine and I realised then that Win 7 does not allow RDP with blank passwords by default (Vista behaves in the same fashion). The workaround is a simple fix &#8211; to update the group policy as <a href="http://dandar3.blogspot.com/2008/04/windows-vista-allow-remote-desktop.html" target="_blank">Dan shows in this post</a>. Even though that post is for Vista, its the same steps for Win 7.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F12%2F19%2Fallowing-remote-desktop-with-blank-passwords-on-win7%2F&amp;title=Allowing%20remote%20desktop%20with%20blank%20passwords%20on%20Win7" id="wpa2a_24"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/12/19/allowing-remote-desktop-with-blank-passwords-on-win7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BizTalk Flat File schema optional attribute issue</title>
		<link>http://desigeek.com/blog/amit/2009/12/06/biztalk-flat-file-schema-optional-attribute-issue/</link>
		<comments>http://desigeek.com/blog/amit/2009/12/06/biztalk-flat-file-schema-optional-attribute-issue/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 23:37:33 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>
		<category><![CDATA[.microsoft]]></category>

		<guid isPermaLink="false">http://desigeek.com/blog/amit/2009/12/06/biztalk-flat-file-schema-optional-attribute-issue/</guid>
		<description><![CDATA[I encountered this interesting issue and thanks to Colin we were able to resolve it. There will be situations you will encounter when adding additional optional attributes to a Flat File (FF) schema in BizTalk will cause problems. To get around this you basically will need to set the following properties to relax the parsing [...]]]></description>
			<content:encoded><![CDATA[<p>I encountered this interesting issue and thanks to Colin we were able to resolve it. There will be situations you will encounter when adding additional optional attributes to a Flat File (FF) schema in BizTalk will cause problems. To get around this you basically will need to set the following properties to <em>relax</em> the parsing of the attributes which break. </p>
<ul>
<li>parser_optimization=&quot;complexity&quot; </li>
<li>allow_early_termination=&quot;true&quot; </li>
<li>early_terminate_optional_fields=&quot;true&quot; </li>
</ul>
<p>This got me thinking more and wanting to understand what does changing these attributes mean under the covers. Below is what I found out on each of these.</p>
<p>On parser_optimization:</p>
<ul>
<li>Setting the parser_optimization to complex essentially generates a more complicated grammar (it uses both a top down and bottom up parsing); this grammar is then used to parse the FF. </li>
<li>The complicated grammar is better when parsing records with more optional nested options – however it still cannot handle all the layout conditions and can still break in some situations. </li>
<li>And given the runtime is doing more things, this will be slower than the other option called ‘speed’ (yeah no kidding Sherlock!).
<ul>
<li>The reason the ‘speed’ option is faster is because it uses top-down parsing only. </li>
</ul>
</li>
<li>In addition you should also set <strong>lookahead_depth</strong> to zero (more on this below) to avoid validation failures (against a schema) when there are many optional nodes in the same group/record. </li>
</ul>
<p>Changing the lookahead_depth itself is trivial but you need to be a little more aware of what this means:</p>
<ul>
<li>This essentially tells the parser when making a parsing prediction how far ahead to look in the token stream.</li>
<li>Setting this to Zero essentially means &#8216;infinite lookahead’ which in turn means more memory will be consumed. </li>
<ul>
<li>Depending on how busy your BizTalk servers are and how much memory pressure you already experience processing various files (and their sizes), this might be an issue.</li>
</ul>
</ul>
<p>Basically, the FF parser is a streaming parser and implemented as a <a href="http://en.wikipedia.org/wiki/LL_parser" target="_blank">leftmost derivation</a> which takes in a <a href="http://en.wikipedia.org/wiki/Context-free_grammar" target="_blank">CFG</a>. Essentially when we change the lookahead_depth to zero we change do not restrict this and the parser can recognize tokens using <a href="http://en.wikipedia.org/wiki/Deterministic_Finite_Automaton" target="_blank">DFA</a> perhaps (of course we don’t know the real implementation). </p>
<p>For those old school like me, and have played with <a href="http://en.wikipedia.org/wiki/Yacc" target="_blank">yacc</a> – that is a LL(1) parser – essentially parse the grammar with one token lookahead.</p>
<p>On allow_early_termination=&quot;true&quot;:</p>
<ul>
<li> When working with FF’s BizTalk expects that every line is of the same length (either because of the data contained padded with spaces). However if it finds a newline (CR + LF) character then it breaks and you get an error something along the lines of “Unexpected data found while looking for: \r\n”.</li>
<li>Adding the allow_early_termination setting helps fix this. Read more <a href="http://blogs.msdn.com/skaufman/archive/2004/05/07/127899.aspx" target="_blank">here</a>.</li>
<li>Also note that only the right-most positional field is allowed to early terminate.</li>
</ul>
<p>Lastly, the early_terminate_optional_fields attribute enables early termination of optional trailing fields. A couple of points to note on this:</p>
<ul>
<li>If your schema does not have this annotation and you open that in the BizTalk editor, then it will automatically add this annotation explicitly and set it to the default value of <strong>False</strong>.</li>
<li>This only takes affect if you also have the allow_early_termination annotation set to True.</li>
<li>More details on this <a href="http://msdn.microsoft.com/en-us/library/aa559329(BTS.20).aspx" target="_blank">here</a>.</li>
</ul>
<p>And in case you were wondering this is a supported option by Microsoft as shown in this <a href="http://support.microsoft.com/kb/884622" target="_blank">KB article</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F12%2F06%2Fbiztalk-flat-file-schema-optional-attribute-issue%2F&amp;title=BizTalk%20Flat%20File%20schema%20optional%20attribute%20issue" id="wpa2a_26"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/12/06/biztalk-flat-file-schema-optional-attribute-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OpenSceneGraph on Ubuntu</title>
		<link>http://desigeek.com/blog/amit/2009/10/25/installing-openscenegraph-on-ubuntu/</link>
		<comments>http://desigeek.com/blog/amit/2009/10/25/installing-openscenegraph-on-ubuntu/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 14:06:00 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you use the Synaptic Package Manager in Ubuntu 9.04 to install OpenSceneGraph, by default it will install version 2.4.x. However if you want to install OpenSceneGraph 2.8.1 then you need to do the following in a terminal: Modify the file /etc/apt/sources.list (make sure you run it via sudo something like: sudo gedit /etc/apt/sources.list) Add [...]]]></description>
			<content:encoded><![CDATA[<p>If you use the Synaptic Package Manager in Ubuntu 9.04 to install OpenSceneGraph, by default it will install version 2.4.x. However if you want to install OpenSceneGraph 2.8.1 then you need to do the following in a terminal:</p>
<ol>
<li>Modify the file /etc/apt/sources.list (make sure you run it via sudo something like: sudo gedit /etc/apt/sources.list)</li>
<li>Add the following two lines in the end and save the file:</li>
<ol>
<li>deb http://openscenegraph.dachary.org/packaging-farm/openscenegraph/gnulinux/debian/unstable/src ./</li>
<li>deb-src http://openscenegraph.dachary.org/packaging-farm/openscenegraph/gnulinux/debian/unstable/src ./&nbsp;</li>
</ol>
<li>Run in the terminal: sudo apt-get update</li>
<li>And finally run: sudo apt-get install openscenegraph</li>
</ol>
<p><img src="http://desigeek.com/weblog/aggbug.aspx?PostID=5307" width="1" height="1"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F10%2F25%2Finstalling-openscenegraph-on-ubuntu%2F&amp;title=Installing%20OpenSceneGraph%20on%20Ubuntu" id="wpa2a_28"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/10/25/installing-openscenegraph-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Major Network Attack</title>
		<link>http://desigeek.com/blog/amit/2009/06/17/major-network-attack/</link>
		<comments>http://desigeek.com/blog/amit/2009/06/17/major-network-attack/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 22:21:53 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Wow! Looks like a lot of bots suddenly woke up – major attack in progress. Grrr … b**tards!]]></description>
			<content:encoded><![CDATA[<p>Wow! Looks like a lot of bots suddenly woke up – major attack in progress.</p>
<p><a href="http://www.bahree.com/amit/blog_images/MajorNetworkAttack_1487A/image.png" rel="lightbox[1330]"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://www.bahree.com/amit/blog_images/MajorNetworkAttack_1487A/image_thumb.png" width="121" height="244" /></a> </p>
<p>Grrr … b**tards!</p>
<p><img src="http://desigeek.com/weblog/aggbug.aspx?PostID=5298" width="1" height="1"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F06%2F17%2Fmajor-network-attack%2F&amp;title=Major%20Network%20Attack" id="wpa2a_30"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/06/17/major-network-attack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image detection &#8211; how, what, where &#8211; any insights?</title>
		<link>http://desigeek.com/blog/amit/2009/06/02/image-detection-how-what-where-any-insights/</link>
		<comments>http://desigeek.com/blog/amit/2009/06/02/image-detection-how-what-where-any-insights/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 22:00:24 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I don’t have much experience with image detection in a video, and wanted to understand what options are possible – all I know it is not as simple as “CSI” makes it out to be – yet. Here is the scenario: Say I have a remote controlled aircraft (a mini helicopter) which among other things [...]]]></description>
			<content:encoded><![CDATA[<p>I don’t have much experience with image detection in a video, and wanted to understand what options are possible – all I know it is not as simple as “CSI” makes it out to be – yet. <img src="http://desigeek.com/weblog/emoticons/emotion-1.gif" alt="Smile" /></p>
<p><strong>Here is the scenario:</strong></p>
<p>Say I have a remote controlled aircraft (a mini helicopter) which among other things has a camera fitted which is filming over a certain area. I use a training set and somehow “train” the camera to look for certain objects and recognise data points of that object and learn it to recognize that object (for example a human in Pink). Now once this is trained, if the helicopter is over another area and recording I want it to be able to recognise these pre-trained images in that video feed and do something if something is found (e.g. a human in pink). </p>
<p>The closest “CSI” analogy I can think of is – the facial recognition which they show to be iterating through hundreds of photos comparing data points (which of course as we all know this is mostly fiction – but that is a discussion point for another day).</p>
<p><strong>So the question:</strong></p>
<p>What does it take to compare objects in video feeds? I am not really interested in knowing how to “train” and find a pink human – but rather how to reliably and possibly quickly (within reason of course) compare and see if two are the same of the pattern. This should also reduce the false positives – e.g. a pink table might look like a human in pink with the environmental factors (shadows, sunlight, rain, angle of camera, etc.). I <a href="http://en.wikipedia.org/wiki/Image_recognition#Recognition" target="_blank">have</a> <a href="http://en.wikipedia.org/wiki/Blob_detection" target="_blank">read a</a> <a href="http://en.wikipedia.org/wiki/Video_tracking" target="_blank">little online</a> but don’t have any experience in the subject. </p>
<p>Has anyone done this (or something similar) in the past or have any pointers for me? <img src="http://desigeek.com/weblog/emoticons/emotion-1.gif" alt="Smile" /></p>
<p><img src="http://desigeek.com/weblog/aggbug.aspx?PostID=5295" width="1" height="1"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F06%2F02%2Fimage-detection-how-what-where-any-insights%2F&amp;title=Image%20detection%20%26%238211%3B%20how%2C%20what%2C%20where%20%26%238211%3B%20any%20insights%3F" id="wpa2a_32"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/06/02/image-detection-how-what-where-any-insights/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an Event Source via a Reg File</title>
		<link>http://desigeek.com/blog/amit/2009/05/19/creating-an-event-source-via-a-reg-file/</link>
		<comments>http://desigeek.com/blog/amit/2009/05/19/creating-an-event-source-via-a-reg-file/#comments</comments>
		<pubDate>Tue, 19 May 2009 20:55:37 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you ever tried to write to the event log, without an event source for that application created you will get an exception saying something along the lines of that you do not have permissions to create the event source. If an event source does not exist, it is automatically created. The creation of the [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever tried to write to the event log, without an event source for that application created you will get an exception saying something along the lines of that you do not have permissions to create the event source.</p>
<p>If an event source does not exist, it is automatically created. The creation of the event source is a privileged operation and requires elevated privileges (a.k.a admin privileges) which of course might not always be possible if running a web application. </p>
<p>The easiest way to create this event source is via a reg file. An example is below (credit goes to my colleague Dominic to provide me the original sample). </p>
<p><strong>Note:</strong> you need all the lines below including the “Windows Registry Editor Version 5.00”. </p>
<p>Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\YOUR-APPLICATION-NAME-GOES-HERE]</p>
<p>&quot;EventMessageFile&quot;=hex(2):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,\</p>
<p>&#160; 00,53,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,2e,00,\</p>
<p>&#160; 4e,00,45,00,54,00,5c,00,46,00,72,00,61,00,6d,00,65,00,77,00,6f,00,72,00,6b,\</p>
<p>&#160; 00,5c,00,76,00,32,00,2e,00,30,00,2e,00,35,00,30,00,37,00,32,00,37,00,5c,00,\</p>
<p>&#160; 45,00,76,00,65,00,6e,00,74,00,4c,00,6f,00,67,00,4d,00,65,00,73,00,73,00,61,\</p>
<p>&#160; 00,67,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,00,00</p>
<p><img src="http://desigeek.com/weblog/aggbug.aspx?PostID=5294" width="1" height="1"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F05%2F19%2Fcreating-an-event-source-via-a-reg-file%2F&amp;title=Creating%20an%20Event%20Source%20via%20a%20Reg%20File" id="wpa2a_34"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/05/19/creating-an-event-source-via-a-reg-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Enterprise Edition to Ultimate (Vista or Win7)</title>
		<link>http://desigeek.com/blog/amit/2009/05/18/upgrading-enterprise-edition-to-ultimate-vista-or-win7/</link>
		<comments>http://desigeek.com/blog/amit/2009/05/18/upgrading-enterprise-edition-to-ultimate-vista-or-win7/#comments</comments>
		<pubDate>Mon, 18 May 2009 10:40:43 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you are ever in a situation where you want to upgrade say from Vista Enterprise edition to Win 7 Ultimate edition &#8211; by default you cannot do this. When you insert your Win7 disc you won’t find the upgrade option available and the only way you see forward is to do a complete fresh [...]]]></description>
			<content:encoded><![CDATA[<p>If you are ever in a situation where you want to upgrade say from Vista Enterprise edition to Win 7 Ultimate edition &#8211; by default you cannot do this. When you insert your Win7 disc you won’t find the upgrade option available and the only way you see forward is to do a complete fresh install (after backing up your data of course). However, that is very time consuming and of course generally a lot of pain.</p>
<p>So here is a tip to get you to upgrade without doing a complete fresh install where you “fool” the installer in thinking you have a different version to allow you to upgrade.</p>
<p>You need to do the following steps, <strong>before</strong> inserting the Windows DVD</p>
<ol>
<li>Go to, Start, Run: and type: regedit.exe</li>
<li>Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion</li>
<li>Change the key: ProductName from &quot;Windows 7&#160; Enterprise” to “Windows 7 Business” or to “Windows 7 Ultimate”</li>
<li>Change the key: EditionID from &quot;Enterprise&quot; to “Business” or to “Ultimate”</li>
<li><strong>Do not restart!</strong></li>
<li>Now insert Windows DVD and start upgrading (the option Upgrade will not be graded out anymore)</li>
</ol>
<p>Of course you will need the appropriate licences and still need to activate, etc.</p>
<p><img src="http://desigeek.com/weblog/aggbug.aspx?PostID=5293" width="1" height="1"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F05%2F18%2Fupgrading-enterprise-edition-to-ultimate-vista-or-win7%2F&amp;title=Upgrading%20Enterprise%20Edition%20to%20Ultimate%20%28Vista%20or%20Win7%29" id="wpa2a_36"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/05/18/upgrading-enterprise-edition-to-ultimate-vista-or-win7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RAID Blues</title>
		<link>http://desigeek.com/blog/amit/2009/04/04/raid-blues/</link>
		<comments>http://desigeek.com/blog/amit/2009/04/04/raid-blues/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 12:59:28 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[On my machine running all the VM’s at home – one disk has failed. I have not replaced it, instead marked it as OK and am rebuilding the volume now. Second time this has happened – if it happens once more then maybe it is time to actually replace the physical disc. *Sigh* I hate [...]]]></description>
			<content:encoded><![CDATA[<p>On my machine running all the VM’s at home – one disk has failed. I have not replaced it, instead marked it as OK and am rebuilding the volume now. Second time this has happened – if it happens once more then maybe it is time to actually replace the physical disc.</p>
<p>*Sigh* I hate disc failures.</p>
<p><a href="http://www.bahree.com/amit/blog_images/RAIDBlues_C4B2/image.png" rel="lightbox[1334]"><img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://www.bahree.com/amit/blog_images/RAIDBlues_C4B2/image_thumb.png" width="376" height="197" /></a></p>
<p><img src="http://desigeek.com/weblog/aggbug.aspx?PostID=5285" width="1" height="1"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F04%2F04%2Fraid-blues%2F&amp;title=RAID%20Blues" id="wpa2a_38"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/04/04/raid-blues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>foldl&#039; better than foldl</title>
		<link>http://desigeek.com/blog/amit/2009/04/04/foldl-better-than-foldl/</link>
		<comments>http://desigeek.com/blog/amit/2009/04/04/foldl-better-than-foldl/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 12:13:00 +0000</pubDate>
		<dc:creator>Amit Bahree</dc:creator>
				<category><![CDATA[.geek]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In Haskell the foldl&#39; function defined in the module Data.List is better than foldl because that does not use a thunk. A thunked expression&#160;requires an internal stack. As an expression can grow infinitely large,&#160;the runtime imposes a limit on the size of this stack. As the simple example below shows that given a large enough [...]]]></description>
			<content:encoded><![CDATA[<p>In Haskell the foldl&#39; function defined in the module Data.List is better than foldl because that does not use a <a title="thunk" href="http://www.haskell.org/haskellwiki/Thunk" target="_blank">thunk</a>. A thunked expression&nbsp;requires an internal stack. As an expression can grow infinitely large,&nbsp;the runtime imposes a limit on the size of this stack. As the simple example below shows that given a large enough input the stack will overflow.</p>
<p><font face="courier new,courier">Prelude&gt; foldr (+) 0 [1..100]<br />5050<br />Prelude&gt; foldl (+) 0 [1..100]<br />5050<br />Prelude&gt; foldl (+) 0 [1..1000]<br />500500<br />Prelude&gt; foldl (+) 0 [1..10000]<br />50005000<br />Prelude&gt; foldl (+) 0 [1..100000]<br />5000050000<br />Prelude&gt; foldl (+) 0 [1..1000000]<br />*** Exception: stack overflow</font></p>
<p>On the other hand, foldl&#39; while similar to foldl does not build up on thunks and in real world programs is probably more useful.</p>
<p><font face="courier new,courier">Prelude&gt; :module +Data.List<br />Prelude Data.List&gt; foldl&#39; (+) 0 [1..1000000]<br />500000500000<br />Prelude Data.List&gt; foldl&#39; (+) 0 [1..1000000]<br />500000500000<br />Prelude Data.List&gt; foldl&#39; (+) 0 [1..10000000]<br />50000005000000</font></p>
<p><img src="http://desigeek.com/weblog/aggbug.aspx?PostID=5284" width="1" height="1"></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdesigeek.com%2Fblog%2Famit%2F2009%2F04%2F04%2Ffoldl-better-than-foldl%2F&amp;title=foldl%26%23039%3B%20better%20than%20foldl" id="wpa2a_40"><img src="http://desigeek.com/blog/amit/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://desigeek.com/blog/amit/2009/04/04/foldl-better-than-foldl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

