<?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>Melvin's tech blog</title>
	<atom:link href="http://blog.melvinrook.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.melvinrook.nl</link>
	<description></description>
	<lastBuildDate>Sat, 31 Jul 2010 11:31:28 +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>Printing to a matrix printer from PostgreSQL</title>
		<link>http://blog.melvinrook.nl/2010/07/31/printing-to-a-matrix-printer-from-postgresql/</link>
		<comments>http://blog.melvinrook.nl/2010/07/31/printing-to-a-matrix-printer-from-postgresql/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 11:29:19 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=188</guid>
		<description><![CDATA[Recently I found an interesting piece of code again which I would like to share with you. I produced the code about a year ago for a project which needed offline data logging. I used the piece of code to print a line to a matrix printer from PostgreSQL. The matrix printer was connected to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I found an interesting piece of code again which I would like to share with you. <img src='http://blog.melvinrook.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I produced the code about a year ago for a project which needed offline data logging.</p>
<p>I used the piece of code to print a line to a matrix printer from PostgreSQL. The matrix printer was connected to the database server and supplied with endless paper. I used a matrix printer, because you can print directly to the device.</p>
<p>With the method, described below, it&#8217;s possible to print with a SQL query or print something initiated by a trigger. Using this method you can log specific data &#8216;offline&#8217;.</p>
<p>The print_line method consists of three files; print_line.c which contains the code to address the printer, a Makefile to compile the print_line.c file and a print_line.sql file which creates the function in SQL.</p>
<p><strong>print_line.c</strong><br />
<a href="http://blog.melvinrook.nl/wp-content/uploads/2010/07/print_line.png"><img src="http://blog.melvinrook.nl/wp-content/uploads/2010/07/print_line.png" alt="" title="print_line" width="660" height="523" class="alignnone size-full wp-image-193" /></a></p>
<p><strong>Makefile</strong><br />
<code>MODULES = printhash<br />
PGXS := $(shell pg_config --pgxs)<br />
include $(PGXS)</code></p>
<p><strong>print_line.sql</strong><br />
<code>CREATE FUNCTION print_line(text) RETURNS integer<br />
AS '/usr/local/libexec/print_line.so', 'print_line'<br />
LANGUAGE C STRICT;</code></p>
<p><strong>Installation:</strong><br />
<code>mkdir /home/user/print_line<br />
cd /home/user/print_line<br />
unzip print_line.zip<br />
make<br />
cp print_line.so /usr/local/libexec/<br />
// open postgresql command line client and execute:<br />
# \i /home/user/print_line/print_line.sql</code></p>
<p><strong>Usage:</strong><br />
<code>SELECT print_line('Hello World!');</code></p>
<p><strong>Download:</strong><br />
<a href='http://blog.melvinrook.nl/wp-content/uploads/2010/07/print_line.zip'>Download print_line.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2010/07/31/printing-to-a-matrix-printer-from-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Artikel in Linux Magazine</title>
		<link>http://blog.melvinrook.nl/2010/05/29/artikel-in-linux-magazine/</link>
		<comments>http://blog.melvinrook.nl/2010/05/29/artikel-in-linux-magazine/#comments</comments>
		<pubDate>Sat, 29 May 2010 10:26:22 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[Diversia]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Stories]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=174</guid>
		<description><![CDATA[Deze week is een interview met mij over Diversia in Linux Magazine verschenen. &#8220;Verder spraken we voor deze editie met de ontwikkelaar van Diversia, een open source-variant op Second Life. Waarom Diversia wel een succes wordt, terwijl Second Life langzaam verandert in een spookstad, legt projectleider Melvin Rook uit in een rijk geïllustreerd artikel.&#8221; Inmiddels [...]]]></description>
			<content:encoded><![CDATA[<p>Deze week is een interview met mij over <a href="http://diversia.org">Diversia</a> in <a href="http://www.linuxmag.nl/dit-nummer.html">Linux Magazine</a> verschenen.</p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2010/05/lin0210_p01_cover.jpg"><img class="size-full wp-image-175 alignnone" title="lin0210_p01_cover" src="http://blog.melvinrook.nl/wp-content/uploads/2010/05/lin0210_p01_cover.jpg" alt="" width="124" height="175" /></a></p>
<blockquote><p><em>&#8220;Verder spraken we voor deze editie met de ontwikkelaar van Diversia, een open source-variant op Second Life. Waarom Diversia wel een succes wordt, terwijl Second Life langzaam verandert in een spookstad, legt projectleider Melvin Rook uit in een rijk geïllustreerd artikel.&#8221;</em></p></blockquote>
<p>Inmiddels heb ik ook al veel positieve en leuke reacties op het artikel ontvangen. <img src='http://blog.melvinrook.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2010/05/29/artikel-in-linux-magazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synology DS1010+ NAS</title>
		<link>http://blog.melvinrook.nl/2010/04/10/synology-ds1010-nas/</link>
		<comments>http://blog.melvinrook.nl/2010/04/10/synology-ds1010-nas/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 07:12:05 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=168</guid>
		<description><![CDATA[A while ago I decided to buy a Synology DS1010+ to backup my data. People keep me asking why I bought a Synology. Well, next to the fact it runs on open source software, Linux and has wide variety of features, I guess the following video explains everything. More information on Synology NAS systems can [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I decided to buy a Synology DS1010+ to backup my data. People keep me asking why I bought a Synology. Well, next to the fact it runs on open source software, Linux and has wide variety of features, I guess the following video explains everything.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="Flash_1270549906408" width="384" height="240"><param name="src" value="http://ukdl.synology.com/ftp/marketing/master_your_data/flowplayer-3.1.5.swf"><param name="wmode" value="opaque"><param name="flashvars" value='config={"key": "#$257dac17b9558a4de91","plugins":{"controls":{"url":"http://ukdl.synology.com/ftp/marketing/master_your_data/flowplayer.controls-3.1.5.swf","backgroundColor":"#FFFFFF","autoHide":"always"}},"clip":{"scaling":"scale","autoPlay":"false","url":"http://ukdl.synology.com/ftp/marketing/master_your_data/mydc_enu_low.mp4","bufferLength":"1"},"canvas":{"backgroundColor":"#FFFFFF"}}' /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" src="http://ukdl.synology.com/ftp/marketing/master_your_data/flowplayer-3.1.5.swf" wmode="opaque" flashvars='config={"key": "#$257dac17b9558a4de91","plugins":{"controls":{"url":"http://ukdl.synology.com/ftp/marketing/master_your_data/flowplayer.controls-3.1.5.swf","backgroundColor":"#FFFFFF","autoHide":"always"}},"clip":{"scaling":"scale","autoPlay":"false","url":"http://ukdl.synology.com/ftp/marketing/master_your_data/mydc_enu_low.mp4","bufferLength":"1"},"canvas":{"backgroundColor":"#FFFFFF"}}' width="384" height="240" wmode="transparent" allowFullScreen="true"></embed></object> </p>
<p>More information on Synology NAS systems can be found at <a href="http://www.synology.com">www.synology.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2010/04/10/synology-ds1010-nas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://ukdl.synology.com/ftp/marketing/master_your_data/mydc_enu_low.mp4" length="5517535" type="video/mp4" />
		</item>
		<item>
		<title>Diversia ported to FreeBSD</title>
		<link>http://blog.melvinrook.nl/2010/04/08/diversia-ported-to-freebsd/</link>
		<comments>http://blog.melvinrook.nl/2010/04/08/diversia-ported-to-freebsd/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 17:54:58 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Diversia]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=163</guid>
		<description><![CDATA[This week I finished the FreeBSD port of Diversia. The information about the FreeBSD port can be found in the blogpost I wrote at the Diversia blog: http://diversia.org/2010/04/08/diversia-ports-server-to-freebsd/]]></description>
			<content:encoded><![CDATA[<p>This week I finished the FreeBSD port of <a href="http://diversia.org">Diversia</a>. The information about the FreeBSD port can be found in the blogpost I wrote at the Diversia blog: <a href="http://diversia.org/2010/04/08/diversia-ports-server-to-freebsd/">http://diversia.org/2010/04/08/diversia-ports-server-to-freebsd/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2010/04/08/diversia-ported-to-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Google design&#8230; buggy?!</title>
		<link>http://blog.melvinrook.nl/2010/04/08/new-google-design-buggy/</link>
		<comments>http://blog.melvinrook.nl/2010/04/08/new-google-design-buggy/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 17:29:46 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=156</guid>
		<description><![CDATA[Update (April 13, 2010): I asked myself how to file a bug report. It seems blogging is a way to file a bug report. The new design is part of &#8220;the many, many experiments that Google runs&#8221; Jon Wiley commented. On my workstation Google supplied their new design to me. I didn&#8217;t really liked this [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update (April 13, 2010):</strong> I asked myself how to file a bug report. It seems blogging is a way to file a bug report. The new design is part of &#8220;the many, many experiments that Google runs&#8221; Jon Wiley <a href="#comments">commented</a>.</p>
<p>On my workstation Google supplied their new design to me. I didn&#8217;t really liked this new design at first and that feeling became worse when I noticed some bugs. Also, the new design feels slower than before.</p>
<p>The first picture shows a flaw in the text field. &#8216;Taller&#8217; letters will be cut at the bottom:</p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2010/04/google_buggy1.png"><img class="alignnone size-medium wp-image-157" title="google_buggy1" src="http://blog.melvinrook.nl/wp-content/uploads/2010/04/google_buggy1-300x177.png" alt="google_buggy1" width="300" height="177" /></a></p>
<p>The second picture shows a more serious bug. Typing a search phrase and pressing enter results in the page with results and the suggestion dropdown from the previous page still visible.</p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2010/04/google_buggy2.png"><img class="alignnone size-medium wp-image-160" title="google_buggy2" src="http://blog.melvinrook.nl/wp-content/uploads/2010/04/google_buggy2-300x186.png" alt="google_buggy2" width="300" height="186" /></a></p>
<p>I have tried to file a bug report, but it seems impossible to contact them directly.</p>
<p>Would like to try the new Google interface? Perform the following steps to make it so:</p>
<ul>
<li>Visit Google</li>
<li>Clear out the contents in your address bar</li>
<li>Enter the following: javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com”);</li>
<li>Press the Enter key</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2010/04/08/new-google-design-buggy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Lightning storm Arnhem</title>
		<link>http://blog.melvinrook.nl/2009/07/01/lightning-arnhem/</link>
		<comments>http://blog.melvinrook.nl/2009/07/01/lightning-arnhem/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 08:41:58 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Weather]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=151</guid>
		<description><![CDATA[In the weekend a lightning storm passed Arnhem. It was too hot to sleep, so I decided to film it and put a compilation together. Watch it and enjoy!]]></description>
			<content:encoded><![CDATA[<p>In the weekend a lightning storm passed Arnhem. It was too hot to sleep, so I decided to film it and put a compilation together. Watch it and enjoy! <img src='http://blog.melvinrook.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/En-mHhOk9lg&#038;hl=nl&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/En-mHhOk9lg&#038;hl=nl&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2009/07/01/lightning-arnhem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using wxFormBuilder with Code::Blocks on Mandriva 2009</title>
		<link>http://blog.melvinrook.nl/2009/02/20/using-wxformbuilder-with-codeblocks-on-mandriva-2009/</link>
		<comments>http://blog.melvinrook.nl/2009/02/20/using-wxformbuilder-with-codeblocks-on-mandriva-2009/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 14:16:22 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=137</guid>
		<description><![CDATA[After some puzzling I found out how to setup a nice development environment with wxFormBuilder and Code::Blocks on Mandriva Linux 2009. How to do this is described below. Packages Download and install the following packages and it&#8217;s dependencies: Code::Blocks libwxgtku2.8 libwxgtku2.8-devel wxGTK2.8 wxFormBuilder Download the wxFormBuilder 3.0 linux source including the pre-generated Makefiles. Now unpack [...]]]></description>
			<content:encoded><![CDATA[<p>After some puzzling I found out how to setup a nice development environment with wxFormBuilder and Code::Blocks on Mandriva Linux 2009. How to do this is described below.</p>
<p><strong>Packages</strong></p>
<p>Download and install the following packages and it&#8217;s dependencies:</p>
<ul>
<li> Code::Blocks</li>
<li>libwxgtku2.8</li>
<li>libwxgtku2.8-devel</li>
<li>wxGTK2.8</li>
</ul>
<p><strong>wxFormBuilder</strong></p>
<p>Download the wxFormBuilder 3.0 linux source including the pre-generated Makefiles. Now unpack the tarball, build and install wxFormBuilder:</p>
<ul>
<li>cd /usr/local/src/</li>
<li>wget or fetch wxformbuilder-3.0.57.tar.gz</li>
<li>tar -zxvf wxformbuilder-3.0.57.tar.gz</li>
<li>cd wxformbuilder_3.0.57</li>
<li>make CONFIG=Release</li>
<li>./install/linux/wxfb_export.sh /usr</li>
</ul>
<p><strong>Code::Blocks</strong></p>
<ul>
<li>Start Code::Blocks and open the menu Tools -&gt; Configure tools&#8230;</li>
<li>Click on Add.</li>
<li>The following picture shows how to setup the tool:</li>
</ul>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/02/cb_edit_tool.png"><img class="alignnone size-medium wp-image-138" title="cb_edit_tool" src="http://blog.melvinrook.nl/wp-content/uploads/2009/02/cb_edit_tool-300x259.png" alt="" width="300" height="259" /></a></p>
<ul>
<li>Save the settings and open the menu File -&gt; New -&gt; Project</li>
<li>Choose wxWidgets project</li>
<li>Walk trough the wizard</li>
<li>Use wxWidgets 2.8.x</li>
<li>Preferred GUI Builder: wxFormBuilder</li>
<li>Application type: Frame Based</li>
<li>Use the default widgets configuration</li>
</ul>
<p>When you would like to modify your GUI you can open the following menu: Tools -&gt; wxFB. Which will launch wxFormBuilder with your GUI. When it asks for conversion, click yes.</p>
<p>Don&#8217;t forget to generate the code (press F8) before you switch back to Code::Blocks. Otherwise you changes won&#8217;t be visible. You also need to build your project in Code::Blocks before your changes are visible.</p>
<p>In certain versions and combinations of the software the following compile error could occur: <em>&#8220;wxMessageBox was not declared in this scope&#8221;</em>. There are two solutions to this problem:</p>
<p>1) I noticed wxFormBuilder changed a bit. All headers where included in the generated code, even when the headers were not necessary. Now not all the headers are included. When you use other wxWidgets methods just add the proper header. In this case you can use the following include:</p>
<pre>#include &lt;wx/msgdlg.h&gt;</pre>
<p>2) Do not use the Code::Blocks wxWidgets template and just setup a clean C::B project. Then also setup a clean wxFormBuilder project by using the inherited class tutorial (*). Finally add the code manually to the project.</p>
<p><strong>Links</strong></p>
<ul>
<li><a href="http://www.codeblocks.org">Code::Blocks</a></li>
<li><a href="http://wxformbuilder.org">wxFormBuilder</a></li>
<li><a href="http://wiki.wxformbuilder.org/Tutorials/UsingWxFormBuilder">Inherited class tutorial</a> (*)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2009/02/20/using-wxformbuilder-with-codeblocks-on-mandriva-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackers ahead</title>
		<link>http://blog.melvinrook.nl/2009/02/05/hackers-ahead/</link>
		<comments>http://blog.melvinrook.nl/2009/02/05/hackers-ahead/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 09:23:10 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=127</guid>
		<description><![CDATA[Someone apparently hacked into an electronic road sign in Hamilton County Monday morning, prompting stares and giggles from motorists because of the message the sign displayed. The sign, which read &#8220;Raptors Ahead Caution,&#8221; amused motorists in a construction zone on Keystone Avenue, just north of 116th Street. &#8220;It&#8217;s kind of crazy. I&#8217;m totally confused,&#8221; said [...]]]></description>
			<content:encoded><![CDATA[<p>Someone apparently hacked into an electronic road sign in Hamilton County Monday morning, prompting stares and giggles from motorists because of the message the sign displayed.</p>
<p>The sign, which read <em>&#8220;Raptors Ahead Caution,&#8221;</em> amused motorists in a construction zone on Keystone Avenue, just north of 116th Street.</p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/02/raptors_ahead.jpg"><img class="alignnone size-medium wp-image-129" title="raptors_ahead" src="http://blog.melvinrook.nl/wp-content/uploads/2009/02/raptors_ahead-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>&#8220;It&#8217;s kind of crazy. I&#8217;m totally confused,&#8221; said one motorist. &#8220;I&#8217;m kind of expecting &#8230; dinosaurs to run down the road, or something.&#8221;</p>
<p>Another puzzled motorist said, &#8220;Which raptors?&#8221; before adding that he hadn&#8217;t seen the sign.</p>
<p>Carmel spokeswoman Nancy Heck said the signs on Keystone Avenue are owned by a contractor, Highway Technologies, which is responsible for programming signs in the Keystone Avenue construction zone.</p>
<p>The odd road sign in Indiana came days after a widely publicized highway road sign message near the University of Texas that warned motorists <em>&#8220;Caution! Zombies Ahead!&#8221; </em>and <em>&#8220;Nazi Zombies! Run!!!&#8221;</em></p>
<p>Another sign in Collinsville said: <em>&#8220;<span class="Apple-style-span" style="font-style: italic;">Daily lane closures due  to zombies</span>&#8220;</em>.</p>
<p>Apparently, while most road sign control pads are placed in a lock box, that box is rarely actually locked. And while most road signs are under password protection, that password is most generally just the default code &#8220;DOTS&#8221;—or you can easily reset the password by holding &#8220;shift&#8221; and &#8220;control&#8221; while typing &#8220;DIPY&#8221; (so that it just defaults to &#8220;DOTS&#8221; again).</p>
<p>Of course, these actions are illegal, so play around with it at your own risk. <img src='http://blog.melvinrook.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/02/hackers_ahead.jpg"><img class="alignnone size-medium wp-image-128" title="hackers_ahead" src="http://blog.melvinrook.nl/wp-content/uploads/2009/02/hackers_ahead-296x300.jpg" alt="" width="296" height="300" /></a></p>
<p>In speaking of the sign <em>&#8220;hackers ahead&#8221;</em>, don&#8217;t forget the hacker event ahead: Hackin at Random in august 2009: <a href="http://www.har2009.org">www.har2009.org!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2009/02/05/hackers-ahead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Texas Instruments TMP421 / 422 / 423 Linux Device Driver</title>
		<link>http://blog.melvinrook.nl/2009/01/14/texas-instruments-tmp421-422-423-linux-device-driver/</link>
		<comments>http://blog.melvinrook.nl/2009/01/14/texas-instruments-tmp421-422-423-linux-device-driver/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 17:36:06 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=116</guid>
		<description><![CDATA[Last week Raymond and me finished the Linux device driver for the Texas Instruments TMP421, TMP422 and TMP423 temperature sensors. At this moment the driver is undergoing an code audit and will be available soon. If you can&#8217;t wait, or are in a desperate need of the driver, then take a look at the bottom [...]]]></description>
			<content:encoded><![CDATA[<p>Last week Raymond and me finished the Linux device driver for the Texas Instruments TMP421, TMP422 and TMP423 temperature sensors. At this moment the driver is undergoing an code audit and will be available soon. If you can&#8217;t wait, or are in a desperate need of the driver, then take a look at the bottom of this post for the pre-release.</p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/tmp421.jpg"><img class="alignnone size-medium wp-image-117" title="tmp421" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/tmp421.jpg" alt="" width="250" height="200" /></a></p>
<p>The TMP421, TMP422 and TMP423 are the industry&#8217;s smallest remote junction temperature sensors with a built-in local temperature sensor. The single remote channel TMP421, dual remote channel TMP422 and triple remote channel TMP423 provide a remote sensor accuracy of +/-1C (maximum) and a local temperature sensor range of +/-1.5C (maximum). Both sensors are RoHS compliant and can be used in numerous applications including LCD/DLP®/LCOS projectors, servers, central office telecom equipment, and laptop computers. They are also suitable for industrial controllers, processor/FPGA temperature monitoring and storage area networks.</p>
<p>The TMP421, TMP422 and TMP423 feature a two-wire/SMBus serial interface as well as multiple addresses. The remote temperature sensor diode-connected transistors are typically low-cost NPN- or PNP-type transistors or diodes that are an integral part of microprocessors, microcontrollers and FPGAs. The TMP421, TMP422 and TMP423 also include series resistance cancellation, programmable non-ideality factor and diode fault detection.</p>
<p>The sensors operate on a standard I2C/SMBus compatible, two-wire interface over a temperature range of -40°C to 125°C, with a remote temperature range of up to 150C. For maximum power savings, the device circuitry (other than the serial interface) can be shut down, thereby reducing current consumption to typically less than 3uA.</p>
<p>More information can be found on the following URL: <a href="http://www.ti.com/tmp421-pr">http://www.ti.com/tmp421-pr</a></p>
<p>Driver pre-release download (no warranties!): <a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/tmp421-srctar.gz">tmp421-src.tar.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2009/01/14/texas-instruments-tmp421-422-423-linux-device-driver/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Solar powered mini car</title>
		<link>http://blog.melvinrook.nl/2009/01/08/solar-powered-mini-car/</link>
		<comments>http://blog.melvinrook.nl/2009/01/08/solar-powered-mini-car/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:12:24 +0000</pubDate>
		<dc:creator>Melvin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Science]]></category>

		<guid isPermaLink="false">http://blog.melvinrook.nl/?p=93</guid>
		<description><![CDATA[Somehow I was reminded of an old project of mine. After a little search in my archive I found all the information of the project, which I never published on the internet yet. So now is the time. In the summer of 2003 I build this solar powered mini car with a friend as a [...]]]></description>
			<content:encoded><![CDATA[<p>Somehow I was reminded of an old project of mine. After a little search in my archive I found all the information of the project, which I never published on the internet yet. So now is the time. <img src='http://blog.melvinrook.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>In the summer of 2003 I build this solar powered mini car with a friend as a school project:</p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/car.jpg"><img class="alignnone size-medium wp-image-95" title="car" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/car-300x124.jpg" alt="" width="300" height="124" /></a></p>
<h3>Specifications</h3>
<p>Weight: 200 grams<br />
Length: 260 mm<br />
Width: 120 mm<br />
Average speed: 0,051 m/s (0.18 km/h)</p>
<h3>Parts used</h3>
<p>-<strong>Body made of balsa wood</strong></p>
<p>-<strong>A few Meccano pieces</strong></p>
<p>-<strong>Wheels</strong><br />
Two rear wheels<br />
One front wheel</p>
<p>-<strong>Solar panels</strong>, 4 pieces:<br />
Net voltage 0,55 &#8211; 0,6 V<br />
Short-circuit current 650 mA<br />
Size. (lxb) 50 x 50mm.</p>
<p>-<strong>Motor</strong>, designed for solar panels:<br />
Net voltage 0,4 V/10 mA<br />
Size. (Æxh) 35,4 x 26 mm · Axis-Æ 2 mm<br />
Suitable for use with solar panels with a return of more than 10 mA.</p>
<p>-<strong>Crocodile clips</strong>, 4 pieces</p>
<p>-<strong>Wires</strong>, lot&#8217;s of wires <img src='http://blog.melvinrook.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>-<strong>(Hot) glue</strong></p>
<p>-<strong>A rubber band</strong></p>
<h3>Building the car</h3>
<p>We started with (hot)glueing the body of balsa wood together.</p>
<p>The solar panels are put on a bigger panel and are connected in parallel. The solar panels are connected with crocodile clips and will be wired to the engine. As you can see in the pictures, I broke one of the panels. Oops.. They are very fragile&#8230; Though, the most interesting was that it still worked. <img src='http://blog.melvinrook.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>We demolished some old toys and as a result we had a nice set of wheels. For the rear we used a nice pair of wheels which already were connected with an axis. The front wheel came from some other toy. With the help of some Meccano elements the wheels were mounted to the body.</p>
<p>The motor is placed in a special engine compartment. We used a rubber band to transmit the power from the engine to the wheels.</p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto_0050.jpg"><img class="alignnone size-medium wp-image-96" title="foto_0050" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto_0050-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/2panelenaf.jpg"><img class="alignnone size-medium wp-image-97" title="2panelenaf" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/2panelenaf-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto2_0053.jpg"><img class="alignnone size-medium wp-image-99" title="foto2_0053" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto2_0053-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto2_0054.jpg"><img class="alignnone size-medium wp-image-100" title="foto2_0054" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto2_0054-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/3panelenaf.jpg"><img class="alignnone size-medium wp-image-98" title="3panelenaf" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/3panelenaf-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto_0051.jpg"><img class="alignnone size-medium wp-image-101" title="foto_0051" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/foto_0051-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0064.jpg"><img class="alignnone size-medium wp-image-102" title="sany0064" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0064-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0066.jpg"><img class="alignnone size-medium wp-image-103" title="sany0066" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0066-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0067.jpg"><img class="alignnone size-medium wp-image-104" title="sany0067" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0067-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0068.jpg"><img class="alignnone size-medium wp-image-105" title="sany0068" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0068-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0069.jpg"><img class="alignnone size-medium wp-image-106" title="sany0069" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0069-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/naamloos.jpg"><img class="alignnone size-medium wp-image-111" title="car" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/naamloos-300x231.jpg" alt="" width="300" height="231" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0084.jpg"><img class="alignnone size-medium wp-image-107" title="sany0084" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0084-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0086.jpg"><img class="alignnone size-medium wp-image-108" title="sany0086" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0086-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p><a href="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0087.jpg"><img class="alignnone size-medium wp-image-110" title="sany0087" src="http://blog.melvinrook.nl/wp-content/uploads/2009/01/sany0087-300x225.jpg" alt="" width="300" height="225" /></a></p>
<h3>Testing the car</h3>
<p>In the begin of the progress we tested the motor and the solar panels under a halogen light. Later on, in an outside test the cars&#8217; average speed was 0,051 m/s (0.18 km/h). The tests can be viewed in the video at the bottom of this post.</p>
<h3>Video</h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/DcXvXjhnOdU&amp;hl=nl&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/DcXvXjhnOdU&amp;hl=nl&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.melvinrook.nl/2009/01/08/solar-powered-mini-car/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

