Bike maintenance

  • Post author:
  • Post category:Bike

I've been noticing that the ride to and from work has been becoming more and more effort. At first I thought it was just that I am getting slacker in my old age or something, but tonight on the way home I noticed that the rear tire was looking a little squooshed when I sat on the bike. I therefore gave in and performed some basic bike maintenance tonight -- removed the 5mm of mud from the frame (pretty good given it hasn't rained here in months), the general layer of dirt and grime on everything, and the grease buildup I get on the rear wheel which I assume is caused by the grease from the rear hub). I checked the tire pressure as well... It was a third of what it should have been, so hopefully I am staring down the barrel of a much lower rolling resistance.

Continue ReadingBike maintenance

Amazon author bio

  • Post author:
  • Post category:Bio

Amazon wanted an author bio for their Amazon Connect program which I thought I would give a try. Here's what they got: Michael Still released his first Open Source project in July 2000, and has been actively developing ever since. He has had a variety of articles published by IBM DeveloperWorks, and once made a Tux out of fairy lights. He is the author of the recently published "Definitive Guide to ImageMagick" from Apress. His gym program states his exercise goal as "develop laser death vision". Michael grew up in Canberra, Australia but now lives and works in Silicon Valley for Google with his wife and two kids. Michael is a past committee member of AUUG, Linux Australia, and the linux.conf.au 2005 committee.

Continue ReadingAmazon author bio

Gordon’s in Texas

  • Post author:
  • Post category:Travel

Gordon is in Texas and having a ball, which is good to hear. His picture is quite cool too. He points out some interesting aspects of America in the post as well. Let's work through them one at a time together: I haven't stayed in a Best Western yet, but so far I would have to say that the hotels I have stayed in have all been pretty good. Now, that might be because I am willing to spend money on hotels, but I think it's also because it's so easy here to change hotel if the first one sucks. For example, the hotel I stayed in in Portland had a many in a silly hat: I have also seen churched with threatening signs, again in Portland for me. It seems to me that perhaps the clergy don't want to be too bothered by the huddled masses? Parking places with funny little boxes to poke money I thought was a Pacific northwest thing (as I've seen them in Oregon and Washington). It's reassuring to know that other parts of the country have these too. And yes, in general people here are wonderfully friendly. Oh, and Gordon, don't forget to checkout…

Continue ReadingGordon’s in Texas

Color ebook!

By far the most consistent criticism of The Definitive Guide to ImageMagick has been that the sample images need to be in color. I would have to agree with this point, which is why I am delighted that Apress took the time to go back around the production process and produce a version of the ebook with color images. It's cool that they were willing to put in the effort, and not only that, they're giving anyone who has purchased the ebook to date a free upgrade. Even better, now if you buy the printed book on Amazon, you get the color ebook for free! I have a limited number of color ebooks to give away, so if you're interested please leave a comment and explain why you'd like one.

Continue ReadingColor ebook!

Exciting news

  • Post author:
  • Post category:Book

Today email arrived with the contract for my second book (following on from The Definitive Guide to ImageMagick). This one is a still-secret project hatched with Stewart Smith, and I don't want to mention the topic in public just yet. There are two reasons for that -- there's always a risk that the whole project will be a massive train wreck, and because Stewart and I haven't talked yet about how we want to do the announcement. This book will be done with Apress, which I guess means that I thought they were pretty good to work with the first time. Anyway, just keeping you up to date on the gossip...

Continue ReadingExciting news

Holy crap!

  • Post author:
  • Post category:Google

These guys really did deliver 1,000 pizzas to Google's Mountain View campus. We even ate them. I guess that's one way of getting publicity...

Continue ReadingHoly crap!

Did everyone else know this?

  • Post author:
  • Post category:Bash

Apparently this behaviour has bothered me in the past as well, and I didn't realize until I googled just now for an answer... I've never really thought to hard about this, but it turns out that bash's return code checking for pipelines is rather dumb. Specifically, bash checks the return code of the last command in the pipeline, not the entire pipeline. For example: mikal@mstill:~$ exit 1 | exit 2 mikal@mstill:~$ echo $? 2 We get the return code of the last process in the pipeline. Perhaps fair enough... Then again: mikal@mstill:~$ exit 1 | exit 0 mikal@mstill:~$ echo $? 0 Here we get the return code of the final process again, which masks the error in the first process from being reported. You can get the return codes of all processes in the pipe like this: mikal@mstill:~$ exit 1 | exit 2 mikal@mstill:~$ echo ${PIPESTATUS[@]} 1 2 And then if you assume that the sum of all return codes will report if an error occurred: mikal@mstill:~$ exit 1 | exit 0 mikal@mstill:~$ expr `echo ${PIPESTATUS[@]} | sed 's/ / + /g'` 1 Which is evil, but does what I want. Is there a less evil way of doing this?

Continue ReadingDid everyone else know this?

End of content

No more pages to load