<?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>Ivo Limmen</title>
	<atom:link href="http://blog.limmen.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.limmen.org</link>
	<description>Everything fun...</description>
	<lastBuildDate>Fri, 01 Apr 2011 11:51:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>April fools</title>
		<link>http://blog.limmen.org/2011/04/april-fools/</link>
		<comments>http://blog.limmen.org/2011/04/april-fools/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 11:51:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[April fools]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=217</guid>
		<description><![CDATA[Folks at LinkedIn definitely have humor:]]></description>
			<content:encoded><![CDATA[<p>Folks at <a href="http://www.linkedin.com">LinkedIn</a> definitely have humor:<br />
<a href="http://blog.limmen.org/wp-content/uploads/1april.png"><img src="http://blog.limmen.org/wp-content/uploads/1april.png" alt="" title="1april" width="580" height="515" class="alignnone size-full wp-image-218" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2011/04/april-fools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google maps and clustering markers</title>
		<link>http://blog.limmen.org/2011/04/google-maps-and-clustering-markers/</link>
		<comments>http://blog.limmen.org/2011/04/google-maps-and-clustering-markers/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 08:20:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[Markers]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=209</guid>
		<description><![CDATA[You can do really nice things with the Google Maps API. Even more when you use the gmaps-utility-library. Difficulty is that the documentation is not that great of the extra tools. In my case I wanted to do someting special with my markers (and my clustered markers). When there is an alert at the location [...]]]></description>
			<content:encoded><![CDATA[<p>You can do really nice things with the <a href="http://code.google.com/apis/maps/documentation/javascript/reference.html">Google Maps API</a>. Even more when you use the <a href="http://code.google.com/p/gmaps-utility-library-dev/">gmaps-utility-library</a>.<br />
Difficulty is that the documentation is not that great of the extra tools.<br />
<span id="more-209"></span><br />
In my case I wanted to do someting special with my markers (and my clustered markers). When there is an alert at the location my markers should turn red instead of the default green.<br />
The cluster markers does have the ability to set a different style set. Problem is that the logic in the cluster marker is that it changes the style based on the amount of markers in the cluster.</p>
<p>I incidentally found and used the correct version of the add-on. I found it at <a href="http://code.google.com/p/google-maps-utility-library-v3">Google code</a>. While writing this post I re-googled the add-on so that I could link to the site. Like <a href="http://code.google.com/p/gmaps-utility-library-dev">so</a>.<br />
I discovered that that version had exactly what I missed: a parameter for the calculator function. Thinking I had an outdated version I copied this version and rewrote the code.<br />
It broke. It seems it was voor Google Maps API v2, and I was using V3.<br />
Then I discovered that there are more versions of the add-on library! The new version for V3 did not have a parameter for specifying a function to calculate what style I wanted to use.</p>
<p>Eventually I just overridden the function as so:</p>
<pre>
MarkerClusterer.prototype.calculator_ = function(markers, numStyles) {
    var index = 1;
    var count = markers.length;

    for (var i = 0; i < markers.length; i++) {
        if (markers[i].alert != undefined &#038;&#038; markers[i].alert) {
            // show alert
            index = 2;
            break;
        }
    }

    return {
        text: count,
        index: index
    };
};
</pre>
<p>When I create a marker I add the
<pre>alert</pre>
<p> property before adding it to the array that I pass on to the MarkerClusterer. It works like a charm!</p>
<p>It would be nicer (and cleaner) to specify the function when initializing the MarkerClusterer, but I am just glad I got it working like I wanted to.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2011/04/google-maps-and-clustering-markers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something is very wrong</title>
		<link>http://blog.limmen.org/2010/11/something-is-very-wrong/</link>
		<comments>http://blog.limmen.org/2010/11/something-is-very-wrong/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 18:42:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Nudity]]></category>
		<category><![CDATA[Sinterklaas]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=200</guid>
		<description><![CDATA[My wife was searching on &#8216;Sinterklaas&#8217; (Kind of Santa Claus in the Netherlands) and this is what came up:]]></description>
			<content:encoded><![CDATA[<p>My wife was searching on &#8216;Sinterklaas&#8217; (Kind of Santa Claus in the Netherlands) and this is what came up:<br />
<a href="http://blog.limmen.org/wp-content/uploads/Wrong.png"><img src="http://blog.limmen.org/wp-content/uploads/Wrong-300x240.png" alt="" title="Wrong" width="300" height="240" class="alignnone size-medium wp-image-201" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/11/something-is-very-wrong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache should vote NO on Java 7</title>
		<link>http://blog.limmen.org/2010/11/apache-should-vote-no/</link>
		<comments>http://blog.limmen.org/2010/11/apache-should-vote-no/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 20:03:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JCP]]></category>
		<category><![CDATA[JDK7]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=194</guid>
		<description><![CDATA[Apache just made a statement on the TCK situation. They just got a three years extension on the JCP Executive Committee. I am happy about that. In the same press release they state that Oracle is violating their contract by not endorsing the use of the TCK to validate the Harmony JVM of Apache. They [...]]]></description>
			<content:encoded><![CDATA[<p>Apache just made a statement on the <a href="https://blogs.apache.org/foundation/entry/statement_by_the_asf_board1">TCK situation</a>. They just got a three years extension on the JCP Executive Committee. I am happy about that.</p>
<p>In the same press release they state that Oracle is violating their contract by not endorsing the use of the TCK to validate the Harmony JVM of Apache. They threaten to vote against the Java SE 7 release.</p>
<p>I hope that they eventually do vote <strong>no</strong> on JDK 7. I would love to see Apache fork Java. I think that most Java developers trust Apache more to handle Java than they trust Oracle (and other commercial companies).</p>
<p>Personally I would please me to see Apache and Google fork and create a new Java. Give it a new name. Cut the deprecated API. Drop JSR-277 and use OSGi bundles. Start fresh&#8230;.. </p>
<p>O wait I&#8217;m dreaming&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/11/apache-should-vote-no/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing a private variable for testing</title>
		<link>http://blog.limmen.org/2010/10/changing-a-private-variable-for-testing/</link>
		<comments>http://blog.limmen.org/2010/10/changing-a-private-variable-for-testing/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 07:00:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Final]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JUnit]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Static]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=185</guid>
		<description><![CDATA[Sometimes you just need to update the value of a static private variable for junit testing. It often is a code smell if this is needed, in this case as well but it was not allowed to redesign the software. So we made a reflection utility class that can change the values: public static void [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you just need to update the value of a static private variable for junit testing. It often is a code smell if this is needed, in this case as well but it was not allowed to redesign the software. So we made a reflection utility class that can change the values:</p>
<pre>
public static void setStaticPrivateVariable(Class&lt;?&gt; objectClass,
		String fieldName, Object value) throws Throwable {

	Field field = objectClass.getDeclaredField(fieldName);
	field.setAccessible(true);

	Field modifiersField = Field.class.getDeclaredField("modifiers");
	modifiersField.setAccessible(true);
	int modifiers = modifiersField.getInt(field);

	if (Modifier.isFinal(modifiers)) {
		modifiers &#038;= ~Modifier.FINAL;
		modifiersField.setInt(field, modifiers);
	}

	field.set(null, value);
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/10/changing-a-private-variable-for-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Norah is drie geworden</title>
		<link>http://blog.limmen.org/2010/09/norah-is-drie-geworden/</link>
		<comments>http://blog.limmen.org/2010/09/norah-is-drie-geworden/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 10:52:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Norah]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Fiets]]></category>
		<category><![CDATA[Verjaardag]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=174</guid>
		<description><![CDATA[Norah is vandaag drie jaar geworden. Ze kreeg van ons een nieuwe fiest (haar eerste overigens). Ze wilde er meteen op fietsen.]]></description>
			<content:encoded><![CDATA[<p>Norah is vandaag drie jaar geworden. Ze kreeg van ons een nieuwe fiest (haar eerste overigens). Ze wilde er meteen op fietsen.<br />
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/hwsVV3uGl10?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/hwsVV3uGl10?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/09/norah-is-drie-geworden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Choir</title>
		<link>http://blog.limmen.org/2010/05/virtual-choir/</link>
		<comments>http://blog.limmen.org/2010/05/virtual-choir/#comments</comments>
		<pubDate>Tue, 04 May 2010 05:02:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=168</guid>
		<description><![CDATA[Dit is eigenlijk niet mijn type muziek maar dit is mooi gedaan, en het klinkt best oké.]]></description>
			<content:encoded><![CDATA[<p>Dit is eigenlijk niet mijn type muziek maar dit is mooi gedaan, en het klinkt best oké.<br />
<object width="600" height="360"><param name="movie" value="http://www.youtube.com/v/D7o7BrlbaDs&#038;hl=en_GB&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/D7o7BrlbaDs&#038;hl=en_GB&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="360"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/05/virtual-choir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BNN &#8211; That&#8217;s life &#8211; Laura Jansen</title>
		<link>http://blog.limmen.org/2010/04/bnn-thats-life-laura-jansen/</link>
		<comments>http://blog.limmen.org/2010/04/bnn-thats-life-laura-jansen/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 10:41:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[BNN]]></category>
		<category><![CDATA[Concert]]></category>
		<category><![CDATA[Muziek]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/2010/04/bnn-thats-life-laura-janssen/</guid>
		<description><![CDATA[Gisteren samen met een vriend van mij naar BNN geweest voor een klein knus mini concert van Laura Jansen. Wat kan zij goed zingen. Haar band was nog in America vanwege de as-wolk dus deed ze het in haar eentje. Ik was erg onder de indruk.]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://blog.limmen.org/wp-content/uploads/wpid-IMAG0091.jpg" /></p>
<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://blog.limmen.org/wp-content/uploads/wpid-IMAG0089.jpg" /></p>
<p>Gisteren samen met een vriend van mij naar BNN geweest voor een klein knus mini concert van Laura Jansen. Wat kan zij goed zingen. Haar band was nog in America vanwege de as-wolk dus deed ze het in haar eentje.<br />
Ik was erg onder de indruk.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/04/bnn-thats-life-laura-jansen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dagje Efteling</title>
		<link>http://blog.limmen.org/2010/03/dagje-efteling/</link>
		<comments>http://blog.limmen.org/2010/03/dagje-efteling/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 14:22:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Efteling]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Norah]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/2010/03/dagje-efteling/</guid>
		<description><![CDATA[Het zag er naar uit dat het vies weer zou worden maar uiteindelijk werd het een mooie zonnige dag. Het was redelijk druk maar we zijn in de attracties geweest waar we in wilden. Ons doel was om te zien of Norah het leuk zou vinden. Het eerste wat we deden was naar carnaval-land gaan. [...]]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://blog.limmen.org/wp-content/uploads/wpid-IMAG0057.jpg" /></p>
<p>Het zag er naar uit dat het vies weer zou worden maar uiteindelijk werd het een mooie zonnige dag. Het was redelijk druk maar we zijn in de attracties geweest waar we in wilden. Ons doel was om te zien of Norah het leuk zou vinden.  Het eerste wat we deden was naar carnaval-land gaan. Norah zat bij oma, en ze vond het leuk. Toen gingen we naar het sprookjesbos. Bij sommige attracties was ze niet weg te slepen. Bij de laven nog even een tour gedaan. Norah was daar uiteindelijk niet was te halen bij de glijbaan. Al met al een gezellig dagje uit.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/03/dagje-efteling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genoeg</title>
		<link>http://blog.limmen.org/2010/03/genoeg/</link>
		<comments>http://blog.limmen.org/2010/03/genoeg/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 06:13:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Account]]></category>
		<category><![CDATA[ICQ]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[MSN]]></category>
		<category><![CDATA[Reclame]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://blog.limmen.org/?p=159</guid>
		<description><![CDATA[Mijn vrouw haar MSN Messenger werd gehacked. Een of andere reclame bericht word nu continue vanuit haar account gestuurd naar mensen op haar lijst. Wonder boven wonder sta ik daar ook op. Ik wordt ook alleen op MSN overigens lastig gevallen door onbekenden. Nu ook nog eens door mijn eigen vrouw. Ik wilde eigenlijk al [...]]]></description>
			<content:encoded><![CDATA[<p>Mijn vrouw haar MSN Messenger werd gehacked. Een of andere reclame bericht word nu continue vanuit haar account gestuurd naar mensen op haar lijst. Wonder boven wonder sta ik daar ook op. Ik wordt ook alleen op MSN overigens lastig gevallen door onbekenden. Nu ook nog eens door mijn eigen vrouw.<br />
Ik wilde eigenlijk al een tijdje af van mijn hotmail account maar hij verliep maar niet. Volgens de website zou het account na een tijdje niet gebruiken automatisch verwijderd worden. Blijkbaar kan dat niet omdat ik MSN gebruik met dat email adres.<br />
Ik heb het gedaan&#8230; ik heb gevonden hoe het moest en heb mijn hotmail account verwijderd. Dag MSN! Ik ga volledig over op Jabber (GTalk). Mijn <strong>ICQ</strong> account kon ik overigens niet verwijderen&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.limmen.org/2010/03/genoeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

