<?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/"
	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>count zero</title>
	<atom:link href="http://napoleonss.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://napoleonss.wordpress.com</link>
	<description> </description>
	<lastBuildDate>Sat, 18 Feb 2012 14:41:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='napoleonss.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>count zero</title>
		<link>http://napoleonss.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://napoleonss.wordpress.com/osd.xml" title="count zero" />
	<atom:link rel='hub' href='http://napoleonss.wordpress.com/?pushpress=hub'/>
		<item>
		<title>VS Achievements and FxCop</title>
		<link>http://napoleonss.wordpress.com/2012/01/23/vs-achievements-and-fxcop/</link>
		<comments>http://napoleonss.wordpress.com/2012/01/23/vs-achievements-and-fxcop/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 10:44:56 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Achievements]]></category>
		<category><![CDATA[FxCop]]></category>
		<category><![CDATA[Visual-Studio]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=486</guid>
		<description><![CDATA[Article for installing FxCop for Achievements. more<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=486&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Article for installing FxCop for Achievements.</p>
<p><em><a href="http://www.techerator.com/2012/01/how-to-install-microsofts-fxcop-for-visual-studio-2010/" target="_blank">more</a></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/486/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=486&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2012/01/23/vs-achievements-and-fxcop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>My check null</title>
		<link>http://napoleonss.wordpress.com/2011/12/20/my-check-null/</link>
		<comments>http://napoleonss.wordpress.com/2011/12/20/my-check-null/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 15:42:42 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Design-Patterns]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=445</guid>
		<description><![CDATA[There are many solutions on the net for avoiding the null check. Here is mine: public interface Option&#60;T&#62; { } public struct Nothing&#60;T&#62; : Option&#60;T&#62; { } public struct Just&#60;T&#62; : Option&#60;T&#62; {     public readonly T Value;     public Just(T value) { Value = value; } } public static class OptionExtentions {     public static Option&#60;T&#62; ToOption&#60;T&#62;(this T value)     {         return (value == null)             ? new Nothing&#60;T&#62;() as Option&#60;T&#62;             : new Just&#60;T&#62;(value);     }     public static U Select&#60;T, U&#62;(this Option&#60;T&#62; option,       Func&#60;T, U&#62; func)     {         return option.Select(func, () =&#62; default(U));     }     public static U Select&#60;T, U&#62;(this Option&#60;T&#62; option,        Func&#60;T, U&#62; whereJust, Func&#60;U&#62; whereNothing)     {         return option is Just&#60;T&#62;             ? whereJust(((Just&#60;T&#62;)option).Value)             : whereNothing();     } } And implementation: return (from h in HttpContext.Current.ToOption() select h.User);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=445&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are many solutions on the net for avoiding the null check. Here is mine:</p>
<pre>public interface Option&lt;T&gt; { }

public struct Nothing&lt;T&gt; : Option&lt;T&gt; { }

public struct Just&lt;T&gt; : Option&lt;T&gt;
{
    public readonly T Value;

    public Just(T value) { Value = value; }
}

public static class OptionExtentions
{
    public static Option&lt;T&gt; ToOption&lt;T&gt;(this T value)
    {
        return (value == null)
            ? new Nothing&lt;T&gt;() as Option&lt;T&gt;
            : new Just&lt;T&gt;(value);
    }

    public static U Select&lt;T, U&gt;(this Option&lt;T&gt; option,
      Func&lt;T, U&gt; func)
    {
        return option.Select(func, () =&gt; default(U));
    }

    public static U Select&lt;T, U&gt;(this Option&lt;T&gt; option, 
      Func&lt;T, U&gt; whereJust, Func&lt;U&gt; whereNothing)
    {
        return option is Just&lt;T&gt;
            ? whereJust(((Just&lt;T&gt;)option).Value)
            : whereNothing();
    }
}
</pre>
<p>And implementation:</p>
<pre>
return (from h in HttpContext.Current.ToOption()
       select h.User);
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/445/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/445/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/445/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=445&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/12/20/my-check-null/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>Sitecore XAML Apps</title>
		<link>http://napoleonss.wordpress.com/2011/11/21/sitecore-xaml-apps/</link>
		<comments>http://napoleonss.wordpress.com/2011/11/21/sitecore-xaml-apps/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 16:00:48 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Sitecore]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=429</guid>
		<description><![CDATA[Very nice article on creating Sitcore XAML apps. more<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=429&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Very nice article on creating Sitcore XAML apps.</p>
<p><em><a href="http://learnsitecore.cmsuniverse.net/en/Developers/Articles/2009/10/My-First-Sitecore-XAML-Application.aspx" title="more" target="_blank">more</a></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/429/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=429&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/11/21/sitecore-xaml-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>Sitecore Template Descendants Query</title>
		<link>http://napoleonss.wordpress.com/2011/11/11/sitecore-template-descendants-query/</link>
		<comments>http://napoleonss.wordpress.com/2011/11/11/sitecore-template-descendants-query/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 11:16:51 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Query-Language]]></category>
		<category><![CDATA[Sitecore]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=422</guid>
		<description><![CDATA[I needed a query at Sitecore to select the descendants belonging to a template, of the ancestor belonging to another template query:./ancestor::*[@@templatekey='templ 1']//*[@@templatekey='templ 2']<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=422&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed a query at Sitecore to select the descendants belonging to a template, of the ancestor belonging to another template<br />
<code><br />
query:./ancestor::*[@@templatekey='templ 1']//*[@@templatekey='templ 2']<br />
</code><br /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/422/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/422/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=422&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/11/11/sitecore-template-descendants-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>Node.js articles</title>
		<link>http://napoleonss.wordpress.com/2011/10/02/node-js-articles/</link>
		<comments>http://napoleonss.wordpress.com/2011/10/02/node-js-articles/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 11:23:05 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[node.js]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=415</guid>
		<description><![CDATA[Articles on node.js. more<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=415&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Articles on node.js.</p>
<p><em><a href="http://dailyjs.com/2010/11/01/node-tutorial/" target="_blank">more</a></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/415/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/415/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=415&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/10/02/node-js-articles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>VS 2010 Dark Theme</title>
		<link>http://napoleonss.wordpress.com/2011/08/20/vs-2010-dark-theme/</link>
		<comments>http://napoleonss.wordpress.com/2011/08/20/vs-2010-dark-theme/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 11:09:48 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Visual-Studio]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=407</guid>
		<description><![CDATA[Visual Studio 2010 Dark Theme TextMate style, with ReSharper and Razor support. Download&#160;&#160;&#160;More themes&#160;&#160;&#160;Create theme<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=407&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Visual Studio 2010 Dark Theme TextMate style, with ReSharper and Razor support.</p>
<p><img src="http://www.hanselman.com/blog/content/binary/WindowsLiveWriter/VisualStudioProgrammerThemesGallery_CF56/image_37.png" /></p>
<p><em><a href="http://bit.ly/nk5Z6p" title="download" target="_blank">Download</a>&nbsp;&nbsp;&nbsp;<a href="http://www.codeproject.com/KB/tips/Visual_Studio_Themes.aspx" target="_blank">More themes</a>&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://www.frickinsweet.com/tools/Theme.mvc.aspx">Create theme</a></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/407/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=407&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/08/20/vs-2010-dark-theme/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>

		<media:content url="http://www.hanselman.com/blog/content/binary/WindowsLiveWriter/VisualStudioProgrammerThemesGallery_CF56/image_37.png" medium="image" />
	</item>
		<item>
		<title>Patterns and idioms in functional languages</title>
		<link>http://napoleonss.wordpress.com/2011/06/15/patterns-and-idioms-in-functional-languages/</link>
		<comments>http://napoleonss.wordpress.com/2011/06/15/patterns-and-idioms-in-functional-languages/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 07:55:07 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Design-Patterns]]></category>
		<category><![CDATA[Functional-Programming]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=320</guid>
		<description><![CDATA[General reference in fp patterns and idioms.  more<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=320&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">General reference in fp patterns and idioms.</p>
<p style="text-align:left;"><em> <a href="https://gist.github.com/1025030" target="_blank">more</a></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=320&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/06/15/patterns-and-idioms-in-functional-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>Category Theory for the Java Programmer</title>
		<link>http://napoleonss.wordpress.com/2011/06/13/category-theory-for-the-java-programmer/</link>
		<comments>http://napoleonss.wordpress.com/2011/06/13/category-theory-for-the-java-programmer/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 10:49:29 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computer-Science]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=311</guid>
		<description><![CDATA[Very good presentation of Category Theory for Java. more<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=311&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Very good presentation of Category Theory for Java.</p>
<p style="text-align:left;"><em><a title="more" href="http://bit.ly/gntcU" target="_blank">more</a></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=311&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/06/13/category-theory-for-the-java-programmer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>The Algebra of Data, and the Calculus of Mutation</title>
		<link>http://napoleonss.wordpress.com/2011/06/04/the-algebra-of-data-and-the-calculus-of-mutation/</link>
		<comments>http://napoleonss.wordpress.com/2011/06/04/the-algebra-of-data-and-the-calculus-of-mutation/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 19:04:28 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Data-Types]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=303</guid>
		<description><![CDATA[Very nice explanation of algebraic data type. more<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=303&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Very nice explanation of algebraic data type.</p>
<p style="text-align:left;"><em><a title="More" href="http://blog.lab49.com/archives/3011" target="_blank">more</a></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=303&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/06/04/the-algebra-of-data-and-the-calculus-of-mutation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
		<item>
		<title>Generics extention for getting 3.5 EF object with Data Services</title>
		<link>http://napoleonss.wordpress.com/2011/05/09/generic-extention-for-getting-3-5-ef-object-with-data-services/</link>
		<comments>http://napoleonss.wordpress.com/2011/05/09/generic-extention-for-getting-3-5-ef-object-with-data-services/#comments</comments>
		<pubDate>Mon, 09 May 2011 16:56:10 +0000</pubDate>
		<dc:creator>Napoleon Skolarikis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Data-Services]]></category>
		<category><![CDATA[Entity-Framework]]></category>
		<category><![CDATA[Extension-Methods]]></category>
		<category><![CDATA[Generics]]></category>

		<guid isPermaLink="false">http://napoleonss.wordpress.com/?p=243</guid>
		<description><![CDATA[In my latest project implemented with EF 3.5 and ADO.NET Data Services, there was the constant need of getting entity objects from DB by ID(&#8230;). This generics routine retrieves an object (of the generated DataServiceContext types) by its respective Id of int, double, decimal, or Guid: public static T GetById&#60;T,U&#62;(this DataServiceContext ctx, &#160;&#160;U id) &#160;&#160;where [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=243&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my latest project implemented with EF 3.5 and ADO.NET Data Services, there was the constant need of getting entity objects from DB by ID(&#8230;). This generics routine retrieves an object (of the generated DataServiceContext types) by its respective Id of int, double, decimal, or Guid:<br />
<code><br />
public static T GetById&lt;T,U&gt;(this DataServiceContext ctx, &nbsp;&nbsp;U id)<br />
&nbsp;&nbsp;where T: INotifyPropertyChanged<br />
&nbsp;&nbsp;where U: struct<br />
{<br />
   &nbsp;&nbsp;var atts = typeof(T).GetCustomAttributes(false);</code><code><br />
&nbsp;&nbsp;var entitySet = (atts.First(a=&gt;a is EntitySetAttribute)<br />
&nbsp;&nbsp;&nbsp;&nbsp;as EntitySetAttribute).EntitySet;<br />
</code><code><br />
   &nbsp;&nbsp;var key = (atts.First(a=&gt; a is DataServiceKeyAttribute)<br />
&nbsp;&nbsp;&nbsp;&nbsp;as DataServiceKeyAttribute).KeyNames.First();<br />
</code><code><br />
   &nbsp;&nbsp;var query = string.Format(new[]<br />
   &nbsp;&nbsp;{<br />
   &nbsp;&nbsp;&nbsp;&nbsp;new {Query = "{0} eq guid'{1}'", Expr = id is Guid},<br />
   &nbsp;&nbsp;&nbsp;&nbsp;new {Query = "{0} eq {1}",<br />
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Expr = id is double || id is decimal || id is int}<br />
   &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;&nbsp;.First(q=&gt; q.Expr).Query, key, id);<br />
</code><code><br />
   &nbsp;&nbsp;return ctx.CreateQuery(entitySet)<br />
&nbsp;&nbsp;&nbsp;&nbsp;.AddQueryOption("$filter", query).First();<br />
}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/napoleonss.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/napoleonss.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/napoleonss.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/napoleonss.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/napoleonss.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/napoleonss.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/napoleonss.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/napoleonss.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/napoleonss.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/napoleonss.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/napoleonss.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/napoleonss.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/napoleonss.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/napoleonss.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=napoleonss.wordpress.com&amp;blog=16155461&amp;post=243&amp;subd=napoleonss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://napoleonss.wordpress.com/2011/05/09/generic-extention-for-getting-3-5-ef-object-with-data-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dad2e49fb04fdb9399e88034b4964f15?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">napoleonss</media:title>
		</media:content>
	</item>
	</channel>
</rss>
