<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cpbotha.net &#187; nerd</title>
	<atom:link href="http://cpbotha.net/category/nerd/feed/" rel="self" type="application/rss+xml" />
	<link>http://cpbotha.net</link>
	<description>voices in my head</description>
	<lastBuildDate>Sat, 28 Jan 2012 22:23:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>You have beautiful ize. [Weekly Head Voices #62]</title>
		<link>http://cpbotha.net/2011/11/19/you-have-beautiful-ize-weekly-head-voices-62/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=you-have-beautiful-ize-weekly-head-voices-62</link>
		<comments>http://cpbotha.net/2011/11/19/you-have-beautiful-ize-weekly-head-voices-62/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 21:29:09 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[weekly head voices]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[american english]]></category>
		<category><![CDATA[british english]]></category>
		<category><![CDATA[einstein]]></category>
		<category><![CDATA[hawking]]></category>
		<category><![CDATA[top gear]]></category>
		<category><![CDATA[visualisation]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=1564</guid>
		<description><![CDATA[I completely lack the genes that usually cause human males to have a thing for cars, but I do love Top Gear. This trailer for a fictional 60s detective show, made by Jeremy Clarkson, James May and Richard Hammond, encapsulates &#8230; <a href="http://cpbotha.net/2011/11/19/you-have-beautiful-ize-weekly-head-voices-62/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2003/09/21/61-words/' rel='bookmark' title='61 words'>61 words</a></li>
<li><a href='http://cpbotha.net/2010/02/09/weekly-head-voices-12-ceci-nest-pas-une-bibliotheque/' rel='bookmark' title='Weekly Head Voices #12: Ceci n&#8217;est pas une bibliothèque.'>Weekly Head Voices #12: Ceci n&#8217;est pas une bibliothèque.</a></li>
<li><a href='http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/' rel='bookmark' title='Weekly Head Voices #18: Refactor my dogfood.'>Weekly Head Voices #18: Refactor my dogfood.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>I completely lack the genes that usually cause human males to have a thing for cars, but I do love Top Gear. This trailer for a fictional 60s detective show, made by Jeremy Clarkson, James May and Richard Hammond, encapsulates many of the reasons why:</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/qLp4FhDAfQk?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Moustaches, guns, girls, cars and Hammond karate-chopping the porter at Playboy Club London for absolutely no reason whatsoever at 41 seconds can be nothing but 100% pure AWESOME.</p>
<p>It&#8217;s crazily busy at the moment, for a large part due to the extra load of having to teach and revamp, AT THE SAME TIME, the <a title="TU Delt DataVis course" href="http://graphics.tudelft.nl/Courses/in4086">TU Delft&#8217;s postgraduate Data Visualization course</a>. I&#8217;ve chucked out the written exam and the structured lab work, and exchanged it for paper reading, class discussion and four independent projects, inspired by positive experience with my <a title="TU Delft postgraduate MedVis course" href="http://graphics.tudelft.nl/Courses/in4307">Medical Visualization Ninja Training Course</a> (third year in the running, Ninjas all over the place!), the <a title="infovis in stellenbosch" href="http://cpbotha.net/2010/11/21/teaching-infovis-in-stellenbosch/">postgraduate InfoVis course I gave at Stellenbosch</a> and of course the teaching materials of esteemed colleagues at UBC, Harvard, Berkeley and Stanford. With a bit of luck, we will soon deliver a whole class of new-style DataVis Ninjas.</p>
<p>At a recent conference, I ran into an erudite half-British colleague from the far North, who in a few minutes almost managed to turn my world into rubble. You see, I&#8217;ve always proudly promoted the use of the -ise forms of certain words, such as visualise, realise, colonise and so forth, these being examples of British English. (Obviously, I adapt when American English is required.)</p>
<p>It turns out that, as is the case with life in general, it&#8217;s unfortunately not as simple as that.</p>
<p><a title="wikipedia article on britsh vs english spelling" href="http://en.wikipedia.org/wiki/American_and_British_English_spelling_differences#-ise.2C_-ize_.28-isation.2C_-ization.29">It turns out</a> that many of the -ise words are originally from the Greek or the Latin with &#8220;-ize&#8221; endings, and therefore the Oxford spelling prefers their use, although it accepts the &#8220;-ise&#8221; forms as well. On the other hand, the Cambridge University Press, as well as the mainstream media and most of the public in Britain and the former colonies, has a strong preference for the &#8220;-ise&#8221; forms. Certain other words like for example advertise, advise and surprise always take the &#8220;-ise&#8221; form in British English.</p>
<p>So now I&#8217;m faced with this conundrum. It would otherwise not have been such an issue, but the words &#8220;visualise&#8221; and &#8220;visualisation&#8221; come up quite often during my work day. Sticking to &#8220;-ise&#8221; is easier and still correct when in British English mode, but &#8220;-ize&#8221; for those few words of Greek  and Latin origin could perhaps be considered more correct, and has the great advantage of allowing me to standardise on &#8220;visualize&#8221; as the canonical form of that important term. However, then I would run the risk of confusing the &#8220;-ize&#8221; and the true &#8220;-ise&#8221; words in Oxford English, potentially leading to painful embarrassment at the many cocktail parties that I frequent.</p>
<p>So you see, the Universe is just full of mysteries. Another mystery that has plagued humankind for decades, is what would happen if Stephen Hawking and Albert Einstein got involved in a rap battle. Well humankind, wonder no more:</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/zn7-fVtT16k?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Ok kids, thank you for tuning in again. Have a great week, I hope to see you again soon!</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2011/11/19/you-have-beautiful-ize-weekly-head-voices-62/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2011%252F11%252F19%252Fyou-have-beautiful-ize-weekly-head-voices-62%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fis.gd%2FVTdv5x%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22You%20have%20beautiful%20ize.%20%5BWeekly%20Head%20Voices%20%2362%5D%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2003/09/21/61-words/' rel='bookmark' title='61 words'>61 words</a></li>
<li><a href='http://cpbotha.net/2010/02/09/weekly-head-voices-12-ceci-nest-pas-une-bibliotheque/' rel='bookmark' title='Weekly Head Voices #12: Ceci n&#8217;est pas une bibliothèque.'>Weekly Head Voices #12: Ceci n&#8217;est pas une bibliothèque.</a></li>
<li><a href='http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/' rel='bookmark' title='Weekly Head Voices #18: Refactor my dogfood.'>Weekly Head Voices #18: Refactor my dogfood.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2011/11/19/you-have-beautiful-ize-weekly-head-voices-62/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Samsung NP300V3A laptop is welcomed into the family!</title>
		<link>http://cpbotha.net/2011/08/16/new-samsung-np300v3a-laptop-is-welcomed-into-the-family/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-samsung-np300v3a-laptop-is-welcomed-into-the-family</link>
		<comments>http://cpbotha.net/2011/08/16/new-samsung-np300v3a-laptop-is-welcomed-into-the-family/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 11:03:53 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[nerd]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[new computer]]></category>
		<category><![CDATA[np300v3a]]></category>
		<category><![CDATA[samsung]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=1491</guid>
		<description><![CDATA[It&#8217;s traditional around these parts that I write a post whenever I get to welcome a new computer into the family. In July of 2002 it was Dr. Evil, more a brick than a laptop, in May of 2004 it &#8230; <a href="http://cpbotha.net/2011/08/16/new-samsung-np300v3a-laptop-is-welcomed-into-the-family/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2003/07/28/more-itk-goodness/' rel='bookmark' title='More ITK goodness'>More ITK goodness</a></li>
<li><a href='http://cpbotha.net/2004/01/27/that-laptop-that-you-were-going-to-buy-me/' rel='bookmark' title='That laptop that you were going to buy me'>That laptop that you were going to buy me</a></li>
<li><a href='http://cpbotha.net/2008/04/27/new-work-laptop/' rel='bookmark' title='New work laptop'>New work laptop</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>It&#8217;s traditional around these parts that I write a post whenever I get to welcome a new computer into the family. In <a title="dr evil laptop" href="http://cpbotha.net/2002/07/17/toe-matj-toe-sei-not-enaf-taim/">July of 2002 it was Dr. Evil</a>, more a brick than a laptop, in <a title="NC6000 post" href="http://cpbotha.net/2004/05/26/laptop-no-2/">May of 2004 it was my beloved 14&#8243; HP NC6000 laptop</a>, in <a title="nc8430 post" href="http://cpbotha.net/2006/07/22/new-new-laptop-laptop/">July of 2006 I met my 15.4&#8243; HP NC8430</a> (employer-supplied, thank you employer!), which in turn led to <a title="15 seconds of blog fame" href="http://cpbotha.net/2007/04/10/a-critical-look-at-ubuntu-feisty-beta-on-an-hp-nc8430-laptop/">this Ubuntu-critical blog post of mine</a> that attracted 50000 (yes, fifty thousand) readers over 2 days, <a title="bees blog post" href="http://cpbotha.net/2008/07/15/pleasure-apparatus-2008/">in July of 2008 I splurged on a lovely quad core desktop machine</a>, in <a title="asus 1005HA-H netbook" href="http://cpbotha.net/2009/09/05/weekly-head-voices-for-week-36/">September of 2009 I acquired an Asus 1005HA-H netbook</a>, and in <a title="dell e6410 post" href="http://cpbotha.net/2010/11/21/an-inside-job-weekly-head-voices-33/">November of 2010 my employer got me a super-strong Dell Latitude E6410 laptop</a>.</p>
<p>Today I welcomed the latest and probably prettiest laptop so far into the family:</p>
<div id="attachment_1492" class="wp-caption aligncenter" style="width: 310px"><a href="http://cpbotha.net/wp-content/uploads/2011/08/samsung_np300v3a.jpg"><img class="size-medium wp-image-1492" title="samsung_np300v3a" src="http://cpbotha.net/wp-content/uploads/2011/08/samsung_np300v3a-300x260.jpg" alt="" width="300" height="260" /></a><p class="wp-caption-text">Pretty Samsung NP300V3A-S01NL laptop!</p></div>
<p>Behold the <a title="tweakers pricewatch page for the Samsung NP300V3A-S01NL" href="http://tweakers.net/pricewatch/286118/samsung-np300v3a-s01nl.html">Samsung NP300V3A-S01NL (Series 3)</a>. It has an absolutely gorgeous-to-type-on chiclet keyboard, a 13.3&#8243; matte (!) display, NVIDIA GT520m graphics with Optimus, second-gen Core i5 2410m, 4G RAM and 500G disc, all for a terribly reasonable price, which is important, as this one is not employer-bought. A man needs a laptop like this for his top-secret personal biznizz, yes?</p>
<p>It&#8217;s running Windows Home Premium, so I have to use Truecrypt instead of EFS for encrypting my biznizz, which is stored mostly in my Dropbox pro account. The battery life is quite impressive probably due in part to Optimus switching. The drawback of this is that I probably won&#8217;t be putting Linux on here anytime soon. These days you can use both the graphics adapters in Linux, but both of them stay active all the time, so it kills the battery really quickly.</p>
<p>We learn at least two more things from this post:</p>
<ol>
<li>I do seem to exhibit a certain obsessive compulsive behaviour when it comes to keeping track of the arrival dates of the various computers in my life.</li>
<li>When spring comes around, hide my credit card.</li>
</ol>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2011/08/16/new-samsung-np300v3a-laptop-is-welcomed-into-the-family/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2011%252F08%252F16%252Fnew-samsung-np300v3a-laptop-is-welcomed-into-the-family%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fis.gd%2Fv0n9EZ%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22New%20Samsung%20NP300V3A%20laptop%20is%20welcomed%20into%20the%20family%21%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2003/07/28/more-itk-goodness/' rel='bookmark' title='More ITK goodness'>More ITK goodness</a></li>
<li><a href='http://cpbotha.net/2004/01/27/that-laptop-that-you-were-going-to-buy-me/' rel='bookmark' title='That laptop that you were going to buy me'>That laptop that you were going to buy me</a></li>
<li><a href='http://cpbotha.net/2008/04/27/new-work-laptop/' rel='bookmark' title='New work laptop'>New work laptop</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2011/08/16/new-samsung-np300v3a-laptop-is-welcomed-into-the-family/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Schloss Dagstuhl: Computer Scientist Heaven</title>
		<link>http://cpbotha.net/2011/06/19/schloss-dagstuhl-computer-scientist-heaven/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=schloss-dagstuhl-computer-scientist-heaven</link>
		<comments>http://cpbotha.net/2011/06/19/schloss-dagstuhl-computer-scientist-heaven/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 19:56:43 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[nerd]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[dagstuhl]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=1386</guid>
		<description><![CDATA[Somewhere in a remote but picturesque location in southern Germany, there&#8217;s a special castle called Schloss Dagstuhl. Every week, the castle fills up with a smallish group of Exceptionally Privileged Computer Scientists, who can only go there Because They Have &#8230; <a href="http://cpbotha.net/2011/06/19/schloss-dagstuhl-computer-scientist-heaven/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2002/05/22/im-an-engineer-in-the-body-of-a-computer-scientist/' rel='bookmark' title='I&#8217;m an engineer in the body of a computer scientist.'>I&#8217;m an engineer in the body of a computer scientist.</a></li>
<li><a href='http://cpbotha.net/2003/04/11/scum-of-the-earth/' rel='bookmark' title='Scum of the Earth'>Scum of the Earth</a></li>
<li><a href='http://cpbotha.net/2009/11/07/weekly-head-voices-8-uninterruptible-fun-supply/' rel='bookmark' title='Weekly Head Voices #8: Uninterruptible Fun Supply'>Weekly Head Voices #8: Uninterruptible Fun Supply</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>Somewhere in a remote but picturesque location in southern Germany, there&#8217;s a special castle called Schloss Dagstuhl. Every week, the castle fills up with a smallish group of Exceptionally Privileged Computer Scientists, who can only go there Because They Have Been Invited. Every week hosts a different field; In my case this was the Scientific Visualization seminar, one of the oldest participating groups. Everything has been setup <em>just so</em> to guarantee a perfect computer sciencey week for all guests. Because I&#8217;ve already been boring too many people with this story in person, I thought it prudent to write it up. Let&#8217;s hope it&#8217;s not a first (and second!) rule of Fight Club situation, in which case posting frequency over here might drop <em>quite</em> drastically.</p>
<div id="attachment_1390" class="wp-caption aligncenter" style="width: 310px"><a href="http://cpbotha.net/wp-content/uploads/2011/06/Dagstuhl_DSC02285.jpg"><img class="size-medium wp-image-1390" title="Dagstuhl_DSC02285" src="http://cpbotha.net/wp-content/uploads/2011/06/Dagstuhl_DSC02285-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Schloss Dagstuhl, picture courtesy of Wikipedia.</p></div>
<p>To begin with, the meals are exquisite, three times a day, every day. As we all know, the path to a computer scientist&#8217;s heart is through buying them new gadgets, but feeding them well is a great backup plan. Another very nice touch is the fact that seating is deliberately randomised, meaning that your introvert self is forced to sit at the table with a different group of guests during each lunch and dinner, in turn meaning that even if you try otherwise, you will probably get to have a good conversation with every one of the fifty attendees.</p>
<p>In the case of our seminar, the working day consists of presentations in blocks of three or four, followed by a longer block of discussion on all the preceding presentations, panel style. Attendees were all asked not just to give a standard scientific presentation, but to discuss open problems and future challenges in their respective sub-fields. I (and many others, judging by the aggregated post-meeting feedback) really enjoyed this format. The presentations made one think, and the discussion blocks were long enough to really get into the details. You can check out abstracts and slides on <a title="site with Dagstuhl SciVis 2011 materials" href="http://www.dagstuhl.de/mat/index.en.phtml?11231">the seminar website</a>.</p>
<p>After a full day of quite intensive discussion, there were breakout sessions during which four subgroups started working on the various chapters of a new Springer book that should appear sometime early in next year. The book will deal with multi-field, uncertainty, biomedical and scalable visualization, and it has the makings of being a keeper.</p>
<p>The other extremely important magic bit about this castle is the abundance of real coffee machines (ones that grind coffee beans for every cup), snack corners and, uhm, beer fridges. You can&#8217;t really go anywhere, as you&#8217;re in the middle of nowhere, so after dinner the conversations tend to continue till late in the night, conversant stamina enhanced by said coffee and beer facilities. Evil science plans were made, good old-fashioned deep conversations were had and the early next morning consequences were flatly ignored. I haven&#8217;t laughed quite so much in a long time, but <em>that</em> part of the programme prefers, and has the right, to remain completely silent.</p>
<p>If you ever get <em>the</em> invitation, don&#8217;t hesitate for a second to accept: You shall return an exhausted but terribly happy computer nerd.</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2011/06/19/schloss-dagstuhl-computer-scientist-heaven/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2011%252F06%252F19%252Fschloss-dagstuhl-computer-scientist-heaven%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fis.gd%2Fetltf9%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22Schloss%20Dagstuhl%3A%20Computer%20Scientist%20Heaven%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2002/05/22/im-an-engineer-in-the-body-of-a-computer-scientist/' rel='bookmark' title='I&#8217;m an engineer in the body of a computer scientist.'>I&#8217;m an engineer in the body of a computer scientist.</a></li>
<li><a href='http://cpbotha.net/2003/04/11/scum-of-the-earth/' rel='bookmark' title='Scum of the Earth'>Scum of the Earth</a></li>
<li><a href='http://cpbotha.net/2009/11/07/weekly-head-voices-8-uninterruptible-fun-supply/' rel='bookmark' title='Weekly Head Voices #8: Uninterruptible Fun Supply'>Weekly Head Voices #8: Uninterruptible Fun Supply</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2011/06/19/schloss-dagstuhl-computer-scientist-heaven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I crushed the GSVideo problematic frame error!</title>
		<link>http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=i-crushed-the-gsvideo-problematic-frame-error</link>
		<comments>http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 20:44:27 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[nerd]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[gsvideo]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=1233</guid>
		<description><![CDATA[Nerd warning: This post really belongs on my nerd blog VXLabs.com, but as this blog has a rich tradition of popular processing posts, I&#8217;m posting it here. GSVideo is a brilliant library that you can use in processing to capture &#8230; <a href="http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/' rel='bookmark' title='Processing + GSVideo + NyARToolkit on Linux x86_64'>Processing + GSVideo + NyARToolkit on Linux x86_64</a></li>
<li><a href='http://cpbotha.net/2003/03/17/suspend-to-disc-update/' rel='bookmark' title='Suspend-to-disc update'>Suspend-to-disc update</a></li>
<li><a href='http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/' rel='bookmark' title='Processing + NyARToolkit + multiple marker tracking'>Processing + NyARToolkit + multiple marker tracking</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p><em>Nerd warning: This post really belongs on my nerd blog <a title="VXLabs.com, my favourite nerd blog!" href="http://vxlabs.com/">VXLabs.com</a>, but as this blog has a rich tradition of popular <a title="All posts on this site tagged with &quot;processing&quot;." href="http://cpbotha.net/tag/processing/">processing posts</a>, I&#8217;m posting it here.</em></p>
<p><a title="Debugging by mikemol, on Flickr" href="http://www.flickr.com/photos/28208534@N07/4047355843/"><img src="http://farm3.static.flickr.com/2676/4047355843_0fd2fa0036_m.jpg" alt="Debugging" width="240" height="180" /></a></p>
<p><a title="GSVideo website" href="http://gsvideo.sourceforge.net/">GSVideo</a> is a brilliant library that you can use in <a title="processing website" href="http://processing.org/">processing</a> to capture live video, on Windows, Linux and OSX, and it&#8217;s a huge improvement over the built-in capturing support. Unfortunately, a number of us (including some of the 123 students we got to build augmented reality music instruments this September) have been running into a problematic frame error crash that meant captures didn&#8217;t last for very long before unceremoniously crashing the application. Error info and stack trace look something like the following (edited for brevity):</p>
<pre class="brush: plain; title: ; notranslate">
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c342eee, pid=1564, tid=2052
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode windows-x86 )
# Problematic frame:
# C  [msvcr71.dll+0x2eee]
#
---------------  T H R E A D  ---------------

Current thread (0x18db7000):  JavaThread &quot;Animation Thread&quot; [_thread_in_native, id=2052, stack(0x1bfd0000,0x1c020000)]

Stack: [0x1bfd0000,0x1c020000],  sp=0x1c01f8a0,  free space=13e1c01f384k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [msvcr71.dll+0x2eee]
C  1
J  java.nio.Bits.copyToByteArray(JLjava/lang/Object;JJ)V
j  java.nio.DirectIntBufferU.get([III)Ljava/nio/IntBuffer;+126
j  java.nio.IntBuffer.get([I)Ljava/nio/IntBuffer;+5
j  codeanticode.gsvideo.GSCapture.read()V+24
j  CathetAR.draw()V+22
</pre>
<p>Read more about it on this <a title="forum thread 1 concerning the problematic frame crash" href="http://forum.processing.org/topic/gsvideo-0-6-crash-problem">forum thread</a>.</p>
<p>In any case, today I spent some hours I don&#8217;t really have and finally managed to crush it. Turns out, and some of you will probably not be surprised, that it was a threading problem. The capture event handler invokeEvent() and the read() call were being interleaved, and the buffer they were using is also not thread-safe. Doh. Some synchronization here and there, and an extra capture buffer, now I can&#8217;t get it to crash anymore.</p>
<p>Get the <a title="gsvideo problematic frame fix" href="http://cpbotha.net/files/gsvideo-20110203-patch-20110304/gsvideo-20110203-problematic-frame-fix-cpbotha.diff">patch here</a>, and a <a title="patched and built GSVideo.jar" href="http://cpbotha.net/files/gsvideo-20110203-patch-20110304/GSVideo.jar">patched GSVideo.jar</a> here. Both of these are for the GSVideo 20110203 test version. If you can&#8217;t patch and build it yourself, just copy my GSVideo.jar over the GSVideo.jar in your unpacked GSVideo 20110203 plugin directory (sub-directory library). <strong>Update: See below, GSVideo 0.8 has been released and now contains my patch. Rather get the 0.8 download!</strong></p>
<p>Leave me a comment if this helps!</p>
<h3>Update on 2011-03-06</h3>
<p>Andres Colubri, author of GSVideo, has refined and <a title="gsvideo changeset integrating crash fix" href="http://gsvideo.svn.sourceforge.net/viewvc/gsvideo/trunk/src/codeanticode/gsvideo/GSCapture.java?r1=152&amp;r2=151&amp;pathrev=152">integrated</a> my patch. The next GSVideo release (0.8 and newer) should have this fix.</p>
<h3>Update on 2011-03-15</h3>
<p>Andres has just released GSVideo 0.8, which integrates my fix and many other improvements. Go read his <a title="gsvideo 0.8 release post" href="http://codeanticode.wordpress.com/2011/03/15/gsvideo-0-8/">0.8 release post</a>!</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2011%252F03%252F04%252Fi-crushed-the-gsvideo-problematic-frame-error%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fis.gd%2FNMIKU8%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22I%20crushed%20the%20GSVideo%20problematic%20frame%20error%21%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/' rel='bookmark' title='Processing + GSVideo + NyARToolkit on Linux x86_64'>Processing + GSVideo + NyARToolkit on Linux x86_64</a></li>
<li><a href='http://cpbotha.net/2003/03/17/suspend-to-disc-update/' rel='bookmark' title='Suspend-to-disc update'>Suspend-to-disc update</a></li>
<li><a href='http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/' rel='bookmark' title='Processing + NyARToolkit + multiple marker tracking'>Processing + NyARToolkit + multiple marker tracking</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Moar internets!</title>
		<link>http://cpbotha.net/2011/02/11/moar-internets/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=moar-internets</link>
		<comments>http://cpbotha.net/2011/02/11/moar-internets/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 20:52:45 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[nerd]]></category>
		<category><![CDATA[ziggo]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=1202</guid>
		<description><![CDATA[I hope to have time this weekend to report on significant and wonderful recent events, but until then, I wanted to share some less important but nonetheless good news with you. My house is more than 3km from the telephone &#8230; <a href="http://cpbotha.net/2011/02/11/moar-internets/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2004/03/20/my-adsl-gets-another-upgrade/' rel='bookmark' title='My ADSL gets another upgrade'>My ADSL gets another upgrade</a></li>
<li><a href='http://cpbotha.net/2003/07/21/itk-python-now-with-exceptions/' rel='bookmark' title='ITK Python Now With Exceptions!'>ITK Python Now With Exceptions!</a></li>
<li><a href='http://cpbotha.net/2007/03/04/livejournal-blog-imported/' rel='bookmark' title='Livejournal blog imported'>Livejournal blog imported</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>I hope to have time this weekend to report on significant and wonderful recent events, but until then, I wanted to share some less important but nonetheless good news with you. My house is more than 3km from the telephone exchange, so my ADSL connection could manage 5.4 Mbit/s down and 0.8 Mbit/s up on a good day, but during the evenings and on weekends, it would go completely wonky and generally unstable. Frustrating, to say the least.</p>
<p>Enter cable internet! I just linked up the shiny new cable modem today, and now finally feel like I&#8217;m really part of the information highway. Check it:</p>
<p><a href="http://cpbotha.net/wp-content/uploads/2011/02/speedtest_ziggo_ai1p.png"><img class="aligncenter size-full wp-image-1203" title="speedtest_ziggo_ai1p" src="http://cpbotha.net/wp-content/uploads/2011/02/speedtest_ziggo_ai1p.png" alt="" width="300" height="135" /></a>(that&#8217;s a <a title="ziggo all-in-1 plus details" href="https://www.ziggo.nl/#producten/alles-in-1/plus/">ziggo all-in-1 plus</a> package for those of you who&#8217;d like to know.)</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2011/02/11/moar-internets/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2011%252F02%252F11%252Fmoar-internets%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fis.gd%2FwHunSu%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22Moar%20internets%21%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2004/03/20/my-adsl-gets-another-upgrade/' rel='bookmark' title='My ADSL gets another upgrade'>My ADSL gets another upgrade</a></li>
<li><a href='http://cpbotha.net/2003/07/21/itk-python-now-with-exceptions/' rel='bookmark' title='ITK Python Now With Exceptions!'>ITK Python Now With Exceptions!</a></li>
<li><a href='http://cpbotha.net/2007/03/04/livejournal-blog-imported/' rel='bookmark' title='Livejournal blog imported'>Livejournal blog imported</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2011/02/11/moar-internets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing + NyARToolkit + multiple marker tracking</title>
		<link>http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=processing-nyartoolkit-multiple-marker-tracking</link>
		<comments>http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 22:59:24 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[nyartoolkit]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=943</guid>
		<description><![CDATA[For various reasons, I need to do multiple marker tracking in processing with NyARToolkit.  However, with the default NyAR4psg layer between these two, multiple marker tracking is downright hard, and when you get it working, it&#8217;s not quite what you &#8230; <a href="http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/' rel='bookmark' title='Processing + GSVideo + NyARToolkit on Linux x86_64'>Processing + GSVideo + NyARToolkit on Linux x86_64</a></li>
<li><a href='http://cpbotha.net/2011/03/06/spring-has-arrived-in-suburbia-weekly-head-voices-40/' rel='bookmark' title='Spring has arrived in suburbia! [Weekly Head Voices #40]'>Spring has arrived in suburbia! [Weekly Head Voices #40]</a></li>
<li><a href='http://cpbotha.net/2003/05/04/where-should-that-dang-button-go/' rel='bookmark' title='Where should that dang button go?'>Where should that dang button go?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>For various reasons, I need to do multiple marker tracking in <a title="processing website" href="http://processing.org/">processing</a> with <a title="NyARToolkit website" href="http://nyatla.jp/nyartoolkit/wiki/index.php?FrontPage.en">NyARToolkit</a>.  However, with the default <a title="Link to NyAR4psg page" href="http://nyatla.jp/nyartoolkit/wiki/index.php?NyAR4psg.en">NyAR4psg</a> layer between these two, multiple marker tracking is downright hard, and when you get it working, it&#8217;s not quite what you expect. After a few days of Java hacking, during which I was very pleasantly surprised with eclipse, I am now pleased to present to you my modifications to the NyAR4psg that makes multiple marker tracking easy! See here:</p>
<div id="attachment_944" class="wp-caption aligncenter" style="width: 310px"><a href="http://cpbotha.net/wp-content/uploads/2010/06/nyarmultiboard_ss.jpg"><img class="size-medium wp-image-944" title="nyarmultiboard_ss" src="http://cpbotha.net/wp-content/uploads/2010/06/nyarmultiboard_ss-300x240.jpg" alt="" width="300" height="240" /></a><p class="wp-caption-text">Standard hiro and kanji markers tracked simultaneously with augmented reality sphere and cube.  In the background some artwork by my daughter!</p></div>
<p>I&#8217;ve called it NyARMultiBoard, and you can use it instead of the default NyARBoard if you want to track multiple markers.</p>
<p>Download a ZIP file containing everything (source code, jar files) from <a title="Link to NyARMultiBoard archive" href="http://cpbotha.net/files/nyar4psg_multimarker/">this directory</a>.  If you unpack this into your processing sketchbook/libraries directory, it should work out of the box.  It&#8217;s a drop-in replacement for NyAR4psg, so you don&#8217;t need to have that installed as well. There is an example to get you started in NyAR2/example/NyARMultiTest.  Note: This uses the GSVideo capturing stack as I explain <a title="howto getting gsvideo going on x76_64" href="http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/">here</a>, you should easily be able to change it back to processing defaults (just change GSCapture to Capture).</p>
<p><em>Please let me know in the comments if this works (or doesn&#8217;t) for you!</em></p>
<p>I made this screencast to demonstrate the multiple marker tracking, assisted by <a title="The New Roomie blog" href="http://cpbotha.net/2009/09/20/weekly-head-voices-4-the-new-roomie-medvis-at-mevis-fairy-tale-beach/">TNR</a>:</p>
<p><a href="http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/"><em>Click here to view the embedded video.</em></a></p>
<p>I also made this really bad screencast (old webcam + night time lighting + transcoding):</p>
<p><a href="http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/"><em>Click here to view the embedded video.</em></a></p>
<p><strong>If you&#8217;re really into the details</strong></p>
<p>I&#8217;ve just added two new classes NyARMultiBoard and NyARMultiBoardMarker to the default NyAR4psg distribution. Very importantly, NyARToolkit itself needs to be patched with one extra method in NyARDetectMarker, see the NyARMultiBoard comments.</p>
<p><strong>Update on 20110304</strong></p>
<p>I&#8217;ve fixed the problematic frame bug in gsvideo that many of you have been running into. See <a title="post with gsvideo problematic frame error fix" href="http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/">this post</a>.</p>
<p><strong>Update on 20110305</strong></p>
<p>I&#8217;ve updated NyAR2 so it works with the P3D renderer as well, which is often faster for blitting the webcam image onto the display. The updated zip file is named NyAR2-20110305.zip, and it can be downloaded from the <a title="NyAR2 multimarker download directory." href="http://cpbotha.net/files/nyar4psg_multimarker/">usual directory</a>. My changes are based on NyAR4psg 0.3.0 and NyARToolkit 2.5.2.</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2010%252F06%252F05%252Fprocessing-nyartoolkit-multiple-marker-tracking%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fis.gd%2FcE3Hb%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22Processing%20%2B%20NyARToolkit%20%2B%20multiple%20marker%20tracking%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/' rel='bookmark' title='Processing + GSVideo + NyARToolkit on Linux x86_64'>Processing + GSVideo + NyARToolkit on Linux x86_64</a></li>
<li><a href='http://cpbotha.net/2011/03/06/spring-has-arrived-in-suburbia-weekly-head-voices-40/' rel='bookmark' title='Spring has arrived in suburbia! [Weekly Head Voices #40]'>Spring has arrived in suburbia! [Weekly Head Voices #40]</a></li>
<li><a href='http://cpbotha.net/2003/05/04/where-should-that-dang-button-go/' rel='bookmark' title='Where should that dang button go?'>Where should that dang button go?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/feed/</wfw:commentRss>
		<slash:comments>97</slash:comments>
		</item>
		<item>
		<title>An Even More Ultimate Boot Disk!</title>
		<link>http://cpbotha.net/2010/05/24/an-even-more-ultimate-boot-disk/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=an-even-more-ultimate-boot-disk</link>
		<comments>http://cpbotha.net/2010/05/24/an-even-more-ultimate-boot-disk/#comments</comments>
		<pubDate>Mon, 24 May 2010 14:29:09 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[knoppix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubcd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ultimatebootcd]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=907</guid>
		<description><![CDATA[In this short howto, I show you how to combine the Ultimate Boot CD (UBCD) with both Knoppix 6.2.1 and Ubuntu 10.04 onto a single USB stick to create An Even More Ultimate Boot Disk (EMUBD)! UBCD is a bootable &#8230; <a href="http://cpbotha.net/2010/05/24/an-even-more-ultimate-boot-disk/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2003/03/10/knoppix/' rel='bookmark' title='Knoppix'>Knoppix</a></li>
<li><a href='http://cpbotha.net/2007/09/02/a-first-whiff-of-gutsy-gibbon-power-management/' rel='bookmark' title='A first whiff of Gutsy Gibbon power-management'>A first whiff of Gutsy Gibbon power-management</a></li>
<li><a href='http://cpbotha.net/2003/04/06/another-small-step-on-the-way-to-s3-str/' rel='bookmark' title='Another small step on the way to S3 STR'>Another small step on the way to S3 STR</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>In this short howto, I show you how to combine the Ultimate Boot CD (UBCD) with both Knoppix 6.2.1 and Ubuntu 10.04 onto a single USB stick to create An Even More Ultimate Boot Disk (EMUBD)!</p>
<p style="text-align: center;"><a href="http://cpbotha.net/wp-content/uploads/2010/05/emubd_logo_400.jpg"><img class="aligncenter size-full wp-image-910" style="border: none;" title="emubd_logo_400" src="http://cpbotha.net/wp-content/uploads/2010/05/emubd_logo_400.jpg" alt="" width="400" height="181" /></a></p>
<p><a title="Ultimate Boot CD website" href="http://ultimatebootcd.com/">UBCD</a> is a bootable CD image that&#8217;s fantastic if you&#8217;re trying to save grandma&#8217;s PC from a certain death, as it contains a number of different bootable utilities for testing memory, testing and low-level repair of hard drives, partition repair, antivirus and so forth. It even contains Parted Magic, a compact linux distribution for fixing partitions, amongst others.</p>
<p><a title="Knoppix website" href="http://www.knoppix.net/">Knoppix</a> is the swiss knife of live linux distributions, and <a title="Ubuntu website" href="http://www.ubuntu.com/">Ubuntu</a> 10.04 is probably the slickest distribution out there at the moment. Both of these can be ran live from your USB disc, so they don&#8217;t have to touch your hard drive.  However, both of them are also able to install to your hard disc if you so choose.</p>
<p>To me it seemed logical to combine <strong>all three of these elements onto the single USB flash drive</strong> that I carry on my keychain, as I know of many grandmas with broken PCs&#8230;</p>
<p>Let&#8217;s go!</p>
<ol>
<li>make sure the single FAT32 partition on your USB stick is bootable (use command &#8216;a&#8217; in linux fdisk) and large enough (you&#8217;ll need just a bit less than 2G).</li>
<li>mount your flash drive on a directory, henceforth referred to as FLASH_MNT.</li>
<li>copy all files from the ubcd5 iso into a directory, henceforth referred to as CUSTOM_UBCD5.</li>
<li>mount the ubuntu 10.04 i386 iso on a directory, henceforth referred to as LUCID_MNT</li>
<li>mount the knoppix iso on a directory, henceforth referred to as KNOPPIX_MNT.</li>
<li>copy necessary boot files from the ubuntu ISO to UBCD:
<pre class="brush: bash; title: ; notranslate">
mkdir CUSTOM_UBCD5/ubcd/custom/lucid
cp LUCID_MNT/casper/vmlinuz LUCID_MNT/casper/initrd.lz CUSTOM_UBCD5/ubcd/custom/lucid
</pre>
</li>
<li>copy ubuntu-10.04-desktop-i386.iso to your flash disk:
<pre class="brush: bash; title: ; notranslate">
mkdir /FLASH_MNT/isos
cp ubuntu-10.04-desktop-386.iso /FLASH_MNT/isos/
</pre>
</li>
<li>Knoppix can&#8217;t be booted directly from its iso like Ubuntu, so we have to copy the actual contents of the ISO to your flash:
<pre class="brush: bash; title: ; notranslate">
cp -r KNOPPIX_MNT/KNOPPIX to FLASH_MNT/
cp -r KNOPPIX_MNT/boot/isolinux to FLASH_MNT/KNOPPIX/isolinux
</pre>
</li>
<li>replace FLASH_MNT/KNOPPIX/isolinux/isolinux.cfg with the isolinux.cfg at the bottom of this post. (It&#8217;s the same file, except that &#8220;KERNEL linux&#8221; is replaced with &#8220;KERNEL /KNOPPIX/isolinux/linux&#8221;, &#8220;initrd=minirt.gz&#8221; with &#8220;initrd=/KNOPPIX/isolinux/minirt.gz&#8221;, F1, F2, F3 and DISPLAY paths all fixed, e.g. &#8220;F2 f2&#8243; becomes &#8220;F2 /KNOPPIX/f2&#8243; and finally all instances of &#8220;quiet&#8221; removed)</li>
<li>Now replace CUSTOM_UBCD5/ubcd/custom/custom.cfg with the custom.cfg at the bottom of this post.</li>
<li>copy all files from CUSTOM_UBCD5 to your usb flash disk:
<pre class="brush: bash; title: ; notranslate">
cp -r CUSTOM_UBCD5/* FLASH_MNT/
</pre>
</li>
<li>Finally, make the whole thing bootable with the following invocation.  It&#8217;s really important that you replace /dev/sdX1 with the correct device for your flash disk.  To see what this is, type &#8220;mount&#8221; and see the device associated with your FLASH_MNT.
<pre class="brush: bash; title: ; notranslate">
cd FLASH_MNT
sudo ./ubcd/tools/linux/ubcd2usb/syslinux -s -d /boot/syslinux /dev/sdX1
</pre>
</li>
</ol>
<p>You&#8217;re done.  You should now be able to boot with your EMUBD! Knoppix and Ubuntu can be found under &#8220;User defined&#8221;.</p>
<p>Here are those files that you&#8217;ll need.  First <strong>FLASH_MNT/KNOPPIX/isolinux/isolinux.cfg</strong>:</p>
<pre class="brush: bash; title: ; notranslate">
DEFAULT knoppix
APPEND ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off vga=0x311 initrd=/KNOPPIX/isolinux/minirt.gz nomce loglevel=0 tz=localtime
TIMEOUT 50
# TOTALTIMEOUT 20
# KBDMAP german.kbd
PROMPT 1
F1 /KNOPPIX/isolinux/boot.msg
F2 /KNOPPIX/isolinux/f2
F3 /KNOPPIX/isolinux/f3
DISPLAY /KNOPPIX/isolinux/boot.msg
LABEL adriane
KERNEL /KNOPPIX/isolinux/linux
APPEND ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off vga=0x311 initrd=/KNOPPIX/isolinux/minirt.gz nomce loglevel=0 tz=localtime adriane
LABEL knoppix
KERNEL /KNOPPIX/isolinux/linux
APPEND ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off vga=791 initrd=/KNOPPIX/isolinux/minirt.gz nomce loglevel=0 tz=localtime
LABEL fb1024x768
KERNEL /KNOPPIX/isolinux/linux
APPEND ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off vga=791 xmodule=fbdev initrd=/KNOPPIX/isolinux/minirt.gz nomce loglevel=0 tz=localtime
LABEL fb1280x1024
KERNEL /KNOPPIX/isolinux/linux
APPEND ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off vga=794 xmodule=fbdev initrd=/KNOPPIX/isolinux/minirt.gz nomce loglevel=0 tz=localtime
LABEL fb800x600
KERNEL /KNOPPIX/isolinux/linux
APPEND ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off vga=788 xmodule=fbdev initrd=/KNOPPIX/isolinux/minirt.gz nomce loglevel=0 tz=localtime
LABEL memtest
KERNEL memtest
APPEND foo
LABEL dos
KERNEL memdisk
APPEND initrd=balder.img
LABEL failsafe
KERNEL /KNOPPIX/isolinux/linux
APPEND ramdisk_size=100000 lang=en vt.default_utf8=0 vga=normal atapicd nosound noapic nolapic noacpi pnpbios=off acpi=off nofstab noscsi nodma noapm nousb nopcmcia nofirewire noagp nomce nonetwork nodhcp xmodule=vesa initrd=/KNOPPIX/isolinux/minirt.gz
</pre>
<p>&#8230; and then <strong>CUSTOM_UBCD5/ubcd/custom/custom.cfg</strong>:</p>
<pre class="brush: bash; title: ; notranslate">
MENU INCLUDE /ubcd/menus/syslinux/defaults.cfg
UI /boot/syslinux/menu.c32

# option to be able to go back to the main menu
LABEL -
MENU LABEL ..
COM32 /boot/syslinux/menu.c32
APPEND /ubcd/menus/syslinux/main.cfg

# this clause will boot directly from the ubuntu iso
LABEL ubuntulive
MENU LABEL Ubuntu 10.04 i386 Desktop LIVE
LINUX /ubcd/custom/lucid/vmlinuz
INITRD /ubcd/custom/lucid/initrd.lz
APPEND boot=casper iso-scan/filename=/isos/ubuntu-10.04-desktop-i386.iso --

# and this one will chain into the knoppix boot setup
LABEL knoppix
MENU LABEL Knoppix 6.2.1 LIVE
CONFIG /KNOPPIX/isolinux/isolinux.cfg
</pre>
<p><strong>Post scriptum</strong></p>
<ul>
<li>The instructions in this post are derived from the UBCD linux documentation and various forum posts.  Credits to their authors!</li>
<li>If you <em>don&#8217;t want Knoppix</em> on your bootable USB and you have a Windows computer, you could also use <a title="Link to post explaining MultiBootISOs" href="http://www.pendrivelinux.com/boot-multiple-iso-from-usb-multiboot-usb/">MultiBootISOS</a> to add multiple ISOs to a USB boot disk.</li>
</ul>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2010/05/24/an-even-more-ultimate-boot-disk/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2010%252F05%252F24%252Fan-even-more-ultimate-boot-disk%252F%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22An%20Even%20More%20Ultimate%20Boot%20Disk%21%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2003/03/10/knoppix/' rel='bookmark' title='Knoppix'>Knoppix</a></li>
<li><a href='http://cpbotha.net/2007/09/02/a-first-whiff-of-gutsy-gibbon-power-management/' rel='bookmark' title='A first whiff of Gutsy Gibbon power-management'>A first whiff of Gutsy Gibbon power-management</a></li>
<li><a href='http://cpbotha.net/2003/04/06/another-small-step-on-the-way-to-s3-str/' rel='bookmark' title='Another small step on the way to S3 STR'>Another small step on the way to S3 STR</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2010/05/24/an-even-more-ultimate-boot-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weekly Head Voices #18: Refactor my dogfood.</title>
		<link>http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=weekly-head-voices-18-refactor-my-dogfood</link>
		<comments>http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 16:25:11 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[eurovis]]></category>
		<category><![CDATA[head voices review]]></category>
		<category><![CDATA[mri]]></category>
		<category><![CDATA[visualisation]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[weekly head voices]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=820</guid>
		<description><![CDATA[Welcome all, to this, the 18th edition of the Weekly Head Voices, in which I discuss a number of issues that mostly have nothing specific to do with the 11th week of 2010, but which might or might not have &#8230; <a href="http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/' rel='bookmark' title='Weekly Head Voices #16: Go Go Gadget!'>Weekly Head Voices #16: Go Go Gadget!</a></li>
<li><a href='http://cpbotha.net/2010/02/21/weekly-head-voices-14-my-week-was-a-wormhole/' rel='bookmark' title='Weekly Head Voices #14: My Week Was A Wormhole.'>Weekly Head Voices #14: My Week Was A Wormhole.</a></li>
<li><a href='http://cpbotha.net/2009/09/05/weekly-head-voices-for-week-36/' rel='bookmark' title='Weekly Head Voices for Week 36'>Weekly Head Voices for Week 36</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>Welcome all, to this, the 18th edition of the Weekly Head Voices, in which I discuss a number of issues that mostly have nothing specific to do with the 11th week of 2010, but which might or might not have crossed my mind during that time! Issues include good news on the EuroVis 2010 front, a new edition of the Head Voices Review featuring my completely unexpected stay in a 7 Tesla MRI scanner (as a test subject, of course)  and finally some nerdy backyard philosophy dealing with the well-known itch to Rewrite Everything From Scratch, Because What&#8217;s There Now Sucks.</p>
<p>First, because I have no other visual element for this week&#8217;s post, and  because I am, as you might have noticed, a method blogger, I present you with probably the best <a title="chatroulette website" href="http://chatroulette.com/">chatroulette.com</a> improv I&#8217;ve ever seen so far. For those of you who have been completely asleep the past few weeks, chatroulette is a new site that&#8217;s been taking the interwebs by storm. The site pairs up random strangers for webcam chats. One is allowed to move to the next random stranger with the click of a buttom (resulting in the new English verb <a title="Kevin Kelly's blog post on nexting" href="http://www.kk.org/thetechnium/archives/2010/02/nexted.php">&#8220;to next&#8221;</a> someone..). Random hilarity (and often perversity) ensues! Here&#8217;s that mostly SFW and brilliant piano improv:</p>
<p><p><a href="http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/"><em>Click here to view the embedded video.</em></a></p><br />
<em> (The original video had to be pulled, after 4 million views, due to some YouTube issues. Merton, pianist, has posted this new version.  Thanks to </em><a title="Link to Francois' photography site" href="http://fpixel.wordpress.com/"><em>Francois</em></a><em> for the heads-up!)</em></p>
<p>Back to business, we have just heard the great news that our two <a title="eurovis 2010 website" href="http://eurovis2010.labri.fr/">EuroVis 2010</a> submissions have been finally accepted for publication.  The articles are:</p>
<blockquote>
<ol>
<li>S. Busking, C.P. Botha, and F.H. Post, <a title="Link to Stef's EuroVis 2010 paper page (fulltext available)" href="http://graphics.tudelft.nl/Publications/Busking2010">&#8220;Dynamic Multi-View Exploration of Shape Spaces,&#8221;</a> <em>Computer Graphics Forum</em>, 2010.</li>
<li>P.R. Krekel, E.R. Valstar, J. de Groot, F.H. Post, R.G. Nelissen, and C.P. Botha, <a title="Link to Krekel EuroVis 2010 Visual Analysis of Human Motion paper" href="http://graphics.tudelft.nl/Publications/Krekel2010a">&#8220;Visual Analysis of Multi-Joint Kinematic Data,&#8221; </a><em>Computer Graphics Forum</em>, 2010.</li>
</ol>
</blockquote>
<p>Fantastic work you first authors you! Remember people: YOU HAVE TO CITE THESE SOON, AND YOU HAVE TO CITE THEM OFTEN! This also means that a number of us will be going to Bordeaux in June (I can imagine worse places to go to in June) to mingle with other scientists and to drink really good red wine.</p>
<p>That good news brings us to the influential WHV feature, the <strong>Head Voices Review</strong>! (My TPN is still working on the new jingle.  Hopefully it&#8217;ll be on time for our joint Vodka review feature.) In this edition, I&#8217;ll be reviewing the Philips 7 Tesla MRI scanner and the JBL Duet-200 computer speakers.</p>
<p>On Friday, I unexpectedly had the pleasure of trying out a state-of-the-art 7 Tesla Philips MRI scanner, as a test subject. I can report that the bore, although small, is quite comfortable. However, test subjects with claustrophobic tendencies should probably look elsewhere.  Scanning can be quite noisy, especially when a diffusion weighted imaging protocol is applied that involves scanning in 162 different gradient directions (to study the structural connectivity in my brain). However, the music that gets piped in between scanning sessions more than makes up. After scanning, it was scientifically confirmed that there is indeed a brain housed in my skull, an observation that pleasantly surprised me. Soon I hope to be able to post visualisations, made by one of our MedVis ninjas, of the structural connections in my brain.</p>
<p>All in all, if you have a few million euros lying around, this piece of kit is highly recommended.  To summarise:</p>
<ul>
<li>Philips 7T MRI: AWESOME.</li>
</ul>
<p>In a <a title="previous review of the Logitechh S3-30 speakes" href="http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/">previous review</a>, I was quite negative about the Logitech S3-30 speakers, for a large part due to the absolute mess of cables that it comes with. This past week I took delivery of the new <a title="JBL DUET-200 on amazon" href="http://www.amazon.com/JBL-DUET-200BLKV-Performance-Loudspeaker-Multimedia/dp/B0017XO2R6">JBL Duet-200</a> speakers I ordered, for the grand amount of 30 eurobucks, to replace it. The JBL is a single unit containing two speakers, something which might be seen as a drawback, but which I consider an advantage. In spite of its compact appearance, it packs quite a base and more than sufficient volume.  In addition, there are exactly two (2) cables: One for the power supply, and one for the audio. I can only hope that Logitech contracts JBL on their next PC speaker product design. My only (minor) gripe is that the JBL-supplied audio cable is only about 40cm long. All in all:</p>
<ul>
<li>JBL Duet-200 at € 30 price-point: AWESOME.</li>
</ul>
<p>MRI scanners and PC speakers: No product too big, no product too small for the Head Voices Review!</p>
<p>Finally, it&#8217;s time for some backyard philosophy.  This week, it&#8217;s a brief point of really nerdy philosophy, although I think the principles apply to some non-nerdy activities as well. Software developers, as well as many other engineering types, often reach a point during working on a project, when they have a hard-to-control urge to trash the whole thing and start from scratch.  There is usually a very strong belief that the project / software / product can be designed much better by starting from scratch.</p>
<p>It turns out that this is an insidious and mostly incorrect belief, for a large part due to all the knowledge present in the existing &#8220;ugly&#8221; product that will get thrown out. Engineers easily underestimate the importance of this knowledge. It turns out, much as we don&#8217;t like to hear this, that <strong>refactoring</strong> is, nine times out of ten, a far better answer than rewriting from scratch. Experienced developers know this, and are <em>mostly</em> able to suppress the rewrite from scratch itch.</p>
<p>Joel Spolsky wrote a <a title="Joel Spolsky on why you shouldn't rewrite software" href="http://www.joelonsoftware.com/articles/fog0000000069.html">really good essay</a> on this phenomenon. Go read it!</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2010%252F03%252F21%252Fweekly-head-voices-18-refactor-my-dogfood%252F%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22Weekly%20Head%20Voices%20%2318%3A%20Refactor%20my%20dogfood.%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/' rel='bookmark' title='Weekly Head Voices #16: Go Go Gadget!'>Weekly Head Voices #16: Go Go Gadget!</a></li>
<li><a href='http://cpbotha.net/2010/02/21/weekly-head-voices-14-my-week-was-a-wormhole/' rel='bookmark' title='Weekly Head Voices #14: My Week Was A Wormhole.'>Weekly Head Voices #14: My Week Was A Wormhole.</a></li>
<li><a href='http://cpbotha.net/2009/09/05/weekly-head-voices-for-week-36/' rel='bookmark' title='Weekly Head Voices for Week 36'>Weekly Head Voices for Week 36</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Weekly Head Voices #16: Go Go Gadget!</title>
		<link>http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=weekly-head-voices-16-go-go-gadget</link>
		<comments>http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 22:11:16 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[head voices review]]></category>
		<category><![CDATA[headsets]]></category>
		<category><![CDATA[igoogle]]></category>
		<category><![CDATA[microphones]]></category>
		<category><![CDATA[screencasts]]></category>
		<category><![CDATA[weekly head voices]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=797</guid>
		<description><![CDATA[This post is dedicated to my man Helmut in Vienna.  Your appreciation is much appreciated! In this edition, I report on my productivity and activities of the past week,  extol the time-saving virtues of iGoogle and conclude with a new &#8230; <a href="http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/' rel='bookmark' title='Weekly Head Voices #18: Refactor my dogfood.'>Weekly Head Voices #18: Refactor my dogfood.</a></li>
<li><a href='http://cpbotha.net/2010/02/21/weekly-head-voices-14-my-week-was-a-wormhole/' rel='bookmark' title='Weekly Head Voices #14: My Week Was A Wormhole.'>Weekly Head Voices #14: My Week Was A Wormhole.</a></li>
<li><a href='http://cpbotha.net/2010/01/24/weekly-head-voices-10-loose-bits-sink-chips/' rel='bookmark' title='Weekly Head Voices #10: Loose bits sink chips.'>Weekly Head Voices #10: Loose bits sink chips.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p><em>This post is dedicated to my man Helmut in Vienna.  Your appreciation is much appreciated!</em></p>
<p>In this edition, I report on my productivity and activities of the past week,  extol the time-saving virtues of iGoogle and conclude with a new WHV feature: The Head Voices Review!  Unfortunately, due to a chronic lack of sleep, there will be no backyard philosophical contribution.  We hope to be back on track for the next edition.</p>
<p>During week 9 of 2010, the temporal context of the sixteenth edition of the Weekly Head Voices, I spent 2 hours preparing for lectures, 3 hours lecturing and 12 hours in scheduled meetings.  I spent a significant amount of time assisting five of our MedVis Ninjas shepherding papers out the door, so now you have to cross your fingers that we get 100% accept rate, else the Ninjas get <em>really</em> angry.  Counting up to the weekend, and without any cheating, I completed 22 GTD tasks, again one task more than last week.  If this continues, I will eventually attain infinite productivity, so you better watch out, ok?</p>
<p>Noteworthy happenings include two Skype Video meetings, which worked really well and saved me a significant amout of travel time. These meetings would be even better if my correspondents would invest in webcams, allowing me to look at more than just my own face during the discussion. In other news, I&#8217;ve been spending even more time futzing around with processing, resulting in a <a title="blog post: installing processing +gsvideo + nyartoolkit on linux x86_64" href="http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/">first blog post detailing the installation of said library with video capture and augmented reality support on 64 bit Linux machines</a>.</p>
<p>The main topic of this post is gadgets. I&#8217;ll be talking about two kinds of gadgets, so first I&#8217;d like to start with a screenshot of my iGoogle:</p>
<div id="attachment_798" class="wp-caption aligncenter" style="width: 310px"><a href="http://cpbotha.net/wp-content/uploads/2010/03/igoogle-screenshot-anon.jpg"><img class="size-medium wp-image-798" title="igoogle-screenshot-anon" src="http://cpbotha.net/wp-content/uploads/2010/03/igoogle-screenshot-anon-300x193.jpg" alt="" width="300" height="193" /></a><p class="wp-caption-text">iGoogle your twitter.</p></div>
<p>I&#8217;ve been aware of iGoogle, and used it as a poor man&#8217;s aggregator before getting addicted to Google Reader, but never really appreciated the possibilities.  In short, you can add all kinds of web applications, called <em>gadgets</em>, to any number of tabs (each tab is a page), thus mixing and matching for example the social networking websites you use on one single web page.  Because I&#8217;d recently been wasting far too much time switching between twitter, facebook (everytime someone mentions facebook, I somehow reflexively and compulsively open the site, hence wasting more precious minutes of my life, which at my advanced age is no small matter), gmail and compulsive news checking, I decided to compress my time wasting into a single page visit. So far, it seems to be saving me a number of minutes every day, minutes that I&#8217;m saving for later&#8230;</p>
<p>Finally, it pleases me greatly to be able to introduce a new feature on the WHV: <strong>The Head Voices Review!</strong> [As soon as my TPN completely masters Ableton, I'm hoping he'll make me a nice theme song that I can insert here.] Some of you might know that this blog has a <em>rich </em>history in reviewing gadgets. See for example <a title="post where I discuss two headsets" href="http://cpbotha.net/2006/02/10/news-on-the-audio-front/">this post</a> where, after weeks of investigation, I posted an<em> in-depth</em> review of not one, but TWO cheap-skate headphones.  To summarise:</p>
<ul>
<li>Sennheiser PX20: SUCKS.</li>
<li>Philips HP-200: AWESOME.</li>
</ul>
<p>To kick off this first edition, I&#8217;m going to discuss three more computer audio gadgets.  First off, the Logitech S3-30 2.1 (that means stereo speakers with sub-woofer to my non-audiophile readers) computer speaker set with built-in amplifier.  I&#8217;ve used these extensively for five years now (purely for the purposes of reviewing them of course) and have set out my conclusions in the table below:</p>
<ul>
<li>Logitech S3-30: SUCKS BADLY.</li>
</ul>
<p>I base my conclusion on the sub-par design of these speakers, especially in terms of the cabling.  Below is an <em>artist&#8217;s </em>rendition of the cable design for these speakers:</p>
<div id="attachment_800" class="wp-caption aligncenter" style="width: 283px"><a href="http://cpbotha.net/wp-content/uploads/2010/03/logitech_s3-30_sketch-1024.jpg"><img class="size-medium wp-image-800" title="logitech_s3-30_sketch-1024" src="http://cpbotha.net/wp-content/uploads/2010/03/logitech_s3-30_sketch-1024-273x300.jpg" alt="" width="273" height="300" /></a><p class="wp-caption-text">Artist&#39;s rendition of Logitech S3-30 speaker set cable design. Note the bird&#39;s nests.</p></div>
<p>As you can see, it&#8217;s as if the engineers had been challenged to see how much cable they could waste in producing these speakers, and as a side-challenge, how they could ensure that any desk carrying these speakers would instantly turn into an unmanageable mess of cables in various states of entanglement.  Why why why didn&#8217;t they read <a title="why knots form" href="http://www.livescience.com/strangenews/071003-knots-form.html">this really important paper</a>?</p>
<p>I have recently ordered the <a title="jbl duet-200" href="http://www.amazon.com/JBL-DUET-200BLKV-Performance-Loudspeaker-Multimedia/dp/B0017XO2R6">JBL Duet 200</a> to replace the S3-30.  After at least five more years of extensive testing, I will document its performance in a future Head Voices Review.</p>
<p>On the topic of Logitech, a number of my screencasts up to now have been <em>performed</em> using a <a title="Link to amazon page on the logitech analog desktop microphone with 3.5mm jack plug." href="http://www.amazon.co.uk/Logitech-Analog-Desktop-Stick-Microphone/dp/B00097HPHK">Logitech Analog Desktop Microphone with 3.5mm jack plug</a>, purchased especially for that purpose.  Now that I&#8217;ve also purchased the quite affordable (6 bucks for the <em>whole</em> headset, that means headphone AND microphone!) yet very stylish <a title="Sweex HM400 headset" href="http://www.sweex.com/nl/assortiment/sound-vision/headsets/HM400">Sweex HM400 headset</a>, also for recording screencasts, I can present the following comparative review:</p>
<ul>
<li>Logitech Analog Desktop Microphone with 3.mm jack plug: SUCKS.</li>
<li>Sweex HM400 headset: AWESOME.  Wait till you hear my deep baritone narrating the next screencast.  I expect that it should sound almost exactly like this:</li>
</ul>
<p><a href="http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/"><em>Click here to view the embedded video.</em></a></p>
<p>Err, that&#8217;s it for the first edition of the Head Voices Review! I don&#8217;t think that you have to worry too much about the next edition arriving anytime soon.  Here at HVR headquarters we take our sweet time, as we pride ourselves in jumping to <em>all</em> of the wrong conclusions, <em>all</em> of the time.</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2010%252F03%252F09%252Fweekly-head-voices-16-go-go-gadget%252F%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22Weekly%20Head%20Voices%20%2316%3A%20Go%20Go%20Gadget%21%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2010/03/21/weekly-head-voices-18-refactor-my-dogfood/' rel='bookmark' title='Weekly Head Voices #18: Refactor my dogfood.'>Weekly Head Voices #18: Refactor my dogfood.</a></li>
<li><a href='http://cpbotha.net/2010/02/21/weekly-head-voices-14-my-week-was-a-wormhole/' rel='bookmark' title='Weekly Head Voices #14: My Week Was A Wormhole.'>Weekly Head Voices #14: My Week Was A Wormhole.</a></li>
<li><a href='http://cpbotha.net/2010/01/24/weekly-head-voices-10-loose-bits-sink-chips/' rel='bookmark' title='Weekly Head Voices #10: Loose bits sink chips.'>Weekly Head Voices #10: Loose bits sink chips.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2010/03/09/weekly-head-voices-16-go-go-gadget/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Processing + GSVideo + NyARToolkit on Linux x86_64</title>
		<link>http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=processing-gsvideo-nyartoolkit-on-linux-x86_64</link>
		<comments>http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 22:41:48 +0000</pubDate>
		<dc:creator>cpbotha</dc:creator>
				<category><![CDATA[nerd]]></category>
		<category><![CDATA[artoolkit]]></category>
		<category><![CDATA[gstreamer]]></category>
		<category><![CDATA[gsvideo]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[nyartoolkit]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://cpbotha.net/?p=789</guid>
		<description><![CDATA[Every now and then, I blast out the cruft from my nerd gland&#8217;s exit duct by writing a terribly nerdy post.  This is just such a post, so if you don&#8217;t speak Nerd, i&#8217;d highly recommend that you go have &#8230; <a href="http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/' rel='bookmark' title='Processing + NyARToolkit + multiple marker tracking'>Processing + NyARToolkit + multiple marker tracking</a></li>
<li><a href='http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/' rel='bookmark' title='I crushed the GSVideo problematic frame error!'>I crushed the GSVideo problematic frame error!</a></li>
<li><a href='http://cpbotha.net/2004/07/13/thunderbird-on-linux-and-urls/' rel='bookmark' title='Thunderbird on Linux and URLs'>Thunderbird on Linux and URLs</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>Every now and then, I blast out the cruft from my nerd gland&#8217;s exit duct by writing a terribly nerdy post.  This is just such a post, so if you don&#8217;t speak Nerd, i&#8217;d highly recommend that you go have some fun <a title="fun random webcam site" href="http://chatroulette.com/">elsewhere</a>, at least until my next Weekly Head Voices of course!</p>
<p>As mentioned around these parts, I&#8217;m currently playing with <a title="Processing website" href="http://processing.org/">Processing</a>, a beautiful programming stack for making interactive visual, err, thingies. To be more specific, I&#8217;d like to use processing together with something like ARToolkit to do real-time 3D tracking of markers in live video, for augmented reality fun.  To see what this could look like, see this YouTube video:</p>
<p><a href="http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/"><em>Click here to view the embedded video.</em></a></p>
<p>Today&#8217;s challenge is getting whole stack, including processing, the GSVideo video capture library for processing and the NyARToolkit augmented reality for processing going on Linux x86_64 (64bit).  On Linux x86 (32bit) this is much more straight-forward, but I wouldn&#8217;t write a blog post about straight-forward, now would I?</p>
<p>Here is the recipe:</p>
<ol>
<li>Make sure you have the native 64bit Sun JDK installed for your system.  On this Ubuntu 9.10 machine it&#8217;s ﻿﻿﻿sun-java6-jdk 6-15-1, on Ubuntu 10.04 (also tested) it&#8217;s ﻿6.20dlj-1ubuntu3.</li>
<li>Also install the jogl libraries, on this machine called libjogl-java.</li>
<li>Make sure you have the whole of gstreamer installed.  On ubuntu, all packages containing &#8220;gstreamer&#8221;.</li>
<li>Get and unpack the processing for Linux tarball (I&#8217;ve tested this whole procedure with processing 1.0.9, 1.1 and 1.2.1) from the processing <a title="processing download site" href="http://processing.org/download/">download site</a>.</li>
<li>In the unpacked processing directory, remove the whole java subdirectory. Now make a symlink pointing to your system java directory (the one containing bin, ext, jre, lib, etc.).  On my system, that was:
<pre class="brush: bash; title: ; notranslate">
cd processing
rm -rf java
ln -s /usr/lib/jvm/java-6-sun-1.6.0.15﻿ java
</pre>
</li>
<li>In processing/libraries/opengl/library remove the 3 libjogl*.so files and libgluegen-rt.so. Symlink their replacements from /usr/lib/jni with for example:
<pre class="brush: bash; title: ; notranslate">
cd processing/libraries/opengl/library
rm lib*.so
ln -s /usr/lib/jni/libgluegen-rt.so
ln -s /usr/lib/jni/libjogl_awt.so
ln -s /usr/lib/jni/libjogl.so
</pre>
</li>
<li><a title="GSVideo website" href="http://users.design.ucla.edu/~acolubri/processing/gsvideo/home/">Download</a> and unpack gsvideo into processing/libraries.  You should be able to run the examples in processing/libraries/gsvideo/examples/Capture with the PDE (Processing Development Environment).</li>
<li><a title="NyARToolkit for Processing website" href="http://nyatla.jp/nyartoolkit/wiki/index.php?NyAR4psg.en">Download</a> and unpack the NyARToolkit for Processing library into processing/libraries.</li>
</ol>
<p>You should now be able to run the NyARToolkit examples by changing replacing the import call as follows:</p>
<pre class="brush: java; title: ; notranslate">
// replace this call:
// import processing.video.*;
// by this call:
import codeanticode.gsvideo.*;
</pre>
<p>and changing the Capture class (twice) to GSCapture and perhaps also the capture resolution, depending on your camera. The relevant conversions are:</p>
<pre class="brush: java; title: ; notranslate">
// Capture cam;
// becomes:
GSCapture cam;

// later, in setup():
// cam=new Capture(this,width,height);
// becomes:
cam=new GSCapture(this,width,height);
</pre>
<p>The major trick in all of this is converting your Processing installation to use your system 64bit JDK instead of its own built-in 32bit JDK.</p>
<p>Let me know in the comments if this worked (or didn&#8217;t) for you!</p>
<div name="googleone_share_1" style="position:relative;z-index:5;margin-top: 5px;"><g:plusone size="medium" count="1" href="http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/"></g:plusone></div><div class="topsy_widget_data topsy_theme_jade" style="margin-bottom: 5px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fcpbotha.net%252F2010%252F03%252F04%252Fprocessing-gsvideo-nyartoolkit-on-linux-x86_64%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fis.gd%2FcC3JS%22%2C%20%22style%22%3A%20%22small%22%2C%20%22title%22%3A%20%22Processing%20%2B%20GSVideo%20%2B%20NyARToolkit%20on%20Linux%20x86_64%22%20%7D);"></div>

<p>Related posts:<ol>
<li><a href='http://cpbotha.net/2010/06/05/processing-nyartoolkit-multiple-marker-tracking/' rel='bookmark' title='Processing + NyARToolkit + multiple marker tracking'>Processing + NyARToolkit + multiple marker tracking</a></li>
<li><a href='http://cpbotha.net/2011/03/04/i-crushed-the-gsvideo-problematic-frame-error/' rel='bookmark' title='I crushed the GSVideo problematic frame error!'>I crushed the GSVideo problematic frame error!</a></li>
<li><a href='http://cpbotha.net/2004/07/13/thunderbird-on-linux-and-urls/' rel='bookmark' title='Thunderbird on Linux and URLs'>Thunderbird on Linux and URLs</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://cpbotha.net/2010/03/04/processing-gsvideo-nyartoolkit-on-linux-x86_64/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

