<?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/"
	>

<channel>
	<title>My Life In Code</title>
	<atom:link href="http://www.mylifeincode.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mylifeincode.com</link>
	<description>.:: Turning Caffeine Into Code Since 1995.</description>
	<pubDate>Thu, 18 Mar 2010 01:29:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Free Antivirus Recommendations (Protect Yourself Online With Free AntiVirus Software).</title>
		<link>http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/</link>
		<comments>http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 15:12:17 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[software]]></category>

		<category><![CDATA[antivirus]]></category>

		<category><![CDATA[Free]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=163</guid>
		<description><![CDATA[I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more difficult to find a simple antivirus or rootkit scanner, without system tuning, performance monitoring and benchmarking bloat that the big guys were packaging with their [...]]]></description>
			<content:encoded><![CDATA[<p>I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more difficult to find a simple antivirus or rootkit scanner, without system tuning, performance monitoring and benchmarking bloat that the big guys were packaging with their virus scanner.</p>
<p>The great thing is - with all the free antivirus programs available today, <strong>you don&#8217;t need to shell out any money</strong> and most are simply virus protection without the bloat.</p>
<h2>Free Antivirus Recommendations</h2>
<p>There are many free antivirus programs on the Internet today. I&#8217;ve been looking for the best for my home PC, and to that end I examined ClamWin, Avast!, AVG, Antivir. Here are my thoughts on each:</p>
<h3><span style="text-decoration: underline;"><a href="http://www.clamwin.com/content/view/71/1/">ClamWin.</a></span></h3>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/08/clamwin.jpg"><img class="size-medium wp-image-170 alignright" style="margin: 10px;" title="clamwin" src="http://www.mylifeincode.com/wp-content/uploads/2009/08/clamwin-300x206.jpg" alt="clamwin" width="300" height="206" /></a></p>
<p><strong>PROS:</strong><br />
ClamWin has an simple user interface, and is available in a <a href="http://portableapps.com/apps/utilities/clamwin_portable">portable version </a>that can run on a USB thumb drive.<br />
<strong><br />
CONS:</strong></p>
<p>Doesn&#8217;t include an on-access, real-time scanner. This means it&#8217;s basically relegated to an &#8220;after the fact&#8221; scanner - only worthwhile if you suspect you have an infection. This is enough to disqualify it from the running for my purpose, though I do use it on my thumb drive. I might come in handy if I need to diagnose a friend&#8217;s PC problem someday, (which actually happens quite a bit to me!)</p>
<h3><span style="text-decoration: underline;"><a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Ffree.avg.com%2F&amp;ei=3n9oSrStNY_UNeWW-c8M&amp;rct=j&amp;q=avg+free&amp;usg=AFQjCNGC_5wf_ZlpTvTBmerEaNG3uLMPgA">AVG.</a></span></h3>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/08/avg-free-edition_1.png"><img class="alignright size-medium wp-image-171" style="margin: 10px;" title="avg-free-edition_1" src="http://www.mylifeincode.com/wp-content/uploads/2009/08/avg-free-edition_1-300x220.png" alt="avg-free-edition_1" width="300" height="220" /></a>I then moved on to AVG. I have used (and still use today on my laptop) AVG 7.5 for over a year now with no complaints. When I saw they had a new version (8.0), with a slick new interface and a scan engine revamped for speed I figured I&#8217;d upgrade to 8.0 and be loving life.</p>
<p>Not so much.</p>
<p>AVG 8.0 would not work when installed on my 2000 desktop. It installed, but would not scan. Neither would it save any settings. There was no error message, it just behaved as though I never issued a command. In short, it blew me off. So I blew it off, and when back to 7.5.</p>
<p><strong>PROS:</strong><br />
The AVG 7.5 interface is simple, not slick but effective. It gets the job done, and uses minimal system resources to do it and that&#8217;s a plus in my book. AVG free offers email protection (inbound and outbound) as well as protection against worms, viruses, and Trojans.</p>
<p><strong>CONS:</strong><br />
AVG makes a rootkit detector and anti-phishing software, but offers both of these as separate programs. This might not bother some users, but it does provide a feature gap between its paid for counterparts like Symantec and McAfee.</p>
<p>Perhaps the biggest drawback to AVG 7.5 free is the scheduler. The user can schedule a full computer scan and daily definition updates, but they cannot choose the exact time of each. Instead, the interface offers a time range to choose from. For example, the user can select to have the definition updates downloaded between 6 am - 8 am, and the program will select a random time within that range. This is an annoyance, but could be problematic for users who shutdown their PCs at night.</p>
<h3><span style="text-decoration: underline;"><a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.free-av.com%2F&amp;ei=N4FoSuP-KYe6NY_u7doP&amp;rct=j&amp;q=antivir&amp;usg=AFQjCNH_6de77kH07uFTqXIL3idFhUtKcg">AntiVir</a></span></h3>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/08/antivir-personal-edition_3.png"><img class="alignright size-medium wp-image-172" style="margin: 10px;" title="antivir-personal-edition_3" src="http://www.mylifeincode.com/wp-content/uploads/2009/08/antivir-personal-edition_3-300x212.png" alt="antivir-personal-edition_3" width="300" height="212" /></a>Since the latest AVG interface was problematic on my older computer, I started my search again for a better option. Next I tried Avira Antivir Free. At first, this was a serious contender offering robust coverage of various types of attack. Then I noticed a serious flaw - no email scanner! Couple that with an obnoxious ad window, and it was on to the next candidate.</p>
<p><strong>PROS:</strong><br />
While AVG offers rootkit detection as a separate product, Antivir includes rootkit detection, as well as protection against worms, viruses, and Trojans. Antivir also includes protection against phishing.</p>
<p><strong>CONS:</strong><br />
Avira Antivir Free does not have an email scanner. This is something that is included with the other packages reviewed here, and it seems like a pretty big gap since email is a major entry point for virus infection. One of the biggest downsides, IMO, is an in-your-face very LARGE ad window that crops up daily. With the other options out there in the free antivirus market, this is enough to make me take a pass on AntiVir</p>
<h3><span style="text-decoration: underline;"><a href="http://www.avast.com/eng/avast-free-home-antivirus-antispyware.html">Avast! 4 Home Edition.</a></span></h3>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/08/avast-home-edition_1.png"><img class="alignnone size-medium wp-image-173" title="avast-home-edition_1" src="http://www.mylifeincode.com/wp-content/uploads/2009/08/avast-home-edition_1-300x99.png" alt="avast-home-edition_1" width="417" height="137" /></a></p>
<p>The last free antivirus program I tried was Avast! 4 Home Edition. Quite frankly, it&#8217;s the last one I tried because it was the best.</p>
<p><strong>PROS:<br />
</strong>Avast! includes Anti-spyware and Anti-rootkit built-in. Each is implemented in separate processes for scanning web, mail, P2P, IM, network and on access traffic. Each one of these processes can be stopped, started or disabled so if you don&#8217;t have P2P or IM software - you can disable it. This is quite handy on older PCs with less available resources. It also offers Automatic updates, Virus Chest and System integration. The UI is excellent (especially for a free app) and it supports 64-bit Windows and Internationalization.</p>
<p><strong>CONS:</strong><br />
I honestly haven&#8217;t noticed any real problems with Avast!. If I had to choose something, I suppose I&#8217;d say that it is a bit more heavy on the RAM usage than some of the others, but given the completeness of the features, I don&#8217;t think it&#8217;s excessive. Besides, the modular scanner architecture allows you to shut down or disable unneeded services.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F08%2F04%2Ffree-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software%2F';
  addthis_title  = 'Free+Antivirus+Recommendations+%28Protect+Yourself+Online+With+Free+AntiVirus+Software%29.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/Jg6'; return false;" href="http://www.mylifeincode.com/2009/06/18/windowscrollto-fails-under-overflow-y-auto-style/">Window.scrollTo Fails Under OVERFLOW-Y: auto Style.</a> <small>I was trying to subclass a Web Treeview control for my own evil purposes and ran into a sticky problem - scrollTo not working! Just for background, my evil purpose...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg9'; return false;" href="http://www.mylifeincode.com/2009/07/28/are-free-antivirus-and-firewall-products-really-any-good/">Are Free Antivirus and Firewall Products Really Any Good?</a> <small>There was a time in my life when I used security and protection suites like Norton and McAfee, but after a while I grew unsatisfied with them. "But Norton and...</small> </li> <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/cvW'; return false;" href="http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/">How to find what's running under SVCHost.exe</a> <small>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That's when...</small> </li> <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/7Ur'; return false;" href="http://gnetwork.com.au/technology/best-free-firewall-and-antivirus-suite/">Best Free Firewall and Antivirus Suite</a> <small>The best free Firewall and Antivirus Suite - all in one - is available as a freeware download now. Comodo Internet Security is the complete free security solution, that offers excellent protection on all fronts. The firewall has all the latest security features, and includes allow or block network access of......</small> </li> <li> <a onClick="window.location='http://bte.tc/kua'; return false;" href="http://healthspectator.com/2009/10/02/2628/">Health care workers nix flu shots</a> <small>The things they try to slip past you. We were catching up on our reading in the general press, in particular reading a piece in the New York Times about New York state requiring its health care workers to get both seasonal and swine flu vaccines, which has the unions......</small> </li> <li> <a onClick="window.location='http://bte.tc/7sV'; return false;" href="http://simpledebtfreefinance.com/save-money-with-free-software/">Save Money with Free Software.</a> <small>When I started this blog, I developed a sort of split personality. In my real life I'm a software engineer and all around computer geek. But when I sit down to write, or read a financial book or magazine, the finance driven "me" comes out. I never really noticed......</small> </li> <li> <a onClick="window.location='http://bte.tc/N85'; return false;" href="http://www.richcreditdebtloan.com/free-financial-management-software/">Free Financial Management Software</a> <small>When it comes to your getting out of debt, having the right software can actually make a real world of difference. Some people tend to manage their efforts at debt reduction with something that is as simple and as straight forward as a computer spreadsheet while other people tend toward......</small> </li> <li> <a onClick="window.location='http://bte.tc/dRt'; return false;" href="http://gotoretirement.com/2009/06/free-photo-image-editing-software-and-online-tools/">Free Photo and Image Editing Software and Online Tools</a> <small>I think baby boomers are developing a greater interest in improving, preserving, and sharing photographs. I know that I am. These include older family photos that may be in print form as well as more contemporary digital photos. The photos we inherit from older family members often need enhancing. So......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</title>
		<link>http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/</link>
		<comments>http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 14:18:07 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[software]]></category>

		<category><![CDATA[firewall]]></category>

		<category><![CDATA[Free]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=148</guid>
		<description><![CDATA[If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It&#8217;s as simple as that.
Hackers and hacker software are constantly probing the internet for computers without a firewall. When such a computer (A.K.A. &#8220;victim&#8221;) is found, it is targeted with spyware, [...]]]></description>
			<content:encoded><![CDATA[<p>If your home computer is connected to the internet, or to other computers that are connected to the internet -<strong> you need a firewall</strong>. It&#8217;s as simple as that.</p>
<p>Hackers and hacker software are constantly probing the internet for computers without a firewall. When such a computer (A.K.A. &#8220;victim&#8221;) is found, it is targeted with spyware, viruses, trojans, key stroke loggers and anything else a deviant mind can devise. If you don&#8217;t want to be a victim, then you need to protect yourself.</p>
<h2>How not to be a victim.</h2>
<p>Here are 2 really great personal firewall programs that are<strong> absolutely free</strong> for personal use.</p>
<h3>Comodo</h3>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/07/comodofw.gif"><img class="size-medium wp-image-153 alignright" style="margin: 10px;" title="comodo configuration" src="http://www.mylifeincode.com/wp-content/uploads/2009/07/comodofw-300x207.gif" alt="comodofw" width="300" height="207" /></a><br />
Comodo is free for home use. You may be wondering why a company would give away a program for free that is sold for $40 and more by other companies. This thought alone is often enough for many computer owners to skip the free alternative and shell out the money for the &#8220;internet protection&#8221; software suites.</p>
<p>This is a very normal concern, but here are some things to consider that will probably alleviate those worries.</p>
<p><strong>1). </strong>Take a look at those Internet protection suites and see what&#8217;s included.<br />
Often times, it&#8217;s not just a firewall but anti spyware, anti virus, web filters, system tuning and maintenance - in other words, the kitchen sink! This is because the makers of the all-inclusive software suites know that each piece isn&#8217;t worth the full price alone, or they would charge for each piece. So they package them all together and charge one price hoping you&#8217;ll need at least one of those products enough to buy the whole suite.</p>
<p><strong>2). </strong>Most free alternatives offer a slim feature set in the free version, but increased features for the professional version. Also, the free version is often times only free for indiviual use, not businesses. So the company or developer makes money from business use.</p>
<p>That being said, the free versions of Comodo and Zonealarm are more than enough for most home users.</p>
<p><strong>Comodo Features (courtesy of the Comodo website):</strong></p>
<ul>
<li>Complete protection from Hackers, Spyware, Trojans and Identity theft</li>
<li>Host Intrusion Prevention System stops malware from being installed</li>
<li>Free Download. No charges or license fees ever</li>
<li>Powerful and intuitive Security Rules Interface</li>
<li>&#8216;Smart&#8217; Popup Alerts</li>
<li>Application Behavior Analysis</li>
<li>Automatic &#8216;Firewall Training&#8217; mode</li>
<li>Windows Security Center Integration</li>
<li>Self Protection against Critical Process Termination</li>
<li>Application Recognition Database</li>
<li>Automatic Updates</li>
<li>Improved Firewall Event Logging</li>
<li>Submit Suspicious Files to Comodo</li>
</ul>
<p><strong>System Requirements (version 3.9)</strong></p>
<ul>
<li>Windows XP - 32 and 64 bit versions</li>
<li>Windows Vista - 32 and 64 bit versions</li>
<li> 64 Mb RAM</li>
<li> 50 Mb free disk space</li>
</ul>
<p>You can<a href="http://www.personalfirewall.comodo.com/benefits.html"> read more about the benefits Comodo Firewall here</a>.<br />
You can <a href="http://www.personalfirewall.comodo.com/">download Comodo Personal Firewall here.</a></p>
<h3>ZoneAlarm</h3>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/07/zonealarm-free_3.png"><img class="size-medium wp-image-156 alignright" style="margin: 10px;" title="zonealarm " src="http://www.mylifeincode.com/wp-content/uploads/2009/07/zonealarm-free_3-300x240.png" alt="zonealarm " width="300" height="240" /></a>ZoneAlarm started as a free only firewall, but experienced significant success and rapidly evolved into a Pro verison. I have used ZoneAlarm on my personal computers for years, with great results. When gathering links for this article, I realized it&#8217;s become pretty difficult to find the free for persoanla use version. It seems that ZoneLabs (the maker of ZoneAlarm) has gotten aggressive in promoting their professional (read: not-free) version. so far, the actual software has remained ad free, so I can&#8217;t complain too much.</p>
<p>Features:</p>
<ul>
<li>Systematically identifies hackers and blocks access attempts</li>
<li>Automatically makes your computer invisible to anyone on the Internet (Stealth Mode)</li>
<li>Intrusion Blocking systematically identifies hackers and blocks access attempts.</li>
<li>Stealth Mode automatically makes your computer invisible to anyone on the Internet.</li>
<li>Automatic Program Configuration provides safety and simplicity by automatically configuring programs. Automatically decides whether to allow or deny Internet access to individual programs.</li>
<li>Expert Controls give savvy users precise control over security settings.</li>
</ul>
<p>You can <a href="http://www.zonealarm.com/store/content/company/products/znalm/freeDownload.jsp">download ZoneAlarm Free here.</a></p>
<h2>Conclusion</h2>
<p>As I said, I&#8217;ve used ZoneAlarm for years and love it. I have only been using Comodo for a little over a year on my laptop and have had no problems with it.</p>
<p>The only downside to both is that the learning mode can be confusing for inexperienced users. Often times a popup will display asking the user if they want to allow application XYZ to act as a server. Most inexperienced users don&#8217;t know what the hell that means and can get flustered. What I&#8217;ve done is after installing the firewall, I run all known internet user apps (browser, IM chat, anti-virus update, email, etc&#8230;) to &#8220;teach&#8221; the firewall that these are certified apps. After that, I tell the user (usually a relative or close friend) if it prompts you in the future click &#8220;no&#8221; or call me.</p>
<p>Comodo advertises &#8220;Comodo Firewall  offers the highest levels of perimeter security against inbound and outbound threats&#8221; I tend to believe them only because I&#8217;ve found that comodo prompts me WAY more than Zonealarm. It seems that Comodo distinguishes how a url was requested by a browser. For example, if the user clicks a link from a word doc, then Comodo will interrupt and inform the user that another application has requested the browser load &#8220;.. www.abc.com&#8230;&#8221; This is great for experienced users, but will definitely be too much for the inexperenced grandma looking to chat with the grand kids&#8230; In that situation, I would recommend ZoneAlarm.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F30%2Ffree-firewall-recommendations-protect-yourself-online-with-these-free-firewalls%2F';
  addthis_title  = 'Free+Firewall+Recommendations+%28Protect+Yourself+Online+With+These+Free+Firewalls%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cvW'; return false;" href="http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/">How to find what's running under SVCHost.exe</a> <small>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That's when...</small> </li> <li> <a onClick="window.location='http://bte.tc/Efu'; return false;" href="http://www.mylifeincode.com/2009/07/09/google-chrome-the-os/">Google Chrome: the OS.</a> <small>Google announced last Tuesday that it has its sights on dethroning Microsoft as desktop OS king: "The new operating system, announced late Tuesday night on Google's Web site, will be...</small> </li> <li> <a onClick="window.location='http://bte.tc/GAq'; return false;" href="http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/">Free Antivirus Recommendations (Protect Yourself Online With Free AntiVirus Software).</a> <small>I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg9'; return false;" href="http://www.mylifeincode.com/2009/07/28/are-free-antivirus-and-firewall-products-really-any-good/">Are Free Antivirus and Firewall Products Really Any Good?</a> <small>There was a time in my life when I used security and protection suites like Norton and McAfee, but after a while I grew unsatisfied with them. "But Norton and...</small> </li> <li> <a onClick="window.location='http://bte.tc/JmP'; return false;" href="http://www.mylifeincode.com/2009/07/17/fun-with-cryptography/">Fun with Cryptography</a> <small>Here's a little Friday fun from Monty at MR01001101. He's got Cryptography and Steganography essays and, here's the fun bit, puzzles that take the user through a chain of tests...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/apjp'; return false;" href="http://www.richcreditdebtloan.com/save-time-money-and-space-in-over-80-ways/">Save Time, Money and Space in Over 80 Ways</a> <small>If you're looking for handy gadgets, tools and various items that can save you time, money or space (or all three!) this list of more than 80 top products is just what you need. Everyone's got saving money on their minds these days. Some of us are always looking to......</small> </li> <li> <a onClick="window.location='http://bte.tc/ECc'; return false;" href="http://gnetwork.com.au/lotto/free-lotto-software-best-to-win-jackpot/">Free Lotto Software - best to WIN Jackpot</a> <small>The best free Lotto software available - if you want to WIN the Jackpot - is by Ion Saliu at Saliu.com. MDIEditor And Lotto WE is by far the best Lotto program in its field, probably in the world. It has a completely different approach to looking at Lotto and Powerball......</small> </li> <li> <a onClick="window.location='http://bte.tc/aGDm'; return false;" href="http://topmarketingreview.com/blog/581/web-30-are-you-ready-for-cloud-marketing/">Web 3.0: Are You Ready for Cloud Marketing?</a> <small>We started with Web 1.0 as a way to access information on the Read-Only basis,  went into Web 2.0 where that information became a two-way street;  live web interaction and social media were born, and now it is time for Web 3.0 or in other words: Cloud Computing! According to wiki: "......</small> </li> <li> <a onClick="window.location='http://bte.tc/aUZT'; return false;" href="http://www.golfballdriver.com/golflogix-garmin-gps/">GolfLogix Garmin GPS</a> <small>User Reviews Send this to a friend GolfLogix Garmin GPS Manufacturer: GolfLogix Customer Rating: List Price: $299.95 Sale Price: $164.00 Availibility: Usually ships in 24 hours Free Shipping Available Buy Now Product Description Enjoy the advantage of GPS mapping on the golf course with the GolfLogix GPS-8 handheld unit,......</small> </li> <li> <a onClick="window.location='http://bte.tc/bPrv'; return false;" href="http://www.worldphoto360.com/top-best-100-incredibly-useful-free-mac-apps/">Top Best 100  Incredibly Useful & Free Mac Apps</a> <small>[/caption] Everyone loves free applications. One of the greatest things about Macs is the wealth of extremely talented developers that are willing to share their amazing creations without asking for a single cent. We’ve compiled an enormous list of 100 amazing free Mac applications that you can download and start......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Are Free Antivirus and Firewall Products Really Any Good?</title>
		<link>http://www.mylifeincode.com/2009/07/28/are-free-antivirus-and-firewall-products-really-any-good/</link>
		<comments>http://www.mylifeincode.com/2009/07/28/are-free-antivirus-and-firewall-products-really-any-good/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:10:56 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[software]]></category>

		<category><![CDATA[Free]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=143</guid>
		<description><![CDATA[There was a time in my life when I used security and protection suites like Norton and McAfee, but after a while I grew unsatisfied with them.
&#8220;But Norton and McAfee are giants in the industry that pack every last bit of there software with features users never dreamed of! What more could you want?&#8220;, I [...]]]></description>
			<content:encoded><![CDATA[<p>There was a time in my life when I used security and protection suites like Norton and McAfee, but after a while I grew unsatisfied with them.</p>
<p>&#8220;<em><strong>But Norton and McAfee are giants in the industry that pack every last bit of there software with features users never dreamed of! What more could you want?</strong></em>&#8220;, I hear you ask.</p>
<p>Well, that&#8217;s kind of the point. Over the years, software suites like these just continued full speed down the road to bloatware. They kept accumulating features like a snowball rolling down hill. They&#8217;ve got features and functionality I never used, and don&#8217;t really need quite frankly. Often times the system tuning and performance components just sat idle, using my system&#8217;s increasingly valuable and every more rare RAM. </p>
<p>I did what most people do, I suppose. I bitched incessantly about paying for features I didn&#8217;t use, didn&#8217;t want, and worst of all had to actively work at removing from my system! Most times that wasn&#8217;t even an option, since everything threaded together in a tight knot, with system failure at every turn so  that you couldn&#8217;t pick and choose the features you needed without having all the needless bloat to go along with it.</p>
<p>Then I realized that some other bright people were experiencing the same headaches and were in a position to do something about it. What they did was create their own programs to solve each discrete problem. In other words my friends, say farewell to bloatware!</p>
<p>So now I assemble a patch work of software products that do what I need. They do one thing, and do it well. I use one free program for firewall protection, another free program for virus protection, and various other applications for system tuning and performance, spyware, etc&#8230;.</p>
<p>I admit, I was hesitant at first. I had questions about how safe and effect these products were. I thought that they couldn&#8217;t be that good if they were free. Why would someone (or a company) produce software for free if other companies could make $40+ selling it?</p>
<p>Well, the answer is pretty simple. Makers of Comodo, and ZoneAlarm (my firewall products) as well as AVG Antivirus make money on the professional versions of their software as well as business users. </p>
<p>The general idea is that they offer a fully functional version free for personal use, and a different version with more features for a price. So far, with Comodo, ZoneAlarm, and AVG Antivirus I have been very satisfied with the performance and feature set of the free versions.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F28%2Fare-free-antivirus-and-firewall-products-really-any-good%2F';
  addthis_title  = 'Are+Free+Antivirus+and+Firewall+Products+Really+Any+Good%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg5'; return false;" href="http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/">How to fake a TreeNodeCollection subclass in .NET</a> <small>If you've ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg8'; return false;" href="http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/">How To Control Disk Thrash From ccmexec.exe (SMS Agent).</a> <small>Today started like any other day at work. I sat down, logged into my PC and was greeted by the thrashing sound of my hard drive. I've come to realize...</small> </li> <li> <a onClick="window.location='http://bte.tc/GTb'; return false;" href="http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/">How to Delete Empty Folders - FREE!</a> <small>While performing a disk cleanup recently, I had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg6'; return false;" href="http://www.mylifeincode.com/2009/06/18/windowscrollto-fails-under-overflow-y-auto-style/">Window.scrollTo Fails Under OVERFLOW-Y: auto Style.</a> <small>I was trying to subclass a Web Treeview control for my own evil purposes and ran into a sticky problem - scrollTo not working! Just for background, my evil purpose...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/ApU'; return false;" href="http://www.mytwodollars.com/2007/08/06/managing-your-money-on-an-apple-computer/">Managing Your Money On An Apple Computer.</a> <small>Anyone who manages their money on their computer knows about Quicken, which is probably the most popular of the personal finance software available today. However, for a lot of people just looking for simple money management tools might find Quicken to be a bit much...I know that when I first......</small> </li> <li> <a onClick="window.location='http://bte.tc/evD'; return false;" href="http://pecuniarities.com/my-favorite-money-and-time-saving-websites/232">My Favorite Money and Time Saving Websites</a> <small>Next to the TV, DVD, flushing toilet, hot shower, computer and properly working automatic garage door, the internet is one of the best inventions ever. In fact, living in the desert as I do, I couldn't get along without the internet. Even with the rising cost of internet service, the......</small> </li> <li> <a onClick="window.location='http://bte.tc/bde4'; return false;" href="http://www.worldphoto360.com/iphone-to-address-multitasking-complaint/">IPhone to address multitasking complaint</a> <small>[/caption] SEATTLE – Topping the wish list for the iPhone and the iPad: broader ability to run more than one program at a time. On Thursday, Apple Inc. will unveil updates to the software that powers both devices. Although Apple has provided no details, iPhone owners and computer programmers who......</small> </li> <li> <a onClick="window.location='http://bte.tc/aMpV'; return false;" href="http://fabiezone.com/index.php/2010/03/02/the-top-home-internet-business-opportunity-%e2%80%93-catapult-your-income-online/">The Top Home Internet Business Opportunity – Catapult Your Income Online</a> <small>What’s the best home internet business opportunity around today? For people looking to start making money online this question occupies your thoughts most of the time. Not surprising then, that a whole industry has sprung up selling the dream that easy cash can be made on the internet in a......</small> </li> <li> <a onClick="window.location='http://bte.tc/b6hx'; return false;" href="http://www.thegoodhuman.com/2010/05/07/quick-green-reads-for-the-weekend-volume-165/">Quick Green Reads For The Weekend Volume 165.</a> <small>I really think that I need this t-shirt. I find it hilarious and yet very, very sad at the same time. I have my credit card at the ready, but I haven't pulled the trigger yet. What do you think? Hmmm.... The natural foods world is one of so......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/28/are-free-antivirus-and-firewall-products-really-any-good/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How To Control Disk Thrash From ccmexec.exe (SMS Agent).</title>
		<link>http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/</link>
		<comments>http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 02:06:46 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Tips Tricks and Tweaks]]></category>

		<category><![CDATA[ccmexec.exe]]></category>

		<category><![CDATA[disk thrash]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[SMS Host Agent]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=136</guid>
		<description><![CDATA[Today started like any other day at work. I sat down, logged into my PC and was greeted by the thrashing sound of my hard drive. I&#8217;ve come to realize that the bottleneck in my work PC is by far the hard drive. I don&#8217;t need any bench marking software, I simple try to access [...]]]></description>
			<content:encoded><![CDATA[<p>Today started like any other day at work. I sat down, logged into my PC and was greeted by the thrashing sound of my hard drive. I&#8217;ve come to realize that the bottleneck in my work PC is by far the hard drive. I don&#8217;t need any bench marking software, I simple try to access a file or two. Sometimes, I simply open windows explorer and wait.</p>
<p>I finally got so disgusted I fired up <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fsysinternals%2Fbb896645.aspx&amp;ei=3SpmStOoB5HOM5C0tJQB&amp;usg=AFQjCNHXuPMlMQXHYI8SttVVq34x3eOhYw">procman</a> and dug through the activity to find the culprit.</p>
<p>I had to scroll down to the bottom of a couple thousand lines of activity before I saw a clear pattern, but lo and behold what I saw was incredible!</p>
<p><strong>There were literally thousands of disk writes to my pagefile - and all I had done was log in!</strong></p>
<p>The bizarre part was that the files being read and written to the swap file were <strong>files I was not touching</strong>.</p>
<p>I saw that the process performing all this thrashing was something called &#8220;ccmexec.exe&#8221;. I&#8217;d actually never heard of this process, but after some quick googling I discovered its the exe for the SMS Agent service.</p>
<p>This service (the  Systems Management Server service) performs an indexing or cataloging of all the files on the disk so that windows update will have the latest info on versions of OS files that may need patching. Sounds great, but I&#8217;m not sure it&#8217;s worth the cost considering the downtime and aggravation I experience waiting for this thing to chew through my 150GB drive.</p>
<p>My first instinct was to disable the service in the services control panel applet, but I figured that the corporate IT staff would eventually get a tad upset when they realized my system didn&#8217;t have the latest patches installed because I disabled the service.</p>
<p>So, I was faced with my own <a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FKobayashi_Maru&amp;ei=my1mSqmkMpXANoD3vJkB&amp;rct=j&amp;q=kobayashi+maru&amp;usg=AFQjCNEEZGcPKn0fUKtXd9Qj76OudtTQ2A">kobayashi maru scenario</a> : I was ineffective while this thing chewed threw my file system, but I couldn&#8217;t disable the service without sending up corporate red flags that I was a bad citizen.</p>
<p>Then I hit on a solution - a scheduled task to ensure the service did run, just not when I was busy working. I actually used two batch files, one for each task of starting and stopping the service.</p>
<p>Open up notepad (or your text editor of choice), and type the following:</p>
<blockquote><p>net start CcmExec</p></blockquote>
<p>save the file as <em>&#8220;SMS Agent start.bat&#8221;</em></p>
<p>Now, start a new text file and enter:</p>
<blockquote><p>
net stop CcmExec</p></blockquote>
<p>save the file as <em>&#8220;SMS Agent stop.bat&#8221;</em></p>
<p><strong>Note: </strong>you can also replace &#8220;net&#8221; with &#8220;sc&#8221;, to use the newer Service Control manager command line tool.</p>
<p>Then, set the startup type of the SMS Agent Host service to &#8220;Manual&#8221; in the services control panel applet.</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/07/sms-svc.jpg"><img src="http://www.mylifeincode.com/wp-content/uploads/2009/07/sms-svc.jpg" alt="sms-svc" title="sms-svc" width="444" height="756" class="alignnone size-full wp-image-137" /></a></p>
<p>Next, create a scheduled task to run after hours that runs the &#8220;SMS Agent start.bat&#8221; file, and another task that runs the  &#8220;SMS Agent stop.bat&#8221; before you get into the office.</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/07/sms-scheduler.jpg"><img src="http://www.mylifeincode.com/wp-content/uploads/2009/07/sms-scheduler.jpg" alt="sms-scheduler" title="sms-scheduler" width="868" height="337" class="alignnone size-full wp-image-138" /></a></p>
<p>The best of both worlds - you remain productive and a good corporate citizen (after hours)!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F23%2Fhow-to-control-disk-thrash-from-ccmexecexe-sms-agent%2F';
  addthis_title  = 'How+To+Control+Disk+Thrash+From+ccmexec.exe+%28SMS+Agent%29.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/937'; return false;" href="http://www.mylifeincode.com/2009/07/07/dude-wheres-my-folder-treeview/">Dude, Where's my Folder treeview?!</a> <small>After a wee bit O' overzealous registry cleaning last week, I had a minor panic. Well, a picture being worth a 1000 words, here's what I saw when I opened...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg4'; return false;" href="http://www.mylifeincode.com/2009/06/30/10-useful-often-overlooked-html-tags/">10 Useful, Often Overlooked HTML Tags.</a> <small>Pop quiz: When would you use the &lt;wbr&gt; tag, and what does it do? Yeah, I had no idea either. In fact, I had never even seen this tag before,...</small> </li> <li> <a onClick="window.location='http://bte.tc/GAq'; return false;" href="http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/">Free Antivirus Recommendations (Protect Yourself Online With Free AntiVirus Software).</a> <small>I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more...</small> </li> <li> <a onClick="window.location='http://bte.tc/GTb'; return false;" href="http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/">How to Delete Empty Folders - FREE!</a> <small>While performing a disk cleanup recently, I had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command...</small> </li> <li> <a onClick="window.location='http://bte.tc/dSH'; return false;" href="http://www.mylifeincode.com/2009/06/09/arraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator/">Arraylist and generics don't mix with IEnumerable(Of T).GetEnumerator.</a> <small>The other day I was writing an in-house tool to assist in some upgrades we were performing on client installations. This tool was supposed to perform its operations on a...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/k7'; return false;" href="http://frugaldad.com/2009/05/06/ultimate-money-saving-tips-collection/">Money Saving Tips: 122 Ways To Trim Your Budget</a> <small>A while back All You Magazine offered to give away a few subscriptions to Frugal Dad readers.  The rules for entering the contest were simple--leave a money saving tip in the comments.  What happened next was one of those magical moments you can only get from blogs, and the sense......</small> </li> <li> <a onClick="window.location='http://bte.tc/9vg'; return false;" href="http://www.mytwodollars.com/2008/03/28/tips-for-organizing-your-home-office/">Tips for Organizing Your Home Office.</a> <small>Because we are away camping this week, the following is a guest post from Emily over at Remodeling This Life. If you like what you see here, won't you consider subscribing to her feed? Is your workspace chaotic? Can't find things when you need them? Are you wasting time and......</small> </li> <li> <a onClick="window.location='http://bte.tc/CcP'; return false;" href="http://www.gatherlittlebylittle.com/2007/11/how-to-protect-your-personal-data-when-disaster-strikes/">How To Protect Your Personal Data When Disaster Strikes</a> <small>I've known for a long time that in the event of a disaster such as a flood, fire, hurricane or tornado that my personal data including health records, financial statements, insurance information, etc. would most likely be destroyed. I've known it's a risk yet I've done nothing about it.......</small> </li> <li> <a onClick="window.location='http://bte.tc/ez6'; return false;" href="http://www.handymanfixhomerepair.com/how-to-soundproof-a-room/">How to Soundproof a Room</a> <small>Whether you live by a busy road, you just had a new baby or your children have discovered the wonders of musical instruments, soundproofing a room has many benefits. Commonly, bedrooms are the rooms where soundproofing brings the most benefit, but literally any room can be soundproofed. It’s easier than......</small> </li> <li> <a onClick="window.location='http://bte.tc/AnN'; return false;" href="http://www.baumel.com/2009/05/clear-the-page-file-on-shutdown-in-xp/">Clear the page file on Shutdown in XP</a> <small>This is one of those tweaks for XP that is useful if you have users that have a lot of sensitive information on their machines and you want to be sure that none of that information is left in the Page File forever.  It's not a panacea, but is extra......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lessons in Software Development From the Apollo Moon Missions.</title>
		<link>http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/</link>
		<comments>http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 01:59:37 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[iterative]]></category>

		<category><![CDATA[methodology]]></category>

		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=128</guid>
		<description><![CDATA[
Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it&#8217;s also relevant to software development.
To understand the significance of the Apollo program from an engineering standpoint, we must begin at the beginning&#8230;
Gus Grissom, Ed White and Roger B. Chaffee were [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/07/apollo11_launch.jpg"><img class="size-medium wp-image-130 alignleft" style="margin: 10px;" title="apollo11_launch" src="http://www.mylifeincode.com/wp-content/uploads/2009/07/apollo11_launch-218x300.jpg" alt="apollo11_launch" width="218" height="300" /></a><br />
Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it&#8217;s also relevant to software development.</p>
<p>To understand the significance of the Apollo program from an engineering standpoint, we must begin at the beginning&#8230;<br />
Gus Grissom, Ed White and Roger B. Chaffee were killed on the launch pad when the Apollo 1 capsule burst into flames just prior to the launch test. What happened? Well, <a href="http://en.wikipedia.org/wiki/Apollo_1">according to Wikipedia</a> (I know, far from an unimpeachable source, but bear with me here):</p>
<blockquote><p>&#8220;Although the ignition source of the fire was never conclusively identified, the astronauts&#8217; deaths were attributed to a wide range of lethal design hazards in the early Apollo command module. Among these were the use of a high-pressure 100 percent-oxygen atmosphere for the test, wiring and plumbing flaws, flammable materials in the cockpit (such as Velcro), an inward-opening hatch that would not open in this kind of an emergency and the flight suits worn by the astronauts.&#8221;</p></blockquote>
<p>In short, no one knows for sure what specifically caused the fire, but everyone agrees that some fundamental errors led to the conditions (whatever they ultimately were).</p>
<p>what really went wrong was at the planning and design stage. NASA was in such a rush to make up lost time in the space race with the USSR, that they got cocky after early successes, cut corners and went full bore toward a fully manned, Apollo capsule before they were really ready.</p>
<p>The precursor missions to Apollo were the Mercury and Gemini projects. These projects had highly specific mission statements and each was directed toward a discrete piece of the overall lunar landing mission. Project Mercury was directed toward getting a man into space, and back again. The goal of project Gemini  was to perform extra-vehicular activity (pre-cursor to space walk), and docking maneuvers.</p>
<p>NASA began the mission to the moon with an iterative approach, but switch to a more waterfall like approach where they tried to construct a whole new capsule module from scratch, with the intent of landing on the moon and returning. <strong>They used the knowledge gained from the earlier Mercury and Gemini projects, but constructed new - and untested - equipment for Apollo.</strong></p>
<p>The parallel to software development is using an iterative approach to develop phase I of a project, only to throw it away and start over on phase II. The whole purpose of the iterative approach is to focus on small, achievable parts of a greater whole to maintain momentum but also to limit what must be tested and hence limit (theoretically) the universe of possible bugs.</p>
<p>I think the 2 most important software development lessons we can learn from the Mercury, Gemini and Apollo missions are:</p>
<ol>
<li><strong>To be successful, have clear and concise mission objectives (goals).</strong></li>
<li><strong>Start small, and build on each success.</strong></li>
</ol>
<p>This is what made the Gemini and Mercury missions so successful, and ultimately made Apollo 11 possible and it will drastically improve the odds of your next software project being a success as well.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F21%2Flessons-in-software-development-from-the-apollo-moon-missions%2F';
  addthis_title  = 'Lessons+in+Software+Development+From+the+Apollo+Moon+Missions.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg6'; return false;" href="http://www.mylifeincode.com/2009/06/18/windowscrollto-fails-under-overflow-y-auto-style/">Window.scrollTo Fails Under OVERFLOW-Y: auto Style.</a> <small>I was trying to subclass a Web Treeview control for my own evil purposes and ran into a sticky problem - scrollTo not working! Just for background, my evil purpose...</small> </li> <li> <a onClick="window.location='http://bte.tc/JmP'; return false;" href="http://www.mylifeincode.com/2009/07/17/fun-with-cryptography/">Fun with Cryptography</a> <small>Here's a little Friday fun from Monty at MR01001101. He's got Cryptography and Steganography essays and, here's the fun bit, puzzles that take the user through a chain of tests...</small> </li> <li> <a onClick="window.location='http://bte.tc/d5C'; return false;" href="http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/">Microsoft FxCop doesn't like Microsoft generated code!</a> <small>The other day I thought it might be nice to "do the right thing" and give my code a run against Microsoft's FxCop. I ran it right out of the...</small> </li> <li> <a onClick="window.location='http://bte.tc/Efu'; return false;" href="http://www.mylifeincode.com/2009/07/09/google-chrome-the-os/">Google Chrome: the OS.</a> <small>Google announced last Tuesday that it has its sights on dethroning Microsoft as desktop OS king: "The new operating system, announced late Tuesday night on Google's Web site, will be...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/jDk'; return false;" href="http://www.handymanfixhomerepair.com/rookie-and-beginner-woodwork-projects/">Rookie and Beginner Woodwork Projects</a> <small>Just like with many other types of jobs, when it comes to woodwork projects, planning is of the utmost level of importance. Cutting wood and working with wood is always going to demand that you utilize careful planning and a step by step approach toward reaching the ultimate goal for......</small> </li> <li> <a onClick="window.location='http://bte.tc/bTuq'; return false;" href="http://www.golfballdriver.com/skygolf-skycaddie-sg3-5-gps-rangefinder/">SkyGolf SkyCaddie SG3.5 GPS Rangefinder</a> <small>User Reviews Send this to a friend SkyGolf SkyCaddie SG3.5 GPS Rangefinder Manufacturer: SkyGolf GPS Customer Rating: List Price: $329.95 Sale Price: $209.99 Availibility: Usually ships in 1-2 business days Buy Now Product Description SkyGolf SG3.5 GPS The SG3.5 is fully-featured and has a large screen that displays distances......</small> </li> <li> <a onClick="window.location='http://bte.tc/b8Nf'; return false;" href="http://bestdaytradingsoftware.org/forex-courses-in-chennai">Forex Courses In Chennai</a> <small>Role of human resources consultants in India with regard to the IT sector COVER 1. Sachin Kumar Name:. N. Naravane 2. Occupation: Sr.Lecturer-MBA 3. Place: Koppal, Karnataka state and India 4. E-mail : Sachin_naravani@yahoo.co.in The role of consultants HR job with reference IT industry in India ABSTRACT Consultancy in India......</small> </li> <li> <a onClick="window.location='http://bte.tc/c2VV'; return false;" href="http://fabiezone.com/the-correct-project-start-developing-end">The Correct Project: Start, Developing, End.</a> <small>Main principles of making short projects. As an example of short projects on working out of software it is possible to result site working out, small information systems for own needs, the first versions of programs for external consumers, working out of shareware and so on. Such short project usually......</small> </li> <li> <a onClick="window.location='http://bte.tc/czCS'; return false;" href="http://smartbizprofits.com/cpa-marketing-illinois/">cpa marketing illinois</a> <small>[mage lang="" source="flickr"]cpa marketing illinois[/mage] A Short History of Systems Development"If they do not have an appreciation of whence we came, I doubt they will have an appreciation of where we should be going." - Bryce's Law INTRODUCTION I always find it amusing when I tell a young person in......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fun with Cryptography</title>
		<link>http://www.mylifeincode.com/2009/07/17/fun-with-cryptography/</link>
		<comments>http://www.mylifeincode.com/2009/07/17/fun-with-cryptography/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 14:13:22 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

		<category><![CDATA[cryptography]]></category>

		<category><![CDATA[steganography]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=114</guid>
		<description><![CDATA[Here&#8217;s a little Friday fun from Monty at MR01001101.
He&#8217;s got Cryptography and Steganography essays and, here&#8217;s the fun bit, puzzles that take the user through a chain of tests through his site.
Puzzles range from simple alphabetic substitution to symbolic images to Egyptian hieroglyphs. Fun stuff, and it&#8217;ll give your brain a workout too.
Wonder what&#8217;s behind [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little Friday fun from Monty at <a href="http://www.mr01001101.co.uk/">MR01001101.</p>
<p></a>He&#8217;s got Cryptography and Steganography essays and, here&#8217;s the fun bit, puzzles that take the user through a chain of tests through his site.</p>
<p>Puzzles range from simple alphabetic substitution to symbolic images to Egyptian hieroglyphs. Fun stuff, and it&#8217;ll give your brain a workout too.</p>
<p>Wonder what&#8217;s behind the cryptic sounding name of MR01001101 ? Well, it&#8217;s not as mysterious as it sounds:</p>
<blockquote><p>
&#8220;Why 01001101? It is binary for M and it arrived when I signed up for my first geocities site drunk. I also bought this domain intoxicated. Will I ever learn?&#8221;</p>
</blockquote>
<p> <img src='http://www.mylifeincode.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F17%2Ffun-with-cryptography%2F';
  addthis_title  = 'Fun+with+Cryptography';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/GTb'; return false;" href="http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/">How to Delete Empty Folders - FREE!</a> <small>While performing a disk cleanup recently, I had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command...</small> </li> <li> <a onClick="window.location='http://bte.tc/d5C'; return false;" href="http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/">Microsoft FxCop doesn't like Microsoft generated code!</a> <small>The other day I thought it might be nice to "do the right thing" and give my code a run against Microsoft's FxCop. I ran it right out of the...</small> </li> <li> <a onClick="window.location='http://bte.tc/cbQ'; return false;" href="http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/">The 3 Most Important Questions You Should Ask About Each Bug You Find.</a> <small>I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it: "The key idea behind...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg7'; return false;" href="http://www.mylifeincode.com/2009/06/16/ie7-webcontrol-treeview-line-gap-in-quirks-mode/">IE7 WebControl TreeView line gap in quirks mode.</a> <small>I've been writing a subclass of the MS Webcontrol.TreeView control for one of our Web Applications at work. I figured this would be a fairly easy task, since I only...</small> </li> <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/z8H'; return false;" href="http://quickpenmanship.com/get-more-wii-games-with-download-games-for-wii/">Get More Wii Games With Download Games For Wii</a> <small>People tend to do a lot of different things especially when they are to wipe away stress, pressure, and all the undesired feelings they feel from the day to day encounters. However, it has been found out that one of the common things that people do to relax is......</small> </li> <li> <a onClick="window.location='http://bte.tc/TvK'; return false;" href="http://afterthealter.com/how-fun-is-this-site-loving-polyvore/">How Fun Is This Site? Loving Polyvore!</a> <small>Ok all you fashionistas! I found a wonderful site! (warning it can be addicting) The site is called Polyvore, and the site is super fun for those who like shopping online. Personally, I am not a huge online shopper because I hate not knowing how something looks when it actually......</small> </li> <li> <a onClick="window.location='http://bte.tc/7Vq'; return false;" href="http://toughmoneylove.com/2009/05/24/hard-truth-week-review/">Hard Truth Week in Review- Memorial Day Edition</a> <small>Mrs. ToughMoneyLove and I are spending the long weekend at the lake with family (and rain, unfortunately). So this time is about enjoying the fruits of financial planning, all while remembering and appreciating the sacrifices of our fallen veterans. I did read a few things this past week that I......</small> </li> <li> <a onClick="window.location='http://bte.tc/apjp'; return false;" href="http://www.richcreditdebtloan.com/save-time-money-and-space-in-over-80-ways/">Save Time, Money and Space in Over 80 Ways</a> <small>If you're looking for handy gadgets, tools and various items that can save you time, money or space (or all three!) this list of more than 80 top products is just what you need. Everyone's got saving money on their minds these days. Some of us are always looking to......</small> </li> <li> <a onClick="window.location='http://bte.tc/jJm'; return false;" href="http://nutritionfitnesslife.com/flu-information/">Why You Catch the Flu in the Winter and Other Related Info...</a> <small>Here's another piece of information to store in your head: It appears scientists have realized why influenza outbreaks occur primarily in the winter. Influenza viruses survive in the cold, dry air better than in a warmer, more humid environment. That's why the flu is uncommon during the summer or in......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/17/fun-with-cryptography/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The 3 Most Important Questions You Should Ask About Each Bug You Find.</title>
		<link>http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/</link>
		<comments>http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 14:53:44 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[analysis]]></category>

		<category><![CDATA[methodology]]></category>

		<category><![CDATA[process]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=122</guid>
		<description><![CDATA[I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it:
&#8220;The key idea behind these questions is that every bug is a symptom of an underlying process. You have to treat the symptoms, but if all you do is treat [...]]]></description>
			<content:encoded><![CDATA[<p>I stumbled upon (<a href="http://www.stumbleupon.com/">quite literally</a>) an article by Tom Van Vleck titled <a href="http://www.multicians.org/thvv/threeq.html"><em>Three Questions About Each Bug You Find</em></a> today, and thought I would share it:</p>
<blockquote><p>&#8220;The key idea behind these questions is that every bug is a symptom of an underlying process. You have to treat the symptoms, but if all you do is treat symptoms, you&#8217;ll continue to see more symptoms forever. You need to find out what process produced the bug and change the process. The underlying process that caused your bug is probably non-random and can be controlled, once you identify what happened and what caused it to happen.&#8221;</p></blockquote>
<p>Tom uses these questions to get to the heart of the matter and weed out the root cause of the bug.</p>
<h3>1. Is this mistake somewhere else also?</h3>
<p>You want to know if this bug was unique, or due to a problem in a pattern of approach to the specific problem. If it&#8217;s unique, you can move on to the next question, but if it&#8217;s systemic, you&#8217;ll need to address your approach to the development problem the code was intended to solve and devise a new pattern or correct the one in place.</p>
<h3>2. What next bug is hidden behind this one?</h3>
<p>Often times a bug will either halt the execution of code, or cause the lines after the bug to be bypassed. once you fix the bug, those other lines of code will begin to execute. Be sure to check those for any bugs. Also, consider whether your fix to this bug could cause any new bugs to be introduced.</p>
<h3>3. What should I do to prevent bugs like this?</h3>
<p>Learn from this mistake. Could the problem be avoided by adding a new test condition to your NUnit test(s)? Should you implement a change to your pattern to check for null reference or out of bounds exceptions sooner? Bugs happen, but if you can use them as teachable moments and learn from them, then they will at least provide some value and make you less likely to run into the same bug in the future.</p>
<p>It&#8217;s not always an easy process, mostly because it requires a sort of detached introspection and willingness to be critical and objective when looking at your work. These character traits are not always in high supply, and we humans can often get in the way, but if you can master these techniques you will go far young padawan.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F14%2Fthe-3-most-important-questions-you-should-ask-about-each-bug-you-find%2F';
  addthis_title  = 'The+3+Most+Important+Questions+You+Should+Ask+About+Each+Bug+You+Find.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/Jg5'; return false;" href="http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/">How to fake a TreeNodeCollection subclass in .NET</a> <small>If you've ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg7'; return false;" href="http://www.mylifeincode.com/2009/06/16/ie7-webcontrol-treeview-line-gap-in-quirks-mode/">IE7 WebControl TreeView line gap in quirks mode.</a> <small>I've been writing a subclass of the MS Webcontrol.TreeView control for one of our Web Applications at work. I figured this would be a fairly easy task, since I only...</small> </li> <li> <a onClick="window.location='http://bte.tc/Efu'; return false;" href="http://www.mylifeincode.com/2009/07/09/google-chrome-the-os/">Google Chrome: the OS.</a> <small>Google announced last Tuesday that it has its sights on dethroning Microsoft as desktop OS king: "The new operating system, announced late Tuesday night on Google's Web site, will be...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg8'; return false;" href="http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/">How To Control Disk Thrash From ccmexec.exe (SMS Agent).</a> <small>Today started like any other day at work. I sat down, logged into my PC and was greeted by the thrashing sound of my hard drive. I've come to realize...</small> </li> <li> <a onClick="window.location='http://bte.tc/d5C'; return false;" href="http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/">Microsoft FxCop doesn't like Microsoft generated code!</a> <small>The other day I thought it might be nice to "do the right thing" and give my code a run against Microsoft's FxCop. I ran it right out of the...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/7gP'; return false;" href="http://nutritionfitnesslife.com/pregnancy-fetal-development-at-week-1/">Pregnancy Fetal Development at Week 1</a> <small>Although it may seem strange to think about, the journey of your pregnancy actually begins before the baby has actually been conceived. The very first week of your pregnancy does not begin with conception, or with the growth of the fetus in your body, but rather it begins with the......</small> </li> <li> <a onClick="window.location='http://bte.tc/65X'; return false;" href="http://thatparentplace.com/2008/04/23/language-development-and-your-four-year-old/">Language Development and your Four Year Old</a> <small>The preschool age is a wonderful age during childhood and I really enjoyed teaching children in this age group.  They are interested in learning about any topic from bugs to space and have countless questions for you to answer.  Developmentally, they should be at a level to really express their......</small> </li> <li> <a onClick="window.location='http://bte.tc/6WN'; return false;" href="http://www.gatherlittlebylittle.com/2007/11/credit-is-a-disease-you-wont-catch-here/">Credit is a disease you won&#039;t catch here</a> <small>One evening a few weeks ago, we stopped at our local convenience store to get some gas. I walked inside to grab a drink. I don't recall the details of the conversation, but at some point the clerk working the counter said: Credit is a disease that you won't......</small> </li> <li> <a onClick="window.location='http://bte.tc/czCS'; return false;" href="http://smartbizprofits.com/cpa-marketing-illinois/">cpa marketing illinois</a> <small>[mage lang="" source="flickr"]cpa marketing illinois[/mage] A Short History of Systems Development"If they do not have an appreciation of whence we came, I doubt they will have an appreciation of where we should be going." - Bryce's Law INTRODUCTION I always find it amusing when I tell a young person in......</small> </li> <li> <a onClick="window.location='http://bte.tc/zsk'; return false;" href="http://nutritionfitnesslife.com/baby-development-milestones-at-week-5/">Baby Development Milestones at Week 5</a> <small>After weeks' worth of rapid cell development, one of the biggest baby development milestones during this week is that your baby is taking on a much more distinct form. During your fifth week worth of pregnancy, here are some of the things that are happening inside of you: Your baby's......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Chrome: the OS.</title>
		<link>http://www.mylifeincode.com/2009/07/09/google-chrome-the-os/</link>
		<comments>http://www.mylifeincode.com/2009/07/09/google-chrome-the-os/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 13:47:13 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[software]]></category>

		<category><![CDATA[Chrome]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=119</guid>
		<description><![CDATA[Google announced last Tuesday that it has its sights on dethroning Microsoft as desktop OS king:
&#8220;The new operating system, announced late Tuesday night on Google&#8217;s Web site, will be based on the company&#8217;s nine-month-old Web browser, Chrome. Google intends to rely on help from the community of open-source programmers to develop the Chrome operating system, [...]]]></description>
			<content:encoded><![CDATA[<p>Google announced last Tuesday that it has its sights on <a href="http://finance.yahoo.com/news/Googles-new-operating-system-apf-3422727478.html?x=0&#038;sec=topStories&#038;pos=3&#038;asset=&#038;ccode=">dethroning Microsoft as desktop OS king</a>:</p>
<blockquote><p>&#8220;The new operating system, announced late Tuesday night on Google&#8217;s Web site, will be based on the company&#8217;s nine-month-old Web browser, Chrome. Google intends to rely on help from the community of open-source programmers to develop the Chrome operating system, which is expected to begin running computers in the second half of 2010.&#8221;</p></blockquote>
<p>Google is focusing on the Netbook market, which is a smart first step. I&#8217;m not sure how successful they will ultimately be beyond that though. Netbooks are perfectly suited to a browser based OS - they&#8217;ve got inherently less RAM and CPU power and are targeted specifically to the Internet/e-mail user. I don&#8217;t see any wholesale switch from Windows anytime soon for one of Microsoft&#8217;s major demographics - business users.</p>
<p>Also, gamers and developer are likely to stay with Linux and Windows, at least for the time being. But, having said that, Google&#8217;s OS is built on Linux, so there probably wouldn&#8217;t be that big a change from, say Ubunto to Chrome (or whatever they end up calling it)..</p>
<p>Of course, I&#8217;ll still have to give it a try when it comes out&#8230; just for curiosity&#8217;s sake! <img src='http://www.mylifeincode.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F09%2Fgoogle-chrome-the-os%2F';
  addthis_title  = 'Google+Chrome%3A+the+OS.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/Jg7'; return false;" href="http://www.mylifeincode.com/2009/06/16/ie7-webcontrol-treeview-line-gap-in-quirks-mode/">IE7 WebControl TreeView line gap in quirks mode.</a> <small>I've been writing a subclass of the MS Webcontrol.TreeView control for one of our Web Applications at work. I figured this would be a fairly easy task, since I only...</small> </li> <li> <a onClick="window.location='http://bte.tc/GAq'; return false;" href="http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/">Free Antivirus Recommendations (Protect Yourself Online With Free AntiVirus Software).</a> <small>I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more...</small> </li> <li> <a onClick="window.location='http://bte.tc/GTb'; return false;" href="http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/">How to Delete Empty Folders - FREE!</a> <small>While performing a disk cleanup recently, I had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg5'; return false;" href="http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/">How to fake a TreeNodeCollection subclass in .NET</a> <small>If you've ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg6'; return false;" href="http://www.mylifeincode.com/2009/06/18/windowscrollto-fails-under-overflow-y-auto-style/">Window.scrollTo Fails Under OVERFLOW-Y: auto Style.</a> <small>I was trying to subclass a Web Treeview control for my own evil purposes and ran into a sticky problem - scrollTo not working! Just for background, my evil purpose...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/BsS'; return false;" href="http://www.buildify.com/review-of-windows-live-writer/">Review of Windows Live Writer</a> <small>When you find a tool that makes life easier, there is nothing more exciting. The need for corporations to simplify and systematize their processes has to do with working smart and taking advantage of things that allow workers to reach their goals without having to work quite as hard. One......</small> </li> <li> <a onClick="window.location='http://bte.tc/bAD2'; return false;" href="http://www.worldphoto360.com/microsoft-predicts-fast-adoption-of-office-2010/">Microsoft Predicts Fast Adoption of Office 2010</a> <small>[/caption] By Dina Bass Microsoft Corp. expects customers to adopt the new version of Office at the fastest pace in the software’s 20-year history, helping reverse a sales slump and fend off competition from Google Inc.’s Web-based programs. The software has been tested by 7.5 million users, three times as......</small> </li> <li> <a onClick="window.location='http://bte.tc/a-Mm'; return false;" href="http://www.worldphoto360.com/apple-ipad-hands-on-review/">Apple iPad hands-on review</a> <small>[/caption] The Apple iPad is an unprecedented device. It doesn't shoot rainbows or make puppies, but this roughly 8x10-inch tablet computer melds your laptop, smartphone, gaming console, and iPod into a single, affordable, unfortunately named thing. Of course, we come to you with a standard list of complaints. The absence......</small> </li> <li> <a onClick="window.location='http://bte.tc/ay5f'; return false;" href="http://www.worldphoto360.com/google-shows-off-chrome-os-tablet-ideas/">Google shows off Chrome OS tablet ideas</a> <small>[/caption] By Stephen Shankland - CNN Tech Who could resist the months of hype that paved the way for Apple's iPad debut last week? Apparently not Google, which has shown its interest in tablet computing with its browser-based Chrome OS. On Monday, Glen Murphy, a user interface designer for Google's......</small> </li> <li> <a onClick="window.location='http://bte.tc/bPrv'; return false;" href="http://www.worldphoto360.com/top-best-100-incredibly-useful-free-mac-apps/">Top Best 100  Incredibly Useful & Free Mac Apps</a> <small>[/caption] Everyone loves free applications. One of the greatest things about Macs is the wealth of extremely talented developers that are willing to share their amazing creations without asking for a single cent. We’ve compiled an enormous list of 100 amazing free Mac applications that you can download and start......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/09/google-chrome-the-os/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dude, Where&#8217;s my Folder treeview?!</title>
		<link>http://www.mylifeincode.com/2009/07/07/dude-wheres-my-folder-treeview/</link>
		<comments>http://www.mylifeincode.com/2009/07/07/dude-wheres-my-folder-treeview/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 14:50:31 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Tips Tricks and Tweaks]]></category>

		<category><![CDATA[explorer]]></category>

		<category><![CDATA[folder view]]></category>

		<category><![CDATA[registry hack]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=107</guid>
		<description><![CDATA[After a wee bit O&#8217; overzealous registry cleaning last week, I had a minor panic. Well, a picture being worth a 1000 words, here&#8217;s what I saw when I opened windows explorer:

The good news (I suppose) is that I knew the instant I hit the Delete key that I had selected the wrong key. The [...]]]></description>
			<content:encoded><![CDATA[<p>After a wee bit O&#8217; overzealous registry cleaning last week, I had a minor panic. Well, a picture being worth a 1000 words, here&#8217;s what I saw when I opened windows explorer:</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/07/dude-missing-folder-treeview.gif"><img class="alignnone size-full wp-image-108" title="dude-missing-folder-treeview" src="http://www.mylifeincode.com/wp-content/uploads/2009/07/dude-missing-folder-treeview.gif" alt="dude-missing-folder-treeview" width="450" height="321" /></a></p>
<p>The good news (I suppose) is that I knew the instant I hit the Delete key that I had selected the wrong key. The bad news was that I had no way of finding out what key that was.</p>
<p>So, I did some Googling for various permutations of &#8220;missing windows explorer folder treeview&#8221; and eventually stumble upon the following registry edit:<br />
<strong><code><br />
REGEDIT4</code></strong></p>
<p><strong>[HKEY_CLASSES_ROOT\CLSID\{EFA24E64-B078-11d0-89E4-00C04FC9E26E}]<br />
@=&#8221;Explorer Band&#8221;</strong></p>
<p><strong>[HKEY_CLASSES_ROOT\CLSID\{EFA24E64-B078-11d0-89E4-00C04FC9E26E}\InProcServer32]<br />
@=&#8221;C:\\WINNT\\SYSTEM32\\SHDOCVW.DLL&#8221;<br />
&#8220;ThreadingModel&#8221;=&#8221;Apartment&#8221;</strong></p>
<p><strong>[HKEY_CLASSES_ROOT\CLSID\{EFA24E64-B078-11d0-89E4-00C04FC9E26E}\Implemented Categories]</strong></p>
<p><strong>[HKEY_CLASSES_ROOT\CLSID\{EFA24E64-B078-11d0-89E4-00C04FC9E26E}\Implemented Categories\{00021493-0000-0000-C000-000000000046}]</strong></p>
<p>I saved that to a new notepad document, saved it with an &#8220;.reg&#8221; extension and double-clicked it. Voila, my missing treeview returned!</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/07/dude-missing-folder-treeview-after.gif"><img class="alignnone size-full wp-image-109" title="dude-missing-folder-treeview-after" src="http://www.mylifeincode.com/wp-content/uploads/2009/07/dude-missing-folder-treeview-after.gif" alt="dude-missing-folder-treeview-after" width="476" height="331" /></a></p>
<p>It sure beats reinstalling the OS for something so simple.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F07%2F07%2Fdude-wheres-my-folder-treeview%2F';
  addthis_title  = 'Dude%2C+Where%26%238217%3Bs+my+Folder+treeview%3F%21';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/Jg5'; return false;" href="http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/">How to fake a TreeNodeCollection subclass in .NET</a> <small>If you've ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg8'; return false;" href="http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/">How To Control Disk Thrash From ccmexec.exe (SMS Agent).</a> <small>Today started like any other day at work. I sat down, logged into my PC and was greeted by the thrashing sound of my hard drive. I've come to realize...</small> </li> <li> <a onClick="window.location='http://bte.tc/dSH'; return false;" href="http://www.mylifeincode.com/2009/06/09/arraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator/">Arraylist and generics don't mix with IEnumerable(Of T).GetEnumerator.</a> <small>The other day I was writing an in-house tool to assist in some upgrades we were performing on client installations. This tool was supposed to perform its operations on a...</small> </li> <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/cvW'; return false;" href="http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/">How to find what's running under SVCHost.exe</a> <small>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That's when...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cp8q'; return false;" href="http://weakonomics.com/2010/06/24/what-kind-of-news-influences-stock-prices-someone-has-the-answer/">What Kind Of News Influences Stock Prices? Someone Has The Answer</a> <small>You've probably seen this before: A company announces some kind of bad news and the stock price tanks. This happened to CVS few days ago when Walgreens announced they were ending a partnership with CVS. The price of CVS stock dropped something like 10%. That was big news and it......</small> </li> <li> <a onClick="window.location='http://bte.tc/bcfv'; return false;" href="http://www.worldphoto360.com/10-essential-ipad-tips-tricks/">10 Essential iPad Tips & Tricks</a> <small>[/caption] Any idiot can use an iPad at a basic level. It's designed that way. But even still, there are things that you're just supposed to magically know—things no one ever necessarily tells you. So we're here to help. The Soft Reset The single most common thing people don't realize......</small> </li> <li> <a onClick="window.location='http://bte.tc/bh7N'; return false;" href="http://bestdaytradingsoftware.org/expert-advisor-download">Expert Advisor Download</a> <small>can be computer experts out there help me? I&#39;ve been trying to download an update from windows &quot;media player&quot; but I keep getting a window called Content Advisor that asks for a password. I have no password and the person who made the computer does not know what the......</small> </li> <li> <a onClick="window.location='http://bte.tc/dmJ'; return false;" href="http://www.tennisracquetracket.com/6-tennis-tips-and-tricks/">6 Tennis Tips and Tricks</a> <small>Tennis tips and tricks are like small tweaks that you can make to your game in order to improve your play. If you are looking for a way to improve your capabilities as a tennis player, consider these tennis tips and tricks and then move on to look at other......</small> </li> <li> <a onClick="window.location='http://bte.tc/34d'; return false;" href="http://nutritionfitnesslife.com/4-weight-loss-tips-and-tricks/">4 Weight Loss Tips and Tricks</a> <small>The following weight loss tips and tricks are designed to help you lose weight more effectively and more efficiently than ever before. Following these weight loss tips and tricks is going to have a profound impact on your ability to lose weight quickly and healthfully. 1 - Find a weight......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/07/07/dude-wheres-my-folder-treeview/feed/</wfw:commentRss>
		</item>
		<item>
		<title>10 Useful, Often Overlooked HTML Tags.</title>
		<link>http://www.mylifeincode.com/2009/06/30/10-useful-often-overlooked-html-tags/</link>
		<comments>http://www.mylifeincode.com/2009/06/30/10-useful-often-overlooked-html-tags/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 23:40:10 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=103</guid>
		<description><![CDATA[Pop quiz: When would you use the &#60;wbr&#62;  tag, and what does it do?
Yeah, I had no idea either. In fact, I had never even seen this tag before, but it&#8217;s a list of 10 Rare HTML Tags You Really Should Know from Nettuts+
I have to say that most of these I hadn&#8217;t heard [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Pop quiz: </strong>When would you use the <code>&lt;wbr&gt; </code> tag, and what does it do?</p>
<p>Yeah, I had no idea either. In fact, I had never even seen this tag before, but it&#8217;s a list of <a href="http://net.tutsplus.com/articles/web-roundups/10-rare-html-tags-you-really-should-know">10 Rare HTML Tags You Really Should Know</a> from Nettuts+</p>
<p>I have to say that most of these I hadn&#8217;t heard of, but they are actually quite useful. Granted, I do most of my work in the .NET code behind and middle ware layers, but I do occasionally get to sling a bit of HTML, and I think I may start using some of these&#8230;</p>
<p>Oh, I almost forgot - the <code>&lt;wbr&gt; </code> tag allows you to specify a place where you think a line break might be useful, if needed.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F30%2F10-useful-often-overlooked-html-tags%2F';
  addthis_title  = '10+Useful%2C+Often+Overlooked+HTML+Tags.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cbQ'; return false;" href="http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/">The 3 Most Important Questions You Should Ask About Each Bug You Find.</a> <small>I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it: "The key idea behind...</small> </li> <li> <a onClick="window.location='http://bte.tc/GAq'; return false;" href="http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/">Free Antivirus Recommendations (Protect Yourself Online With Free AntiVirus Software).</a> <small>I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg5'; return false;" href="http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/">How to fake a TreeNodeCollection subclass in .NET</a> <small>If you've ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed...</small> </li> <li> <a onClick="window.location='http://bte.tc/dSH'; return false;" href="http://www.mylifeincode.com/2009/06/09/arraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator/">Arraylist and generics don't mix with IEnumerable(Of T).GetEnumerator.</a> <small>The other day I was writing an in-house tool to assist in some upgrades we were performing on client installations. This tool was supposed to perform its operations on a...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg8'; return false;" href="http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/">How To Control Disk Thrash From ccmexec.exe (SMS Agent).</a> <small>Today started like any other day at work. I sat down, logged into my PC and was greeted by the thrashing sound of my hard drive. I've come to realize...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/7gP'; return false;" href="http://nutritionfitnesslife.com/pregnancy-fetal-development-at-week-1/">Pregnancy Fetal Development at Week 1</a> <small>Although it may seem strange to think about, the journey of your pregnancy actually begins before the baby has actually been conceived. The very first week of your pregnancy does not begin with conception, or with the growth of the fetus in your body, but rather it begins with the......</small> </li> <li> <a onClick="window.location='http://bte.tc/jVF'; return false;" href="http://whatsnextnow.net/2008/08/communications-mode-shift-the-age-of-permasation/">Communications Mode Shift: The Age of Permasation?</a> <small>Part of my job here is to convince you that we are at the start of a fundamental shift in the way we all communicate with each other. In launching this site, I'm finally embracing a part of me that I have too often suppressed, or that has required my......</small> </li> <li> <a onClick="window.location='http://bte.tc/czcw'; return false;" href="http://fabiezone.com/all-about-on-page-seo"> All About On Page SEO</a> <small>When it comes to doing business online, you will soon discover that it’s all about the traffic. Traffic, or the number of internet users you’d be able to generate for your website, is and will always be the lifeblood of any online venture. After all, what good is a website......</small> </li> <li> <a onClick="window.location='http://bte.tc/gYm'; return false;" href="http://www.lazymanandmoney.com/monavie-sends-a-second-cease-desist/">MonaVie Sends a Second Cease & Desist</a> <small>On Friday afternoon, MonaVie sent Corey Whitlaw an "official-ish" Cease and Desist Order (CDO) to my Lazy Man and Money e-mail address on the basis of his use of their trademark in my metatag keywords. I had an idea that the CDO might be coming. MonaVie had publicly tipped their......</small> </li> <li> <a onClick="window.location='http://bte.tc/c4Tt'; return false;" href="http://fabiezone.com/all-regarding-on-page-seo">All Regarding On Page SEO</a> <small>When it involves doing business on-line, you will soon discover that it’s all regarding the traffic. Traffic, or the quantity of internet users you’d be ready to get for your website, is and can always be the lifeblood of any on-line venture. After all, what smart may be a web......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/30/10-useful-often-overlooked-html-tags/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Annoying &#8220;next message&#8221; behavior in Thunderbird, and how to stop it!</title>
		<link>http://www.mylifeincode.com/2009/06/25/annoying-next-message-behavior-in-thunderbird-and-how-to-stop-it/</link>
		<comments>http://www.mylifeincode.com/2009/06/25/annoying-next-message-behavior-in-thunderbird-and-how-to-stop-it/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:26:26 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Tips Tricks and Tweaks]]></category>

		<category><![CDATA[portable apps]]></category>

		<category><![CDATA[software]]></category>

		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=94</guid>
		<description><![CDATA[I love the Thunderbird email client. I use the portable version on my thumb drive, but one thing has always bugged the hell out of me when I use it: whenever I delete an email that I have opened in a popup window, Thunderbird automatically opens the next message. Most of the quasi-official entries on [...]]]></description>
			<content:encoded><![CDATA[<p>I love the Thunderbird email client. I use <a href="http://portableapps.com/news/2009-06-22_-_thunderbird_portable_2.0.0.22">the portable version </a>on my thumb drive, but one thing has always bugged the hell out of me when I use it: whenever I delete an email that I have opened in a popup window, <strong>Thunderbird automatically opens the next message.</strong> Most of the quasi-official entries on the forums state that this is the default behavior, and how 90% of email users use the app anyway, so there is no simple check box for disabling the &#8220;feature&#8221;.</p>
<p>I must be an odd duck then, because it is most certainly not how I use my email client. I distinctly remember disabling the annoying feature in older versions of Outlook Express. Well, I am the type who will not be denied. I go through great pains to get around such roadblocks - out of principle alone!</p>
<p>So I went digging and found many dead ends, and tips &#038; tricks pages that proved to be unrelated. A lot of forums suggest things like adding the delete button to the toolbar, but that only works if you delete it from the main window. I want to read the email first, then delete it. Reading, closing (clicking the &#8220;X&#8221;) then deleting seems more tedious than necessary.</p>
<p>Then I found <a href="https://addons.mozilla.org/en-US/thunderbird/addon/1397">this handy add-on</a>. Only one problem: it was for pre 2.0 versions of Thunderbird. The solution: <a href="http://www.ghacks.net/2008/01/07/dont-jump-to-next-message-in-thunderbird-automatically/">How to hack the add-on to make it work in 2.0+</a>.</p>
<p><strong>Open the install.rdf file, and locate the MaxVersion key:</strong></p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_before.jpg"><img src="http://www.mylifeincode.com/wp-content/uploads/2009/06/annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_before.jpg" alt="annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_before" title="annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_before" width="413" height="174" class="alignnone size-full wp-image-95" /></a><br />
<strong><br />
Then change the 1.6 to 2.1, like so:</strong></p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_after.jpg"><img src="http://www.mylifeincode.com/wp-content/uploads/2009/06/annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_after.jpg" alt="annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_after" title="annoying-next-message-behavior-in-thunderbird_unselect-message-thunderbird-add-on-install_after" width="424" height="152" class="alignnone size-full wp-image-96" /></a></p>
<p>and voila!</p>
<p>Sweet!</p>
<p>It&#8217;s worked great ever since, and I no longer curse Thunderbird. For automatically advancing to the next message, anyway. <img src='http://www.mylifeincode.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F25%2Fannoying-next-message-behavior-in-thunderbird-and-how-to-stop-it%2F';
  addthis_title  = 'Annoying+%26%238220%3Bnext+message%26%238221%3B+behavior+in+Thunderbird%2C+and+how+to+stop+it%21';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> <li> <a onClick="window.location='http://bte.tc/GAq'; return false;" href="http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/">Free Antivirus Recommendations (Protect Yourself Online With Free AntiVirus Software).</a> <small>I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more...</small> </li> <li> <a onClick="window.location='http://bte.tc/cvW'; return false;" href="http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/">How to find what's running under SVCHost.exe</a> <small>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That's when...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg8'; return false;" href="http://www.mylifeincode.com/2009/07/23/how-to-control-disk-thrash-from-ccmexecexe-sms-agent/">How To Control Disk Thrash From ccmexec.exe (SMS Agent).</a> <small>Today started like any other day at work. I sat down, logged into my PC and was greeted by the thrashing sound of my hard drive. I've come to realize...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/5R-'; return false;" href="http://www.weightladder.com/weight-loss-tips-and-tricks/">Weight Loss Tips and Tricks</a> <small>When it comes to losing weight, you probably know the drill. Burn more calories than you consume, eat healthy, and be healthy and the results will happen. Most diets and weight loss plans do not have much substance which is why dieting in general is far from healthy for you.......</small> </li> <li> <a onClick="window.location='http://bte.tc/34d'; return false;" href="http://nutritionfitnesslife.com/4-weight-loss-tips-and-tricks/">4 Weight Loss Tips and Tricks</a> <small>The following weight loss tips and tricks are designed to help you lose weight more effectively and more efficiently than ever before. Following these weight loss tips and tricks is going to have a profound impact on your ability to lose weight quickly and healthfully. 1 - Find a weight......</small> </li> <li> <a onClick="window.location='http://bte.tc/buF'; return false;" href="http://www.FatManUnleashed.com/weight-loss-tips-and-blogs-needed/">Weight Loss Tips and Blogs Needed</a> <small>I need some help. Any one with any weight loss tips and blogs that can help me shed some extra weight and adjust to my new lifestyle are encouraged to share them. I am looking for tips and tricks that will assist me in losing some extra fat, gain more......</small> </li> <li> <a onClick="window.location='http://bte.tc/mcj'; return false;" href="http://www.richcreditdebtloan.com/tips-and-tricks-for-budgeting/">Tips and Tricks for Budgeting</a> <small>Many people think that the budgeting process has to be complicated in order for it to be effective but the truth is actually quite the contrary. Once you know what the basics are when it comes to starting a budget and managing your budget, there is nothing that has to......</small> </li> <li> <a onClick="window.location='http://bte.tc/aP5q'; return false;" href="http://fabiezone.com/index.php/2010/02/15/indispensable-google-seo-tips-and-tricks/">Indispensable Google SEO Tips And Tricks</a> <small>There are many techniques used by search engine optimization companies in Alaska to realize higher ranking with search engine results. These straightforward SEO Tips have not changed for a very long time all webmasters ought to implement them to achieve better Search Rankings. Web site linking composition and range of......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/25/annoying-next-message-behavior-in-thunderbird-and-how-to-stop-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to fake a TreeNodeCollection subclass in .NET</title>
		<link>http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/</link>
		<comments>http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 14:36:23 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[.net]]></category>

		<category><![CDATA[Treeview]]></category>

		<category><![CDATA[vb.net]]></category>

		<category><![CDATA[Webcontrol]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=83</guid>
		<description><![CDATA[If you&#8217;ve ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed (or declared NotInheritable for you VB.NET types) the System.Web.UI.WebControls.TreeNodeCollection class.
The problem arises when you want to overload the default behavior that is implemented by the [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed (or declared NotInheritable for you VB.NET types) the System.Web.UI.WebControls.TreeNodeCollection class.</p>
<p>The problem arises when you want to overload the default behavior that is implemented by the TreeNodeCollection class. For example, when a node was added to my TreeView class (via the TreeView.Nodes.add method), I needed to be able to analyze it for the ultimate purpose of my subclass.</p>
<p>However, this was not possible because the TreeNodeCollection class is sealed, so I wasn&#8217;t able to inherit from it and overload the add method behavior as I should have been able to do.</p>
<h3>There are always possibilities.</h3>
<p>Anyone who knows me knows I don&#8217;t give up easily (if ever), and I eventually plowed through many false starts but hit upon a solution.</p>
<p>I decided to wrap the underlying TreeNodeCollection class with my own, and overload the Nodes property on the TreeView class, and the ChildNodes property on the TreeNode class.</p>
<h3>The Wrapper.</h3>
<p>Here&#8217;s what the wrapper looks like:<br />
[vb language=".net"]</p>
<p>Public Class MyTreeNodeCollection</p>
<p>    Private mtvwChildNodes As System.Web.UI.WebControls.TreeNodeCollection<br />
    Private mMyTreeViewOwner As IMyNodeContainer</p>
<p>    Public Sub New(ByVal Owner As IMyNodeContainer, _<br />
        ByVal TreeViewChildren As System.Web.UI.WebControls.TreeNodeCollection)<br />
        mtvwChildNodes = TreeViewChildren<br />
        mMyTreeViewOwner = Owner<br />
    End Sub</p>
<p>   Public Sub Add(ByVal child As MyTreeNode)<br />
        mtvwChildNodes.Add(CType(child, System.Web.UI.WebControls.TreeNode))<br />
        mMyTreeViewOwner.RegisterNodeForLookup(child)<br />
    End Sub<br />
End Class<br />
[/vb]</p>
<p>As you can see, the constructor takes the real, underlying TreeNodeCollection to pass all node to prior to being &#8220;registered&#8221; (analyzed). It also takes something that implements the IMyNodeContainer interface. </p>
<h3>The IMyNodeContainer interface.</h3>
<p>I had to implement this because I wanted to be able to use this wrapper class for both TreeView and TreeNode objects, but the signature of their properties is different - TreeView.Nodes and TreeNode.ChildNodes, respectively. So I opted for the interface to keep things clean. </p>
<p>Here&#8217;s what the interface looks like:</p>
<p>[vb language=".net"]<br />
Public Interface IMyNodeContainer</p>
<p>    Sub RegisterNodeForLookup(ByVal node As MyTreeNode)<br />
    ReadOnly Property Nodes() As MyTreeNodeCollection</p>
<p>End Interface<br />
[/vb]</p>
<h3>Wrapping things up.</h3>
<p>This is where the magic happens.</p>
<p>To put the wrapper (MyTreeNodeCollection) in place, I overload the collection getting properties in the base class -  TreeView.Nodes and TreeNode.ChildNodes, respectively, like so:</p>
<p>[vb language=".net"]<br />
    Public Overloads ReadOnly Property Nodes() As MyTreeNodeCollection Implements IMyNodeContainer.Nodes<br />
        Get<br />
            Return mNodeCollection<br />
        End Get<br />
    End Property<br />
[/vb]</p>
<p>So, for those of you playing along at home, when the developer calls .Nodes on an instance of MyTreeView class, an instance of MyTreeNodeCollection is returned and the resulting add method in performed on the underlying TreeNodeCollection, thusly:</p>
<p>[vb language=".net"]<br />
   Public Sub Add(ByVal child As MyTreeNode)<br />
        mtvwChildNodes.Add(CType(child, System.Web.UI.WebControls.TreeNode))<br />
        mMyTreeViewOwner.RegisterNodeForLookup(child)<br />
    End Sub<br />
[/vb]</p>
<p>You can see why I had to use the IMyNodeContainer interface here. The RegisterNodeForLookup performs the functionality I was originally trying to subclass the TreeNodeCollection for.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F23%2Fhow-to-fake-a-treenodecollection-subclass-in-net%2F';
  addthis_title  = 'How+to+fake+a+TreeNodeCollection+subclass+in+.NET';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/GTb'; return false;" href="http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/">How to Delete Empty Folders - FREE!</a> <small>While performing a disk cleanup recently, I had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command...</small> </li> <li> <a onClick="window.location='http://bte.tc/qz'; return false;" href="http://www.mylifeincode.com/2009/06/25/annoying-next-message-behavior-in-thunderbird-and-how-to-stop-it/">Annoying "next message" behavior in Thunderbird, and how to stop it!</a> <small>I love the Thunderbird email client. I use the portable version on my thumb drive, but one thing has always bugged the hell out of me when I use it:...</small> </li> <li> <a onClick="window.location='http://bte.tc/d5C'; return false;" href="http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/">Microsoft FxCop doesn't like Microsoft generated code!</a> <small>The other day I thought it might be nice to "do the right thing" and give my code a run against Microsoft's FxCop. I ran it right out of the...</small> </li> <li> <a onClick="window.location='http://bte.tc/dSH'; return false;" href="http://www.mylifeincode.com/2009/06/09/arraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator/">Arraylist and generics don't mix with IEnumerable(Of T).GetEnumerator.</a> <small>The other day I was writing an in-house tool to assist in some upgrades we were performing on client installations. This tool was supposed to perform its operations on a...</small> </li> </ul> ]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Window.scrollTo Fails Under OVERFLOW-Y: auto Style.</title>
		<link>http://www.mylifeincode.com/2009/06/18/windowscrollto-fails-under-overflow-y-auto-style/</link>
		<comments>http://www.mylifeincode.com/2009/06/18/windowscrollto-fails-under-overflow-y-auto-style/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 13:33:28 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=79</guid>
		<description><![CDATA[I was trying to subclass a Web Treeview control for my own evil purposes and ran into a sticky problem - scrollTo not working! Just for background, my evil purpose was to replace the Infragistics ultra web tree control, since we only use about 5% of the functionality, but pay the full price of upgrades [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to subclass a Web Treeview control for my own evil purposes and ran into a sticky problem - scrollTo not working! Just for background, my evil purpose was to replace the Infragistics ultra web tree control, since we only use about 5% of the functionality, but pay the full price of upgrades and page size for the other 95%. </p>
<p>anyway, all was going well, until I tried to implement the ScrollTo functionality.</p>
<p>My first pass looked something like this:</p>
<p>[javascript]<br />
&lt;Script Type=&quot;text/javascript&quot;&gt;<br />
	&lt;!&#8211;<br />
		var ele = document.getElementById(nodeID);<br />
		window.scrollTo(ele.parentElement.offsetParent.offsetLeft ,ele.parentElement.offsetParent.offsetTop);<br />
//&#8211;&gt;<br />
&lt;/Script&gt;<br />
[/javascript]</p>
<p>Now this worked great in my sample text page, but when I dropped it into the main application page, it didn&#8217;t do a damn thing. What gives?</p>
<p>Well, I traced the problem down to a style tag on the wrapping div tag: </p>
<p>[css]<br />
OVERFLOW-Y: auto;<br />
[/css]</p>
<p>It seems that the auto setting disallowed my scrolling to a specific x,y coordinate when that coordinate was outside the visible space.</p>
<p>That really stunk because I didn&#8217;t have the ability to modify the existing container page, beyond replacing the Infragistics control tag.</p>
<p>Luckily, I found a workaround:</p>
<p>[javascript]<br />
&lt;Script Type=&quot;text/javascript&quot;&gt;<br />
	&lt;!&#8211;<br />
		var ele = document.getElementById(nodeID);<br />
		ele.scrollIntoView();<br />
	//&#8211;&gt;<br />
&lt;/Script&gt;<br />
[/javascript]</p>
<p>Not only does this work within the CSS overflow directive, but it&#8217;s also a bit more elegant since I no longer have to worry about all that parent offset nonsense. <img src='http://www.mylifeincode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F18%2Fwindowscrollto-fails-under-overflow-y-auto-style%2F';
  addthis_title  = 'Window.scrollTo+Fails+Under+OVERFLOW-Y%3A+auto+Style.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg5'; return false;" href="http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/">How to fake a TreeNodeCollection subclass in .NET</a> <small>If you've ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed...</small> </li> <li> <a onClick="window.location='http://bte.tc/d5C'; return false;" href="http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/">Microsoft FxCop doesn't like Microsoft generated code!</a> <small>The other day I thought it might be nice to "do the right thing" and give my code a run against Microsoft's FxCop. I ran it right out of the...</small> </li> <li> <a onClick="window.location='http://bte.tc/cvW'; return false;" href="http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/">How to find what's running under SVCHost.exe</a> <small>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That's when...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg9'; return false;" href="http://www.mylifeincode.com/2009/07/28/are-free-antivirus-and-firewall-products-really-any-good/">Are Free Antivirus and Firewall Products Really Any Good?</a> <small>There was a time in my life when I used security and protection suites like Norton and McAfee, but after a while I grew unsatisfied with them. "But Norton and...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cvm7'; return false;" href="http://fabiezone.com/5-super-powered-strategies-to-increase-your-web-traffic-using-social-networks">5 Super Powered Strategies To Increase Your Web Traffic Using Social Networks</a> <small>The www is awash with web marketers using Social Bookmark sites, like Propeller and Digg, to drive large amounts of traffic to their business sites, increasing sales and profits. This is not a replacement phenomenon. After all, from the dawn of social networking sites there are a plentiful herd of......</small> </li> <li> <a onClick="window.location='http://bte.tc/cJFz'; return false;" href="http://fabiezone.com/search-engine-robots-or-web-crawlers">Search Engine Robots Or Web Crawlers</a> <small>Most of the common users or visitors use different available search engines to search out the piece of information they required. But how this information is provided by search engines? Where from they have collected these information? Basically most of these search engines maintain their own database of information. These......</small> </li> <li> <a onClick="window.location='http://bte.tc/cvyw'; return false;" href="http://fabiezone.com/seo-marketing-for-google-update">SEO Marketing For Google Update</a> <small>There is a lot of talk in the town regarding the latest Google update, which has been nick named as Jagger. Jagger is a 3-part Google update that has changed some of the important rules of determining page rank and this has affected the SEO community in its entirety. The......</small> </li> <li> <a onClick="window.location='http://bte.tc/cvXy'; return false;" href="http://fabiezone.com/role-of-meta-title-tag-in-seo">Role Of Meta Title Tag In SEO</a> <small>By: Prashant K Shukla, SEO Consultant Do you want to secure a top ranking in search engine result pages(SERP)? I think every one is going to answer - Yes. And a very common belief is that add lot of most searched keywords in the meta tags of your web pages......</small> </li> <li> <a onClick="window.location='http://bte.tc/bJ5p'; return false;" href="http://www.cologneperfumefragrance.com/starter-set-lampe-berger-assortment-of-3-scents-lavender-tea-and-eucalyptus/">Starter Set: Lampe Berger Assortment of 3 Scents - Lavender, Tea and Eucalyptus</a> <small>User Reviews Send this to a friend Starter Set: Lampe Berger Assortment of 3 Scents - Lavender, Tea and Eucalyptus Manufacturer: Lampe Berger Customer Rating: List Price: $19.99 Sale Price: View Sale Price Availibility: View Product Availability Buy Now Product Description Lampe Berger began in France in 1898 with......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/18/windowscrollto-fails-under-overflow-y-auto-style/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE7 WebControl TreeView line gap in quirks mode.</title>
		<link>http://www.mylifeincode.com/2009/06/16/ie7-webcontrol-treeview-line-gap-in-quirks-mode/</link>
		<comments>http://www.mylifeincode.com/2009/06/16/ie7-webcontrol-treeview-line-gap-in-quirks-mode/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 13:14:09 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[!Important]]></category>

		<category><![CDATA[.net]]></category>

		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[Reflector]]></category>

		<category><![CDATA[subclass]]></category>

		<category><![CDATA[Treeview]]></category>

		<category><![CDATA[Webcontrol]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=64</guid>
		<description><![CDATA[I&#8217;ve been writing a subclass of the MS Webcontrol.TreeView control for one of our Web Applications at work. I figured this would be a fairly easy task, since I only needed to extended it with a few properties. It turns out that I was caught on a nit-picky annoyance in the TreeView control itself.
The TreeView [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been writing a subclass of the MS Webcontrol.TreeView control for one of our Web Applications at work. I figured this would be a fairly easy task, since I only needed to extended it with a few properties. It turns out that I was caught on a nit-picky annoyance in the TreeView control itself.</p>
<h3>The TreeView control renders verticals lines with gaps.</h3>
<p>Here&#8217;s a screen cap of the problem.</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-line-break.jpg"><img src="http://www.mylifeincode.com/wp-content/uploads/2009/06/ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-line-break.jpg" alt="ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-line-break" title="ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-line-break" width="502" height="612" class="alignnone size-full wp-image-65" /></a></p>
<p>As you can see, the TreeView control renders the vertical line with a gap, or break (looks like a dashed line!). It didn&#8217;t matter how I loaded the data - dynamic/runtime/design time - I get the same gap no matter what!</p>
<p>I was able to see that it was not a problem in IE 6 or less, but what good is that? Well, it turns out that it was a bit of a clue because starting with version 5, IE didn&#8217;t render things correctly per the CSS boxing specification. This was fixed in IE 7, but to provide backwards compatibility, Microsoft carried this busted form of rendering forward in IE 6 as <a href="http://www.satzansatz.de/cssd/quirksmode.html">QuirksMode</a>. The line gap problem only occurs in strict mode (default for IE 7 and 8, as well as firefox). I could make the line gap go away by forcing the browser into QuirksMode (by adding a comment, ex:</p>
<p>< ! - - QUIRK! - - ></p>
<p> to the very top of the HTML file), but I was writing a web control and would not always have the luxury of controlling my container. </p>
<p>I needed to find a long term solution to this problem.</p>
<p>Next, I looked at the HTML source of the rendered page, and saw this:</p>
<p>[html]<br />
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-width:0;&quot;&gt;<br />
      &lt;tr&gt;<br />
        &lt;td&gt;<br />
          &lt;div style=&quot;width:20px;height:1px&quot;&gt;<br />
            &lt;img src=&quot;/TreeviewControlTest/WebResource.axd?d=OYmDnVppVECKIpxOWC8o8Y7DO6QwB2J3EY4s4RR8zAU1&amp;amp;t=633765128008804061&quot; alt=&quot;&quot;&gt;<br />
          &lt;/div&gt;<br />
        &lt;/td&gt;<br />
        &lt;td&gt;<br />
          &lt;img src=&quot;/TreeviewControlTest/WebResource.axd?d=OYmDnVppVECKIpxOWC8o8UGy0bLoCc8gOB1oQm6Pzj81&amp;amp;t=633765128008804061&quot; alt=&quot;&quot;&gt;<br />
        &lt;/td&gt;<br />
        &lt;td class=&quot;TreeView1_WebTree_1&quot; style=&quot;white-space:nowrap;&quot;&gt;<br />
          &lt;a class=&quot;TreeView1_WebTree_0&quot; href=&quot;javascript:__doPostBack(&#8217;TreeView1$WebTree&#8217;,'Root//Tree&#8217;)&quot; onclick=&quot;TreeView_SelectNode(TreeView1_WebTree_Data, this,&#8217;TreeView1_WebTreet6&#8242;);&quot; id=&quot;TreeView1_WebTreet6&quot; name=&quot;TreeView1_WebTreet6&quot;&gt;Tree&lt;/a&gt;<br />
        &lt;/td&gt;<br />
      &lt;/tr&gt;<br />
    &lt;/table&gt;<br />
[/html]</p>
<p>Each node is rendered as a table, with the vertical line and expand/collapse icons being in their own table cell and wrapped in a div. The problem was the style applied to the outer div -  style=&#8221;width:20px;<strong>height:1px</strong>&#8220;.</p>
<p>That 1px height was causing the vertical line image to be compressed, but where did it come from?</p>
<h3>Reflecting on System.Web.UI.WebControls.TreeNode</h3>
<p>I spent almost an hour delving into the various (and copious!) style properties for the tree and its nodes, looking for where this height setting was generating from. I couldn&#8217;t find it! I eventually opened the System.Web.UI.WebControls.dll in Reflector to see what the render code for the node was doing:</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-reflector.jpg"><img src="http://www.mylifeincode.com/wp-content/uploads/2009/06/ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-reflector-300x116.jpg" alt="ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-reflector" title="ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-reflector" width="300" height="116" class="alignnone size-medium wp-image-66" /></a></p>
<p>Well, once I saw that the code was hard-wired to render this CSS style, I was done. Or was I?</p>
<h3>!important</h3>
<p>Well, it wasn&#8217;t going to be as easy as setting the style in the code behind, but I could override the style in my own class.</p>
<p>The trick is to define, and apply the following CSS class:</p>
<p>[css]<br />
&lt;style type=&quot;text/css&quot;&gt;<br />
	.MyTreeView TD Div<br />
	{<br />
		 height: 20px!important;<br />
	}<br />
&lt;/style&gt;<br />
[/css]</p>
<p>The <a href="http://www.w3.org/TR/CSS2/cascade.html#important-rules">!important CSS directive</a> overrides the style applied in the System.Web.UI.WebControls.TreeNode render method.</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-no-line-break.jpg"><img src="http://www.mylifeincode.com/wp-content/uploads/2009/06/ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-no-line-break.jpg" alt="ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-no-line-break" title="ie7-webcontrol-treeview-line-gap-in-quirks-mode_treeview-no-line-break" width="502" height="612" class="alignnone size-full wp-image-67" /></a></p>
<p>Again, just as with the QuirksMode comment above, I was able to add the CSS style to the page and voila - problem solved. But this still wasn&#8217;t good enough. I needed this to work out of the box for any consumers of my control.</p>
<p>The ultimate answer was to override the RenderBeginTag of the TreeView control, and render this style before the control itself:</p>
<p>[vb language=".net"]</p>
<p>Public Overrides Sub RenderBeginTag(ByVal writer As System.Web.UI.HtmlTextWriter)<br />
        &#8216;/////////////////////////////////////////////////////////////////////////////////////////<br />
        &#8216;///  This is a total hack to get around some Microsoft BS which hardwires<br />
        &#8216;///        a style attribute on the node div to set the height = 1px!<br />
        &#8216;///<br />
        &#8216;///    This renders a css override to force the div to the proper height<br />
        &#8216;/////////<br />
        Me.CssClass = String.Concat(Me.CssClass, &quot; MyTreeView&quot;)<br />
        writer.WriteBeginTag(HtmlTextWriterTag.Style.ToString)<br />
        writer.WriteAttribute(HtmlTextWriterAttribute.Type.ToString, &quot;text/css&quot;)<br />
        writer.WriteLine(HtmlTextWriter.TagRightChar)<br />
        writer.Write(&quot;.MyTreeView TD Div  &quot;)<br />
        writer.WriteLine(&quot;{ height: 20px!important;	}&quot;)<br />
        writer.WriteEndTag(HtmlTextWriterTag.Style.ToString)<br />
        writer.WriteLine()<br />
        &#8216;//////////////////////////////////////////////////</p>
<p>        &#8216;/// Render the Standard Begin Tag<br />
        MyBase.RenderBeginTag(writer)<br />
    End Sub<br />
[/vb]</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F16%2Fie7-webcontrol-treeview-line-gap-in-quirks-mode%2F';
  addthis_title  = 'IE7+WebControl+TreeView+line+gap+in+quirks+mode.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cvW'; return false;" href="http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/">How to find what's running under SVCHost.exe</a> <small>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That's when...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg4'; return false;" href="http://www.mylifeincode.com/2009/06/30/10-useful-often-overlooked-html-tags/">10 Useful, Often Overlooked HTML Tags.</a> <small>Pop quiz: When would you use the &lt;wbr&gt; tag, and what does it do? Yeah, I had no idea either. In fact, I had never even seen this tag before,...</small> </li> <li> <a onClick="window.location='http://bte.tc/cbQ'; return false;" href="http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/">The 3 Most Important Questions You Should Ask About Each Bug You Find.</a> <small>I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it: "The key idea behind...</small> </li> <li> <a onClick="window.location='http://bte.tc/GTb'; return false;" href="http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/">How to Delete Empty Folders - FREE!</a> <small>While performing a disk cleanup recently, I had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command...</small> </li> <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/bcw-'; return false;" href="http://www.cologneperfumefragrance.com/fallene-cotz-spf-58-water-resistant-uvbuva-sunscreen-for-sensitive-skin-2-5-ounce-tube/">Fallene Cotz SPF 58 Water Resistant UVB/UVA Sunscreen for Sensitive Skin, 2.5-Ounce Tube</a> <small>User Reviews Send this to a friend Fallene Cotz SPF 58 Water Resistant UVB/UVA Sunscreen for Sensitive Skin, 2.5-Ounce Tube Manufacturer: Fallene Customer Rating: List Price: $26.00 Sale Price: $16.50 Availibility: Usually ships in 24 hours Free Shipping Available Buy Now Product Description Fallene Cotz SPF 58 is a......</small> </li> <li> <a onClick="window.location='http://bte.tc/cv3p'; return false;" href="http://fabiezone.com/what-does-it-take-to-become-a-search-engine-optimization-specialist">What Does It Take To Become A Search Engine Optimization Specialist?</a> <small>Search Engine Optimization or SEO has become quite a buzzword on the Internet for a number of years now. It seems that people claiming to be an SEO expert are a dime a dozen but many of these people only have a cursory knowledge on the matter and are only......</small> </li> <li> <a onClick="window.location='http://bte.tc/cvgh'; return false;" href="http://fabiezone.com/important-reasons-for-submitting-articles">Important Reasons For Submitting Articles</a> <small>Article directories are important to many web site owners all over the world. Many of them submit large numbers of articles to article directories on regular basis. No matter what type of business you have, you probably get a lot of things to share with your readers. Writing and submitting......</small> </li> <li> <a onClick="window.location='http://bte.tc/aGsk'; return false;" href="http://topmarketingreview.com/blog/482/internet-marketing-needs-a-makeover/">Internet Marketing Needs a Makeover?</a> <small>Let me start by saying: and a Major One at that! Last time I checked:  we are in the 21st century, so how come Internet marketers are still stuck in the yesteryears? Allow me to count the ways:     HTML Your Basic HTML is still the foundation and serves......</small> </li> <li> <a onClick="window.location='http://bte.tc/cyZ2'; return false;" href="http://fabiezone.com/highly-remunerative-on-line-business">Highly Remunerative On-Line Business</a> <small>With the advent of a world net Internet, mankind has received unique hitherto unknown possibility quickly and easily to construct the highly remunerative on-line business. Now to open own business on the Internet is cheaper and easier than to trade in the market with clothes or to put trading stalls.......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/16/ie7-webcontrol-treeview-line-gap-in-quirks-mode/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to find what&#8217;s running under SVCHost.exe</title>
		<link>http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/</link>
		<comments>http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:15:57 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Tips Tricks and Tweaks]]></category>

		<category><![CDATA[Command line]]></category>

		<category><![CDATA[DOS]]></category>

		<category><![CDATA[Services]]></category>

		<category><![CDATA[SVCHost.exe]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=54</guid>
		<description><![CDATA[My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That&#8217;s when I noticed great gobs of my swap file allocated to &#8220;SVCHOST.EXE&#8221;:

The problem is, SVCHOST is a catch all windows service container. Meaning, many windows services [...]]]></description>
			<content:encoded><![CDATA[<p>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That&#8217;s when I noticed great gobs of my swap file allocated to &#8220;SVCHOST.EXE&#8221;:</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/whats-running-under-svchost_exe_tasklist-ss.jpg"><img class="alignnone size-full wp-image-55" style="margin-top: 10px; margin-bottom: 10px;" title="whats-running-under-svchost_exe_tasklist-ss" src="http://www.mylifeincode.com/wp-content/uploads/2009/06/whats-running-under-svchost_exe_tasklist-ss.jpg" alt="whats-running-under-svchost_exe_tasklist-ss" width="472" height="177" /></a></p>
<p>The problem is, SVCHOST is a catch all windows service container. Meaning, many windows services run under the same instance of SVCHOST. How was I going to figure out which services might be the culprit?</p>
<p>Enter the tasklist command.</p>
<p>Tasklist displays info about running tasks, including SVCHOST.</p>
<p>Simply running tasklist at the command prompt displays a laundry list of all running processes. This wasn&#8217;t going to do it, so I ran it with the &#8220;/?&#8221; switch to try and find how to narrow the info&#8230;</p>
<blockquote><p><strong>/SVC </strong> Displays services hosted in each process.<br />
<strong>/FI</strong> filter          Displays a set of tasks that match a given criteria specified by the filter.</p></blockquote>
<p>Looks good so far, now I need to know what filter to apply:</p>
<blockquote>
<pre>Filters:
    Filter Name     Valid Operators           Valid Value(s)
    -----------     ---------------           --------------------------
    IMAGENAME       eq, ne                    Image name</pre>
</blockquote>
<p>OK, this gives us:</p>
<blockquote><p>&#8220;C:\&gt;tasklist /svc /FI &#8220;IMAGENAME EQ SCVHOST.EXE&#8221;</p></blockquote>
<p>But it seems the filter is case sensitive, because when I run that command, I get this:</p>
<blockquote><p>INFO: No tasks are running which match the specified criteria.</p></blockquote>
<p>So, switching to lower case gives me what I want:</p>
<blockquote><p>&#8220;C:\&gt;tasklist /svc /FI &#8220;IMAGENAME EQ svchost.exe&#8221;</p>
<pre>
Image Name     PID        Services
=========== =====  =======================
svchost.exe     744        DcomLaunch
svchost.exe     844        RpcSs
svchost.exe     888        AeLookupSvc, AppMgmt,
                                    AudioSrv, BITS, Browser,
                                    CryptSvc, dmserver,
                                    EventSystem,lanmanserver,
                                    lanmanworkstation, Netman,
                                    Nla, RasMan, Schedule,
                                    seclogon, SENS,ShellHWDetection,
                                    Themes, winmgmt, wuauserv
svchost.exe     928         Dhcp, Dnscache
svchost.exe     976         LmHosts, W32Time
svchost.exe     1772       Net Driver HPZ12
svchost.exe     1816       Pml Driver HPZ12
svchost.exe     2424       TermService
svchost.exe     3312       TapiSrv
svchost.exe     2688       W3SVC
</pre>
</blockquote>
<p>From there, it&#8217;s just a matter of shutting down or restarting each of the services listed under the process id 888 ( I got this from taskmanager).</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F11%2Fhow-to-find-whats-running-under-svchostexe%2F';
  addthis_title  = 'How+to+find+what%26%238217%3Bs+running+under+SVCHost.exe';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/cbQ'; return false;" href="http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/">The 3 Most Important Questions You Should Ask About Each Bug You Find.</a> <small>I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it: "The key idea behind...</small> </li> <li> <a onClick="window.location='http://bte.tc/JmP'; return false;" href="http://www.mylifeincode.com/2009/07/17/fun-with-cryptography/">Fun with Cryptography</a> <small>Here's a little Friday fun from Monty at MR01001101. He's got Cryptography and Steganography essays and, here's the fun bit, puzzles that take the user through a chain of tests...</small> </li> <li> <a onClick="window.location='http://bte.tc/qz'; return false;" href="http://www.mylifeincode.com/2009/06/25/annoying-next-message-behavior-in-thunderbird-and-how-to-stop-it/">Annoying "next message" behavior in Thunderbird, and how to stop it!</a> <small>I love the Thunderbird email client. I use the portable version on my thumb drive, but one thing has always bugged the hell out of me when I use it:...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/9FZ'; return false;" href="http://www.baumel.com/2009/05/svchostexe-what-is-it-and-why-are-there-so-many-of-them/">SVCHOST.exe - What is it and why are there so many of them?</a> <small>I get asked this a lot.  When you run Task Manager in XP and look at the process list, you see tons of svchost.exe processes running.  You can't kill them (you don't really want to) and there's no obvious reason that there are so many of them. What are they? ......</small> </li> <li> <a onClick="window.location='http://bte.tc/bfeD'; return false;" href="http://www.snowboardingskier.com/tips-for-snowboarding-pt-4/">Tips for Snowboarding pt 4</a> <small>For a lot of people, however, it is their very first time buying a brand new snowboard, and so they unfortunately do not have much of an idea of what they should be doing or even what they should be looking for. When you are going online to buy a......</small> </li> <li> <a onClick="window.location='http://bte.tc/Fm2'; return false;" href="http://www.maheshkukreja.com/top-10-seo-dos-donts">Top 10 - SEO Do's & Don'ts</a> <small>SEO Do's Create a Useful, Content-Rich Website Properly Optimize Your Website Pages Have Relevant Websites Link to Your Website Analyze and Understand Your Website Statistics Revise Optimization Based on Feedback Create a Long-Term Content Strategy or Plan Do Learn Patience, Search Engine Success Takes Time Understand What Will and Will......</small> </li> <li> <a onClick="window.location='http://bte.tc/kGg'; return false;" href="http://www.handymanfixhomerepair.com/maintenance-for-your-swimming-pool/">Maintenance for your Swimming Pool</a> <small>On a humid and hot day in August, there is nothing that feels quite as good as a dip in your pool. If your pool is looking a little bit more like a pond than a place for swimming, then nobody is going to be happy. Here are some tips......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Arraylist and generics don&#8217;t mix with IEnumerable(Of T).GetEnumerator.</title>
		<link>http://www.mylifeincode.com/2009/06/09/arraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator/</link>
		<comments>http://www.mylifeincode.com/2009/06/09/arraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 19:58:20 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[.net]]></category>

		<category><![CDATA[arraylist]]></category>

		<category><![CDATA[generics]]></category>

		<category><![CDATA[GetEnumerator]]></category>

		<category><![CDATA[IEnumerable]]></category>

		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=43</guid>
		<description><![CDATA[The other day I was writing an in-house tool to assist in some upgrades we were performing on client installations. This tool was supposed to perform its operations on a batch of items, and display the results upon completion.
Since processing this batch of items was a lengthy endeavor, I wanted the failure to process one [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was writing an in-house tool to assist in some upgrades we were performing on client installations. This tool was supposed to perform its operations on a batch of items, and display the results upon completion.</p>
<p>Since processing this batch of items was a lengthy endeavor, I wanted the failure to process one of the items to simply be recorded and allow the processing of the others to continue. Part of the processing of each item was a call to multiple web services, so I would need a way to handle the collection of errors along the way and make them available for their eventual display.</p>
<p>I had what I thought was a clever idea:<strong> a private Arraylist of exceptions that occurred during processing.</strong></p>
<p>[vbnet]<br />
Public Class BatchExceptions<br />
    Implements ICollection(Of System.Exception)</p>
<p>    Private mExceptionlist As ArrayList<br />
    .<br />
    .<br />
    .<br />
End Class<br />
[/vbnet]</p>
<p>That way, I could simply iterate over the list and perform the standard exception handling, like so:</p>
<p>[vbnet]<br />
Dim exc As Exception<br />
  For Each exc In BatchExceptions<br />
    HandleError(exc)<br />
  Next<br />
[/vbnet]</p>
<p>Of course, in order to make use of the &#8220;For Each&#8221; construct, I had to implement the GetEnumerator of the ICollection interface.</p>
<p>[vbnet]<br />
Public Function GetEnumerator() As System.Collections.Generic.IEnumerator(Of System.Exception) _<br />
Implements System.Collections.Generic.IEnumerable(Of System.Exception).GetEnumerator<br />
    Return (mExceptionlist.GetEnumerator)<br />
End Function<br />
[/vbnet]</p>
<p>Cool. Only one problem:</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator.jpg"><img class="alignnone size-full wp-image-45" style="margin-top: 10px; margin-bottom: 10px;" title="arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator" src="http://www.mylifeincode.com/wp-content/uploads/2009/06/arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator.jpg" alt="arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator" width="494" height="61" /></a></p>
<p>That was OK though, because I was using generics after all. The compiler was being helpful and reminding me that I had to specify &#8216;IEnumerator(Of Exception)&#8217;:</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator2.jpg"><img class="alignnone size-full wp-image-46" style="margin-top: 10px; margin-bottom: 10px;" title="arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator2" src="http://www.mylifeincode.com/wp-content/uploads/2009/06/arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator2.jpg" alt="arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator2" width="395" height="196" /></a></p>
<p>[vbnet]<br />
Public Function GetEnumerator() As System.Collections.Generic.IEnumerator(Of System.Exception) _<br />
Implements System.Collections.Generic.IEnumerable(Of System.Exception).GetEnumerator<br />
    Return (DirectCast(mExceptionlist.GetEnumerator, IEnumerator(Of Exception)))<br />
End Function<br />
[/vbnet]</p>
<p>Everything compiled fine, but at run-time I got the following RTE:</p>
<p>Unable to cast object of type &#8216;ArrayListEnumeratorSimple&#8217; to type &#8216;System.Collections.Generic.IEnumerator`1[System.Exception]&#8216;.</p>
<p><a href="http://www.mylifeincode.com/wp-content/uploads/2009/06/arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator-rte.jpg"><img class="alignnone size-full wp-image-47" style="margin-top: 10px; margin-bottom: 10px;" title="arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator-rte" src="http://www.mylifeincode.com/wp-content/uploads/2009/06/arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator-rte.jpg" alt="arraylist-and-generics-dont-mix-when-enumerating-generics_generics-enumerator-rte" width="424" height="246" /></a></p>
<p>This was frustrating. It seemed like the compiler failed to warn me of this incompatibility, and simply kicked the can on down the road to the run-time to deal with.</p>
<h2>Solution:</h2>
<p>Well, I did a little poking around and finally ended up replacing my Arraylist with a list like so:</p>
<p>[vbnet]<br />
private mExceptionlist as System.Collections.Generic.list<br />
[/vbnet]</p>
<p>Well, that did the trick but I can&#8217;t say it was as intuitive as it would seem. It makes sense, in hindsight, but why did I have to get some cryptic RTE? Why couldn&#8217;t the compiler have picked up on my use of an ArrayList and say, <strong>&#8220;Hey dummy - use a generic list!&#8221;?</strong> Still, I have a new trick to toss in my bag for the time I want to implement an enumerator on an Arraylist!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F09%2Farraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator%2F';
  addthis_title  = 'Arraylist+and+generics+don%26%238217%3Bt+mix+with+IEnumerable%28Of+T%29.GetEnumerator.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/Jg4'; return false;" href="http://www.mylifeincode.com/2009/06/30/10-useful-often-overlooked-html-tags/">10 Useful, Often Overlooked HTML Tags.</a> <small>Pop quiz: When would you use the &lt;wbr&gt; tag, and what does it do? Yeah, I had no idea either. In fact, I had never even seen this tag before,...</small> </li> <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg5'; return false;" href="http://www.mylifeincode.com/2009/06/23/how-to-fake-a-treenodecollection-subclass-in-net/">How to fake a TreeNodeCollection subclass in .NET</a> <small>If you've ever had reason to try to extend the standard Microsoft web TreeView control, you will have no doubt noticed that MS was quite unkind to you and sealed...</small> </li> <li> <a onClick="window.location='http://bte.tc/GAq'; return false;" href="http://www.mylifeincode.com/2009/08/04/free-antivirus-recommendations-protect-yourself-online-with-free-antivirus-software/">Free Antivirus Recommendations (Protect Yourself Online With Free AntiVirus Software).</a> <small>I got tired of shelling out $40+ a year for antivirus protection long ago. Aside form the price, what really bugged me was the bloat! It became more and more...</small> </li> <li> <a onClick="window.location='http://bte.tc/Efu'; return false;" href="http://www.mylifeincode.com/2009/07/09/google-chrome-the-os/">Google Chrome: the OS.</a> <small>Google announced last Tuesday that it has its sights on dethroning Microsoft as desktop OS king: "The new operating system, announced late Tuesday night on Google's Web site, will be...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/uqm'; return false;" href="http://www.loveromancepassion.com/kiss-and-tell-carmen-shirkey-on-her-hero/">Kiss and Tell: Carmen Shirkey on Her Hero</a> <small>Today's article is written by romance author Carmen Shirkey. Okay, I decided to risk embarrassing Jim and participate in your new Kiss &amp; Tell feature. :) My book, The List, is about a woman who has a ridiculously long list of characteristics she wants in her future boyfriend/husband. That was......</small> </li> <li> <a onClick="window.location='http://bte.tc/cjec'; return false;" href="http://www.decorateinterior.com/1552/how-lacquered-door/">How Lacquered Door</a> <small>The process of varnishing a door is to do a little maintenance at the door by creating a smoother surface, perfect and smooth while giving protection to the wood against water and other harmful agents. The process is long, but is not complicated, and I've made a video in Spanish......</small> </li> <li> <a onClick="window.location='http://bte.tc/m7p'; return false;" href="http://www.handymanfixhomerepair.com/tips-for-organizing-the-garage/">Tips for Organizing the Garage</a> <small>1 - Begin by creating a staging area. If you can park at least one car in your two car garage, then you can probably organize everything else in a day. Create a staging area where you can put items as you take them out of the garage, such as......</small> </li> <li> <a onClick="window.location='http://bte.tc/dEQ'; return false;" href="http://www.snarlyboodle.com/things-to-do-today-make-ta-da-lists/">Things To Do Today: Make Ta-da Lists</a> <small>I've been making to-do lists over the years on scraps of paper, on backs of envelopes, on shopping receipts, on those free insurance and real estate notepads you get in the mail all the time, etc. Sticking them on the refrigerator, under my car keys, in my purse, wrapped around......</small> </li> <li> <a onClick="window.location='http://bte.tc/a-Mm'; return false;" href="http://www.worldphoto360.com/apple-ipad-hands-on-review/">Apple iPad hands-on review</a> <small>[/caption] The Apple iPad is an unprecedented device. It doesn't shoot rainbows or make puppies, but this roughly 8x10-inch tablet computer melds your laptop, smartphone, gaming console, and iPod into a single, affordable, unfortunately named thing. Of course, we come to you with a standard list of complaints. The absence......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/09/arraylist-and-generics-dont-mix-with-ienumerableof-tgetenumerator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Delete Empty Folders - FREE!</title>
		<link>http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/</link>
		<comments>http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 19:06:33 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Tips Tricks and Tweaks]]></category>

		<category><![CDATA[Command line]]></category>

		<category><![CDATA[DOS Commands]]></category>

		<category><![CDATA[Free]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=35</guid>
		<description><![CDATA[While performing a disk cleanup recently, I  had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command to accomplish this, but I couldn&#8217;t for the life of me remember what it was!
Enter Google.
five minutes of some keyword searching with surgical precision [...]]]></description>
			<content:encoded><![CDATA[<p>While performing a disk cleanup recently, I  had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command to accomplish this, but I couldn&#8217;t for the life of me remember what it was!</p>
<p>Enter Google.</p>
<p>five minutes of some keyword searching with surgical precision and piecing together commands  yielded my solution.</p>
<blockquote><p><strong>DIR /AD/B/S | SORT  &gt; FOLDERLIST.BAT</strong></p></blockquote>
<h2>How It Works.</h2>
<p>The Dir command is the familiar directory list command that comes standard with all versions of Windows since 95. The magic is in the switches:</p>
<blockquote><p>/A          Displays files with specified attributes.<br />
When applied to the &#8220;D&#8221; attribute, it returns directories<br />
/B         Uses bare format (no heading information or summary).<br />
/S          Displays files in specified directory and all subdirectories.</p></blockquote>
<p><strong>SORT </strong>is an often overlooked command for, you guessed it, sorting. Here, the results of the Dir command are piped (&#8221;|&#8221;) into the SORT command as input. The result of the SORT command is then redirected from the command prompt to a file called <strong>FOLDERLIST.BAT.</strong></p>
<h2>Kick it up a notch.</h2>
<p>Now that you&#8217;ve created this list, say you want to automate the deletion of each entry in the list. This is where pumping the output to a &#8220;.bat&#8221; file comes in. Open the bat file in textpad, or notepad, or your text editor</p>
<p><strong>For example:</strong></p>
<blockquote><p>Typing:<br />
DIR /AD/B/S | SORT &gt; FOLDERLIST.BAT</p></blockquote>
<p>in my C:\Program Files\Microsoft Visual Studio 8\VC folder yields the following results:</p>
<p><img class="alignnone size-full wp-image-36" title="empty-file-results" src="http://www.mylifeincode.com/wp-content/uploads/2009/06/empty-file-results.jpg" alt="empty-file-results" width="413" height="147" /></p>
<p>Next, open the file in a text editor, word, or open office  and replace the beginning of each line with  the RD command followed by a space and a single quote. Like so:</p>
<p><img class="alignnone size-full wp-image-37" title="empty-file-replace" src="http://www.mylifeincode.com/wp-content/uploads/2009/06/empty-file-replace.jpg" alt="empty-file-replace" width="433" height="171" /></p>
<p>This should give you the following:</p>
<p><img class="alignnone size-full wp-image-38" title="empty-file-first-replace" src="http://www.mylifeincode.com/wp-content/uploads/2009/06/empty-file-first-replace.jpg" alt="empty-file-first-replace" width="455" height="162" /></p>
<p>Notice how each line now begins with &#8220;<strong>RD </strong>&#8220;&#8221; This is the old DOS Remove Directory command. Don&#8217;t worry, it only removes empty directories. But you still need to add an ending quote to each line. This is where Word or Open Office is handy. You can do another search and replace, but this time search for &#8220;<strong>^p</strong>&#8221; (new paragraph) and replace with &#8220;<strong>&#8220;^p&#8221;</strong> (end quote and new paragraph).</p>
<p>Save the file, and you&#8217;re all done except the double clicking.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F04%2Fhow-to-delete-empty-folders-free%2F';
  addthis_title  = 'How+to+Delete+Empty+Folders+-+FREE%21';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/cbQ'; return false;" href="http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/">The 3 Most Important Questions You Should Ask About Each Bug You Find.</a> <small>I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it: "The key idea behind...</small> </li> <li> <a onClick="window.location='http://bte.tc/cvW'; return false;" href="http://www.mylifeincode.com/2009/06/11/how-to-find-whats-running-under-svchostexe/">How to find what's running under SVCHost.exe</a> <small>My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That's when...</small> </li> <li> <a onClick="window.location='http://bte.tc/qz'; return false;" href="http://www.mylifeincode.com/2009/06/25/annoying-next-message-behavior-in-thunderbird-and-how-to-stop-it/">Annoying "next message" behavior in Thunderbird, and how to stop it!</a> <small>I love the Thunderbird email client. I use the portable version on my thumb drive, but one thing has always bugged the hell out of me when I use it:...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cKdH'; return false;" href="http://fabiezone.com/5-ways-to-make-money-marketing-online">5 Ways To Make Money Marketing Online</a> <small>Internet marketing for any product or program is a numbers game to a certain extent. You need eyeballs on your website. If you become good at getting traffic you can work at converting more of those visitors into sales and make more money. Here are 5 ways to make money......</small> </li> <li> <a onClick="window.location='http://bte.tc/pH3'; return false;" href="http://nutritionfitnesslife.com/anti-aging-makeup-tricks-and-tips-pt-2/">Anti Aging Makeup Tricks and Tips pt 2</a> <small>There are makeup tricks and tips that you can apply to melt away the years and start feeling and looking young and beautiful again. Here are some of my favorite makeup tricks and tips for just that purpose. Rosy Lip Hues Rosy lip hue is perfect because it gives you......</small> </li> <li> <a onClick="window.location='http://bte.tc/aY5c'; return false;" href="http://neo22s.com/the-lab/">The Lab</a> <small>Today just release "The Lab". The Lab is something simple, it is a place where all the scripts from this site can be found. Is a simple dir listing with the script description and use full links. I used a Php script to do the files listing and sorting by......</small> </li> <li> <a onClick="window.location='http://bte.tc/5R-'; return false;" href="http://www.weightladder.com/weight-loss-tips-and-tricks/">Weight Loss Tips and Tricks</a> <small>When it comes to losing weight, you probably know the drill. Burn more calories than you consume, eat healthy, and be healthy and the results will happen. Most diets and weight loss plans do not have much substance which is why dieting in general is far from healthy for you.......</small> </li> <li> <a onClick="window.location='http://bte.tc/n2R'; return false;" href="http://nutritionfitnesslife.com/anti-aging-makeup-tricks-and-tips-pt-1/">Anti Aging Makeup Tricks and Tips pt 1</a> <small>There are all kinds of makeup tricks and tips out there, but choosing the right ones for your own personal needs is something that you need to figure out. Here are some unique makeup tricks and tips that are anti-aging in nature. What I meant to say is that there......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft FxCop doesn&#8217;t like Microsoft generated code!</title>
		<link>http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/</link>
		<comments>http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 17:43:35 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[.net]]></category>

		<category><![CDATA[FxCop]]></category>

		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.mylifeincode.com/?p=18</guid>
		<description><![CDATA[The other day I thought it might be nice to &#8220;do the right thing&#8221; and give my code a run against Microsoft&#8217;s FxCop.
I ran it right out of the box - I didn&#8217;t bother making my own rules or changing the defaults. I was bored. Anyway, here&#8217;s one of the results that actually made be [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I thought it might be nice to &#8220;do the right thing&#8221; and give my code a run against <a title="FxCop" href="http://msdn.microsoft.com/en-us/library/bb429476(VS.80).aspx">Microsoft&#8217;s FxCop</a>.</p>
<p>I ran it right out of the box - I didn&#8217;t bother making my own rules or changing the defaults. I was bored. Anyway, here&#8217;s one of the results that actually made be chuckle once I read it carefully:</p>
<blockquote><p><span style="color: #0000ff;">Warning, Certainty 90, for <strong>DoNotInitializeUnnecessarily</strong></span><br />
{</p>
<div style="margin-left: 10px;">
<span style="color: #0000ff;">Target </span>: #.ctor()  (IntrospectionTargetMember)<br />
<span style="color: #0000ff;">Location </span>: &lt;735&gt;&gt;  (String)<br />
<span style="color: #0000ff;">Resolution </span>: <strong>&#8220;&#8216;MyDocument.New()&#8217; initializes field &#8216;MyDocument.disposedValue&#8217;<br />
of type &#8216;Boolean&#8217; to false. Remove this initialization<br />
because it will be done automatically by the runtime.&#8221;</strong><br />
<span style="color: #0000ff;">Help </span>:   (String)<br />
<span style="color: #0000ff;">Category </span>: Microsoft.Performance  (String)<br />
<span style="color: #0000ff;">CheckId </span>: CA1805  (String)<br />
<span style="color: #0000ff;">RuleFile </span>: Performance Rules  (String)<span style="color: #0000ff;"><br />
</span> <span style="color: #000080;"><span style="color: #0000ff;">I</span><span style="color: #0000ff;"><span style="color: #0000ff;">nfo</span> </span></span>: &#8220;Do not make initializations that have already been<br />
done by the runtime.&#8221;<br />
<span style="color: #0000ff;">Created </span>: 3/6/2009 6:58:21 PM  (DateTime)<br />
<span style="color: #0000ff;">LastSeen </span>: 3/6/2009 8:36:25 PM  (DateTime)<br />
<span style="color: #0000ff;">Status </span>: Active  (MessageStatus)<br />
<span style="color: #0000ff;">Fix Category</span> : NonBreaking  (FixCategories)</div>
<p>}</p></blockquote>
<p>The reason for the chuckle was that the code which triggered this violation of the rule was written by the Microsoft IDE! My role in this infraction was really quite simple: <strong>I typed &#8220;Implements IDisposable&#8221; and hit Enter.</strong> The IDE was &#8220;nice&#8221; enough to plugin the rest for me:</p>
<p>[vb language=".net"]</p>
<p> &#8216; To detect redundant calls<br />
Private disposedValue As Boolean = False</p>
<p>&#8216; IDisposable<br />
Protected Overridable Sub Dispose(ByVal disposing As Boolean)<br />
  If Not Me.disposedValue Then<br />
    If disposing Then<br />
      Array.Clear(mDocumentContent, 0, mDocumentContent.Length)<br />
    End If<br />
  End If<br />
  Me.disposedValue = True<br />
End Sub<br />
[/vb]</p>
<p>It&#8217;s bad enough that the IDE writes code for me without prompting, but maybe the FxCop team should talk to the IDE team to avoid such embarrassing nuisances (I had dozens of similar warnings to weed through) in the future.</p>
<p>According to the <a href="http://blogs.msdn.com/fxcop/archive/2008/02/28/faq-how-do-i-prevent-fxcop-1-36-from-firing-warnings-against-generated-code.aspx">Code Analysis Team</a>, this is the new default for FxCop 1.36.</p>
<p>Here&#8217;s how to avoid it:</p>
<p>Using an FxCop project:</p>
<ol>
<li>Open your FxCop project in FxCop</li>
<li>Choose Project -&gt; Options -&gt; Spelling &amp; Analysis</li>
<li>Check Suppress analysis results against generated code</li>
<li>Click OK</li>
</ol>
<p>OR, if you prefer the command-line:</p>
<ol>
<li> Pass the /ignoregeneratedcode switch, for example:</li>
</ol>
<p><em><strong>FxCopCmd.exe</strong> /file:MyAssembly.dll /out:AnalysisResults.xml /ignoregeneratedcode</em></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.mylifeincode.com%2F2009%2F06%2F02%2Fmicrosoft-fxcop-doesnt-like-microsoft-generated-code%2F';
  addthis_title  = 'Microsoft+FxCop+doesn%26%238217%3Bt+like+Microsoft+generated+code%21';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
 <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/cbQ'; return false;" href="http://www.mylifeincode.com/2009/07/14/the-3-most-important-questions-you-should-ask-about-each-bug-you-find/">The 3 Most Important Questions You Should Ask About Each Bug You Find.</a> <small>I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it: "The key idea behind...</small> </li> <li> <a onClick="window.location='http://bte.tc/cPJ'; return false;" href="http://www.mylifeincode.com/2009/07/30/free-firewall-recommendations-protect-yourself-online-with-these-free-firewalls/">Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls)</a> <small>If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...</small> </li> <li> <a onClick="window.location='http://bte.tc/FtK'; return false;" href="http://www.mylifeincode.com/2009/07/21/lessons-in-software-development-from-the-apollo-moon-missions/">Lessons in Software Development From the Apollo Moon Missions.</a> <small>Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....</small> </li> <li> <a onClick="window.location='http://bte.tc/GTb'; return false;" href="http://www.mylifeincode.com/2009/06/04/how-to-delete-empty-folders-free/">How to Delete Empty Folders - FREE!</a> <small>While performing a disk cleanup recently, I had cause to locate and delete any empty folders under a root folder. I knew there had to be a batch file command...</small> </li> <li> <a onClick="window.location='http://bte.tc/Jg4'; return false;" href="http://www.mylifeincode.com/2009/06/30/10-useful-often-overlooked-html-tags/">10 Useful, Often Overlooked HTML Tags.</a> <small>Pop quiz: When would you use the &lt;wbr&gt; tag, and what does it do? Yeah, I had no idea either. In fact, I had never even seen this tag before,...</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.mylifeincode.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/gfk'; return false;" href="http://www.handymanfixhomerepair.com/the-complete-home-improvement-perspective/">The Complete Home Improvement Perspective</a> <small>There are lots of people these days that consider themselves good handy people.  These people are fond of bragging about their complete home improvement skills and all of the projects they have managed to put together.  If you are listening to some of these people, you may just be tempted......</small> </li> <li> <a onClick="window.location='http://bte.tc/f8q'; return false;" href="http://www.handymanfixhomerepair.com/establishing-remodel-cost-home-remodeling-critical-first-step/">Establishing Remodel Cost: Home Remodeling Critical First Step</a> <small>Nothing ruins a fantastic remodel more quickly than exceeding the project budget.  Why is this phenomenon so common in residential remodeling?  Simple:  Many homeowners struggle to establish a detailed budget at the appropriate time in the course of the project. Why is establishing remodel cost one of your most important......</small> </li> <li> <a onClick="window.location='http://bte.tc/b9yy'; return false;" href="http://smartbizprofits.com/2004-internet-business-ethics-standards/">2004 internet business ethics standards</a> <small>[affmage source="chitika" results="0"][/affmage] [mage lang="" source="flickr"]2004 internet business ethics standards[/mage] ResumeHow to Make a Resume Because of the volume of resumes employers receive; most of them now use some kind of resume tracking or applicant tracking system. This automates many of the tasks necessary for tracking candidates, and also makes......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.mylifeincode.com/2009/06/02/microsoft-fxcop-doesnt-like-microsoft-generated-code/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
