<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>In Traction</title>
	
	<link>http://blog.jozilla.net</link>
	<description />
	<pubDate>Tue, 24 Mar 2009 19:06:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<geo:lat>51.0295</geo:lat><geo:long>5.375</geo:long><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/InTraction" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>blog@CACM</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/oL46b4lJFGc/</link>
		<comments>http://blog.jozilla.net/2009/03/24/blogatcacm/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 19:03:04 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[blog]]></category>

		<category><![CDATA[hci]]></category>

		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=326</guid>
		<description><![CDATA[Apparantely, there&#8217;s a Communications of the ACM group blog now, called blog@CACM. There is also a blog roll that includes the blog of Daniel Lemire, which happens to be one of my favorite research blogs. Although Daniel works in a different subdiscipline of computer science, I enjoy reading his research advice and interesting viewpoints on [...]]]></description>
			<content:encoded><![CDATA[<p>Apparantely, there&#8217;s a Communications of the <span class="caps">ACM </span>group blog now, called <a href="http://cacm.acm.org/blogs/about-the-blogs/">blog@CACM</a>. There is also a blog roll that includes the blog of <a href="http://www.daniel-lemire.com/blog/">Daniel Lemire</a>, which happens to be one of my favorite research blogs. Although Daniel works in a different subdiscipline of computer science, I enjoy reading his research advice and interesting viewpoints on the process of doing research.</p>

<p>The group blog features an interesting post by <a href="http://tlau.org/">Tessa Lau</a>, titled <a href="http://cacm.acm.org/blogs/blog-cacm/22198-three-misconceptions-about-human-computer-interaction/fulltext"><em>Three Misconceptions About Human-Computer Interaction</em></a>, which raises a few interesting points. In my opinion, <span class="caps">HCI </span>is much more fundamental to creating interactive systems than people usually believe. In this context, I would like to refer to an <a href="http://patrickbaudisch.com/publications/2005-Phan-Ambidextrous-PatrickBaudischFullInterview.html">interview</a> with <a href="http://patrickbaudisch.com/">Patrick Baudisch</a> that I recently read, in which he explains how he got started in <span class="caps">HCI</span>:</p>

<blockquote>
<strong>Doantam</strong>: How did you get started working on human-computer interaction?<br/><br />
<strong>Patrick</strong>: Without knowing it. I was a Ph.D. student in Darmstadt, Germany and worked on user interfaces for information filtering systems. A friend of mine saw my work and said &#8220;oh, I did not know you were in <span class="caps">HCI, </span>too&#8221;.<br/><br />
That was the first time I heard of that field.<br />
</blockquote><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=oL46b4lJFGc:4vww5O_1zX8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=oL46b4lJFGc:4vww5O_1zX8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=oL46b4lJFGc:4vww5O_1zX8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=oL46b4lJFGc:4vww5O_1zX8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=oL46b4lJFGc:4vww5O_1zX8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=oL46b4lJFGc:4vww5O_1zX8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=oL46b4lJFGc:4vww5O_1zX8:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=oL46b4lJFGc:4vww5O_1zX8:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2009/03/24/blogatcacm/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2009/03/24/blogatcacm/</feedburner:origLink></item>
		<item>
		<title>New Homepage</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/JHmbzcqAeOE/</link>
		<comments>http://blog.jozilla.net/2009/03/17/new-homepage/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 17:42:46 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[homepage]]></category>

		<category><![CDATA[personal]]></category>

		<category><![CDATA[pmwiki]]></category>

		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=262</guid>
		<description><![CDATA[I finally updated my homepage today. It used to be a custom Rails website, with RHTML views that I edited through SSH. I never got around to create a database model for my website, and to be frank, I am glad that I didn&#8217;t since my homepage&#8217;s structure changed a lot. On the other hand, [...]]]></description>
			<content:encoded><![CDATA[<p>I finally updated <a href="http://jozilla.net/">my homepage</a> today. It used to be a custom <a href="http://rubyonrails.org/">Rails</a> website, with <a href="http://en.wikipedia.org/wiki/ERuby"><span class="caps">RHTML</span></a> views that I edited through <span class="caps">SSH.</span> I never got around to create a database model for my website, and to be frank, I am glad that I didn&#8217;t since my homepage&#8217;s structure changed <strong>a lot</strong>. On the other hand, having to login remotely and edit the view with <a href="http://www.vim.org/">Vim</a> every time I wanted to add a publication to my homepage was too big of a burden. The net result was that I did not update my website as much as I wanted to.</p>

<p>A few months ago I decided to look for a better solution. I experimented with various solutions, including <a href="http://drupal.org/">Drupal</a> (with a lot of help from <a href="http://wimleers.com/">Wim Leers</a>, thanks Wim!) and <a href="http://wikkawiki.org/">WikkaWiki</a> (with a few tips from <a href="http://nitens.org/">Dario Tarborelli</a>) before finally settling on <a href="http://pmwiki.org/">PmWiki</a>. In this post, I will describe my rationale for choosing PmWiki over Drupal and WikkaWiki.</p>

<p>An advantage of Drupal is that it is extremely flexible. For instance, the website&#8217;s menu and corresponding <span class="caps">URL </span>structure can be completely customized. It also allows you to define content types such as &#8220;Course&#8221; or &#8220;Student&#8221; in a graphical way with the <a href="http://drupal.org/project/cck"><span class="caps">CCK</span></a> module and visualize them with the <a href="http://drupal.org/project/views">Views</a> module. However, this takes quite some initial work. Moreover, changes to the structure (e.g. allowing courses to have associated pictures of student projects) requires changing all this again. I believe that I should be able to change the structure of my homepage at any time. Adding a related publication to a software project or to a Master&#8217;s thesis should not involve a whole day of editing content types. Although I could use the <em>Page</em> content type for all my content, this is considered bad practice since Drupal only uses <em>Page</em> for static pages that almost never change. Of course, using Drupal only to provide a shared template and a global menu is massive overkill <img src='http://blog.jozilla.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>In the same period, I read an interesting blog post on <a href="http://www.academicproductivity.com/">Academic Productivity</a> about <a href="http://www.academicproductivity.com/2009/how-to-run-an-invisible-wiki/">using a wiki to invisibly power a (research) homepage</a> by Dario Tarborelli. A wiki seemed to provide a solution to structural flexibility, since it allows users to quickly rearrange content. However, as Dario points out, there are two problems that often make people suspicious of using a wiki for their website:</p>


<ol>
<li>anyone can edit the content of a wiki</li>
<li>wikis look <em>wikish</em></li>
</ol>



<p>Dario demonstrates in the blog post that <a href="http://wikkawiki.org/">WikkaWiki</a> can easily overcome both issues with access control lists and an easy-to-use skin system. He continues by giving a few advantages of using wikis for content management:</p>


<ul>
<li>they allow you to edit and modify content at the speed of light</li>
<li>they allow you to easily embed all sort of contents in a page</li>
<li>they allow you to set granular access privileges for specific pages, which is a very powerful solution for collaborative work with colleagues and coauthors</li>
</ul>



<p>I started to experiment with a WikkaWiki-based homepage and was able to very quickly migrate my content and create a custom skin. I was impressed! There was a catch though. WikkaWiki did not support file uploads in an easy way, and custom markup (e.g. lists with a certain <span class="caps">CSS </span>class) seemed to be hard to achieve. Having the ability to upload files was essential for me, since I did not want to use an (S)FTP client everytime I wanted to add a publication or screenshot. Custom markup would be nice to style my <a href="http://jozilla.net/Research/Publications">publications list</a>. Although WikkaWiki supports embedding <span class="caps">HTML </span>directly, it is obviously not ideal to have large amounts of embedded <span class="caps">HTML </span>in the content of a page.</p>

<p>Then I decided to have a look at <a href="http://pmwiki.org/">PmWiki</a> . I already heard about PmWiki before. Jori used it to power <a href="http://research.edm.uhasselt.be/~jori/page/">his homepage</a>, and <a href="http://research.edm.uhasselt.be/~pquax/">Peter</a> also used it to power the Mobile and Pervasive Computing <a href="http://didactiekinf.uhasselt.be/mpc/">course website</a>. Of course, the fact that 6th most frequent author in <span class="caps">HCI </span>uses PmWiki to power his <a href="http://pages.cpsc.ucalgary.ca/~saul/wiki/pmwiki.php">personal homepage</a> and the <a href="http://grouplab.cpsc.ucalgary.ca/">homepage of his research group</a> helps as well <img src='http://blog.jozilla.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> A few other examples of PmWiki usage by <span class="caps">HCI </span>researchers or groups: </p>


<ul>
<li>personal website of <a href="http://www.itu.dk/~bardram/">Jakob E. Bardram</a></li>
<li>the website of the <a href="http://insitu.lri.fr/">in|situ</a> research group in Paris, France</li>
<li>personal website of <a href="http://www.seangustafson.com/">Sean Gustafson</a></li>
</ul>



<p>But the question was of course: how can I use PmWiki to invisibly power my website? I decided to post a <a href="http://www.mail-archive.com/pmwiki-users@pmichaud.com/msg16587.html">message</a> on the PmWiki mailing list asking for help, and got many helpful responses. One of the things I especially like about PmWiki is the helpful and lively community. Everything I wanted to do with PmWiki was either explained in the <a href="http://www.pmwiki.org/wiki/Cookbook/Cookbook">Cookbook</a>, or pointed out by someone on the mailing list. As an example of a very nice website invisibly powered by PmWiki, take a look at the <a href="http://www.villageschool.us/">Village School website</a>.</p>

<p>These are the steps that I followed:</p>


<ol>
<li>Install PmWiki: this is very easy, just extract the archive and point a web browser to pmwiki.php (<a href="http://pmwiki.org/wiki/PmWiki/Installation">detailed instructions</a>). PmWiki does not require a database, it uses flat files (<a href="http://www.pmwiki.org/wiki/PmWiki/FlatFileAdvantages">yes, flat files!</a>). That means you can easily copy a PmWiki installation from one directory to another (or even from one server to another).</li>
<li>Create a new skin by copying the default pmwiki skin in a new directory and give it an appropriate name.</li>
<li>Start editing the page template and <span class="caps">CSS </span>file to suit your liking. Hide typical wiki elements <a href="http://www.w3schools.com/css/pr_class_display.asp">with <span class="caps">CSS</span></a> or by removing them from the template. PmWiki supports conditional markup so you can change the displayed page actions based on your login status. For more information, see <a href="http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/53806/">this post on the mailing list</a> and the <a href="http://www.pmwiki.org/wiki/PmWiki/SitePageActions">documentation about page actions</a>. You can also add conditional markup to hide the PmWiki documentation pages from <a href="http://pmwiki.org/wiki/PmWiki/SitePages">the sidebar</a>. If you refer to images in your <span class="caps">CSS </span>file, just keep in mind that the path is relative (e.g. refer to <kbd>pmwiki/pub/skins/myskin/icons/trash.gif</kbd> as <kbd>background: url(icons/trash.gif);</kbd>).</li>
<li>Set <a href="http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin">a password</a> for editing pages.</li>
<li>Set up <a href="http://www.pmwiki.org/wiki/PmWiki/Uploads">file uploads</a> (disabled by default). Once uploads are enabled, PmWiki will automatically create the <kbd>uploads/</kbd> directory when you upload a file. You might have to change the <a href="http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin">maximum upload size</a>.</li>
<li>Set up <a href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls">clean <span class="caps">URL</span>s</a> like <kbd>Main/Homepage</kbd> instead of <kbd>pmwiki.php?n=Main.Homepage</kbd> (preferably with mod_rewrite). This is a lot easier than it sounds due to the excellent documentation.</li>
<li>Done! Now you can start adding your content.</li>
</ol>



<p>A few other random tips:</p>


<ul>
<li>You delete a page by replacing its contents with the word &#8220;delete&#8221;.</li>
<li>Conditional markup is extremely useful to hide content that you don&#8217;t want to show yet. Just surround it with <kbd>(:if false:)</kbd> and <kbd>(:ifend:)</kbd> directives.</li>
<li>PmWiki&#8217;s markup is very flexible. You can easily add <span class="caps">CSS </span>classes to elements (see <a href="http://www.pmwiki.org/wiki/PmWiki/WikiStyles">WikiStyles</a>) and create advanced tables (see <a href="http://www.pmwiki.org/wiki/PmWiki/TableDirectives">Table directives</a>).</li>
<li>PmWiki supports <a href="http://www.pmwiki.org/wiki/PmWiki/WikiGroup">wiki groups</a>. This allows you to structure your pages in namespaces, so you can have for example both a Research.Activities and a Teaching.Activities page.</li>
</ul>



<p>Finally, here is the result:</p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2009/03/new_homepage.png"><img src="http://blog.jozilla.net/wp-content/uploads/2009/03/new_homepage-500x276.png" alt="My new PmWiki-based homepage" title="My new PmWiki-based homepage" width="500" height="276" class="size-thumbnail wp-image-309" /></a></p>

<p>All in all, I am very happy with it. I especially like the fact that I can add or change content quickly, wherever I am. All I need is a browser.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=JHmbzcqAeOE:e1HBqRkEF2I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=JHmbzcqAeOE:e1HBqRkEF2I:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=JHmbzcqAeOE:e1HBqRkEF2I:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=JHmbzcqAeOE:e1HBqRkEF2I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=JHmbzcqAeOE:e1HBqRkEF2I:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=JHmbzcqAeOE:e1HBqRkEF2I:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=JHmbzcqAeOE:e1HBqRkEF2I:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=JHmbzcqAeOE:e1HBqRkEF2I:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2009/03/17/new-homepage/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2009/03/17/new-homepage/</feedburner:origLink></item>
		<item>
		<title>Australian conference and journal ranking</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/62OqAYiemmI/</link>
		<comments>http://blog.jozilla.net/2009/02/13/australian-conference-and-journal-ranking/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 08:25:13 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[journal]]></category>

		<category><![CDATA[ranking]]></category>

		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=243</guid>
		<description><![CDATA[Just read an interesting post on Albrecht Schmidt&#8217;s blog about the Australian conference and journal rankings. 

No big surprises in the list of course, but nevertheless interesting to have a look at. The problem (at least in Belgium) seems to be that the rankings used for university funding are focused mostly on journals. The top [...]]]></description>
			<content:encoded><![CDATA[<p>Just read an interesting <a href="http://albrecht-schmidt.blogspot.com/2009/01/ranking-conferences-and-journals-down.html">post</a> on <a href="http://www.pervasive.wiwi.uni-due.de/en/team/albrecht-schmidt/">Albrecht Schmidt</a>&#8217;s blog about the Australian <a href="http://www.core.edu.au/rankings/tier-conf-final2007.pdf">conference</a> and <a href="http://www.core.edu.au/journal%20rankings/08ERA-final-sort%20Rank.pdf">journal</a> rankings. </p>

<p>No big surprises in the list of course, but nevertheless interesting to have a look at. The problem (at least in Belgium) seems to be that the rankings used for university funding are focused mostly on journals. The top conferences are often only ranked slightly higher than average conferences, meaning that two or three papers at a mid-level conference will be better in terms of funding than one paper at a top conference. Of course, there is always the prestige and international recognition you receive when getting a paper accepted at a top conference <img src='http://blog.jozilla.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=62OqAYiemmI:bgR6i8taVY0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=62OqAYiemmI:bgR6i8taVY0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=62OqAYiemmI:bgR6i8taVY0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=62OqAYiemmI:bgR6i8taVY0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=62OqAYiemmI:bgR6i8taVY0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=62OqAYiemmI:bgR6i8taVY0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=62OqAYiemmI:bgR6i8taVY0:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=62OqAYiemmI:bgR6i8taVY0:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2009/02/13/australian-conference-and-journal-ranking/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2009/02/13/australian-conference-and-journal-ranking/</feedburner:origLink></item>
		<item>
		<title>MIT Media Lab wearable projector prototype</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/8g8_kBReCu8/</link>
		<comments>http://blog.jozilla.net/2009/02/10/mit-media-lab-wearable-projector-prototype/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 09:00:59 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[mit]]></category>

		<category><![CDATA[projector]]></category>

		<category><![CDATA[research]]></category>

		<category><![CDATA[ubicomp]]></category>

		<category><![CDATA[wearable]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=239</guid>
		<description><![CDATA[Lode pointed me to an interesting article on Wired about research done at the Fluid Interfaces group of MIT Media Lab. The article was based on the recent TED Talk by Prof. dr. Pattie Maes (who is a Belgian by the way :-)).

In their prototype, the user carries a wearable projector that projects information on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://research.edm.uhasselt.be/~lvanacken/blog/">Lode</a> pointed me to an <a href="http://blog.wired.com/business/2009/02/ted-digital-six.html">interesting article on Wired</a> about research done at the <a href="http://ambient.media.mit.edu/">Fluid Interfaces group</a> of <a href="http://www.media.mit.edu/"><span class="caps">MIT</span> Media Lab</a>. The article was based on the recent <a href="http://www.ted.com/index.php/talks/pattie_maes_demos_the_sixth_sense.html"><span class="caps">TED</span> Talk</a> by Prof. dr. <a href="http://web.media.mit.edu/~pattie/">Pattie Maes</a> (who is a Belgian by the way :-)).</p>

<p>In their prototype, the user carries a wearable projector that projects information on physical surfaces or objects. This is essentially augmented reality but without having to use VR helmets/goggles or other devices (e.g. mobile phones) to view digital annotations. Although there are already systems that use wall-mounted projectors to augment rooms with digital annotations (<a href="http://www.slenders.be/jonathan/">Jonathan Slenders</a> also looked into this for <a href="http://www.slenders.be/jonathan/master-thesis">his Master&#8217;s thesis</a>), in this prototype the projector is mobile as it is simply worn around the user&#8217;s neck. The device could project useful annotations on physical objects, such as Amazon reviews on books or flight information on boarding passes:</p>

<p><embed src="http://c.brightcove.com/services/viewer/federated_f9/1813626064?isVid=1&amp;publisherID=1564549380" bgcolor="#FFFFFF" flashVars="videoId=10280440001&amp;playerID=1813626064&amp;domain=embed&amp;" base="http://admin.brightcove.com" name="flashObj" width="404" height="436" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"><noembed><p><em>There is embedded content here that you cannot see. Please <a href="http://blog.jozilla.net/?p=239">open the post in a web browser</a> to see this.</em></p></noembed></embed></p>

<p>This reminds me of the topics that my student Ruben Thys explored for his <a href="http://doclib.uhasselt.be/dspace/handle/1942/3356">Master&#8217;s thesis</a> (<a href="http://jozilla.net/data/publications/VermeulenThysLuytenConinx_dipso2007.pdf">paper</a>, <a href="http://www.vimeo.com/1308468">video</a>). Our solution was a bit more clumsy than this one though (it required a mobile device to view information attached to physical objects). I also remember reading a related <a href="http://www.acm.org/uist/uist2006/"><span class="caps">UIST&#8217;06</span></a> paper that described <a href="http://portal.acm.org/citation.cfm?id=1294220">multi-user interaction techniques with handheld projectors</a>.</p>

<p>Wearable projectors seem to be a promising approach to provide feedback in ubiquitous computing, and might help to further bridge the physical and virtual worlds. </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=8g8_kBReCu8:M1fDcLLe7SQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=8g8_kBReCu8:M1fDcLLe7SQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=8g8_kBReCu8:M1fDcLLe7SQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=8g8_kBReCu8:M1fDcLLe7SQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=8g8_kBReCu8:M1fDcLLe7SQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=8g8_kBReCu8:M1fDcLLe7SQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=8g8_kBReCu8:M1fDcLLe7SQ:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=8g8_kBReCu8:M1fDcLLe7SQ:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2009/02/10/mit-media-lab-wearable-projector-prototype/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2009/02/10/mit-media-lab-wearable-projector-prototype/</feedburner:origLink></item>
		<item>
		<title>How to efficiently perform a literature review</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/YkDDHCITUzo/</link>
		<comments>http://blog.jozilla.net/2009/02/07/how-to-efficiently-perform-a-literature-review/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 00:14:27 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[advice]]></category>

		<category><![CDATA[literature review]]></category>

		<category><![CDATA[reading]]></category>

		<category><![CDATA[research]]></category>

		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=186</guid>
		<description><![CDATA[Research is to see what everybody else has seen, and to think what nobody else has thought.
&#8211; Albert Szent-Gyorgyi (Hungarian Biochemist, 1937 Nobel Prize for Medicine, 1893-1986)

I got the idea to document the way I read papers from a discussion with Lode (he uses mostly the same approach as I do). I&#8217;m pretty certain this [...]]]></description>
			<content:encoded><![CDATA[<p><q>Research is to see what everybody else has seen, and to think what nobody else has thought.</q><br />
&#8211; Albert Szent-Gyorgyi (Hungarian Biochemist, 1937 Nobel Prize for Medicine, 1893-1986)</p>

<p>I got the idea to document the way I read papers from a discussion with <a href="http://research.edm.uhasselt.be/~lvanacken/blog/">Lode</a> (he uses mostly the same approach as I do). I&#8217;m pretty certain this is obvious for many people, but I hope it may still be useful for others. </p>

<p>In this post I focus on processing lots of (related) papers in the least amount of time. I will not discuss how you find interesting papers, since this is fairly easy. Reading prestigious conference proceedings or journals in your field usually allows you to end up with a couple of <a href="http://dutta.csc.ncsu.edu/research_howto.html"><em>seed papers</em></a> that are representative for your specific area of interest. If you do research in ubiquitous computing, reading the proceedings of <a href="http://www.informatik.uni-trier.de/~ley/db/conf/huc/index.html">Ubicomp</a>, <a href="http://www.informatik.uni-trier.de/~ley/db/conf/pervasive/index.html">Pervasive</a> or <a href="http://www.informatik.uni-trier.de/~ley/db/conf/percom/index.html">Percom</a>, and journals such as <a href="http://www.springerlink.com/content/106503/">Personal and Ubiquitous Computing</a> will get you along quite nicely. If you focus on the human-computer interaction aspects of ubiquitous computing, throw in the proceedings of <a href="http://www.informatik.uni-trier.de/~ley/db/conf/chi/index.html"><span class="caps">CHI</span></a> and <a href="http://www.informatik.uni-trier.de/~ley/db/conf/uist/index.html"><span class="caps">UIST</span></a>, together with the <a href="http://tochi.acm.org/"><span class="caps">TOCHI</span></a> and <a href="http://hci-journal.com/">Human-Computer Interaction</a> journals. The papers you find here will be stepping stones to related papers (and conferences) using the simple technique I will discuss in this post. </p>

<p>I estimate that of all papers I read, I only process 1 out of 5 in full detail. Most of the time when I find a paper that <em>seems</em> interesting, I start with skimming the paper briefly. I focus mostly on the abstract, the last part of the introduction (which <a href="http://research.microsoft.com/~simonpj/Papers/giving-a-talk/writing-a-paper-slides.pdf">should</a> list the contributions), relevant pictures in the main matter, and the conclusion/discussion. I do several passes over the paper to validate my early understanding of what the authors did. I also go through the related work and references. This allows me to see if the authors refer to work that I don&#8217;t know but which could be interesting (which I mark for later processing). This will usually take little more than 5 minutes.</p>

<p>Now I have a pretty good idea whether the paper <em>is</em> interesting to me. If it&#8217;s not, I just go through the interesting references (if any) using the same process and stop there. If it is interesting, I go one step further, treating the paper as a seed paper that allows me to find other relevant work.</p>

<p>If the paper is not too recent, there will probably be (lots of) other articles that refer to this paper. Even if the paper is fairly new, it is still worth looking up papers that already refer to it. Looking up these articles allows me to discover relevant related work and to see how others critically describe this paper. A critical review could contradict of the results of the paper (e.g. through <a href="http://allpsych.com/researchmethods/replication.html">replication</a>, such as <a href="http://alme1.almaden.ibm.com/u/zhai/papers/TargetExpansion.pdf">Shumin Zhai&#8217;s work on target expansion</a>), or might offer new insights (such as suggesting a new direction for research related to the original paper, as <a href="http://research.microsoft.com/hci2020/pdf/Rogers_Ubicomp06.pdf">Yvonne Roger&#8217;s Ubicomp&#8217;06 paper</a> did for <a href="http://www.ubiq.com/hypertext/weiser/acmfuture2endnote.htm">Mark Weiser&#8217;s original Ubicomp paper</a>). Both types of critical reviews are <em>very</em> useful for your own understanding of the paper.</p>

<p>I usually use <a href="http://scholar.google.com/">Google Scholar</a> to find citations (and downloadable versions of articles), since it indexes the major publisher databases (e.g. the <a href="http://portal.acm.org/dl.cfm"><span class="caps">ACM</span> Digital Library</a>, <a href="http://ieeexplore.ieee.org/Xplore/guesthome.jsp"><span class="caps">IEEE</span> Xplore</a> or <a href="http://www.springerlink.com/home/main.mpx">SpringerLink</a>):</p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2008/11/scholar.png"><img src="http://blog.jozilla.net/wp-content/uploads/2008/11/scholar-500x279.png" alt="" title="Entering a paper on Google Scholar" width="500" height="279" class="alignnone size-thumbnail wp-image-198" /></a></p>

<p>After entering a title in Google Scholar, it presents you with a list of matching papers. Below each item, there is a link with the number of papers that cite it (indicated in orange in the figure below). In this case there are 118 citations:</p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2008/11/scholar2.png"><img src="http://blog.jozilla.net/wp-content/uploads/2008/11/scholar2-500x164.png" alt="" title="Each item has a link to its citations" width="500" height="164" class="alignnone size-thumbnail wp-image-203" /></a></p>

<p>After clicking on this link, Google Scholar shows all articles that cite the previous one, sorted by their <em>relevance</em> (in other words, the number of times these articles are themselves cited):</p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2008/11/scholar3.png"><img src="http://blog.jozilla.net/wp-content/uploads/2008/11/scholar3-500x416.png" alt="" title="Citation results" width="500" height="416" class="alignnone size-thumbnail wp-image-207" /></a></p>

<p>This approach to reading papers has one disadvantage: your reading list will quickly grow. You can end up with 30 more papers to read starting from just 1 interesting seed paper (which is what happened to me when I looked for papers that cited <a href="http://www.cs.bris.ac.uk/Teaching/Resources/COMSM0106/papers/Bellotti-2001.pdf">Intelligibility and Accountability: Human Considerations in Context-Aware Systems</a> by <a href="http://www.parc.com/research/publications/results.php?author=54">Victoria Bellotti</a> and <a href="http://www.cc.gatech.edu/~keith/">Keith Edwards</a>). In my opinion, this is actually an advantage as it allows you to quickly find many related (and hopefully interesting) papers. Furthermore, because you&#8217;re skimming papers, you never spend more than 5 minutes on papers that are not relevant or interesting.</p>

<p>After I have found a significant number of papers that I want to read, I of course will go through them in more detail. Papers that are very relevant for my work or give me the feeling they deserve a more thorough reading (e.g. because they provide many new insights), will be read from beginning to end. A few examples that I also discussed in my blog are: <a href="http://blog.jozilla.net/2008/09/11/wendy-jus-implicit-interaction-framework/">Range: Exploring Implicit Interaction through Electronic Whiteboard Design</a>, <a href="http://blog.jozilla.net/2007/12/07/evaluating-user-interface-systems-research/">Evaluating User Interface Systems Research</a> and <a href="http://blog.jozilla.net/2007/11/20/beyond-the-desktop-metaphor-lifestreams-and-haystack/">two chapters from Beyond the Desktop Metaphor: Designing Integrated Digital Work Environments</a>.</p>

<p>A few related guides:<br />
* <a href="http://www.comp.lancs.ac.uk/~dixa/topics/res-tech/">Research Techniques</a> by <a href="http://www.comp.lancs.ac.uk/~dixa/">Alan Dix</a> (especially the slides about <a href="http://www.comp.lancs.ac.uk/~dixa/topics/res-tech/ohps/gathering-info.pdf">gathering information</a>)<br />
* <a href="http://www.cs.indiana.edu/mit.research.how.to/section3.3.html">Reading AI</a> from <a href="http://www.cs.indiana.edu/mit.research.how.to/mit.research.how.to.html">How to do Research At the <span class="caps">MIT</span> AI Lab</a></p>

<p>Thanks to <a href="http://research.edm.uhasselt.be/~lvanacken/blog/">Lode</a> for having a look at an early draft of this post, and for providing the example of replication in <span class="caps">HCI </span>by <a href="http://www.almaden.ibm.com/u/zhai/">Shumin Zhai</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=YkDDHCITUzo:he5OEBoFt7c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=YkDDHCITUzo:he5OEBoFt7c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=YkDDHCITUzo:he5OEBoFt7c:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=YkDDHCITUzo:he5OEBoFt7c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=YkDDHCITUzo:he5OEBoFt7c:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=YkDDHCITUzo:he5OEBoFt7c:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=YkDDHCITUzo:he5OEBoFt7c:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=YkDDHCITUzo:he5OEBoFt7c:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2009/02/07/how-to-efficiently-perform-a-literature-review/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2009/02/07/how-to-efficiently-perform-a-literature-review/</feedburner:origLink></item>
		<item>
		<title>Wendy Ju’s implicit interaction framework</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/T8NfEvfAftw/</link>
		<comments>http://blog.jozilla.net/2008/09/11/wendy-jus-implicit-interaction-framework/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 20:16:04 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[control]]></category>

		<category><![CDATA[paper]]></category>

		<category><![CDATA[proactive]]></category>

		<category><![CDATA[research]]></category>

		<category><![CDATA[ubicomp]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=166</guid>
		<description><![CDATA[I recently read an interesting CSCW 2008 paper by Wendy Ju: Range: Exploring Implicit Interaction through Electronic Whiteboard Design. She describes a framework for implicit interaction and applies it to the design of an interactive whiteboard application called Range. 



The paper is situated in the field of ubiquitous computing. The goal of Mark Weiser&#8217;s vision [...]]]></description>
			<content:encoded><![CDATA[<p>I recently read an interesting <a href="http://www.cscw2008.org/"><span class="caps">CSCW</span> 2008</a> paper by <a href="http://www-cdr.stanford.edu/~wendyju/">Wendy Ju</a>: <a href="http://hci.stanford.edu/publications/2008/cscw_range.pdf">Range: Exploring Implicit Interaction through Electronic Whiteboard Design</a>. She describes a <em>framework for implicit interaction</em> and applies it to the design of an interactive whiteboard application called Range. </p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2008/09/range-overview.png"><img src="http://blog.jozilla.net/wp-content/uploads/2008/09/range-overview-500x332.png" alt="" title="The Range interactive whiteboard" width="500" height="332" class="alignnone size-thumbnail wp-image-170" /></a></p>

<p>The paper is situated in the field of ubiquitous computing. The goal of <a href="http://en.wikipedia.org/wiki/Mark_Weiser">Mark Weiser</a>&#8217;s vision of ubiquitous computing was <a href="http://www.johnseelybrown.com/calmtech.pdf">calm computing</a>, where <em>calm</em> reflects the desired state of mind of the user. Invisibility in ubicomp is more about enabling seamless accomplishment of task than staying beneath notice. Just as a good, well-balanced hammer &#8220;disappears&#8221; in the hands of a carpenter and allows him or her to concentrate on the big picture, computers should participate in a similar magic disappearing act. Calm computing moves between the center and the periphery of attention. The periphery informs without overwhelming the user, but the user can still move to the center to get control. The implicit interaction framework presented in this paper contributes to how calm computing can be effectively realized. It allows to reason about the way users can mitigate actions the system takes, and is a good complement to <a href="http://research.microsoft.com/~horvitz/UIACT.HTM">Eric Horvitz&#8217;s work on mixed-initiative interaction</a>.</p>

<p>Implicit interactions enable communication and action without explicit input or output.One way that an action can be implicit is if the exchange occurs outside the attentional foreground of the user (e.g. auto-saving files, filtering spam, and ubicomp interaction). The other way is if the exchange is initiated by the computer system rather than by the user (e.g. an email alert, screen saver, etc.). Although it may seem strange that something that grabs attention is implicit, the key factor is that the interaction is based on an implied demand for information or action, not an explicit one.</p>

<p>The implicit interaction framework divides the space of possible interactions along the axes of attentional demand and initiative:</p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2008/09/framework.png"><img src="http://blog.jozilla.net/wp-content/uploads/2008/09/framework-500x321.png" alt="" title="Implicit interaction framework" width="500" height="321" class="alignnone size-thumbnail wp-image-168" /></a>
 <br />
<em>Attentional demand</em> is the degree of cognitive and perceptual load imposed on the user by the interactive system. Foreground interactions require a greater degree of focus, concentration and consciousness and are exclusive of other focal targets. Background interactions are peripheral, have less demand and can occur in parallel with other interactions.</p>

<p><em>Initiative</em> is an indicator of how much presumption the interactive system uses in the interaction. Interactions that are initiated and driven by the user explicitly are called reactive interactions, while interactions initiated by the system based on inferred desire or demand are proactive interactions. </p>

<p>The implicit interaction framework builds on <a href="http://www.billbuxton.com/BG_FG.html">Bill Buxton&#8217;s background/foreground model</a>. Buxton&#8217;s model assumes attention and initiative are inherently linked. On the contrary, this framework decouples attention and initiative in two separate axes. Buxton&#8217;s foreground corresponds to the reactive/foregound quadrant, while his background corresponds to the proactive/background quadrant.<br />
 <br />
An example: a word processing program that &#8230;</p>


<ul>
<li>auto-saves because you command it to is situated in the <em>reactive/foreground</em> quadrant</li>
<li>auto-saves because you have set it to do so every 10 minutes is situated in the <em>reactive/background</em> quadrant</li>
<li>auto-saves because it feels that a lot of changes have been made is situated in the <em>proactive/background</em> quadrant</li>
</ul>



<p>Being proactive means the word processing program is acting with greater presumption with respect to the needs and desires of the user.</p>

<p>Designers can manipulate the proactivity and reactivity by (1) dictating the order of actions (does the system act first or wait for the user to act?); or by (2) choosing the degree of initiative (does the sytem act, offer to act, ask if it should act, or merely indicate that it can act?); or by (3) gathering more data to ensure the certainty of the need for an action or when they design features to mitigate the potential cost of error for the action. Even in the reactive realm, the degree of initiative can vary based on the amount that the user needs to maintain ongoing control and oversight of an action in progress.</p>

<p>Ju discusses 3 implicit interaction techniques:</p>


<ul>
<li>user reflection</li>
<li>system demonstration</li>
<li>override</li>
</ul>



<p><em>User reflection</em> is how the system indicates <em>what it feels <strong>the users</strong> are doing or would like to have done</em>.</p>

<p>A good example are modern spell-checking programs. Early versions had to be invoked explicitly, and engaged the user in an explicit dialog about potentially misspelled words to repair. Current spell-checking programs run continuously in the background allowing users to more easily notice potential errors. The implicit alert of this interaction is far more seamless than that of earlier spell-check programs. A similar example is the continous compilation used by modern <span class="caps">IDE</span>s such as <a href="http://www.eclipse.org/">Eclipse</a> and <a href="http://msdn.microsoft.com/en-us/vstudio/">Visual Studio</a>. Earlier programs only showed compile errors when the user explicitly activated the compile command.</p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2008/09/implicit_spellcheck.png"><img src="http://blog.jozilla.net/wp-content/uploads/2008/09/implicit_spellcheck-500x157.png" alt="" title="User reflection in modern spell checking programs" width="500" height="157" class="alignnone size-thumbnail wp-image-169" /></a></p>

<p><em>System demonstration</em> is <em>how the system shows the user what <strong>it</strong> is doing or what it is going to do</em>.</p>

<p>In Range, the whiteboard animates its transition from ambient display mode (where it displays a set of images related to the workspace) to drawing mode (where users can make sketches and diagrams) as a demonstration-of-action that calls more attention to the mode change than a sudden switch would, and provides a handle for override (see later).</p>

<p><em>Override</em> techniques <em>allow users to repair misinterpretation of the user&#8217;s state</em> or <em>to interrupt or stop the system from engaging in proactive action</em>. </p>

<p>This usually occurs after one of the previous techniques (user reflection or system demonstration) alert the user to some inference or action that is undesirable. Override is distinct from &#8220;undo&#8221; because it is targeted at countering the action of the system rather than reverting a command by the user. </p>

<p>An example of override in Range is that in the transition between modes users are able to &#8220;grab&#8221; digital content to use it as part of the whiteboard contents, or to stop the motion of objects that are being moved to make space for drawings.</p>

<p>The main contribution of this framework compared to prior models for implicit interaction lies in the key variable of initiative. Without this variable, it would not be possible to distinguish user reflection techniques from system demonstration techniques or to map the role of override.</p>

<p>In conclusion, a very interesting paper that offers a framework to reason about proactive user interfaces and make sure that users are always in control.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=T8NfEvfAftw:Tvxyk8baSdQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=T8NfEvfAftw:Tvxyk8baSdQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=T8NfEvfAftw:Tvxyk8baSdQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=T8NfEvfAftw:Tvxyk8baSdQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=T8NfEvfAftw:Tvxyk8baSdQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=T8NfEvfAftw:Tvxyk8baSdQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=T8NfEvfAftw:Tvxyk8baSdQ:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=T8NfEvfAftw:Tvxyk8baSdQ:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2008/09/11/wendy-jus-implicit-interaction-framework/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2008/09/11/wendy-jus-implicit-interaction-framework/</feedburner:origLink></item>
		<item>
		<title>Playing around with pybluez</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/Yua340fEb6k/</link>
		<comments>http://blog.jozilla.net/2008/09/05/playing-around-with-pybluez/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 16:06:56 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[bluetooth]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=154</guid>
		<description><![CDATA[We received our new laptops this week. Since they support Bluetooth (just as about any laptop these days), I decided to experiment a bit with detecting nearby Bluetooth devices. A while ago I discovered PyBluez, an easy-to-use Python Bluetooth library by MIT PhD student Albert Huang. The nice thing about it is that it works [...]]]></description>
			<content:encoded><![CDATA[<p>We received our new laptops this week. Since they support Bluetooth (just as about any laptop these days), I decided to experiment a bit with detecting nearby Bluetooth devices. A while ago I discovered <a href="http://code.google.com/p/pybluez/">PyBluez</a>, an easy-to-use Python Bluetooth library by <span class="caps">MIT</span> PhD student <a href="http://people.csail.mit.edu/albert/">Albert Huang</a>. The nice thing about it is that it works both on <span class="caps">GNU</span>/Linux and Windows.</p>

<p>One of the samples is the script <code>inquiry.py</code> which allowed me to detect nearby devices in just a few lines of code. Here it detected mine and Petr&#8217;s cell phones:</p>

<p><a href="http://blog.jozilla.net/wp-content/uploads/2008/09/pybluez1.png"><img src="http://blog.jozilla.net/wp-content/uploads/2008/09/pybluez1-500x312.png" alt="Using PyBluez to detect nearby devices" width="500" height="312" class="size-thumbnail wp-image-163" /></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=Yua340fEb6k:lgva_kCTq8M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=Yua340fEb6k:lgva_kCTq8M:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=Yua340fEb6k:lgva_kCTq8M:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=Yua340fEb6k:lgva_kCTq8M:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=Yua340fEb6k:lgva_kCTq8M:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=Yua340fEb6k:lgva_kCTq8M:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=Yua340fEb6k:lgva_kCTq8M:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=Yua340fEb6k:lgva_kCTq8M:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2008/09/05/playing-around-with-pybluez/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2008/09/05/playing-around-with-pybluez/</feedburner:origLink></item>
		<item>
		<title>Small update on face detection post</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/fazE8dIwtnI/</link>
		<comments>http://blog.jozilla.net/2008/06/27/small-update-on-face-detection-post/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 19:03:28 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[CVtypes]]></category>

		<category><![CDATA[facade]]></category>

		<category><![CDATA[facedetection]]></category>

		<category><![CDATA[opencv]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=146</guid>
		<description><![CDATA[Just a quick update on my previous post. I hooked my code up to a D-Bus daemon, and used it to detect if I was sitting behind my desk or not. 

I had to position the camera a bit lower, because it would sometimes not recognize my face when I was looking at the bottom [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick update on <a href="http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/">my previous post</a>. I hooked my code up to a <a href="http://en.wikipedia.org/wiki/D-Bus">D-Bus</a> daemon, and used it to detect if I was sitting behind my desk or not. </p>

<p>I had to position the camera a bit lower, because it would sometimes not recognize my face when I was looking at the bottom of my screen. Having a dual-monitor setup doesn&#8217;t help either, since you should ideally position the webcam in the middle of the two displays to have good coverage. I positioned the webcam in the middle of the two displays at the bottom and tilted it upwards, which gives good results:</p>

<p><a href='http://blog.jozilla.net/wp-content/uploads/2008/06/dsc00556.jpg'><img src="http://blog.jozilla.net/wp-content/uploads/2008/06/dsc00556-500x500.jpg" alt="" title="Webcam setup" width="500" height="500" class="aligncenter size-thumbnail wp-image-147" /></a></p>

<p>I guesstimated that if the system couldn&#8217;t detect a face for a period of 10 seconds, I would be away from my desk (or at least not paying attention to the screen). I played around a bit with <a href="http://www.pygtk.org/">pygtk</a> and <a href="http://www.galago-project.org/">notify-python</a> to create a status icon and show notification bubbles whenever my status changed. Here&#8217;s what happens when it detects that I&#8217;m away from my desk (notice the bubble in the upper right corner):</p>

<p><a href='http://blog.jozilla.net/wp-content/uploads/2008/06/presence_applet-away.png'><img src="http://blog.jozilla.net/wp-content/uploads/2008/06/presence_applet-away-500x500.png" alt="" title="Away" width="500" height="500" class="aligncenter size-thumbnail wp-image-148" /></a></p>

<p>When I return, the system will change its status icon accordingly and notify me again:</p>

<p><img src="http://blog.jozilla.net/wp-content/uploads/2008/06/presence_applet-bubble-available.png" alt="" title="Available" width="416" height="98" class="aligncenter size-full wp-image-149" /></p>

<p>OpenCV is fun! <img src='http://blog.jozilla.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=fazE8dIwtnI:t4WSEOjmaPM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=fazE8dIwtnI:t4WSEOjmaPM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=fazE8dIwtnI:t4WSEOjmaPM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=fazE8dIwtnI:t4WSEOjmaPM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=fazE8dIwtnI:t4WSEOjmaPM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=fazE8dIwtnI:t4WSEOjmaPM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=fazE8dIwtnI:t4WSEOjmaPM:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=fazE8dIwtnI:t4WSEOjmaPM:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2008/06/27/small-update-on-face-detection-post/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2008/06/27/small-update-on-face-detection-post/</feedburner:origLink></item>
		<item>
		<title>Fun with Python, OpenCV and face detection</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/GnQ5yycw6rg/</link>
		<comments>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 13:08:21 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[CVtypes]]></category>

		<category><![CDATA[facade]]></category>

		<category><![CDATA[facedetection]]></category>

		<category><![CDATA[opencv]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=144</guid>
		<description><![CDATA[I had some fun with Gary Bishop&#8217;s OpenCV Python wrapper this morning. I wanted to try out OpenCV for detecting faces using a web cam. This could be used for instance to see if someone is sitting behind his desk or not. I used Gary&#8217;s Python wrapper since I didn&#8217;t want to code in C++.

I [...]]]></description>
			<content:encoded><![CDATA[<p>I had some fun with <a href="http://wwwx.cs.unc.edu/~gb/wp/blog/2007/02/04/python-opencv-wrapper-using-ctypes/">Gary Bishop&#8217;s OpenCV Python wrapper</a> this morning. I wanted to try out <a href="http://www.intel.com/technology/computing/opencv/">OpenCV</a> for detecting faces using a web cam. This could be used for instance to see if someone is sitting behind his desk or not. I used Gary&#8217;s <a href="http://www.python.org/">Python</a> wrapper since I didn&#8217;t want to code in C++.</p>

<p>I didn&#8217;t know where to start, so I searched for existing OpenCV face detection examples. I found a <a href="http://eclecti.cc/code/face-detection-on-the-olpc-xo">blog post by Nirav Patel</a> explaining how to use OpenCV&#8217;s official Python bindings to perform face detection. Nirav will be <a href="http://eclecti.cc/bytes/the-summer-of-nirav">working on a webcam module</a> for <a href="http://www.pygame.org/">Pygame</a> for the <a href="http://code.google.com/soc/2008/">Google Summer of Code</a>. </p>

<p>I managed to rewrite Nirav&#8217;s example to get it working with <a href="http://sourceforge.net/project/showfiles.php?group_id=82407&amp;package_id=232299&amp;release_id=509128">CVtypes</a>:</p>

<p><a href='http://blog.jozilla.net/wp-content/uploads/2008/06/cvtypes_face-recognition.png'><img src="http://blog.jozilla.net/wp-content/uploads/2008/06/cvtypes_face-recognition-500x500.png" alt="" title="cvtypes_face-recognition" width="500" height="500" class="aligncenter size-thumbnail wp-image-145" /></a></p>

<p>Here&#8217;s the code. Although it&#8217;s just a quick and dirty hack, it might be useful to others. It requires CVtypes and OpenCV, and was tested on Ubuntu Hardy with a <a href="http://www.amazon.com/Logitech-961465-0403-QuickCam-Communicate-Deluxe/dp/B000RZSHQM">Logitech QuickCam Communicate Deluxe</a> webcam. You will need Nirav&#8217;s <a href="http://eclecti.cc/files/2008/03/haarcascade_frontalface_alt.xml">Haar cascade file</a> as well.</p>


<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
<span style="color: #ff7700;font-weight:bold;">from</span> CVtypes <span style="color: #ff7700;font-weight:bold;">import</span> cv
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> detect<span style="color: black;">&#40;</span>image<span style="color: black;">&#41;</span>:
    image_size = cv.<span style="color: black;">GetSize</span><span style="color: black;">&#40;</span>image<span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># create grayscale version</span>
    grayscale = cv.<span style="color: black;">CreateImage</span><span style="color: black;">&#40;</span>image_size, <span style="color: #ff4500;">8</span>, <span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
    cv.<span style="color: black;">CvtColor</span><span style="color: black;">&#40;</span>image, grayscale, cv.<span style="color: black;">BGR2GRAY</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># create storage</span>
    storage = cv.<span style="color: black;">CreateMemStorage</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span>
    cv.<span style="color: black;">ClearMemStorage</span><span style="color: black;">&#40;</span>storage<span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># equalize histogram</span>
    cv.<span style="color: black;">EqualizeHist</span><span style="color: black;">&#40;</span>grayscale, grayscale<span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># detect objects</span>
    cascade = cv.<span style="color: black;">LoadHaarClassifierCascade</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'haarcascade_frontalface_alt.xml'</span>, cv.<span style="color: black;">Size</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span>,<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
    faces = cv.<span style="color: black;">HaarDetectObjects</span><span style="color: black;">&#40;</span>grayscale, cascade, storage, <span style="color: #ff4500;">1.2</span>, <span style="color: #ff4500;">2</span>, cv.<span style="color: black;">HAAR_DO_CANNY_PRUNING</span>, cv.<span style="color: black;">Size</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">50</span>, <span style="color: #ff4500;">50</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">if</span> faces:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">'face detected!'</span>
        <span style="color: #ff7700;font-weight:bold;">for</span> i <span style="color: #ff7700;font-weight:bold;">in</span> faces:
            cv.<span style="color: black;">Rectangle</span><span style="color: black;">&#40;</span>image, cv.<span style="color: black;">Point</span><span style="color: black;">&#40;</span> <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>i.<span style="color: black;">x</span><span style="color: black;">&#41;</span>, <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>i.<span style="color: black;">y</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>,
                         cv.<span style="color: black;">Point</span><span style="color: black;">&#40;</span><span style="color: #008000;">int</span><span style="color: black;">&#40;</span>i.<span style="color: black;">x</span> + i.<span style="color: black;">width</span><span style="color: black;">&#41;</span>, <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>i.<span style="color: black;">y</span> + i.<span style="color: black;">height</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>,
                         cv.<span style="color: black;">RGB</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">0</span>, <span style="color: #ff4500;">255</span>, <span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span>, <span style="color: #ff4500;">3</span>, <span style="color: #ff4500;">8</span>, <span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> __name__ == <span style="color: #483d8b;">&quot;__main__&quot;</span>:
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;OpenCV version: %s (%d, %d, %d)&quot;</span> <span style="color: #66cc66;">%</span> <span style="color: black;">&#40;</span>cv.<span style="color: black;">VERSION</span>,
                                               cv.<span style="color: black;">MAJOR_VERSION</span>,
                                               cv.<span style="color: black;">MINOR_VERSION</span>,
                                               cv.<span style="color: black;">SUBMINOR_VERSION</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;Press ESC to exit ...&quot;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># create windows</span>
    cv.<span style="color: black;">NamedWindow</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Camera'</span>, cv.<span style="color: black;">WINDOW_AUTOSIZE</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># create capture device</span>
    device = <span style="color: #ff4500;">0</span> <span style="color: #808080; font-style: italic;"># assume we want first device</span>
    capture = cv.<span style="color: black;">CreateCameraCapture</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span>
    cv.<span style="color: black;">SetCaptureProperty</span><span style="color: black;">&#40;</span>capture, cv.<span style="color: black;">CAP_PROP_FRAME_WIDTH</span>, <span style="color: #ff4500;">640</span><span style="color: black;">&#41;</span>
    cv.<span style="color: black;">SetCaptureProperty</span><span style="color: black;">&#40;</span>capture, cv.<span style="color: black;">CAP_PROP_FRAME_HEIGHT</span>, <span style="color: #ff4500;">480</span><span style="color: black;">&#41;</span>    
&nbsp;
    <span style="color: #808080; font-style: italic;"># check if capture device is OK</span>
    <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> capture:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;Error opening capture device&quot;</span>
        <span style="color: #dc143c;">sys</span>.<span style="color: black;">exit</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">while</span> <span style="color: #ff4500;">1</span>:
        <span style="color: #808080; font-style: italic;"># do forever</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># capture the current frame</span>
        frame = cv.<span style="color: black;">QueryFrame</span><span style="color: black;">&#40;</span>capture<span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> frame <span style="color: #ff7700;font-weight:bold;">is</span> <span style="color: #008000;">None</span>:
            <span style="color: #ff7700;font-weight:bold;">break</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># mirror</span>
        cv.<span style="color: black;">Flip</span><span style="color: black;">&#40;</span>frame, <span style="color: #008000;">None</span>, <span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># face detection</span>
        detect<span style="color: black;">&#40;</span>frame<span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># display webcam image</span>
        cv.<span style="color: black;">ShowImage</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Camera'</span>, frame<span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># handle events</span>
        k = cv.<span style="color: black;">WaitKey</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">10</span><span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #ff7700;font-weight:bold;">if</span> k == 0x1b: <span style="color: #808080; font-style: italic;"># ESC</span>
            <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">'ESC pressed. Exiting ...'</span>
            <span style="color: #ff7700;font-weight:bold;">break</span></pre></div></div>




<p>A known problem is that pressing the escape key doesn&#8217;t quit the program. Might be something wrong in my use of the cv.WaitKey function. Meanwhile you can just use Ctrl+C. All in all, the face detection works pretty well. It doesn&#8217;t recognize multiple faces yet, but that might be due to the training data. It would be interesting to experiment with OpenCV&#8217;s support for eye tracking in the future.</p>

<p><ins datetime="2008-06-28T16:12+01:00"><strong>Update:</strong> the script <em>does</em> recognize multiple faces in a frame. Yesterday when Alex stood at my desk, it recognized his face as well. I think it didn&#8217;t work before because I used <code>cv.Size(100, 100)</code> for the last parameter of <code>cv.HaarDetectObjects</code> instead of <code>cv.Size(50, 50)</code>. This parameter indicates the minimum face size (in pixels). When people were standing around my desk, they were usually farther away from the camera. Their face was then probably smaller than 100&#215;100 pixels.<br />
</ins></p>

<p>Just a quick note on <a href="http://docs.python.org/lib/module-ctypes.html">ctypes</a>. I remember when I created <a href="http://jozilla.net/software/pydgetrfid">PydgetRFID</a> that I tried to use libphidgets&#8217; <a href="http://www.swig.org/"><span class="caps">SWIG</span></a>-generated Python bindings, but couldn&#8217;t get them to work properly. I had read about ctypes, and decided to use it for creating my own wrapper around <a href="http://libphidgets.alioth.debian.org/">libphidgets</a>. Within a few hours I had a working prototype. When you&#8217;re struggling with <span class="caps">SWIG</span>-generated Python bindings, or have some C library without bindings that you would like to use, give ctypes a try. Gary Bishop wrote about a couple of interesting <a href="http://wwwx.cs.unc.edu/~gb/wp/blog/2007/02/11/ctypes-tricks/">ctypes tricks</a> to make the process easier.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=GnQ5yycw6rg:RVK-gwNbKfI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=GnQ5yycw6rg:RVK-gwNbKfI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=GnQ5yycw6rg:RVK-gwNbKfI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=GnQ5yycw6rg:RVK-gwNbKfI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=GnQ5yycw6rg:RVK-gwNbKfI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=GnQ5yycw6rg:RVK-gwNbKfI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=GnQ5yycw6rg:RVK-gwNbKfI:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=GnQ5yycw6rg:RVK-gwNbKfI:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/</feedburner:origLink></item>
		<item>
		<title>Bzr vs git, the sequel</title>
		<link>http://feedproxy.google.com/~r/InTraction/~3/14BY7oSZOZc/</link>
		<comments>http://blog.jozilla.net/2008/06/26/bzr-vs-git-the-sequel/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 20:17:23 +0000</pubDate>
		<dc:creator>Jo Vermeulen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[bzr]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[rcs]]></category>

		<guid isPermaLink="false">http://blog.jozilla.net/?p=143</guid>
		<description><![CDATA[A while ago I noticed Jordan Mantha repeated my old bzr vs git benchmark.

I was curious to see if things changed. It seemed that both systems have improved in speed, but there were no shocking results.

There are some differences between our experiments though. Jordan wonders how long it took for me to commit my changes [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I noticed Jordan Mantha <a href="http://laserjock.wordpress.com/2008/05/08/git-and-bzr-historical-performance-comparison/">repeated</a> my <a href="http://blog.jozilla.net/2006/03/03/bzr-versus-git/">old bzr vs git benchmark</a>.</p>

<p>I was curious to see if things changed. It seemed that both systems have improved in speed, but there were no shocking results.</p>

<p>There are some differences between our experiments though. Jordan wonders how long it took for me to commit my changes after adding. In fact, I didn&#8217;t do that directly but did a diff before committing. I don&#8217;t know why, I think I just forgot to commit. This clearly showed the big difference between bzr and git before and after committing. Bzr was a lot faster than git before committing, while git outperforms bzr after committing. I guess this is because git makes heavy use of data structures created during a commit.</p>

<p>Bzr took almost 4 minutes to diff after committing, while git only took about a second. This clearly showed a problem with bzr, it started walking the entire tree again, while git could immediately see that nothing changed. Bzr exacerbated the same problem when performing a status, it was unnecessarily slow. Jordan&#8217;s tests showed that the status problem was solved, but doing a diff when nothing has changed is still a major performance issue on big trees.</p>

<p>Committing a small change was a lot faster for both git and bzr. And it should! This is after all a really common operation.</p>

<p>Jordan did <a href="http://laserjock.wordpress.com/2008/05/09/bzr-git-and-hg-performance-on-the-linux-tree/" title="Mercurial">another comparison with bzr, git and hg</a>, which showed that <a href="http://www.selenic.com/mercurial/">hg</a> is actually fairly close to git in terms of performance.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/InTraction?a=14BY7oSZOZc:xVqUMkB2EvY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/InTraction?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=14BY7oSZOZc:xVqUMkB2EvY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/InTraction?i=14BY7oSZOZc:xVqUMkB2EvY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=14BY7oSZOZc:xVqUMkB2EvY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=14BY7oSZOZc:xVqUMkB2EvY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=14BY7oSZOZc:xVqUMkB2EvY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/InTraction?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/InTraction?a=14BY7oSZOZc:xVqUMkB2EvY:vTIO0qPIxYU"><img src="http://feeds.feedburner.com/~ff/InTraction?i=14BY7oSZOZc:xVqUMkB2EvY:vTIO0qPIxYU" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.jozilla.net/2008/06/26/bzr-vs-git-the-sequel/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.jozilla.net/2008/06/26/bzr-vs-git-the-sequel/</feedburner:origLink></item>
	</channel>
</rss>
