<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Blogging to Nowhere</title>
	
	<link>http://blog.webworxshop.com</link>
	<description>cat /dev/brain &gt; /dev/null</description>
	<lastBuildDate>Thu, 28 Jan 2010 22:02:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/BloggingToNowhere" /><feedburner:info uri="bloggingtonowhere" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>UoA ECE Department ‘DonKey’ on Linux</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/kKOM3AvjQE0/uoa-ece-department-donkey-on-linux</link>
		<comments>http://blog.webworxshop.com/2010/01/29/uoa-ece-department-donkey-on-linux#comments</comments>
		<pubDate>Thu, 28 Jan 2010 22:02:24 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[auckland]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[DonKey]]></category>
		<category><![CDATA[ECE]]></category>
		<category><![CDATA[microcontrollers]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[UoA]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=153</guid>
		<description><![CDATA[Introduction: Since finishing my Part IV Project, I&#8217;ve been threatening to do some embedded/microcontroller stuff in my spare time at home. I&#8217;ve now finally go around to it and I thought I&#8217;d start by playing with a few components I had left over from a Uni project a while back. I&#8217;ve also ordered an Arduino [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Introduction:</strong> Since finishing my Part IV Project, I&#8217;ve been threatening to do some embedded/microcontroller stuff in my spare time at home. I&#8217;ve now finally go around to it and I thought I&#8217;d start by playing with a few components I had left over from a Uni project a while back. I&#8217;ve also ordered an Arduino board (see below), but it hasn&#8217;t arrived yet. When it does, I think I&#8217;m going to have a go programming it in C rather than the random Arduino language, as I have much more experience of programming embedded systems than your average Arduino user. I&#8217;ll report on my progress when I have some!</em></p>
<p>In the Electrical and Computer Engineering Deaprtment of the University of Auckland, where I work we have a little device, internally known as the &#8216;DonKey&#8217;. The purpose of this is to allow easy programming of Atmel AVR based microcontrollers via USB, rather than the simpler serial interface. We also have some internally developed software to program microcontrollers via the device, unfortunately this software is pretty much windows only (we did have a successful attempt to compile it for Linux, but this was quite a while ago, a better solution would be to use a native Linux application).</p>
<p>Internally the DonKey uses an FTDI based USB to UART chip (specifically the FT232R) to communicate with the microcontroller. This presents some problems as, despite being the basis of the programmer on incredibly popular Arduino boards, the main Linux programming tool (AVRdude) has no official FTDI support. I think this is largely due to the use of a bootloader on the Arduino boards, which negates the need of the programming tool to directly flash the board. If however you brick the AVR on the Arduino, you would be out of luck and would need a physical programmer (more on this below).</p>
<div id="attachment_164" class="wp-caption aligncenter" style="width: 480px"><a href="http://blog.webworxshop.com/wp-content/uploads/2010/01/donkey.jpg"><img src="http://blog.webworxshop.com/wp-content/uploads/2010/01/donkey.jpg" alt="The DonKey" title="The DonKey" width="470" height="224" class="size-full wp-image-164" /></a><p class="wp-caption-text">The DonKey in all it's glory.</p></div>
<p>In this howto I&#8217;ll cover how to get the DonKey working on Linux with AVRdude. Luckily, while researching how I might go about this I found that a large part of the work had been done for me, due to the fact that the Arduino also uses these chips. I found instructions on <a href='http://doswa.com/blog/2009/12/20/avrdude-58-with-ftdi-bitbang-patch-on-linux/'>doswa.com</a> on how to patch and compile AVRdude for just this purpose (so you could flash a bootloader to a new AVR).</p>
<p>These instructions work quite well for the DonKey, up until you get to running the &#8216;./configure&#8217; command, I replaced this with:</p>
<p><code>$ ./configure --prefix=$HOME/.local</code></p>
<p>to setup the code to do a local install in my home directory (as I want this to be my primary version of AVRdude, but not to screw with things on the root filesystem).</p>
<p>Next I followed the instructions on modifiying the makefile and compiling AVRdude via the &#8216;make&#8217; command. After &#8216;make&#8217; I also typed:</p>
<p><code>$ make install</code></p>
<p>to install into the directory setup earlier. Now AVRdude is installed, the next thing to do is a bit of configuration, firstly you&#8217;ll want to make sure it&#8217;s on your $PATH so add the following to your ~/.bashrc file:</p>
<p><code>export PATH=$HOME/.local/bin:$PATH</code></p>
<p>and run the command:</p>
<p><code>$ source ~/.bashrc</code></p>
<p>to re-read the file.</p>
<p>The next issue is that you may wish to remove any copy of AVRdude that is otherwise installed (I found that sometimes my shell would run the wrong one &#8211; especially if you use &#8217;sudo&#8217; to run it):</p>
<p><code>sudo apt-get remove --purge avrdude</code></p>
<p>Now, I just mentioned above that you might use &#8217;sudo&#8217; to run AVRdude, well according to the doswa article you do need to use sudo when using the FTDI based programmers. I&#8217;m not sure why this is, but it&#8217;s not very useful if you want to be able to call AVRdude from a Makefile or the like.</p>
<p>I solved this by setting a &#8217;suid root&#8217; on my AVRdude binary. For those that don&#8217;t know what this is, the suid bit is a Unix permission setting that makes any program with it run under it&#8217;s owning user rather than the user who called it. If the owner happens to be root, the program runs as root even if the user who calls it isn&#8217;t. This is probably really insecure if you do it a lot, but you should be OK in this case.</p>
<p><b>WARNING: Despite what I say, it might not be OK. Allowing any program unrestricted root access has the potential to hose your system and scatter all your data to the winds. FOLLOW THESE INSTRUCTIONS AT YOUR OWN RISK!!</b></p>
<p>So here we go:</p>
<p><code>$ sudo chown root:root ~/.local/bin/avrdude<br />
$ sudo chmod u+s ~/.local/bin/avrdude</code></p>
<p>Now you should be able to successfully run AVRdude on FTDI based devices without resorting to using sudo every time.</p>
<p>But, what of the DonKey I hear you cry! Well all we have to do to support the DonKey is give AVRdude a little bit of configuration which tells it what the DonKey actually is. This can go in ~/.avrduderc, and looks a bit (well exactly) like this:</p>
<p><code>programmer<br />
  id    = "donkey";<br />
  desc  = "University of Auckland ECE DonKey";<br />
  type  = ft245r;<br />
  miso  = 1; # D1<br />
  sck   = 2; # D2<br />
  mosi  = 3; # D3<br />
  reset = 4; # D4<br />
;</code></p>
<p>OK, now you should be able to successfully use the DonKey with AVRdude, using a command similar to this:</p>
<p><code>avrdude -c donkey -p m8 -P ft0 -U myawesomeavrproject.hex</code></p>
<p><em>Note: this command is for the ATMega8 as denoted by the &#8216;-p m8&#8242;, check the AVRdude manual page for the correct -p option if you are using a different type of AVR.</em></p>
<p>OK, well that&#8217;s pretty much it, I&#8217;ll post back soon regarding my other progress with some microcontroller stuff. Bye for now!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/kKOM3AvjQE0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2010/01/29/uoa-ece-department-donkey-on-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2010/01/29/uoa-ece-department-donkey-on-linux</feedburner:origLink></item>
		<item>
		<title>Mu-Feeder 0.1 Released</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/bEMaKM2oY4U/mu-feeder-0-1-released</link>
		<comments>http://blog.webworxshop.com/2010/01/06/mu-feeder-0-1-released#comments</comments>
		<pubDate>Wed, 06 Jan 2010 03:08:11 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[identi.ca]]></category>
		<category><![CDATA[launchpad]]></category>
		<category><![CDATA[mu-feeder]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=145</guid>
		<description><![CDATA[Hello Everyone, welcome to Twenty-Ten (yes we finally get to sound like we live in the future!).
I&#8217;m very pleased to announce the release of my pet project Mu-Feeder, or at least a very early version of it. I actually released version 0.1.0 unofficially yesterday, but then found a bug which was tickled by Python 2.4, [...]]]></description>
			<content:encoded><![CDATA[<p>Hello Everyone, welcome to Twenty-Ten (yes we finally get to sound like we live in the future!).</p>
<p>I&#8217;m very pleased to announce the release of my pet project <a href="http://launchpad.net/mu-feeder">Mu-Feeder</a>, or at least a very early version of it. I actually released version 0.1.0 unofficially yesterday, but then found a bug which was tickled by Python 2.4, so fixed that and re-released as version 0.1.1.</p>
<p>If you want to try it out you can get it <a href="http://launchpad.net/mu-feeder/0.1/0.1.1/+download/mu-feeder-0.1.1.tar.gz">here</a>, or you can download the code with:</p>
<p><code>$ bzr branch lp:mu-feeder/0.1</code></p>
<p>If you have a bug report, please post it on the <a href="https://bugs.launchpad.net/mu-feeder">Launchpad bug tracker</a>, I&#8217;m also seeking feedback which you can send to me in a variety of ways (comment here, <a href="http://identi.ca/robconnolly">identi.ca</a> or <a href="https://answers.launchpad.net/mu-feeder">Launchpad answers page</a>).</p>
<p>I hope someone finds this useful! Enjoy!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/bEMaKM2oY4U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2010/01/06/mu-feeder-0-1-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2010/01/06/mu-feeder-0-1-released</feedburner:origLink></item>
		<item>
		<title>Introducing Mu-Feeder…</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/SO8v104pCGw/introducing-mu-feeder</link>
		<comments>http://blog.webworxshop.com/2009/11/25/introducing-mu-feeder#comments</comments>
		<pubDate>Wed, 25 Nov 2009 02:16:24 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[identi.ca]]></category>
		<category><![CDATA[launchpad]]></category>
		<category><![CDATA[mu-feeder]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=140</guid>
		<description><![CDATA[I  haven&#8217;t written here in a while, principally because I&#8217;ve been doing exams and finishing various projects at Uni. I&#8217;m now doing a summer studentships project for my department for which I get paid (excellent!), so that&#8217;s keeping me busy. However, I&#8217;m not really here to talk about all that stuff&#8230;
The purpose of this [...]]]></description>
			<content:encoded><![CDATA[<p>I  haven&#8217;t written here in a while, principally because I&#8217;ve been doing exams and finishing various projects at Uni. I&#8217;m now doing a summer studentships project for my department for which I get paid (excellent!), so that&#8217;s keeping me busy. However, I&#8217;m not really here to talk about all that stuff&#8230;</p>
<p>The purpose of this entry is to announce my personal Free Software project. Mu-Feeder (pronounced &#8216;mew-feeder&#8217;) is a project to replace the proprietary web service <a href="http://twitterfeed.com">Twitterfeed</a> with a piece of Free Software. Basically the idea is to take entries from an RSS or Atom feed and post them to a microblog. I figured this could be quite easily done and it would let me get used to the tools, etc involved in publishing Free Software. Basically, it&#8217;s not meant to be a complicated project, just to fill a gap and give me some experience.</p>
<p>At the moment the software is designed to run as a Python script executed via Cron. When it gets called it should build a summary of the top items in the feed (along with shortened URL&#8217;s) and post them to the configured microblog. I already have <a href="http://identi.ca">identi.ca</a> support as well as (untested) <a href="http://twitter.com">twitter</a> and <a href="http://status.net">StatusNet</a> support, principally bacause they all use the same API. I&#8217;m aiming to have support for a single feed in the 0.1 release with support form multiple feeds in a subsequent release.</p>
<p>All the details are up on the Launchpad page at <a href="https://launchpad.net/mu-feeder">https://launchpad.net/mu-feeder</a> and you can get the code via <a href="http://bazaar-vcs.org">bzr</a> with:</p>
<p><code>$ bzr branch lp:mu-feeder</code></p>
<p>Bug reports are welcome at <a href="https://bugs.launchpad.net/mu-feeder">https://bugs.launchpad.net/mu-feeder</a>.</p>
<p>That&#8217;s about it, I&#8217;ll update on progress here as I go. Bye for now!</p>
<p>PS. Ironically this blog entry will be posted to identi.ca with the very service that Mu-Feeder aims to replace!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/SO8v104pCGw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/11/25/introducing-mu-feeder/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/11/25/introducing-mu-feeder</feedburner:origLink></item>
		<item>
		<title>Online Filesystem Resizing with LVM</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/v2yiuxpxQ4M/online-filesystem-resizing-with-lvm</link>
		<comments>http://blog.webworxshop.com/2009/10/10/online-filesystem-resizing-with-lvm#comments</comments>
		<pubDate>Fri, 09 Oct 2009 23:45:27 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[crunchbang]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=134</guid>
		<description><![CDATA[I use LVM on my main desktop machine. This is awesome because it allows me to dynamically allocate space to partitions as I choose, however I always forget how to do a resize, so I&#8217;m going to write it down here. This isn&#8217;t going to be a full LVM tutorial (there&#8217;s plenty of material out [...]]]></description>
			<content:encoded><![CDATA[<p>I use LVM on my main desktop machine. This is awesome because it allows me to dynamically allocate space to partitions as I choose, however I always forget how to do a resize, so I&#8217;m going to write it down here. This isn&#8217;t going to be a full LVM tutorial (there&#8217;s plenty of material out there for that), although maybe that&#8217;s an idea for the future.</p>
<p>The following commands will resize an ext2, ext3, or ext4 filesystem running on LVM while it is mounted:</p>
<p><code>$ sudo lvresize -L +XXG &lt;path to fs device&gt;</code><br />
<code>$ sudo resize2fs &lt;path to fs device&gt;</code></p>
<p>In the above command you need to replace XX with the number of GB you want the filesystem to grow by and &lt;path to fs device&gt; by the device node (typically /dev/mapper/something).</p>
<p>An there you have it, done! Obviously there is a huge amount more you can do with the two tools above, take a look at their man pages for more info.</p>
<p>Hopefully this post will save me from having to work out how to do this every time!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/v2yiuxpxQ4M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/10/10/online-filesystem-resizing-with-lvm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/10/10/online-filesystem-resizing-with-lvm</feedburner:origLink></item>
		<item>
		<title>Turnitin follow up…</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/k6tkISltgbU/turnitin-follow-up</link>
		<comments>http://blog.webworxshop.com/2009/10/08/turnitin-follow-up#comments</comments>
		<pubDate>Thu, 08 Oct 2009 06:53:17 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[turnitin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=128</guid>
		<description><![CDATA[Well it&#8217;s been a couple of days since I posted my rant about my bad experience with turnitin.com on Ubuntu and (shock horror!) I&#8217;ve had a response (thus defying the title of this blog).
The responder was Stephen Sharon via Twitter, he&#8217;s written a paper around some of the legal concerns over turnitin and he sent [...]]]></description>
			<content:encoded><![CDATA[<p>Well it&#8217;s been a couple of days since I posted my <a href="http://blog.webworxshop.com/2009/10/06/turnitin-com_wtf">rant about my bad experience</a> with <a href="http://turnitin.com">turnitin.com</a> on <a href="http://ubuntu.com">Ubuntu</a> and (shock horror!) I&#8217;ve had a response (thus defying the title of this blog).</p>
<p>The responder was <a href="http://twitter.com/ssharon27">Stephen Sharon</a> via <a href="http://http://twitter.com/robconnolly">Twitter</a>, he&#8217;s written a paper around some of the legal concerns over turnitin and he sent me the <a href="http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=1259310">link</a>. It&#8217;s good reading and confirms some of the things I had heard surrounding the site. I&#8217;d encourage everyone reading this to click through and read Stephen&#8217;s paper (it&#8217;s 38 pages, but double spaced and with much of each age containing references).</p>
<p>I&#8217;m not qualified to give legal comment on tunitin (I&#8217;m and Engineer not a Lawyer), but I will give my opinion. Before I do I&#8217;d like to give the following disclaimer (in true <a href="http://www.softwarefreedom.org/podcast/">Software Freedom Law Show</a> style):</p>
<p><strong>WARNING: The following DOES NOT (in any way, shape or form) constitute legal advice, it is only my own (perhaps misguided) opinion. I would urge anyone who has any concerns over how their data may have been used by Turnitin to contact someone who actually knows what they a talking about, in this case A LAWYER!</strong></p>
<p>Basically, I think Turnitin is on pretty shaky legal ground both in terms of Copyright and Privacy (certainly under US law). Here I New Zealand we have different privacy laws, but I&#8217;m sure they probably say much the same thing. The copyright issues are also concerning, I don&#8217;t want to turn over my rights to Turnitin just so I can submit my paper. What if my assignment gave technical details of an invention which I may in future have some financial interest in. Turnitin would have the right to use that information as they see fit.</p>
<p>Realistically I think it&#8217;s only a matter of time before Turnitin is taken to court again to face a hard examination of their user agreement, etc. This whole thing brings be back onto the subject of <a href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a>. I think it really is important for these tools which have such important uses to be Free (as in speech), it would be great to see a <a href="http://autonomo.us/">Free Network Service</a> replace Turnitin as the dominant player in this market. I would much rather trust that to be transparent and honest than a company driven by profit and market share.</p>
<p>Anyway that&#8217;s just my $0.02. Before I finish I&#8217;ll encourage you all again to read <a href="http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=1259310">Stephen&#8217;s paper</a>.</p>
<p>Bye!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/k6tkISltgbU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/10/08/turnitin-follow-up/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/10/08/turnitin-follow-up</feedburner:origLink></item>
		<item>
		<title>Site News…</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/0-teekYtrI8/site-news</link>
		<comments>http://blog.webworxshop.com/2009/10/07/site-news#comments</comments>
		<pubDate>Wed, 07 Oct 2009 08:11:37 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[gallery3]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[site news]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=121</guid>
		<description><![CDATA[Well, this is my second post in as many days. Truth be told I&#8217;ve actually  been giving the site a bita lovin&#8217;. I&#8217;ve had a general tidy up, added &#8216;more tags&#8217; to some of the longer posts so that they don&#8217;t take up as much of the main listing page and I&#8217;ve added a new [...]]]></description>
			<content:encoded><![CDATA[<p>Well, this is my second post in as many days. Truth be told I&#8217;ve actually  been giving the site a bita lovin&#8217;. I&#8217;ve had a general tidy up, added &#8216;more tags&#8217; to some of the longer posts so that they don&#8217;t take up as much of the main listing page and I&#8217;ve added a new Copyright (CC) notice as well as sorted out some Google adds to try and pay for the hosting of the site (not sure how successful they&#8217;ll be though).</p>
<p>I&#8217;ve also been working generally on my &#8216;personal cloud&#8217;. I&#8217;ve put up a <a href="http://gallery.webworxshop.com">gallery</a> where I can put my photos which is something I&#8217;ve wanted to do for a while. I&#8217;m using <a href="http://sourceforge.net/projects/gallery/files/gallery3/">Gallery 3</a> (Beta 3) which is nice. I tried this a while ago with Gallery 2 and it was horibly complicated and overengineered so I gave up in the end.</p>
<p>The new interface is really nice, there&#8217;s come nice AJAXy stuff in there which makes it feel nice and polished &#8211; kind of like using <a href="http://flickr.com">Flickr</a> or <a href="http://facebook.com">Facebook</a> only with <a href="http://www.gnu.org/philosophy/free-sw.html">Freedom</a>. As you may have gathered I&#8217;m not a huge Facebook fan, although I do have an account, this is mainly because of concerns over privacy and what <a href="http://en.wikipedia.org/wiki/Criticism_of_Facebook#.22Terms_of_Use.22_controversy">control they have over your data</a> (including any photos you upload). I&#8217;d rather just retain control and ownership of my data.</p>
<p>Anyway if you want to have a look at the gallery, click the gallery link at the top of the page (it currently uses javascript to redirect you &#8211; something which I will fix in future). I think that&#8217;s about all for now. I&#8217;m hopefully going to get back to posting some techy stuff soon, I still have a couple of things lined up I just haven&#8217;t had time to write them up yet.</p>
<p>Bye for now!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/0-teekYtrI8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/10/07/site-news/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/10/07/site-news</feedburner:origLink></item>
		<item>
		<title>Turnitin.com, wtf?</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/o2v9Ab06PhU/turnitin-com_wtf</link>
		<comments>http://blog.webworxshop.com/2009/10/06/turnitin-com_wtf#comments</comments>
		<pubDate>Mon, 05 Oct 2009 21:41:22 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[crap]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[turintin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[UoA]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=106</guid>
		<description><![CDATA[Sorry about this but I really have to say something about this. We had to submit an assignment yesterday via turnitin.com and it broke on me because I wasn&#8217;t using a &#8217;supported operating system&#8217;, I was using Ubuntu.
When I logged in I got a message warning me that it might not work, but I honestly [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry about this but I really have to say something about this. We had to submit an assignment yesterday via <a href="http://turnitin.com">turnitin.com</a> and it broke on me because I wasn&#8217;t using a &#8217;supported operating system&#8217;, I was using <a href="http://ubuntu.com">Ubuntu</a>.</p>
<p>When I logged in I got a message warning me that it might not work, but I honestly don&#8217;t see the reason why. Shouldn&#8217;t it just be browser specific, not OS specific? I then proceeded to upload my PDF and it seemed to think it actually wasn&#8217;t a PDF! Switching to a Windows XP machine and uploading the same PDF worked fine which is the really random thing.</p>
<p>I don&#8217;t even see why <a href="http://www.auckland.ac.nz">our University</a> has to use a third party service for this anyway, I&#8217;m sure they have the resources to do this in house. Then there is the whole <a href="http://http://en.wikipedia.org/wiki/Turnitin#Possible_violation_of_student_copyright">copyright</a> thing, which I&#8217;m not altogether happy with either.</p>
<p>Anyway, at least it seems Ubuntu isn&#8217;t alone in this, according to a friend Windows 7 also triggers the same error message (albeit without the PDF fail).</p>
<p>Again, sorry for the rant.</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/o2v9Ab06PhU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/10/06/turnitin-com_wtf/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/10/06/turnitin-com_wtf</feedburner:origLink></item>
		<item>
		<title>Long time no post…</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/_XVN8fmzZe8/long-time-no-post</link>
		<comments>http://blog.webworxshop.com/2009/09/23/long-time-no-post#comments</comments>
		<pubDate>Wed, 23 Sep 2009 09:07:25 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=98</guid>
		<description><![CDATA[Wow, it&#8217;s been three months since I last posted. I know this blog has never exactly been frequent, but that&#8217;s bad even for me, however I do have a very good reason. Over the last few months I&#8217;ve been incredibly busy working on my 4th year University project.
For anyone that doesn&#8217;t know, I&#8217;m studying Computer [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, it&#8217;s been three months since I last posted. I know this blog has never exactly been frequent, but that&#8217;s bad even for me, however I do have a very good reason. Over the last few months I&#8217;ve been incredibly busy working on my 4th year University project.</p>
<p>For anyone that doesn&#8217;t know, I&#8217;m studying Computer Systems Engineering at the <a href="http://www.auckland.ac.nz">University of Auckland</a> and I&#8217;m in my final year of undergraduate. At our university that means working on a year long project (worth 2 times the credit of a regular course) and presenting your progress at the end of it. My project was in the embedded systems arena and involved the development of a real-time embedded speech dialogue system &#8211; basically an embedded speech controlled application. I&#8217;ll try and post some more details in the future, I have some videos and stuff I want to put up, but I don&#8217;t want to focus on it too much because we didn&#8217;t really use that much Free Software.</p>
<p>Anyway, it&#8217;s pretty much over now &#8211; we just have one more component to hand in on Friday and then it&#8217;s done. I&#8217;ve really enjoyed the experience and learnt a lot. I&#8217;m thinking that I may go further into embedded systems &#8211; hopefully to do a Masters degree next year. I also want to do some hardware hacking/embedded systems stuff at home and have already been searching out how I can do it using Free Software, I&#8217;ve already found Free replacements for some of the components we used which I wish we&#8217;d used now! Maybe there will be a few posts on that in the future, but I already have a couple of other posts lined up, so expect to see a flurry of activity here!</p>
<p>That&#8217;s it for now though. See ya!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/_XVN8fmzZe8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/09/23/long-time-no-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/09/23/long-time-no-post</feedburner:origLink></item>
		<item>
		<title>Even easier netboot installation…</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/n-sJxJcF7mI/even-easier-netboot-installation</link>
		<comments>http://blog.webworxshop.com/2009/06/24/even-easier-netboot-installation#comments</comments>
		<pubDate>Wed, 24 Jun 2009 02:12:16 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[eeepc]]></category>
		<category><![CDATA[netboot]]></category>
		<category><![CDATA[pxe]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=94</guid>
		<description><![CDATA[A while ago I covered netbooting/installation on ubuntu, well I&#8217;ve now found an even easier way to do this! It&#8217;s probably the easiest way to go about this as it really only involves editing one config file. Some of the info here comes from the official Ubuntu documentation on this, though my approach is actually [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I covered <a href="/2009/02/09/pxe-netinstalling-for-simpletons">netbooting/installation on ubuntu</a>, well I&#8217;ve now found an even easier way to do this! It&#8217;s probably the easiest way to go about this as it really only involves editing one config file. Some of the info here comes from the <a href="https://help.ubuntu.com/community/Installation/Netboot">official Ubuntu documentation</a> on this, though my approach is actually easier, since you don&#8217;t need a separate tftp server.</p>
<p>The main piece of software you will need is dnsmasq, which you can install with the command:</p>
<p><code>sudo apt-get install dnsmasq</code></p>
<p>I already had this installed as I&#8217;m using it as a DNS cache for my network (which is also pretty useful). It turns out that dnsmasq is a bit of a &#8217;swiss army knife&#8217;, it can do DHCP, DNS and TFTP all together and very easily. You should edit the config file:</p>
<p><code>sudo nano /etc/dnsmasq.conf</code><span id="more-94"></span></p>
<p>And add/uncomment/edit the following lines:</p>
<p><code>dhcp-range=192.168.1.3,192.168.1.50,12h # sets the ip address range and update frequency for the network<br />
dhcp-boot=pxelinux.0 # set up network booting to boot the pxelinux bootloader<br />
enable-tftp # enable built in tftp server<br />
tftp-root=/var/tftpd # set tftp directory</code></p>
<p>Basically this sets up dnsmasq to be both the DHCP server for the network and push the PXE boot options out over the network. It also enables the built in TFTP server in dnsmasq and sets the directory to serve files from.</p>
<p>The next step is to get some files to serve, I got the PXE/netboot image from the Ubuntu <a href="http://cdimage.ubuntu.com/netboot/">cdimages</a> site, and untarred the files to the correct directory:</p>
<p><code>wget http://archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-i386/current/images/netboot/netboot.tar.gz<br />
sudo mkdir -p /var/tftp<br />
tar -xvzf netboot.tar.gz -C /var/tftp/<br />
chown -R nobody:nogroup /var/tftp</code></p>
<p>The tar file of course is basically just the minimal install CD, set up for netbooting, so when you install you will need to download all the packages, for a simple cli install this doesn&#8217;t take very long, and you can use a package cache or something to help with future installs.</p>
<p>OK, now restart dnsmasq:</p>
<p><code>sudo /etc/init.d/dnsmasq restart</code></p>
<p>&#8230;and you should be good to go (make sure that your machine is the only DHCP server on the network). For tips on booting clients see my <a href="/2009/02/09/pxe-netinstalling-for-simpletons">original article</a> &#8211; btw, since I used the new version of Ubuntu I can now boot my Eee PC 901 over the network!</p>
<p>If you have any questions or problems with this I&#8217;d be happy to answer them, just post them below.</p>
<p>Bye for now!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/n-sJxJcF7mI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/06/24/even-easier-netboot-installation/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/06/24/even-easier-netboot-installation</feedburner:origLink></item>
		<item>
		<title>Quickly change Debian repositories</title>
		<link>http://feedproxy.google.com/~r/BloggingToNowhere/~3/8LD3wDoD7oo/quickly-change-debian-repositories</link>
		<comments>http://blog.webworxshop.com/2009/06/03/quickly-change-debian-repositories#comments</comments>
		<pubDate>Wed, 03 Jun 2009 08:30:30 +0000</pubDate>
		<dc:creator>Rob Connolly</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[UoA]]></category>

		<guid isPermaLink="false">http://blog.webworxshop.com/?p=82</guid>
		<description><![CDATA[Apt is awesome. Plain and simple.
But it is kinda static. By this I mean it&#8217;s not particularly suited to environments where things change frequently. For example, we have a local mirror at uni, which of course it much faster than using the external Ubuntu or Debian ones, however as this is only available from internal [...]]]></description>
			<content:encoded><![CDATA[<p>Apt is awesome. Plain and simple.</p>
<p>But it is kinda static. By this I mean it&#8217;s not particularly suited to environments where things change frequently. For example, we have a local mirror at uni, which of course it much faster than using the external Ubuntu or Debian ones, however as this is only available from internal University of Auckland IP addresses I would have to change my /etc/apt/sources.list file if I wanted to install something from home.</p>
<p>Today I knocked together a quick Python script to fix this, all it does is basically manipulate a symlink which points to the real /etc/apt/sources.list file, but I thought I&#8217;d share it anyway:<span id="more-82"></span></p>
<p><code>#!/usr/bin/env python<br />
import sys, os<br />
def usage():<br />
print "Usage: %s " % (sys.argv[0],)<br />
def main(argv):<br />
if argv[1] != None:<br />
sources_path = "/etc/apt/sources.list.%s" % (argv[1],)<br />
if os.path.exists(sources_path):<br />
os.unlink("/etc/apt/sources.list")<br />
os.symlink(sources_path, "/etc/apt/sources.list")<br />
print "SUCCESS: Don't for get to run 'sudo apt-get update'"<br />
return 0<br />
else:<br />
print "ERROR: Unknown repository set '%s'" % (argv[1],)<br />
usage()<br />
else:<br />
usage()<br />
return 1<br />
if __name__ == '__main__':<br />
sys.exit(main(sys.argv))</code></p>
<p>Unfortunately wordpress screwed with my formatting there (which kinda matters in a python script) so here is the file (<a href="http://blog.webworxshop.com/wp-content/uploads/2009/06/repo-switch.py">repo-switch.py</a>). You&#8217;ll need to download it and put it somewhere in your $PATH. Then make it execuatable:</p>
<p><code>chmod +x repo-switch.py</code></p>
<p>The next step is to set up your lists of repositories. Each list will have a suffix which the script will use to identify it. First I copied my main repositories (for the NZ Ubuntu mirrors):</p>
<p><code>sudo cp /etc/apt/sources.list /etc/apt/sources.list.nz</code></p>
<p>Obviously replace &#8216;nz&#8217; with a suffix of your choice. Then I dropped the list of repos for the local mirror into another file (in my case /etc/apt/sources.list.ece). You can set up as many different sets as you like, but I only need two.</p>
<p>Next step is to practice switching between them:</p>
<p><code>sudo repo-switch.py nz</code></p>
<p>&#8230;sets apt to use the file /etc/apt/sources.list.nz by changing /etc/apt.sources.list to a symlink pointing to the relevant place. Calling the script again with a different set (e.g. &#8216;ece&#8217; in my case) will set it up to use one of your other sets.</p>
<p>Obviously, you&#8217;ll need to run &#8217;sudo apt-get update&#8217; each time to make apt work with the new repos, but I added a line to the script to remind you!</p>
<p>Magic!</p>
<img src="http://feeds.feedburner.com/~r/BloggingToNowhere/~4/8LD3wDoD7oo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.webworxshop.com/2009/06/03/quickly-change-debian-repositories/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.webworxshop.com/2009/06/03/quickly-change-debian-repositories</feedburner:origLink></item>
	</channel>
</rss>
