waxworlds.org http://www.waxworlds.org/atom.xml 2012-02-23T00:00:06+00:00 Planet/2.0 +http://www.planetplanet.org Unscheduled downtime http://www.waxworlds.org/news/2011-11-21 2011-11-21T00:00:01+00:00 <p>Oak was down for most of this morning due to power failure. Sorry about that.</p> waxworlds.org http://www.waxworlds.org/news waxworlds.org http://www.waxworlds.org/news/feed/atom 2012-02-23T00:00:04+00:00 ACTA: Dangerous new laws for Europe http://ed.am/?p=580 2011-11-01T14:28:16+00:00 <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"></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> edam http://ed.am ::[ edam ]:: the adventures of edam http://ed.am/feed/atom 2012-02-23T00:00:03+00:00 Arduino on Debian Wheezy http://ed.am/?p=540 2011-10-24T19:27:26+00:00 <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"><div class="text codecolorer">$ 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"><div class="text codecolorer">$ 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> edam http://ed.am ::[ edam ]:: the adventures of edam http://ed.am/feed/atom 2012-02-23T00:00:03+00:00 New backup system on oak http://www.waxworlds.org/news/2011-09-08 2011-09-08T01:00:01+00:00 <p>There is a new back-up system in place on oak. It is now backed-up on to willow every night (3am UTC). The backup includes:</p> <ul> <li>/home and all user account data</li> <li>MySQL databases</li> <li>system config</li> </ul> waxworlds.org http://www.waxworlds.org/news waxworlds.org http://www.waxworlds.org/news/feed/atom 2012-02-23T00:00:04+00:00 My website has moved http://ed.am/?p=454 2011-07-15T15:10:04+00:00 <p>My website has moved to <a 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 a new site to provide services related to the software hosted here. You can find bug trackers, wikis/documentation and support forums at:</p> <p><a class="indent hyperlink" href="http://dev.ed.am/">dev.ed.am</a></p> <p>The <a href="http://www.redmine.org/">Redmine</a> installation at <tt>dev.ed.am</tt>, along with several other subdomains (for example, <tt>bzr.ed.am</tt> and <tt>files.ed.am</tt>) 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> edam http://ed.am ::[ edam ]:: the adventures of edam http://ed.am/feed/atom 2012-02-23T00:00:03+00:00 New waxworlds.org website http://www.waxworlds.org/news/2011-07-03 2011-07-03T01:00:01+00:00 <p>Welcome to the new waxworlds.org website!</p> waxworlds.org http://www.waxworlds.org/news waxworlds.org http://www.waxworlds.org/news/feed/atom 2012-02-23T00:00:04+00:00 I&#8217;m a dad again! http://www.waxworlds.org/edam/?p=411 2011-05-12T05:58:51+00:00 <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/photos/personal/benjamin/just-born/IMG_4690_fromraw.jpg.html" title="Just hours old"><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/photos/personal/benjamin/just-born/IMG_4709_fromraw.jpg.html" title="Grandpa inspects his grandson!"><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/photos/personal/benjamin/just-born/IMG_4744_fromraw.jpg.html" title="Benji holding Uncle Dan's finger"><img src="http://ed.am/gallery2/download/720-17/IMG_4744_fromraw.jpg" width="150" height="100" id="IFid13" class="ImageFrame_None" alt="Benji holding Uncle Dan's finger" /></a></div><div class="wpg2tag-image"><a href="http://ed.am/photos/personal/benjamin/just-born/IMG_4783_finished.JPG.html" title="Benji sleeping like a baby"><img src="http://ed.am/gallery2/download/723-17/IMG_4783_finished.JPG" width="150" height="100" id="IFid14" class="ImageFrame_None" alt="Benji sleeping like a baby" /></a></div></div> <div class="centre"><div class="wpg2tag-image"><a href="http://ed.am/photos/personal/benjamin/just-born/IMG_4793_finished.jpg.html" title="A new mother"><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/photos/personal/benjamin/just-born/IMG_4827_finished.jpg.html" title="A new father"><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/photos/personal/benjamin/just-born/IMG_4863_resized.JPG.html" title="A proud Grandma"><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/photos/personal/benjamin/just-born/IMG_4884_finished.JPG.html" title="Benji sleeping"><img src="http://ed.am/gallery2/download/735-17/IMG_4884_finished.JPG" width="150" height="100" id="IFid18" class="ImageFrame_None" alt="Benji sleeping" /></a></div></div> <div class="centre"><div class="wpg2tag-image"><a href="http://ed.am/photos/personal/benjamin/just-born/IMG_4891_finished.JPG.html" title="Izzy meets Benji"><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 Benji" /></a></div><div class="wpg2tag-image"><a href="http://ed.am/photos/personal/benjamin/just-born/IMG_4906_fromraw.jpg.html" title="Izzy loves her baby brother!"><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> edam http://ed.am ::[ edam ]:: the adventures of edam http://ed.am/feed/atom 2012-02-23T00:00:03+00:00 Messier 83 http://www.futuremowgli.co.uk/?p=294 2010-11-30T12:59:59+00:00 <p>This track is dedicated to <a href="http://www.futuremowgli.co.uk/files/PIX/Messier%2083.jpg">Messier 83</a>, one of the most beautiful spiral galaxies.</p> <p>Feel free to leave comments and don&#8217;t be afraid to crank up the bass!</p> <p><a class="play" href="http://www.futuremowgli.co.uk/files/music/my%20tunes/electronical/Messier83.mp3">Play/Download Track</a></p> <div class="license"><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/"><img src="http://creativecommons.org/images/public/somerights20.png" alt="Creative Commons License" /></a>This <span>work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">Creative Commons Attribution-Noncommercial-Share Alike 2.0 UK: England &amp; Wales License</a>.</div> Future Mowgli http://www.futuremowgli.co.uk Future Mowgli Project The Portfolio of Dan Marston http://www.futuremowgli.co.uk/feed/atom 2012-02-19T08:00:04+00:00 Ubuntu Lucid on an Acer Aspire 3690 http://www.waxworlds.org/edam/?p=334 2010-06-01T18:55:16+00:00 <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"><div class="text codecolorer">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"><div class="bash codecolorer"><span>#!/bin/sh</span><br /> <br /> <span># fix the suspend issue on Asus Aspire 3690. The built-in camera (device ID</span><br /> <span># 0402:5602, &quot;ALi Corp. Video Camera Controller&quot;) issues a wakup during the</span><br /> <span># suspend process, aborting suspend. So lets turn it off.</span><br /> <br /> <span># To install, make this script executable and move it to /etc/pm/sleep.d</span><br /> <br /> <span>case</span> <span>$1</span> <span>in</span><br /> thaw<span>|</span>resume<span>&#41;</span><br /> &nbsp; &nbsp; <span>echo</span> disabled <span>&gt;</span> <span>/</span>sys<span>/</span>bus<span>/</span>usb<span>/</span>devices<span>/</span><span>1</span>-<span>4</span><span>/</span>power<span>/</span>wakeup<br /> &nbsp; &nbsp; <span>;;</span><br /> <span>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> <h2>Obligatory tweaks</h2> <p>There are also the little gripes.</p> <p>Despite there being an <a href="http://brainstorm.ubuntu.com/idea/23899/">overwhelming user preference</a> to keep the window buttons (minimise, maximise and close) on the left of the window, as they always have been in Ubuntu, it was decided that they would be moved to the right. You can move them back again by following instructions in <a href="http://ubuntuforums.org/showthread.php?t=1469475">this post</a>.</p> <p>I also removed all traces of Canonical&#8217;s little cloud facilities which are unnecessarily installed by default. The following command did the trick:</p> <div class="codecolorer-container bash default"><div class="bash codecolorer">$ <span>sudo</span> <span>apt-get remove</span> libubuntuone-<span>1.0</span>-<span>1</span> python-ubuntuone \<br /> &nbsp; &nbsp; python-ubuntuone-client python-ubuntuone-storageprotocol ubuntuone-client-gnome \<br /> &nbsp; &nbsp; rhythmbox-ubuntuone-music-store ubuntuone-client</div></div> edam http://ed.am ::[ edam ]:: the adventures of edam http://ed.am/feed/atom 2012-02-23T00:00:03+00:00 Electronic Brain http://www.futuremowgli.co.uk/?p=286 2009-10-02T14:49:01+00:00 <p>This may have been my most time consuming project yet, I have spent an unimaginable amount of time producing this track. Perhaps a little too long!!!</p> <p>I have come to visualise it as an intricate mosaic of noise rather than a musical piece, although I think it gels quite well so I&#8217;m sure that will wear off after I have not had to listen to it for a few weeks!</p> <p>I had an unusual and unexpected emotional response to finalising this tune It would be fair to say it was the end of a long journey.</p> <p>Anyway enough of that bollocks, here&#8217;s the track:</p> <p>Please listen to it on good quality headphones or a decent sound system, I&#8217;d very much appreciate your feed back.</p> <p><a class="play" href="http://www.futuremowgli.co.uk/files/music/my%20tunes/electronical/Electronic%20Brain.mp3">Play/Download Track</a></p> <div class="license"><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/"><img src="http://creativecommons.org/images/public/somerights20.png" alt="Creative Commons License" /></a>This <span>work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">Creative Commons Attribution-Noncommercial-Share Alike 2.0 UK: England &amp; Wales License</a>.</div> Future Mowgli http://www.futuremowgli.co.uk Future Mowgli Project The Portfolio of Dan Marston http://www.futuremowgli.co.uk/feed/atom 2012-02-19T08:00:04+00:00