<?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>::[ edam ]::</title>
	<atom:link href="http://ed.am/feed" rel="self" type="application/rss+xml" />
	<link>http://ed.am</link>
	<description>the adventures of edam</description>
	<lastBuildDate>Wed, 06 Mar 2013 11:14:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Using an external editor for Arduino development</title>
		<link>http://ed.am/posts/using-an-external-editor-for-arduino-development</link>
		<comments>http://ed.am/posts/using-an-external-editor-for-arduino-development#comments</comments>
		<pubDate>Fri, 23 Nov 2012 20:16:14 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[computing]]></category>

		<guid isPermaLink="false">http://ed.am/?p=574</guid>
		<description><![CDATA[The Arduino IDE is nice to get beginners started, but you&#8217;ll quickly hit its limitations. And if, like me, you found an option in the preferences dialogue that enables an external editor, you&#8217;ll have been disappointed to find that it seems only to disable the internal editor! It is possible to work entirely outside the [...]]]></description>
				<content:encoded><![CDATA[<p>The <a href="http://arduino.cc/en/Main/Software">Arduino IDE</a> is nice to get beginners started, but you&#8217;ll quickly hit its limitations.  And if, like me, you found an option in the preferences dialogue that enables an external editor, you&#8217;ll have been disappointed to find that it seems only to <em>disable</em> the internal editor!</p>

<p>It is possible to work entirely outside the IDE, with your own editor (like Emacs or Eclipse) and build your projects from the command line (or in another IDE).  Here&#8217;s one way to do it&#8230; <span id="more-574"></span></p>

<p>You should make sure that the Arduino IDE is working first.  This will ensure the compiler, C-library an Arduino libraries are installed and working correctly and that you can communicate with your Arduino.  Then you&#8217;ll want to use a Makefile.  I&#8217;ve spent some time writing one, in collaboration with quite a few other people, <a href="http://ed.am/dev/make/arduino-mk">an it&#8217;s available here</a>.  It&#8217;s very easy to use, quite fully-featured, and as compatible with the IDE as possible.  (Other makefiles also exist, of course.)</p>

<p>OK, so to build your project outside the IDE, you&#8217;ll need to do the following:</p>

<ol>
<li>Download the `arduino.mk` ([from here](http://ed.am/dev/make/arduino-mk)).  You should save it somewhere accessible, like in your home directory.  I keep mine at `~/src/arduino.mk`.</li>
<li>In your project directory, edit your main file and save it as a `.ino` file, just as you would in the IDE.</li>
<li><p>Create yourself a `Makefile`, with the following in:</p>

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BOARD = uno<br />
include ~/src/arduino.mk</div></div>

<p>Obviously, you should replace `~/src/arduino.mk` with the location you saved the Aruino makefile.  Having saved `Makefile`, you can run `make boards` to see what board names exist.  Then, you should set the `BOARD` variable correctly (&#8220;uno&#8221; may not be correct).</p></li>
</ol>

<p>And that&#8217;s it!</p>

<p>To build your project, you should only have to type</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">make</span></div></div>

<p>To upload it to the Arduino board, go</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">make</span> upload</div></div>

<p>(If it can&#8217;t detect your Arduino by its self, you may need to set the <code>SERIALDEV</code> variable in your <code>Makefile</code>.)</p>

<p>And if you want to use the Serial Monitor from the Arduino IDE without running the IDE, you can achieve this by going</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">make</span> monitor</div></div>

<p>This actually runs GNU screen.  (You&#8217;ll need to remember the shortcut keys to kill screen (<code>^a k</code>, by default) so that you can get out of it!)</p>

<p class="info">If something goes wrong or isn&#8217;t working, you should have a look at <a href="http://ed.am/dev/make/arduino-mk#initial-set-up">the documentation for <tt>arduino.mk</tt></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/using-an-external-editor-for-arduino-development/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start an application on a specific workspace</title>
		<link>http://ed.am/posts/how-to-start-an-application-on-a-specific-workspace</link>
		<comments>http://ed.am/posts/how-to-start-an-application-on-a-specific-workspace#comments</comments>
		<pubDate>Mon, 03 Sep 2012 19:48:43 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[computing]]></category>

		<guid isPermaLink="false">http://ed.am/?p=924</guid>
		<description><![CDATA[Many X applications allow you to specify geometry, like this: $ terminator --geometry=200x200+0+0 Which is great. But it doesn&#8217;t let you specify what desktop you want the application to open on. For a while, in GNOME 3, I used the Auto Move Windows extension, which moves all windows of a given application to a particular [...]]]></description>
				<content:encoded><![CDATA[<p>Many X applications allow you to specify geometry, like this:</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span>terminator <span style="color: #660033;">--geometry</span>=200x200+<span style="color: #000000;">0</span>+<span style="color: #000000;">0</span></div></div>

<p>Which is great. But it doesn&#8217;t let you specify what <em>desktop</em> you want the application to open on.<span id="more-924"></span></p>

<p>For a while, in GNOME 3, I used the <a href="https://extensions.gnome.org/extension/16/auto-move-windows/">Auto Move Windows</a> extension, which moves all windows of a given application to a particular workspace. The limitation with this approach is that it affects <em>all</em> windows of a given application and can&#8217;t be specified per application launch (which is not so useful for, say, terminals!)</p>

<p>So I wrote a script to do what I wanted. You simply pass the script a desktop (which is a zero-based index) and the command to launch. E.g.:</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span>start-on-workspace <span style="color: #000000;">1</span> terminator <span style="color: #660033;">--geometry</span>=200x200+<span style="color: #000000;">0</span>+<span style="color: #000000;">0</span></div></div>

<p>Here&#8217;s the script. It works by launching the process then polling the X-server for any windows that are owned by that process 10 times a second for 10 seconds. If it finds one, it moves it to the specified workspace.</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<br />
<span style="color: #007800;">APP</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">basename</span> <span style="color: #ff0000;">&quot;$0&quot;</span><span style="color: #000000; font-weight: bold;">`</span><br />
<br />
die<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$APP</span>: <span style="color: #ff0000;">&quot;$@&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span><br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span><br />
<br />
usage<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'usage: '</span><span style="color: #007800;">$APP</span><span style="color: #ff0000;">' WORKSPACE CMD [ARG]...'</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'WORKSPACE is the zero-based index of the workspace'</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span><br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># check wmctrl is available</span><br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-x</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">which</span> wmctrl<span style="color: #000000; font-weight: bold;">`</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> die <span style="color: #ff0000;">&quot;please install wmctrl&quot;</span><br />
<br />
<span style="color: #666666; font-style: italic;"># we should have at least 2 args</span><br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;$2&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> usage<br />
<br />
<span style="color: #666666; font-style: italic;"># check workspace</span><br />
<span style="color: #007800;">WS</span>=<span style="color: #007800;">$1</span><br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #000000;">0</span> + <span style="color: #007800;">$WS</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$WS</span>&quot;</span> == <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> usage<br />
<span style="color: #7a0874; font-weight: bold;">shift</span><br />
<br />
<span style="color: #666666; font-style: italic;"># launch program</span><br />
<span style="color: #ff0000;">&quot;$@&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span><br />
<span style="color: #007800;">CPID</span>=<span style="color: #007800;">$!</span><br />
<br />
<span style="color: #666666; font-style: italic;"># look for the window every 0.1 seconds for 10 seconds</span><br />
<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span> A = <span style="color: #000000;">0</span>; A <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000;">100</span>; A++ <span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span><br />
&nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">0.1</span><br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># has child process terminated?</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$CPID</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">break</span><br />
<br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># try to find process's window ID</span><br />
&nbsp; &nbsp; <span style="color: #007800;">WID</span>=<span style="color: #000000; font-weight: bold;">`</span>wmctrl <span style="color: #660033;">-lp</span> <span style="color: #000000; font-weight: bold;">|</span> \<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #ff0000;">'^0x[0-9a-f]+ +[-0-9]+ +'</span><span style="color: #007800;">$CPID</span><span style="color: #ff0000;">' '</span> <span style="color: #000000; font-weight: bold;">|</span> \<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1}'</span><span style="color: #000000; font-weight: bold;">`</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$WID</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># move the window</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; wmctrl <span style="color: #660033;">-ir</span> <span style="color: #007800;">$WID</span> <span style="color: #660033;">-t</span> <span style="color: #007800;">$WS</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">break</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">fi</span><br />
<span style="color: #000000; font-weight: bold;">done</span><br />
<br />
<span style="color: #666666; font-style: italic;"># failed?</span><br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$A</span> <span style="color: #660033;">-eq</span> <span style="color: #000000;">100</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> die <span style="color: #ff0000;">&quot;couldn't find application's window...&quot;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/how-to-start-an-application-on-a-specific-workspace/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ACTA: Dangerous new laws for Europe</title>
		<link>http://ed.am/posts/acta-dangerous-new-laws-for-europe</link>
		<comments>http://ed.am/posts/acta-dangerous-new-laws-for-europe#comments</comments>
		<pubDate>Tue, 01 Nov 2011 14:28:16 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://ed.am/?p=580</guid>
		<description><![CDATA[The EU are currently voting on whether to sign-up to the ACTA treaty being proposed globally and pushed by the US. The treaty has been negotiated in secret and aims to give even more power to &#8220;intellectual property&#8221; holders. From patented seeds and medicines, to internet connections policed by your ISP, ACTA is a major [...]]]></description>
				<content:encoded><![CDATA[<p>The EU are currently voting on whether to sign-up to the ACTA treaty being proposed globally and pushed by the US. The treaty has been negotiated in secret and aims to give even more power to &#8220;intellectual property&#8221; holders. From patented seeds and medicines, to internet connections policed by your ISP, ACTA is a major threat to developing countries and freedom of expression on-line.</p>

<div class="centre"><iframe width="560" height="315" src="http://www.youtube.com/embed/citzRjwk-sQ" frameborder="0" allowfullscreen></iframe></div>

<p>For more information about ACTA, and what you can do to oppose it, <a href="https://www.laquadrature.net/wiki/How_to_act_against_ACTA">see this page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/acta-dangerous-new-laws-for-europe/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino on Debian Wheezy</title>
		<link>http://ed.am/posts/arduino-on-debian-wheezy</link>
		<comments>http://ed.am/posts/arduino-on-debian-wheezy#comments</comments>
		<pubDate>Mon, 24 Oct 2011 19:27:26 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[computing]]></category>

		<guid isPermaLink="false">http://ed.am/?p=540</guid>
		<description><![CDATA[I recently discovered the joys of Arduino! But setting up the development environment on Debian Testing (Wheezy) took me a while. Here is what I did&#8230; Set up the Arduino IDE Many packages required for Arduino development were recently removed from Debian&#8217;s testing repositories. At the time of writing, they are being held in sid, [...]]]></description>
				<content:encoded><![CDATA[<p>I recently discovered the joys of <a href="http://arduino.cc">Arduino</a>! But setting up the development environment on <a href="http://debian.org">Debian</a> Testing (Wheezy) took me a while. Here is what I did&#8230;
<span id="more-540"></span></p>

<h1>Set up the Arduino IDE</h1>

<p>Many packages required for Arduino development were recently removed from Debian&#8217;s testing repositories. At the time of writing, they are being held in <abbr title="Debian's unstable repository, at time of writing">sid</abbr>, waiting on a <a href="http://packages.qa.debian.org/g/gcc-avr.html">some issues</a> before being migrated.</p>

<p>In the mean-time, you can download pre-built binaries from the <a href="http://arduino.cc/en/Main/Software">arduino.cc download page</a> is pretty simple. I downloaded version 0022 for 64-bit Linux. You just unpack this in to a directory and run the <code>arduino</code> script. You&#8217;ll need to have Java installed.</p>

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ apt-get install openjdk-6-jre</div></div>

<p>Next, you have to get the Arduino device to be detected. This works ok on Wheezy. Plug it in and look in your <code>kern.log</code>. It should show up as a serial device (my <a href="http://arduino.cc/en/Main/ArduinoBoardUno">Ardino Uno</a> shows up as <code>/dev/ttyACM0</code>).</p>

<p>So far so good.</p>

<h2>Get the AVR C++ compiler working</h2>

<p>You need to get the AVR C++ compiler and C-library. Unfortunately, the newer versions of the required packages in <abbr title="Debian's unstable repository, at time of writing">sid</abbr> don&#8217;t work (which is why they&#8217;ve not been migrated). Fortunately, the ones in <abbr title="Debian's stable repository, at time of writing">squeeze</abbr> work fine. Download the following packages from <abbr title="Debian's stable repository, at time of writing">squeeze</abbr></p>

<ul>
<li><a href="http://packages.debian.org/squeeze/gcc-avr">gcc-avr</a> (the compiler)</li>
<li><a href="http://packages.debian.org/squeeze/avr-libc">avr-libc</a> (the C-library)</li>
<li><a href="http://packages.debian.org/squeeze/binutils-avr">binutils-avr</a> (tools to work with AVR binaries)</li>
</ul>

<p>And install them</p>

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ dpkg -i avr-libc_*.deb binutils-avr_*.deb gcc-avr_*.deb</div></div>

<p>This way, when they are finally migrated to <abbr title="Debian's testing repository, at time of writing">wheezy</abbr>, they should just get upgraded normally.</p>

<h2>Test the set-up</h2>

<ol>
<li><p>Open up the Arduino IDE.</p></li>
<li><p>Go to Tools -> Serial Port and select the serial port your Arduino is appearing as.</p>

<p class="info">If you can&#8217;t see it, there is a problem with the device being detected. If you opened the IDE before the device was plugged in, try closing it and re-opening it.</p></li>
<li><p>Go to File -> Examples -> Basics -> Blink. Then go to Sketch -> Verify / Compile.</p>

<p class="info">If there are compiler errors, you have a problem with the set-up of the AVR C++ compiler or the C-library.</p></li>
<li><p>Finally, go to File -> Upload to I/O Board. You should see the board&#8217;s serial TX/RX LEDs flicker, and then you should see the LED next to pin 13 blinking on and off. Congratulations.</p></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/arduino-on-debian-wheezy/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My website has moved</title>
		<link>http://ed.am/posts/my-website-has-moved</link>
		<comments>http://ed.am/posts/my-website-has-moved#comments</comments>
		<pubDate>Fri, 15 Jul 2011 15:10:04 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[uncategorised]]></category>

		<guid isPermaLink="false">http://ed.am/?p=454</guid>
		<description><![CDATA[My website has moved to&#8230; ed.am All links to the previous site should redirect properly and, even though I now have a new email address, all my previous email addresses still work fine (and always will), so no one really needs to update anything. Additionally, I now have new sites to provide services related to [...]]]></description>
				<content:encoded><![CDATA[<p>My website has moved to&#8230;</p>

<p><a class="indent" style="padding: 4px 5px 4px 25px; background: white url( http://ed.am/site-icon.png ) 5px center no-repeat;" href="http://ed.am/">ed.am</a></p>

<p>All links to the previous site should redirect properly and, even though I now have a new <a href="obfusticated-email-address:cvI@OA.xI">email address</a>, all my previous email addresses still work fine (and always will), so no one really needs to update anything.</p>

<p>Additionally, I now have new sites to provide services related to the software hosted here. You can currently find bug trackers for various projects here:</p>

<p><a class="indent hyperlink" href="http://dev.ed.am/">dev.ed.am</a></p>

<p>The bug tracker, along with Bazaar source code browser (at <a href="http://bzr.ed.am/">bzr.ed.am</a>), and other subdomains (such as <a href="http://files.ed.am/">files.ed.am</a>) should allow me to host projects on the <a href="http://www.waxworlds.org/">waxworlds.org</a> servers from now on. I had previously been going to use Launchpad, but I don&#8217;t feel Canonical represents my interests so well any more.</p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/my-website-has-moved/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m a dad again!</title>
		<link>http://ed.am/posts/im-a-dad-again</link>
		<comments>http://ed.am/posts/im-a-dad-again#comments</comments>
		<pubDate>Thu, 12 May 2011 05:58:51 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.waxworlds.org/edam/?p=411</guid>
		<description><![CDATA[Little baby Benjamin was born at 1:37am on the 9th May (his due date!) weighing 8lb 11oz. Becky, once again, delivered naturally and without any pain medication whatsoever! What a star! Becky is recovering well. And Isobel has come home (she had been with her Grandma, Grandpa and Uncle Dan) and has met her baby [...]]]></description>
				<content:encoded><![CDATA[<p>Little baby Benjamin was born at 1:37am on the 9th May (his due date!) weighing 8lb 11oz. Becky, once again, delivered naturally and without any pain medication whatsoever! What a star!</p>

<p>Becky is recovering well. And Isobel has come home (she had been with her Grandma, Grandpa and Uncle Dan) and has met her baby brother. She seems completely enamoured with him. We&#8217;re still trying to find a new routine where we get to sleep a bit. But apart from being tired, we&#8217;re all well.<span id="more-411"></span></p>

<p>Here&#8217;s our little boy:</p>

<div class="centre"><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/714-22/IMG_4690_fromraw.jpg" title="Just hours old" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/713-17/IMG_4690_fromraw.jpg" width="150" height="100" id="IFid11" class="ImageFrame_None" alt="Just hours old"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/718-22/IMG_4709_fromraw.jpg" title="Grandpa inspects his grandson!" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/717-17/IMG_4709_fromraw.jpg" width="100" height="150" id="IFid12" class="ImageFrame_None" alt="Grandpa inspects his grandson!"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/721-22/IMG_4744_fromraw.jpg" title="Benjy holding Uncle Dan's finger" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/720-17/IMG_4744_fromraw.jpg" width="150" height="100" id="IFid13" class="ImageFrame_None" alt="Benjy holding Uncle Dan's finger"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/724-22/IMG_4783_finished.JPG" title="Benjy sleeping like a baby" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/723-17/IMG_4783_finished.JPG" width="150" height="100" id="IFid14" class="ImageFrame_None" alt="Benjy sleeping like a baby"/></a></div></div>

<div class="centre"><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/730-22/IMG_4793_finished.jpg" title="A new mother" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/729-17/IMG_4793_finished.jpg" width="100" height="150" id="IFid15" class="ImageFrame_None" alt="A new mother"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/733-24/IMG_4827_finished.jpg" title="A new father" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/732-19/IMG_4827_finished.jpg" width="100" height="150" id="IFid16" class="ImageFrame_None" alt="A new father"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/765-22/IMG_4863_resized.JPG" title="A proud Grandma" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/764-17/IMG_4863_resized.JPG" width="150" height="100" id="IFid17" class="ImageFrame_None" alt="A proud Grandma"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/736-22/IMG_4884_finished.JPG" title="Benjy sleeping" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/735-17/IMG_4884_finished.JPG" width="150" height="100" id="IFid18" class="ImageFrame_None" alt="Benjy sleeping"/></a></div></div>

<div class="centre"><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/739-22/IMG_4891_finished.JPG" title="Izzy meets Benjy" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/738-17/IMG_4891_finished.JPG" width="150" height="150" id="IFid19" class="ImageFrame_None" alt="Izzy meets Benjy"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/742-22/IMG_4906_fromraw.jpg" title="Izzy loves her baby brother!" rel="lightbox[411]"><img src="http://ed.am/gallery2/download/741-17/IMG_4906_fromraw.jpg" width="150" height="100" id="IFid20" class="ImageFrame_None" alt="Izzy loves her baby brother!"/></a></div></div>

<p>You can get bigger copies of these photos in <a href="http://ed.am/photos/personal/benjamin">Benjamin&#8217;s gallery</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/im-a-dad-again/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Lucid on an Acer Aspire 3690</title>
		<link>http://ed.am/posts/ubuntu-lucid-on-an-acer-aspire-3690</link>
		<comments>http://ed.am/posts/ubuntu-lucid-on-an-acer-aspire-3690#comments</comments>
		<pubDate>Tue, 01 Jun 2010 18:55:16 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[computing]]></category>

		<guid isPermaLink="false">http://www.waxworlds.org/edam/?p=334</guid>
		<description><![CDATA[Having recently installed Ubuntu 10.04 (Lucid Linx) on my partner&#8217;s Acer Aspire 3690, I was, as usual, impressed at how much of the hardware worked out of the box. Pretty much everything worked, from wi-fi to volume keys. There were only a couple of things that didn&#8217;t&#8230; Suspend (to RAM) This didn&#8217;t work. The screen [...]]]></description>
				<content:encoded><![CDATA[<p>Having recently installed <a href="http://www.ubuntu.com/">Ubuntu 10.04 (Lucid Linx)</a> on my partner&#8217;s Acer Aspire 3690, I was, as usual, impressed at how much of the hardware worked out of the box. Pretty much everything worked, from wi-fi to volume keys. There were only a couple of things that didn&#8217;t&#8230;<span id="more-334"></span></p>

<h2>Suspend (to RAM)</h2>

<p>This didn&#8217;t work. The screen turns off (I think the laptop is wired this way), but the fan doesn&#8217;t power off and the machine doesn&#8217;t power down.</p>

<p>Eventually, I found this in the syslog:</p>

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pm_op(): usb_dev_suspend+0x0/0x20 returns -16<br />
PM: Device usb1 failed to suspend: error -16<br />
PM: Some devices failed to suspend</div></div>

<p>The USB device referred to is the built-in webcam. After quite a bit of googling I came across a <a href="https://bugzilla.kernel.org/show_bug.cgi?id=15189">kernel bug</a> that explained it all (and turned out not to be a kernel bug). The built-in webcam (<tt>lsusb</tt> says it is: &#8220;ID 0402:5602 ALi Corp. Video Camera Controller&#8221;) resumes immediately after being suspended, causing the suspend procedure to fail.</p>

<p>To fix it, I added the following script to <tt>/etc/pm/sleep.d</tt> (don&#8217;t forget to <tt>chmod +x</tt> it):</p>

<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/sh</span><br />
<br />
<span style="color: #666666; font-style: italic;"># fix the suspend issue on Asus Aspire 3690. The built-in camera (device ID</span><br />
<span style="color: #666666; font-style: italic;"># 0402:5602, &quot;ALi Corp. Video Camera Controller&quot;) issues a wakup during the</span><br />
<span style="color: #666666; font-style: italic;"># suspend process, aborting suspend. So lets turn it off.</span><br />
<br />
<span style="color: #666666; font-style: italic;"># To install, make this script executable and move it to /etc/pm/sleep.d</span><br />
<br />
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #007800;">$1</span> <span style="color: #000000; font-weight: bold;">in</span><br />
thaw<span style="color: #000000; font-weight: bold;">|</span>resume<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> disabled <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>usb<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #000000; font-weight: bold;">/</span>power<span style="color: #000000; font-weight: bold;">/</span>wakeup<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">;;</span><br />
<span style="color: #000000; font-weight: bold;">esac</span></div></div>

<h2>Flash</h2>

<p>Yes, flash again.  :o(</p>

<p>The Acer Apire 3690 is not a powerful machine, but it is easily capable of playing video. Unfortunately, the latest version of Adobe&#8217;s proprietary flash plugin at this time, 10.0.45.2, which ships with Lucid, can run away with the CPU and bring the browser to a crawl. The <a href="http://www.bbc.co.uk/iplayer/">BBC iPlayer</a> is the worst culprit. Sometime between 30 seconds and 5 minutes in to a video, CPU usage jumps to 98% and firefox becomes unresponsive.</p>

<p>I haven&#8217;t fixed this entirely, but I have managed to alleviate the problem slightly. <del>A <a href="http://labs.adobe.com/downloads/flashplayer10.html#flashplayer10">pre-release version of flash player 10.1</a> handles flash movies that have gone awry much better.</del> <strong>Update:</strong> flash player has been updated to 10.1 in Lucid now. It pops-up a message box to let you know that some actionscript is causing the flash player to run slowly.</p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/ubuntu-lucid-on-an-acer-aspire-3690/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m a dad!</title>
		<link>http://ed.am/posts/im-a-dad</link>
		<comments>http://ed.am/posts/im-a-dad#comments</comments>
		<pubDate>Sun, 16 Aug 2009 19:06:37 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.waxworlds.org/edam/?p=166</guid>
		<description><![CDATA[Our precious little Isobel was born at 2:22am on 26th July. She was a healthy 10lb 6oz (Becky delivered her naturally and without any form of pain medication). The last three weeks have been a bit of a blur! Izzy has been well behaved though and she sleeps quite well at night. Becky has recovered [...]]]></description>
				<content:encoded><![CDATA[<p>Our precious little Isobel was born at 2:22am on 26th July. She was a healthy 10lb 6oz (Becky delivered her naturally and without any form of pain medication).</p>

<p>The last three weeks have been a bit of a blur! Izzy has been well behaved though and she sleeps quite well at night. Becky has recovered well and her and Izzy are getting in to a feeding routine. Neither of us are looking forward to me going back to work again tomorrow though.<span id="more-166"></span></p>

<p>Anyway, here is our beautiful little girl:</p>

<div class="centre"><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/38-29/IMG_7678.JPG" title="Daddy with Izzy at the hospital" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/37-17/IMG_7678.JPG" width="100" height="150" id="IFid29" class="ImageFrame_None" alt="Daddy with Izzy at the hospital"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/44-32/IMG_7691.JPG" title="Mummy with Izzy at the hospital" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/43-17/IMG_7691.JPG" width="150" height="100" id="IFid30" class="ImageFrame_None" alt="Mummy with Izzy at the hospital"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/47-29/IMG_7718.JPG" title="Izzy, just 1 day old" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/46-17/IMG_7718.JPG" width="150" height="100" id="IFid31" class="ImageFrame_None" alt="Izzy, just 1 day old"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/53-29/IMG_7762.JPG" title="Auntie Gemma with Izzy" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/52-17/IMG_7762.JPG" width="100" height="150" id="IFid32" class="ImageFrame_None" alt="Auntie Gemma with Izzy"/></a></div></div>

<div class="centre"><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/56-29/IMG_7768.JPG" title="Izzy" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/55-17/IMG_7768.JPG" width="150" height="100" id="IFid33" class="ImageFrame_None" alt="Izzy"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/50-29/IMG_7728.JPG" title="Izzy asleep on Daddy" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/49-17/IMG_7728.JPG" width="100" height="150" id="IFid34" class="ImageFrame_None" alt="Izzy asleep on Daddy"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/59-29/IMG_7820.JPG" title="Mummy and Izzy" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/58-17/IMG_7820.JPG" width="150" height="100" id="IFid35" class="ImageFrame_None" alt="Mummy and Izzy"/></a></div><div class="wpg2tag-image"><a href="http://ed.am/gallery2/download/62-29/IMG_8167.JPG" title="Izzy" rel="lightbox[166]"><img src="http://ed.am/gallery2/download/61-17/IMG_8167.JPG" width="100" height="150" id="IFid36" class="ImageFrame_None" alt="Izzy"/></a></div></div>

<p>There are more pictures of our beautiful little girl <a href="http://ed.am/photos/personal/isobel">in her gallery</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/im-a-dad/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>UK Bankruptcy</title>
		<link>http://ed.am/posts/uk-bankruptcy</link>
		<comments>http://ed.am/posts/uk-bankruptcy#comments</comments>
		<pubDate>Thu, 05 Feb 2009 13:47:25 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.waxworlds.org/edam/?p=89</guid>
		<description><![CDATA[Anyone interested in the current dire state of the UK&#8217;s economy, exactly how it came about and some interesting observations on our government&#8217;s mishandling and our media&#8217;s misreporting of it will find the following 3-page article very interesting indeed. I would definitely recommend it to those who are not economists. http://www.webtvhub.com/bankrupt-britain/]]></description>
				<content:encoded><![CDATA[<p>Anyone interested in the current dire state of the UK&#8217;s economy, exactly how it came about and some interesting observations on our government&#8217;s mishandling and our media&#8217;s misreporting of it will find the following 3-page article very interesting indeed. I would definitely recommend it to those who are not economists.</p>

<p><a href="http://www.webtvhub.com/bankrupt-britain/">http://www.webtvhub.com/bankrupt-britain/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/uk-bankruptcy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jimmy Doherty&#8217;s GM Food Farce</title>
		<link>http://ed.am/posts/jimmy-dohertys-gm-food-farce</link>
		<comments>http://ed.am/posts/jimmy-dohertys-gm-food-farce#comments</comments>
		<pubDate>Fri, 12 Dec 2008 01:09:13 +0000</pubDate>
		<dc:creator>edam</dc:creator>
				<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.waxworlds.org/edam/?p=45</guid>
		<description><![CDATA[&#8220;Jimmy Doherty&#8217;s GM Food Fight&#8221; was shown on BBC 2 at 9pm on 25th November, 2008. It motivated (annoyed) me in to writing this post. I found the programme to be quite biased. In many ways and on many levels&#8230; He misses out large parts of the arguments against GM crops. E.g., that companies like [...]]]></description>
				<content:encoded><![CDATA[<p>&#8220;Jimmy Doherty&#8217;s GM Food Fight&#8221; was shown on BBC 2 at 9pm on 25th November, 2008. It motivated (annoyed) me in to writing this post.</p>

<p>I found the programme to be quite biased. In many ways and on many levels&#8230;<span id="more-45"></span></p>

<p><strong>He misses out large parts of the arguments against GM crops.</strong></p>

<p>E.g., that companies like Monsanto (and others) are only creating them to make money. Monsanto are selling seeds that will <em>require</em> pesticides and fertiliser (also, conveniently, bought from Monsanto) in order to produce the yields they talk about. They really don&#8217;t care about any negative effects of GM crops and would sell them even if they were aware of any (you want to know exactly how evil Monsanto are? Check out their <a href="http://en.wikipedia.org/wiki/Monsanto">Wikipedia page</a>). And there are no guarantees that those same farmers that Monsanto are &#8220;helping&#8221; will be able to afford the rising costs of the Monsanto products they become locked in to.</p>

<p>Another example of a point he skips over is that there is evidence showing that the contamination of non-GM plants can also spread to weeds, making them resistant to pesticides. This means we will have to use more and stronger pesticides to combat them. Just as the frivolous use of antibiotics in medicine and food is leading to new races of &#8220;super bugs&#8221; that are resistant to our medicines, so too could we end up with &#8220;super weeds&#8221;.
<a href="http://www.greenpeace.org.uk/gm/gm-public-debate-environmental-damage">GM public debate: Environmental damage | Greenpeace UK</a></p>

<p><strong>He dismisses several key arguments against GM, either downplaying them, or not exploring them properly.</strong></p>

<p>The exploration of how GM crops might be harmful to the environment is laughable! He ends up concluding they might be beneficial! Really!? A quick google brings up some different opinions:
<a href="http://www.guardian.co.uk/uk/2003/oct/19/science.foodanddrink">Number 10&#8242;s wildlife experts warn against GM damage | UK news | The Observer</a>
<a href="http://www.macaulay.ac.uk/news/newsdetails.php?28022005">GM crops could damage bird populations, warns visiting Macaulay seminar speaker &#8211; The Macaulay Institute, Aberdeen</a>
<a href="http://www.telegraph.co.uk/earth/earthnews/3349308/Prince-Charles-warns-GM-crops-risk-causing-the-biggest-ever-environmental-disaster.html">Prince Charles warns GM crops risk causing the biggest-ever environmental disaster &#8211; Telegraph</a></p>

<p>The exploration of whether GM foods are harmful misses out some seriously damning studies. You can read more in the articles below, but (in summary) GM corn, canola, soy and potatoes (including some of Monsanto&#8217;s &#8220;Roundup Ready&#8221; GM product line) have been linked with &#8220;liver lesions and indications of toxicity&#8221;, &#8220;altered production of liver enzymes&#8221;, &#8220;excessive cell growth&#8221; (possible cancer) and &#8220;damaged organs and immune systems&#8221; in studies on rats. Not to mention another study that showed infertility and very high infant mortality rates in rats fed on GM soy.
<a href="http://www.pccnaturalmarkets.com/issues/gmconcerns/reproductive.html">PCC | GM Food Crops: Consumer Health Concerns: Reproductive failures and infant mortality</a>
<a href="http://blogs.drgreene.com/perspectives/2008/08/13/gm-diets-may-cause-organ-damage-and-disease/">GM diets may cause organ damage and disease | Perspectives&#8230;</a>
To be honest though, I suspect the program avoided these issues for legal reasons. Another aspect that is not explored by the programme is how heavy-handed Monsanto (and I would imagine others) are with anyone who criticises them &#8212; see the &#8220;Legal&#8221; section on Monsanto&#8217;s <a href="http://en.wikipedia.org/wiki/Monsanto#As_plaintiff">Wikipedia page</a>.</p>

<p>Another point he downplays is the irreversible nature of the contamination of non-GM crops by GM crops.
<a href="http://www.greenpeace.org.uk/gm/gm-public-debate-environmental-damage">GM public debate: Environmental damage | Greenpeace UK</a></p>

<p><strong>Some points in the programme are downright misleading.</strong></p>

<p>There are no flood-resistant or drought-resistant GM crops currently. There are some GM <em>trials</em> where they are <em>experimenting</em> with genetic manipulation to achieve this. You wouldn&#8217;t know that by watching the programme though.
<a href="http://www.guardian.co.uk/commentisfree/2008/dec/09/david-king-gm-crops">Peter Melchett: Who can we trust on GM food? | Comment is free | guardian.co.uk</a></p>

<p><strong>I also found the whole tone of the programme to be biased.</strong></p>

<p>E.g., he continually refers to the people creating GM crops as &#8220;the scientists&#8221; (think: those clever people), rather than &#8220;the companies&#8221; (think: those greedy evil-doers). In fact, I think they are only refered to as companies about once, maybe twice, throughout the whole programme.</p>

<p>Another example: The conversation with the African GM scientist regarding people breaking in to the facility to steal (rather than damage) the GM crops. Bare in mine that, as with most TV, the scene is not some casual conversation, but a staged (possibly scripted) conversation. With that in mind, watch the scene again. See how Jimmy &#8220;misunderstands&#8221; that people wanted to steal, not damage, the crops (Jimmy: cue fake laugh). And if that&#8217;s not bad enough, he actually <em>repeats</em> the whole fake misunderstanding a second time to really spell it out and make sure the point is hammered home!</p>

<p>Another example: Jimmy refers to Americans &#8220;happily eating GM foods for years&#8221;. This is not entirely true &#8211; they don&#8217;t <em>know</em> when they&#8217;re eating them. They don&#8217;t label them over there! If they are happy as they eat them, it is only through ignorance.</p>

<p>I don&#8217;t mean to be picky&#8230; but there are so many &#8220;little&#8221; examples of bias that contribute to the overall tone. I found them really quite annoying.</p>

<p>Ok, this post&#8217;s really getting a bit long now. And it&#8217;s late! Sorry about my rant.  :o)</p>

<p>If you want to read another rant about this program, this article is very good:
<a href="http://natureheads.wordpress.com/2008/11/28/gm-food-fight/">GM Food Fight breaks out  the natureheads blog</a></p>

<p>Also, if you want to read a sensible response to this TV programme then I would highly recommend reading the following article. It is up-to-date (9th December, 2008) and although it talks about a pro-GM radio programme, it could just as easily be talking about Jimmy Doherty&#8217;s Food Fight.
<a href="http://www.guardian.co.uk/commentisfree/2008/dec/09/david-king-gm-crops">Peter Melchett: Who can we trust on GM food? | Comment is free | guardian.co.uk</a></p>

<p><strong>Update:</strong> This article is also good:
<a href="http://www.gmwatch.eu/comment.php?type=trackback&#038;entry_id=44">Jimmy&#8217;s GM Food Fix</a></p>

<p><strong>Update:</strong> Study finds that <a href="http://www.huffingtonpost.com/2010/01/12/monsantos-gmo-corn-linked_n_420365.html">Monsanto GMO Corn is linked with organ failure</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ed.am/posts/jimmy-dohertys-gm-food-farce/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
