<?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>#MoNoNoKe Blogs</title>
	<atom:link href="http://blog.mononoke.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mononoke.nl</link>
	<description>News from the #MoNoNoKe folks</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:23:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>30 Minutes of minimal</title>
		<link>http://gigafreak.net/wordpress/archives/202</link>
		<comments>http://gigafreak.net/wordpress/archives/202#comments</comments>
		<pubDate>Tue, 07 Feb 2012 09:23:56 +0000</pubDate>
		<dc:creator>zarya</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://gigafreak.net/wordpress/?p=202</guid>
		<description><![CDATA[Here is my set 30 minutes of minimal, my first try on mixing minimal.
Download/Listen
Tnx to Vexocide for hosting
]]></description>
			<content:encoded><![CDATA[<p>Here is my set 30 minutes of minimal, my first try on mixing minimal.</p>
<p><a href="http://vexocide.org/audio/zarya/Zarya%2006-02-2012%2030min%20of%20minimal.ogg">Download/Listen</a></p>
<p>Tnx to Vexocide for hosting</p>
]]></content:encoded>
			<wfw:commentRss>http://gigafreak.net/wordpress/archives/202/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://vexocide.org/audio/zarya/Zarya 06-02-2012 30min of minimal.ogg" length="0" type="audio/ogg" />
		</item>
		<item>
		<title>Veel thee drinken, diep ademhalen en doorgaan</title>
		<link>http://blog.spiderwebz.nl/?p=805</link>
		<comments>http://blog.spiderwebz.nl/?p=805#comments</comments>
		<pubDate>Fri, 27 Jan 2012 07:31:25 +0000</pubDate>
		<dc:creator>spider</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://blog.spiderwebz.nl/?p=805</guid>
		<description><![CDATA[Het is inmiddels alweer een aantal dagen geleden dat hij me vertelde verliefd te zijn op iemand anders. Je hart breekt, je maag draait en je hoofd zegt: &#8220;Nee, dit is niet waar!&#8221; Tegelijkertijd vallen er een aantal puzzelstukjes op hun plek,...]]></description>
			<content:encoded><![CDATA[Het is inmiddels alweer een aantal dagen geleden dat hij me vertelde verliefd te zijn op iemand anders. Je hart breekt, je maag draait en je hoofd zegt: &#8220;Nee, dit is niet waar!&#8221; Tegelijkertijd vallen er een aantal puzzelstukjes op hun plek, zie je opeens het complete plaatje en besef je dat het wel degelijk [...]]]></content:encoded>
			<wfw:commentRss>http://blog.spiderwebz.nl/?feed=rss2&#038;p=805</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript parent constructor being run when defining inheritance and a solution</title>
		<link>http://drakonen.com/2012/javascript-parent-constructor-being-run-when-defining-inheritance-and-a-solution/</link>
		<comments>http://drakonen.com/2012/javascript-parent-constructor-being-run-when-defining-inheritance-and-a-solution/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 12:53:32 +0000</pubDate>
		<dc:creator>Drakonen</dc:creator>
		
		<guid isPermaLink="false">http://drakonen.com/?p=188</guid>
		<description><![CDATA[When using the traditional Javascript methods to do some sort of inheritance, the constructor of the parent will always be run when trying to inherit it. This seems to be a unfortunate side effect of using new a(). The problem Consider this code. Here b inherits from a function a&#040;&#041; &#123; console.log&#040;&#034;a&#034;&#041;; &#125; &#160; function [...]]]></description>
			<content:encoded><![CDATA[<p>When using the traditional Javascript methods to do some sort of inheritance, the constructor of the parent will always be run when trying to inherit it. This seems to be a unfortunate side effect of using <code>new a()</code>.</p>
<h2>The problem</h2>
<p>Consider this code. Here b inherits from a</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> a<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;a&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> b<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    a.<span style="color: #660066;">call</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;b&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
b.<span style="color: #660066;">prototype</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> a<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// a's constructor will be run here!</span>
b.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">constructor</span> <span style="color: #339933;">=</span> b<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">new</span> b<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// run once</span>
<span style="color: #003366; font-weight: bold;">new</span> b<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// run twice</span></pre></div></div>

<p>Here a&#8217;s constructor will be run 3 times.</p>
<pre>
a
a
b
a
b
</pre>
<h2>The solution</h2>
<p>There is a simple fix for this, but its only in Ecmascript 5.<br />
Change this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">b.<span style="color: #660066;">prototype</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> a<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Into this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">b.<span style="color: #660066;">prototype</span> <span style="color: #339933;">=</span> Object.<span style="color: #660066;">create</span><span style="color: #009900;">&#40;</span>a.<span style="color: #660066;">prototype</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And the constructor will only be run when actually being called:</p>
<pre>
a
b
a
b
</pre>
]]></content:encoded>
			<wfw:commentRss>http://drakonen.com/2012/javascript-parent-constructor-being-run-when-defining-inheritance-and-a-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using hgtools with mercurial tags to automatically version packages</title>
		<link>http://drakonen.com/2012/using-hgtools-with-mercurial-tags-to-automatically-version-packages/</link>
		<comments>http://drakonen.com/2012/using-hgtools-with-mercurial-tags-to-automatically-version-packages/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 21:50:59 +0000</pubDate>
		<dc:creator>Drakonen</dc:creator>
		
		<guid isPermaLink="false">http://drakonen.com/?p=166</guid>
		<description><![CDATA[I liked to automate my python package versioning a bit more and did this with hgtools. With hgtools it is quite easy to store the version numbers only in your repository as tags, and not having it again in setup.py. A minimal setup.py can look like this: from setuptools import setup, find_packages setup&#040; name=&#034;HelloWorld&#034;, use_hg_version=True, [...]]]></description>
			<content:encoded><![CDATA[<p>I liked to automate my python package versioning a bit more and did this with <a href="http://pypi.python.org/pypi/hgtools" onclick="pageTracker._trackPageview('/outgoing/pypi.python.org/pypi/hgtools?referer=');">hgtools</a>. With hgtools it is quite easy to store the version numbers only in your repository as tags, and not having it again in <code>setup.py</code>.</p>
<p>A minimal <code>setup.py</code> can look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">from</span> setuptools <span style="color: #ff7700;font-weight:bold;">import</span> setup, find_packages
setup<span style="color: black;">&#40;</span>
    name=<span style="color: #483d8b;">&quot;HelloWorld&quot;</span>,
    use_hg_version=<span style="color: #008000;">True</span>,
    packages=find_packages<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>,
    setup_requires=<span style="color: black;">&#91;</span><span style="color: #483d8b;">&quot;hgtools&quot;</span><span style="color: black;">&#93;</span>,
<span style="color: black;">&#41;</span></pre></div></div>

<p>Just give a revision a tag and make an sdist, or bdist and setuptools will use the version from your tag.<br />
Tags have to conform to <a href="http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html" onclick="pageTracker._trackPageview('/outgoing/epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html?referer=');">strict version formatting from distutils</a> to be used by hgtools.</p>
<p>Later I also made it a step in a Jenkins setup, to always build a <code>sdist</code> and copy it to a HTTP accessible directory so it could be installed with pip. This gave me a nice history of available release packages and also, dev versions.</p>
]]></content:encoded>
			<wfw:commentRss>http://drakonen.com/2012/using-hgtools-with-mercurial-tags-to-automatically-version-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wekelijks bezoekje aan de weegschaal</title>
		<link>http://blog.spiderwebz.nl/?p=798</link>
		<comments>http://blog.spiderwebz.nl/?p=798#comments</comments>
		<pubDate>Sun, 22 Jan 2012 10:54:44 +0000</pubDate>
		<dc:creator>spider</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://blog.spiderwebz.nl/?p=798</guid>
		<description><![CDATA[Vanmorgen mocht ik weer op de weegschaal staan, iets wat tegenwoordig best een leuke bezigheid is. Met de nadruk op tegenwoordig want vorig jaar, eind juli, dacht ik op een ochtend ook weer eens op de weegschaal te gaan staan. Oh wat ben ik toen geschr...]]></description>
			<content:encoded><![CDATA[Vanmorgen mocht ik weer op de weegschaal staan, iets wat tegenwoordig best een leuke bezigheid is. Met de nadruk op tegenwoordig want vorig jaar, eind juli, dacht ik op een ochtend ook weer eens op de weegschaal te gaan staan. Oh wat ben ik toen geschrokken! Ik woog 71 kilo! Hoe kon dat? Met het [...]]]></content:encoded>
			<wfw:commentRss>http://blog.spiderwebz.nl/?feed=rss2&#038;p=798</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lekker hangen ;-)</title>
		<link>http://blog.spiderwebz.nl/?p=794</link>
		<comments>http://blog.spiderwebz.nl/?p=794#comments</comments>
		<pubDate>Thu, 12 Jan 2012 14:20:57 +0000</pubDate>
		<dc:creator>spider</dc:creator>
				<category><![CDATA[photo]]></category>

		<guid isPermaLink="false">http://blog.spiderwebz.nl/?p=794</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://blog.spiderwebz.nl/?feed=rss2&#038;p=794</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hormoonmonsters</title>
		<link>http://blog.spiderwebz.nl/?p=784</link>
		<comments>http://blog.spiderwebz.nl/?p=784#comments</comments>
		<pubDate>Fri, 06 Jan 2012 13:42:10 +0000</pubDate>
		<dc:creator>spider</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://blog.spiderwebz.nl/?p=784</guid>
		<description><![CDATA[Vandaag niet ter afwisseling een leuke foto, tekening of wat dan ook, maar een rant. Want zoals veel mannen aan hun vrouwen merken, hebben zij af en toe zo&#8217;n periode waarin ze extra snel op hun teentjes getrapt zijn, iets meer zeuren of sneller h...]]></description>
			<content:encoded><![CDATA[Vandaag niet ter afwisseling een leuke foto, tekening of wat dan ook, maar een rant. Want zoals veel mannen aan hun vrouwen merken, hebben zij af en toe zo&#8217;n periode waarin ze extra snel op hun teentjes getrapt zijn, iets meer zeuren of sneller huilen. Zo&#8217;n periode waarin ze clichématig bedolven willen worden onder chocola [...]]]></content:encoded>
			<wfw:commentRss>http://blog.spiderwebz.nl/?feed=rss2&#038;p=784</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jaarafsluiting</title>
		<link>http://blog.spiderwebz.nl/?p=719</link>
		<comments>http://blog.spiderwebz.nl/?p=719#comments</comments>
		<pubDate>Fri, 30 Dec 2011 23:05:36 +0000</pubDate>
		<dc:creator>spider</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://blog.spiderwebz.nl/?p=719</guid>
		<description><![CDATA[Nog 24 uur te gaan! In mijn eerste blogpost dit jaar schreef ik dat ik weer meer wilde gaan bloggen. Dit goede voornemen is gelukt! In 2011 heb ik (inclusief deze) 27 berichten geplaatst, dat zijn er 17 meer dan in 2010. Hier zit ook meer beeldmateriaa...]]></description>
			<content:encoded><![CDATA[Nog 24 uur te gaan! In mijn eerste blogpost dit jaar schreef ik dat ik weer meer wilde gaan bloggen. Dit goede voornemen is gelukt! In 2011 heb ik (inclusief deze) 27 berichten geplaatst, dat zijn er 17 meer dan in 2010. Hier zit ook meer beeldmateriaal bij, omdat het me wel leuk leek elk [...]]]></content:encoded>
			<wfw:commentRss>http://blog.spiderwebz.nl/?feed=rss2&#038;p=719</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fijne kerstdagen!</title>
		<link>http://blog.spiderwebz.nl/?p=711</link>
		<comments>http://blog.spiderwebz.nl/?p=711#comments</comments>
		<pubDate>Sun, 25 Dec 2011 09:14:44 +0000</pubDate>
		<dc:creator>spider</dc:creator>
				<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://blog.spiderwebz.nl/?p=711</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://blog.spiderwebz.nl/?feed=rss2&#038;p=711</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The legend of the Christmas Spider</title>
		<link>http://blog.spiderwebz.nl/?p=695</link>
		<comments>http://blog.spiderwebz.nl/?p=695#comments</comments>
		<pubDate>Sat, 24 Dec 2011 19:07:33 +0000</pubDate>
		<dc:creator>spider</dc:creator>
				<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://blog.spiderwebz.nl/?p=695</guid>
		<description><![CDATA[This is a folk legend from Ukraine. There once was a widow, who lived with her children in a small house. One day a pine cone dropped on the floor and after a while, they discovered that it had took root. It grew and it grew and the children of the wid...]]></description>
			<content:encoded><![CDATA[This is a folk legend from Ukraine. There once was a widow, who lived with her children in a small house. One day a pine cone dropped on the floor and after a while, they discovered that it had took root. It grew and it grew and the children of the widow were excited that [...]]]></content:encoded>
			<wfw:commentRss>http://blog.spiderwebz.nl/?feed=rss2&#038;p=695</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

