<?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>Thijs' world &#187; English</title>
	<atom:link href="http://blog.daedeloth.be/category/english/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.daedeloth.be</link>
	<description>World is a weird place to be!</description>
	<lastBuildDate>Sun, 22 Apr 2012 15:18:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to fix a remote control (without any special products or tools)</title>
		<link>http://blog.daedeloth.be/2010/11/how-to-fix-a-remote-control-without-any-special-products-or-tools/</link>
		<comments>http://blog.daedeloth.be/2010/11/how-to-fix-a-remote-control-without-any-special-products-or-tools/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 19:42:31 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Mijn Wereld]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=298</guid>
		<description><![CDATA[One of my buttons from my remote has been broken for a while now. First I had to push really hard for it to work, now it doesn&#8217;t do anything anymore. So I decided to break the damn thing open and take a look inside. The keys on most remotes are so called &#8220;dome switches&#8221;. [...]<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>One of my buttons from my remote has been broken for a while now. First I had to push really hard for it to work, now it doesn&#8217;t do anything anymore. So I decided to break the damn thing open and take a look inside.</p>
<p><a href="http://blog.daedeloth.be/wp-content/uploads/2010/11/Foto0471.jpg"><img title="Foto0471" src="http://blog.daedeloth.be/wp-content/uploads/2010/11/Foto0471-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.daedeloth.be/wp-content/uploads/2010/11/Foto0471.jpg"></a>The keys on most remotes are so called &#8220;dome switches&#8221;. They consist of a plastic sheet with buttons on it with a little black dot at the bottom. When the black stuff touches the pcb, the button gets pushed.</p>
<p>Turns out the black stuff didn&#8217;t work anymore. After doing some reading on one of &#8216;em internets, I found out this black stuff is supposed to be conducting. Turns out my black stuff didn&#8217;t conduct anymore. I could easily fix it by buying some conducting paint or paste (according to the internets), except that I obviously didn&#8217;t want to wait a few days for the product to arrive.</p>
<p>On to another solution then: I took some aluminium foil and some glue and glued a tiny piece of aluminium foil to the switch. I then put everything together again and&#8230; tada! The button is working again.</p>
<p><a href="http://blog.daedeloth.be/wp-content/uploads/2010/11/Foto0474.jpg"><img title="Foto0474" src="http://blog.daedeloth.be/wp-content/uploads/2010/11/Foto0474-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Mind you that I have no clue how long the glue will hold, but with some proper glue it should be fine.</p>
<p>Happy glueing!</p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2010/11/how-to-fix-a-remote-control-without-any-special-products-or-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;Ye, people, hear my story&#8221;</title>
		<link>http://blog.daedeloth.be/2009/11/ye-people-hear-my-story/</link>
		<comments>http://blog.daedeloth.be/2009/11/ye-people-hear-my-story/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 00:13:38 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Mijn Wereld]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[nanowrimo]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=194</guid>
		<description><![CDATA[An English post, for English people. My blogging frequency goes up another notch and I&#8217;m quicly approaching the 3 blogs a year border! But enough about my blogging rituals. As some of you guys, my frequent visitors, might know, the National Novel Writing Month. The idea is fairly simple: write a 50000 words novel in [...]<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>An English post, for English people. My blogging frequency goes up another notch and I&#8217;m quicly approaching the 3 blogs a year border!</p>
<p>But enough about my blogging rituals. As some of you guys, my frequent visitors, might know, the <a href="http://www.nanowrimo.org/">National Novel Writing Month</a>. The idea is fairly simple: write a 50000 words novel in less than one month. An easy challenge indeed; how hard can it be to write a fifty thousands word story?</p>
<p>Since last year, I only heard about it when it was half over, I decided to give it a try. Since I had completely forgotten about the weird contest, I heard the deadline started yesterday&#8230; yesterday. In other words, I&#8217;m starting on this in the purest form possible: without a storyline in my mind nor a letter on paper.</p>
<p>The only way to keep myself motivated to do this is to proclaim my victory here now. This way, if I succeed, nothing happens. But when I fail, I will fail you guys, my worthy visitors.</p>
<p>But do not dispair, I will finish this novel before the 30th of this month. I&#8217;ve blogged, therefor I will succeed. Bring it on, Novel! I can take you!</p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2009/11/ye-people-hear-my-story/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LinkedIn</title>
		<link>http://blog.daedeloth.be/2008/08/linkedin/</link>
		<comments>http://blog.daedeloth.be/2008/08/linkedin/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 14:27:24 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=180</guid>
		<description><![CDATA[I had some trouble logging into LinkedIn lately, so I contacted customer support. This is the answer I got:<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>I had some trouble logging into LinkedIn lately, so I contacted customer support.</p>
<p>This is the answer I got:</p>
<p><a href="http://blog.daedeloth.be/wp-content/uploads/2008/08/linkedin.png"><img class="alignnone size-medium wp-image-181" title="linkedin" src="http://blog.daedeloth.be/wp-content/uploads/2008/08/linkedin-300x267.png" alt="" width="300" height="267" /></a></p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/08/linkedin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dolumar Art: Sneak preview</title>
		<link>http://blog.daedeloth.be/2008/07/dolumar-art-sneak-preview/</link>
		<comments>http://blog.daedeloth.be/2008/07/dolumar-art-sneak-preview/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 11:21:28 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[Dolumar]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=178</guid>
		<description><![CDATA[Here is a little sneak preview of what is to come<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.daedeloth.be/wp-content/uploads/2008/07/teaser.jpg" class="thickbox"><img class="alignnone size-medium wp-image-179" title="Dolumar Teaser" src="http://blog.daedeloth.be/wp-content/uploads/2008/07/teaser-300x212.jpg" alt="" width="300" height="212" /></a></p>
<p>Here is a little sneak preview of what is to come <img src='http://blog.daedeloth.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/07/dolumar-art-sneak-preview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dolumar Summer of Code</title>
		<link>http://blog.daedeloth.be/2008/07/dolumar-summer-of-code/</link>
		<comments>http://blog.daedeloth.be/2008/07/dolumar-summer-of-code/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 10:40:32 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[Dolumar]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=174</guid>
		<description><![CDATA[The Dolumar Summer of Code has began! Like we announced earlier, Dolumar would get some serious updates in august, so last wednesday we began. More information on the renewed battle system and the improved GUI will follow soon. Most of the graphics will be replaced with brand new, very cool looking graphics and a bunch [...]<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>The Dolumar Summer of Code has began! Like we announced earlier, Dolumar would get some serious updates in august, so last wednesday we began.</p>
<p>More information on the renewed battle system and the improved GUI will follow soon. Most of the graphics will be replaced with brand new<em>, very cool looking</em> graphics and a bunch of new gameplay element will be introduced.</p>
<p>Stay tuned for more information!</p>
<p><a class="thickbox" href="http://blog.daedeloth.be/wp-content/uploads/2008/07/dsc00024.jpg"><img class="alignnone size-thumbnail wp-image-176" title="Art Director" src="http://blog.daedeloth.be/wp-content/uploads/2008/07/dsc00024-150x150.jpg" alt="Our main designer &amp; art director at work" width="150" height="150" /></a><a class="thickbox" href="http://blog.daedeloth.be/wp-content/uploads/2008/07/dsc00022.jpg"><img class="alignnone size-thumbnail wp-image-177" title="Lead programmer desk" src="http://blog.daedeloth.be/wp-content/uploads/2008/07/dsc00022-150x150.jpg" alt="Sneak preview to the new Dolumar ;-)" width="150" height="150" /></a></p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/07/dolumar-summer-of-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I love the Whole World</title>
		<link>http://blog.daedeloth.be/2008/06/i-love-the-whole-world/</link>
		<comments>http://blog.daedeloth.be/2008/06/i-love-the-whole-world/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 08:32:11 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Mijn Wereld]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Varia]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=173</guid>
		<description><![CDATA[And here you can find the XKCD version of this song<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/V5BxymuiAxQ&#038;hl=en"></param><embed src="http://www.youtube.com/v/V5BxymuiAxQ&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p>And <a href="http://xkcd.com/442/">here</a> you can find the XKCD version of this song <img src='http://blog.daedeloth.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/06/i-love-the-whole-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thijs&#8217; guide to UTF8</title>
		<link>http://blog.daedeloth.be/2008/04/xmlhttprequest-utf8-form-submit/</link>
		<comments>http://blog.daedeloth.be/2008/04/xmlhttprequest-utf8-form-submit/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 07:47:58 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[utf8]]></category>
		<category><![CDATA[xmlhttprequest]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=165</guid>
		<description><![CDATA[The Thijs way! This might not be the best way, but it does work like a charm! First of all: make sure your document is written in UTF8. This will make sure that all forms you submit (yes, even in xmlHttpRequest calls) will be encoded in UTF8. Second: make sure that your database connection is [...]<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>The Thijs way!<br />
This might not be the best way, but it does work like a charm!</p>
<p>First of all: make sure your document is written in UTF8. This will make sure that all forms you submit (yes, even in xmlHttpRequest calls) will be encoded in UTF8.</p>
<p>Second: make sure that your database connection is using UTF8 aswell! Using UTF8 as charset in your fields and tables is one thing, you have to make sure that your connection is using UTF8 aswell! You can change the default charset in your mysql configuration files, but the easiest way to make sure you are using UTF8 is actually telling your connection to use UTF8.<br />
<code>mysql_connect (DB_SERVER, DB_USER, DB_PASS);<br />
mysql_select_db (DB_DATABASE);<br />
mysql_query ("SET NAMES utf8");</code><br />
This way you will lose those ugly non-utf8 characters in your database.</p>
<p>Now let&#8217;s take a look at the xmlHttpRequest. This is fairly simple: what do you want to do? Submit a form ofcourse. What do we have to take in mind? &amp; and = are special characters, so we can&#8217;t use those in the form. A simple escape in javascript should take care of that.</p>
<p>The html:<br />
<code>&lt;textarea id="myfield"&gt;Some data&lt;/textarea&gt;<br />
&lt;button onclick="submitForm();"&gt;Submit&lt;/button&gt;</code><br />
The javascript (function submitForm()):<br />
<code>// Only escape the form field<br />
var myfield = encodeURIComponent(document.getElementById('myfield').value);<br />
var req= getXmlHttpRequest (); // Use your own function here..<br />
req.open ('post', 'index.php', true);<br />
req.setRequestHeader("Method", "POST index.php HTTP/1.1");<br />
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");<br />
req.send ('myfield='+myfield);</code><br />
How to receive it in PHP:<br />
<code>// Just remove the special url chars<br />
$myfield = rawurldecode ($_POST['myfield']);<br />
</code><br />
And that&#8217;s it really. Since your document is in UTF8 and your form fields are encoded in UTF8, the only thing you have to keep in mind is the &#8220;split symbols&#8221;. No need to encode or decode anything.</p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/04/xmlhttprequest-utf8-form-submit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SlashLife sais&#8230;</title>
		<link>http://blog.daedeloth.be/2008/04/slashlife-sais/</link>
		<comments>http://blog.daedeloth.be/2008/04/slashlife-sais/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 14:58:45 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[Dolumar]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[slashlife]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=164</guid>
		<description><![CDATA[Muhaha. The first positive thing he ever said about me, and I&#8217;ve got it on logs! [16:55] &#60;SlashLife&#62; Even though I&#8217;m still sure that you&#8217;re an inferior coder to me, I have to admit, that you&#8217;ve got ideas. Now tell me that&#8217;s not positive!<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>Muhaha. The first positive thing he ever said about me, and I&#8217;ve got it on logs!</p>
<blockquote><p>[16:55] &lt;SlashLife&gt; Even though I&#8217;m still sure that you&#8217;re an inferior coder to me, I have to admit, that you&#8217;ve got ideas.</p></blockquote>
<p>Now tell me that&#8217;s not positive!</p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/04/slashlife-sais/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Generating a tree from MySQL</title>
		<link>http://blog.daedeloth.be/2008/04/generating-a-tree-from-mysql/</link>
		<comments>http://blog.daedeloth.be/2008/04/generating-a-tree-from-mysql/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 09:59:38 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=162</guid>
		<description><![CDATA[A few days ago I was working on a navigation tree. The basic idea is simple: every navigation item is part of another navigation item or the root item. Seems like a simple parent-child relation, so I made a MySQL table to store everything in. Every record has a parent_id and, ofcourse, an unique id. [...]<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>A few days ago I was working on a navigation tree. The basic idea is simple: every navigation item is part of another navigation item or the root item.</p>
<p>Seems like a simple parent-child relation, so I made a MySQL table to store everything in. Every record has a parent_id and, ofcourse, an unique id. I wanted to load the data in a multi dimensional associated array in PHP, so that I could easily include them in my HTML templates (using recursive functions).</p>
<p>The general aproach for these kinds of data is recursive functions, but this leads to a huge amount of overhead and a lot of useless loops. That&#8217;s why I decided to take another approach, using references.</p>
<p>The basic idea is simple: for every parent you create, you write a reference to this parents&#8217; children array in a seperate array.</p>
<p>Take in mind that, in order to use this approach, you need to sort your data on the depth level! That means you will have to store the level of a child (= count the parent, grandparent, &#8230;) in your table. Order your data ascending on depth level, and you should be alright. If you dont do this, the script will try to add records to unexisting parents.</p>
<p>You can find my example script <a href="http://blog.daedeloth.be/wp-content/uploads/2008/04/mysqltree.phps">here</a>.</p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/04/generating-a-tree-from-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A little prayer</title>
		<link>http://blog.daedeloth.be/2008/03/a-little-prayer/</link>
		<comments>http://blog.daedeloth.be/2008/03/a-little-prayer/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 21:32:55 +0000</pubDate>
		<dc:creator>Daedeloth</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Mijn Wereld]]></category>

		<guid isPermaLink="false">http://blog.daedeloth.be/?p=145</guid>
		<description><![CDATA[I have never been religious, but I do appreciate literature. This old, english prayer has always fascinated me. The first time I heard it was in Metallica&#8217;s song &#8220;Enter Sandman&#8220; (I&#8217;m sure you can find the lyrics somewhere) but today I decided to publish the old one. Apparently, this prayer has been written in the [...]<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></description>
			<content:encoded><![CDATA[<p>I have never been religious, but I do appreciate literature. This old, english prayer has always fascinated me. The first time I heard it was in Metallica&#8217;s song <em>&#8220;<a href="http://www.lyricsfreak.com/m/metallica/enter+sandman_20092087.html">Enter Sandman</a>&#8220;</em> (I&#8217;m sure you can find the lyrics somewhere) but today I decided to publish the old one.</p>
<p>Apparently, this prayer has been written in the 18th century.</p>
<p><em>Now I lay me down to sleep<br />
I pray the lord my soul to keep;<br />
And if I die before I wake,<br />
I pray the Lord my soul to take. </em></p>
<p><img src="http://stats.catlab.eu/piwik.php?idsite=8&rec=1&action_name=RSSRead" style="border:0" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.daedeloth.be/2008/03/a-little-prayer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

