<?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>porges &#187; Odd</title>
	<atom:link href="http://porg.es/blog/tag/odd/feed" rel="self" type="application/rss+xml" />
	<link>http://porg.es/blog</link>
	<description></description>
	<lastBuildDate>Sun, 06 May 2012 22:13:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Pearls Before Piglets</title>
		<link>http://porg.es/blog/pearls-before-piglets</link>
		<comments>http://porg.es/blog/pearls-before-piglets#comments</comments>
		<pubDate>Wed, 27 May 2009 10:40:31 +0000</pubDate>
		<dc:creator>Porges</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Odd]]></category>
		<category><![CDATA[short]]></category>
		<category><![CDATA[silly]]></category>
		<category><![CDATA[umberto eco]]></category>

		<guid isPermaLink="false">http://porg.es/blog/?p=346</guid>
		<description><![CDATA[While Googling my way through the interwebs, I came across the 2008 Western Australian Certificate of Education sample examination for Stage 2 Biological Sciences. It contains this diagram: If you&#8217;re wondering, the entire hierarchy is drawn from Umberto Eco&#8216;s novel Baudolino.]]></description>
			<content:encoded><![CDATA[<p>While Googling my way through the interwebs, I came across the <a href="http://www.curriculum.wa.edu.au/internet/_Documents/Course_Exams/APRIL+2008+WEB+VERSION+ONLY+Biological+Sciences+Stage+2+Sample+exam+pdf.pdf">2008 Western Australian Certificate of Education sample examination for Stage 2 Biological Sciences</a>. It contains this diagram:</p>
<p><img src="http://porg.es/blog/wp-content/uploads/2009/05/image-0.png" alt="Diagram" title="Diagram" width="454" height="300" class="aligncenter size-full wp-image-347" /></p>
<p>If you&#8217;re wondering, the entire hierarchy is drawn from <a href="http://en.wikipedia.org/wiki/Umberto_Eco">Umberto Eco</a>&#8216;s novel <i><a href="http://en.wikipedia.org/wiki/Baudolino">Baudolino</a></i>. <img src="http://porg.es/blog/wp-content/plugins/wp-smiley-switcher/noktahhitam/icon_smile.gif" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://porg.es/blog/pearls-before-piglets/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exponential Bags: Integration of Types, continued</title>
		<link>http://porg.es/blog/exponential-bags-integration-of-types-continued</link>
		<comments>http://porg.es/blog/exponential-bags-integration-of-types-continued#comments</comments>
		<pubDate>Wed, 11 Apr 2007 10:49:16 +0000</pubDate>
		<dc:creator>Porges</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Functional programming]]></category>
		<category><![CDATA[Odd]]></category>
		<category><![CDATA[Thought]]></category>

		<guid isPermaLink="false">http://porg.es/blog/exponential-bags-integration-of-types-continued</guid>
		<description><![CDATA[Derivatives of Containers claims to look for the &#8216;container which is its own derivative&#8217;; in other words, a type analogue of ex. They arrive at (approximated in ASCII and the notation used in my previous post): T[X] = Forall(n : N) Xn / Autn This is a little much for me, since I don&#8217;t understand [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cs.nott.ac.uk/~ctm/derivcont.ps.gz">Derivatives of Containers</a> claims to look for the &#8216;container which is its own derivative&#8217;; in other words, a type analogue of <i>e<sup>x</sup></i>. They arrive at (approximated in ASCII and the notation used in my previous post):</p>
<pre><code>T[<i>X</i>] = Forall(<i>n</i> : N) <i>X</i><sup><i>n</i></sup> / Aut<sub><i>n</i></sub></code></pre>
<p>This is a little much for me, since I don&#8217;t understand the symbolism and terminology used in the other 99% of the paper, either! However, as they note that it closely matches the Taylor-series expansion of <i>e<sup>x</sup></i>. I think that using the simple concepts I linked to in the previous post, I can approach a similar definition.</p>
<p>First of all, start with a simple (identity?) type:</p>
<pre><code>F[X] = X</code></pre>
<p>Now, since what we want is a type that when differentiated, gives itself, we should start by integrating:</p>
<pre><code>F[X]  = X<sup>2</sup> ÷ 2</code></pre>
<p>As shown in the previous post, we can interpret the division operator as &#8216;missing information&#8217;. In this case, the missing information is a 2-enum stating where the new type element was to be inserted&#8230; thus we have a type consisting of two elements, only we don&#8217;t know in what order they should appear. If we repeat this process several times, we obtain:</p>
<pre><code>F[X] = X<sup>3</sup> ÷ (2×3)
F[X] = X<sup>4</sup> ÷ (2×3×4)
F[X] = X<sup>5</sup> ÷ (2×3×4×5)</code></pre>
<p>Now we can begin to see a pattern emerging. Each time we integrate the function, we are adding an element to the type, without saying where it should be inserted&#8212;in other words, we are creating an unordered set of objects (note that these aren&#8217;t true sets, but merely bags: sets which can contain duplicates). Now if we take the literal Taylor expansion of <i>e<sup>x</sup></i>, we can see what it really is as a type:</p>
<pre><code>E[X] = Σ (X<sup>n</sup> ÷ n!)</code></pre>
<p>It is either a bag with one element, or a bag with two elements, or a bag with three elements&#8230; it is in fact the union of all bag types! That is, the exponential function interpreted as a type, is the type of bags.</p>
]]></content:encoded>
			<wfw:commentRss>http://porg.es/blog/exponential-bags-integration-of-types-continued/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lyre</title>
		<link>http://porg.es/blog/lyre</link>
		<comments>http://porg.es/blog/lyre#comments</comments>
		<pubDate>Tue, 03 Oct 2006 09:16:38 +0000</pubDate>
		<dc:creator>Porges</dc:creator>
				<category><![CDATA[self]]></category>
		<category><![CDATA[Odd]]></category>
		<category><![CDATA[Thought]]></category>

		<guid isPermaLink="false">http://porg.es/blog/lyre</guid>
		<description><![CDATA[I fear that I&#8217;m losing myself in an R. G. B. horizon. But at least I can say it&#8217;s not CMYK.]]></description>
			<content:encoded><![CDATA[<p style="text-align:center"><i>I fear that I&#8217;m losing myself<br />
in an R. G. B. horizon.<br />
But at least I can say<br />
it&#8217;s not CMYK.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://porg.es/blog/lyre/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2006: Year of the Dog Anal Sex</title>
		<link>http://porg.es/blog/2006-year-of-the-dog-anal-sex</link>
		<comments>http://porg.es/blog/2006-year-of-the-dog-anal-sex#comments</comments>
		<pubDate>Fri, 04 Aug 2006 23:44:00 +0000</pubDate>
		<dc:creator>Porges</dc:creator>
				<category><![CDATA[Odd]]></category>

		<guid isPermaLink="false">http://porg.es/blog/2006-year-of-the-dog-anal-sex</guid>
		<description><![CDATA[Can anyone explain this? (Google Trends graph of searches for &#8216;anal sex&#8217;.)]]></description>
			<content:encoded><![CDATA[<p>Can anyone explain this?</p>
<p><img src="http://www.google.com/trends/viz?q=anal+sex&#038;date=all&#038;geo=all&#038;graph=weekly_img&#038;sa=N" style="width:99%" alt="Google Trends graph shows searches for 'anal sex' rise steeply in 2006"/></p>
<p>(<a href="http://google.com/trends">Google Trends</a> graph of searches for &#8216;anal sex&#8217;.)</p>
]]></content:encoded>
			<wfw:commentRss>http://porg.es/blog/2006-year-of-the-dog-anal-sex/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

