<?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>Tue, 04 Aug 2009 15:12:17 +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/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/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/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/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/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/hJ'; return false;" href="http://www.blogtrafficexchange.com/should-you-use-free-blogging-sites/">Should You Use Free Blogging Sites?</a> <small>There are certainly many blogging sites online today. It has become the biggest trend in communications for business and for personal reasons. A blog is a wonderful business tool that allows you to build a presence online as an expert in your field and develop a following of loyal readers.......</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> <li> <a onClick="window.location='http://bte.tc/4xM'; return false;" href="http://cleanup-registry.net/fix-registry-errors-safely-like-an-expert-with-registry-repair-software/">Fix Registry Errors Safely (like an Expert) With Registry Repair Software</a> <small>Have you ever had a virus or spyware attack? Or have you ever downloaded an innocent looking piece of software, only to end up with a vicious Trojan or dreaded worm on your computer and loads of spyware? If you do anything online you will very likely know exactly what......</small> </li> <li> <a onClick="window.location='http://bte.tc/ZvU'; return false;" href="http://profitonknowledge.com/network-marketing/network-marketing-more-ways-to-drive-traffic-to-your-site/">Network Marketing - More Ways To Drive Traffic To Your Site.</a> <small>In network marketing there is the sleazy underhanded way to build your business and the correct way to build your business.  There are many folks online using sleazy tactics to build their network marketing business one of these tactics is called email scraping = (Spamming). Recently I brought a product......</small> </li> <li> <a onClick="window.location='http://bte.tc/EMy'; return false;" href="http://thepublicistsassistant.com/online-business-promotion-and-marketing/how-to-maximize-your-optin-lists-sales-conversion-rate/">How to maximize Your Opt-in Lists Sales Conversion Rate</a> <small>You might know by now building your own email list is very important to the success of your online business. The most common method of making visitors to sign up your mailing list is offering them some free report or eBook or free software. Otherwise you can offer them some......</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/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/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/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/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> </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/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> <li> <a onClick="window.location='http://bte.tc/ARy'; return false;" href="http://www.lazymanandmoney.com/april-round-up/">April Round-Up</a> <small>Here are some of the top Lazy Man and Money articles for April: Inflation - a simple picture that I thought told 1000 words. Budgeting For a Tank - My April Fools joke - or was it? Thoughts on Middle Class - I'm surprised this did as much traffic as......</small> </li> <li> <a onClick="window.location='http://bte.tc/quq'; return false;" href="http://www.weightladder.com/reverse-diet-review/">Reverse Diet Review</a> <small>Pros - Users felt that this diet was simple for them to understand. Users felt like the food in this diet was tasty. Users felt that the level of exercise required in this diet was acceptable. Users felt that this diet made them feel healthier over all. Users felt that......</small> </li> <li> <a onClick="window.location='http://bte.tc/afN7'; return false;" href="http://alliantdatatel.com/2010/01/09/cisco-pix-technology.html">Cisco PIX Technology</a> <small>Ciso PIX Security Appliance.Cisco PIX Security applications can enforce policies on users and applications.Cisco PIX can protect you from many different network and Internet based attacks.Cisco PIX offers secure connectivity, using methods such as SSHv2 Secure Shell Two and VPN virtual private networks.This is fairly easy to setup.Cisco PIX......</small> </li> <li> <a onClick="window.location='http://bte.tc/2B-'; return false;" href="http://alliantdatatel.com/2009/11/19/how-to-never-pay-a-hotel-phone-bill-again.html">How to Never Pay a Hotel Phone Bill Again</a> <small>The protocol is increasingly being adopted as the standard means by which computers communicate to facilitate VoIP or Voice Over Internet Protocol. So you can imagine SIP as a common language for new generation operators to speak to connect calls. However, there are no operators there is only your......</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/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/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/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/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> </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/G2k'; return false;" href="http://www.frodesigns.com/2009/09/wp-e-commerce/">WP e-Commerce</a> <small>UPDATE: My client's site is now live! Link: http://www.stringcollector.com I have recently been developing an e-Commerce website for a client using WordPress and the free WP e-Commerce plug-in. In this post, I'd like to talk a bit about the plug-in and some of my thoughts and opinions about it as......</small> </li> <li> <a onClick="window.location='http://bte.tc/PJT'; return false;" href="http://alliantdatatel.com/2009/12/03/business-security-signal-voip-wireless-2.html">Business Security Signal VOIP Wireless</a> <small>Security If you are a businessman, you keep a lot of information in your office. Information such as business strategies, and business secrets would be included in the information that you keep inside your office. This is why you want to secure this information and keep it confidential in......</small> </li> <li> <a onClick="window.location='http://bte.tc/bjd'; return false;" href="http://www.blogtrafficexchange.com/must-have-blogging-tools/">Must Have Blogging Tools</a> <small>Blogging has developed a serious place for itself in the internet community for many different purposes including personal use and business uses. As a result, it has evolved into becoming a truly essential tool for people who want to build communications, deliver up to date news and information and otherwise......</small> </li> <li> <a onClick="window.location='http://bte.tc/a3Zz'; return false;" href="http://alliantdatatel.com/2010/02/16/call-centre-software-features-that-call-centres-cant-do-without.html">Call Centre Software - Features That Call Centres Can't Do Without</a> <small>Call centre software systems perform a variety of functions such as automating processes, reporting in real time and integrating different channels of communication between agents and customers.Depending upon the complexity of tasks and the magnitude of the enquiry turnover, there are several types of call centre software systems such......</small> </li> <li> <a onClick="window.location='http://bte.tc/e5J'; return false;" href="http://therealwealthblog.com/2009/06/09/property-management-software/">Property Management Software</a> <small>[/caption] Greetings from the metropolis of Cedar Crest New Mexico. VBS (Vacation Bible School) is on my agenda every morning this week....and I could not be happier.  I have the 4th and 5th graders and they are just too cool.  Reminds me of what is important....or at least what......</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/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/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/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/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/gCW'; return false;" href="http://www.tennisracquetracket.com/more-tips-for-serving/"> More Tips for Serving</a> <small>Here are some more useful tennis tips for improving your serving game. If you want to make improvements in your ability to serve, these tips will prove useful. Tip #1: Be a little off center after your serve. When you are serving wide to your opponent in order to......</small> </li> <li> <a onClick="window.location='http://bte.tc/2BW'; return false;" href="http://www.richcreditdebtloan.com/what-is-bankruptcy/">What is Bankruptcy?</a> <small>Understand the process of bankruptcy before you file the forms by yourself or with an attorney. To start the process of bankruptcy, a person with an unwieldy amount of debt files for bankruptcy in the nearest court. This process is normally done with the help of attorney, a person is......</small> </li> <li> <a onClick="window.location='http://bte.tc/anR'; return false;" href="http://www.sfboater.com/how-to-catch-ling-cod/">How to Catch Ling Cod</a> <small>If you have never heard of the Ling Cod before, this is a fun fish to try to catch that can be found anywhere along the California coast, as far south as Baja. This is a popular fish that gives a lot of sport and the size is well worth......</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/gfn'; return false;" href="http://www.savingstoolbox.com/2009/08/10/finding-money-to-save/">Finding Money to Save</a> <small>Saving money is challenging when most (or all!) of your income seems to be going towards living expenses and debt repayments. There are several ways to reduce your expenses in order to give you some money to save each month - here are a few tips to get you......</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/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/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/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/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/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> </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/fet'; return false;" href="http://www.handymanfixhomerepair.com/how-home-improvement-software-can-help-you-out/">How Home Improvement Software Can Help You Out</a> <small>If you are interested in home improvement these days, you also need to be interested in what the modern world can do for you as far as home improvement is concerned.  There is no type of handyman in today’s world that does not use the conveniences of modern technology to......</small> </li> <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/8fx'; return false;" href="http://a2zmacau.com/2413/city-of-dreams-suffers-a-us600-million-cost-overrun/">City of Dreams Suffers a US$600 Million Cost Overrun</a> <small>As expected costs of the City of Dreams casino project continue to blowout, now by a whopping $US600 million! The estimated outlay is now $US2.1 billion compared with the previously reported $US1.85 billion in June and $US1.5 billion last December. We can foresee further cost overruns happening prior to the......</small> </li> <li> <a onClick="window.location='http://bte.tc/km4'; return false;" href="http://www.onlinesecurityauthority.com/website-security/offshore-software-development-services-have-been-developed-with-challenging-tasks-for-many-years/">Offshore software development services have been developed with challenging tasks for many years</a> <small>With the advent of Quality System Standards, outsourcing firms as well as the outsourcer have to accomplish different objectives regarding the quality of the software. To sustain itself in the tough competitive field, businesses need to be exceptionally good in quality, promptness and accuracy. Today, there are many firms that......</small> </li> <li> <a onClick="window.location='http://bte.tc/rR3'; return false;" href="http://www.onlinesecurityauthority.com/website-security/web-development-india/">Web Development India</a> <small>A mission to be a globally preferred provider of web, software and business support solutions inspired our mentors towards the making of Nomi Infotech Pvt. Ltd. Hard toil mixed with intensive research work focusing on effective solutions for your business is the simple philosophy leading to evolution of NOMI. Internet/Client......</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/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/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/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/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/3S9'; return false;" href="http://searchenginerankings.atasmedia.net/2009/11/why-membership-sites-suck-and-why-ftm-sites-rock/">Why Membership Sites Suck and Why FTM Sites Rock?</a> <small>Why Membership Sites Suck and Why FTM Sites Rock? By Deep Arora If you are reading this, then you are likely aware of the tremendous profit opportunities that membership sites offer. It is no exaggeration to say that income streams that continue to churn out cash even when you sleep......</small> </li> <li> <a onClick="window.location='http://bte.tc/2xX'; return false;" href="http://searchenginerankings.atasmedia.net/2009/11/why-using-long-tail-keywords-is-key-for-dubli-seo/">Why Using Long Tail Keywords is Key For DubLi SEO</a> <small>Why Using Long Tail Keywords is Key For DubLi SEO By Daniel D. Understanding the basics behind keyword research and types of keywords is necessary before attempting to optimize search engine ranking. Keywords are commonly split into two broad categories, short-tail keywords and long-tail keywords. Originally coined by Chris Anderson......</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> <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> </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/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/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/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/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/ahK9'; return false;" href="http://www.worldphoto360.com/home-network-security/">Home Network Security</a> <small>[/caption] Home Computer security 1. What is computer security? Computer security is the process of preventing and detecting unauthorized use of your computer. Prevention measures help you to stop unauthorized users (also known as "intruders") from accessing any part of your computer system. Detection helps you to determine whether or......</small> </li> <li> <a onClick="window.location='http://bte.tc/WVH'; return false;" href="http://blog.7touchgroup.com/2009/12/android-sdk-updates/">Android SDK Updates</a> <small>Today we are releasing updates to multiple components of the Android SDK: Android 2.0.1, revision 1 Android 1.6, revision 2 SDK Tools, revision 4 Android 2.0.1 is a minor update to Android 2.0. This update includes several bug fixes and behavior changes, such as application resource selection based on API......</small> </li> <li> <a onClick="window.location='http://bte.tc/ZSp'; return false;" href="http://blog.7touchgroup.com/2009/07/now-available-android-1-6-ndk/">Now available: Android 1.6 NDK</a> <small>Today Android 1.6 NDK, release 1 is available for download from the Android developer site. To recap, the NDK is a companion to the SDK that provides tools to generate and embed native ARM machine code within your application packages. This native code has the same restrictions as the VM......</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> <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> </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/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> <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/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/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/a9he'; return false;" href="http://blog.7touchgroup.com/2010/02/video-demo-of-google-chrome-os-taken-at-mountain-view-debut/">Video demo of Google Chrome OS, Taken At Mountain View Debut</a> <small>A Video demo of Google's Chrome OS......</small> </li> <li> <a onClick="window.location='http://bte.tc/ac4t'; return false;" href="http://blog.7touchgroup.com/2010/01/android-2-0-what-to-expect/">Android 2.0: what to expect</a> <small>By James Sherwood You don't want to find stale donuts in your local patisserie, you want the freshest treats available. Likewise, you want the latest, most up-to-date smartphone operating system which, in the case of Android, means choosing Éclair. Google Android 2.0: coming soon to a handset near you Éclair –......</small> </li> <li> <a onClick="window.location='http://bte.tc/32r'; return false;" href="http://blog.7touchgroup.com/2009/11/five-reasons-the-google-chrome-os-will-flop-cio-com-business-technology-leadership/">Five Reasons the Google Chrome OS Will Flop</a> <small>Five Reasons the Google Chrome OS Will Flop - CIO.com - Business Technology Leadership By Tony Bradley Yesterday Google hosted a press event at its Mountain View campus to reveal a first glimpse at the Chrome OS. The excitement around the operating system has led to rampant rumors and speculation,......</small> </li> <li> <a onClick="window.location='http://bte.tc/a7yU'; return false;" href="http://blog.7touchgroup.com/2010/02/google-os-a-solution-not-an-alternative/">Google OS A Solution not an Alternative</a> <small>Google OS Desktop-based operating systems have been a core component to computers for the last few centuries yet Google's Chrome OS claims to eliminate the desktop all together. Some feel that this approach is inline with the uptrend in cloud computing and a natural progression for the operating system while......</small> </li> <li> <a onClick="window.location='http://bte.tc/fga'; return false;" href="http://geeklad.com/google-continues-bringing-together-analog-and-digital">Google Continues Bringing Together Analog and Digital</a> <small>Google recently made audio playback available for some Knol articles. For example, if you check out the article on how to treat and prevent skin allergies, you'll notice a link that says Listen. If you click the link, a small embedded media player appears and you begin to hear the......</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/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/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/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/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/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> </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/b3Q'; return false;" href="http://www.djyano.com/11-useful-blogger-and-wordpress-tweaks-tips-tricks-and-tools-to-improve-your-reader-experience">11 Useful Blogger and WordPress Tweaks, Tips, Tricks and Tools To Improve your Reader Experience</a> <small>Listed below are "11 Useful Blogger and WordPress Tweaks and Tools To Improve your Reader Experience". It will help in enhancing your visitors or readers experience. 80% of these list will make your visitors or readers come back for more. Try it to believe it. "11 Useful Blogger and WordPress......</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> <li> <a onClick="window.location='http://bte.tc/enp'; return false;" href="http://www.tennisracquetracket.com/ground-strokes-guide-pt-2/">Ground Strokes Guide pt 2</a> <small>Continued from part one. 3 - Standing Sideways Whenever it is possible to do so, you should play your ground strokes from a hitting position that has you standing sideways. You should be standing as if you are a write handed batter if you are hitting a forehand shot, or......</small> </li> <li> <a onClick="window.location='http://bte.tc/ceM'; return false;" href="http://www.golfballdriver.com/tips-to-improve-your-short-game/">Tips to Improve Your Short Game</a> <small>For many golfers, the short game is the spot where an entirely terrific round of golf can go completely downhill. While some may find the short game the easy part of golf, the vast majority usually find that this is a definite trouble spot. There are quite a few things......</small> </li> <li> <a onClick="window.location='http://bte.tc/aBex'; return false;" href="http://blog.7touchgroup.com/2010/02/chrome-compared-with-explorer/">Chrome Compared With Explorer</a> <small>Google in the browser space with its Mars 'Chrome'! I was pleasantly surprised that almost immediately after starting a download link for Google Chrome appears on the search site Google, which is my home page my default Internet Explorer 8 (IE8) browser . Without hesitating how to link to my......</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/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/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/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/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> </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/yX-'; return false;" href="http://alliantdatatel.com/2009/11/15/how-to-use-search-engine-optimization-to-destroy-your-competition-in-3-easy-steps.html">How To Use Search Engine Optimization to Destroy Your Competition in 3 Easy Steps</a> <small>Search Engine Optimization - Secrets Revealed.Let's begin: What is 'competition'? Competition is described as "one that competes", "a rival", "selling or buying goods or sevices in the same market as another", and even down to the biological level - "an organism that lives in competition with another".SEO &amp; Web......</small> </li> <li> <a onClick="window.location='http://bte.tc/cgH'; return false;" href="http://nutritionfitnesslife.com/4-things-meme/">If you'd like to learn more about me, then read on, curious readers, read on!</a> <small>This was the week of the meme's. I was tagged by Weight Ladder to do a 6-word memoir. I had actually completed this meme in the past, but no worries. My "profound" words are still there for all to see. ;) JoLynn at The Fit Shack tagged me with a......</small> </li> <li> <a onClick="window.location='http://bte.tc/yt7'; return false;" href="http://alliantdatatel.com/2009/11/13/meta-tags-an-introduction.html">Meta Tags - An Introduction</a> <small>A long, long time ago In a galaxy far, far awaymeta tags were the key component to search engine rankings. Okay, it was about 2 years ago, but thats a long time in the Internet galaxy. Although still relevant, the evil empireer, Darth Google, has led a movement by......</small> </li> <li> <a onClick="window.location='http://bte.tc/zZJ'; return false;" href="http://alliantdatatel.com/2009/11/18/guidelines-for-good-title-tag.html">Guidelines for Good Title Tag</a> <small>What is a Title Tag?A title tag is a piece of HTML code that describes a specific web pages content through a keyword query that a person types into a search engine. Title Tags are a very important guide for all search engines in determining what is in the......</small> </li> <li> <a onClick="window.location='http://bte.tc/axYT'; return false;" href="http://newonlineshopping.net/some-tips-to-think-about-when-deciding-to-have-a-web-site-built/">Some tips to think about when deciding to have a web site built</a> <small>Judith Palfrey is a professional web site developer for 14 years and has developed some special websites to help small businesses advertise in their local community using the Internet. She is also the President of Shopping Portals, Inc. affiliated with Palfrey Associates. To learn more about her services visit: www.ShopGaithersburg.com,......</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/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/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/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/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> </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/MV'; return false;" href="http://www.tennisracquetracket.com/13-quick-tips-for-better-tennis/">13 Quick Tips for Better Tennis</a> <small>There are a lot of tennis tips and tricks floating around out there, but many are complicated and complex, and not at all easy for you to implement on your own without a dedicated trainer to walk you through them. The following article is designed to go over some quick......</small> </li> <li> <a onClick="window.location='http://bte.tc/nBA'; return false;" href="http://dannedelko.com/wordpress/wordpress-desktop-client-for-mac.html">Wordpress Desktop Client for Mac</a> <small>I spend a good bit of my time writing content for my various websites. Logging into each separate Wordpress or Joomla instance can be time consuming and annoying - as good as web interfaces have become they are still no where near as responsive as a good desktop app. Being......</small> </li> <li> <a onClick="window.location='http://bte.tc/ysr'; return false;" href="http://alliantdatatel.com/2009/11/13/becoming-an-internet-entrepreneur-tips-and-tricks.html">Becoming an Internet Entrepreneur - Tips and Tricks</a> <small>To get you fast-tracked, we have included a vast selection of tips and tricks to make your online business a success that it deserves to be.1) First of all, choose a domain name that is somehow related to the business you are in. For example, if you are looking......</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/aeVb'; return false;" href="http://www.sfboater.com/ebook-fishing-in-california/">eBook Fishing in California</a> <small>The Complete Guide to California Fishing Download Your 32 Page FREE eBook Are you planning a vacation to California? Looking for a better way to fish the more than 1000 lakes throughout this state? You'll find everything you need to know inside The Complete Guide to California Fishing! We've......</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/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/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/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/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/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> </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/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/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/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/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/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> </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/anq'; return false;" href="http://www.fullinternetmarketingservices.com/seo-report-overview/">SEO Report Overview</a> <small>Below is an overview of what is contained in our affordable SEO Report. If you would like to see a sample of this report that was run using our web site and specific keywords as well as search engine, please click on SEO Report Sample. Report Overview This section contains......</small> </li> <li> <a onClick="window.location='http://bte.tc/cun'; return false;" href="http://www.blogtrafficexchange.com/simple-tips-for-a-popular-blog/">Simple Tips for a Popular Blog</a> <small>Blogs are, hands down, one of the easiest possible ways for you to publish your thoughts or messages on the internet. Blogs are excellent for spiking search engine enthusiasm, meaning that by writing in a blog you can easily attract plenty of traffic. But are you aware of what you......</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/xAs'; return false;" href="http://alliantdatatel.com/2009/11/11/how-to-avoid-the-3-biggest-title-tag-mistakes-with-search-engines.html">How To Avoid The 3 Biggest Title Tag Mistakes With Search Engines</a> <small>Your title tag is the most important 3 to 12 words on your Web page. It accounts for up to 80% of your rankings on search engines.Here's why:Search Engines look for "searched for" words first in title tags.The title tag is one of the main places search engines look......</small> </li> <li> <a onClick="window.location='http://bte.tc/aA9Y'; return false;" href="http://www.search-commando.com/search-engine-optimization/role-of-on-page-optimization-in-seo">Role of On Page Optimization in SEO</a> <small>What's Search Engine Optimization? Search Engine Optimization is the method of enhancing the visibility of a web site on search engine listings. It refers to an inventory of promoting tools required to arrange a web site in order to extend its rankings in the context of the result of pages......</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/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/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/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/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/taj'; return false;" href="http://thepublicistsassistant.com/web-development/web-marketing-business-solutions-for-small-businessonline-marketing-consultant/">Web Marketing Business Solutions For Small Business | Online Marketing Consultant</a> <small>Web MarketingLooking for ways to give your business a marketing boost? If so, do you own an on-line presence as part of your promotions formula? The World Wide Web is now the first selection for individuals researching products and services they are thinking buying.The web has now assumed dominance the......</small> </li> <li> <a onClick="window.location='http://bte.tc/Rbx'; return false;" href="http://www.thecaymanhost.com/web-hosting-articles/dedicated-server-hosting-advantages">Dedicated Server Hosting Advantages</a> <small>Dedicated Web Hosting Has Many Advantages By Volodymyr Zablotskyy Compared to shared web hosting, it is more expensive to host your web site on a dedicated server. You may wonder why you would even think about using a dedicated web hosting solution. Well, there are many advantages to having your......</small> </li> <li> <a onClick="window.location='http://bte.tc/bq'; return false;" href="http://www.phawville.com/blog/visual-quickstart-guide-html-xhtml-css-6th-edition/">Visual Quickstart Guide - HTML, XHTML & CSS 6th Edition</a> <small>I recently bought the book Visual Quickstart Guide - HTML, XHTML &amp; CSS 6th Edition to refresh my knowledge on Web creation and to serve as a handy reference for me. I know that there are a lot of free XHTML + CSS tutorials online but nothing beats a......</small> </li> <li> <a onClick="window.location='http://bte.tc/ag9W'; return false;" href="http://thepublicistsassistant.com/web-development/engaging-pointers-for-creating-excellent-website-development-titles-and-headlines/">Engaging Pointers For Creating Excellent Website Development Titles And Headlines</a> <small>If you look at people when they are browsing magazines in the store, when they find one they are interested in, they usually only look for specific articles and put it back if they don't find what they want. They look for headlines and titles that catch their eye. This......</small> </li> <li> <a onClick="window.location='http://bte.tc/m7'; return false;" href="http://www.musicalinstrumentsdrum.com/musical-instruments-drums-for-sale/">Musical Instruments: Drums for Sale</a> <small>The unique thing about drums when it comes to making music is that there are so many different elements that change the sound you create when you play them. The size, shape and composition of the drum will all alter the sound that it creates. Whether you beat on the......</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/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/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/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/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/-Wp'; return false;" href="http://www.bripblap.com/2009/should-i-tip-or-not/">should I tip or not?</a> <small>If you're careful with your money you probably face a frequent dilemma of how much to tip various people in service positions. Tipping ranges from the $3 slipped to a doorman who hails a cab to a couple of hundred for some guys who move your stuff cross-country. Before I......</small> </li> <li> <a onClick="window.location='http://bte.tc/-sk'; return false;" href="http://blog.7touchgroup.com/2009/12/toshiba-tg01-%e2%80%93-what-more-one-can-expect/">Toshiba TG01 – What More One Can Expect?</a> <small>The perfect way for describing the new Toshiba TG01 will be âbeyond expectationsâ. The three most important things to be noticed about this marvelous piece of technology are the fact that, it has the largest screen in the industry at 4.1 inches, has the fastest processor in the form of......</small> </li> <li> <a onClick="window.location='http://bte.tc/N6f'; return false;" href="http://www.tennisracquetracket.com/tennis-scoring/">Tennis Scoring</a> <small>A game of tennis starts with the service and ends when a player has scored 4 points, as long as they are also 2 points ahead of their opponent. Games are generally part of a set, which is a series of games played until one player has reached six wins,......</small> </li> <li> <a onClick="window.location='http://bte.tc/FMQ'; return false;" href="http://www.onlinesecurityauthority.com/online-security-authority/review-me/">Review Me</a> <small>ThisÂ is aÂ "Sponsored Post" for theÂ Review Me website. What a great idea for a creating a win-win situation for promoting a service or website reviews used as an promotional tool where you bring advertisers and bloggers together by giving them both a place to share their thoughts critiques about each other......</small> </li> <li> <a onClick="window.location='http://bte.tc/nmN'; return false;" href="http://www.tennisracquetracket.com/tennis-glossary-pt5/">Tennis Glossary pt5</a> <small>Court - The length of the tennis court is 78 feet and the width of the tennis court is 27 feet when dealing with singles matches. For doubles matches, the length remains the same but the court is 36 feet in width. The court is divided along its middle with......</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/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/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/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/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/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> </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/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/dY-'; return false;" href="http://www.mightybargainhunter.com/2008/04/19/making-money-with-an-ebay-store-part-7-streamlining-your-shipping-process/">Making money with an eBay Store, Part 7: Streamlining your shipping process</a> <small>(This post is part of a series on Making Money with an eBay Store. The Introduction and table of contents to the series is here.) Part 6 of this series on making money with eBay Storesshowed some of the things I do to streamline my listing process. The idea is......</small> </li> <li> <a onClick="window.location='http://bte.tc/STw'; return false;" href="http://howdoigetmyexboyfriendback.org/2558/plz-help-me-to-write-the-main-idea-of-this-article-in-the-ny-times-in-two-pages/">plz. help me to write the main idea of this article in the NY Times. in two pages.?</a> <small>November 5, 2006 Where Plan A Left Ahmad Chalabi By DEXTER FILKINS 1. London, August 2006 Many miles away &#105;&#110; &#97; &#109;&#111;&#114;&#101; dangerous &#112;&#108;&#97;&#99;&#101; &#116;&#104;&#101; dream &#105;&#115; ending badly. The bodies pile up. Good people stream &#116;&#111; &#116;&#104;&#101; borders. Leaders pile money onto planes. The center &#105;&#115; giving way. The......</small> </li> <li> <a onClick="window.location='http://bte.tc/a2We'; return false;" href="http://jamesartre.com/805/how-to-improve-your-websites-usability/">How To Improve Your Websites Usability</a> <small>The number one factor that makes or breaks your websites and blogs, is whether or not people can use it. This is typically referred to as your blog’s usability. It seems simple enough, if visitors to your site can’t do what you would like them to do (buy things, subscribe,......</small> </li> <li> <a onClick="window.location='http://bte.tc/6Dn'; return false;" href="http://thepublicistsassistant.com/web-development/find-out-more-aboutinternet-marketing-now-anyone-to-make-money-in-their-own-home-business/">Find Out More About  Internet Marketing - Now Anyone To Make Money In Their Own Home Business!</a> <small>Internet Marketing has made it possible for more and more people to finally start a business they can run from the privacy of their home. It doesn't cost a lot to get started and you do not need to hire employees to help you; at least not in the beginning.......</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/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/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/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/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> </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/djN'; return false;" href="http://www.blogtrafficexchange.com/wordpress-backup/">Wordpress Backup</a> <small>Wordpress Backup is an essential plugin for all Wordpress blog administrators by the Blog Traffic Exchange. It performs regular backups of your upload (images) current theme, and plugin directories. Backup files are available for download and optionally emailed to a specified email. Don't get caught without a recent backup of......</small> </li> <li> <a onClick="window.location='http://bte.tc/Pke'; return false;" href="http://blog.amit-agarwal.co.in/2008/09/30/solaris-one-liners/">Solaris one liners</a> <small>http://www.unixguide.net/sun/sunoneliners.shtml Unix/Solaris: One-Liners Source: http://www.kevlo.com/~ebs/unix_commands.txt Listed here are a bunch of unix commands. --> change file date stamp touch –t 199906042020 filename --> move partitions ufsdump 0f - /dev/rdsk/c0t0s0s0 | (cd /home; ufsrestore xv -) --> lay down file system with 1% minfree and inode density newfs –m1 –i81920 /dev/rdsk/c0t0d0s0......</small> </li> <li> <a onClick="window.location='http://bte.tc/aAsg'; return false;" href="http://blog.amit-agarwal.co.in/2010/02/10/bash-tips-tricks/">Bash Tips & Tricks</a> <small>http://www.ukuug.org/events/linux2003/papers/bash_tips/ http://www.gbdirect.co.uk/ Power Shell Usage Bash Tips &amp; Tricks Simon Myers simon.myers@gbdirect.co.uk UKUUG Linux 2003 Conference • August 2003 http://www.ukuug.org/events/linux2003/ This view lists all the slides from the talk in a continuous format. There is a PDF version available, suitable for printing on A4 paper. The slides are also......</small> </li> <li> <a onClick="window.location='http://bte.tc/ag6R'; return false;" href="http://blog.amit-agarwal.co.in/2010/01/09/useless-use-of-cat-awards/">Useless use of cat awards</a> <small>Here you will find some useless use of cat command in linux. Really interesting and quite informative. Useless Use of Cat Award If you've been reading comp.unix.shell or any of the related groups (comp.unix.questions inter alia) for any amount of time, this should be a familiar topic. I made this......</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/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/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/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/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/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/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/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/aj4b'; return false;" href="http://sosrooflinesystems.co.uk/blog/1563/home-improvement-comes/">Home Improvement Comes</a> <small>Where to Begin Individuals need to try and do home improvement projects constantly to increase the value of their home. Several folks, but, do not understand that project to tackle initial once they have multiple projects to be done. Selecting which project to try and do initial can be set......</small> </li> <li> <a onClick="window.location='http://bte.tc/ajm7'; return false;" href="http://blog.7touchgroup.com/2010/01/windows-mobile-iphone-android-marketplace-comparison/">Windows Mobile, iPhone, Android - Marketplace Comparison</a> <small>Detailed comparison between Windows Mobile Marketplace, Apple's iPhone AppStore and Android Market from developer point of view. By: Predrag Tomasevic (Click for bigger image) Introduction The article you are about to read is my compilation of thoughts on three currently most popular and talked about mobile platforms, sparked by whole......</small> </li> <li> <a onClick="window.location='http://bte.tc/afD3'; return false;" href="http://blog.7touchgroup.com/2010/01/development-and-remote-installation-of-java-service-for-the-android-devices/">Development and remote installation of Java service for the Android Devices</a> <small>Written by: Igor Darkov, Software Developer of Device Team, Apriorit Inc. In this article I’ve described: How to develop simple Java service for the Android Devices; How to communicate with a service from the other processes and a remote PC; How to install and start the service remotely from the......</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>
