<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>.NET</title><link>http://stup.org/blogs/nidhogg/category/1.aspx</link><description>.NET</description><managingEditor>Nidhogg</managingEditor><dc:language>en-US</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>Nidhogg</dc:creator><title>Solution-sudoku opens !</title><link>http://stup.org/blogs/nidhogg/archive/2006/01/18/1115.aspx</link><pubDate>Wed, 18 Jan 2006 08:31:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2006/01/18/1115.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/1115.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2006/01/18/1115.aspx#Feedback</comments><slash:comments>390</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/1115.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/1115.aspx</trackback:ping><description>&lt;p&gt;I've been working on &lt;a href="http://www.solution-sudoku.com"&gt;http://www.solution-sudoku.com&lt;/a&gt; in the past few days. The site is now functionnal and active. Its sole purpose is to give hints about or solve sudoku puzzles. Give it a try and tell me what you think about it&lt;/p&gt;
&lt;p&gt;I also created software for solving sudoku puzzles for MS smartphones and PocketPC, the Windows version should be online soon. They are available on the site for free.&lt;/p&gt;</description></item><item><dc:creator>Nidhogg</dc:creator><title>MCT now</title><link>http://stup.org/blogs/nidhogg/archive/2006/01/18/1114.aspx</link><pubDate>Wed, 18 Jan 2006 08:27:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2006/01/18/1114.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/1114.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2006/01/18/1114.aspx#Feedback</comments><slash:comments>129</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/1114.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/1114.aspx</trackback:ping><description>&lt;p&gt;Since my last post about a century ago, I moved into a new flat my wife and I bought. Then there was a 1 month Internet black-out until my ISP restored my connection to the world.&lt;/p&gt;
&lt;p&gt;In other news, I passed the MCT exam so I will be teaching .NET and related technologies from time to time, starting at the end of this month.&lt;/p&gt;</description></item><item><dc:creator>Nidhogg</dc:creator><title>MCSD.NET</title><link>http://stup.org/blogs/nidhogg/archive/2005/08/05/1056.aspx</link><pubDate>Fri, 05 Aug 2005 16:37:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2005/08/05/1056.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/1056.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2005/08/05/1056.aspx#Feedback</comments><slash:comments>70</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/1056.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/1056.aspx</trackback:ping><description>&lt;p&gt;I passed the 70-340 certification on .NET security a while ago which makes me a MCSD.NET. It took me some time but it is done, on to the MCT now.&lt;/p&gt;</description></item><item><dc:creator>Nidhogg</dc:creator><title>Gauge, a CounterStrike : Source monitor application</title><link>http://stup.org/blogs/nidhogg/archive/2005/07/09/1044.aspx</link><pubDate>Sat, 09 Jul 2005 14:19:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2005/07/09/1044.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/1044.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2005/07/09/1044.aspx#Feedback</comments><slash:comments>22</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/1044.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/1044.aspx</trackback:ping><description>&lt;p&gt;As promised here is the first alpha version of Gauge, an application that monitors your computer, waits until you play CounterStrike: Source and when you do, publishes the server information (server ip, port, map name) to MSN 7, using the "What I'm listening to" feature.&lt;/p&gt;
&lt;p&gt;This is a test only version, so don't expect much.&lt;/p&gt;
&lt;p&gt;I'm open to suggestions, feel free to send feedback using the comments or email me at the address specified in the readme.txt file.&lt;/p&gt;
&lt;p&gt;&lt;A&gt;Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PS: it connects to a webservice on stup.org, don't worry its just that Valve releases a new version of CSS every now and then, and I need to update certain variables to keep it working.&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;EDIT: it looks like the method I use to get the server from the memory is not reliable as the address is dependant on the machine on which the software runs. I'll try to look into it when I have some free time ... The download is now inactive.&lt;/b&gt;
&lt;/p&gt;
</description></item><item><dc:creator>Nidhogg</dc:creator><title>70-300. Done.</title><link>http://stup.org/blogs/nidhogg/archive/2005/05/06/547.aspx</link><pubDate>Fri, 06 May 2005 17:51:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2005/05/06/547.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/547.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2005/05/06/547.aspx#Feedback</comments><slash:comments>162</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/547.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/547.aspx</trackback:ping><description>&lt;p&gt;I just passed the 70-300 .NET Architecture exam. Another one down, only one left (70-340 on .NET security) and I'll be a MCSD.NET. After that I plan to go for the Microsoft Certified Trainer certification. This will enable me to teach official Microsoft courses on .NET. I really look forward to it, it should be a lot of fun.&lt;/p&gt;
&lt;p&gt;And I still get married next week :)&lt;/p&gt;
</description></item><item><dc:creator>Nidhogg</dc:creator><title>Strongly Typed Config Generator v1.2</title><link>http://stup.org/blogs/nidhogg/archive/2005/01/30/460.aspx</link><pubDate>Sun, 30 Jan 2005 13:51:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2005/01/30/460.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/460.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2005/01/30/460.aspx#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/460.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/460.aspx</trackback:ping><description>&lt;p&gt;I updated the Strongly Typed Config Generator tool to fix a bug reported on this blog. I also fixed some project file problems (I apparently had a modelling addin installed that included some .tgs files in my project). Please note that some of the references still need to be manually changed to reflect the installation folders on your machine for both VS.NET and CodeSmith.
&lt;/p&gt;
&lt;p&gt;
Here are the files :
&lt;li&gt;&lt;a href="http://www.stup.org/files/ConfigGeneratorv1_2.zip"&gt;Binaries&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stup.org/files/ConfigGeneratorv1_2_src.zip"&gt;Sources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;
&lt;p&gt;I tested it for about 5 minutes so if something is broken post a comment... I'll try to fix it.&lt;/p&gt;</description></item><item><dc:creator>Nidhogg</dc:creator><title>RangeValidator quirks</title><link>http://stup.org/blogs/nidhogg/archive/2004/12/15/410.aspx</link><pubDate>Wed, 15 Dec 2004 18:38:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2004/12/15/410.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/410.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2004/12/15/410.aspx#Feedback</comments><slash:comments>53</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/410.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/410.aspx</trackback:ping><description>&lt;p&gt;I've been busy for weeks, hence the lack of post on this weblog. Here's a little one on strange things I noticed about RangeValidator and Double.&lt;/p&gt;
&lt;p&gt;A few days ago I was trying to find the cause of an exception in an ASP.NET web application. It happened when I set a RangeValidator's Type to ValidationDataType.Double, then set the MaximumValue to Double.MaxValue.ToString(). I found two things :
&lt;ul&gt;
	&lt;li&gt;
		&lt;p&gt;Apparently, the real maximum value of a Double is 1.7976931348623157E+308. However, Double.MaxValue.ToString() produces 1.79769313486232E+308 which is not parsable with Double.Parse() because it is too big. The cause is that the default formatting for the Double type is 15 digits + exponent whereas the value itself has 17 fractional digits + exponent. When ToString() is called, it rounds the value and the result is a bigger number than the real value. Same goes for Double.Minimum value.&lt;/p&gt;
		&lt;p&gt;Therefore, when you want to transform a Double to a string so that String.Parse works, use ToString("r"). This formatting ensures that a roundtrip Double-&amp;gt;String-&amp;gt;Double always works.&lt;/p&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;p&gt;The RangeValidator uses a regular expression to validate the user input. You can see this with Reflector in the BaseCompareValidator.Convert method. The expression is :
		&lt;code&gt;@"^\s*([-\+])?(\d+)?(\" + decimalSeparator + @"(\d+))?\s*$";&lt;/code&gt;
		As you can see, it does not handle numbers formatted in scientific notation. Therefore, Double.MaxValue produces the exception I was getting : "The value '1.7976931348623157E+308' of the MaximumValue property of 'RangeValidator1' cannot be converted to type 'Double'."&lt;p&gt;
		&lt;p&gt;So the only Double values that can be used in a RangeValidator are the ones that can be written in string format without the scientific notation. I didn't check but I doubt you can write all Double numbers that way, there must be a limit to the number of digits in the string representation of a Double.
	&lt;/li&gt;
&lt;/ul&gt;</description></item><item><dc:creator>Nidhogg</dc:creator><title>Font for programmers (and users of text editors)</title><link>http://stup.org/blogs/nidhogg/archive/2004/10/13/380.aspx</link><pubDate>Wed, 13 Oct 2004 19:04:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2004/10/13/380.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/380.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2004/10/13/380.aspx#Feedback</comments><slash:comments>460</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/380.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/380.aspx</trackback:ping><description>&lt;p&gt;If you're a programmer or if you use text editors on a regular basis you might want to check out &lt;a href="http://www.tactile3d.com/tristan/"&gt;this font&lt;/a&gt;. It's a fixed-size font called &lt;a href="http://www.tactile3d.com/tristan/"&gt;Proggy&lt;/a&gt; and it's the best I've found. I've tried quite a few other fixed size font but none was as good as this one. There are multiple versions, choose the one you like best. I use the Proggy Clean version.&lt;/p&gt;</description></item><item><dc:creator>Nidhogg</dc:creator><title>this.Job = new Job();</title><link>http://stup.org/blogs/nidhogg/archive/2004/10/13/379.aspx</link><pubDate>Wed, 13 Oct 2004 17:41:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2004/10/13/379.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/379.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2004/10/13/379.aspx#Feedback</comments><slash:comments>68</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/379.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/379.aspx</trackback:ping><description>&lt;p&gt;It's been in preparation for months. I now work for a company that specializes in Microsoft technologies, mostly .NET. Among some of my new coworkers I now can count a handful of MVPs, a MSDN Regional Director, a lot of MCSD.NET and more broadly speaking some very interesting and knowledgeable people (Disclaimer: I'm not saying there weren't any in my previous job, it's just refreshing to talk to new ones). I've been at it for a week and so far it's been great. It looks like the projects I'll be working on will be a little more on the "up-to-date" side than before (think Agile methodologies, latest products from Microsoft, stuff like that).&lt;/p&gt;</description></item><item><dc:creator>Nidhogg</dc:creator><title>Identify AppSight for .NET</title><link>http://stup.org/blogs/nidhogg/archive/2004/10/06/375.aspx</link><pubDate>Wed, 06 Oct 2004 17:39:00 GMT</pubDate><guid>http://stup.org/blogs/nidhogg/archive/2004/10/06/375.aspx</guid><wfw:comment>http://stup.org/blogs/nidhogg/comments/375.aspx</wfw:comment><comments>http://stup.org/blogs/nidhogg/archive/2004/10/06/375.aspx#Feedback</comments><slash:comments>77</slash:comments><wfw:commentRss>http://stup.org/blogs/nidhogg/comments/commentRss/375.aspx</wfw:commentRss><trackback:ping>http://stup.org/blogs/nidhogg/services/trackbacks/375.aspx</trackback:ping><description>&lt;p&gt;I found &lt;a href="http://www.identify.com/solutions/appsight-dotnet.html"&gt;this nice piece of software&lt;/a&gt; via the &lt;a href="http://www.sys-con.com/dotnet/"&gt;.NETDJ&lt;/a&gt; newsletter the other day. Basically it records everything that happens during your application's runtime and can replay it afterwards, exactly as it occured. It has other interesting features but this one is IMHO the most important.&lt;/p&gt;
&lt;p&gt;There are a lot of situations where that would be the ideal solution to track hard-to-find bugs&lt;/p&gt;</description></item></channel></rss>