<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>Twisted world of Esden</title>
	<link>http://www.esden.net/blog</link>
	<description>My small window to the world...</description>
	<pubDate>Thu, 24 Jul 2008 22:01:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>cl-opengl-thomas mac os x bindings with native GLUT.framework</title>
		<link>http://www.esden.net/blog/2007/12/31/cl-opengl-thomas-mac-os-x-bindings-with-native-glutframework/</link>
		<comments>http://www.esden.net/blog/2007/12/31/cl-opengl-thomas-mac-os-x-bindings-with-native-glutframework/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 16:12:54 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Lisp]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/12/31/cl-opengl-thomas-mac-os-x-bindings-with-native-glutframework/</guid>
		<description><![CDATA[I got the information that the branch I used in the previous version is an older one and that I should migrate to the so called thomas branch.
So I did it and now it seems that all examples are working. Ok &#8230; the varray example is not working. It somehow is not willing to compile [...]]]></description>
			<content:encoded><![CDATA[<p>I got the information that the branch I used in the previous version is an older one and that I should migrate to the so called thomas branch.</p>
<p>So I did it and now it seems that all examples are working. Ok &#8230; the varray example is not working. It somehow is not willing to compile for me and I am too lazy to look into this problem. (perhaps next time)</p>
<p>You can get it <a href="http://www.esden.net/content/lisp/cl-mac-native-opengl-thomas-0.1.tar.bz2">here</a>.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/12/31/cl-opengl-thomas-mac-os-x-bindings-with-native-glutframework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>cl-opengl mac os x bindings with native GLUT.framework</title>
		<link>http://www.esden.net/blog/2007/12/30/cl-opengl-mac-os-x-bindings-with-native-glutframework/</link>
		<comments>http://www.esden.net/blog/2007/12/30/cl-opengl-mac-os-x-bindings-with-native-glutframework/#comments</comments>
		<pubDate>Sun, 30 Dec 2007 15:32:20 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Lisp]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/12/30/cl-opengl-mac-os-x-bindings-with-native-glutframework/</guid>
		<description><![CDATA[I have adapted the cl-opengl bindings so that it runs with the GLUT bundle that is being shipped with mac os x.
Most examples seem to work. The ones that do not work need a more complicated fixing. But the API should run correctly. (I hope so &#8482;)
You can get the first version here.
I will try [...]]]></description>
			<content:encoded><![CDATA[<p>I have adapted the cl-opengl bindings so that it runs with the GLUT bundle that is being shipped with mac os x.</p>
<p>Most examples seem to work. The ones that do not work need a more complicated fixing. But the API should run correctly. (I hope so &#8482;)</p>
<p>You can get the first version <a href="http://www.esden.net/content/lisp/cl-mac-native-opengl-0.1.tar.bz2">here</a>.</p>
<p>I will try to continue testing and fixing the bindings. I i do so there will probably be also a repository for it. Who knows &#8230; ^^</p>
<p>I have tested it with sbcl 1.0.12 on a Leopard driven MacBook Pro.</p>
<p>Have fun</p>
<p>P.S. Greetings from 24c3 ^^</p>
<p>P.P.S &#8230; I made a screenshot that is attempting to proove that it is really working: <a href="http://www.esden.net/content/lisp/cl-mac-native-opengl-0.1.png">shot</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/12/30/cl-opengl-mac-os-x-bindings-with-native-glutframework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Programming the BL-Ctrl&#8217;ers</title>
		<link>http://www.esden.net/blog/2007/07/10/programming-the-bl-ctrlers/</link>
		<comments>http://www.esden.net/blog/2007/07/10/programming-the-bl-ctrlers/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 15:47:02 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/07/10/programming-the-bl-ctrlers/</guid>
		<description><![CDATA[Some days ago I was able to program my BL-Cntrlers using PonyProg.
I had some problems doing this because I do not posess a machine with a builtin Serial interface and Windows. The problem is that the programmer uses a bitbang protocol on the serial port with very stirct timing constrains so I can not use [...]]]></description>
			<content:encoded><![CDATA[<p>Some days ago I was able to program my BL-Cntrlers using <a target="_blank" href="http://www.lancos.com/prog.html">PonyProg</a>.</p>
<p>I had some problems doing this because I do not posess a machine with a builtin Serial interface and Windows. The problem is that the programmer uses a bitbang protocol on the serial port with very stirct timing constrains so I can not use a Serial to USB converter. First time I tried to program the controllers I tried to use the laptop of a friend but it seems that because it has frequency scaling the timings were not right, so I had to use a windows machine at my university.</p>
<p>It seems that everything works so far. The programmer said that the download was successful  and the LEDs light up.</p>
<p>Later I also tried to program the controlers using <a target="_blank" href="http://www.bsdhome.com/avrdude/">avrdude</a> under Linux. I built up a linux machine from some spare parts that were lying around my room. Sadly it is not working. avrdude says that the device is not responding. I have to try some other linux machine with builtin serial device to see if the problem is because of the very old hardware.</p>
<p>Next step will be to get some brushless motors and build up the fourth controller. I was thinking about getting four Robbe <a target="_blank" href="http://mikrocontroller.cco-ev.de/ucwiki/ROXXY2824-34">ROXXY2824-34</a>. I heard that they often have problems so I will have to buy more then four to make sure that I get 4 working ones.</p>
<p>Still I will have to wait some time until I start working at my diploma thesis company. Before that I have no money to purchase them.</p>
<p>But still I am very happy that programming was a success what means that I did not screw anything up during the assembly (at least for now). Another small step towards my own mikrokopter. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/07/10/programming-the-bl-ctrlers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BL-Ctrl and Serial Converter assembled</title>
		<link>http://www.esden.net/blog/2007/07/10/bl-ctrl-and-serial-converter-assembled/</link>
		<comments>http://www.esden.net/blog/2007/07/10/bl-ctrl-and-serial-converter-assembled/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 15:32:05 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/07/10/bl-ctrl-and-serial-converter-assembled/</guid>
		<description><![CDATA[Finally after some problems I was able to assemble three BL-Ctrl and the serial converter.

Why I have not built four BL-Ctrl is because I broke one Atmega microcontroller while assembling the PCBs.
Next step will be to test the BL-Ctrl modules. To do that I still need some things. First I need some possibility to connect [...]]]></description>
			<content:encoded><![CDATA[<p>Finally after some problems I was able to assemble three BL-Ctrl and the serial converter.</p>
<p><a href="http://www.esden.net/gallery/v/quadrocopter/bl-ctrl_serial_converter_built.jpg.html"><img src="http://www.esden.net/gallery/d/8330-2/bl-ctrl_serial_converter_built.jpg" /></a></p>
<p>Why I have not built four BL-Ctrl is because I broke one Atmega microcontroller while assembling the PCBs.</p>
<p>Next step will be to test the BL-Ctrl modules. To do that I still need some things. First I need some possibility to connect my 12V power supply to the modules and second I need multipin connectors on the BL-Ctrl modules where I can connect the serial converter.</p>
<p>I will look for the parts I need at Reichelt and order them. During the assembly of the modules I realized that I miss some tools so I will order them too.</p>
<p>At least I did one step towards my own Mikrokopter. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/07/10/bl-ctrl-and-serial-converter-assembled/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mikrokopter PCBs</title>
		<link>http://www.esden.net/blog/2007/06/21/mikrokopter-pcbs/</link>
		<comments>http://www.esden.net/blog/2007/06/21/mikrokopter-pcbs/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 09:17:48 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/06/21/mikrokopter-pcbs/</guid>
		<description><![CDATA[Finally!
Today I got my PCBs for the serial converter and BL-Controls. Now I can finally start building all up. It took an unexpected long time until they arrived.

I hope that most parts I ordered will mostly fit on these small things &#8230; the package with the parts looks very big compared to the PCBs ;)
]]></description>
			<content:encoded><![CDATA[<p>Finally!</p>
<p>Today I got my PCBs for the serial converter and BL-Controls. Now I can finally start building all up. It took an unexpected long time until they arrived.</p>
<p><a href="http://www.esden.net/gallery/v/quadrocopter/bl-ctrl_serial_pcbs.jpg.html"><img src="http://www.esden.net/gallery/d/8318-2/bl-ctrl_serial_pcbs.jpg" /></a></p>
<p>I hope that most parts I ordered will mostly fit on these small things &#8230; the package with the parts looks very big compared to the PCBs ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/06/21/mikrokopter-pcbs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Mikrokopter PCBs not here yet</title>
		<link>http://www.esden.net/blog/2007/06/18/the-mikrokopter-pcbs-not-here-yet/</link>
		<comments>http://www.esden.net/blog/2007/06/18/the-mikrokopter-pcbs-not-here-yet/#comments</comments>
		<pubDate>Sun, 17 Jun 2007 23:40:25 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/06/18/the-mikrokopter-pcbs-not-here-yet/</guid>
		<description><![CDATA[Sadly I had to realize that the guys selling the PCBs are currently on vacation. I should have read their homepage more carefully.
But the positive thing is that they will be back on monday the 19th so they will perhaps ship them tomorrow. Can&#8217;t wait to get them and start building.
I will need some kind [...]]]></description>
			<content:encoded><![CDATA[<p>Sadly I had to realize that the guys selling the PCBs are currently on vacation. I should have read their homepage more carefully.</p>
<p>But the positive thing is that they will be back on monday the 19th so they will perhaps ship them tomorrow. Can&#8217;t wait to get them and start building.</p>
<p>I will need some kind of tweezers for soldiering the parts. Hopefully I will be able to organize them before the PCBs reach me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/06/18/the-mikrokopter-pcbs-not-here-yet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BL-Ctrl and Serial converter parts</title>
		<link>http://www.esden.net/blog/2007/06/14/bl-ctrl-and-serial-converter-parts/</link>
		<comments>http://www.esden.net/blog/2007/06/14/bl-ctrl-and-serial-converter-parts/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 12:50:29 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/06/14/bl-ctrl-and-serial-converter-parts/</guid>
		<description><![CDATA[Today a DHL guy stood in front of my door and left a package full of parts for the BL-Controllers and serial converter.

I still wait for the PCBs but according to PayPal the payment is through, so I should get them in the next days too. Hopefully I can start to assemble everything on this [...]]]></description>
			<content:encoded><![CDATA[<p>Today a DHL guy stood in front of my door and left a package full of parts for the <a href="http://mikrocontroller.cco-ev.de/de_mk/KopterBL.php">BL-Controllers</a> and <a href="http://mikrocontroller.cco-ev.de/de_mk/SerCon.php">serial converter.</a></p>
<p><a href="http://www.esden.net/gallery/v/quadrocopter/bl-ctrl_serial_parts.jpg.html"><img align="middle" src="http://www.esden.net/gallery/d/8185-2/bl-ctrl_serial_parts.jpg" /></a></p>
<p>I still wait for the PCBs but according to PayPal the payment is through, so I should get them in the next days too. Hopefully I can start to assemble everything on this weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/06/14/bl-ctrl-and-serial-converter-parts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mikrokopter</title>
		<link>http://www.esden.net/blog/2007/06/12/mikrokopter/</link>
		<comments>http://www.esden.net/blog/2007/06/12/mikrokopter/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 19:20:38 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2007/06/12/mikrokopter/</guid>
		<description><![CDATA[Long time no post&#8230;
Some weeks ago a friend of mine showed me these incredible machines at mikrokopter. I was so amazed about these small flying machines that I got myself the first parts for building such a small flying machine myself.
Because I have nearly no money I split the purchases in small pieces. First of [...]]]></description>
			<content:encoded><![CDATA[<p>Long time no post&#8230;</p>
<p>Some weeks ago a friend of mine showed me these incredible machines at <a href="http://www.mikrokopter.de">mikrokopter</a>. I was so amazed about these small flying machines that I got myself the first parts for building such a small flying machine myself.</p>
<p>Because I have nearly no money I split the purchases in small pieces. First of all I got myself four <a href="https://cco-ev.de/mikrocontroller/index.php?main_page=product_info&#038;products_id=191">brushless motor controller pcbs</a> and an <a href="https://cco-ev.de/mikrocontroller/index.php?main_page=product_info&#038;cPath=69&#038;products_id=195">Atmel programmer pcb</a> from the <a href="https://cco-ev.de/mikrocontroller/">mikrokopter shop</a> and the nessesary parts.</p>
<p>The next steps will be getting following parts:</p>
<ul>
<li>One brushless engine to test the controlers</li>
<li>Flight-Control pcb with all parts (that will be a pretty big chunk)</li>
<li>A reciever and a remote to test the flight-ctrl</li>
<li>A frame</li>
<li>The remaining engines</li>
<li>And finally the rotors</li>
</ul>
<p>Then I should have a complete and flying mikrokopter. I will probably stretch the purchaices over many months while I progress with assembling, testing and earning nessesary money.</p>
<p>Wish me luck with that project. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/06/12/mikrokopter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple and their Support</title>
		<link>http://www.esden.net/blog/2007/02/13/apple-and-their-support/</link>
		<comments>http://www.esden.net/blog/2007/02/13/apple-and-their-support/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 11:59:47 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Computerworld]]></category>

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

		<guid isPermaLink="false">http://www.esden.net/blog/2007/02/13/apple-and-their-support/</guid>
		<description><![CDATA[After a long time finally a new entry here.
Some time ago I owned a Powerbook 15&#8243;. This one had a problem with its second ram slot. It was not detected by the system. I called Apple Care but they were not willing to fix that. I really was upset about that because it was a [...]]]></description>
			<content:encoded><![CDATA[<p>After a long time finally a new entry here.</p>
<p>Some time ago I owned a Powerbook 15&#8243;. This one had a problem with its second ram slot. It was not detected by the system. I called Apple Care but they were not willing to fix that. I really was upset about that because it was a known problem. Still the serial number of my Powerbook was not in the range Apple considered affected by that problem. &gt;_&lt; Now I have a MacBook Pro 17&#8243; and some days ago my battery grew to its double size. Yes just like the one in this article <a href="http://gizmodo.com/gadgets/laptops/macbook-pro-batteries-are-inflating-222468.php">here</a>. I realized that only because my touch pad button was not clicking anymore and when I put my hand near the touch pad it triggered the button. Searching the web showed the article at Gizmodo above. I looked at the back of my laptop and was shocked.</p>
<p>Yesterday I called <a href="http://www.equinux.de">Equinux</a> and asked what can be done. They checked my Serial number and said that I should bring my laptop over. So directly after work I went there and without much asking they took my battery and said that they will replace it. (That is something that I was not expecting after my experiances with my Powerbook.) </p>
<p>As I was already there I pointed out a little cosmetic problem I had. The band underneath the keyboard weared off and lost its matt look just some weeks after I got my Macbook. (I will post a picture of it later.) They also said with no hesitation that they will replace the whole top if I want to. The problem I have is that I need my laptop all the time for my work so I can not leave it even for a day for fixing. So they said that they will make a appointment with me so I can come over and the technician will replace it in one hour. That is what I call service.</p>
<p>Now they showed me that Apple can also have a very good support as long as you have a guarantee coverage on your hardware. I can only say that I am very happy that I bought Apple Care along with the MacBook. That will save me lots of money and annoyance in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2007/02/13/apple-and-their-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing cl-opengl on Mac OS X</title>
		<link>http://www.esden.net/blog/2006/09/18/installing-cl-opengl-on-mac-os-x/</link>
		<comments>http://www.esden.net/blog/2006/09/18/installing-cl-opengl-on-mac-os-x/#comments</comments>
		<pubDate>Mon, 18 Sep 2006 13:57:56 +0000</pubDate>
		<dc:creator>esden</dc:creator>
		
		<category><![CDATA[Lisp]]></category>

		<guid isPermaLink="false">http://www.esden.net/blog/2006/09/18/installing-cl-opengl-on-mac-os-x/</guid>
		<description><![CDATA[Ok I am back with one more rant on Lisp.
Because of an idea I have, that is not yet ripe for decision, I was trying to get a graphics library that is portable and has a Common Lisp binding. Finally I got stuck on opengl and cl-opengl binding. I had a hard time getting it [...]]]></description>
			<content:encoded><![CDATA[<p>Ok I am back with one more rant on Lisp.</p>
<p>Because of an idea I have, that is not yet ripe for decision, I was trying to get a graphics library that is portable and has a Common Lisp binding. Finally I got stuck on opengl and <a href="http://common-lisp.net/project/cl-opengl/">cl-opengl</a> binding. I had a hard time getting it to run on Mac OS X so I tried it on Linux first where it worked out of the box. It is pretty nice even if making a mistake sometimes kills your lisp.</p>
<p>To install cl-opengl you need a Common Lisp implementation (I use <a href="http://sbcl.sourceforge.net/">sbcl</a>), <a href="http://common-lisp.net/project/cffi/">cffi</a> (I used cffi 0.9.1), an opengl library (I used the one shipping with Mac OS X) and GLUT (I used <a href="http://openglut.sourceforge.net/">OpenGLUT</a> but more on that later).</p>
<p>First I tried to get cl-opengl running with the native Mac OS X GLUT implementation but it did not work. I found information on the cl-opengl list that you need <a href="http://freeglut.sourceforge.net/">FreeGLUT</a>. The problem with FreeGLUT is that it does not compile on Mac because of some joistick problems.</p>
<p>So&#8230; get the source <a href="http://sourceforge.net/project/showfiles.php?group_id=104013">tarball</a> of OpenGLUT.</p>
<p>Untar it and run &#8220;CPPFLAGS=&#8221;-I/usr/X11R6/include&#8221; ./configure&#8221;. You need the CPPFLAGS variable because otherwise the build system will not find the right opengl headers.</p>
<p>Now run make and make install. In my case I added the option &#8211;prefix=/opt/mine to configure to not taint the running system with self compiled stuff.</p>
<p>Finally you should end up with OpenGLUT libraries.</p>
<p>Now download cl-opengl (probably using darcs &#8220;darcs get http://www.common-lisp.net/project/cl-opengl/darcs/cl-opengl/&#8221;)</p>
<p>Link the .asd files to your sbcl systems directory:<br />
# ln -s ~/cl-opengl/*.asd ~/.sbcl/systems</p>
<p>The problem with OpenGLUT is that it uses X11 to create windows. So you have to start the Mac OS X X11 server and start sbcl in the xterm within X11.<br />
After starting sbcl you can run at the repl the following:<br />
* (asdf:operate &#8216;asdf:load-op &#8216;cl-glut-examples)</p>
<p>That should compile and load the cl-opengl cl-glut and cl-glu bindings and also cl-glut-examples.</p>
<p>Now you should be able to test it running:<br />
* (cl-glut-examples:gears)</p>
<p>on the sbcl repl.</p>
<p><b>Conclusion:</b></p>
<p>cl-opengl binding is really nice. It still needs work so that it catches all errors that may occur. Doing something unpredicted with opengl may cause your lisp process to crash.<br />
It also requires at least FreeGLUT that is not willing to compile on Mac OS X but that is understandable because GLUT itself misses some features that are required to create really dynamic applications what is what you want. OpenGLUT does compile on Mac OS X but seems to be pretty old (2005 last release) and just like FreeGLUT requires X11. That is really nasty. I do not want X11 :(</p>
<p>It is usable it is pretty nice but there still is a lot to do! I will for sure dive more into that stuff and try to fix at least some of the problems I found.</p>
<p>But nonetheless thanks OpenGLUT and cl-opengl guys for your fine work! Now I can finally create some nice graphical stuff! Woot!</p>
<p>One more thing&#8230; the cl-glut-examples:gears demo gives the following frame rates on my MacBook Pro:<br />
23857 frames in 5.0 seconds = 4771.400 FPS<br />
24407 frames in 5.0 seconds = 4881.400 FPS<br />
24316 frames in 5.0 seconds = 4863.200 FPS<br />
24293 frames in 5.0 seconds = 4858.600 FPS</p>
<p>I think it is amazing! Tell me what framerates you get! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esden.net/blog/2006/09/18/installing-cl-opengl-on-mac-os-x/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
