<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://commongenius.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>Common Genius</title><link>http://commongenius.com/default.aspx</link><description>The online technical home of David Nelson</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Magic Booleans</title><link>http://commongenius.com/variable_irony/archive/2008/08/11/magic-booleans.aspx</link><pubDate>Mon, 11 Aug 2008 14:55:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:60</guid><dc:creator>dnelson</dc:creator><slash:comments>1</slash:comments><description>Hopefully somewhere in your programming career you reached a point where you could recognize the following as a Bad Idea: Foo.Bar(42) What does 42 represent? Why are we passing it into the Bar method? Why not 41 or 43 instead? Presumably 42 has some particular meaning in the context of the method call, but it is not obvious from the usage what that meaning is. Numeric constants which are used directly in expressions like this are called Magic Numbers , and most of us are taught to recognize them...(&lt;a href="http://commongenius.com/variable_irony/archive/2008/08/11/magic-booleans.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>Dynamic Typing and a Tale of Two Interviews</title><link>http://commongenius.com/variable_irony/archive/2008/04/28/dynamic-typing-and-a-tale-of-two-interviews.aspx</link><pubDate>Mon, 28 Apr 2008 18:08:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:47</guid><dc:creator>dnelson</dc:creator><slash:comments>1</slash:comments><description>A manager needed to hire a new employee, so he posted an ad on a job search website. He soon had a flood of responses. The manager carefully examined the resume of each applicant, looking for specific skills that he knew the job required. Not surprisingly, most of the respondents didn't fit the bill. The manager selected a few that seemed like they might have the right qualifications, and brought them in for an interview. He gave each of them a set of tests to complete that would exercise the skills...(&lt;a href="http://commongenius.com/variable_irony/archive/2008/04/28/dynamic-typing-and-a-tale-of-two-interviews.aspx"&gt;read more&lt;/a&gt;)</description><category domain="http://commongenius.com/variable_irony/archive/tags/dynamic_5F00_typing/default.aspx">dynamic_typing</category></item><item><title>Why I Hate Marketing</title><link>http://commongenius.com/variable_irony/archive/2008/04/28/why-i-hate-marketing.aspx</link><pubDate>Mon, 28 Apr 2008 10:07:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:46</guid><dc:creator>dnelson</dc:creator><slash:comments>1</slash:comments><description>When I complained on Scott Hanselman's blog (on something of a tangent I admit) that the versioning of the .NET Framework was nonsensical, he asked me how I would have done it. I think he was subtly trying to point out to me that its not as easy as it looks. But I already knew that. Obviously trying to come up with a system for describing a platform of technologies and tools in a way that makes sense to techies and non-techies alike is a challenge. But the way it has been done so far doesn't seem...(&lt;a href="http://commongenius.com/variable_irony/archive/2008/04/28/why-i-hate-marketing.aspx"&gt;read more&lt;/a&gt;)</description><category domain="http://commongenius.com/variable_irony/archive/tags/.NET/default.aspx">.NET</category></item><item><title>WPF Attached Dependency Properties and Roles</title><link>http://commongenius.com/variable_irony/archive/2008/03/11/wpf-attached-dependency-properties-and-roles.aspx</link><pubDate>Mon, 10 Mar 2008 20:28:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:40</guid><dc:creator>dnelson</dc:creator><slash:comments>1</slash:comments><description>Attached Dependency Properties in WPF are a replacement for extender providers in WinForms, but they may also have other interesting applications....(&lt;a href="http://commongenius.com/variable_irony/archive/2008/03/11/wpf-attached-dependency-properties-and-roles.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>LINQ and Duck Typing</title><link>http://commongenius.com/variable_irony/archive/2008/03/07/linq-and-duck-typing.aspx</link><pubDate>Fri, 07 Mar 2008 08:17:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:39</guid><dc:creator>dnelson</dc:creator><slash:comments>3</slash:comments><description>C# 3.0 saw the increasing use of duck typing, most prominently in LINQ....(&lt;a href="http://commongenius.com/variable_irony/archive/2008/03/07/linq-and-duck-typing.aspx"&gt;read more&lt;/a&gt;)</description><category domain="http://commongenius.com/variable_irony/archive/tags/C_2300_+duck_5F00_typing+LINQ/default.aspx">C# duck_typing LINQ</category></item><item><title>Programming and Chess</title><link>http://commongenius.com/variable_irony/archive/2008/02/22/programming-and-chess.aspx</link><pubDate>Thu, 21 Feb 2008 22:01:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:37</guid><dc:creator>dnelson</dc:creator><slash:comments>1</slash:comments><description>I got into programming and chess for the same reason: the excitement. But sometimes doing things "the right way" takes all of the fun out of it....(&lt;a href="http://commongenius.com/variable_irony/archive/2008/02/22/programming-and-chess.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>C# vs VB.NET</title><link>http://commongenius.com/variable_irony/archive/2007/11/09/c-vs-vb-net.aspx</link><pubDate>Thu, 08 Nov 2007 23:53:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:32</guid><dc:creator>dnelson</dc:creator><slash:comments>3</slash:comments><description>If you are bilingual, or if you spend any time at all in the .NET blogosphere, you have undoubtedly witnessed many of the posts/discussions/arguments/wars over which language is better, C# or VB.NET. These skirmishes range from mild to violent, and are often filled with statements like "All VB.NET users are amateurs" or "All C# users are arrogant elitists." Much of the debate is filled with FUD, and at times it seems to border on a religious war. Let me state right here that I have used both languages...(&lt;a href="http://commongenius.com/variable_irony/archive/2007/11/09/c-vs-vb-net.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>C# Language Design Decisions Explained</title><link>http://commongenius.com/variable_irony/archive/2007/11/02/c_2D00_sharp-language-design-decisions-explained.aspx</link><pubDate>Thu, 01 Nov 2007 20:22:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:27</guid><dc:creator>dnelson</dc:creator><slash:comments>0</slash:comments><description>"Ask A Language Designer" on MSDN explains design decisions made by the C# language team....(&lt;a href="http://commongenius.com/variable_irony/archive/2007/11/02/c_2D00_sharp-language-design-decisions-explained.aspx"&gt;read more&lt;/a&gt;)</description><category domain="http://commongenius.com/variable_irony/archive/tags/C_2300_/default.aspx">C#</category></item><item><title>Hungarian Notation - The Good, the Bad, and the Ugly</title><link>http://commongenius.com/variable_irony/archive/2007/01/11/hungarian-notation-the-good-the-bad-and-the-ugly.aspx</link><pubDate>Thu, 11 Jan 2007 10:06:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:9</guid><dc:creator>dnelson</dc:creator><slash:comments>4</slash:comments><description>An article about Hungarian notation and a summary of my opinions on the issue....(&lt;a href="http://commongenius.com/variable_irony/archive/2007/01/11/hungarian-notation-the-good-the-bad-and-the-ugly.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>DataSet/DataTable serialization bug with modified row and newline string value</title><link>http://commongenius.com/variable_irony/archive/2006/12/22/dataset-datatable-serialization-bug-with-modified-row-and-newline-string-value.aspx</link><pubDate>Thu, 21 Dec 2006 23:05:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:8</guid><dc:creator>dnelson</dc:creator><slash:comments>0</slash:comments><description>Recently I ran across an unusual bug in the .NET framework. Our application uses .NET remoting with DataSets, using RemotingFormat = SerializationFormat.Xml (the default in .NET 2.0, and the only option in .NET 1.1). We were getting a DBConcurrencyException when trying to save data that was being passed from the client to the server, even though we knew for certain that the data in the database had not changed. After some investigation we discovered that the problem was related to a field in a modified...(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/22/dataset-datatable-serialization-bug-with-modified-row-and-newline-string-value.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>&quot;Project location is not trusted&quot;, on a local drive</title><link>http://commongenius.com/variable_irony/archive/2006/12/18/project-location-is-not-trusted-on-a-local-drive.aspx</link><pubDate>Mon, 18 Dec 2006 12:26:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:7</guid><dc:creator>dnelson</dc:creator><slash:comments>9</slash:comments><description>Dealing with the "project location is not trusted" warning in Visual Studio, when the project in question is on a local drive....(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/18/project-location-is-not-trusted-on-a-local-drive.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>catch(Exception)</title><link>http://commongenius.com/variable_irony/archive/2006/12/16/catch-exception.aspx</link><pubDate>Sat, 16 Dec 2006 03:03:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:6</guid><dc:creator>dnelson</dc:creator><slash:comments>1</slash:comments><description>Posts from the FxCop blog about catching general exception types generated a lot of controversy. I've posted about a particular comment which I think demonstrates a misunderstanding of what static code analysis "rules" are all about....(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/16/catch-exception.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>Collection Initializers and Duck Typing</title><link>http://commongenius.com/variable_irony/archive/2006/12/09/Collection-Initializers-and-Duck-Typing.aspx</link><pubDate>Sat, 09 Dec 2006 12:57:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:5</guid><dc:creator>dnelson</dc:creator><slash:comments>3</slash:comments><description>C# 3.0 will include a new language feature called collection initializers. But are the language designers going too far to make the feature usable by previously built classes?...(&lt;a href="http://commongenius.com/variable_irony/archive/2006/12/09/Collection-Initializers-and-Duck-Typing.aspx"&gt;read more&lt;/a&gt;)</description></item><item><title>CommonGenius.com is launched!</title><link>http://commongenius.com/site_news/archive/2006/12/04/commongenius-com-is-launched.aspx</link><pubDate>Mon, 04 Dec 2006 08:34:00 GMT</pubDate><guid isPermaLink="false">40143819-cec4-4b6c-99b5-ddc70fffc9e1:1</guid><dc:creator>dnelson</dc:creator><slash:comments>0</slash:comments><description>&lt;P&gt;After years serving as a placeholder for miscellaneous server needs, CommonGenius.com has finally been launched as a website in its own right. The overall site organization and content is still evolving, and will continue to do so for some time. You can expect to find resources on software and software development as the site grows. For now, stay tuned to the Site News blog for further announcements about the site.&lt;/P&gt;</description></item></channel></rss>