<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Neo Fight!</title>
	<atom:link href="http://neofight.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://neofight.wordpress.com</link>
	<description>The constant battle of learning that you have more to learn</description>
	<lastBuildDate>Fri, 08 May 2009 18:27:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Microsoft Parallel Extensions &#8211; Hard&#8221;core&#8221; code made easy! by Shaun McCarthy</title>
		<link>http://neofight.wordpress.com/2009/05/07/microsoft-parallel-extensions-hardcore-code-made-easy/#comment-146</link>
		<dc:creator>Shaun McCarthy</dc:creator>
		<pubDate>Fri, 08 May 2009 18:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=79#comment-146</guid>
		<description>Thanks Phil - yeah, the Parallel Extension library is &quot;CTP&quot; rather than fully tested, so I wouldn&#039;t use it to run a bank&#039;s processing system :)

Bring on .net 4.0!</description>
		<content:encoded><![CDATA[<p>Thanks Phil &#8211; yeah, the Parallel Extension library is &#8220;CTP&#8221; rather than fully tested, so I wouldn&#8217;t use it to run a bank&#8217;s processing system <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Bring on .net 4.0!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Microsoft Parallel Extensions &#8211; Hard&#8221;core&#8221; code made easy! by Phil Scott</title>
		<link>http://neofight.wordpress.com/2009/05/07/microsoft-parallel-extensions-hardcore-code-made-easy/#comment-145</link>
		<dc:creator>Phil Scott</dc:creator>
		<pubDate>Fri, 08 May 2009 17:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=79#comment-145</guid>
		<description>I briefly used that library, but I was finding that it would randomly leave the cpu hanging at 100%. It didn&#039;t seem to be cleaning up right. I tried explicitly disposing of the TaskManagerPolicy, but that was not only a pain in the ass but also not very consistent.

Just wanted to give a heads up to people that this code isn&#039;t production ready. I still use it in throw away apps that I run locally, but for code that we are shipping I&#039;m using the ThreadPool by hand.</description>
		<content:encoded><![CDATA[<p>I briefly used that library, but I was finding that it would randomly leave the cpu hanging at 100%. It didn&#8217;t seem to be cleaning up right. I tried explicitly disposing of the TaskManagerPolicy, but that was not only a pain in the ass but also not very consistent.</p>
<p>Just wanted to give a heads up to people that this code isn&#8217;t production ready. I still use it in throw away apps that I run locally, but for code that we are shipping I&#8217;m using the ThreadPool by hand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Command Line Arguments by Dugmulkelunny</title>
		<link>http://neofight.wordpress.com/2008/03/02/parsing-command-line-arguments/#comment-131</link>
		<dc:creator>Dugmulkelunny</dc:creator>
		<pubDate>Tue, 17 Feb 2009 13:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=11#comment-131</guid>
		<description>neofight.wordpress.com - cooooolest domain name)))
------------------------
internet signature:  http://potet.ru/</description>
		<content:encoded><![CDATA[<p>neofight.wordpress.com &#8211; cooooolest domain name)))<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
internet signature:  <a href="http://potet.ru/" rel="nofollow">http://potet.ru/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Alpha released by Tim</title>
		<link>http://neofight.wordpress.com/2008/03/03/alpha-released/#comment-129</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 19 Sep 2008 14:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=12#comment-129</guid>
		<description>I like your test list generator - thanks for making it. I also wish that MSTest had the NUnit category attribute.
http://timstall.dotnetdevelopersjournal.com/getting_categories_for_mstest_just_like_nunit.htm</description>
		<content:encoded><![CDATA[<p>I like your test list generator &#8211; thanks for making it. I also wish that MSTest had the NUnit category attribute.<br />
<a href="http://timstall.dotnetdevelopersjournal.com/getting_categories_for_mstest_just_like_nunit.htm" rel="nofollow">http://timstall.dotnetdevelopersjournal.com/getting_categories_for_mstest_just_like_nunit.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Command Line Arguments by tihobrazov</title>
		<link>http://neofight.wordpress.com/2008/03/02/parsing-command-line-arguments/#comment-128</link>
		<dc:creator>tihobrazov</dc:creator>
		<pubDate>Mon, 08 Sep 2008 17:23:02 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=11#comment-128</guid>
		<description>NConsoler is an open source library that provides command line parser functionality based on attribute metadata attached to type.
Library is very easy to add and use in your application. NConsoler gives an ability to display help and validation messages without any line of code.

http://nconsoler.csharpus.com/

Example code:

using System;
using NConsoler;

public class Program {
    public static void Main(params string[] args) {
        Consolery.Run(typeof(Program), args);
    }

    [Action]
    public static void Method(
        [Required] string name,
        [Optional(true)] bool flag) {
            Console.WriteLine(&quot;name: {0}, flag: {1}&quot;, name, flag);
   }
} 

and use it:

program.exe &quot;Maxim&quot; /-flag</description>
		<content:encoded><![CDATA[<p>NConsoler is an open source library that provides command line parser functionality based on attribute metadata attached to type.<br />
Library is very easy to add and use in your application. NConsoler gives an ability to display help and validation messages without any line of code.</p>
<p><a href="http://nconsoler.csharpus.com/" rel="nofollow">http://nconsoler.csharpus.com/</a></p>
<p>Example code:</p>
<p>using System;<br />
using NConsoler;</p>
<p>public class Program {<br />
    public static void Main(params string[] args) {<br />
        Consolery.Run(typeof(Program), args);<br />
    }</p>
<p>    [Action]<br />
    public static void Method(<br />
        [Required] string name,<br />
        [Optional(true)] bool flag) {<br />
            Console.WriteLine(&#8220;name: {0}, flag: {1}&#8221;, name, flag);<br />
   }<br />
} </p>
<p>and use it:</p>
<p>program.exe &#8220;Maxim&#8221; /-flag</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Extending yourself&#8230; by Miles Thompson</title>
		<link>http://neofight.wordpress.com/2008/03/20/extending-yourself/#comment-18</link>
		<dc:creator>Miles Thompson</dc:creator>
		<pubDate>Mon, 19 May 2008 21:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=16#comment-18</guid>
		<description>Extension methods are indeed neat. And this is a clear example, but in this case I think overkill.

With .Net 3.5 compilation enabled, and this extension method defined, one can get the string valued &#039;name&#039; of an enum, thus..

role.GetName();

On the other hand back in 2.0 world we managed to get by with..

role.ToString();

Which I think you&#039;ll find produces the exact same output.</description>
		<content:encoded><![CDATA[<p>Extension methods are indeed neat. And this is a clear example, but in this case I think overkill.</p>
<p>With .Net 3.5 compilation enabled, and this extension method defined, one can get the string valued &#8216;name&#8217; of an enum, thus..</p>
<p>role.GetName();</p>
<p>On the other hand back in 2.0 world we managed to get by with..</p>
<p>role.ToString();</p>
<p>Which I think you&#8217;ll find produces the exact same output.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Command Line Arguments by Jay Cornwall</title>
		<link>http://neofight.wordpress.com/2008/03/02/parsing-command-line-arguments/#comment-17</link>
		<dc:creator>Jay Cornwall</dc:creator>
		<pubDate>Mon, 05 May 2008 18:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=11#comment-17</guid>
		<description>Oh, I see! I skimread your post a bit too quickly, it seems.

I&#039;ll give Andrew a bell. :)</description>
		<content:encoded><![CDATA[<p>Oh, I see! I skimread your post a bit too quickly, it seems.</p>
<p>I&#8217;ll give Andrew a bell. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Command Line Arguments by Shaun McCarthy</title>
		<link>http://neofight.wordpress.com/2008/03/02/parsing-command-line-arguments/#comment-16</link>
		<dc:creator>Shaun McCarthy</dc:creator>
		<pubDate>Mon, 05 May 2008 14:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=11#comment-16</guid>
		<description>Credit where credit is due - I wasn&#039;t actually the person who wrote the library - just wanted to point it out and give people a headstart with using it :)

Andrew Robinson is the person you should be thanking! You can probably contribute your patch to the following sourceforge project:

http://sourceforge.net/projects/csharpoptparse/</description>
		<content:encoded><![CDATA[<p>Credit where credit is due &#8211; I wasn&#8217;t actually the person who wrote the library &#8211; just wanted to point it out and give people a headstart with using it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Andrew Robinson is the person you should be thanking! You can probably contribute your patch to the following sourceforge project:</p>
<p><a href="http://sourceforge.net/projects/csharpoptparse/" rel="nofollow">http://sourceforge.net/projects/csharpoptparse/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Command Line Arguments by Jay Cornwall</title>
		<link>http://neofight.wordpress.com/2008/03/02/parsing-command-line-arguments/#comment-15</link>
		<dc:creator>Jay Cornwall</dc:creator>
		<pubDate>Mon, 05 May 2008 12:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=11#comment-15</guid>
		<description>Thanks for this library, I&#039;ve found it really useful.

Here&#039;s a small patch to allow the common case on Linux of passing arguments like this:
  myprogram --dir /tmp

The current code sees this as incorrectly trying to mix UNIX and Windows style flags. This patch looks at the current OptStyle and allows values accordingly.

http://www.jcornwall.me.uk/patches/csharpoptparse/CSharpOptParse.patch</description>
		<content:encoded><![CDATA[<p>Thanks for this library, I&#8217;ve found it really useful.</p>
<p>Here&#8217;s a small patch to allow the common case on Linux of passing arguments like this:<br />
  myprogram &#8211;dir /tmp</p>
<p>The current code sees this as incorrectly trying to mix UNIX and Windows style flags. This patch looks at the current OptStyle and allows values accordingly.</p>
<p><a href="http://www.jcornwall.me.uk/patches/csharpoptparse/CSharpOptParse.patch" rel="nofollow">http://www.jcornwall.me.uk/patches/csharpoptparse/CSharpOptParse.patch</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parsing Command Line Arguments by Shaun McCarthy</title>
		<link>http://neofight.wordpress.com/2008/03/02/parsing-command-line-arguments/#comment-14</link>
		<dc:creator>Shaun McCarthy</dc:creator>
		<pubDate>Wed, 23 Apr 2008 15:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://neofight.wordpress.com/?p=11#comment-14</guid>
		<description>Yup - it defaults to unix style - you can set it explicitly on the parser object:

p.OptStyle = OptStyle.Unix; // OptStyle.Windows

To support the debug flag:

[UseNameAsLongOption(false)]
[ShortOptionName(&#039;d&#039;)]
[OptDef(OptValType.Flag)] &lt;- this is the magic source
[LongOptionName(&quot;debug&quot;)]
public bool Debug = false;

As for the date, either just keep it as a string, or parse it on the fly into another property:

[UseNameAsLongOption(false)]
[LongOptionName(&quot;date&quot;)]
[OptDef(OptValType.ValueReq)]
public string DateUnparsed
{
    set
    {
                try
                {
                    this.Date = DateTime.Parse(value);
                }
                catch (FormatException ex)
                {
                    throw new ParseException(&quot;Unable to parse the date value: &quot; + value, ex);
                }
    }
    get
    {
	return &quot;&quot;;
    }
}

public DateTime Date;

Then you just need to go arguments.Date to get the date (nb: the above code would fail with your date as it&#039;s not a valid DateTime.Parse format - 2008/03/10 would work fine though)</description>
		<content:encoded><![CDATA[<p>Yup &#8211; it defaults to unix style &#8211; you can set it explicitly on the parser object:</p>
<p>p.OptStyle = OptStyle.Unix; // OptStyle.Windows</p>
<p>To support the debug flag:</p>
<p>[UseNameAsLongOption(false)]<br />
[ShortOptionName('d')]<br />
[OptDef(OptValType.Flag)] &lt;- this is the magic source<br />
[LongOptionName("debug")]<br />
public bool Debug = false;</p>
<p>As for the date, either just keep it as a string, or parse it on the fly into another property:</p>
<p>[UseNameAsLongOption(false)]<br />
[LongOptionName("date")]<br />
[OptDef(OptValType.ValueReq)]<br />
public string DateUnparsed<br />
{<br />
    set<br />
    {<br />
                try<br />
                {<br />
                    this.Date = DateTime.Parse(value);<br />
                }<br />
                catch (FormatException ex)<br />
                {<br />
                    throw new ParseException(&#8220;Unable to parse the date value: &#8221; + value, ex);<br />
                }<br />
    }<br />
    get<br />
    {<br />
	return &#8220;&#8221;;<br />
    }<br />
}</p>
<p>public DateTime Date;</p>
<p>Then you just need to go arguments.Date to get the date (nb: the above code would fail with your date as it&#8217;s not a valid DateTime.Parse format &#8211; 2008/03/10 would work fine though)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
