<?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"
	>

<channel>
	<title>Sascha’s Blog</title>
	<atom:link href="http://www.leib.be/sascha/feed/" rel="self" type="application/rss+xml" />
	<link>http://leib.be/sascha</link>
	<description>Tis &#38; tat from Sascha Leib</description>
	<pubDate>Sat, 17 Dec 2011 23:10:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Portal Turret Project</title>
		<link>http://leib.be/sascha/2011/12/portal-turret-project/</link>
		<comments>http://leib.be/sascha/2011/12/portal-turret-project/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 22:37:47 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
		
		<category><![CDATA[3D]]></category>

		<category><![CDATA[Arduino]]></category>

		<category><![CDATA[Electronics]]></category>

		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[DIY]]></category>

		<category><![CDATA[Hackerspace]]></category>

		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://leib.be/sascha/?p=45</guid>
		<description><![CDATA[Building a model of a Portal Turret (mostly) from household materials.]]></description>
			<content:encoded><![CDATA[<p>My (then 6-year-old) daughter and me were pretty impressed by <a title="http://hackaday.com/2011/05/10/diy-portal-turret-is-looking-pretty-good/" href="http://" target="_blank">this build</a> of a Portal Turret, and since she is quite a big Portal fan, this thing went straight up to the top of her birthday wish-list.</p>
<p>Actually, here&#8217;s the master plan she drew for me:</p>
<p><img style="margin: 2px;" src="https://lh3.googleusercontent.com/-IyyeJ-nl8T8/TnzVT0ZXHoI/AAAAAAAAAEc/l2bp3YUAFWQ/s912/105_6137.JPG" alt="The Master Plan" width="364" height="272" /></p>
<p>Well, I guess I could do something with a bit of Styrofoam and paper mâché, I guess … let&#8217;s first draw up some more detailed plans:</p>
<p><img style="margin: 2px;" src="https://lh6.googleusercontent.com/-EAiwzd-O_DM/TnzVe2SGQ7I/AAAAAAAAAEk/va6caQqS6Tg/s912/105_6146.JPG" alt="Detail Plans" width="364" height="272" /></p>
<p>While I went to buy the material, my daughter couldn&#8217;t resist talking to her school friends that her ultra-cool father is building a robot for her …</p>
<p>… and it will talk and sing …</p>
<p>… and dance …</p>
<p>… and shoot …</p>
<p>… and fly …</p>
<p>… and then she invited all her friends to come and see it …</p>
<p>Well, the shooting and flying is out of the question, and the dancing would be tough. But singing and talking – well, let&#8217;s see what I can do.</p>
<p>With so much pressure on me now, we better get started before the kids arrive.</p>
<h3>1. The Body</h3>
<p>To hold it all together, I decided to start with a centre piece made of wood:</p>
<p><img style="margin: 2px;" src="https://lh6.googleusercontent.com/-3-XMcQ2Vn-I/TnzVt6UB-qI/AAAAAAAAAEs/GgTbSoxz36I/s912/105_6138.JPG" alt="Transfering the Measurements" width="364" height="272" /></p>
<p>Transferring the measurements</p>
<p><img style="margin: 2px;" src="https://lh4.googleusercontent.com/-YyDcVutdAWY/TnzWAFDWdaI/AAAAAAAAAE4/o1EeQp6eRI0/s912/105_6139.JPG" alt="Pushpins make the transfer really easy" width="364" height="272" /></p>
<p>The core shape is ready to be cut out:</p>
<p><img style="margin: 2px;" src="https://lh6.googleusercontent.com/-pLYvQtFaG_0/TnzWRHYt92I/AAAAAAAAAFA/GhQ_V6fl72s/s912/105_6140.JPG" alt="Ready to cutout" width="364" height="272" /></p>
<p>Better do this on the balcony where it is easier to clean up:</p>
<p><img style="margin: 2px;" src="https://lh5.googleusercontent.com/-S5CVe8Zymeo/TnzWYyn-xbI/AAAAAAAAAFI/yXYd1O7xfh0/s912/105_6141.JPG" alt="The first cut is the deepest." width="364" height="272" /></p>
<p>Zofia is helping me to sandpaper the workpiece:</p>
<p><img style="margin: 2px;" src="https://lh4.googleusercontent.com/-s0wA1aGdg9E/TnzWkjs69jI/AAAAAAAAAFQ/a2wBY4wPNkI/s912/105_6143.JPG" alt="Zofia helps sandpapering" width="364" height="272" /></p>
<p>Next step: I fixed two stripes of wood to the bottom where the legs can be attached later:</p>
<p><img style="margin: 2px;" src="https://lh3.googleusercontent.com/-QRjIu0eB1QA/TnzWuy1sIkI/AAAAAAAAAFY/IrTi7lTWTOE/s912/105_6144.JPG" alt="Strenghtening the base" width="364" height="272" /></p>
<p>Remember: wood lime holds better the more pressure is applied at this stage:</p>
<p><img style="margin: 2px;" src="https://lh4.googleusercontent.com/-ZQFblpw0nko/TnzW_m7zvFI/AAAAAAAAAFk/TLdQfEyGkjQ/s912/105_6145.JPG" alt="Needs to be fixed very well!" width="364" height="272" /></p>
<p>While the lime sets, we can start with the main turret body. For this I bought a few panels of insulation material from the local &#8220;bricolage&#8221; shop.</p>
<p>Once again, let&#8217;s transfer the measurements:</p>
<p><img style="margin: 2px;" src="https://lh3.googleusercontent.com/-GcFelJA5MuQ/TnzXMGpqYgI/AAAAAAAAAFw/-8LnEeis_Bw/s912/105_6147.JPG" alt="Transfering the Measurements" width="364" height="272" /><img style="margin: 2px;" src="https://lh6.googleusercontent.com/-88y3Rty0Gf8/TnzXYlUoFzI/AAAAAAAAAF4/SNRPARzAKqo/s912/105_6148.JPG" alt="With measurements applied" width="364" height="272" /></p>
<p>Zofia helped me with the cutouts (be careful with that knife!)</p>
<p><img style="margin: 2px;" src="https://lh6.googleusercontent.com/-ppLw0ke6YVc/TnzXi8P8g3I/AAAAAAAAAGE/zEtnafwUI3k/s912/105_6149.JPG" alt="Careful with that knife, Zofia!" width="364" height="272" /></p>
<p>Looks good and all fingers are still attached. I call this a success.</p>
<p><img style="margin: 2px;" src="https://lh6.googleusercontent.com/-hOstuX76PCs/TnzXwXOE8xI/AAAAAAAAAGM/3ew7U7nVXv8/s912/105_6150.JPG" alt="Raw cutouts" width="364" height="272" /></p>
<p>Each body half consists of two and a half layers of Styrofoam which are glued together and cut to create the body shape:</p>
<p><img style="margin: 2px;" src="https://lh3.googleusercontent.com/-9CGDtuTmMAs/TnzX60cCklI/AAAAAAAAAGU/KxqMFNGRa6E/s912/105_6153.JPG" alt="It starts to take shape" width="364" height="272" /></p>
<p>If the measurements are precise, it is actually easy to cut the body into shape:</p>
<p><img style="margin: 2px;" src="https://lh3.googleusercontent.com/-By0YJ96IWnM/Tn4p_cY1CBI/AAAAAAAAAIE/QZGhPhAtw_o/s912/105_6156.JPG" alt="Both halfs cut in shape" width="364" height="272" /></p>
<p>At this stage, grandmother treated us with some delicious moist cake:</p>
<p><img style="margin: 2px;" src="https://lh4.googleusercontent.com/-JBbB59ZqfOI/Tn8w4ufxO2I/AAAAAAAAAJQ/WJnI6EvIiLw/s912/105_6159.JPG" alt="Delicious moist cake" width="364" height="272" /></p>
<p>Meanwhile some of Zofia&#8217;s school friends came by to see how things are going, and they helped us with the companion cubes you can see all over the place.</p>
<p>To get an idea how it looks like, I just clamped the two halves together:</p>
<p><img src="https://lh4.googleusercontent.com/-bj-816Fx7eM/Tn4qRi7dCiI/AAAAAAAAAIY/EsrqaDK23X8/s720/105_6157.JPG" alt="Provisorically clamped together" width="270" height="360" /></p>
<p>To finish it up, I added a layer of filler putty to get a smoother surface and as a foundation for the outer shell (to be added later):</p>
<p><img style="margin: 2px;" src="https://lh5.googleusercontent.com/-jQGd2V3LOZI/Tn8xANzSxLI/AAAAAAAAAJY/ZW24TzHdhX4/s912/105_6160.JPG" alt="Smoother surface" width="364" height="272" /></p>
<p>Let this dry and harden and let&#8217;s focus on another part of the project:</p>
<h3>2. Electronics</h3>
<p>Honestly, I was a bit scared of the electronics part. I never really made anything more complicated than connecting a light bulb to a battery. If this thing ever was to talk, I would probably need to learn a lot before I can make it work.</p>
<p>Luckily, just at that time the local <a title="Hackerspace Brussels" href="https://hackerspace.be/Main_Page" target="_blank">hackerspace</a> organised a <a href="https://hackerspace.be/Get_to_know_Nanode" target="_blank">Nanode soldering event</a>. Just what I needed! The best way to get started with soldering is to meet up with nice people to share some solder, a multimeter and drink some Club Mate.</p>
<p>Most of all, this was a great starting point to learn a bit of of electronics to start my own projects. I also got myself a copy of a book called &#8220;<a href="http://www.amazon.co.uk/Electronics-Teach-Yourself-M-Plant/dp/0340422300/ref=sr_1_1?ie=UTF8&amp;qid=1324161511&amp;sr=8-1" target="_blank">Teach yourself Electronics</a>&#8221; from an on-line bouquinist and quickly mounted a massive bill of electronic components just for &#8220;trying this out&#8221;.</p>
<p>In the end, I also replaced the <a href="http://nanode.eu/" target="_blank">Nanode</a> I&#8217;ve soldered in the hackerspace with an <a href="http://www.arduino.cc/en/Main/arduinoBoardUno" target="_blank">Arduino Uno</a>, which works better with the <a href="http://www.ladyada.net/make/waveshield/" target="_blank">Wave Shield</a> I am using for the &#8220;speaking and singing&#8221; part of the project.</p>
<p>Here&#8217;s a picture of the setup built into a cheap plastic case I&#8217;ve found and which has just the right measures to fit the design:</p>
<p><img style="margin: 2px;" src="https://lh3.googleusercontent.com/-N-jNPXLULlk/TukGXvJGaKI/AAAAAAAAAK4/jpjG1hsM8Oo/s912/105_6163.JPG" alt="Arduino Uno (underneath) and Wave Shield in a case" width="364" height="272" /></p>
<p>Even better, the Arduino fitted nicely between the mounting holes at the bottom and it was quite easy to create the necessary holes in the case to make sockets, etc. accessible from the outside.</p>
<p><img style="margin: 2px;" src="https://lh3.googleusercontent.com/-2bjRfeYXksE/TukGd89VDXI/AAAAAAAAALA/IM8-GNox2wU/s720/105_6164.JPG" alt="Holes cut to access the Arduiono ports" width="270" height="360" /></p>
<p>The SD-Card holds the WAV files with whatever a turret may say in the original Portal game (I&#8217;ve extracted the files from the game). I&#8217;ll post the source code to play them here later in case anybody is interested.</p>
<p>There is also a second case for the other side which houses the speaker and a 9V battery so it can run without a power adapter. This has the disadvantage that it needs some cables to connect the two with each other, but it also helps to balance the whole machinery.</p>
<p>I also found a nice oversized red LED for the eye, and even better: an old ocular or something which nicely fitted into an old film tube. Here it is before assembly:</p>
<p><img style="margin: 2px;" src="https://lh5.googleusercontent.com/-_kVYLuZ9NCQ/Tn4qaD5n1yI/AAAAAAAAAIs/_RlNQW9XKbs/s912/105_6158.JPG" alt="The Eye of the Turret" width="364" height="272" /></p>
<p>And here how it looks when it (provisorily) assembled:</p>
<p><img style="margin: 2px;" src="https://lh5.googleusercontent.com/-378djy2gXWA/TukGTFrqDzI/AAAAAAAAAKw/xFLbQtQ_DHA/s912/105_6275.JPG" alt="The pre-assembled Portal Turret" width="364" height="272" /></p>
<p>The wings are still missing, as you can easily see, and the foot is just a contraption to hold it in place for tinkering with it. Still some work to be done here &#8230;</p>
<p><em>(to be continued)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://leib.be/sascha/2011/12/portal-turret-project/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Still offline?</title>
		<link>http://leib.be/sascha/2011/09/still-offline/</link>
		<comments>http://leib.be/sascha/2011/09/still-offline/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 10:16:20 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
		
		<category><![CDATA[Music]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Pirates]]></category>

		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://leib.be/sascha/?p=44</guid>
		<description><![CDATA[On the occasion of the huge success of the Berlin Pirate Party in yesterday's elections, here's a little song text (to be sung to Still Alive from the game Portal)...]]></description>
			<content:encoded><![CDATA[<p>On the occasion of the huge success of the <a href="http://www.google.be/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CCkQFjAA&amp;url=http%3A%2F%2Fberlin.piratenpartei.de%2F&amp;rct=j&amp;q=piratenpartei%20berlin&amp;ei=sRR3TpeABc2j-gbMuMjEBw&amp;usg=AFQjCNE4Mh0Oy-RVxJSWRpWYCJY4ZHzqkA&amp;sig2=u3gKeYiEv4lQYfl-7xus1A&amp;cad=rja" target="_blank">Berlin Pirate Party</a> in yesterday&#8217;s <a href="http://torrentfreak.com/pirate-party-enters-berlin-parliament-after-historical-election-win-110918/" target="_blank">elections</a>, here&#8217;s a little song text (to be sung to <a href="http://www.youtube.com/watch?v=Y6ljFaKRTrI" target="_blank">Still Alive</a> from the game <a href="http://en.wikipedia.org/wiki/Portal_%28video_game%29">Portal</a>):</p>
<blockquote><p><strong>Still Offline?</strong></p>
<p>This was a triumph!<br />
I&#8217;m making a note here:<br />
HUGE SUCCESS!<br />
It&#8217;s hard to overstate<br />
our satisfaction.</p>
<p>Pirat-e Party<br />
We do what we must<br />
because we can!</p>
<p>For the good of all of us<br />
Except the ones who&#8217;re offline.</p>
<p>But there&#8217;s no use crying over every lost vote<br />
we just keep on trying till we run out of rum.</p>
<p>There are posters to be done,<br />
and we print out our programme<br />
for the people who are<br />
still offline.</p>
<p>We&#8217;re not even jaunty,<br />
We&#8217;re trying to be sincere right now.<br />
Even though they tried to disdain<br />
and trolled us.</p>
<p>And tried to divide us<br />
and then patronised us<br />
once again.<br />
But we don&#8217;t care because we all<br />
feel so happy we we won!</p>
<p>Now these votes all count up<br />
to a nice round amount<br />
and we won our seats<br />
We are pwning the house</p>
<p>So we&#8217;re glad we got trolled –<br />
&#8217;cause that&#8217;s how all the people learned<br />
especially those who are<br />
still offline.</p>
<p>Go ahead and troll us!<br />
We won&#8217;t loose our peace of mind over that<br />
Maybe someone else<br />
will give you food?<br />
Maybe those nazis<br />
That was a joke! HAHA! Fat chance!!</p>
<p>Anyway we&#8217;ll have cake tonight<br />
that&#8217;s so delicious and moist!</p>
<p>Look at me: still talking<br />
when there&#8217;s still work to do.<br />
When i look out there,<br />
It makes me glad I&#8217;m not you!</p>
<p>We have web sites to be run.<br />
There is politics to be done.<br />
And there are people who are<br />
still offline.</p>
<p>Like your grannie, she is<br />
still offline</p>
<p>and all your friends, they are all<br />
still offline.</p>
<p>And one day soon they won&#8217;t be<br />
still offline.</p>
<p>And that&#8217;s your end because you are<br />
still offline.</p>
<p>And then you&#8217;re dead because you&#8217;re<br />
still offline</p>
<p>still offline?</p>
<p>still offline.</p></blockquote>
<p>My lyrics are <a href="http://en.wikipedia.org/wiki/Copyleft" target="_blank">copyleft</a>-ed, but some restrictions may apply to the music.</p>
<p><object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/oFeI7Vo3c4s?version=3&amp;hl=en_GB"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/oFeI7Vo3c4s?version=3&amp;hl=en_GB" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://leib.be/sascha/2011/09/still-offline/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Local Environment Chat (LEChat)</title>
		<link>http://leib.be/sascha/2011/08/local-environment-chat-lechat/</link>
		<comments>http://leib.be/sascha/2011/08/local-environment-chat-lechat/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 19:11:14 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Embedded]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://leib.be/sascha/?p=43</guid>
		<description><![CDATA[Time to mention a little project I&#8217;m working on since a while: A simple chat interface that will run inside your web browser (read: made in JavaScript) in combination with a server that can run under OpenWRT, which in turn means it can run on your old router at home. Yes, no dedicated server needed.
The [...]]]></description>
			<content:encoded><![CDATA[<p>Time to mention a little project I&#8217;m working on since a while: A simple chat interface that will run inside your web browser (read: made in JavaScript) in combination with a server that can run under <a href="https://openwrt.org/" target="_blank">OpenWRT</a>, which in turn means it can run on your old router at home. Yes, no dedicated server needed.</p>
<p>The whole project is still in its infancy, but there is an interface <a href="http://test.kolmio.com/" target="_blank">test installation</a> (using PHP scripts as a backend).</p>
<p>The end product is going to be released under the GNU public license. Feel free to post comments here, or send me messages directly.</p>
]]></content:encoded>
			<wfw:commentRss>http://leib.be/sascha/2011/08/local-environment-chat-lechat/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Code Portal</title>
		<link>http://leib.be/sascha/2008/11/new-code-portal/</link>
		<comments>http://leib.be/sascha/2008/11/new-code-portal/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 17:07:13 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://leib.be/sascha/?p=42</guid>
		<description><![CDATA[I used the opportunity that I had to do some redesigning anyway to start to consolidate my software to a new portal: The Kolmio Code Repository.
The first thing you find there is a JavaScript class to create (pseudo-) modal dialogs called js.Dialog. Have a look!
In the near future, I am planning to move more of [...]]]></description>
			<content:encoded><![CDATA[<p>I used the opportunity that I had to do some redesigning anyway to start to consolidate my software to a new portal: The <a href="http://code.kolmio.com/" target="_blank">Kolmio Code Repository</a>.</p>
<p>The first thing you find there is a JavaScript class to create (pseudo-) modal dialogs called <a href="http://code.kolmio.com/jsdialog/" target="_blank">js.Dialog</a>. Have a look!</p>
<p>In the near future, I am planning to move more of my code to the new site. Especially the open-source items will probably find a new home there.</p>
]]></content:encoded>
			<wfw:commentRss>http://leib.be/sascha/2008/11/new-code-portal/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XML Cheat Sheets (German)</title>
		<link>http://leib.be/sascha/2008/07/xml-cheat-sheets-german/</link>
		<comments>http://leib.be/sascha/2008/07/xml-cheat-sheets-german/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 19:34:01 +0000</pubDate>
		<dc:creator>sascha</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[XML]]></category>

		<category><![CDATA[German]]></category>

		<guid isPermaLink="false">http://leib.be/sascha/?p=40</guid>
		<description><![CDATA[Eine ganz, ganz kurze Einführung in DTDs.]]></description>
			<content:encoded><![CDATA[<p>Als Prüfungsvorbereitung für das Seminar &#8220;XML-Technologien&#8221;, habe ich wieder mal angefangen, ein paar <a title="Cheat Sheets Home Page" href="http://leib.be/sascha/cheat-sheets/deutsch/" target="_blank">Cheat Sheets</a> zu machen. Vielleicht findet der ein oder andere das auch hilfreich, ich stelle sie jedenfalls mal hier online&#8230;</p>
<p>Den Anfang macht das <img style="border: 0pt none ; vertical-align: middle;" src="/sascha/blog/wp-content/icons/acrobaticon16.png" alt="Acrobat/PDF Document" width="16" height="16" /> <a href="http://leib.be/sascha/files/DTDCheatSheet.pdf" target="_blank">DTD Cheat Sheet</a>. Darin wird auf (derzeit) drei Seiten alles kurz zusammengefasst, was man zu DTDs wissen muss.</p>
<p><strong>Update:</strong> Im <img style="border: 0pt none ; vertical-align: middle;" src="/sascha/blog/wp-content/icons/acrobaticon16.png" alt="Acrobat/PDF Document" width="16" height="16" /> <a href="http://leib.be/sascha/files/XPathCheatSheet.pdf" target="_blank">xPath Cheat Sheet</a> fehlen zwar noch ein paar Themen (vor allem die Vergleichsoperatoren), aber ich denke, man kann es schon mal ansehen.</p>
]]></content:encoded>
			<wfw:commentRss>http://leib.be/sascha/2008/07/xml-cheat-sheets-german/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

