<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Log for IT</title>
	<atom:link href="http://log4it.com/en/feed" rel="self" type="application/rss+xml" />
	<link>http://log4it.com/en</link>
	<description>Interesting or useful things about IT</description>
	<lastBuildDate>Mon, 23 Aug 2010 09:59:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>6 Important Delegates</title>
		<link>http://log4it.com/en/6-important-delegates.html</link>
		<comments>http://log4it.com/en/6-important-delegates.html#comments</comments>
		<pubDate>Mon, 23 Aug 2010 09:59:39 +0000</pubDate>
		<dc:creator>LOG4IT.COM</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[delegate]]></category>

		<guid isPermaLink="false">http://log4it.com/en/?p=89</guid>
		<description><![CDATA[
Predicate: essentially Func&#60;T, bool&#62;; asks the question &#8220;does the specified argument satisfy the condition represented by the delegate?&#8221; Used in things like List.FindAll.
Action: Perform an action given the arguments. Very general purpose. Not used much in LINQ as it implies side-effects, basically.
Func: Used extensively in LINQ, usually to transform the argument, e.g. by projecting a [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Predicate: essentially Func&lt;T, bool&gt;; asks the question &#8220;does the specified argument satisfy the condition represented by the delegate?&#8221; Used in things like List.FindAll.</li>
<li>Action: Perform an action given the arguments. Very general purpose. Not used much in LINQ as it implies side-effects, basically.</li>
<li>Func: Used extensively in LINQ, usually to transform the argument, e.g. by projecting a complex structure to one property.</li>
<li>EventHandler/EventHandler&lt;T&gt;: Used all over WinForms</li>
<li>Comparison&lt;T&gt;: Like IComparer&lt;T&gt; but in delegate form.</li>
<li>Converter&lt;TInput, TOutput&gt;: It&#8217;s essentially Func&lt;TInput, TOutput&gt;, but with semantics. Used by List.ConvertAll and Array.ConvertAll, but personally haven&#8217;t seen it anywhere else.The Converter is a nice delegate when a lot of Converting of Model into Business classes is needed, i.e. <a href="http://www.stum.de/2009/12/23/using-a-converter-to-convert-from-a-model-to-a-business-class/">http://www.stum.de/2009/12/23/using-a-converter-to-convert-from-a-model-to-a-business-class/</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://log4it.com/en/6-important-delegates.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NVelocity in Medium Trust ASP.Net Enviroment</title>
		<link>http://log4it.com/en/nvelocity-in-medium-trust-asp-net-enviroment.html</link>
		<comments>http://log4it.com/en/nvelocity-in-medium-trust-asp-net-enviroment.html#comments</comments>
		<pubDate>Tue, 20 Jul 2010 20:00:06 +0000</pubDate>
		<dc:creator>LOG4IT.COM</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[NVelocity]]></category>

		<guid isPermaLink="false">http://log4it.com/en/?p=87</guid>
		<description><![CDATA[<p>The NVelocity DLLs download from castleproject.org can not run in ASP.Net with medium trust level enviroment.You need to modify the NVelocity source code and rebuild it, here is how to :
1. Download the sources from http://github.com/castleproject/NVelocity.
2. Open NVelocity solution with Visual Studio 2008.
3. Add codes below in CommonAssemblyInfo.cs:</p>
<p style="padding-left: 30px;">using System.Security;
[assembly: AllowPartiallyTrustedCallers()]</p>
<p>4. Rebuild the NVelocity-2008 project.
5. [...]]]></description>
			<content:encoded><![CDATA[<p>The NVelocity DLLs download from castleproject.org can not run in ASP.Net with medium trust level enviroment.You need to modify the NVelocity source code and rebuild it, here is how to :<br />
1. Download the sources from <a href="http://github.com/castleproject/NVelocity">http://github.com/castleproject/NVelocity</a>.<br />
2. Open NVelocity solution with Visual Studio 2008.<br />
3. Add codes below in CommonAssemblyInfo.cs:</p>
<p style="padding-left: 30px;">using System.Security;<br />
[assembly: AllowPartiallyTrustedCallers()]</p>
<p>4. Rebuild the NVelocity-2008 project.<br />
5. Referrence NVelocity.dll in your web project.<br />
6. Add <span style="color: #0000ff;">&lt;trust level=&#8221;Medium&#8221;/&gt;</span> in web.config and test it .</p>
]]></content:encoded>
			<wfw:commentRss>http://log4it.com/en/nvelocity-in-medium-trust-asp-net-enviroment.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Interesting Open Source Projects</title>
		<link>http://log4it.com/en/5-interesting-opensource-projects.html</link>
		<comments>http://log4it.com/en/5-interesting-opensource-projects.html#comments</comments>
		<pubDate>Sun, 11 Apr 2010 09:47:25 +0000</pubDate>
		<dc:creator>LOG4IT.COM</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Others]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[Crawler]]></category>
		<category><![CDATA[Pattern Recognizer]]></category>
		<category><![CDATA[Planner]]></category>
		<category><![CDATA[Ruler]]></category>

		<guid isPermaLink="false">http://log4it.com/en/5-interesting-opensource-projects.html</guid>
		<description><![CDATA[<p>1、NWebCrawler</p>
<p>This is a web crawler program written in C#.Features:

Configuable: thread count, waiting time, connection timeout, allow MIME types and priorities, download folders.
Statstics information: URL count, total downloaded files, total downloaded bytes, CPU utility and available memory.
Preferential crawler: user can set priority for MIME types (high, above, normal, below, low).
Robust: 10+ URL normalization rules, crawler trap [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: bold;">1、</span><a style="font-weight: bold;" href="http://nwebcrawler.codeplex.com/" title="NWebCrawler">NWebCrawler</a></p>
<p>This is a web crawler program written in C#.Features:
<ul>
<li>Configuable: thread count, waiting time, connection timeout, allow MIME types and priorities, download folders.</li>
<li>Statstics information: URL count, total downloaded files, total downloaded bytes, CPU utility and available memory.</li>
<li>Preferential crawler: user can set priority for MIME types (high, above, normal, below, low).</li>
<li>Robust: 10+ URL normalization rules, crawler trap avoiding rules.</li>
</ul>
<p><img style="max-width: 500px;" src="http://log4it.com/cn/wp-content/uploads/2010/04/crawler1.png" /><br /><span style="font-weight: bold;">2、</span><a style="font-weight: bold;" href="http://npatternrecognizer.codeplex.com/" title="NPatternRecognizer">NPatternRecognizer</a><br style="font-weight: bold;" /><br />NPatternRecognizer is a fast machine learning algorithm library written in C#. It contains support vector machine, neural networks, bayes, boost, k-nearest neighbor, decision tree, &#8230;, etc.</p>
<p>&#8216;learn&#8217; chess board pattern with support vector machine, chess board pattern is a 640 random points formed synthetic dataset.<br /><img style="max-width: 500px;" src="http://log4it.com/cn/wp-content/uploads/2010/04/npatternRecognizer.png" /><br />legend: squares are support vectors.<br /><span style="font-weight: bold;">3、</span><a style="font-weight: bold;" href="http://ncomputervision.codeplex.com/" title="NComputerVision">NComputerVision</a><br />NComputerVision is a fast computer vision algorithm library written in C#.<br /><img style="max-width: 500px;" src="http://log4it.com/cn/wp-content/uploads/2010/04/ncomputervision1.png" /><br />upcoming NComputerVision sample provides data file for facial express recognition:<br /><img style="max-width: 500px;" src="http://log4it.com/cn/wp-content/uploads/2010/04/ncomputervision2.jpg" /><br />edge detection:<br /><img src="http://log4it.com/cn/wp-content/uploads/2010/04/ncomputervision3.png" style="max-width: 500px;" /><br />Circle detection:<br /><img src="http://log4it.com/cn/wp-content/uploads/2010/04/ncomputervision4.png" style="max-width: 500px;" /><br />sharpening:<br />moon (before sharpening):<br /><img src="http://log4it.com/cn/wp-content/uploads/2010/04/ncomputervision5.png" style="max-width: 500px;" /><br />moon (after sharpening):<br /><img src="http://log4it.com/cn/wp-content/uploads/2010/04/ncomputervision6.png" style="max-width: 500px;" /><br />contour extraction:<br /><img src="http://log4it.com/cn/wp-content/uploads/2010/04/ncomputervision7.png" style="max-width: 500px;" /></p>
<p><span style="font-weight: bold;">4、<a href="http://nplanner.codeplex.com/" title="NPlanner">NPlanner</a></span><br />NPlanner is a fast intelligent planner based on graphplan algorithm written in C#.</p>
<p><span style="font-weight: bold;">5、<a href="http://nruler.codeplex.com/" title="NRuler">NRuler</a></span><br />NRuler is a fast production system based on RETE algorithm written in C#.<br />The following diagram illustrates the basic Rete topography (three rules), and shows the associations between different node types and memories.<br /><img src="http://log4it.com/cn/wp-content/uploads/2010/04/nruler.jpg" /><br />legends:<br /><img src="http://log4it.com/cn/wp-content/uploads/2010/04/nruler-shapes.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://log4it.com/en/5-interesting-opensource-projects.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

