Planet Linux Australia
Celebrating Australians & Kiwis in the Linux and Free/Open-Source community...

February 09, 2010

Joyce on debts

From the ABC today:

Opposition finance spokesman Barnaby Joyce is courting controversy again, warning that Australia is getting to the point where it will not be able to repay its overseas debt.

That’s a big call, which I don’t think is actually true. But how close are we? In the news at the moment is Greece, which is currently on the verge of bankruptcy with a 300 billion euro debt. (And if nations defaulting wasn’t hard enough, this is harder because it’s not just Greece’s problem to deal with, but the EU’s too)

But compare that to Queensland’s debt, which according to the last budget was $57.7 billion AUD and is expected to continue to rise each year until 2017. That’s about 36.6B euros at current rates, or about 12% of Greece’s debt. Though given Greece has a population of about 11M and Queensland only 4.4M, on a per-capita basis that brings it up to about 30% of Greece’s debt.

I can’t actually seem to find any simple summary of what NSW’s government debt is like to compare, but NSW Treasury seems to be claiming (pdf) “net financial liabilities” of about $50B at the moment (with a population of about 7M to service that debt), which would put it at about 16% of a Greece-esque basket case. Victoria’s apparently recently jumped from only a few billion in total public sector debt to an expected $23B, for its 5.4M people to pay back (just under 10% of Greece-esque craziness).

The Federal Government, meanwhile, has lost it’s brief run of being a net creditor (2005-2008, RIP), and according to the budget is currently around $53B in debt, and expected to hit $188B in 2013. Over 22M people, that’s currently 5.6% of Greece, or 20% of Greece by 2013. Given Queensland’s debt’s expected to be $85.5B by then, that puts us folks in the Smart State with 66.8% of Greece’s burden in the next couple of years.

That isn’t quite as bad as it seems — we’ve got a higher per-capita GDP than Greece, and plenty of resources to dig out of the ground and sell to China, and there might still be some room to have those debts conveniently vanish depending on how the Global Financial Crisis continues to play out, and Rudd apparently thinks it will all be paid off by 2022 anyway. So yeah… Barnaby aside, we haven’t hit the point of no return, but a little less of the “just think of it as an investment” excuse for borrowing more might still be a good idea…

Oh, and wow. Also via the ABC:

Brendan Flynn, who analyses sovereign risk for Standard and Poor’s, gives the Federal Government the highest triple-A credit rating.

“With the triple-A rating, that’s indicative of the extremely strong ability to meet financial obligations and therefore in our opinion, very little chance of defaulting on debt,” Mr Flynn said.

That’d be the same AAA rating from the same firms that those CDS and CDO things were getting just a few years ago, right?

Web Site Validation

Over the last few days I’ve got this blog and my documents blog to conform to valid XHTML according to the W3C validation service [1].

One significant change that I made was to use lower-case for HTML tags. For about 15 years I’ve been using capitals for tags to make them stand out from content and my blogs are the latest in a long line of web sites with that. Naturally I wasn’t going to correct 900 posts manually so I ran a series of SQL commands such as the following on my database server (where X is the Wordpress table prefix):

update X_wp_posts set post_content = replace(post_content,'<PRE>','<pre>');

But make sure you have a good backup of your database before running SQL search and replace commands on your blog data.

After running such commands about 90% of my blog posts conformed, so I only needed to edit about 90 posts to correct things. This process gave some real benefits. One issue is that an apostrophe in a URL must be quoted, otherwise some browsers will link to the desired URL and some will link to a truncated URL. Fixing a couple of variations of this problem resulted in some broken links being fixed. Another issue is that you can’t have paragraphs (<p> tags) within list items, fixing this made some of my posts align correctly – it was a tricky fix, in some cases I had to use <br/> to break up text in a list item and sometimes I replaced lists with different sections delimited by <h3> headings (which apparently is rumored to give better SEO).

It would make a really nice Wordpress feature to be able to do W3C validation as part of the publishing process, ideally an attempt to publish or schedule a post would result in a message saying “saved as a draft because it’s not valid XHTML” if the checks failed. The source to the W3C validation software is significantly larger than Wordpress [2], but it seems to me that there are two main types of Wordpress installations, small ones for personal use (which tend to be on fairly idle servers) and big ones that have so much traffic that the resource usage of validation would be nothing compared to the ongoing load.

As there seems to be no way of validating my posts before publication my best option is the W3C button I now have on my blog. This allows me to validate the page at a click so while I can’t entirely avoid the risk of publishing a post with invalid XHTML I can at least fix it rapidly enough that hardly anyone will notice.

It also seems like a useful feature to have aggregators like Venus [3] check for valid HTML and not display posts unless they are valid. It’s not a feature that could be enabled immediately (I’m sure that if you click on this link to the W3C validation service [1] from a Planet feed you will see lots of errors and warnings), but once bloggers have time to fix their installation it would allow preventing some of the common annoyances of Planet installations. It’s not uncommon on popular Planets to have unmatched tags in a post which results in significant amounts of the content being bold, underlined, in italics, or for the greatest annoyance struck-out. I know that this may be a controversial suggestion, but please consider why you are blogging – if you are blogging for the benefit of your readers (which seems to be the case for everyone other than sploggers) then it seems that the readers will benefit more by not having a broken post syndicated than they would benefit from having it syndicated and thus messing up the display of many following posts.

The next thing on my todo list in this regard is to do some tests of accessibility. The work that I have done to pass the XHTML validation tests has helped to some degree – if nothing else the images now all have alt= descriptions, but I expect that it will be a lot of work. The Wordpress Codex has a page about accessibility, I haven’t read all of it yet [4].

Does anyone have any recommendations for free automated systems that check web sites for accessibility? What would be ideal is a service that allows different levels of warnings, so instead of trying to fix all problems at once I could start by quickly fixing the most serious problems on the most popular posts and finish the job at some later date.

Looking for clues

So, what do you blog about when you are not, generally, online - at least not in a browsing kind of way and you are mostly doing the routine bits and bobs of life and nothing of particular note is really crossing your path?

Crap, I don't know either and even when people call me and ask what I am up to the most interesting answer I can give them is 'nesting'. Yes, my life has seemingly been so mundane that my Facebook status updates have revolved around nesting habits. Yep, they read as:

Signs of Nesting

#1: Cleans the living areas to the standard of 'impeccable' by staying up until 3am on the day of a social gathering.

#2: Spends an hour a day focussed on the garden because you can.

#3: Still wanting to deal with body clutter and gets frustrated when the personal trainer says 'No, You are too far gone for me to train you now!'

#4: The plastic cupboard is clean, tidy and ordered. (There is cranky pantsing over an orange sandwich keeper that did not come home from Kindy last year).

#5: New dragonfly tea set and some beautiful white tea ordered from Adore Tea just for oneself.

I must add here that the tea set and tea will arrive with my 'reserved items' of pink floral quilted bed covers and two dresses for baby from Carlee and Little Rooms by Carlee).

#6: All the linen in the house, baby relevant or not, has been washed.

#7: Foot spa is actually being used!

#8: Spends 4 days offline because we are distracted by housework.

#9: Has organised *brand spanking new* linen for baby's room. Now to wait for it to arrive!

Yes, this is separate to the order from Carlee - this is a result of a LLL party. In addition to sheets, we got the burano quilt cover set as well as a king size harmony quilt. Now the question is, do you know what a harmony quilt is? Answer:

"Everyone has different warmth needs when sleeping & a “one weight” quilt doesn't always suit 2 people. Our exclusive Harmony quilt is the ideal solution , with 1/2 of the quilt comprising a 480 gsm polyester fill for those who feel the cold & the other 1/2 is a lighter 240 gsm fill, for those who don’t want the extra warmth."

Pretty nifty, eh?

Continuing on...

#10: All household bills are paid and up to date! :)

#11: The diary is actually being used as a diary!

Yes, the paper variety - my brain is fudge.

#11: Bible study devotion is thought out before the morning it is presented.

#13: Using the same number twice in a row because focus is on productivity not accuracy.

#14: White tea from http://adoretea.com.au conquers all - even allowing people who jab you in a painful butt nerve to continue to live.

What can I say - sciatic pain is, well, a pain!

#15: Expending 12 meters of LetraTag tape to label the spine of every children's fiction book in the house with the Author's Surname Initial and then ordering them on the bookshelf.

Yes, my home birth midwife is probably right - it is a bit obsessive compulsive.

#16: Anyone and everyone is being grouched at for not pulling their weight. I am too pregnant to nest as much as I have been!

Okay, so maybe life has not been totally mundane but rather has been sufficiently boring to warrant me spending way too much money on bedding for our home, cleaning like no tomorrow and having a 'gut-ache' at anyone who appears to be less productive than this heavily pregnant mumma. Welcome to the final weeks of pregnancy!

Development

The Malaysian government is on mission to wrest the country out of the middle income trap in which it finds itself, and turn it into a fully developed nation by 2020.



My question is, why? Is the middle really so bad?..

Is a code of silence evil?



Looking at using google apps for my home email, as I want to be able to have my home machines totally turned off from time to time.

Found this interesting gem in the sign up agreement (which I have not yet agreed to :P ):

11. PR. Customer agrees not to issue any public announcement regarding the existence or content of this Agreement without Google’s prior written approval. Google may (i) include Customer’s Brand Features in presentations, marketing materials, and customer lists (which includes, without limitation, customer lists posted on Google’s web sites and screen shots of Customer’s implementation of the Service) and (ii) issue a public announcement regarding the existence or content of this Agreement. Upon Customer’s request, Google will furnish Customer with a sample of such usage or announcement.

This is rather asymmetrical: If I agree to the sign up page, I cannot say ‘I am using google apps’, but google can say ‘Robert is using google apps’. While I can appreciate not wanting to be dissed on if something goes wrong, this is very much not open! A couple of implications: Everyone seeking support for google apps in the apps forums is probably in violation of the sign up agreement; we can assume that anyone having a terrible experience has been squelched under this agreement.

Le sigh.

Measuring the popularity of SMTP server implementations on the Internet

I'm interested in measuring the performance of SMTP servers connected to the Internet. Before I can poke around inside a SMTP implementation, I want to ensure that I am using one which lots of people use. To that end I have been running a series of SMTP server surveys for the last several years. This work has been alluded to in the past, but I haven't published any results. This has mainly been because while I have written a number of papers on the topic, I am yet to have one accepted by an academic conference. I've been hesitant to comment about my results because of the requirement for academic publications not be previously published work.



I've decided to change that policy. I'm going to reserve a lot of the deeper analysis for academic publication (if I can make such a thing happen), but I am going to start talking about the work I am doing more in public. To start that off, I should mention what I've been doing...



There have been a number of previous surveys of SMTP servers connected to the Internet, with each survey using a different methodology. So although these results are not directly comparable, a comparison still provides some insight into how the server landscape has changed over the last 12 years. A comparison of published surveys is presented in the table below. Each survey in this table shows the: sample size, which is the number of IP addresses surveyed; sample approach, which is the methodology used to determine which IP addresses to sample and adds bias into the sampling; and the number of responses, which is the number of SMTP servers that responded. The majority of these surveys have relied on random sampling of the IP address space, perhaps with a selection algorithm to limit the results selected. Few of the more recent surveys provide complete information on their probing implementation or the rules they used to identify specific implementations from their observations. It should be noted that non-response from a surveyed IP generally indicates that it is not in fact running a SMTP server accessible from the Internet.



DateSurveyorSample sizeSample methodResponses
27 Nov 1996Bernstein500,000Selective random25,121
214 Aug 1997Bernstein200,000Selective random8,056
211 May 1998Bernstein20,310MX walk17,592
22 Apr 2000Bernstein12,595Selective random10,087
25 Oct 2000Bernstein25,777Random859
227 Sep 2001Bernstein39,206Random937
21 Dec 2002Credentia4,096Random1,837
21 Jan 2003Credentia30,000Random17,540
21 Apr 2003Credentia37,563Random20,410
21 May 2007MailChannels400,000Corporate domain names254,400




Whereas the surveys that I have been running with the assistance of my ever patient PhD supervisor Dr Eric McCreath have been quite a bit larger. Note that larger isn't necessarily better with these sorts of surveys, but my methodology attempts to aim for completeness, and the relative power of PlanetLab makes these computations surprisingly cheap. Details of my surveys so far:



DateSurveyorSample sizeSample methodResponses
January 2008Still / McCreath46,136,113Exhaustive1,973,748
April 2008Still / McCreath92,286,998Exhaustive1,609,111
July 2008Still / McCreath97,545,668Exhaustive1,579,507
October 2008Still / McCreath109,661,889Exhaustive1,801,081
January 2009Still / McCreath110,397,428Exhaustive1,916,719
April 2009Still / McCreath110,706,130Exhaustive1,925,760
October 2009Still / McCreath111,209,212Exhaustive1,800,573




Our survey is implemented by attempting to identify the MTA software running on an SMTP server using the SMTP connection banner. In other words, a collection of IP addresses are connected to on the SMTP port (TCP 25), and an attempt is made from the early stages of the SMTP protocol interaction to determine what SMTP server software is running on that host. The SMTP protocol will often reply to the connection with a status 220 line, referred to as the SMTP banner, this tells the connecting client that the server is ready. The SMTP banner also frequently states what software the server is running. Even if the software in use isn't explicitly named, it is often a string which is unique to a given SMTP implementation. This technique simply connects on the SMTP port, and logs any lines starting with 220. The connection is then closed, with no attempt to transfer an email occurring.



So what results have I found so far? I'm trying to keep these blog posts to less than 1,000 words each, so that's too big a question to answer here. I've found some quite unexpected things along the way, such as an accurate technique for measuring the occurrence of domain parking on the Internet, and I'll discuss those in future posts. Instead, let me leave you with this short graphical summary of the results so far:







This is the history of the currently five most popular implementations over time. You can see that Sendmail has fallen from a position of market dominance, and Exim is currently the most popular SMTP server implementation.



I have a lot more to say about all this work, but as I mentioned earlier I want to keep the length of these posts down. I'll say more in future posts.



Tags for this post: research(S)

Related posts: Initial SMTP survey poster results in a pie chart; Interesting paper: "YouTube Traffic Characterization: A View From the Edge"; RemoteWorker v74; Microsoft Exchange the most popular SMTP server on the Internet?; I think I've worked out the problem with the hotel network; Mikal, the massive domain squatter; Internet traffic; Domain name lookup helper for python?; Normalising mail server package names; Satellite internet at Walmart; Long time not much write; RemoteWorker v70; Announcing early results of my survey of SMTP servers; Noticed that smtpsurvey.stillhq.com is down?; Mikal, tell something I didn't know about SMTP servers on the Internet; The witty worm with Vern Paxson; Why does every man and his dog put man pages online?; Sensis Australian search



Comment

if I had a tee saying "Tech Goddess" I would wear it today

Steph's MacBook is affectionately known as the FrankenMac. It was built from the parts of 3 other MacBooks. The other night it started going into what seemed like swap death. Turned out to be catastrophic hard disk failure. Also, in what can only be described as a massive oversight, her laptop was not being Time Machined (whoops).



Anyway, after trying and failing to read the disk back using targeted disk mode plus dd_rescue on another Mac, I ended up swapping the disk into my Thinkpad last night and booting an Ubuntu LiveCD, ran dd_rescue and copied the hard disk image to an external hard drive. The filesystem is a little corrupted, and OSX can't read it... but Linux can! [Gotta say, this surprised me.]



I probably could have just booted the Mac itself with a LiveCD, but after targeted disk mode didn't work, I was worried it might be a logic board failure (let's just say Apple and I have a jaded history regarding logic boards). Also, I forgot for a bit that Macs can run Linux.



Since it did just seem to be a bad disk, I went and bought a new hard disk today, and have just successfully gotten the machine reinstalled and running again. The FrankenMac lives again!



So in summary, I am secretly brilliant, and Steph now has a 500GB USB harddisk to use with Time Machine.



P.S. something I forgot. This is for people who write articles for online Apple magazines: just because something is an Apple filesystem, they are still inodes, not iNodes.



P.P.S. I had to laugh, but I also forgot to give kudos to gnome-disk-utility which popped up a dialog during my dd_rescue, something like "One of your hard disks may be failing". Let's just say OS X loses here, being an OS that can't tell the difference between disk failure and filesystem failure.

Excluding files from git archive exports using gitattributes

git archive provides an easy way of producing a tarball directly from a project's git branch.



For example, this is what we use to build the Mahara tarballs:

git archive --format=tar --prefix=mahara-${VERSION}/ ${RELEASETAG} | bzip2 -9 > ${CURRENTDIR}/mahara-${RELEASE}.tar.bz2
If you do this however, you end up with the entire contents of the git branch, including potentially undesirable files like .gitignore.



There is an easy, though not very well-documented, way of specifying files to exclude from such exports: gitattributes.



This is what the Mahara .gitattributes file looks like:

/test export-ignore

.gitattributes export-ignore

.gitignore export-ignore
With this file in the root directory of our repository, tarballs we generate using git archive no longer contain the selenium tests or the git config files.



If you start playing with this feature however, make sure you commit the .gitattributes file to your repository before running git archive. Otherwise the settings will not be picked up by git archive.

February 08, 2010

location location location

My laptop has had an interesting couple of days. The main filesystem went read-only a couple of nights ago after a couple of random journal errors. After being fsck'd and cleaned up it did it again, so I reinstalled it and restored it from backup yesterday. Then last night it overheated, leading me to open the case and clean the wall of dust out of the fan. Its back together now, but a couple of lost of tiny parts means I have no indicator lights and no trackpoint. Fortunately the trackpad still works, but its taking a little getting used to. On the other hand, its not burning my lap or my hands anymore, so its probably an overall victory though its not quite feeling that way yet.

One of the things I did lose in the rebuild, due to it not living in one of my backup locations (which is /etc/ and /home/rob) is my cute little mobile roaming script. I rewrote it on the bus on the way home yesterday and thought that perhaps its interesting enough to post here.

The basic idea is that every day I switch between at least two networks. My home network has a PC in the hall cupboard which among other things runs a web proxy and a mail server. Its also the firewall, so web and mail traffic can't go out directly. Work on the other hand, implements transparent proxying (with some network authentication) and has a SMTP server, but naturally it has a different address. I also occassionally use other networks (friend's places, coffee shops, etc) which usually have no facilities at all, requiring me to fend for myself.

My laptop runs a SMTP server (Postfix) of course, because that's just what you do on Unix. I also run a Squid proxy which I point all my local HTTP clients at. This way, when I move networks, I only have to reconfigure the local proxy rather than tweak every web client I have.

I spent a long time looking for a decent roaming reconfiguration package, but I never managed to find one. Some would try to do network detection and too often get it wrong. Some would have overly complicated and/or feature deficient configuration languages. I vaguely recall that I really liked one of them but it was tightly integrated with NetworkManager, which I don't use because it could never seem to keep the network alive for more than a few minutes (and it appears to be pretty much tied to the GUI, which is painful when I need network on the console).

So, in the finest open source tradition, I rolled my own. The script itself is trivial; its just a tiny template expander. I'll list the script in a moment, but first I'll talk about its operation.

The script, which I call location, takes a location name on the command line (like home or work), runs over a (hardcoded) list of config files, reads them in, modifies them, and spits them out to the same file. It makes modifications according to templates that may exist in the file. If the file has no template, then location ends up emitting the unchanged file.

In any file you want it to modify, you add an appropriate template. This is the template I have in my /etc/postfix/main.cf:

### START-LOCATION-TEMPLATE
##@ home relayhost = lookout.home
##@ work relayhost = smtp.monash.edu.au
##! /etc/init.d/postfix restart
##! sleep 1
##! /usr/bin/mailq -q
### END-LOCATION-TEMPLATE

When it finds itself inside a template, location stops its normal operation of outputting the lines of the file as-is and instead starts parsing. Interesting lines begin with ##, anything else is ignored. Its the third character that determines how the line is interpreted. So far I have the following functions:

  • #: do nothing, just output the line
  • @: emit if at location. If the location specified on the command line matches the first argument to @, then the rest of the line is added to the file as-is.
  • !: run command. Calls a shell to run the specified command after the file has been generated.
  • >: interpolate line. Include the rest of the line in the file, but expand any %variable%-type markers. So far only %location% is defined, and is replaced with the location specified on the command line.

(I'll provide an example of that last one in a moment).

So in the case of main.cf, lets say we ran location with home as the location. This would result in the template section being written to the output file as:

### START-LOCATION-TEMPLATE
##@ home relayhost = lookout.home
relayhost = lookout.home
##@ work relayhost = smtp.monash.edu.au
##! /etc/init.d/postfix restart
##! sleep 1
##! /usr/bin/mailq -q
### END-LOCATION-TEMPLATE

The listed commands are then run, which cause Postfix to be restarted and the mail queue to be flushed:

/etc/init.d/postfix restart
sleep 1
/usr/bin/mailq -q

Naturally Postfix interprets the template parts of the file as comments, so nothing to worry about. The next time location is run, the "bare" relayhost line is ignored, so it doesn't get in the way.

The config for Squid is similar. Because Squid's config file is huge, I don't quite trust my script to handle the whole thing sanely, so at the bottom of squid.conf I've added:

include /etc/squid/location.conf

And in location.conf I have:

### START-LOCATION-TEMPLATE
##@ home cache_peer lookout.home parent 8080 0 default
##@ home never_direct allow all
##! /etc/init.d/squid restart
### END-LOCATION-TEMPLATE

By default Squid will try and hit the internet directly, which is fine for work and unknown locations. For home, i need to force it to always go to an upstream proxy, which is what those the cache_peer and never_direct directives will achieve.

The proxy at work used to be an authenticating proxy, so I had to specify both a peer and a username/password combination. This made the required amount of variable config a little unwieldy to be include in a template, which is where the > function came from. location.conf used to have this:

##> include /etc/squid/upstream.%location%.conf

Which would arrange for upstream.home.conf, upstream.work.conf, etc to be included depending on the location. There's every chance this will come in useful again one day, so I've left the code in there for now.

Here's the script in its entirety:

#!/usr/bin/env perl

use 5.010;

use warnings;
use strict;

my @files = qw(
    /etc/squid/location.conf
    /etc/postfix/main.cf
);

use autodie qw(:default exec);

use FindBin;

if ($< != 0) {
    exec "/usr/bin/sudo", "$FindBin::Bin/$FindBin::Script", @ARGV;
}

say "usage: location <where>" and exit 1 if @ARGV != 1;

my ($location) = @ARGV;

for my $file (@files) {
    say "building: $file";

    my @out;
    my @cmd;

    open my $in, "<", $file;

    my $in_template = 0;
    while (my $line = <$in>) {
        chomp $line;

        if ($line =~ m/^### START-LOCATION-TEMPLATE/) {
            $in_template = 1;
            push @out, $line;
            next;
        }

        if ($line =~ m/^### END-LOCATION-TEMPLATE/) {
            $in_template = 0;
            push @out, $line;
            next;
        }

        if (!$in_template) {
            push @out, $line;
            next;
        }

        my ($tag) = $line =~ m/^##([#@!>])/;
        if (!$tag) {
            next;
        }

        given ($tag) {
            when ('#') {
                push @out, $line;
                next;
            }

            when ('@') {
                push @out, $line;

                my ($want, $rest) = $line =~ m/^##@ (\w+) (.*)/;
                if ($want eq $location) {
                    push @out, $rest;
                }

                next;
            }

            when ('!') {
                push @out, $line;

                my ($cmd) = $line =~ m/^##! (.*)/;
                push @cmd, $cmd;

                next;
            }

            when ('>') {
                push @out, $line;

                my ($rest) = $line =~ m/^##> (.*)/;

                $rest =~ s/%location%/$location/g;

                push @out, $rest;
            }
        }
    }

    die "$file: unclosed location template" if $in_template;

    close $in;

    open my $out, ">", $file;
    say $out $_ for @out;
    close $out;

    for my $cmd (@cmd) {
        say "running: $cmd";
        system $cmd;
    }
}

Because its so trivial and I only run it a couple of times a day, I just run it when I get to work (location work) or when I get home (location home). If I felt inclined I could probably hook it up to my network stuff but I think that would be more trouble than its worth.

On occassion I have to use Windows on the same machine. I have no idea how to achieve something similar there, so I just reconfigure my browser. Fortunately I don't go there often, and almost never from work. This is why I like open source. I can make my system work in exactly the way I want and usually with a minimum of fuss.

Home power measurement

I've been spending some quality time with a Current Cost CC128 and my existing home sensor network. So far I've discovered that I use quite a bit of power, and that I can remotely monitor how many times a day my wife makes a cup of tea. Some example data:







You can see that it was relatively cool compared with days a few weeks ago today. That's more obvious in the graph showing the last two weeks though:







However, it was quite humid today:







Which is why we didn't have the evaporative cooler on, just the fan. That doesn't seem to really affect our power usage, which really needs more analysis:







The 500 watt minimum power draw makes me unhappy. You can see over a week it never goes away:







Tags for this post: blog(S)

Related posts: Extreme Machines: Eirik Raude; More on burial methods; It seems to me; The environmental friendliness of shrimp trawling?



Comment

Energised communities

Last week I went along to a group at once new and very familiar. They all were passionately keen about a new technology, and yet they'd all had to explain the benefits over and over again to disbelievers. Most of them were working on their own projects but came together as a larger community. While they all knew it was the inevitable way of the future, powerful commercial interests were working against them and governments and the general public seemed indifferent to their cause.

This was, of course, electric vehicle hobbyists.

For my part, I'm keen on constructing an electric motorbike. I'm also interested in adding open source components and microprocessor controllers to various parts of the project, partly to keep the cost down (some of the proprietary parts are really expensive) and partly for the fun of tinkering.

There were three main topics of discussion during the night:

Firstly, there's a lot of interest in the local group in starting a EV racing standard and, within one to two years, getting actual races happening. Initial ideas revolved around a standard car chassis that is fully CAMS approved (which is necessary for official racing), but then someone mentioned go-karts as a lower-cost entry level category which also got a lot of nods. There's already moves in this direction (CAMS has had an Alternative Energy division since August 2008) but getting the community groups - schools, Scouts, youth groups, etc - involved is a great idea.

Secondly, the group is trying to collect information about building EVs into an online resorce. I put in my oar and proposed using a wiki (which they sort of have already) and keeping it public (opposing the person who said it could be monetised in the future), both of which met with general agreement. The current process they're using is for one person to be a 'subject matter expert' that collates all the ideas from the group into an article, and that then gets put on the Wiki and people can edit it from there. This combines the best of both practices of document writing, and I think it's an excellent way to go.

Thirdly, there was a lot of interest in the hardware hacking theme that is all the rage at the moment. Everything from makerbots and repraps to arduinos and programmable fridges was met with interest and requests for more detail. I'm trying to find their email list to make a general announcement and I'm hoping that I'll get a few people coming along to the next CLUG meeting. There's a number of projects out there, from David Rowe's work on controllers to the Tumanako project that are applicable to EVs. I really need to point the Canberra EV group in the direction of the Electric Saker sports car - a New Zealand project!

My main quest for this month is to make the plans for my new electric motorbike, and to understand what a battery management system does and find one that doesn't suck.

brendanscott



Liam Lynch: DRM-enforced 6 years of Silence

In 2003 someone gave me a CD by Liam Lynch called “fake songs”.  The next day, I popped it in the CD player of my car.  It didn’t play.  On the back: “This disc incorporates Copy Control Technology”.   I cursed and threw it in a pile, where it lay for about 6 years.  Until today, when I saw it and decided to try it on another CD player.  It was inspired enough to listen to.  Such a shame I couldn’t do this 6 years ago.  Maybe I would have “gotten into” him more?  What a hurtful a technology.   Yet our legislators see it as a road to some sort of monopolistic nirvana.

Tch.

clintonroy



Ignite talks are five minute lightning talks hosted by popular

technology publishers O’Reilly. Brisbane’s first Ignite night is

coming up in March and I’m giving a talk on Open Source.

I see this as an excellent opportunity to advertise all the different open source groups in Brisbane, as well as our premier upcoming event, Linux.Conf.Au 2011.

My talk is based on the all the reasons everyone should know and like the open source ideals. It’ll be based on the keynotes at this years lca. I’ve got time for twenty slides, I’m thinking one slide with the logos of all the different open source groups in Brisbane, and one slide for lca.

If you’ve got ideas for one of the slides, or an open source group

based in Brisbane, please mail me the details.

Filed under: oss

LCA2010 raises over $33,000 in support of Life Flight Trust!

WELLINGTON, New Zealand – Monday 8 February 2010 – linux.conf.au 2010 is over, but the generosity of its delegates will leave a lasting impression on the Life Flight Trust.

During the conference closing dinner at the Wellington Town Hall, attendees bid to win a unique opportunity to join an action-packed Westpac Rescue Helicopter winch training mission. All bids were donations to Life Flight.

Delegates could donate online with their laptops and results were displayed in real-time on an open source application created by Andrew Caudwell of Catalyst IT.

At the end of the evening a $12,750 donation from Linux Australia brought the total funds raised to more than $33,000.

Life Flight CEO David Irving said, “Free open source software is founded on generosity and these supporters have certainly taken that value to heart.

“The funds raised will enable 13 people to receive emergency flights, which is a great outcome for the community.”

linux.conf.au bring together the global community of Linux enthusiasts who contribute to the operating system and the vast array of free and open source software that is transforming information technology around the world.

Life Flight Trust provides a national air ambulance service and the Wellington Westpac Rescue Helicopter. Life Flight Trust is a registered charity that relies on community donations to keep flying. For further information or to help save lives visit http://www.lifeflight.org.nz.

To donate to Life Flight Trust, please visit: http://www.fundraiseonline.co.nz/LCA2010/.

About linux.conf.au

linux.conf.au is one of the world's best conferences for free and open source software! The coming linux.conf.au, LCA2010, will be held at the Wellington Convention Centre in Wellington, New Zealand from Monday 18 January to Saturday 23 January 2010. LCA2010 is fun, informal and seriously technical, bringing together Free and Open Source developers, users and community champions from around the world. LCA2010 is the second time linux.conf.au has been held in New Zealand, with the first being Dunedin in 2006.

For more information see: http://www.lca2010.org.nz/

About Linux Australia

Linux Australia is the peak body for Linux User Groups (LUGs) around Australia, and as such represents approximately 5000 Australian Linux users and developers. Linux Australia facilitates the organisation of this international Free Software conference in a different Australasian city each year.

For more information see: http://www.linux.org.au/

Emperor Penguin Sponsors

LCA2010 is proud to acknowledge the support of our Emperor Penguin Sponsors, InternetNZ, Google, HP and IBM.

For more information about InternetNZ, see: http://www.internetnz.org.nz/

For more information about Google, see: http://www.google.com/

For more information about HP, see: http://www.hp.com/

For more information about IBM, see: http://www.ibm.com/

Security and Hiring

The main sources of information used when hiring someone are their CV, the interview, and references.

CV

The CV is written by the applicant or sometimes for the applicant. Naturally it says only good things, if a CV notes no skill in a particular area then it may be used to exclude an employee from consideration. But the trend is towards including a reference to anything that you touch, so someone who lists DBA experience may merely have done a couple of CREATE TABLE operations.

Interview

The interview is a good test of people skills but is often of little value in assessing technical skills. The interviewer asks questions such as “do you know technology X” and the applicant says “I know that really well“. If the company is hiring another person with similar skills to current employees then they can have their current employees sit in on the interview and ask difficult technical questions, but for unknown reasons managers often don’t take that option and get no advice from their technical people. Also if the company is hiring someone with specialised skills (EG they are about to implement a new application and want to hire their first employee to work on it) then it may be impossible for them to assess the technical merit of answers. Probably the best use of the interview is to match answers with the CV, if the applicant doesn’t appear to know the contents of their own CV then they should be rejected.

The biggest problem with interviews is when the questions are all of the form “do you know X“. Someone who really knows it will say “yes” as will someone who doesn’t know enough to realise the limits of their knowledge – and such ignorant people vastly outnumber the skillful people. The real problem is that the people who are moderately skillful will lose out. If someone asks me about my MySQL skills I will tell them that I’m not really good at it. Sure I’ve run replicated servers with tens of thousands of users running 24*7, but that doesn’t mean I’m really good at it – probably most people who will claim to be great at MySQL without qualification would have less experience than me.

References

Reference checks rely on an unknown person saying good things about the applicant. For starters there is the issue of the number of references which may not be representative of their employment history – EG the applicant could use as a reference the one manager who didn’t sack them.

The next issue is that there is little incentive for the referee to be honest, most people are aware of instances where someone once worked for a friend and can rely on good references for the rest of their career. If a reference is inaccurate then there is no realistic opportunity for redress.

Finally every reference check that I am aware of (checks where I have been the referee or the applicant) has involved the applicant giving the phone number of the referee to the hiring manager! The phone could be owned by a friend or relative of the applicant, so logically a good reference that is based on trusting the applicant to supply the phone number only proves that the applicant is either good or really bad. To make a reference check prove something the recruiter would at a minimum have to phone the number listed in the white-pages for the corporation that used to employ the applicant, asks to speak to the manager of the relevant department, and then gets a reference. Calling a mobile phone number that is supplied by the applicant (which seems to be the standard practice) is essentially trusting the applicant – and trust is the root cause of most security problems!

Really most of this ends up as trusting the applicant to provide honest evidence that they are trustworthy and believing that the applicant’s technical knowledge is good enough to be correct when they say that their technical knowledge is good. It can fail spectacularly when someone isn’t trustworthy enough to provide honest evidence of their integrity or when someone doesn’t have the skills needed to know that their skills are lacking.

As an aside, even if the reference is given accurately and in good faith it may still be misinterpreted. The fact that telephone references are exclusively relied on exacerbates this problem. Ideally references would be in writing with some way of proving their authenticity (maybe using phone verification of the accuracy of the written document).

Solutions

So how can we solve this? Some people believe that career based social networking software will solve the problems, but as usual I think that software doesn’t magically solve human problems. The first challenge when trying to use social networking to solve the problem is to find someone on your friends list who has relevant knowledge, this may be viable in a small industry (EG when someone from bank A applies for work as bank B in the same city). The next issue is that of false “friends“. I’m sure that I’m not the only person who has been pressured to add people as friends on social networking sites, the non-computer social interactions really don’t prepare people for saying “no you are not my friend” (apart from high-school I guess). With professional social networking sites there are further issues, if you are working on a client site and a manager demands that they be listed as one of your friends then what are you going to do?

So it seems to me that the social networking sites are at best a helper for the gossip network. If you think that a friend of a friend from a social networking site might be able to help you then you first ask your friend if the person in question is really a friend, and if so are they one of the shifty pseudo-friends you only hang out with because their company pays good money. But the problem with the gossip network is that it’s mostly secret and is therefore subject to settling vendettas, I’ve heard of senior managers going out of their way to spread false stories about former employees to settle scores.

The best solution I can think of is for someone who has a reputation to publicly stake it on the accuracy of their references. If I’m going to give a reference then I would be happy to do so via a GPG signed email or a blog post. This doesn’t mean that my references will always be correct, but it would show that I try to give good references.

Android, six months on



So I've been using the Google Android phone for about six months now, and it's about time I reflected on how it's gone. Here's a bit of a rambling review.

The hardware

The G1 hardware is pretty limited. There's not enough RAM, and the default Android way of storing apps on the phone rather than on the removable flash storage means you run out of space pretty quickly. The latter is fixed by using a custom image like Cyanogen, which is awesome.

The buttons on the phone are kinda dumb. There's green and red buttons for call management, just like most phones. Then there's a home and a "back" button, which are kinda superfluous as they could easily be replaced by some sort of touch gesture. The "Menu" is kind of a universal interupt button, and I suppose might be useful. And the trackball is completely useless yet seems to be mandatory for all designs. I never use it. On the sides are the camera and volume buttons, which I suppose are handy.

The buttons that would be really useful are missing. I'd love a pause/play button for when I'm using the thing to play music.

The G1 has a built-in keyboard. This is great, but has been dropped on later releases. Given a decent touchscreen interface, I think I could live without it. Not convinced that the on-screen keyboard is good enough, but it will make the device smaller, lighter and sexier. Though the keyboard rocks for answering emails or using ssh.

Multistasking: good and bad

Multitasking, the key difference between Android and the iPhone, is a double edged sword. It means you can run cool third-party apps that need to run all the time, like apps that show your calendar and weather forecast on the home screen. It also means that crap stays running all the time, meaning performance can be glacial if you've got something hogging the CPU in the background, and memory fills up very quickly.

Some allowance for the slowdown of background apps could be incorporated into the OS. It'd be nice to have apps not slow down core phone functions. I'd even be willing to completely pause background apps while something important is going on, like an incoming phone call. I kid you not, I've missed incoming calls because the phone's CPU has been busy on some other crap. Many is the time I've given up taking a photo because after pressing the camera button, whatever I wanted to snap has long finished before the camera app is up and ready to take a photo.

Shitty memory manglement

Android takes the same "automatic" approach to memory management as Symbian: if it runs out of memory, it kills something random that's running in the background to make some space. Apps tend to run in the background unless you explicitly exit, or use a power user tool to kill the process. That means while you might have something cool running in the background, it could randomly and without notice be killed at any time because you opened something else that wants more memory. The usual excuse for this kind of thing is you don't want to make users of consumer devices think about things like memory. Try telling that to some angry consumer whose fancy alarm clock app got killed to make space for another app meaning the user overslept and was late for work! How much sense does it make to kill the music player when I'm listening to music just to make space for something else? I'd much rather have to explicitly manage the memory and be asked what should get killed.

None of this is helped by the miserly allowance of RAM on the G1, 192MB. The Nexus One's 512MB should make this much more useful, though it's going to make running a G1 or any of the first generation Android phones somewhat suckier, given developers will now be targetting the new, faster, roomier Nexus One.

How about event-driven OS callbacks?

I think many of the problems with multitasking could be solved by introducing some OS-level event-driven triggers. What I'm thinking is instead of apps having to hang around in memory and periodically using the CPU, they could register with an OS service that they want to be woken on specific events: an SMS is received, the phone's power source changes, it's a specific time, the phone's location gets within x metres of a coordinate. That way you wouldn't need, for example, to keep your alarm clock app in memory all the time, wasting RAM and CPU cycles. The app would register the events its interested in, then explicitly exit.

No idea how practical this idea would be once implemented, and whether the overhead of loading up the app to handle the event would kill performance, but I think something different to the always-running-but-could-be-killed-any-time approach needs to be looked into.

Integrated apps

If you've taken a good slug of the GoogleJuice Kool Aid and moved your whole life into the cloud, Android is a really easy integration. I've got my email, calendar and instant messaging all in my Google Apps cloud, and have done for a while now. Starting with Android was as simple as logging in and waiting for it to all sync up. Brilliant. Everything Just Works™.

The apps are good too. Email is just like you'd expect, all your contacts are right there where you expect. A live calendar is life-changing, especially if you sync your work calendars into the cloud too.

One area that could do with some improvement is the way the GTalk app works. When I'm sitting at my desk and someone opens a chat session with me, I get three notifications that this has happened: inside my current browser Gmail session, the desktop GTalk app, and on my phone. Surely the server can work out which one I use to handle the session and close the others for me? Instead I have to go in and close those sessions myself, which is kinda clunky.

It'd also be nice if the instant messaging apps were a bit smarter. Let's say I want to contact someone, and the contact record shows the person has GTalk and a mobile phone. Surely I shouldn't have to work out which one to use, it can instead use the user's presence to work it out. If the remote user is on an Android phone, it could be really clever about it and switch to SMS if that user isn't online. All these contacts should show up in the same interface, regardless of underlying mechanism.

My favourite apps

SlideScreen integrates all your interactions

By far the finest app so far is SlideScreen, which replaces the default home screen. At the top are your "private" communications: phone calls, SMS, email, calendar. Below are your "public" comms: Google Reader, Twitter. In the middle you get some status info: date, time, network connection, current weather. You can slide the middle part up and down to give more space to one area at the expense of the other. You "throw" an item to the right to mark it as read and get rid of it.

It's a beautifully-designed app, and nearly completely suits my way of working. Unfortunately it's just too heavy for the poor little G1. It takes up pretty much the whole of the RAM, so if you run another app it gets killed, and you can't really run it and another app. Should be great on the Nexus One though!

Guardian Anywhere is the most intuitive interface for news

Ever since I lived in London, I've read the Guardian as my newspaper and news source of choice. I subscribed to the Guardian Weekly until recently. Part of the reason I stopped subscribing is this app, which downloads the whole paper overnight and presents it in an awesome UI that doesn't require network access. If you're writing a newspaper app, you should copy the design of this app.

Conclusion

The Android OS is excellent and improving all the time. Its openness means you can swap out much of the bits you don't like, which contasts well with Apple and Nokia's smartphone efforts, where you're stuck doing things the way the vendor tells you.

The app marketplace started off pretty poor, with lots of not very good apps, but is improving fast. People point out the high quality of the iPhone apps, but it's worth also pointing out that a popular app there can easily pay for multiple full-time developers. Android isn't there yet, but the marketplace is expanding incredibly fast. Some stand out apps are appearing (like SlideScreen) and you can expect more with the hundreds of Android handsets that will be available by the end of this year.

I'm looking forward to upgrading to the Nexus One, especially since I dropped the G1 and now have a lovely big crack across the LCD. Just have to keep working on the boss to release the funding. It'd be really good if a version appeared that handles the 850MHz UMTS band, since I'll probably be scoring a work SIM soon and Telstra's network uses this slightly-unusual frequency range.

Good

  • Multitasking means you can have awesome apps running all the time. The iPhone just can't do this unless Apple makes the app.
  • Open platform makes for some very cool apps: custom home screens.
  • Integration with Google apps is very slick.
  • The app marketplace is awesome, and growing fast. Apps are getting slicker pretty quickly.

Bad

  • Hardware on the G1 is very limited. Nexus One appears to solve this.
  • Memory management is "automatic" which means "dumb and confusing".
  • Multitasking means a background app can make the device glacially slow.
  • Stock music app is awful.
  • Buttons are kind of pointless. Trackball even more so.
  • Integrated messaging is needed.
  • Connectivity lost when you switch from 802.11 to GSM/3G.

Contact me

February 07, 2010

Blathering for Sunday, 07 February 2010

22:09: Mikal shared: NSFW: Hey, 1997 Macmillan called, they want the Net Book Agreement back

    Interesting reading about how books are priced in the UK (which largely mirrors Australia). The problem with ebooks is that there is no "parallel import" option.






Tags for this post: blather(S) Comment RSS with no blather

The Outsiders Art Festival & Other Creative Spaces



On facebook Dignity For Disability posted this:

This fabulous art festival is truly inspiring, and a great opportunity for aspiring disabled artists. Put it in your diary, you won't be disappointed!



The Outsiders Festival - Adelaide 2010 will be held in September 2010.



"..."outsider art", consists of works produced by people who for various reasons have not been culturally indocrinated or socially conditioned"... "Working outside fine art "system" (schools, galleries, museums and so on), these people have produced, from the depths of their own personalities ... works of outstanding originality in concept, subject and techniques. They are works which owe nothing to tradition or fashion."

Michel Thevoz, Curator of the Collection de l'Art Brut in Lausanne




Love this, I want to see more groups and individuals with opportunities to share their talents!! Visual and performance arts!!



Format Collective looks like another good way to do this! From their website:



Format Collective is an arts collective based in Adelaide, Australia.



We connect Adelaide’s underground art scenes. We’re fringier than the Fringe.



We put on arts events in and around Adelaide such as the annual Format Festival (including the Academy of DIY, Adelaide Zine Fair & the Street Dreams street art festival), the art show Big!, Renew Adelaide, and the alternative text workshops called Big Words. We are now also running the Format Zine Shop in the centre of Adelaide city.

Kuching

We spent this weekend in Kuching, capital of Sarawak, which is the largest state of Malaysia. Like Western Australia it is the largest but most sparsely populated state, and is situated to the south of the other East Malaysian state of Sabah (with Brunei sandwiched in between), and to the north of the Indonesian part of Borneo...

Laptop/netbook for a university student and a HP Mini 311 quick review

I recently asked on Twitter:

For a college/university student, would you get ‘em a laptop or a netbook? Need opinions ASAP. Thanks!

HP MiniThe Twitterverse was quick to respond. Thank you all for responding! A little summary:

  1. @sniffit suggested that netbooks are underpowered, but might change with Linux being on them.
  2. @redsheep went for a laptop, unless I planned on being a mean uncle that didn’t want them to play games/do graphics/etc. Why, I can’t be a mean uncle ;-)
  3. @spinzer said go with a laptop because students have diverse working nature, and a netbook wouldn’t cut it.
  4. Both @alphaque and @brianritchie suggested to watch for the coursework: Computer Science, Graphics, Statistics deserve a laptop, otherwise, go for a netbook.
  5. @saimatkong suggested a 12″ notebook, but those tend to be quite expensive, to the best of my knowledge.
  6. @sureshdr, @tjunkie, @thechannelc, @liewcf, @bleongcw, @r0kawa all suggested a laptop would be better. In fact, @liewcf suggested a MacBook.
  7. @jerng brought up a good point: it should depend on the preferences of the user as speed tends to be a secondary issue.
  8. @biatch0r was the only one that outright said go for a netbook, lugging around a 10KG laptop is so 20th century :) I tend to agree.

So a bit from where I’m coming from, which I didn’t say in the original tweet. This laptop/netbook is for a complete stranger, whom I’ve never met. We do however, know her father. His daughter had just been accepted into a university somewhere up north in Malaysia, and she clearly needs a laptop/netbook for her coursework.

Anyway, all that aside, and with much thanks to the Twitterverse, I set out to pick up a machine quickly (think, 0.5hr). I had to be near MidValley for another reason, so hopped in. Checked out the Asus, and Acer stores, and found laptops and netbooks to exist, and you’d average around RM2,100 or so. Dell had a laptop for RM1,999, but it was a 14″ clunker, and it seemed really heavy. This seemed to be the large problem with a laptop: they came with everything (including a DVD-RW drive), but would come with a 13″ or 14″ screen – and they were all mighty heavy. Acer seemed to offer OS-less laptops, but I didn’t want to spend more time than need be, so wanted an operating system.

I went over to the HP store, my last stop, thinking in my head, I’d pick up the Dell. But I was taken aback when I saw the HP Mini 311. The specifications were amazing: 1.66GHz N280 Atom processor, 2GB RAM, 250GB hard disk, an external 8x DVD-RW drive (!), 11.6″ screen boasting a resolution of 1366×768, 10/100 Ethernet, 802.11b/g WLAN, 92% full-size keyboard (with great tactile feedback – I spent a lot of time in the store trying it). But that’s not all, it comes with 3 USB ports, HDMI output (why?), VGA output (and no need for any silly cable like their previous items), a multimedia card slot (for SD’s, etc.) and a built-in webcam.

The exact model is the HP Mini 311-1002TU. It seems like its an edition only available in Asia, and it comes with Windows 7 Starter Edition. Did I mention that it cost a mere RM1,799?

More goodness about it. It doesn’t come with an Intel graphics chipset, but an nVidia ION. Video performance is pretty darned good, in comparison to what Intel doles out, even on the netbook that I own (an Asus 1000HE). In my quick experiments, I was getting a good 5 hours of battery life running Windows 7.

First thing I did was install: Mozilla Firefox (and set it to be the default web browser), avast! anti-virus (to protect the PC), and OpenOffice.org with the JRE. It comes with a 60 day trial version of Microsoft Office, but who needs that when OpenOffice.org is free and should suffice. The system is quite snappy, and while the guy at the store told me that Windows 7 Starter Edition will not allow me to run more than 3 applications at a time, it works fine for me. In fact, the only thing that seems annoying is that you can’t change the desktop background – Microsoft is intentionally crippling their software for netbooks. From what I understand, a dual monitor setup will not work either (useful to have an external monitor on a netbook), but I did not try this.

I can confirm that Ubuntu works pretty well on this machine – I tested it when I got home, using the LiveCD and it seemed to “just work”. More information available at the laptop testing team HP Mini 311 on the Ubuntu wiki. A forum post to help with suspend/resume magic.

In conclusion, I didn’t get a laptop, but a netbook. But a netbook with an amazing screen size, a resolution that exceeds my expectations, a good graphics card, and an external DVD writer. Windows 7 Starter does not come with Aero, and I wrote a little README file informing the new owner that it might be better to just install Linux and she’ll be better for it at the end of her three year university course :-)

Related posts:

  1. Netbook Tweaks at BarCampKL
  2. Netbook shopping
  3. Parallels Workstation Quick Review



Dogs of War







ISBN: 0446610895

Aspect (2002), Mass Market Paperback, 320 pages

LibraryThing

Another combat anthology, this time edited by David Drake.
  • Or Battle's Sound (Harry Harrison): already read in Battlefields Beyond Tomorrow and Body Armor: 2000.
  • Liberty Port (David Drake): already read in The Complete Hammer's Slammer's Volume 1.
  • Straw (Gene Wolfe): steam punk mercenaries in a future which is more like the past. A good read.
  • Tomb Tapper (James Blish): this one has a nice twist at the end, although I found the underlying premise of the story hard to believe.
  • A Relic of War (Keith Laumer): already read in The Compleat Bolo.
  • Basic Training (Mark L Van Name): this one is a bit sad. Well, all of the stories in this book are sad, but I find this one a bit harder than others because the main character is about the age of my kids.
  • Witch War (Richard Matheson): an interesting little tale which doesn't end up at all like you expect.
  • Transstar (Raymond Banks): I didn't think this story was all that good when I was reading it the other night, but its the one I kept thinking about for the next day. There are lots of interesting issues raised here -- arrogance, response, the cost / benefit of aggression.
  • Time Piece (Joe Haldeman): this story is very much like a small summary of The Forever War, which makes it disappointing in a way... The book is better, and this story glosses over many of the issues.
  • Clash by Night (Henry Kuttner and C.L. Moore): this story is interesting because it prompted a sub-genre all of its own about mercenaries in the future. However, this story is entertaining by not earth shatteringly great.




Tags for this post: book(S) Anthology(S)

Related posts: Battlefields Beyond Tomorrow; Body Armor: 2000; Bolos 1: Honor of the Regiment; The Complete Hammer's Slammers Volume 1; Bolos 4: Last Stand; The Complete Hammer's Slammers Volume 2; The Complete Hammer's Slammers Volume 3; Bolos 2: The Unconquerable; Bolo!; Bolos 3: The Triumphant; The Compleat Bolo; Bolos 5: Old Guard; Bill the Galactic Hero Series; Galactic Dreams; Bolo Strike; Bill the Galactic Hero on the Planet of Bottled Brains; Forever Peace; The Stars Must Wait; Bill The Galactic Hero; Bolo Brigade; Bolos 6: Cold Steel




Comment

Twitter Weekly Updates for 2010-02-07

  • Dangerous discovery – I can get onto the Uni wireless system from outside the #coffee shop on Bouverie Street.. ;-) #
  • Court orders council to play King Cnut + protect expensive beachfront homes from coastal erosion http://bit.ly/buiv1W #
  • I wonder if #Google know about googlee.com.au and their wildcard A record ? #
  • Just made a Twitter list for #CFA alerts and safe announcements for region 13 (Dandenong Ranges) http://bit.ly/bW7WDt #
  • Oops, try this link for my #CFA Region 13 (Dandenong Ranges, Yarra Valley) incidents/safe twitter list – http://bit.ly/adZNcu #
  • As of 11:41pm last night (Tuesday) it appears the #CFA have fixed the duplicate GUID problem in their RSS feed! #
  • Have a Nokia #N900 and you find wifi stops working until reboot? You're hitting this bug: http://bit.ly/aCg8pD #
  • Nokia #N900 wifi bug fixed in forthcoming firmware release, meantime workaround from the xterm is: killall -9 eapd #
  • Court finds in favour of common sense in #iinet case – movie industry vows legislation to avoid it http://bit.ly/9ovXjZ #
  • BBC: Vegetative state patients can respond to questions http://bit.ly/dmO0Bz (some, not all, patients) #science #medicine #
  • Today is the first anniversary of #BlackSaturday when 173 people died in Victoria's #bushfires. http://bit.ly/9vrjYI #
  • Spent last few hours battling OpenWRT upgrade, mostly caused by a power board that had (unknown to me at the time) failed #
  • Read these comments from #iinet judgement on behaviour and misrepresentations of AFACT http://bit.ly/9AWicm via @sourcefrog #
  • Yay – caught another email harvester that was grabbing emails for spammers via my Project #Honeypot setup! #
  • Oh brilliant – suddenly I can no longer authenticate to the Universities email system – I hate #microsoft #
  • ..and now it works again! #
  • yay – Exchange has lost the ability to authenticate me again :-( #fail #
  • ..and it's working again, again.. #
  • SMH: "Feel sorry for Kiely, but pity more his female colleagues" – http://bit.ly/c089Ki #
  • Amusing – H.264 encoder in Final Cut Pro is apparently not licensed for commercial use – so much for the "Pro".. ;-) #patents #
  • Today is the first anniversary of #BlackSaturday when 173 people died in Victoria's #bushfires. http://bit.ly/9vrjYI #

Powered by Twitter Tools

This item originally posted here:



Twitter Weekly Updates for 2010-02-07

February 06, 2010

Warning: scenery above, next 4200km. Please to be looking only at the road

I sense this is going to be the year of the great long holiday. I doubt much more of it will be done under the pretense of going to a conference first. LCA2010 as usual was a great chance to catch up with all the cool people.



Last week, I was doing this kind of thing. There were more than one moment when I did what the rider was doing in this video, only to have an oh-shit moment as I came to the realisation that I was looking at the scenery and not at the rapidly approaching corner.



Ross Noble agrees with me in "Ross Noble's Australia Trip" that the best way to see a country is on a motorcycle, and it turns out that the best country to tour around is New Zealand, so seriously people, the best possible thing you can do at this point in time is to drop everything you are doing right now, get a motorcycle license and head right on over to the South Island.



I hired a small F650 single pot (ie, the real 650, not the 800 that has had its name downgraded; what marketing genius thought of that?) Beamer from Nelson for about $160NZ/day.



Marlborough Sounds Haast Highway



My very first day of riding was to set the scene. I rode up to the very end of the twisty passages of land in the Marlborough Sounds:



View Larger Map



Naturally, the roads are like this:

Marlborough Sounds Marlborough Sounds

and the clouds are like this:

Mountain in low cloud

In fact, I don't know how google maps does its thing in the Land of the Great White Cloud.



Save a mountain today! Stop local cooling!





Fox and Franz Josef glaciers are advancing rather than retreating, and they're busy tearing the mountains down. Except that plate techtonics are building the mountains up faster than they're being worn down.



The glaciers are incredibly fast moving because of the amount of rainfall (pretty much all of which missed me while I was riding around. How can it rain 17 metres a year, and miss me for 10 days?). So the crevasses and tunnels come and go every day. This is what three of them looked like when we walked/crawled through them:



Fox Glacier Fox Glacier



Fox Glacier



Some of the moulins were big enough to fall down:



Fox Glacier



The water flowing through these plumbing systems turned out to be absolutely delicious. There are no impurities at all. I've never had water that tastes so much of nothing.



At Milford Sound, I didn't bother with the cruise. The ride was (presumably) more thrilling, and besides, you can't get stuck in the tourist trap all day.

Milford Sound Milford Sound

(I like how I managed to frame both of those identically, making one look like the tide has come flooding in with giant waves)



It was easy to pull over when the sights got too much:

Miriad cascades

(Not all times I ended up in the gutter were because a bloody Australian tourist in a 4WD behemoth towing a boat came flying around a blind bend entirely on the wrong side of the road)



Mt Cook was highly pleasant.

Aoraki/Mount Cook national park

It's fairly unusual to have glaciers descend down into subtropical rainforest.



But I'm glad I had someone looking out for me (I got this feeling many times on the bike. Almost made me want to turn religious, and start worshiping the myriad of sheep around). I got back to the bike after many hours of walking, and discovered I didn't have my keys. My worst fear was that they had dropped out of my pocket when I was trying to retrieve my camera, while I was on a suspension bridge over a raging torrent. So I headed back to retrace all of my steps, fearing this would also take hours. But some kind person had left them at the registration book, which I found 2 minutes after I started walking.



Along the plateau heading back east from Mt Cook, I was almost blown off the bike several times. Turns out they measured 250km/h wind gusts near there once. After 100km of this, I have to admit I was getting rather tired of, and more than a little scared of being blown off the road/into oncoming campervans.



Anyway, as usual, the best photos are up here, and a lower cut are making their way towards my webserver at home.



Incidentally, when I was coming back, waiting for a replacement plane, I picked up Ian Plimer's book, "Heaven+Earth". I turned to a random page and read a random paragraph. He stated words to the effect that the temperature change has been 0.7+/-1.3 degC over a certain period, where the 1.3degC error is composed of several different errors of 0.5+/-0.4+/-0.3+/-0.1degC. As all of those with some basic statistics buried in their brains know, you don't add errors linearly like that. I get an error of +/-0.7 when I add the subcomponents in quadrature. I do hope the rest of the good Professor's science is less incompetant than that. I'd hate for his whole premise to be undermined.

Howto Setup a Private Package Repository with reprepro and nginx

As the number of servers I am responsible for grows, I have been trying to eliminate all non packaged software in production. Although ubuntu and Debian have massive software repositories, there are some things which just aren't available yet or are internal meta packages. Once the packages are built they need to be deployed to servers. The simplest way to do this is to run a private apt repository. There are a few options for building an apt repository, but the most popular and simplest seems to be reprepro. I used Sander Marechal and Lionel Porcheron's reprepro howtos as a basis for getting my repository up and running.

nginx is a lightweight http server (and reverse proxy). It performs very well serving static files, which is perfect for a package repository. I also wanted to minimise the memory footprint of the server, which made nginx appealing.

To install the packages we need, run the following command:

$ sudo apt-get install reprepro nginx 

Then it is time to configure reprepro. First we create our directory structure:

$ sudo mkdir -p /srv/reprepro/ubuntu/{conf,dists,incoming,indices,logs,pool,project,tmp}
$ cd /srv/reprepro/ubuntu/
$ sudo chown -R `whoami` . # changes the repository owner to the current user

Now we need to create some configuration files.

/srv/reprepro/ubuntu/conf/distributions

Origin: Your Name
Label: Your repository name
Codename: karmic
Architectures: i386 amd64 source
Components: main
Description: Description of repository you are creating
SignWith: YOUR-KEY-ID

/srv/reprepro/ubuntu/conf/options

ask-passphrase
basedir . 

If you have a package ready to load, add it using the following command:

$ reprepro includedeb karmic /path/to/my-package_0.1-1.deb \
# change /path/to/my-package_0.1-1.deb to the path to your package

Once reprepro is setup and you have some packages loaded, you need to make it so you can serve the files over http. I run an internal dns zone called "internal" and so the package server will be configured to respond to packages.internal. You may need to change the server_name value to match your own environment. Create a file called

/etc/nginx/sites-available/vhost-packages.conf

with the following content:

server {
  listen 80;
  server_name packages.internal;

  access_log /var/log/nginx/packages-error.log;
  error_log /var/log/nginx/packages-error.log;

  location / {
    root /srv/reprepro;
    index index.html;
  }

  location ~ /(.*)/conf {
    deny all;
  }

  location ~ /(.*)/db {
    deny all;
  }
}

Next we need to increase the server_names_hash_bucket_size. Create a file called

/etc/nginx/conf.d/server_names_hash_bucket_size.conf

which should just contain the following line:

server_names_hash_bucket_size 64;

Note: Many sites advocate sticking this value in the http section of the

/etc/nginx/nginx.conf config

file, but in Debian and Ubuntu

/etc/nginx/conf.d/*.conf

is included in the http section. I think my method is cleaner for upgrading and clearly delineates the stock and custom configuration.

To enable and activate the new virtual host run the following commands:

$ cd /etc/nginx/sites-enabled
$ sudo ln -s ../sites-available/packages.internal.conf .
$ sudo service nginx reload

You should get some output that looks like this

Reloading nginx configuration: the configuration file /etc/nginx/nginx.conf syntax is ok
configuration file /etc/nginx/nginx.conf test is successful
nginx.

Now you can add the new repository to your machines. I recommend creating a file called

/etc/apt/sources.list.d/packages.internal.list

and put the following line in the file:

deb http://packages.internal/ubuntu/ karmic main

To make the machine aware of the new repository and associated packages, simply run:

$ sudo apt-get update

That's it. Now you have a lightweight package repository with a lightweight webserver - perfect for running in a virtual machine. Depending on your setup you could probably get away with using 256Mb of RAM and a few gig of disk.

My first Android App

 Well, here's my first Android App. Essentially it's a recreation of my Google Wave Robot - OpenAusBot, well at least the House of Reps member search.

Right now, it just does basic member searches based on Federal Seat, returning name, party and date elected. Still working on the ImageView.

Further plans are to build postcode search and geo-search.

What I don't have (yet) is a real android phone, so if anyone wants to download the apk attached to this post and make sure it works (it uses the Android 2.0 SDK), that would be great, thanks.

AttachmentSize
android_openaus.apk17.61 KB
android_openaus_16.apk17.61 KB

Adding new languages to Ubuntu



Scott recently noted that we don’t have Klingon available in Ubuntu. Klingon is available in ISO 639, so adding it  should be straight forward.

Last time I blogged about this three packages needed changing, as well as Launchpad needing a translation team for the language. The situation is a little better now: only two packages need changing as gdm now dynamically looks for languages based on installed locales.

libx11 still needs changing – a minimal diff would be:

=== modified file 'nls/compose.dir.pre'
--- libx11-1.2.1/nls/compose.dir.pre
+++ libx11-1.2.1/nls/compose.dir.pre
@@ -406,0 +406,1 @@
+en_US.UTF-8/Compose:        tlh_GB.UTF-8
=== modified file 'nls/locale.alias.pre'
--- libx11-1.2.1/nls/locale.alias.pre
+++ libx11-1.2.1/nls/locale.alias.pre
@@ -1083,0 +1083,1 @@
+tlh_GB.utf8:                    tlh_GB.UTF-8
 === modified file 'nls/locale.dir.pre'
--- libx11-1.2.1/nls/locale.dir.pre
+++ libx11-1.2.1/nls/locale.dir.pre
@@ -429,0 +429,1 @@
+en_US.UTF-8/XLC_LOCALE:            tlh_GB.UTF-8
 

Secondly, langpack-locales has to change for two reasons. Firstly a locale definition has to be added (and locales define a place – a language and locale information like days of the week, phone number formatting etc. Secondly the language needs to be added to the SUPPORTED list in that package, so that language packs are generated from Launchpad translations.

Now, gdm autodetects, but it turns out that only ‘complete’ locales were being shown. And that on Ubuntu, this was not looking at language pack directories, rather at

/usr/share/locale

which langpack-built packages do not install translations into. So it could be a bit random about whether a language shows up in gdm. Martin Pitt has kindly turned on the ‘with-incomplete-locales’ configure flag to gdm, and this will permit less completely translated locales to show up (when their langpack is installed – without the langpack nothing will show up).

February 05, 2010

links for 2010-02-05

MariaDB 5.1.42 released!

Dear MariaDB users,

MariaDB 5.1.42, a new branch of the MySQL database which includes all major open source storage engines, myriad bug fixes, and many community patches, has been released. We are very proud to have made our first final release, and we encourage you to test it out and use it on your systems.

For an overview of what’s new in MariaDB 5.1.42, please check out the release notes.

For information on installing MariaDB 5.1.42 on new servers or upgrading to MariaDB 5.1.42 from previous releases, please check out the installation guide.

MariaDB is available in source and binary form for a variety of platforms and is available from the download pages.

It is also our pleasure to announce that we have a partnership with Webyog to offer their tools for trial and at a discounted rate if purchased within 30 days. Find out more at: Download – SQLyog MySQL Fronted, MONyog MySQL Monitoring Tool or via the software partner downloads.

We welcome and appreciate your feedback, bug reports, bug fixes, patches, and participation on our mailing list. Find out more about working with the community.

Enjoy!

Related posts:

  1. MySQL on Leopard OS X 10.5 PrefPane fixed!
  2. MySQL with yaSSL vulnerability
  3. MySQL Connector/PHP for MySQL 5.0.24 and PHP 5.1.5 released



[life] Dean's Award for Sarah

Sarah got a piece of mail today from USQ, with a very ominous "Do Not Bend" on it.

It turns out because she averaged a 6.5 GPA in semester 2, she'd qualified for a special Dean's Award for Outstanding Academic Achievement, and will get a mention on the University's website and in a bunch of newspapers.

I'm really proud of her.

Unfortunately, she had to withdraw from semester 3 (the Summer semester) study because all of the baby's brain stuff came up right towards the end of semester, and that on top of moving and trying to renovate was just too much for her.

She's intending to take Semester 1 off, because the baby's due right around exam time, and then resuming study in Semester 2.

About LUV

Linux Users of Victoria is one of Australia's largest Linux User Groups conducting two regular events each month. On the first Tuesday of the month LUV runs technical lectures at Trinity College in Parkville, close to Melbourne's CBD and at The Hub in Docklands on the third Saturday of the month, LUV run a hands on workshop - addressing the linux issues of the users who turn up.

read more

LUV March Meeting

Mar 2 2010 19:00
Mar 2 2010 19:00
Location: 

The Buzzard Lecture Theatre. Evan Burge Building, Trinity College, Melbourne University Main Campus, Parkville.

Dave Hall - GlusterFS

Claudine Chionh - Humanities Computing

The Buzzard Lecture Theatre, Evan Burge Building, Trinity College Main Campus Parkville Melways Map: 2B C5

Notes: Trinity College's Main Campus is located off Royal Parade. The Evan Burge Building is located near the Tennis Courts. See our Map of Trinity College. Additional maps of Trinity and the surrounding area (including its relation to the city) can be found at http://www.trinity.unimelb.edu.au/about/location/map

Parking can be found along or near Royal Parade, Grattan Street, Swanston Street and College Crescent. Parking within Trinity College is unfortunately only available to staff.

For those coming via Public Transport, the number 19 tram (North Coburg - City) passes by the main entrance of Trinity College (Get off at Morrah St, Stop 12). This tram departs from the Elizabeth Street tram terminus (Flinders Street end) and goes past Melbourne Central Timetables can be found on-line at:

http://www.metlinkmelbourne.com.au/route/view/725

Before and/or after each meeting those who are interested are welcome to join other members for dinner. We are open to suggestions for a good place to eat near our venue. Maria's on Peel Street in North Melbourne is currently the most popular place to eat after meetings.

LUV would like to acknowledge Red Hat for their help in obtaining the Buzzard Lecture Theatre venue and VPAC for hosting!

March 2, 2010 - 19:00

Beginner's Workshop

Feb 20 2010 12:00
Feb 20 2010 16:00
Feb 20 2010 12:00
Feb 20 2010 16:00
Location: 

Cinema Room, The Hub @ Docklands, cnr Bourke St and Harbour Esplanade, Docklands

After a short holiday in January, it's time again for the LUV Beginner's Workshop. Come along on February 20.

We intend to cover things like:

  • How should you partition your machine? Should you use LVM?
  • installing various linux distributions;
  • tweaking and configuring your system;
  • automatic backups;
  • home networking, including wireless;
  • setting up specific applications;
  • using specific applications;
  • the Linux problem you're having

The Hub @ Docklands, 17 Waterview Walk, Docklands (near the corner of Bourke Street and Harbour Esplanade - look for the giant rabbit sculpture)

Melway reference: 2E H7

Parking can be found nearby. Coffee and breakfast are available just across the road. Wireless internet access is provided.

For those coming via Public Transport, the City Circle, number 48 (North Balwyn - Docklands) number 86 (Bundoora - Docklands) and number 70 (Wattle Park - Docklands) all stop on the corner of Bourke Street and Harbour Esplanade. Southern Cross Station is just across the overpass over Wurundjeri Road.

February 20, 2010 - 12:00

Body Armor: 2000







ISBN: 0441069762

Ace (1986), Paperback

LibraryThing

I love a good anthology, although I'd read a few of these stories before:




Comment

February 04, 2010

Packaging Drush and Dependencies for Debian

Lately I have been trying to avoid non packaged software being installed on production servers. The main reason for this is to make it easier to apply updates. It also makes it easier to deploy new servers with meta packages when everything is pre packaged.

One tool which I am using a lot on production servers is Drupal's command line tool - drush. Drush is awesome it makes managing drupal sites so much easier, especially when it comes to applying updates. Drush is packaged for Debian testing, unstable and lenny backports by Antoine Beaupré (aka anarcat) and will be available in universe for ubuntu lucid. Drush depends on PEAR's Console_Table module and includes some code which automagically installs the dependency from PEAR CVS. The Debianised package includes the PEAR class in the package, which is handy, but if you are building your own debs from CVS or the nightly tarballs, the dependency isn't included. The auto installer only works if it can write to /path/to/drush/includes, which in these cases means calling drush as root, otherwise it spews a few errors about not being able to write the file then dies.

A more packaging friendly approach would be to build a debian package for PEAR Console_Table and have that as a dependency of the drush package in Debian. The problem with this approach is that drush currently only looks in /path/to/drush/includes for the PEAR class. I have submitted a patch which first checks if Table_Console has been installed via the PEAR installer (or other package management tool). Combine this with the Debian source package I have created for Table_Console (see the file attached at the bottom of the post), you can have a modular and apt managed instance of drush, without having to duplicate code.

I have discussed this approach with anarcat, he is supportive and hopefully it will be the approach adopted for drush 3.0.

Update The drush patch has been committed and should be included in 3.0alpha2.

board games

A couple of weeks ago I placed an order with BatchPCB for the N64 RGB DAC board. Today I received two of them!

I'm quite excited to see the design all professional looking. If I'm really lucky they might even work!

As I understand it sometimes the fabs will make extras of a board in case something goes wrong. If they all come out fine then there's not much to do with the extras, so they just chuck them in as a bonus. That's good; now I have a spare if something goes wrong and I don't feel like I got such a bad deal with the insane postage cost.

eBay is the best source of cheap components in bulk. There's hundreds of stores all selling manner of things in huge quantities for mere pennies and half of the time with free shipping. This time around I've picked these up:

All for the bargain basement price of $22.50. Sure, I have to wait a couple of weeks, but I'm not in any hurry here. If I'd been really smart I would've ordered the parts a couple of weeks ago. Oh well :)

OS X Fails to Please

I’ve been using Apple laptops for a number of years in order to have access to some specific capabilities, but I have always found it hard to come to terms with the limited functionality of OS X as a work environment. Nevertheless, when I acquired my MacBook Pro recently, I decided to just go with the flow and learn to use Snow Leopard as it was meant to be used. And that has worked out quite well for the purposes that I normally use the MacBook for—email, IRC and web browsing while on the road.

But I recently had a reason to use it for my normal work stuff. I had needed to visit a Mac retailer for some minor item and stopped to look at the 27-inch iMac, where I became entranced by the display and, to a lesser extent, by the neat overall package.

This led to thoughts of possibly buying one of these things, which in turn led to thoughts of discomfort with OS X.

So I decided to try out OS X on a decent-sized display instead of the teensy thing on the 13-inch MacBook. I hooked the MacBook up to a 24-inch display to see how things might work. This brought me into contact with Apple Fail Number 1—the ability to get stuff onto the display you want it on is a black art and in some cases it’s only possible to start an application, see where it lands and then drag it to the desired display. That was hugely unimpressive, but wasn’t the point of the exercise, so I tried to ignore it while doing my testing.

I believe I succeeded in applying my attention to the factors that would be relevant with a single large display running OS X. To give it a fair go, I used this setup for three days as my desktop environment. But that was as much as I could stomach. Gnome—whether under FreeBSD, or OpenSolaris, or Linux—is just so much better to work with than OS X that it’s really not even a contest.

The upside of this is that I’ve saved $3k that I had put aside for the iMac which I could now partly apply to the bicycle that I’ve been thinking about buying as part of my fitness program. Another upside is that I won’t be constantly chafing against all the annoying little restrictions that Apple impose on their customers. So, although I will slightly regret the decision not to add something shiny to my desk, I think I’m probably more pleased than sad.

Another Look at Version Control Systems

I’ve been using version control systems for ever—well, back to the days of SCCS anyway. Every few years, I survey the scene to see if there’s something that better fits my current needs. That way I came to use RCS instead of SCCS. Then I found CVS and, after some hesitation, migrated all my RCS repos to CVS. And then I found I hated some of the weaknesses of CVS and migrated back to RCS.

There things stayed until Subversion was ready for real world use. I chose not to migrate old work, but just started using svn for new projects and then for new work on old RCS-managed projects. That went pretty well and served me for some years.

But, as Subversion was hitting its stride, other people were working on distributed revision control systems and I started watching those projects. From time to time, I would spend a few days having a good look at the obvious contenders. A couple of years ago I felt there were a few that were ready to be considered: Git, Mercurial, Darcs, Bazaar all seemed interesting. After some consideration, I chose Mercurial and I have been happy with it.

But Bazaar, or bzr as it’s called on the command line, had been a close second in my assessment. Bzr was let down by some performance issues and also appeared to have a few other minor concerns.

Recently, I’ve had another look at the various DVCSes as part of another project and I think there’s very little to choose between Git, Mercurial and Bazaar. It comes down to comfort with the command structure and support for the workflows that you might want to adopt. For me, Git is still too clunky to use—it takes more typing to get the same result. But I think Bazaar has just moved ahead of Mercurial in terms of workflow options and it seems to have caught up in the performance area.

So I’m going to use Bazaar for a couple of new projects and I’m also going to convert a couple of active Mercurial projects over to Bazaar. And, in a few months, I’ll have an opinion about the wisdom of that choice and I’ll write about that in due course. I know I haven’t exactly explained my choice, but that’s deliberate because it really is a fine distinction and I’m pretty certain that Git, Mercurial and Bazaar are all fine systems.

Anti-anti-features: region coding

DVD anti-features are rather well documented. The purpose of “region coding” was to make sure that everybody who ever visited a foreign country and picked up some DVDs while there would get home to find out that they wouldn’t work.

Luckily, those of us who pay good money for DVDs have free software solutions to let us used our payed for product and not force us to download “pirated” copies just so we can view what we payed for.

The region coding in DVDs was designed with the idea that DVD players would always be expensive. You could “change” which region your DVD player was in a set number of times before you could no longer change it.

DVD players can now be bought for $30 (or less). This is what you could pay for a DVD movie. So with economies of scale driving prices down, even if CSS wasn’t completely broken, you can brute force the region coding by just buying 6 DVD players ($180) – less than many of us payed for our first, second or third DVD player.

The same thing will happen with BluRay. You can now get BluRay players for a couple of hundred dollars. One for each of the regions (A, B and C) will cost you less than original BluRay players cost.

So the antifeature of limiting who can watch a DVD/BluRay release is easily broken as player costs come down.

[geek] On trying to buy a 19 inch rack

The first time we looked at this condo that we ended up buying, I looked at the cupboard under the stairs, and could visualise a small 19 inch rack in the lower part of it, with all of my computer gear in it.

When we got structured cabling installed, I had the CAT-6 cabling terminated onto a basic 19 inch patch panel, with the intent of mounting this in a rack.

Then it became a case of trying to find a rack.

My favourite junk shop, Weird Stuff, didn't have anything that wasn't full height, so I started looking around online.

There's certainly a lot of variance in price. I settled on a 26U Intellinet rack from New Tech, because based on the dimensions on the website, it would fit in the space I had in mind.

When we assembled it, it became obvious that the dimensions quoted were the inside dimensions and not the outside dimensions, and it was about 4 centimetres too tall. In hindsight, I should have figured that out. 26 x 1.75 is 45.5.

This is where I must give a shout out to New Tech. Sarah called them up, explained the situation, and they agreed to take the rack back, and sent us some shipping labels to ship it back.

We managed to find a more simple rack, a 20U Middle Atlantic, which arrived today, and was significantly easier to put together. The only downside: no rear mounting holes. I don't think it'll be a huge problem, though. All I'm planning on mounting in the immediate future are the patch panel, some sort of cable management, a Catalyst switch, and a power strip. At some point in the future, once we stop spending money hand over fist, I'll look at getting a rack mountable server to replace the hodge podge of computers I'm currently running.

What I wish we'd discovered about two days ago, was the Lack Rack. This would have been perfect (and so much cheaper).

[life] Farewell Central Park Apartments

In buying a place and moving, we've left the home we've been in for just over 4 years. Central Park Apartments was a wonderful community for us, and we made many wonderful friends there. At the peak of awesome, we knew really well the occupants of 4 out of the 7 other apartments in our building, as well as numerous others throughout the complex.

The company running the place ran it really well. Everything was well maintained. I wouldn't recommend one of the single-level apartments, as the inter-floor sound insulation was pretty terrible, but the townhomes were great (albeit the kitchens were a bit small). We were in a Greenwich floorplan.

The other big plus for me was that it had data cabling.

We'll miss all of our friends there, but thankfully they're not very far away.

Injury

I had a pretty good first gym session with Benny, Keiran and Danny on Sunday, and I was fine. Then on Monday, I played frisbee/soccer with some Uni friends in Victoria Park. Still fine. That night, wanting to get into good shape for this week's judo lesson, I did a heavy set of judo push-ups. That seemed to be too much for my body to handle, and I woke up in pain and unable to fully straighten my arms.



Injury is a fact of life if you want to be a more active person, ask [info]emmasee100. It's not going to be fun tonight though when everyone else is doing awesome throws at judo, and I'm on the bench. Boo injuries.

[life] Completely moved

We finished off moving everything from the old place last weekend. Our new home number can be determined by adding 59115 to the old one (or calling the old one in the next 60 days).

The great unpacking is continuing. We're reluctant to unpack much in the kitchen because it's all going to have to come back out again in a couple of weeks.

The cats have settled in well. Lily is still spending most of her time under the bed, but she comes out to explore from time to time.

We had a bunch of fun with various bits of cable. I had some CAT-6 cabling installed throughout, and also some new RG-6 cabling was installed at the same time. The contractor ran a new line into our place and also a line to the patch panel he installed for the phone.

When Comcast came out to activate our cable TV service, the poor guy had all sorts of problems, until I realised there was an air gap between the line coming into the condo and the cables outside. Then the next problem was my contractor had run the new line out to the wrong location. The bunch of cables where he ran the line to was some old out of commission stuff. The Comcast guy was really great. We located where the current cable came in (via the attic) and he spliced that into the new internal cabling, and the net outcome was close to what was supposed to have happened in the first place. The funniest thing was the Comcast cable guy left in such a rush because he ran over time on the job, that he left the cable cabinet wide open, including the box with all of the building's cable connections. If I new how to crimp RG-6, and was feeling lucky, I could remove the filter that's restricting the channels we receive.

The next fun was getting the phone line sorted out. Again, my contractor had run a new CAT-6 line to the patch panel for the purposes of giving me a few jacks in the one place, so I could plug in my DSL modem, and a line into my Asterisk box. The only problem was he wasn't sure which pair was the phone line (and the phone wasn't active at the time) so there was an air gap between the end of the CAT-6 and the phone line. AT&T came out and sorted that out. I suspect the AT&T guy also left in a hurry, because he left a tone generator jumpered into the phone line.

Once the phone was working we had to wait a couple of days for the DSL service to get moved to the new number. It turns out that I got new static IP addresses with the move, so it wasn't just a case of plugging everything back in and it working, unfortunately.

But that's all behind us now. We're fully here, online again, and settling in. I think this weekend we'll bang in some picture hooks and hang up our paintings, and try to unpack a few more boxes.

brendanscott



Copyright sense: iiNet wins in Federal Court

Good news on the wires this morning is that iiNet have won their case in the Federal Court.  It has got high ranking press on the SMH site and ABC – an indication of how important copyright is becoming to the general public.   This is likely a propaganda blow to the AFACT – the doublethink “Australian Federation Against Copyright Theft“.  Especially because, based on media reports (I haven’t had a chance to read the judgment), the court has downed AFACT on the key issue of authorising infringement.   Moreover, the court has said even if iiNet was authorising, it would have the benefit of the safe harbour provisions in the Act.

Given media reports on the drubbing AFACT has received, I suspect an appeal will not be favourable.   It will come, of course, because it is always worth it for holders of statutory exclusive rights to  squeeze for every last inch from them, because every inch means many times more money that they can squeeze from the public.  However, we can now expect to see the Australian Parliament swamped by lobbyists and the Copyright Act changed to suit the content industry.   I expect to see the ACTA modified to knock this fit of reasonableness on the head.  Telecommunications interests made a dire mistake in the 90s and noughties by sucking up the “content is king” rhetoric.  They have sat by while the Copyright Act has been extended greatly against their interests.

It is nice to see some sensible decisions on copyright enjoying a renaissance in Australian courts – particularly Stevens v Sony, and iiNet (and, to some extent, Kazaa) – after a long drought (ie since the Apple case in ‘86).

Blathering for Wednesday, 03 February 2010

23:18: Mikal shared: Farmer hid secret castle behind hay bales - ABC News (Australian Broadcasting Corporation)

    So, he probably knew he wouldn't get approval (because its a frikken castle!) and then set out to circumvent the law through a loophole? He totally deserves what he got.






Tags for this post: blather(S) Comment RSS with no blather

February 03, 2010

Trying to kill Theora – MPEG LA extends royalty free use of H.264 for Internet streaming

So the MPEG LA has extended the royalty free life of Internet streaming H.264 video from the end of 2010 to the end of 2016. The majority of patents expire in 2028, so that will still give them plenty of time to collect on royalties, if we let them.

Make no mistake, this is about stifling the adoption of Theora in order to become the de-facto standard. MPEG LA is trying to kill Theora, but we must not let that happen! We need an open web.

If you use H.264 for ANY OTHER PURPOSE today, you still need a license. Yes, that means you Mr. Linux user ripping your DVD’s to H.264..

Do you use H.264 or MPEG? You need a license.

Recently it was confirmed by the MPEG LA that a license is needed for any use of H.264 and that everyone on the chain is liable. Free software projects are not exempt from this either and neither are end users.

Ben Swartz has an excellent summary about why H.264 should not be used.

A lot of commercial software comes with H.264 encoders and decoders, and some computers arrive with this software preinstalled. This leads a lot of people to believe that they can legally view and create H.264 videos for whatever purpose they like. Unfortunately for them, it ain’t so.

The license that comes with commercial software, such as Apple’s Final Cut Pro, does not cover commercial works. Even so, if you use a commercial software package to create something non-commercial and give it to a friend, they need to be properly licensed also.

You have a license to use their software, provided you don’t make any money, your friends are also all correctly licensed, and you only produce content that complies with the MPEG standard. Using video for a commercial purpose? Producing video that isn’t within MPEG’s parameters? Have friends who use unlicensed encoders like x264, ffmpeg, or xvid? Too bad.

This last thing is actually a particularly interesting point. If you encode a video using one of these (open-source) unlicensed encoders, you’re practising patents without a license, and you can be sued. But hey, maybe you’re just a scofflaw. After all, it’s not like you’re making trouble for anyone else, right? Wrong. If you send a video to a friend who uses a licensed decoder, and they watch it, you’ve caused them to violate their own software license, so they can be sued too.

That’s right folks. Use Handbrake to rip a DVD, or create, view, watch or distribute any H.264 video and you’re liable (royalty free streaming via the Internet has been extended until the end of 2016).

Won’t somebody please think of the children?

Python interface to Linux's input_event and uinput

A little while back I bought an ASRock 330HT as a media PC. Aside from the fan being a little noisier than I hoped, the remote control had no Linux driver so I bought a Hama MCE remote control after reading that it works well under Linux. Unfortunately, while it works fine under Linux, it's got hardcoded key values and not every key is unique. As an example the "i" info button is actually a prolonged right click, a couple of the keys send *exactly* the same keycodes as others (Play and Pause), and there are a bunch of buttons which generate Control-Shift-foo and Alt-bar and so on. I guess under Windows Media Center these all serve a specific purpose. Under Linux and its media center programs (such as XBMC) they don't (and XBMC's input layer is a bit restrictive).

I had my toys, but things weren't working exactly as I wanted. What's a guy to do? I got hacking, of course.

The Linux Input Subsystem is pretty clean nowadays and detecting the correct device and reading a few bytes from /dev/input/eventXX isn't all that hard. Within a couple of hours I was reading the bytes from the remote and pretty printing them as I received them. Unfortunately, this lead to the realisation (as shown above) that the remote's a little screwy and that a few hacks would be necessary to make things work as I wanted. But I was having fun and I was learning something.

The next step was deciding how to use these key events. XBMC has an interface to LIRC and another chap had written a python script making the HAMA MCE remote produce LIRC events. I tried it, fixed some bugs, and it worked.. but it was unsatisfying.. the MCE remote also has a mouse cursor (there are two input devices generated - a mouse and a keyboard - but the mouse device also sends a few key events that I care about as well as the all-important info button).. I started to explore the uinput device which lets you create a fake input device and write to it. Figuring out how to initialise it was a little tricky but I found some similar code and worked it out.. after that it's just writing input events to the device.

My initial idea of just reading all input, munging a few things, and passing the remaining events directly through proved somewhat problematic. If you leave a stranded Control or Alt key pressed down then you have a serious problem and in my tests I had to kill my X session a few times. A better way is to read all the input and have a virtual keyboard that handles the MOD keys, does the processing of normal keystrokes, does the translations, and then converts the translated events back into input events for uinput, ensuring there're no dangling modkeys.

The final step was to create a versatile translated step. I decided that I wanted a configuration file, instead of coding the translations all in python.

Here's some snippets from my config file:

# simple 1-1 translation
KEY_HOMEPAGE-down = send KEY_ESC-down
KEY_HOMEPAGE-up = send KEY_ESC-up
# the info button/right click magic
BTN_RIGHT-down = set rightclick time.time()
BTN_RIGHT-up = if (time.time()-rightclick) > 0.3; send KEY_I; else; send BTN_RIGHT
# compound key sequence example
Alt-KEY_F4-down = wait
Alt-KEY_F4-down KEY_F4-up = send KEY_ESC; clear

The wait action means to add the current key event to the match criteria for the next keystroke. clear then clear's the list.

Code will be online soon at http://github.com/rmt/pyinputevent/

Anti-anti-features: copyright notices

Mako has often talked very well about anti-features. The “features” in software that nobody wants and often cost money to do the easier task of not including the feature. Examples include the non-skip parts of DVDs and BluRay Discs (see here for more).

I’d like to coin a new term… anti-anti-features. These are antifeatures (i.e. a feature you didn’t want in the first place) doesn’t actually function properly itself.

The other day, I sat down with a friend to watch a movie. We had hired out a BluRay of a recently released movie, popped it in the player and attempted to hit “Pause”. Why pause? Well… movies often can auto-play and we wanted to fetch a beer, snack and otherwise prepare for the great movie watching experience.

It turns out you cannot pause the copyright notice. So if you’re trying to be good and understand your obligations under the license in which you have received this disc, you cannot actually finish reading them!

Try it – put in a DVD or BluRay and try to read the copyright notice. I bet you that for a large number of discs you cannot do so in the time allowed.

This just goes to show how utterly useless these “no skip” zones are. You will see hundreds of exactly the same notice (one for each disc you view) many, many times (each time you view it) – one would think that after the first, second, third or even 10th time you’d understand it.

Amazingly, under DVD playback software that lets you skip the “no skip” zones (e.g. every DVD player on Linux) it also allows you to pause on the copyright notice and read it.

H.264 Anti-features

No, You Can’t Do That With H.264 is an excellent write up of how H.264 (“MPEG-4″) is fraught with problems that you just would not have if using Free (as in Freedom) formats such as Ogg Vorbis and Theora.

It is amazing that Final Cut “Pro” cannot actually be used to create H.264 content for commercial (i.e. “Pro”) use!

It’s the same for MPEG-2.

Oh, and if you use it to decode video that was encoded by somebody without the proper license… well, then you’re also screwed. How the heck you’re meant to work that one out I have no idea.

February 3

I was on my way to a press event in the city today. Nothing unusual about that. In a busy week I can attend upwards of 10.

Today something extraordinary struck me. As I paid the taxi driver and jumped out of the cab I looked up and the first thing I saw was a plaque commemorating the first Christian church service on Australian soil.

The date was February 3. Today.

A plaque in Sydney for Australia's first church service on Sunday, February 3 1788

A plaque in Sydney for Australia's first church service on Sunday, February 3 1788

It was this day in 1788 (Feb 3 was a Sunday) Rev Richard Johnson addressed the fledgling colony. The monument to mark the occasion stands on Hunter St, Sydney.

If I remember correctly, on the first Sunday (Jan 27) after the landing at Port Jackson most of the expedition party (most certainly the women) was still on board the ships of the First Fleet.

I’m not religious, but found this little snippet of our history too interesting to ignore.

linux.conf.au miniconf schedules

In the lead up LCA2010 there was some noise on the mailing list about the miniconf schedules. Specifically about where and how miniconf organisers should (be forced to) publish their schedules.

Jacinta Richardson invested a lot of time and effort in aggregating all all disparate schedules and turning them into a single table on the LCA wiki, which made life easy for most attendees. However, that still leaves the questions of schedule changes and updates.

<!--break-->As a miniconf organiser I kept my website up to date, so an up-to-date schedule was always available there. Luckily I had no changes to contend with, but others weren't quite so lucky and ended up needing to keep three different published schedules in sync.

There is a solution to this problem and it's called iCal. Provided all miniconfs make their schedule available as an iCal feed (Drupal can do this automagically </fanboy>).

The main conference had iCal feeds of the schedule available as well, so any calendaring app with iCal support could have provided a lovely electronic program guide, such as my Zimbra account (see below) or my iPhone.

iCal Representation of LCA2010 and two miniconfs

You'll note the times look wrong. This is because the screenshot was taken in the Australia/Melbourne timezone and the events are all in the Pacific/Auckland timezone, which is two hours ahead.

Trackback URL for this post:

http://cafuego.net/trackback/369

Lyonesse







ISBN: 0441505309

Ace (1987), Paperback

LibraryThing

This is another book I read as a child, except in this case I didn't really remember much of it -- the only bit I remembered was the punishment of Madouc's mother, but that might have been because I was a teenaged boy at the time. Overall this is a very good book. It took me a while to read because of being distracted with other projects, but the ongoing oppression of Princess Suldrun didn't really help either -- it was interesting at first, but got depressing after a while. Its also disturbing how many times sexual assault is used as a plot element in this book...



Tags for this post: book(S) Jack_Vance(S)




Comment

sadlittlewebjournal 2.9.2 released

Since it was a public holiday today, I put the time to good use by (a) fixing our front door; and (b) releasing another point version of the software that runs this blog, sadlittlewebjournal. This version fixes a few annoyances - that the facility to post by email didn't work with complex MIME emails (for example, mine are digitally signed), that the RSS feed didn't preserve the line feeds in the original post, and that special characters such as € didn't come out correctly...

NDB$INFO with SQL hits beta

Bernhard blogged over at http://ocklin.blogspot.com/2010/02/mysql-cluster-711-is-there.html that MySQL Cluster 7.1.1 Beta has been released. The big feature (from my point of view) is the SQL interface on top of NDB$INFO. This means there is now full infrastructure from the NDB data nodes right out to SQL in the MySQL Server for adding monitoring to any bit of the internals of the data nodes.

Michael Atkinson Lies

The South Australian government wanted to force bloggers to disclose their name and post-code when commenting on an election [1]. According to Adelaide Now this included posts on Twitter and Facebook [2].

As expected there was a strong public reaction to this and Michael Atkinson (state Attorney General) stated that the law was not going to be enforced and that it would be retrospectively repealed after the election [3]. Which might have been the end of the issue, but he also said “All MPs and all parties voted for Electoral law. Hope Libs, Greens, Family First, Independents etc will join us to support repeal” which seems to be a clear claim that the Greens supported that legislation.

The Greens are pretty good about freedom of speech issues so I immediately enquired as to what was going on. The following is from a Greens media brief issued yesterday by the office of Mark Parnell MLC (the Greens MLC in SA) which was issued before the new law was retracted:

Attorney General Michael Atkinson must urgently clarify the scope of new electoral laws covering public comment on the internet, in the wake of concerns that the impact will be much wider than expected.



“With only weeks to go before the election kicks off, there is an urgent need for the Attorney General to explain exactly what his laws are

intended to capture,” said Greens MLC Mark Parnell.



“When this was debated in Parliament last year, we were told that the law change would only affect ‘electronic versions of a journal’. Now there is

concern that the laws could extend further, restricting public commentary on media sites like AdelaideNow and ABC Online,” he said.



When the Bill was debated in the Lower House, Michael Atkinson originally wanted to include ALL material on the web. However, the Government

backed down on this by the time it got to the Upper House, with Minister Holloway saying:

“The intention is to limit the coverage of section 116 as it applies to the internet to electronic versions of a journal rather than any electronic publication on the internet.”



A ‘journal’ was narrowly defined as ‘a newspaper, magazine or other periodical’.

Now I don’t have a great objection to a law that demands that journalists identify themselves when commenting on an election, and I think that most people would not care about that. It seems that Michael Atkinson is repeatedly changing his claims to try and match popular sentiment.

He has got form for this sort of thing, his past “achievements” include censoring the censorship debate about an R18+ rating for computer games [4].

Denmark to implement ODF document standard

Good news that the Danish government has agreed to mandate the use of Open Document Format.

Last Friday, after four years of deliberation, representatives of all parties in the Danish parliament (Folketing) reached an agreement to adopt the OpenDocument Format (ODF) as their official format for saving documents from April 2011.

February 02, 2010

3G Broadband for Home Use

I have just installed an old Three mobile phone with 3G broadband for my parents home network access for the reasons described in my cheap net access in Australia post [1].

The first problem I had was that the pre-paid Three SIM just wouldn’t work at all. I ended up phoning the Three support line and had a guy guess at which version of Windows I was running, after guessing every version of Windows from the last 10 years and Mac OS/X he finally asked what OS I use and then told me that Linux isn’t supported. I said “I HAVE TWO SIMS FROM THREE, ONE WORKS AND THE OTHER DOESN’T, IT’S ON THE SAME PC WITH THE SAME 3G ACCESS DEVICE, THE PROBLEM IS WITH THE SIM OR THE SERVER NOT MY OS“. When the support guy discovered that one sim was pre-paid he said that there is a configuration difference, instead of an APN of “3netaccess” for post-paid (contract) you have to use “3services” for pre-paid.

There are a bunch of web pages describing how to get Three 3G broadband working on Linux in Australia, some say to use 3netaccess and some say 3services. None of the pages I read stated correctly that 3netaccess is for when you are on a contract and 3services is for pre-paid. I’ve submitted a suggestion for the Ross Barkman’s GPRS Info Page (which seems to be the best reference for such things) [2].

After getting the pre-paid 3G SIM working for net access from the Huawei E1553 USB 3G modem I was unable to get it working from my LG U890 mobile phone. I never figured out how to solve this problem, I left my parents with the SIM that is connected to my $15 per month contract plan for 3G net access and am now using the pre-paid SIM for my own use. Of course this means that as I’m using a SIM registered to my mother and she’s using one registered to me I’ll surely have some problems getting the support center to help me with problems in future.

I found that the 3G net access got better reception when the phone was higher than the computer, so I used a USB extension cable to allow it to be placed on a shelf above the computer. The extension cable also allows it to be easily unplugged and plugged in again – I’ve already seen one situation where Linux got confused about the state of the USB device and replugging it was necessary to solve the problem. I was using Debian/Lenny.

Here is my chatscript for connecting to Three with my 3G modem on a pre-paid SIM – which also allows roaming to Telstra (I haven’t tested whether pre-paid allows roaming, I’ve only tested Telstra roaming with a contract SIM):

ABORT 'BUSY'

ABORT 'NO CARRIER'

ABORT 'ERROR'

'' AT

OK ATQ0V1E1S0=0&C1&D2+FCLASS=0

OK 'AT+COPS=0,0,"3TELSTRA",2'

OK AT+CGATT=1

#OK AT+CGDCONT=1,"IP","3netaccess"

OK AT+CGDCONT=1,"IP","3services"

OK ATDT*99**3#

Here is the ppp configuration for connecting via the USB 3G modem. For use as a permanent connection you want to also include persist and “maxfail 0“:

/dev/ttyUSB0

230400

noauth

defaultroute

logfile /var/log/ppp.log

connect "/usr/sbin/chat -v -f /etc/chatscripts/three"

For connecting with an LG U890 mobile phone you need to use “ATDT*99***1#” as the dial command and the device is /dev/ttyACM0 .

Windows 7 killing laptop batteries?

Ars Technica reports on issues with Windows 7 and battery life on some laptops.

These users claim their batteries were working just fine under Windows XP and/or Windows Vista, and others are saying it occurs on their new Windows 7 PCs… their PC’s battery life is noticeably lower, with some going as far as saying that it has become completely unusable after a few weeks of use. To make matters worse, others are reporting that downgrading back to an earlier version of Windows won’t fix the problem.

The issue was originally reported back in June 2009, long before Windows 7 was actually released.

Python-iView supports new JSON index from iView 327

Python-iView users are invited to update their setups to support the latest JSON–based index the ABC pushed yesterday. The index is in a more compact format, which means that loading the GTK+ interface should be faster for you.

Not only that, but the ABC have cleaned up all their blank programmes from the index, which should make picking and choosing something to watch.

Without further ado, here is the usual to get you to the latest version:

$ bzr pull

This latest update requires the use of the json module, which is only available for Python 2.6 users. I fall back to the user of simplejson if json is not available, so you may need to install the module manually (either from the simplejson website, or from your distribution’s package manager, e.g. python-simplejson for Debian or Ubuntu) if you use Python 2.5.

Quick Back Down From SA Attorney General

ATTORNEY-GENERAL Michael Atkinson has made a "humiliating" backdown and announced he will retrospectively repeal his law censoring internet comment on the state election.



After a furious reaction on AdelaideNow to The Advertiser's exclusive report on the new laws, Mr Atkinson at 10pm released this statement: "From the feedback we've received through AdelaideNow, the blogging generation believes that the law supported by all MPs and all political parties is unduly restrictive. I have listened.



"I will immediately after the election move to repeal the law retrospectively."



Mr Atkinson said the law would not be enforced for comments posted on AdelaideNow during the upcoming election campaign, even though it was technically applicable.



"It may be humiliating for me, but that's politics in a democracy and I'll take my lumps," he continued in the statement.



"This way, no one need fear now that they are being censored on the net or in blogs, whether they blog under their own name or anonymously. The law will be repealed retrospectively.



"I call upon all the other political parties who supported this review to also review their position."




The rest of the article is here.

Creation

Last night I was looking for some specific photos on my external hard drive and then went looking through all my other photos too. Here are just a few which reflect our awesome Creator.

















Douglas and Jessica about five years ago.










An Easter Sunday morning in Murray Bridge, if you click on these ones you can see the mist on the river better.

Memories - 1970s Train Trips To Adelaide





Adelaide Railway Station




We used to go on school excursions to various Adelaide events and places - Come Out and the museum.



Parents would drive us to Bridgewater then we'd catch a train to Adelaide. This is where my love for trains began. Getting there was half the fun. The three tunnels were highlights of the trip. I loved the gorgeous scenery too.



This quote from Wikipedia gives you a bit of an idea of the track.



The Bridgewater line had a fairly steep grade for most of the journey, sometimes resulting in derailments due to the tight bends. Services from Adelaide to Bridgewater usually took an average of one hour (stopping all stations), and about 50 minutes (express).


Bridgewater railway line is a very good Wikipedia page detailing the line and all the stations along it.













I found it really hard to find photos for this post. I couldn't find any photos of Echunga Primary School back in my days, the school logo of a cow, Adelaide Railway Station in the 1970s etc. I'll have to scan some more of my old photos.

Precision vs Accuracy in Identifying People

Andrew Dowdell and Michael McGuire have an interesting article in the Adelaide Now about censorship in the South Australian election [1]. The South Australian government wants to force everyone who comments on the upcoming SA election to provide their name and postcode. Attorney-General Michael Atkinson said the law was “all about honesty“. However a law that forces someone to not comment as “Anonymous” and instead forces them to use a name that sounds like something that might appear on a birth certificate and a postcode is not going to increase honesty at all.

I think it’s much better to honestly say “I’m not telling you my name” than to lie and claim to be revealing your name. When the government forces people to give precise but totally inaccurate information it seems that it’s going to be bad for everyone. It’s even bad for the people who want to be identified, if most people who comment on a blog post are anonymous then I’d like to be distinguished as the person who uses their real name!

In the vast majority of cases the effort of determining who is using their real name will not be worth the effort. If someone comments on my blog under the name “John Howard from Bennelong” I will be very suspicious that they are using a fake name. But probably the vast majority of the English speaking population of the world wouldn’t immediately identify such a name as fake. If someone wants to comment on my blog and they don’t have a published phone number then I won’t have any good way of identifying their address. If their name and postcode match an entry in a phone book then they still might be faking it – they could take a random name from a phone book. If I was to demand that people who enter blog comments provide their phone numbers then I would have to pay the expense of phoning them as well as dealing with cases of people who are away from home, should I delay a blog comment for a month until the author returns from their European vacation?

I have had a moderate amount of experience in writing letters to the editors of newspapers, and I have only once had an editor phone me to verify my details. In all other cases I guess I could have fooled them if I wished.

I believe that there are already precedents regarding libel, if I approve a blog comment (or fail to unapprove it in a reasonable amount of time if it meats the automatic approval criteria) then I could be sued for libel if the contents of the comment are deemed to be suitably damaging. So if I was to try to get the real names of people who make comments on my blog then it wouldn’t make it any easier for an idiot who wants to sue – also anyone who wants to sue regarding an Australian political issue will probably find me a better target than most people who comment on my blog (a significant portion of whom are from the US and have much greater legal protections of their freedom of speech).

Extending such a law to US based services such as Twitter is just silly. The stockholders and employees of a US based corporation can freely laugh at Australian censorship laws. Also it’s pretty stupid to have a global scope on such laws, as a Victorian why should I care about the South Australian state laws? Implementing laws that can be easily broken inadvertently and can never be enforced against anyone who cares is just pitiful and will result in the MPs who vote for such laws being the object of derision.

Vote for the small parties and independent candidates. Both Labour and Liberal want to censor us, put them in the second last two spots on your vote card!

Now this law doesn’t take affect until the writs for the March 20 election are issued. I encourage Australian bloggers to write bad things about the Liberal and Labour parties after the writs are released which are not libelous and which don’t include your postcode. If they try to apply the new law then your blog post gets wide attention. If you plan to be a professional blogger then you could consider the $5,000 fine to be an advertising fee. If you don’t want to be known then you can use a US based blogging service.

I’m going to continue to write political blog posts whenever I feel like it and I won’t be telling anyone where I live. I will rely on the Streisand effect to save me.

Update:

The politicians in SA have surrendered, the law in question won’t be enforced and will supposedly be repealed after the election [2]. It will be interesting to see whether they really do repeal that law.

Australian Labor Party Trying To Gag Election Debate Online

http://www.adelaidenow.com.au Full article here.



SOUTH Australian laws censoring anonymous political comment on the internet have sparked national and international outrage, with readers comparing the "draconian laws'' to those in Nazi Germany and China.



More than 600 people have posted comments on the AdelaideNow website - most vehemently against the Rann Government's legislation which will force internet bloggers and anyone publishing a comment on next month's state election to supply their real name and postcode.



A poll reveals more than 90 percent of readers are against the laws, which carry a maximum fine of $5,000 for media organisations who do not hand over such information to the Electoral Commissioner.




I really don't see this having much effect. A lot of blogs aren't hosted in South Australia, for example Blogger/Google is an American company. For those who host their own blogs I doubt that there's anything to worry about there either. Is the government going to employ someone to search the net for election comments without a full name and postcode? What a waste of time!!!



To me this is another example of government not understanding how the Internet works. As I've taught my students - no one owns the Internet, it isn't governed by any one government, there are no universal laws for the Internet, people can host their websites in countries which don't have laws regarding the Internet.



So I say, 'Don't worry, be happy'.

Communication

[Chiz at the Kamakura Daibutsu]

Is it ok to use chat to communicate with my wife?

If she is sitting at the next desk?

If there is a sleeping baby in between?

Is any of this relevant if she laughs?

The Libre Graphics Day miniconf at linux.conf.au - a wrap.

Libre Graphics Day - I was really pleased with the outcome of our efforts to create the first spin off event based on the hugely successful Libre Graphics Meeting that's been taking place in the northern part of the planet for the past 5 years. In the end we had a nice mix of sessions.  I had some nervous moments early in the day when I got word 2 of our speakers had been diverted to Auckland due to bad weather, but they arrived in time, did their stuff, and all was good.

Libre Graphics Day - miniconf at linux.conf.au 2010 in WellingtonAfter Jon Cruz kicked off proceedings with some background on the Libre Graphics gatherings and opened the day, Ralph Giles took us through Ghostscript's ICC based color architecture. It was great to hear about the history of this project which I so totally take for granted. He gave great insight into the complexity the developers contend with, and laid out the roadmap for how they're trying to streamline and simplify it for the future.

Vik Olliver took us through some Graphic Design Apps - Beyond the Pixel and talked about a range of open source tools that can be used to bring creativity to life and make it real. Famous for the RepRap Vik talked about the kinds of tools used to design 3D objects and some of the gotchas you need to learn first.

Jon Cruz stepped up to say Hello Scribus! on behalf of the Scribus team who couldn't join us. Time zones and internet connections were against us getting the finished slides on the day, but they are now up on the website. Jon talked to the outline notes, and Andy Fitzsimon demo'd some of the shiniest new features. I can't wait to try and create my next slide deck using Scribus, and give the transition feature a whirl.

After lunch Andy Fitzsimon got things rolling again with a madcap race through Die Flash Die, SVG has arrived. He showed us how live SVG on the web can be used with javascript to create some pretty impressive effects. I'm looking forward to really digging into this further.

Next up was Elizabeth Garbee who talked about how using FOSS graphics tools to pay for college, and more importantly, participating in the community that creates such tools, has prepared her for the serious task of getting into college, and applying for scholarships to help her survive once she's there. My take away from her talk is that when you use FOSS tools you have an opportunity to broaden your experience beyond getting the task at hand done, you also have an opportunity to engage with others, expand your horizons, and potentially contribute to the ongoing improvement of the toolset. Be a maker, not a consumer.

Arriving just in time to give his talk on Cairo Graphics - Intro and Future Thoughts, Carl Worth took us behind the scenes for graphics and outlined where this cross platform 2D graphics library fits in the scheme of things.

Following afternoon tea Lance Flavell gave us a whirlwind introduction to Blender 3D Modeling and Animation and somewhat demystified its inscrutable interface by providing the crucial clue that modifier keys are the secret!

Jon Phillips delivered something of a farewell to graphics talk as his energies switch towards status.net with All the Libre Graphics tasks I said I would do are DONE! - a pretty impressive list of achievements.

The day finished off with lightning talks from Andy Fitzsimon, Peter Lieverdink and myself - and a round of applause for all our speakers and participants. Good work. Great fun.

If Libre Graphics Day left you hungry for more - then you should set your sights on LGM in Brussels 27-30 May

Trackback URL for this post:

http://kattekrab.net/trackback/181

February 01, 2010

21% of German computers use OpenOffice.org (or variant)

According to research by a German IT provider, almost a quarter of computers in Germany run the OpenOffice.org office suite.

That’s not bad! Given that 17% did not have an Office suite installed, that figure could go up dramatically if those users were made aware of the free product (assuming they don’t know already).

Cheaper SSDs on the way thanks to new 25nm process

Intel and Micron will ship 25nm flash memory in the second quarter of this year, which in turn should finally mean cheaper SSDs for everyone. Yay.

Intel’s existing multi cell X25-M and X18-M models are 32nm. This new shrink enables much greater capacity (8GB NAND measuring just 167 x 167mm) and devices will follow version 2.2 of the Open NAND Flash Interface (ONFI) specification.

With most of the original issues sorted out (or worked around) and the introduction of TRIM, it sounds like SSD might finally start becoming common place in desktops (but I think laptops will see it first).

sadlittlewebjournal 2.9.2 released

Since it was a public holiday today, I put the time to good use by (a) fixing our front door; and (b) releasing another point version of the software that runs this blog, sadlittlewebjournal. This version fixes a few annoyances - that the facility to post by email didn't work with complex MIME emails (for example, mine are digitally signed), that the RSS feed didn't preserve the line feeds in the original post, and that special characters such as € didn't come out correctly...

Blathering for Monday, 01 February 2010

09:40: Mikal shared: Kulula Air with New Funny Livery

    This plane is awesome. I feel a "business trip" to South Africa coming on.


09:43: Mikal shared: Were in trouble...

    Does the US federal government really employ over 10% of the population?






Tags for this post: blather(S) Comment RSS with no blather

WOMBATs in the health care system

A couple of weeks ago I had an appointment with a specialist (the details of which are otiose to this blog post). I turned up on time at the surgery, and the receptionist asked for my referral form. Stupidly, I had forgotten it. This turned out to completely prevent me from seeing the specialist at all, as the doctor's surgery didn't have the referral on file and thus couldn't fax it through, and I wouldn't be able to make the round trip back home to pick the form up before my booking time had expired. So I had to schedule this work for another day, which is tomorrow, and I'm already nervously thinking through the list of every concievable piece of paperwork and ephemera that they could want in order to make sure I have it with me tomorrow.

So let's think this through. What actual purpose does this form serve? It's not needed to book the appointment - they did that over the phone and didn't require any form of identification or authentication information then. It's not needed to validate me as the person who made the booking - I have plenty of other valid forms of identification on me. It's not needed to validate me as the person requiring the treatment - the doctor's surgery could easily do that, and in many ways that would be more secure than me doing it via the form. I can't use this form to access any other specialist for this particular problem because it specifically names the agency that's going to provide the service, so giving me the form doesn't serve as a general letter of introduction to any specialist I want. About the only reason to give me the form is so that I can read what's written on it, but that's hardly useful as its written in medical jargon that I can only decode by being already familiar with the problem.

So as far as I can see there is no actual purpose served by giving a patient their referral form and requiring it to be given to the surgery before treatment can proceed. When this doesn't happen, and I'll bet dollars to cents that it happens a lot, it's lost time for the patient, lost time for the surgery, and a lot of hassle all round. That hurts people and it hurts the economy. All because, as far as I can see, the doctor's surgery doesn't send the form directly to the specialist.

I'll ask the doctor and the specialist when I see them in time, but in the mean time I'd love to hear from anyone who can give me some good reasons why things are done this way.

The Netherlands

The last country we visited on our European holiday this year was the Netherlands. We stayed at the home of two expat friends from Australia, now living in Amsterdam but currently on holiday back home...

Denmark

Yesterday we ended our stay in Copenhagen, Denmark - our first time in Scandinavia. Perhaps not the best time of year to visit, with -5 temperatures in the day and many of the attractions closed or with shorter hours, but that just gave us the opportunity to spend more time indoors...

Germany

We saw in 2010 in the Bavarian capital of Munich. The old city is full of beautiful architecture, though much of is has been reconstructed after its destruction in the Second World War. We took a free walking tour on our first day in the city, which included stops at an enormous cathedral called the Frauenkirche, the elaborate gothic town hall, and the Hofbräuhaus, the most famous beer house in Munich...

Fail

My online photo album, at one time hosted directly on this blog, is currently hosted elsewhere at this domain using the excellent open source software, Gallery 2.0. Most of the photos are mundane travel snaps, but I do have a gallery of photos showing malfunctioning embedded and industrial computer systems in public places around the world...

MPEG LA confirms H.264 license needed for free software and end users

Currently, there is no default video format for use with the HTML5 video tag. The patent and royalty free Theora format was planned to be the default, but this was opposed by corporations like Apple and Nokia. The most popular video format at the moment is the heavily patent encumbered H.264, which is often encapsulated in Flash. As the move to HTML5 gathers steam, the battle for a video format rages on.

The issue of which format becomes prevalent is very important for the future of open web (and especially Linux). Youtube is one of the biggest providers of H.264 encoded media (currently encapsulated in Flash, but there is an HTML5 beta program) and Google will pay hefty royalties for the privilege.

The question of royalties over use of H.264 has become a popular talking point of late, because while Safari and Chrome support it, Chromium (the free software version of Chrome browser) Opera and Firefox don’t.

Now, a discussion on the Linux Weekly News site has answered the question as to whether the MPEG LA will require and enforce free software projects (and developers) to cough up for a license.

The question asked of MPEG LA via email exchange:

I read through the FAQ and can’t find out if Free and Open Source developers and products need to license the MPEG LA patents for MPEG-4 Visual. It was alleged in a comment that royalties are only necessary for products sold, not for free products. Is this correct? Could you please comment on the licensing options for Free (e.g. GPL) and open source implementations of MPEG-4 Visual, specifically h.264? What about downstream users/developers/distributors of Free and open source software?

The answer is a resounding “Yes” and even end users are liable:

In response to your specific question, under the Licenses royalties are paid on all MPEG-4 Visual/AVC products of like functionality, and the Licenses do not make any distinction for products offered for free (whether open source or otherwise)…

I would also like to mention that while our Licenses are not concluded by End Users, anyone in the product chain has liability if an end product is unlicensed. Therefore, a royalty paid for an end product by the end product supplier would render the product licensed in the hands of the End User, but where a royalty has not been paid, such a product remains unlicensed and any downstream users/distributors would have liability.

As an article over at OSNews states, we must ensure that H.264 does NOT become the de-facto standard for video on the web:

“In other words, h264 is simply not an option for Free and open source software. It is not compatible with “Free”, and the licensing costs are prohibitive for most Free and open source software projects. This means that if the web were to standardise on this encumbered codec, we’d be falling into the same trap as we did with Flash, GIF, and Internet Explorer 6.”

I guess it’s up to web developers and corporations to make the smart choice. If Google can purchase On2 Technologies, they might release later generation versions of VP (on which Theora is based) to surpass the quality of H.264.

Highlights of LCA2010 and DrupalSouth

I am still buzzing one week after my happiest linux.conf.au ever, which was followed by the immensely rewarding DrupalSouth; but I go back to work tomorrow, and while I’ll be putting the fruits of the previous weeks to good use, this may be my last chance in a while to reflect on the highlights of the conferences and what they indicate to me about the current state of the free software community.

And that is one of the key elements that I picked up this year… this is a tightly bound and intricately networked community. I guess I did recognise this at previous LCAs, but on those occasions I still felt very much outside the community. I did participate in free software gatherings and had friends and supporters, but there was a sense of disconnection between this community and my day-to-day work and study. The gap has narrowed drastically now – not just in reality, but in my perception of it – so now I can say that I really belong to this community (even if I do sit in a somewhat unusual or eccentric corner of it).

I’ve been telling my academic and church friends and acquaintances that I attended a conference, which might be misleading, because events like LCA are not exactly conferences as academics know them. They are run by volunteers, attended by people who contribute to free software as volunteers (even if some of them also get paid for this work), and the informal ‘hallway track’ and social events are at least as important as the formal programme. LCA reminds me that using and contributing to free software isn’t just a job or hobby, it’s not even ‘just’ a philosophy; for many people it is a way of life.

(Church geeks can probably understand this… it’s another area where both ‘professionals’ and ‘amateurs’ participate in intense, demanding, emotionally draining and rewarding activities that may not seem to bring any financial or material gain, and are difficult to explain or justify to people outside the community.)

For me, the running highlight of LCA2010 (including the Linuxchix miniconference) and DrupalSouth1 was meeting, hearing, socialising and hacking2 with some of the women who have been contributing to the development of Linux and free software over the last ten years, and raising a fuss about the place of women in this community. I first attended LCA in 2007, partly because, for the first time, a Linuxchix miniconference was part of the programme. That year, a psychological barrier was broken: 10% of attendees were women. That proportion has been steadily increasing, and an unofficial estimate for 2010 is 15% female attendance. (It was also a noticeably child- and family-friendly event.) This is still an unjustifiably male-dominated field, but to me it felt that we were no longer a painful minority. We still need to work for greater equality and inclusion, but we also have many successes to celebrate.

I was most inspired by meeting and hearing from: Liz Henry, who has been fighting this fight for years, and still maintains the rage while also radiating joy and compassion; and Angela Byron (webchick), whose enthusiasm for Drupal is infectious (which is just as well, as she is coordinating the upcoming Drupal 7 release). It was also great to meet (even if briefly) other women such as Emma Jane Hogbin and Selena Deckelmann, and to reconnect with other Australian Linuxchix.

Particular highlights of the programme were:3

  • Liz’s talks on Code of our own (i.e. why hacking is still a feminist issue) and on assistive technology (which brought home to me that hacking is ultimately not really about computers, it’s about finding resourceful solutions to problems of any kind).

  • Seeing Angela demonstrate Drupal 7 twice, once in an LCA tutorial and again at DrupalSouth.

  • Emma Jane Hogbin’s talk on version control, followed by Sara Falamaki’s on happy hackers, underscored how much of a difference one’s tools and working environment can make to one’s creativity and efficiency. For the seven-odd years before I moved to my current job, I was forced to develop database and statistical analysis systems with proprietary software mandated by my employers. It has made a huge difference to be able to research and use the best tools for my job. A happy hacker can choose her own tools.

Other good talks included Tim McNamara’s timely presentation on the Sahana disaster management system being used in Haiti, and Paul Fenwick’s geek standup comedy routine on the world’s worst inventions.

Ohter people’s highlights that I missed include:

  • Angela’s talk on getting your feet wet in contributing to free software, which would probably have been useful and timely for me, but as there were seven miniconfs running in parallel on both Monday and Tuesday, schedule clashes were inevitable – on Monday I mostly attended the Linuxchix miniconf, but sometimes ducked out to attend talks on business and graphics.

  • The hackfest following the Linuxchix miniconf, to work on the http://geekspeakr.com/ website. On Monday I was still hesitant about LCA burnout and was pacing myself, so I had a quiet dinner with a friend and an early night. I think I missed a great hackfest and might even have been able to contribute something, but five late nights in a row would have had other negative consequences.

  • I managed to miss two talks on documentation – by Lana Brindley and Emma Jane Hogbin – due to schedule clashes. The Friday after-lunch slot was particuarly galling as Emma Jane (documentation) was scheduled against Liz (assistive tech); I was not the only one who was annoyed about not being able to get to both. On the other hand, the fact that there were so many women giving such a diverse range of talks is something to celebrate.

Our story continues on the Geek Feminism wiki and blog.


  1. One followed immediately after the other, and quite a few of the speakers and attendees at DrupalSouth had been to LCA, so I’m mentally conflating the two.

  2. That is, ‘doing interesting and creative things with technology’, not ‘breaking into other people’s computers’.

  3. It’s late and I haven’t put up links to individual abstracts. You can find them on the programmes for the Linuxchix miniconf, LCA2010 main programme and DrupalSouth.

DrupalSouth 2010 debrief, phase one

autodidacts unite

lizhenry

I participated in the great geek love-fest that was DrupalSouth Wellington, and the online love-fest on identi.ca and twitter that accompanied it. I think the frenzy reached its greatest heights during Angela Byron’s demonstration of Drupal 7, the upcoming major upgrade with innumerable awesome features and improvements. Some of the geeks who did not attend DrupalSouth were less than enthusiastic about our enthusiasm, and my non-geek friends who were following along on Facebook were very confused. It is perhaps too much enthusiasm over a computer program, but DrupalSouth brought together about 100 people united over a single obsession, in a more concentrated form than linux.conf.au (LCA).

Drupal is a content management framework used to build websites ranging from small individual sites to some of the largest in the world. Like Linux and the kind of project that gets featured at LCA, Drupal is open source software and is motivated by the same principles of grassroots software development and community support. DrupalSouth piggybacked on LCA so that some of the international superstars of Drupal development could attend both events.

As at LCA, my DrupalSouth presentation was scheduled relatively early in the programme which meant that I was able to enjoy most of the event without speaker anxiety. While my LCA presentation was an introduction to humanities computing through the example of Founders and Survivors, the DrupalSouth one was a case study of how and why I used Drupal for F&S and some of the challenges that I had encountered. Even though I did less intentional preparation for this talk than for the LCA one, I felt more confident about it and got more directly useful feedback. I was speaking to a group of Drupal fanatics about how I used Drupal, so in the discussion/feedback we were able to get into the details of making good use of the system. I also received generally encouraging and enthusiastic feedback. I was surprised at how many people were genuinely interested in my talk and our project, but I shouldn’t be. The Drupal user base seems to be more diverse and multi-faceted than the traditional LCA population – DrupalSouth was not for people who were single-mindedly focused on low level programming and engineering.

On Saturday night some of us adjourned to the hotel for an impromptu hackfest where Angela and Emma Jane1 led us through various ways of contributing to Drupal development (coding, code reviews, themes, documentation…). After this I felt that with a bit of preparation (i.e. becoming more familiar with PHP) I could really contribute to the Drupal community… and I want to do this. I have been sitting on the sidelines of the free software movement for over ten years, and have contributed to it by trying to evangelise, but it has taken me this long to find a specific project that I think I understand well enough, and that is so important to me that I want to help out (and feel that I can).

At every previous LCA that I have attended, I have grumbled about how isolated I feel within the free software movement. Preparing my talk and going to DrupalSouth has given me an insight that is painfully, stupidly obvious. I feel isolated because I am isolated. For most of the year, I work, study and socialise with historians, public health scholars, theologians and church geeks (and assorted other groups, such as librarians). I attend my local Linux users’ group and lurk on LinuxChix and other online places where free software geeks meet, but I have tended to find these groups intimidating and I didn’t know whether I could belong in any meaningful way. At LCA this year I have finally reached a level of technical competence and familiarity within the Melbourne Linux community that I didn’t feel out of depth. At DrupalSouth, and with some of the Drupal people at LCA, I felt I was part of a community that bonded over curry/beer/gelato and late-night hackfests… because face-to-face contact still matters. I feel more positive about continuing these relationships online for the other 51 weeks of the year, alongside all the other communities and networks to which I belong.


  1. Knitting and square dancing? This is a community of many talents and interests!

Sharing the sharing (LCA2010)

freedom

br3nda

I have attended linux.conf.au every year since 2007 (though I only attended a miniconference in 2008) and every year have felt some level of disconnection with the intensely technical nature of the conference and of many of the delegates. For the first time, though, I no longer feel uncomfortable about being a misfit at LCA. The conference has changed, and I have changed. Women are still a minority here, but it doesn’t feel like a painfully small minority as it did three years ago. The conference is intentionally family-friendly and there have been a few children around, which for me makes the whole conference feel less intense and intimidating. I have also come to accept that it seems to be my fate not to fit in perfectly in any community or culture, or rather, to be able to move between cultures easily.

Today’s and Tuesday’s keynotes both came from the perspective of observing the culture of free software, as a journalist (Glyn Moody) or as an anthropologist (Gabriella Coleman), and locating the culture and values of free software in the context of society at large. I was particularly encouraged by Moody’s keynote as it converged with some of the concerns of my talk. He talked about one of the great gifts that hacker society can share with the world, the culture of sharing, and how this could make a huge difference to a world facing political, financial and environmental crises. (Halfway through writing this post I went to a presentation on the Sahana disaster management system.) The challenge that I took from this was how we can share the culture of sharing with non-hacker cultures.

LCA is an anomolous experience for me. For one week, I enter an intense, almost obsessive environment devoted to free software and playing with technology. For the other 51 weeks of the year I am largely surrounded by historians and theologians, as someone whose personal priority is history and theology but who also does a lot of work with free software. I cannot seem to avoid living in two worlds at the same time. I don’t have to make the worlds meet, but they could know more about each other. Applying free software to research in the humanities – and talking about why I do this – is one example. Another place where these worlds can meet is in education. My fellow students and teachers are exposed to free software web applications on a daily or weekly basis: Drupal at the United Faculty of Theology and Moodle at Trinity College. There are enough staff at these institutions who have an IT background or are able to learn to use these systems, but more could be done to raise awareness about free software in these environments.

LCA2010 presentation on humanities computing and FOSS

I just delivered my linux.conf.au presentation on using free and open source software in collaborative humanities research. I have presented on this topic at smaller events, including LCA miniconferences last year, but this was my first presentation in LCA’s main programme. I was more nervous than usual as this is such a prominent conference, and I made some of the speaking mistakes (speaking too quickly, going in circles) that I find embarrassing, but I think I did well enough for a first-time LCA speaker.

One of the more entertaining and well-known speakers in the FOSS community was speaking at the same time, so it is not surprising that I did not have a huge audience, and I would have found a larger one more intimidating anyway. The audience was responsive and good questions were asked, so I think the presentation did its job.

My biggest challenge in this talk was distilling into 35-40 minutes the work that I have been doing for the last two years, and the background principles and my own ruminations on the topic. I am scheduled to give a version of this talk to Linux Users of Victoria in later this year, and may also give a necessarily different version to a group of postgraduate history students. There is still a lot of work I want to do on becoming better acquainted with similar projects elsewhere, and reflecting on the principles of humanities computing. If I can maintain the energy, this would be a good opportunity to work on a series of articles, blog posts or presentations.

proof that Wellington gets some fine, sunny days

From Wellington 2010

This was the afternoon of my arrival. Within a few hours, the temperature dropped a few degrees, and the rain and wind arrived that evening.

Wellington, New Zealand -- first impressions

It’s wet and windy here. Wellington in January is like Melbourne in August. Even locals are complaining now. Still, I would take a wet, windy summer over 40° heat, any day. Wellington is compact and the population is small, but it still feels like a vibrant, active city. A vibrant, active city that I can mostly cover on foot. I think I could get used to this.

This is my first visit to New Zealand, after 26 years living in the big country next door. I never got round to crossing the Tasman because ‘New Zealand is just there and it’s not about to go away’ (just like Uluru and other Australian landmarks that I haven’t seen). It’s about time I made the effort.

I visited the Museum of New Zealand, Te Papa Tongarewa today, and choked up a bit at the exhibit on the Treaty of Waitangi. The context and the history are different, but I feel angry and ashamed that a treaty like this is still impossible in Australia.

My LCA2010 presentation is nearly ready – I just need another dry run or two. I have even started building a schedule of other presentations to catch, which will probably be revised frequently over the course of the week. My DrupalSouth presentation is at a more embryonic stage.

I have a photo album on Picasa – I’m using Picasa largely to manage photos on this laptop, as I can’t update iPhoto on this machine. (I know, I should be using Linux, but I’m not.) Conference photos might reappear later on Flickr or elsewhere.

DrupalSouth schedule published

The schedule for DrupalSouth 2010 in Wellington has been published. I’m speaking relatively early, so I’ll be able to enjoy most of the weekend without anxiety.

Im going to DrupalSouth 2010.

my software toolkit

I have put up a page on the Mac software I use. Linux details might come later.

DrupalSouth, Wellington, 23-24 January 2010

Following LCA2010, I’m staying in Wellington for a couple of days for DrupalSouth. I’m planning to speak on the use of Drupal in the Founders and Survivors project, as a kind of appendix to my LCA presentation.

The press release follows. NZ$67.50 is bananas for Australians!


DrupalSouth Wellington 2010 is the New Zealand Drupal event. It will be NZ’s largest ever gathering of Drupal developers, designers, contributers and business folk. DrupalSouth Wellington will be on Saturday and Sunday 23-24 January – just after Linux.conf.au Wellington.

DrupalSouth features some great speakers and attendees from NZ and abroad, including

* Angela Byron (webchick); Drupal 7 core committer, Drupal community nurturer, and co-author of Using Drupal
* Emma Jane Hogbin (emmajane); co-author of Front End Drupal, uber-documenter, Drupal evangelist/speaker and community all-rounder
* Liz Henry (lizhenry), BlogHer.com developer -- the largest community for women bloggers, built on Drupal since 2006

Registration costs just $67.50 NZD including GST ($60 for non-NZ businesses) and includes lunch, coffee and tea on both days – not to mention access to a great line up of speakers and sessions on awesome topics. The full schedule is coming soon! Register here.

Such a low price for such a high-quality event has only been made possible thanks to our generous sponsors, including;

* Xplain Technology Hosting; Web hosting optimized for Drupal
* Sparks Interactive; Straight talking, successful work, simple equation.
* .nz; .nz is our home
* Em Space; Em Space is a web agency in Melbourne, Australia. We build Drupal websites for enterprise, government and not-for-profit
* Catalyst IT; Specialists in Open Source Technologies
* Egressive; Building superior computing solutions powered by Linux and Drupal
* Open Query; Exceptional Services for MySQL and MariaDB at a Fixed Budget
* Fuzion; Campaign, Connect, Communicate.

DrupalSouth Wellington will be at the upstairs function room at Mac’s Brewery Bar & Restaurant, on Wellington City’s waterfront, and just a few hundred metres from Linux.conf.au at the Wellington Convention Centre.

DrupalSouth Wellington will be the second event of its kind. The first was DrupalSouth Christchurch November 2008.

New Zealand

After that long-ish post, here’s a short one (more than 140 characters, though).

I’m going to linux.conf.au in Wellington in January, and speaking about the Founders and Survivors project and humanities computing. I presented a few talks on this topic at mini-conferences at LCA 2009, and was invited to consider submitting to the main conference in 2010.

I have a summary of LCA2010 plans and also some very tentative travel plans. This will be my first time in New Zealand. I had ambitions for a Grand Tour of New Zealand but time and resources are limited, so I will probably stay in Wellington until the end of the conference, then spend a couple of days in Christchurch. Comments and suggestions are welcome.

update and review of online presence

I haven’t been blogging as much as I used to. I have been posting frequently on identi.ca and Twitter (a public arena) and on Facebook (semi-public) but haven’t been writing longer, detailed posts. I still write a lot, privately and for assessment, but I think the depth and quality of my public online presence has declined. It’s not for want of ideas or interesting life changes, but micro-blogging and social networking seem to have swallowed up the time that I used to put into blogging. I don’t think this is good, especially as I am now trying to develop a more visible professional identity online.

This latest attempt at an online ‘home’ uses GitHub Pages. I use GitHub to host some of my code (both public and private) and watch other developers’ projects – it’s ‘a social network for geeks’. Their Pages system, using the Jekyll site generator, requires some technical proficiency and means that I keep a copy of all my content, but it takes care of some of the routine details of generating a blog. GitHub and identi.ca are two of the fast-moving online communities of geeks now – I asked for help with adding an Atom feed to this site and got a useful answer within minutes.

Herewith a brief update, for the benefit of the disparate groups of people who follow me online, and perhaps for my own memory. (And my next (non-significant) birthday is approaching scarily fast, so it seems a good time for taking stock.)

I’m still working at the Centre for Health and Society at the University of Melbourne, and these days spend most of my time on the Founders and Survivors project. This is a huge, ambitious project to transcribe and digitise archival data on every convict who was transported to Van Diemen’s Land, and link this with information on their descendants – particularly those who served in the First World War – to identify connections across generations in health, wellbeing and resilience. It involves collaborations between academics across a range of disciplines and genealogists and amateur historians. My role has largely been developing the public website in Drupal and finding ways to connect the data that volunteers submit on their convict ancestors with our archival data.

I am thinking more these days about the field of ‘digital humanities’ or ‘humanities computing’ (even the name of the field is still in flux). This is an active field in the USA, UK, and Europe, but in Australia there doesn’t seem to be same level of awareness or activity. There are various projects based in Australia that apply emerging computer technology to problems in the humanities, but the professional networking and scholarly identity hasn’t taken off yet. I sometimes have the feeling of being on a kind of frontier; it’s exciting, and at the same time there is some anxiety about not knowing where this will lead me.

At the same time, I am continuing my studies in theology, and hope to complete an honours programme in systematic theology and church history over the next two years. (Yes, it’s a master’s degree with honours, yes, that is odd.) It’s not enough to ride the digital humanities train – having a contribution to make in terms of historical methodology; if I am to continue in academia, I need a field (time and place) to focus on, at least at this junior stage. I have some ideas in gestation in the area of 19th and 20th century Australian history and hope to identify a viable question for a minor thesis.

Test post

This is a test! Hello, World!

How boring can I be?

Another Internet Explorer vulnerability grants full access to hard drive

The Register has an article on another vulnerability in Internet Explorer and Windows which allows the attacker complete access to the hard drive.

If you use any version of Internet Explorer to surf Twitter or other Web 2.0 sites, Jorge Luis Alvarez Medina can probably read the entire contents of your primary hard drive.

The security consultant at Core Security said his attack works by clicking on a single link that exploits a chain of weaknesses in IE and Windows. Once an IE user visits the booby-trapped site, the webmaster has complete access to the machine’s C drive, including files, authentication cookies – even empty hashes of passwords.

This is not the first time these vulnerabilities have surfaced (and it won’t be the last), but Microsoft cannot completely fix the issues because they use core functions of Windows.

The hole is difficult to close because the attack exploits an array of features IE users have come to rely on to make web application work seamlessly. Simply removing the features could neuter functions such as online file sharing and active scripting, underscoring the age-old tradeoff between a system’s functionality and its security.

January 31, 2010

Norway 2010: Government websites must use open formats

An interesting story of Norway enforcing public sector websites to use open formats, such as PDF and ODF for documents, in order to lower the bar for accessibility.

Taking effect from 1 January 2010 the content of public sector’s websites will be available in open formats. This new regulation will contribute to enhancing equal accessibility of users and suppliers to the information available on the websites of both central and local government.

This is something that Australia should also be doing.

Zypper “download only” option

Sometimes on an openSUSE box I want to be able to pre-download the packages and install at a later date. By default, it downloads each package and installs it before the moving onto the next one. If the update is interrupted, then you can end up with a broken system (it’s happened a few times).

Now I’ve found out how to enable cache and download only with zypper

Zypper can enable cache on a per-repository basis (pretty neat), or you can set them all up like so:

zypper mr -k -all

Now that you have cache enabled, just do a dry-run which will download everything, but not install them:

zypper -l -y update --dry-run

And there you are..

Choosing an Australian Mobile Telco for use with Android

Since playing with the IBM Seer augmented reality software [1] I’ve been lusting after a new mobile phone which can do such things. While the implementation of Seer that I tried was not of great practical use to me (not being a tennis fan I was only there to learn about computers) it was a demonstration of an exciting concept. It will surely be implemented by IBM in other venues that are of more immediate interest, and we can probably expect other vendors to write similar systems to compete with IBM.

So the question is how to get a phone that will run such things well. The answer is probably not to rely on a contract plan for this, currently Vodaphone [2] is currently the only Australian telco that sells a phone that can run Seer, it is offering a HTC Magic (which was released in April 2009) on a $29 per month plan. A phone that is 9 months old isn’t necessarily a bad thing, but the has been out for more than 6 months and has some significant benefits (such as a 5MP camera).

  • My current provider is Three [3] and their cheapest plan is $29 per month (with or without a phone) which allows 200 minutes ($160) of free calls to other Three phones every month as well as up to $150 of other calls per month and 1GB of data. Calls cost 40c per 30 seconds plus 35c connection fee. Currently I’m on a plan that gives me the same thing for the same price without data transfer but which includes a “free” phone. So it seems that the 1GB of data per month has an equal cost to a mobile handset (such as an LG Viewty).
  • Virgin [6] has a $25 per month plan that gives $60 worth of calls and 300MB of Internet data with unlimited talk and text between members with the added bonus of unused talk and text credit being rolled over to the next month. The cost for calls is 90c per minute plus 40c connection fee, video calls are the same cost as voice calls!
  • Vodaphone [2] has a $20 per month phone plan that allows up to $150 of calls per month with the option of either free calls to a single specified Vodaphone number or free calls in the evenings and weekends. They have a $4.95 special offer for 200MB of Internet data per month. Calls cost 44c per 30 seconds plus 35c connection fee.
  • Telstra [4] has a $20 per month plan that only includes $20 worth of calls and which has call fees of 47c per 30 seconds plus 27c connection fee. They clearly don’t compete on price, I think that there is no reason for using Telstra unless you live in some of the rural regions where they are the only provider to offer good service.
  • Savvytel [7] charges $3.07 for GPRS Internet data so they can’t be considered for an Internet enabled phone. But they do seem very economical for basic phone service.
  • Optus [5] has a hopelessly broken web site that wouldn’t give me any information on mobile phone pricing. My previous experience with Optus Internet makes me unlikely to do business with them again anyway.

So it seems that Three (my current provider) is probably the best option at this time. Virgin would save my $4 per month, but would only give me 300M of Internet data per month, and the Virgin limit of $60 per month of calls might not be enough for me. Vodaphone offers a deal for $25 that only includes 200MB of data, that might be enough for just phone use, but wouldn’t be enough for tethering for laptop net access.

I wonder how well tethering works on an Android phone, can you make a phone call while transmitting data from a tethered laptop? I find that with my Viewty when I receive an SMS or phone call it stops the net access. That makes a tethered Viewty impractical for some support tasks as it’s fairly common that I need to talk to someone while logging in to their server – I’m sure that most people who use mobile Internet services regularly need to phone someone while using them.

My current Three bill is $29 per month for the phone plan and $15 per month for Internet access. If I’m going to buy phones outright instead of getting them with the plan then I want to reduce the overall amount of money I spend on phone plans and using tethering instead of a 3G USB dongle would allow this. I think that I can get something that comes close to my ideal mobile phone [8] (apart from being able to connect a keyboard, mouse, and monitor) if I import it from overseas.

We really need more competition in the Australian mobile phone market. We have only two phone companies offering Android phones, Three is sold out of the obsolete model that they offer while Vodaphone has stock of an obsolete model.

Be Thou My Vision - On Flute

Here's another song for you to download or listen to online. I have many favourite songs and hymns and this is one of them. Hope you like it!



Be Thou My Vision

brendanscott



How Copyright Ideology Costs the Country

Booktopia price for Beginning Game Development with Python and Pygame: From Novice to Professional (Paperback):  $67.50 + $6.50 shipping = AU$74 delivered

Amazon price US$21.12+US$9.98 = US$31.10 ~ AU$35.34 delivered (@AU$1=US$0.88)

US list price: US$39.99 (ie ~AU$45.44)

Heavens!

MPEG-2 rendering artifacts in Bunnings Warehouse ads

The past week I’ve been watching the Australian Open. It’s been really awesome to watch, and that’s coming from someone who is normally bored stiff of just about any form of sport.

But one thing struck me over and over again: the Bunnings ads had horrible MPEG rendering artifacts at the end of each one. At first I thought it was due to poor reception, but this weekend we completely re-wired our house’s coax connections with quad-shielded cabling to our TV antenna and bought a new masthead amplifier, which greatly increased our signal quality.

(And no, we didn’t replace it just to watch the Bunnings ads.)

But this remained:

Bunnings ad with rendering artifacts

Yuck. That is definitely not signal loss — that’s crappy encoding. I can give people a (non-reencoded) AVI file of the original if they want proof.

I think it’s mainly a result of the fact that the ad is being rendered at 1080i with the outdated MPEG-2 codec. We desperately need an upgrade to H.264, or even better, Dirac.

My Ideal Mobile Phone

Based on my experience testing the IBM Seer software on an Android phone [1] I have been considering what type of mobile phone to get when my current contract expires. Here are the features above what is common in current smart phones that I think most people will sorely miss if they don’t have them for the 2011-2012 period:

  1. Camera that takes reasonable quality pictures at a 5MP resolution.
  2. High resolution screen (VGA or better).
  3. GPS (for navigation and augmented reality.
  4. Digital compass for augmented reality.
  5. An open market for applications which allows free software to be installed – such as OpenSSH.

The first two items shouldn’t be a problem, there has been a constant trend towards better cameras and higher resolution screens in phones. The difficult ones are GPS and a Digital compass which require phone software to use them. I get the impression that Android and iPhone are going to share the market for fully functional smart phones (because they have the market of applications). So I predict that by 2012 the phone market will have iPhone and Android fully functional smart phones as well as budget phones that don’t support running applications (and will probably lack a compass and GPS).

Here are the features that while not essential, will greatly increase the experience of using a phone for serious users:

  1. At least 2G of storage built in – installing a 2G micro-SD card is not adequate.
  2. A screen that can be easily read during the day – maybe Pixel Qi.
  3. The ability to give a good quality of sound for playing video and audio recordings with a regular headphone jack (so I can use my Bose headset).

For my use a hardware keyboard (such as is used in the Motorolla A855 “Droid”) is essential. I want to have a pocket sized ssh client for emergencies, and I want to be able to type notes reasonably quickly.

I wonder what portion of the smart-phone user base actually needs a keyboard. I’ve seen many people who use a smart-phone as just a regular phone that can exchange photos. Even among people who are moderately serious about smart-phone use there are probably many who only want to take high resolution photos and tag them with GPS data. Currently there are no Android phones on sale in Australia that have a hardware keyboard, I’m worried that this may be an ongoing trend which will result in people with my requirements being forced to either pay significantly more or compromise on features due to the market meeting the needs of average people.

Finally I would like to have a smart-phone that has a regular USB port for plugging in devices (which would of course require an adapter as the size of a phone doesn’t permit a regular USB port). That would permit copying files from USB flash devices, driving a digital SLR camera, and printing photos directly to a USB printer. It would also allow connecting a USB video device, keyboard, and mouse to make a mobile phone work as a desktop workstation. Current smart phones have a lot more compute power than the desktop machines I was using in 1998, so there’s no reason that one couldn’t be used as a workstation with the appropriate peripherals.

Bugtracking software gripes

Message on signing up a new account in Bugzilla 3.4.4:

PRIVACY NOTICE: Bugzilla is an open bug tracking system. Activity on most bugs, including email addresses, will be visible to the public. We recommend using a secondary account or free web email service (such as Gmail, Yahoo, Hotmail, or similar) to avoid receiving spam at your primary email address.

OR, why not change Bugzilla accounts to have usernames, so users’ email addresses don’t need to be exposed to the world, like every other web-based software in the world??

RT doesn’t let you create accounts via the web interface by default.

Mantis doesn’t have any kind of report/summary in the core product at all.

If you aren’t logged in, Trac gives no indication of how to add a new bug, and it attracts a bucketload of spam.

I would have thought these things would have been figured out by now?!

Twitter Weekly Updates for 2010-01-31

  • My registered #myki doesn't show up on my account but if I try and register the card it says it's already registered! :-( #
  • 'The filter shouldn’t be a thing, it should be a person. They’re called “responsible”. They’re called parents.' http://bit.ly/7oLDUx #
  • Aha, solved my own issue, it appears the #Myki site doesn't work with Konqueror, just #Firefox – another website #fail #
  • Dear #lazyweb, what's best way to upload pics to #Twitpic from #N900? Web site works but that uploads full size image. #
  • Oh great, now spammers have started putting their rubbish into the display-name of the From: line of emails :-( #
  • "SecurityFocus reports that #IE6 has 396 known unpatched vulnerabilities, #IE7 has 15, and #IE8 has 32" http://bit.ly/87tGBI #
  • #Google #wardriving whilst streetviewing, plus #wifi mac address to location API + Python code – http://bit.ly/5LumgQ #
  • #davmail 3.6.3 out with GUI setting to force ActiveSync updates so now thunderbird->exchange->#N900 works! davmail.sf.net #
  • Got call back from #Myki about problem with website but wanted my home address or Myki pin to verify ID – closed case with neither :-) #
  • "Scientists 'losing climate fight'" – good points about why skeptics have won despite the facts – http://bit.ly/86E9U3 #
  • Amazing photo of fine structure in solar corona during eclipse – http://bit.ly/4nmsIw – via @astronomyblog @finestructure #
  • According to their blog the backdoor in e107 CMS systems affects all version 0.7 releases – http://bit.ly/4nS9on #security #
  • WhisperingWulf: Design and build of a silent personal cluster – Jon Tegner on ClusterMonkey – http://bit.ly/8aJ396 #hpc #
  • #SpamAssassin 3.3.0 released – almost 18 months since 3.2.5 came out! :-) http://bit.ly/9TqBpX #spam #perl #
  • oops – "I thought 'that's an f'ing shark!' I kicked at it and in the process I fell off the board." http://bit.ly/9Nbo7b #
  • If #KVM says virtualisation disabled in BIOS of your #Dell #Latitude, and it is enabled, then check this http://bit.ly/9LdCmb #
  • Looks like #myki interferes with Melbourne Uni staff cards, have to remove it from my wallet to get into the building now! #
  • Lovely cartoon on Conroy's Great Firewall of #Australia http://bit.ly/agVHal #censorship #nocleanfeed #
  • #Australia breaking more high temp records than low temp for last 50 years, and difference is increasing http://bit.ly/adjznc #
  • #Oracle Exadata2 DB server based on #Sun hardware runs #Linux not #Solaris, according to spec sheet http://bit.ly/cjh25T #
  • Grin – @ear1grey's 2005 April Fool on the #Apple #iPad is now on front page of Google image search http://toast.tw/100jar ;-) #
  • This is the 2005 April Fool #Apple #iPad blog by @ear1grey http://bit.ly/9fPlFp #
  • RT @BreakingNews Study linking vaccines to #autism 'dishonest,' 'irresponsible,' British Medical Council rules http://bit.ly/94a32V #
  • Can't find any mention of #HPC or #Lustre on any of the Oracle presentations about takeover of Sun http://bit.ly/c1oACI #
  • Sigh – the old #Sun webpage just goes straight to the #Oracle website now.. :-( #
  • Februrary 24th – Vindaloo Against Violence – http://bit.ly/cyBhs0 – via @abcnews #melbourne #anti-racism #food #
  • Very good spoof of a generic TV news item by Charlie Brooker http://bit.ly/cnZkQK (via @makenosound @sabman) #humour #
  • bah! "This video contains content from #bbc, who has decided to block it in your country." http://bit.ly/ctdrEl #fail #
  • Next @linuxusersvic meet – "Using django to make web apps" + "Simulating the formation of stars" http://bit.ly/bnitI4 #linux #
  • Know a good place in #Melbourne to get USB -> microUSB cable without paying the extortionate rate of mobile phone shops? #
  • ShopBot looks like it has best info on micro USB cables – http://bit.ly/csDziJ – cheapest is $15, much better than $50! #
  • Just learned that Bill McLaren, the voice of #rugby, died on 19th January :-( http://bit.ly/clDHCu http://bit.ly/9wPtM9 #
  • Today's random fact, both Gone With The Wind and Star Wars sold twice as many tickets as #Avatarhttp://bit.ly/9gsQJ6 #
  • Excellent riposte to the #XKCD #Mars Rover strip – http://is.gd/7n9SG – via @marsroverdriver + @barbylon #
  • On thinking (and reading) further on Amazon vs McMillan – have no desire to buy something I cannot own, so no ebooks for me #
  • Another nail in the coffin of #HPC at #Sun/#Oracle ? Rich Brueckner is looking for work http://bit.ly/c5nTc3 #
  • H.264 covered by more than 1,000 #patents held by 25 patent owners – plus any undeclared – http://bit.ly/91hzKR #
  • #CFA emergency #bushfire warning for Paton Road, Emerald "expected to impact between the hours of 05:00 PM – 07:00 PM" #
  • #CFA emergency #bushfire warning for Stewart Road, Emerald "expected to impact anytime within the next two hours" south #
  • Fingers crossed for @markbate who's had to evacuate in Emerald #
  • Yay, @markbate got out OK to a friends place. #
  • CFA has downgraded Emerald #bushfire down from "emergency" to "watch and act" #
  • Yay! Rain at last! Hopefully this will get to the fire at Emerald too. #
  • Amazing orange sky out there… #

Powered by Twitter Tools

This item originally posted here:



Twitter Weekly Updates for 2010-01-31

openSUSE 11.2 web links don’t work in Thunderbird under KDE fix

My mum’s machine runs openSUSE 11.2, with KDE 4. She continues to use Thunderbird as her mail client as it is familiar. Naturally she also uses Firefox for web browsing.

Unfortunately, web links don’t seem to work which is rather annoying. Firefox is set as the default web client, as is thunderbird for email. My guess is that Thunderbird is looking for some GNOME configuration on what to do. I tried adding some custom handler arguements in Thunderbird’s config (like about:config in Firefox), but that didn’t work.

In the end, the simple fix was to use gconftool to set the appropriate parameters:

gconftool-2 -s /desktop/gnome/url-handlers/http/command

'/usr/bin/firefox %s' --type String

gconftool-2 -s /desktop/gnome/url-handlers/https/command

'/usr/bin/firefox %s' --type String

Restart Thunderbird and all is good!