<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"> <title>News Jonathan</title> <description/> <generator>Python Pages</generator> <link href="http://www.slenders.be/jonathan/atom"/> <author> <name/> </author>
 <entry> <title>First news entry</title> <link href="/jonathan/news/2008-10-13"/> <updated>2007-10-13</updated> <summary type="xhtml"> 

<p>
	My website has been updated to the newest version of Python Pages,
	which is already much more powerful. But because I decided not to
	be compatible with the older version, web pages need to be ported.
	So, several pages are not yet available here.
</p>
<p>
	I'm not yet going to list all the new features, but something
	I'm really proud of is the <strong>Content blocks</strong> link
	at the bottom of each web page. When <em>highlight_content_blocks=true</em>
	has been appended to the query string. My master page adds a filter
	which can nicely display from which file each generated part in my
	website comes from.
</p>

<br/><a href="/jonathan/news/2008-10-13">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Unicycling-style skin</title> <link href="/jonathan/news/2008-10-27"/> <updated>2007-10-27</updated> <summary type="xhtml"> 

<p>
	My website has been merged into the new <q>unicycling-style</q> skin.
</p>
<p>
	Also, the Python Pages engine behind got an upgrade, which will make it
	easier to define the interface between pages.
</p>

<br/><a href="/jonathan/news/2008-10-27">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Life in the extreme</title> <link href="/jonathan/news/2008-10-28"/> <updated>2007-10-28</updated> <summary type="xhtml"> 

<p>
	<a href="http://www.jd-davis.com/">JD Davis</a>, a belgian DJ created a
	very nice video clip with some Kris Holm footage.
</p>
<p style="text-align: center;">
	

<object data="http://www.youtube.com/v/WlAjoK_9VgY" style="width:425px; height:355px;" type="application/x-shockwave-flash">
	<param name="movie" value="http://www.youtube.com/v/WlAjoK_9VgY"/>
</object>


</p>

<br/><a href="/jonathan/news/2008-10-28">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Comment system working</title> <link href="/jonathan/news/2008-11-05"/> <updated>2007-11-05</updated> <summary type="xhtml"> 

<p>
	Just a quick note: my comment system is working now.<br/>
	It's for very lightweight use. It doesn't require database access
	and everything is stored in a Python-page. (This would also allow
	me to insert executable code in my own comments.
</p>




<p>
	Click continue to try it out.
</p>

<br/><a href="/jonathan/news/2008-11-05">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>XUL?</title> <link href="/jonathan/news/2008-11-26"/> <updated>2007-11-26</updated> <summary type="xhtml"> 

<p>
	On Twitter, I had a discussion about XUL with Jo about <a href="http://www.mozilla.org/projects/xul/">XUL</a>.
	In short, XUL is an XML
	based user interface language where the application logic is usually written in
	Javascript, similar to DHTML. The great thing about XUL is that all the user
	controls (like tab pages, ...) <em>feel</em> native, while for instance a tab
	page control written in XHTML often feels a little more faked. I said &quot;feel&quot;,
	because also XUL isn't native. (it is XML, styled with the chrome stylesheet.)
</p>
<p>
	To me, XUL keeps feeling proprietary, because it's part of the Gecko engine,
	while every XUL-application could have easily been written with XHTML.
</p>
<p>
	Now, I am wondering. Why didn't the XUL team decide to write the XUL-engine
	itself in true DHTML. Everyone would like to put things like
	<![CDATA[<xul:tabbox />]]> into an ordinary XHTML site. Probably for
	performance or security.
	If they had a reason for this, then why didn't they write the XUL engine as
	some kind of plug-in, like Gecko does for SVG. We can embed SVG into XHTML, but
	we can't embed XUL into XHTML. Personally, I'd rather wish XUL to be the XML
	namespace for native controls. Not only for stand-alone applications, but also
	to get native controls (like tab pages, calendar widgets, colour pickers, ...)
	into web pages. The XHTML/JS clones will never be as good as native controls in
	OS integration.
</p>
<p>
	So, the problem I have with XUL is that after all, it doesn't do much
	which would be impossible with XHTML and javascript. Some things may be
	a little easier, but to me it feels like XUL keeps living on its own small
	island.
</p>
<p>
	Anyway, I think browsers works far from ideal when it comes down to
	combining XML technologies. I want to nest different XML namespaces in any
	arbitrary order and manipulate the whole DOM tree with Javascript. I can already
	embed SVG into XHTML, but why is there no way
	to do it the other way? This would allow some great transformations (like
	rotating, skewing, ...) on HTML pages.  XHTML in XUL is already possible
	(Mozilla Firefox does it in some way.), but also this doesn't work the other
	way around. For XAML -- the XML markup language for .NET applications -- too,
	if that could be done, that would be awesome, but unfortunately,
	combining technologies is not easy.
</p>
<p>
	<![CDATA[Also, in my opinion, XHTML shouldn't have a <script> tag, because
	the behaviour should become part of the whole XML. And the same applies to
	<style>. ]]>
</p>
<p>
	By the way, why is the namespace URL  of XUL
	<q><a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
	http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a></q>? I guess it was
	never meant to interoperate with other technologies...
</p>
<p>
	Off course, I'm more into web development and not an user of XUL, so I can be
	wrong here at some points.
</p>

<br/><a href="/jonathan/news/2008-11-26">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Too many ideas to realize</title> <link href="/jonathan/news/2008-12-04"/> <updated>2007-12-04</updated> <summary type="xhtml"> 

<p>
	My mind is sometimes full of ideas that I can't realize because
	most of these take quite a lot of time to finish.
</p>
<p>
	I wrote a todo list to make sure I won't forget these and
	hopefully will get time in the future to finish some of them.
</p>
<p>Below is a copy of <a href="/jonathan/to-do-list">my current todo list</a></p>


<p>
	Some things I'd like to do if I had a little more time.
</p>
<ul>
	<li>Writing a Python Virtual machine in Javascript</li>
	<li>Building a domotica system for my bedroom</li>
	<li>Building some RC cars with wireless webcams. Remote
			controllable through a computer similar to 3rd person shooters.</li>
	<li>Building an alarm clock (connected in some way to my calendar, and playing my favorite tunes each morning)</li>
	<li>Learn to juggle 5 balls</li>
	<li>Building a KVM switch with USB keyboard and mouse (through the HID specification) and multiple video in- and outputs</li>
	<li>Tetris or similar game to play on an osciloscope with X/Y input.</li>
</ul>



<br/><a href="/jonathan/news/2008-12-04">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>AVR programmer and ethernet device</title> <link href="/jonathan/news/2008-12-10"/> <updated>2007-12-10</updated> <summary type="xhtml"> 

<p>
	Last monday, I received some stuff from <a href="http://tuxgraphics.org/electronics/">tuxgraphics</a>. My package
	contained some Atmel Atmega8 and Atmega168 microprocessors; parts for
	building an <a href="http://www.tuxgraphics.org//electronics/200705/article07052.shtml">AVR
	programmer</a>; an ethernet device; and an LCD display.
</p>
<p style="text-align: center;">
	<img alt="the hardware" src="/jonathan/images/2008-12-10_avr-pcbs.jpg"/>
</p>
<p>
	This was the first time that I built something with <em title="(The  k8001 from Velleman lacks to much functionality to be concidered a real  microcontroller)">real</em> microcontrollers, so I knew it certainly
	wouldn't be easy. The 'manual' from tuxgraphics was also rather poor.
	Probably it would be fine for someone with a little more experience,
	but I was struggling.
</p>
<p>
	Once the programmer was built, the firmware needed to be flashed into
	it. This had to be done through <a href="http://en.wikipedia.org/wiki/Bit-banging">bit-banging</a> the
	hexcode over USB. Normally you would use another programmer to flash
	this chip, but I couldn't as this was my first. Programming the
	programmer was also not without trouble. The live-cd which was supposed
	to do this, didn't contain gcc-avr (or at least, I couldn't find it).
	So, I decided to do this in Ubuntu. That succeeded after I realized
	that the patched verison of &quot;uisp&quot; should be renamed to &quot;uisp_bbpg&quot;
	during this process.
</p>
<p>
	Building and programming the ethernet device was easier. I only didn't
	know that the microprocessor should be powered during in-circuit
	flashing. The test code for an embedded webserver worked fine, and I
	hope to finish an LCD-over-ethernet set-up this week.
</p>
<p>
	I learned a lot about the Atmega microprocessors, but there's still much
	more for me to learn. For instance, I don't understand most of how the
	C-programs do their job and all the low level protocols. At least, I'm
	really satisfied, and can recommend the hardware I got.
</p>



Read on for more pictures.


<br/><a href="/jonathan/news/2008-12-10">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Look what I can :)</title> <link href="/jonathan/news/2008-12-12"/> <updated>2007-12-12</updated> <summary type="xhtml"> 


<p style="text-align: center; ">
	<img src="/jonathan/images/2008-12-12_kijk-het-scherm-werkt2.jpg"/>
</p>



<p>
	Press continue to read on...
</p>

<br/><a href="/jonathan/news/2008-12-12">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Dimmer</title> <link href="/jonathan/news/2008-12-16"/> <updated>2007-12-16</updated> <summary type="xhtml"> 

<p>
	Vandaag heb ik wat geëxperimenteerd met het inlezen van analoge
	signalen via een AVR microprocessor. Hiervoor gebruik ik de ADC (analog
	to digital convertor) welke in mijn AVR's ingebouwd zitten.
</p>
<p>
	Om deze tot het uiterste te testen, heb ik een dimmer gebouwd. Ik zal
	hieronder uitleggen hoe zo'n dimmer juist werkt.
</p>
<p style="text-align: center;">
	<img alt="osciloscope meting" src="/jonathan/images/2008-12-16_dimmer.jpg"/>
</p>



<p>
	Lees verder voor de volledige uitleg.
</p>

<br/><a href="/jonathan/news/2008-12-16">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>One way, two wire communiction between two Atmega168 processors</title> <link href="/jonathan/news/2008-12-26"/> <updated>2008-12-26</updated> <summary type="xhtml"> 

<p>
	The atmega processor I was working with had a too few I/O ports for my
	current project. I needded additional OC1 ports for servo controlling,
	but I had only two I/O ports left without this functionality.
</p>
<p>
	I decided to connect two processors in some kind of master/slave mode.
	If you look, over the Internet, you'll find a lot of nice protocols
	like USART for this but I couldn't use is, these I/O ports were also
	occupied. So I wrote my own protocol over two wires. One for the clock
	and the other for the signal. (This could be done over <a href="http://www.avrtutor.com/tutorial/thermo/1wire1.php">one wire too</a>, but
	I don't really thrust the timing for this.)
</p>
<p>
	I connected PC4 on both microcontrollers and did the same for PC5.
	Each time I added a 12kΩ resistor between the ground and PC4/5 (for pull-down).
	Internal pull-up resistors should be disabled.
</p>



<p>
	Read on for the code
</p>

<br/><a href="/jonathan/news/2008-12-26">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>PC voeding omgebouwd tot projectvoeding</title> <link href="/jonathan/news/2009-01-25"/> <updated>2009-01-25</updated> <summary type="xhtml"> 

<p>
	Met een beetje hulp van <a href="http://tweakers.net">tweakers.net</a>
	heb ik een computervoeding omgebouwd tot projectvoeding. <a href="http://gathering.tweakers.net/forum/list_messages/885613">Deze
	forumpost</a> bevatte alles wat ik moest meten. Het ombouwen was maar
	een paar uur werk en het leverde een stevige voeding op. Nu kan ik
	3.3V, 5V en 12V aftappen. De spanning is stabiel, maar kan wel zo'n 5 à
	10% afwijken. Bovendien heeft deze voeding mij helemaal niets gekost,
	aangezien ik al over alle nodige componenten beschikte.
</p>
<p>
	Als je het zelf wilt proberen, pas dan op voor de condensators in dit soort voedingen,
	deze kunnen een erg grote lading op netspanning bevatten.
</p>
<p style="text-align: center;">
	<img src="/jonathan/images/2009-01-25_psu-als-projectvoeding-1.jpg"/>
</p>



<p>
	Lees verder voor nog een foto.
</p>

<br/><a href="/jonathan/news/2009-01-25">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Photo flash</title> <link href="/jonathan/news/2009-01-27"/> <updated>2009-01-27</updated> <summary type="xhtml"> 

<p>
	Dit circuit stond al een tijdje op een breadbordje van mij. 
	Nu heb ik het op een printje geplaatst. Het is een klein
	circuit dat het mogelijk maakt om twee oude fotoflitsen op
	een veilige manier aan te sluiten op een fotocamera. (De spanningen
	van 200V en meer die vaak op de aansluitpennen van oude flitsen
	staan worden niet verdragen door moderne digatale camera's.)
	Dit gedeelte is gebaseerd op een <a href="http://www.machma.nl/hotshoe.html">circuit van Fripster</a>.
</p>
<p>
	Verder bevat dit printje een <q>remote trigger mechanisme</q> voor de
	Powershot S5. Door 5V op de USB aansluiting te plaatsen en de <a href="http://chdk.wikia.com/wiki/CHDK">CHDK firmware</a> te gebruiken,
	kan dit fototoestel <a href="http://chdk.wikia.com/wiki/USB_Remote_Cable">op afstand
	getriggerd worden</a>. Voorlopig doe ik het nog met een drukknopje aan kabel,
	maar waarschijnlijk komt hier nog een infraroodpoort uitbreiding voor om
	actiefoto's te maken.
</p>
<p>
	De bedoeling is om alles in een kleine plastieke behuizing
	bovenop een hotshoe te bouwen, daarom dat alles erg klein
	moest blijven.
</p>

<p style="text-align: center;"><img src="/jonathan/images/2009-01-27_photo-flash-remote/img_0325.jpg" style="max-width: 95%;" title=""/></p>




Lees verder om meer foto's te zien en een elektrisch schema.


<br/><a href="/jonathan/news/2009-01-27">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry>  <entry> <title>Be part of it</title> <link href="/jonathan/news/2009-02-17"/> <updated>2009-02-17</updated> <summary type="xhtml"> 


<p>
	Vandaag werd ik gemaild door Jan Fabry met de vraag of ik wilde bloggen
	voor de <em>be-part-of-it-campagne</em>. Ik ben daar op in gegaan omdat
	ik terug zin had om wat over gewone zaken te schrijven. Je zal hier
	kunnen lezen hoe het er op de universiteit aan toe gaat én vooral, wat
	ik daar zoal doe.
</p>
<p>
	<a href="/jonathan/be-part-of-it/blog">Ga naar mijn nieuwe blog</a>
</p>







<br/><a href="/jonathan/news/2009-02-17">Read more...</a>
 </summary> <contributor> <name>Jonathan</name> </contributor> </entry> 
</feed>
