sjh - mountain biking linux geek spice - mtb / linux / canberra / cycling / etc

Steven Hanley hackergotchi picture Steven
Hanley

About

email: sjh@svana.org

web: http://svana.org/sjh

Other online diaries:

Aaron Broughton,
Alison Russell,
Allan Bontjer,
Andrew Pollock,
Anthony Towns,
Chris Yeoh,
Jeremy Kerr,
Martijn van Oosterhout,
Michael Carden,
Michael Davies,
Michael Still,
Rusty Russell,
Tim Potter,
Tony Breeds,

Links:

Linux Weekly News,
XKCD,
Userfriendly,
Questionable Content,
Planet Linux Australia,
Bilbys,
CORC,

Canberra Weather: forecast, radar.

Subscribe: rss, rss2.0, atom

planet sjh
(online feed aggrgator for all the diaries I read regularly)

May
Mon Tue Wed Thu Fri Sat Sun
     
18
19 20 21 22 23 24 25
26 27 28 29 30 31  

2008
Months
MayJun
Jul Aug Sep
Oct Nov Dec

Categories:

Archive by month:

Fri, 16 May 2008

An xkcd update - 15:37
Since the last time I put a list of some funny xkcd comics up there have been more. And what do you know, for a geek this is still consistently the funniest web comic available (well I think so).

So I thought I should throw a few of the links to some that have appeared in intervening time, if for no other reason than so I have more easily available ammunition in my on going argument with Jane about what is actually the funniest web comic. My deluded sister seems to think it is Cyanide and Happiness (well hey they have met in real life (Randall and the C&H people (see the side bar comment from Jeph)) when obviously it is xkcd. Anyway some of the newer really funny strips follow. Of course, when reading xkcd remember the alt text is often as funny as the comic.

Give me a pointer can you, Nacho cycles, Messing with pronunciation, sudo Sandwich, more raptor humour, a combined megatokyo and xkcd piss take, Ask Knuth, misusing slang, Pokemon dismissal, a new ip datagram transmission format (like the tanks or orbital vehicles, or avian carriers), dont go into linux internals on a date (the alt comment goes along with the JWZ quote about software design for college guys), I know regular expressions, Kayak future not so much funny but it suits me, more hammer time, Tree houses and raptors on the brain, The problem with wikipedia (oh so true), Random Number, Lisp or perl, RMS Ninjas, Cat Proximity, The difference between scientists and others, Keeping yourself entertained with numbers, LOLcats in real life, Online package tracking Danielle said I was a geek the other day, all geeks understand though, Another zepplin joke, Raptor attacks goto programmer, programmers slacking off, Head out for an interesting life shows one of the lovely things seen in xkcd sometimes, Don't take two nerds shopping, A real big budget action movie for firefly fans, Strange night thoughts (this sets of my amusement at the quirky and strange), Bobby Tables sql injection in a name, plus the alt text is wonderfully amusing, Python, import antigavity, Nerd sniping, Fighting back against annoying music, sane build environment?, real programmers, Someone is wrong on the internet, Summer Glau blog venting, Overzealous wireless autoconfig, Spork genetics and a raptor joke, Making hash browns (sporks again too, read the alt text).

[/amusing] link

Wed, 14 May 2008

Neat saddle bag feature - 11:00
Another thing that broke in my big road crash was my saddle bag, it broke in the same place as the last time however as this was in a crash I did not think they would repair it again. So I ordered myself a new one from T7. Road bikes are often about clean lines and minimalism, thus having a hulking great big bag filled with tools, tubes, clothing, white goods, etc is not the norm (unlike on the mountain bike, or worse the contents of mountain biker's camel backs after a few years (I knew I would find that air compressor if I looked everywhere...)).

Thus this is a small saddle bag, as was the one that broke on my road bike. There is a problem with such a small saddle bag, I carry two spare tubes and a multi tool on the road bike for flats and repairs. This should be enough, and it was always one heck of a squeeze to fit it all inside. However there have been occasions when I have had more than 2 flats while out riding by myself. Last time it happened was a work day, well before any bike shops opened and I was out past Tuggeranong, I got my mother to come over from Gunghalin and pick me up that day. After that experience I taped or somehow attached a small patch kit to the bottom of the saddle bag so I could fix more than two flats. This did not stay attached easily and was in harms way a lot.

So after this long winded story I can get to the really neat feature of the new bag, it has a small zip up compartment underneath, in which there is a water proof cover, however as I see no need to carry a water proof saddle bag cover it is the perfect location to stash a small patch kit with glue, patches, sand paper and wet wipes. What a fantastic addition, it does not increase the size of the bag too much so you can still look like a roadie, yet it gets me out of the more than two flats problem in a neat manner. Good design T7.

[/mtb/gear] link

Mon, 12 May 2008

Cheap babies - 15:09
Maybe I need to stop my sense of humour grabbing me by the scruff and ensuring I find things like this amusing, however I could not help myself this time. When I see the Baby on Board signs on the back of many cars the thought always crosses my mind, it would be more fun if you could get "Baby in Boot" signs, sort of like those fake hands poking out of a boot, but far more horrifying for most people to consider. Thus when I saw an ad on Woolworths website saying something about Down go the prices on baby care with a cute little baby in the picture. I could not help but think it would be more amusing if it said something else. (the drop shaddow on my text is a bit dark and slightly off colour, but on the whole the change worked)

Down go the prices on babies

[/various/ilmiwac] link

Replacement Helmet - 13:39

Pink Giro Animas
Pink Giro Animas (Full Size)

For years now I have worn a Giro E2 as my primary bike helmet. When I first started wearing it Bell helmets were rare in Australia (previously I found Bell helmets fit well), after trying out a number of helmets (including cheaper Giro models) the E2 was the only one I found that fit well at the time. Since using it I have also come to love the adjustable height visor and generally found it a really good helmet to wear.

When I broke my helmet last month I sent it off to the Australian Giro importer as they have a crash replacement policy, they will sell you a replacement at 40% of RRP. Once you include postage this would have put my new E2 at around AUD $170 to 180. I had already made use of this policy last year so all seemed fine. However the Giro importers rang back to say they would have no E2 helmets in stock until June sometime. So I started to look around online, a number of friends have bought their helmets that way and it was likely to be cheaper. I could have bought a new E2 for around AUD $160 including postage, however I happened to notice the Giro Animas mountain bike helmet model came in a really good pink flames colour. How could I resist getting more pink race gear, even though it will forever clash with anything red. So I ordered this (a model not available in Australia) and it arrived today.

I and I suspect many other customers love the ability to track packages being shipped, Danielle suggested I had too much time on my hands and am obviously a geek when I mentioned I knew my helmet had arrived in Sydney on Friday morning. However I could not help but look once a day or so and see the progress of the shipment until it arrived here. Anyway though I like my lilac spare helmet, this new helmet is far more comfortable, has an adjustable visor and comes with the added bonus that the flamingos I hide amongst do not even have to be painted lilac.

Date  	Time  	Location  	Event Details
May 12, 2008  	06:58:00 AM  	CANBERRA AUSTRALIA  	Out for delivery
May 12, 2008 	05:56:00 AM 	CANBERRA AUSTRALIA 	Arrival Scan
May 12, 2008 	04:11:00 AM 	SYDNEY AUSTRALIA 	Departure Scan
May 9, 2008 	08:55:00 AM 	SYDNEY AUSTRALIA 	Completed customs clearance process
May 9, 2008 	08:39:00 AM 	SYDNEY AUSTRALIA 	Arrival Scan
May 7, 2008 	11:10:00 AM 	JAMAICA NY UNITED STATES 	Departure Scan
May 7, 2008 	06:11:00 AM 	JAMAICA NY UNITED STATES 	Arrival Scan
May 7, 2008 	01:04:00 AM 	WILMINGTON OH UNITED STATES 	In transit
May 7, 2008 	12:56:00 AM 	WILMINGTON OH UNITED STATES 	Arrival Scan
May 7, 2008 	12:01:00 AM 	WILMINGTON OH UNITED STATES 	Departure Scan
May 6, 2008 	10:52:00 PM 	LOUISVILLE KY UNITED STATES 	Departure Scan
May 6, 2008 	08:05:00 PM 	LOUISVILLE KY UNITED STATES 	Departure Scan
May 6, 2008 	03:45:00 PM 	--- 	Shipment picked up from seller's facility

[/mtb/gear] link

Sun, 11 May 2008

An unflappable trust of our intelligence - 22:13
The title to this post pretty much sums up the over riding experience I have of my relationship with my mother. To put it more obviously, Jane and I have always found mum to be almost unflappable, to the extent that for years Jane made all manner of statements and claims in an attempt to get a rise out of her. However along with this calm demeanour our mum has always trusted Jane and I to have intelligence and think things through ourselves. Even from a young age she would not often outright tell us not to do stupid things, instead she would suggest that in her opinion it was ill considered (or stupid), however she would let us make our own choices and decisions about our behaviour.

I like to think this trust she has put in our intelligence has gone a long way to making Jane and I the people we are. I like to think we are both well adjusted sensible individuals in this modern society, and so much of this is thanks to mum. I love you mum, and look forward to many more years of seeing if Jane or I will ever get a rise out of you :)

[/various] link

The Annual May Zombie post - 21:43
I missed out on this tradition last year, however after a year off from making a zombie related post in May (tough schedule that...) I was sitting reading the Sunday life (sun herald magazine) in the kitchen, listening to best of James, waiting for the cookies I am baking to come out of the oven and I stumble across Zombie News.

It appears Sega has released an English teaching game for some Nintendo platform, English of the Dead. You fight off waves of zombies by spelling out words, of course maybe the zombies are just trying to enlarge their next meals...

On the same page of Sunday life I was entertained to see something about Slacker Yoga, you practice this suspended on some form of webbing just above the ground. The guy who created the concept is described as a "ultra-endurance yogi athlete". As much as I enjoy stretching and yoga style activities I think I am happy to refer to myself as a professional geek, or I guess in sports terms as a mountain biker, cyclist, kayaker or adventure racer.

[/various] link

Another ad, still a shame about the product - 10:47
Last July I commented on the fantastic Carlton Beer ads (linking to those I liked (I do not like the Flash Dance ad)). A few days ago a friend mentioned she had seen a new Carlton ad with some sky diving in it.

Though in my opinion this is no where near as funny as the Canoe ad or the More horses/Metal ad, it has a scale and amusement value on par with the Big Ad, this definitely an ad you should watch. Strangely one of my housemates went skydiving yesterday, it must be a theme for the weekend.

[/amusing] link

Thu, 08 May 2008

Yet Another Cycling Jersey - feeding the addiction - 16:33
google cycling jersey
My very own google cycling jersey (Full Size)
Yes I have a Cycle Jersey Addiction (though the number decreased by one when my CORC jersey was cut off me at the hospital. (though I will probably replace it as I like my current CORC clothing, I still have two of the old style jerseys, fortunately the jersey that was damaged was not one of my irreplaceable jerseys (out of print or small print run))

Anyway as can be seen to the left I have acquired another cycle jersey, one that I suspect will be somewhat rare in Canberra, though to some extent this is obviously a corporate looking jersey, I think it is a rather good design and will be rare enough here I will enjoy wearing it. Thanks Mikal.

[/mtb/gear] link

Move a little thing to python - 13:44
At ANU there is an online (web page) searchable phone database for all ANU phone numbers. A few years ago (July 2002, according to the version control dates) I spent an hour or two writing a command line program in perl that queries this and prints the results. I find it much easier to use a command line application than open a tab in a web browser and find the appropriate page and enter a query when all I want is a simple bit of information back. I suspect most of the staff in this department are similar (Computer Science).

Sometime last year I realised that though the URL I was using on the ANU Internal Web still worked it seemed not to interface with the latest phone database for the uni so it sometimes did not match people I knew worked on campus, other times it contained out of date numbers for people. However there were other important uses for my time so I did not bother looking too closely into updating it when most of the time the old results were still good enough.

Finally this week Bob noticed there were no matches coming back, it seems the old interface no longer connected to the database correctly. Thus I opened the program and had a look at updating it. The old program used LWP to fetch the page with a GET request. The newer interface now on ANU Web works properly with a POST request. Also the result page is more complex to parse than the old one (more complex regular expressions, or maybe a small state machine needed). Still it did not look too hard to spend an hour or so fixing the old perl code up to get the new page and parse it properly for the desired results.

However I hit a snag when for some reason LWP did not fetch the entire result from the web server that was returning the data in chunks. A tcpdump session showed it simply closed the request rather then fetch all the data. At this point I could have debugged the perl code and fixed, after all there is no good reason LWP should not work. However I thought to myself, I have been keen to write python a bit for a while. Bob bought the Mark Lutz Programming Python book for my office and I read through about half of it. So why not rewrite the program in python. See how a perl hacker can transfer to using python at least for a small program.

I am happy to say that the page fetching in python even made perl look complex, the code that did the job (and worked, doing a post request fine) was

   name = ' '.join(sys.argv[1:])
   params = urllib.urlencode({'stype': 'Staff Directory', 'button': 'Search', 'querytext': name})
   f = urllib.urlopen(searchuri, params)
   r = f.read()

Cool I thought, this is hell easy, what a fantastic language, I will forever give up my perl ways if everything is this easy and obvious. Obviously this was not going to last, I guess partly because my brain meshes with perl well after so many years, and I am used to perl associative arrays, classes, modules, and regular expressions. Anyway I now had my result from the search and all I had to do was parse it and extract a form that can be printed on a terminal nicely.

First I tried using the python regular expression matching and needed to create some hideous regexp to match the data returned. I also discovered that when a search matches more than about 2 people the data is returned in a different format. Fortunately in this second case the format is really easy to match against with a regexp. Even though the regexp language is similar/identical to perl I was still getting my head around the documentation for all of what I was doing and could not at first construct a regexp that made sense to parse the first sort of data. So I decided to get a HTMLParser and extract the data I wanted without the crap in the tags.

My first attempt was to use the HTMLParser module, however I soon found that this threw an exception when ever I fed it the page from the uni with the matches in it. I tried except: pass in the hopes it would keep on going, however it stopped there and did not process the rest of the page. So I had to change to using the htmllib.HTMLParser which was almost identically easy to use and managed to process the entire page.

Next I wanted to store the data until all matches were found, in perl this would be trivial using a multiple level hash or an array of hashes. Of course the most obvious way to do this in python now I think about it is using a list of dicts. However I had my brain stuck on using a multi level hash. I found this was most difficult in python as you need to initialise dict entries and can not simply assign arbitrarily into them when you need. I needed to use the following construct.

if (D.has_key (key1) == 0):
   (D[key1]) = {}

if ((D[key1]).has_key (key2) == 0):
   D[key1][key2] = ''

s = D[key1][key2]
D[key1][key2] = s + data

Which is obviously a bit more verbose than the perl vernacular of $H{key1}{key2} = $s; I think that dicts do not yet work this easily is a problem, however someone has assured me that future python releases will have dicts that can work as easily as a perl hacker would expect. Anyway rather than next go on to the now obvious that I thought about it list of dicts I was still stuck on the idea of using a pair of keys to access some value, thus a tuple seemed obvious to store the data in a dict still. However this meant that when I extract the values from the dict I can not simply use len on the dict collection as it does not accurately reflect the number of records.

Which of course was the perfect chance to go and learn how to use map and lambda in python, after all I use map in perl often and it really is lovely to have functional capabilities in a language you program in. Using a number as one of the record keys I was then able to have constructs such as (after refactoring to list of dicts I did not need the high = expression and modified the second expression slightly)

high = max (map (lambda k: k[0], D.keys()))
and
name, phone, address = map (lambda k: D[(i,k)],['Name', 'Phone', 'Address'])

The first to find the number of records from the numeric key and the second to extract the information I was interested in printing. The second especially is often used in perl to extract matches with a [0..N] or range(N) sort of thing when you get things with multiple function calls into a list. Such as the perl expression

my @emails = map { $res->getvalue ($_,0); } (0..$res->ntuples-1);

The final problem I had was when printing the data, in perl and c I can do

printf ("%-20s %-12s %46s", name, phone, address)
However in python the string formatting in print did not justify or cut off arguments as expected. Also string.rjust and string.ljust did not limit the size of strings if they were larger than the field size. So I needed to do the following.

   print "%s %s %s" % (name[0:30].ljust(30), \
                       phone.rjust(12), \
                       address[0:45].rjust(45))

That final concern is not really a problem, and arguably clearer as to what is going on than using printf formatting as a c programmer is used to. Anyway if anyone who works at ANU wants to use this from a command line or anyone wants to see it I have it online for download/viewing. There may be a few places I can clean this up better, and the version online is stripped of comments. I can understand how people like the way python works, the code really is almost like pseudo code in many ways, it does most of the time work the way you expect it to, it is a little hard to wrap my perl oriented brain around, however that does not take long to work around I expect. Also anyone complaining about whitespace formatting in python, IMO you are deranged, it really is not an issue needing to use whitespace for program layout.

[/comp/prog] link

Tue, 06 May 2008

Something different at Stromlo - 22:02
The ARNuts run this evening was from Matt and Amanda's place over to Stromlo and on to the purpose built running track. Matt, Keith and I ran back early after a lap and a half on the new track and I think the others (Mark, Susie, Heather and Selina) headed up to the summit then back through Duffy. For me this was the first time I had been on the running track.

I have been out at Stromlo helping build the mountain bike trails since CORC started work on them and it has been great to see the mountain biking side of Stromlo Forest Park come together. As for the running track, Keith said he thought it was a bit boring, and considering we all tend to prefer trail runs I can see where he is coming from, however I personally thought it was really good. There are a few different possible short cuts to make the loop shorter for different training purposes. On the whole it was much more interesting than running around an oval, especially if you are running by yourself, oval track sessions are generally only fun in groups in my experience.

Anyway I had fun and the soft surface of the track was much nicer on my shoulder and upper arm muscles than the other surfaces we ran on tonight.

[/mtb] link

Fun music - 12:59
I just wandered down to the pickle to grab a coffee, they have recently installed a flat panel tv screen on the wall and keep it playing channel v music videos. (though we offered them a purple pickle peddlers slide show, they did not want it, no idea why <g>). Anyway the song playing when I walked in was the Foo Fighters, Learn To Fly which I think on top of being a catchy tune is a hilarious video clip. Seeing Dave do all the different characters and the others also in there with the humorous somewhat cliched (think Airplane movies) movements and story line. Lots of fun that clip.

This of course reminded me of another highly entertaining Foo Fighters clip, their Footos (Mentos style) Candy that appeared in the Big Me music video was also a highly amusing romp to a good tune. Speaking of the Foo Fighters, Danielle and Ben went to their concert in Sydney on Friday night. Both said it was a very good gig, it sounds like the audience got their moneys worth as they played a two and half hour set. Speaking of amusing video clips, I still wish I could remember the name of the Cruel Sea clip from around 1999 in which Tex Perkins and the rest of them did a fantastic piss take of boy bands, wandering around in white linen suits singing in harmony.

[/leisure/music] link

Sun, 04 May 2008

Hitting the wall like a champion - 21:00
The other week when the Fat Cyclist was talking about preparing for his upcoming 100 Mile desert ride on a single speed commenters suggested one of the things he was sure to do with that plan was bonk (hit the wall) spectacularly. I had a good ol' laugh at Fatty's response to the suggestion he would bonk in one of the comments.

i intend to bonk in a manner most spectacular. see, if you're slow, people just say you're slow. if you bonk so bad that you're barfing and pale and hallucinating and talking to Elvis in Norwegian, people revere you. that's what i'm shooting for.

Most endurance sports people have experienced something akin to this in the past, heck a recent one I recall happening to Crash was a rather spectacular lack of energy almost causing him to call for a lift home with in 1 KM of his house. I guess I should ask him if Elvis can speak Scandinavian tounges when I talk with him next.

Interestingly Fatty got through his ride easier than ever before it seems.

Considering I put this in my mtb category I guess I should at least mention what I am up to. As I said previously I am running again, this week past I have been using my right hand and arm on the handle bars again while riding, so I picked up my road bike from the shop yesterday and did some riding on it. I can once more ride on the road, I am still a little while away from mountain biking due to the need to be able to move quickly and lift the front of the bike smoothly. Also yesterday Danielle and I headed out in Matilda to see if I was at all able to paddle yet. The good news is I can once more paddle, not fast and it will definitely be a while before I can do so at a competitive pace and not have my muscles tire, however I am once more able to do most of the sports in which I participate. Good news that.

[/mtb] link

Another good comic adaptation - 20:32
Last night I went to see the movie Iron Man with a friend. I am somewhat a comics fan and in the past collected some DC titles, hence I loved the movie Batman Begins as they stuck closely to the original material and had characters that mostly worked extremely well in that context (though I still have to admit Stardust is my favourite movie in recent years) (probably closely followed by Amelie, though I do not know if I can count that as recent any more, 7 years ago). Enough with the tangents, I am attempting to point out I like comics and yet know very little about any Marvel titles. (which is why I think Batman Begins is the best super hero movie filmed yet, simply because I discount or ignore Spiderman 1 or X-Men 1 as I know very little about the source material)

I had thought the Iron Man movie was produced as part of the new independant Marvel Studios setup, however reading the appropriate wikipedia page and the Iron Man page linked at the top I learnt this was not the case. Though it is interesting to see the discussion about script writing and letting the action flow around a credible story "There was much improvisation in dialogue scenes, because the script was not done when filming began (the filmmakers had focused on the story making sense and planning the action)." Which I think came through well. The movie as a whole was entertaining, appropriate humour, showed a sense of how horrible war is and was a good action flick. I liked it.

[/leisure/screen] link

Thu, 01 May 2008

People who really get the strange humour - 23:15
So I have mentioned from time to time how funny Fafblog can be. Today I have once more been reminded why we need posts from Fafnir in the world. Though I try to come up with strange stuff at times I can never seem to do it with such polish and style and such a well thought out voice as Faf. Sure there is some political bent to Fafblog, however at times like today there is no obvious hint of political content and still the humour is there. On that note I am out of time for today.

[/amusing] link

Another Ubuntu annoyance - 22:03
I was bitten once more today by Ubuntu forcing the use of UUIDs for disk labels (in grub and other places). We have a lot of systems at work (student labs) where we update or synchronise them with rsync rather than some install mechanism such as cfengine and fai. Thus if a grub menu.lst or an fstab is copied over and not automatically modified a machine will not boot if it uses uuid for a disk label.

Unfortunately in Ubuntu there is no way to disable this in grub, the uuid change is hard coded into update-grub in /usr/sbin. At least in Debian it is still optional. Anyway I had forgotten to modify update-grub to remove the uuid stuff and had installed a new kernel on a student server, then reboot the machine and hey presto it did not come back online.

If it were not for the need to run this server on Ubuntu to be similar to the lab image and easy environment for a student to duplicate at home it would be so much easier to run Debian on it again. Of course to compound the issue this was a server I had to wait until after normal hours to take offline so I was messing around with after 7pm.

[/comp/linux] link

Wed, 30 Apr 2008

Searching for a surface - 22:22
If the camel disappears there is an obvious need for a surface on which to place objects in a gravitatively agreeable direction. Where do we find such a surface I wonder, this may call for some more scientific testing. Get one random object, such as a keg of beer (though of course if you want higher beer volume, you may want a shopping trolley full of beer cans, and really, don't we always want more beer on our websites) or a former prime minister (crash test dummy Howard), or the number 17, according to a math lecturer I had that is the ultimate random number.

That 17 is not an object and instead some quasi thought based construct or something should not deter us, after all the camel was there in the first place simply so we had somewhere obvious and natural to place a blog. This of course brings us to the question of how we can place these random objects, if they are truly random (which brings up problems related to the need for a RNG and some source of real entropy) wont placing them in some order just mess that up. The question of where we place things once the camel escapes is also in need of consideration.

Scientific testing of various new and unknown locations that are more or less not camels will be needed. A table is one such item on which we can place things. A large body of water, such as the pacific ocean is another such object. This has the added bonus that some objects may or may not float. Also some objects may or may not be eaten by sharks, giant squid or a Grue. All these eventualities bring a number of opportunities for betting on outcomes, though if doing so wastes as much paper as the damn form guides that appear in newspapers too often we may need to give up and give the ants a chance at society.

I wonder if a society of ants would have people farms, who knows maybe they already do?

[/various/ilmiwac] link

Spoilerriffic - 22:06
So this may not be the best character trait, and admittedly I may only be posting this on the off chance I can up my posts for the month before tomorrow. I am somewhat addicted to spoilers, I am happy to go around reading TWOP or similar before shows air here. When reading books or other things with endings off in the distance I have been known to skip ahead to find out how things end before going back to reading through the entire book.

I realised this once more tonight as I was reading something new, I am trying to fight the urge to skim ahead, I want to find out something about a character, and yet I know I should simply continue reading in a linear fashion. Interestingly I generally do not mind spoiling the ending for myself, however I often want to share, my sister and others have to remind me not to from time to time. A simple warning, if I ever start to tell you some ending early, remind me not to.

[/leisure/books] link

They have it tough up there - 14:41


View from the deck (fullsize)

The weekend just past I camped out on a property up near Nimbin where Matt and Amanda were being married. A lot of us at the wedding were adventure racers, so Matt and Amanda catered well for us, taking us to Mt Warning for a 700 metre vertical hike on Friday then out for night lawn bowls (some unusual activity such as you may find in an urban race) that night. The wedding was on Saturday and then on Sunday we headed down to Byron Bay for the day.

The panorama view above is from the deck of Amanda's aunt's house looking over toward the border ranges on the left and the ridge on the right is obscuring Mt Warning (it is at the edge of the Caldera (which can be seen easily from space), we were staying just up above Nimbin.

I created the panorama with the program hugin, I have not bothered following the tutorial about balancing the colours better so you can see where the three photos sort of join, however I think the image looks alright, it took a few initial tries to get it to that point. (I have never used hugin before). Anyway great weekend away, thanks Matt and Amanda (and congratulations to you both). The temperature change on our return to Canberra was definitely a shock to the system, it sure was nice up there.

[/leisure/holiday] link

Mon, 28 Apr 2008

Update on deb package archive clearing. - 14:44
In response to my last post, In email and online a few people have suggested using file:// URI's in sources.list as that stops apt from using the cache. That would indeed fix the problem for the one machine I was talking about in the post (the mirror itself) however I should admit I had also been thinking about it with respect to all the desktops and servers and such that use Debian or Ubuntu in the department here at work.

They all have a 100 Mbit (or better) link to the mirror, and it seems silly to have them using local disk storage once an entire successful apt run is finished. Andrew suggested the Dpkg::Post-Invoke rule could be used to run apt-get clean, my understanding upon reading the documentation last week was that would run clean after every individual deb package as installed. I guess it is likely when installing large numbers it may not be run until after the post-inst script, however without looking close it appeared to me it may mess up install processes somehow. I may have gotten that intuition wrong, however as pointed out in the other online response it will not work for some use cases.

It still seems the only current way to solve this is to add apt-get clean to cron (or of course write a patch for apt that allows a Apt::Install-Success::Post method or something), not really a huge problem for now, however as I said strangely different to dselect and my expected capabilities.

[/comp/linux] link

Wed, 23 Apr 2008

Keeping /var/cache/apt/archives empty. - 13:02
On mirror.linux.org.au I noticed we stored packages in /var/cache/apt/archives. I think this is somewhat silly considering the machine is a full debian mirror (it is ftp.au.debian.org) (okay so we do not have security updates on there, but that is not a big download cost).

So I had a look at the apt.conf and apt-get documentation and /usr/share/doc/apt/examples/configure-index.gz and a bit of a look around online to see how to disable the cache. I thought it may be bad to completely disable the directory for packages to sit as apt places them there when it downloads them. However as the partial directory being used for packages in transit I wondered if that was where packages were kept during the install process.

Anyway I tried adding Dir::Cache::Archive ""; and Dir::Cache::pkgcache ""; to a new file /etc/apt/apt.conf.d/10pkgcache. This however did not change anything and packages were still left in the archive. Next I tried setting both items to /dev/null, that caused a bus error when running apt-get install. I was kind of hoping there was some way to tell apt not to store files after it has run, dselect runs apt-get clean upon completion, there appears to be no way to tell apt to do a post install hook and run clean when finished. (assuming apt ran with no errors in the case the post install hook runs)

The only way to do this appears to be to place apt-get clean in a crontab somewhere, which is a pain if you are short on disk space so would like to get rid of packages as soon as installing is finished. Interestingly /dev/null was also changed by what I tried above, it became a normal file and I caused some other processes depending on it to fail. Restarting udev did not recreate the device (even though the udev config said to recreate it as a char device with the correct permissions set) instead it reappeared as a normal file with the wrong permissions, some other running process seems to have interfered with /dev/null creation. Anyway that was easily fixed with /bin/mknod, now if only the emptying of /var/cache/apt/archives were so easy without resorting to cron.

[/comp/linux] link

Tue, 22 Apr 2008

Oh so good to exercise again - 23:37
Tomorrow it will be three weeks since breaking my collar bone. Before that I had a two and a half week break after Jindabyne in which I had only done a kayak race in Sydney and half the road ride leading up to the crash. Thus I have been a bit edgy and sort of climbing the walls wanting to do some exercise. Finally today I decided I had waited long enough and I would be able to run so long as I was careful of my right arm/shoulder and if I ran on a grass track (predictable, soft surface).

So I headed over to the Bilbys track session at Dickson ovals, and oh my god it was wonderful to exercise again, even with the huge shock of getting my heart rate up there for the first time in five weeks. I sure have lost some fitness, previously I could cruise at five minute km pace with my HR sitting around 155, this evening it was sitting at 175 at that pace, then near the end of the session I decided to finish off with a faster lap (around 4 minute pace) (laps were around 600 M with a 50 M warm down (walking for me today) before starting another) and my HR got up to 188, I have never seen it pass 184 since getting the HRM so I sure am down in form.

Time for bed now I think, I have just finished packing and preparing stuff for my trip to Queensland tomorrow afternoon for Matt and Amanda's wedding on the weekend. Back in Canberra late Sunday night after that.

[/mtb] link

Mon, 21 Apr 2008

Cookie recipes galore - 10:28
Soft chocolate chip, apple, coconut cookies (or snickerdoodles) are one of the foods I like to make for racing and long rides. However I am sure many people will appreciate that any cookie is a fairly good food in all manner of situations. Thus I was happy to see this link on Metafilter today, a list of what the author thinks are the 50 best cookie recipes on the Internet.

Some of these really do look wonderful, as soon as I can exercise again (and thus burn off excessive amounts of chocolate, sugar and butter) I need to look into trying out a lot of these. I think Crash should show the list to Jo, after all I know she likes to bake the odd yummy item, and he benefits from that anyway. Maybe I should challenge Jo to a long term bake off, we could both bake one of these recipes a week, swap some of the finished product and try them all out over 25 weeks or so.

[/leisure/food] link

Sat, 19 Apr 2008

Participating the BarCamp way - 15:02
So I suspect this is of course one of the main interaction channels that Barcampers are expected to use, however I am finding it interesting to do it here today. Barcamp is promoted as a place where you sit around with your computers engaging in the content online as well as off line all throughout the day. Part of the online thing is most of the people there will have a web presence, likely a blog of some form.

So when I have talked to people during the day, or when someone has given a presentation, I have looked for the link they placed on the Barcamp page and been able to go read some of their blog and see what they talk about more. I probably should participate to the extent of adding myself to the wiki, after all I am here all day. However it is interesting to note Bob and I have both had the same sort of reaction to our involvement. The Unorganisers suggested we all sign up to some yahoogroup or something for more of the discussions leading up to hosting the event. As far as I know Bob did not join, and I did not either, too much effort involved to sign up to another mailing list. So I just had a look at adding my name and diary link to the BarCampCanberra page and to edit the wiki requires a login so I decided not to bother.

Sure it makes perfect sense that to edit the page you need to go through some form of authentication to stop spammers and such from blowing the wiki apart. I simply can no overcome my web forum/online login apathy enough to sign in here, kind of strange, though I notice Bob has not done this either.

[/comp] link

Reminder that other people exist - 14:33
Listening to Dr Stephen Dann (or ANU Page, he really needs to get his staff photo updated as he does not look that silly/wrong I promise) giving a talk about getting his completely non Internet savvy and seemingly not up on modern Internet culture students up to speed on what many of us geeks and Internet people consider normal and everyday.

It is a highly amusing presentation, he has been talking about many things we all know and recognise that his students seem to not understand or know about. He mentioned that the Comp Sci students he had the first year or so he ran the course no longer do the subject as they seem to think they do not need it, so all the students are marketing commerce students who do not live in Internet culture.

Something that I am reminded of listening to this is that we often forget there are people dissimilar to ourselves out there. For example a somewhat elitist example I often have to remember is that most people in the population are not university educated, however living in Canberra and hanging out with people who generally are, and working at a university, I often forget that not everyone shares my background. Dr Dann is dealing with non Internet savvy people and trying to induct them, it is interesting to hear his experiences. Good talk.

[/comp] link

Getting deeper into the materials - 13:31
On the badges being worn by the people at Barcamp most people in the room have various letters across the bottom that describe what geek things they are involved in in shorthand. The short hand is a geek periodic table of elements that is hanging up on the wall in N101. I was briefly chatting with Kate Carruthers before she headed off to the speed networking session. I instead of being a sociable well adjusted geek and joining in that session remained sitting here typing away on the laptop. Wondering something about the Unorganiser Stephen Collins I headed to the BarCampCanberra1 page to see what he put up there. Realising that people had put their website links on there I paged down and found the Kate Carruthers link there. On her blog there is a link to the Geek Periodic Table of Elements which was created in Sydney a few weeks ago.

So the fact that people using the abbreviations on their badges is so prevalent today it had me wondering if there would be a cool way to obfuscate this a little bit (so I admit I like geek in jokes). Alas the symbols on the table are not the same abbreviations as found on the real periodic table so his is not quite as simple as I first hoped. My idea is if you select your list of elements to put on your badge and then could arrange them in such a way as to create materials or more complex things made up of the elements bonded in specific ways. For example water is H2O (two hydrogen molecules bonded to one oxygen molecule), so if you had a drop of water drawn on the bottom of your badge you are indicating your geek interests included H and O (you could even use it as a way to indicate you do H more than O if you want to be exact about this).

The idea above falls apart a bit as the letters do not match the elements. However if you wanted to go ahead with this obfuscation you could simply use the elements in the same place on the table as those you select to try and choose various compounds then represent these compounds on your badge rather than the letters them selves. However no one would easily be able to work out what you mean now as they would need to know the chemical make up of the compounds you use, know where those elements are placed on the periodic table and then have memorised the geek periodic table to the extent they know what geek interests are in those positions.

This is however a unconference that focuses on cool geeky online apps to some extent, you could fairly quickly extend the geek periodic table to enable translating from a selection of geek elements into a selection of real materials and have some symbol suggestions for the materials. People who want to use the obfuscation could use the tool (in both directions) to work out what is on a badge.

[/comp] link

User interface discussions - 12:23
So the talk that just finished a few minutes ago was asking why we have not evolved our computer interfaces significantly in the last 40 years. The presenter mentioned the 1968 Douglas Engelbert Demo (definitely recommended watching). A few people in the audience suggested a large part of why alternative interfaces (touch screens etc) are not pushed out to the world at large is the technology and reliability of these devices is still not there for reliable and cost effective deployment.

The presenter did have a definite point, when you consider where interfaces were at in 1968, why has there not been more research into different interfaces for different use cases and scenarios. It occurred to me that it is interesting to look at life possibly imitating art. In the Neal Stephenson book Snowcrash. Most users interface to the virtual reality world via the real life interfaces there and also appear to access computers in reality via a VR environment. However the hard core hackers all still access the low level real code with a keyboard and VDU and a Unix style command line interface (not too surprising from Stephenson when you consider his brilliant essay In the Beginning ... was the Command Line)

So there are likely to be real uses for the currently accepted interfaces all the time, however the uses of alternative interfaces is likely to apply in a more specific use case scenario, and thus manufacturers, designers, researchers exactly need to somehow align and market them in specific ways and inform the people who want that use of a better (if it really is better) way to use the technology.

An amusing aspect that came up for me (from a cycling background) was the question asked why in The Tour de France the UCI has banned recumbents. The person asking the question has obviously drunk the kool-aid on offer from the HPV community on this issue with there constant claims that they are obviously faster and superior for all uses. The reality of this is that they simply can not climb as fast, thus any race with climbing (such as The Tour de France) will make them useless. The reasons they do not climb well is they can not be made as light as a modern diamond frame road bike (they can be easily purchased at 6 KG ready to ride now) and you can not get out of the saddle in a recumbent and really work more muscle groups, the limitations of muscle uses restrict the ability to go hard up hills. Also when climbing with the rather limited motor available in a human body the aerodynamic advantages of a recumbent do not matter at such low speeds and can not overcome the advantages of low weight and more muscle groups.

Thus Paul had some basis in suggesting that one reason computer interfaces have not advanced is that they are rather optimal for the purpose, though I strongly tend to agree more with the presenter that computer interfaces have a lot of room for improvement.

[/comp] link

Barcamp thing - 10:28
So a bunch of people were keen to hold a Barcamp in Canberra. Bob and I were asked if we could ask DCS if the event could be hosted here. So Bob and I are here today (with a broken collar bone I am of course unable to do anything active, I had however volunteered to be here today anyway if Bob had been unable to make it) to provide any venue stuff and setup and venue care.

So it will be interesting to see how the talks and other stuff go all day, there are a rather large number of people here so it is likely to work well. Right now there is a talk about Meraki on.

[/comp] link

Fri, 18 Apr 2008

Swordfighting - 19:56

Clothing damage (fullsize)
On Wednesday there was mention on Neil Gaiman's blog of a scar on his daughter Maddy's face, Maddy got the scar at 5 and now 7 years later still tells people she got it in a sword fight, which is what, at 5, Neil suggested she tell people. (Maddy since claimed he said "in a sword fight with Spiderman" which seems to have confused him, though he does reference Heidelberg Scars) I thought all of this was fantasticly amusing, that a young girl go around saying she got her scars in a sword fight.

This got me thinking, the xkcd Richard Stallman sword fighting comic and the subsequent gift of a sword to him means if RMS ever has some obvious scars the best reason he can give people is he got them sword fighting. Any geek in hearing distance is likely to crack up laughing. (and I have to say RMS' response of what he will do with the sword is fantastic)

Though I probably can not claim the broken collar bone, sustained while tearing up the vest to the left, as a sword fighting injury. I wonder if I can claim the tattered clothing and the scars on my face if any hint of them remain once fully healed as some form of Heidelberg scar.

[/amusing] link

Tue, 15 Apr 2008

Good News Week is back and online - 11:20
So as I have mentioned from time to time, I am a huge fan of the Doug Anthony All Stars. Since their final tour in 1994 (I saw them live in Canberra when they performed here that time). Of the various projects Tim, Rich and Paul have been involved in since, my favourite by far has been Good News Week. Hosted by Paul (and Tim and Rich have both appeared on episodes of the first series) this is one of the funniest shows ever aired on TV in Australia in my opinion. I used to watch it on ABC and then Ten when the first series was on, I went to some of the live tapings in Canberra, and laughed a hell of a lot.

Thus I was of course upset when the original series ended, then I noticed it was back on early this year. At first I thought it must simply be re runs (though reruns of a 7 year old current affairs/news based show do not make sense, so I do not know why I thought that), however by the time the fourth episode was airing I realised it was a brand new series, so I watched it and loved the show as much as ever. Since then I have had my Myth box set to record the show, however for some reason SC Ten is not working on my myth box and I have not worked out why, I missed a few episodes since than and again got to watch it last night.

Kristy sent an email to linux-aus asking if anyone had a recording of the show in order to get the bit about Jon's geekiness at the start of the episode. So I ended up having a look at the Good News Week website and was pleasantly surprised to find they have all the episodes of the new series on their video page to watch at any time with flash player. The hidden danger of this is that I then stayed up far too late watching most of the episodes I had missed and some of the other content.

The other danger is that when you are watching something this funny and you are laughing so hard you end up crying a lot and you have a broken collar bone, laughing like this can be somewhat painful. Still I love this show, I am so happy it is back on tv now. It is not really Paul that makes the show so good either, it is the stuff the guests and team leaders say that really is so hilarious. Such as the brilliant (though you may need an appreciation for bizarre to like this so much) line from Ross Noble when dissing Doritos. When another guest said they were the best triangular snack with a Mexican twist, Ross pointed out cheese on toast cut in half was just as good, when pressed for a Mexican twist he said you need only put a Chihuahua on the cheese toasty. After all what better triangular snack is there than a cheese toasty with a small dog?

[/leisure/screen] link

Mon, 14 Apr 2008

For those new to world history. - 12:03

nazi olympics protest

This photo on apostropher today is a surprise on a few levels. For a start the author of the placard has never actually looked at the history of the Olympics, or even bothered to google their placard question. Of course that the placard must have appeared at one of the recent Olympic torch relay protests the even more surprising aspect of this question comes up when you look at the history of the torch relay.

From wikipedia

The relay of the flame from Greece to the site of the modern games had no ancient precedent and was introduced by Carl Diem, with the support of Adolf Hitler, at the controversial Berlin Olympics as a means to promote Nazi ideology.

Heck when the torch came to Sydney in 2000 some students protested the torch relay due to the Nazi origins of the practice.

[/various] link

Fri, 11 Apr 2008

Athlete injury stages - 12:36
One of my friends works as a physio for elite athletes. Thus she often treats athletes with injuries who are all keen to get back into their sport as soon as possible. She has mentioned there are stages her patients go through when injured.

Denial, Depression, Anger and Acceptance. While injured you can apparently float around between all these stages a bit, moving forward and backward as the mood takes you. When I had the stitches in my elbow last year I was still able to do a lot of activities so was not in this situation really. This time of course is different. Maybe I should try to analyse what point in this cycle I am at in any given time.

The acceptance stage is in theory the most useful as you accept the injury and simply ask what to do to get better as soon as possible. Then do exactly that, the idea of doing everything you are personally able to to control recovery, after that try to remain positive and simply hope things will improve quickly.

I will hopefully learn something about myself going through all of this and should remain thankful it was not significantly worse. From what I have been told by those following in the bunch when I crashed, I actually bounced up off the bitumen on impact. Also Glenn did a somersault or two while clipped in before he hit the ground. Considering that my head was scraping along the ground and we both hit hard in that region we are incredibly lucky we did not do damage to spine or other such major systems around our heads and neither of us suffered concussion.

Oh and I have now ordered the pink helmet I mentioned yesterday (though not from Amazon, I bought it from Cambriabike).

[/mtb] link

Thu, 10 Apr 2008

Not meant to own one - 15:51
just before lca2008 this year I saw a fantastic 2 GB usb memory key in the computer shop on campus here at ANU. Around 4mm thick and 1cm by 1.5cm square with a metallic pink top, made by pqi. I bought one and took it with me to Melbourne. However I did not attach it to anything (such as keys or phone) and lifting m wallet out of my pocket one evening in Melbourne it also came out of my pocket and was lost forever.

On my return to Canberra I bought another one and all seemed fine. I tied it onto my phone and was able to slip it inside the leather phone cover so it stayed put and was out of the way. This was until last Wednesday morning when I crashed and fractured my collar bone my phone was in a back pocket of my cycle jersey. Though the phone has come out of the crash unscratched and working as well as it was previously. The usb key has a bent pink metal cover and the back of the plastic bit where the chip contacts are is scratched a bit.

After seeing APC tests in which the USB keys still often worked after much more severe torture than this one would expect it would still work. Alas I plug the key into a usb slot and nothing happens, definitely dead, tried it in multiple computers with a lot of wiggling around of the key. So small pink usb key junkie that I am I wandered over to the store today and they no longer have the 2GB key in pink, and they rang the importer who also no longer has them, only blue or black which really is not as cool. Thus it appears I am simply not meant to permanently own a cool small pink usb key.

I did however see a helmet in the Giro line up that is a rather cool pink, maybe I should get that to replace my broken helmet.

[/comp/hardware] link

Fri, 04 Apr 2008

Non dominant hand again. - 19:04
So I am being reminded of my issues with using my non dominant hand again. Though this time it is even harder as I have to keep my right arm immobile. Typing is slow, and today I finally overcame the difficulty and slobbishness to shower and shave again. Also with sitting at home a lot I am feeling a need to clean up a bit but really can't. Ahh well hopefully I will remember better when I get well and am back to being out doing stuff more than being home.

Steve Barry very kindly visited today (the day before his wedding) in order to give me hand with some tasks around and about today. Very much appreciated friendly gesture there. I hope Steve and Wendy have a great cycle touring south west WA honeymoon next week onwards. Time now to cook some rice to go with a curry I managed to cook (Steve chopped some veggies for me too) today and read more of the newspapers.

[/various] link

Wed, 02 Apr 2008

More of that evidence that road riding is a bit unsafe. - 17:04
So road riding has once more proven far more dangerous than mtb.

This morning coming downhill through deakin on hopetoun cct in the bilbys medium bunch. I was on the front on the left with glen next to me on the right. Riding fairly fast into the bumpy roundabout above the shops I took a very wide line to give glen more space. My wheels lost grip on the bumps and slid into and bounced off the gutter. I left the bike at some point and landed on my right shoulder. My bike bounced into the middle of the road in time for Glen to go over it and get launched over his bars also onto his right shoulder. Tony also came down behind us and did some damage to his fingers.

I have fractured my right collar bone and also had to get three stitches around my right eye brow. I have a sling and have to keep the right arm immobile for a week then will slowly regain movement.

Glen has a level 3 dislocation of his AC joint and is in a fair amount of pain. Drugs are helping him with this. (Ron will know what this is like as it looks similar on his shoulder to Ron's dislocation from the mugga loop a few years back). I am now at home and Glen should be home soon, he is very happy no Surgery will be required. Glen will also need to keep his right arm immobile, for two weeks, then do some extensive physio for awhile.

Thanks to Browny, Tony and the other riders who have helped today. Thanks to Dr Julia and the others at the hospital. Lets hope i get better soon and can get back out there.

Oh also the mtb skills clinic should be able to go ahead this weekend. I think I can find another coach to replace me.

Typing with the left hand only is slow and difficult so I will save you all from reading a longer blurb. Stay safe and ride mountain bikes kids.

[/mtb] link

Tue, 01 Apr 2008

I hope it is not just the date - 18:16
I just had a delightful surprise when I saw a feed with new posts in my feed reader. It is possible Fafblog is back. The first post to the site in almost two years appeared today, then another one appeared. It has been suggested that they are messing with us, it being April 1 and all. However there has been a fafblog redesign from the green look to a new look. Lets hope Fafblog is back for real.

[/amusing] link

Mon, 31 Mar 2008

Great product names - 13:01
I think I noticed this a while back, however did not think much about it apart from a quick giggle. However I think it is worthy of further notice. Sea To Summit (an outdoor equipment company in WA) have a product they retail which I think has one of the most creative but recognisable names possible for such a product. This is an item adventure racers and other serious outdoors people really do need when they are in the middle of nowhere. Go have a look.

[/various] link

Lifestart Kayak for kids on Sydney Harbour - 10:25
My first paddles on Sydney Harbour went well on the weekend. Great weather, a cruisy paddle on Saturday and a fun race on Sunday. I put all the photos and a few words online from the event.

Lifestart Kayak For Kids 2008.

[/mtb/events] link

Thu, 27 Mar 2008

Awareness Test - 22:12
Someone pointed this out to me today when I was showing them the way cool Carlton Beer Ads. This could go in the mtb section, however I am putting it here (/amusing). It has also been pointed out to me that this was on a list I read the other day, someone posted the URL http://www.dothetest.co.uk without any other explanation, thus I did not waste the time to click on the link. Oh well.

Anyway go watch this Awareness Test on youtube (or elsewhere).

[/amusing] link

Tue, 25 Mar 2008

Polaris Challenge 2007 - 12:21
Well I mentioned late reports recently, I guess this time I have given up any pretence of ever writing a report for this event. However I did take photos and put comments with them shortly after the event. So I have finally decided to upload the photos from my 2007 Polaris Challenge. I wrote a report with photos for my previous three Polaris events I competed in with Marea (2004 Murramurang/Clyde, 2005 Comboyne, 2006 Delegate).

For some reason I just never felt like writing this one up, maybe it was our lacklustre performance (coming in late on both days), maybe it was my mood toward the event at the time. Then when I still had not written a report by the time I found out the event was never going to happen again, I was not in the mood to write it up. Anyway the photos are interesting (or scarring depending upon how you look at a Rocky Horror themed Polaris and lots of men in stockings).

[/mtb/events] link

Thu, 20 Mar 2008

My 2007 Triple Triathlon report - 16:49
Wow, last year I did not publish my triple tri report until Feb sometime, this year it did not happen until March. I had better be careful with this lagging report habit, November is not that far away.

Anyway Bruce, Larissa and I competed in mixed threes last year and continued the stream of not coming first, who cares though because it is an excellent event. We had a heap of fun and were surprised at finishing well considering I did some running and Bruce some riding to see if we could go slower.

The report is in the normal sort of place, 2007 Sri Chinmoy Triple Triathlon, To The Teeth.

[/mtb/events] link


home, email, rss, rss2.0, atom