<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rob Earhart's WebLog - All Comments</title><link>http://blogs.msdn.com/b/earhart/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title> Rob Earhart s WebLog SEH stack walking | Quick Diets</title><link>http://blogs.msdn.com/b/earhart/archive/2004/12/07/277645.aspx#9744930</link><pubDate>Sat, 13 Jun 2009 16:19:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9744930</guid><dc:creator> Rob Earhart s WebLog SEH stack walking | Quick Diets</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://quickdietsite.info/story.php?id=14022"&gt;http://quickdietsite.info/story.php?id=14022&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9744930" width="1" height="1"&gt;</description></item><item><title>re: Threadpool</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/19/356109.aspx#372909</link><pubDate>Tue, 15 Feb 2005 14:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:372909</guid><dc:creator>Ramanujam</dc:creator><description>wow that's great..........to hear...&lt;br&gt;even we are working on kernel 32....in our IBM labs&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=372909" width="1" height="1"&gt;</description></item><item><title>re: Threadpool</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/19/356109.aspx#359370</link><pubDate>Mon, 24 Jan 2005 12:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:359370</guid><dc:creator>Pavel Lebedinsky</dc:creator><description>Are the docs for the new threadpool publicly available?&lt;br&gt;&lt;br&gt;Good luck fixing the loader lock mess. The current design is (in my opinion) just asking for problems:&lt;br&gt;&lt;br&gt;1. Create a set of rules that forbid doing most non-trivial things in code that runs inside the loader lock.&lt;br&gt;&lt;br&gt;2. Expose a very easy way for people to write such code without even realizing it (static C++ constructors/destructors).&lt;br&gt;&lt;br&gt;3. Provide no mechanism to enforce the rules.&lt;br&gt;&lt;br&gt;4. Make sure that even when the rules are violated, things still seem to work correctly 99% of the time.&lt;br&gt;&lt;br&gt;5. Watch people fall into the same trap over and over again.&lt;br&gt;&lt;br&gt;Really, how are people supposed to find out that (for example) declaring a global CComBSTR object is a big no-no, when it works just fine in the vast majority of cases?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=359370" width="1" height="1"&gt;</description></item><item><title>It's Hungarian-esque</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/05/346949.aspx#357040</link><pubDate>Thu, 20 Jan 2005 11:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:357040</guid><dc:creator>Sorting It All Out</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=357040" width="1" height="1"&gt;</description></item><item><title>It's Hungarian-esque</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/05/346949.aspx#349539</link><pubDate>Mon, 10 Jan 2005 00:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:349539</guid><dc:creator>Sorting It All Out</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=349539" width="1" height="1"&gt;</description></item><item><title>re: Hungarian</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/05/346949.aspx#347505</link><pubDate>Thu, 06 Jan 2005 11:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:347505</guid><dc:creator>Michael Grier [MSFT]</dc:creator><description>I think there is a useful subset of Hungarian.&lt;br&gt;&lt;br&gt;rgElements - an array of elements&lt;br&gt;iElement - the index (0-based) of an element&lt;br&gt;cElements - the count of elements in a collection&lt;br&gt;rgpElements - an array of pointers to elements&lt;br&gt;prgElements - a pointer to the head of an array of elements&lt;br&gt;pElement - a pointer to a single element&lt;br&gt;&lt;br&gt;specifically, the &amp;quot;i&amp;quot; and &amp;quot;c&amp;quot; prefixes are very useful IMO as a shorthand for &amp;quot;ElementCount&amp;quot; or &amp;quot;ElementIndex&amp;quot;.&lt;br&gt;&lt;br&gt;pElement vs. prgElements is useful to differentiate a pointer to a singleton vs. a pointer to a vector/array/&amp;quot;range&amp;quot; of elements (range is where rg comes from; I think it's obtuse but whatever.)&lt;br&gt;&lt;br&gt;Further&lt;br&gt;&lt;br&gt;pszName&lt;br&gt;rgchName&lt;br&gt;&lt;br&gt;is a good distinction since the intent is clear that pszName is terminated with a null character where rgchName is just an array of characters which may or may not have a null character inside the array.&lt;br&gt;&lt;br&gt;In Office, we had to assign a Hungarian prefix to every type which was rediculous.  That's where you get some of the craziness.&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=347505" width="1" height="1"&gt;</description></item><item><title>re: Hungarian</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/05/346949.aspx#346970</link><pubDate>Wed, 05 Jan 2005 20:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:346970</guid><dc:creator>Rob Earhart</dc:creator><description>It wouldn't surprise me if study's a hoax... the underlying idea remains, though--people seem to be able to handle a certain degree of scrambling, but that mechanism's probably not as useful with Hungarian.  At least, that matches my intuition, having used Hungarian a bit.&lt;br&gt;&lt;br&gt;I'd love to see some sort of &amp;quot;reading comprehension&amp;quot; study done on source code written in various languages and in various styles... it'd be hard to factor in people's existing language knowledge, but it might still be useful.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=346970" width="1" height="1"&gt;</description></item><item><title>re: Hungarian</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/05/346949.aspx#346966</link><pubDate>Wed, 05 Jan 2005 20:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:346966</guid><dc:creator>Uwe Keim</dc:creator><description>That study that your wife stated is a hoax.&lt;br&gt;&lt;br&gt;This is a german magazine's article about that stuff:&lt;br&gt;&lt;a target="_new" href="http://www.heise.de/tp/r4/artikel/15/15701/1.html"&gt;http://www.heise.de/tp/r4/artikel/15/15701/1.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;This is the google-translation:&lt;br&gt;&lt;a target="_new" href="http://translate.google.com/translate?u=http%3A%2F%2Fwww.heise.de%2Ftp%2Fr4%2Fartikel%2F15%2F15701%2F1.html&amp;amp;langpair=de%7Cen&amp;amp;hl=de&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8&amp;amp;prev=%2Flanguage_tools"&gt;http://translate.google.com/translate?u=http%3A%2F%2Fwww.heise.de%2Ftp%2Fr4%2Fartikel%2F15%2F15701%2F1.html&amp;amp;langpair=de%7Cen&amp;amp;hl=de&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8&amp;amp;prev=%2Flanguage_tools&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=346966" width="1" height="1"&gt;</description></item><item><title>re: Hungarian</title><link>http://blogs.msdn.com/b/earhart/archive/2005/01/05/346949.aspx#346960</link><pubDate>Wed, 05 Jan 2005 20:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:346960</guid><dc:creator>Rick Schaut</dc:creator><description>Take a look at &amp;lt;a href=&lt;a target="_new" href="http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx"&gt;http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx&lt;/a&gt; this&amp;gt;.  Wikipedia references the article &amp;lt;a href=&lt;a target="_new" href="http://en.wikipedia.org/wiki/Talk:Hungarian_notation"&gt;http://en.wikipedia.org/wiki/Talk:Hungarian_notation&lt;/a&gt; here&amp;gt;.&lt;br&gt;&lt;br&gt;Rick&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=346960" width="1" height="1"&gt;</description></item><item><title>re: Yet another reason not to handle all SEH exceptions</title><link>http://blogs.msdn.com/b/earhart/archive/2004/12/17/323779.aspx#345912</link><pubDate>Mon, 03 Jan 2005 23:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:345912</guid><dc:creator>Seth McCarus</dc:creator><description>Rob, nice to have found your blog.  SEH is simple on the surface but there are so many hidden caveats - I wish that MSDN or some such reference had a real user's guide to SEH, not just the functions and keywords, but how it should be used.&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=345912" width="1" height="1"&gt;</description></item></channel></rss>