I've unlinked my feeds

In case you were wondering, I have unlinked my feeds. For what it’s worth, I think you should unlink your feeds too. Life is short, time is precious and I certainly don’t have the inclination to read the same words twice (sometimes more) in one day. Do you?

Google Buzz was the straw that broke the proverbial camel’s back. I’m yet to see the point of Buzz; Wave I get and I like. Buzz, however seems to be just a waste of time, duplicating items already shared in Google Reader, Twitter tweets, blogs, etcetera, etcetera, …

It has to stop!

Like in Ghostbusters, we must never cross the streams.

Some of the streams that I had once consolidated but have since torn asunder are enumerated below, in case you were used to having them aggregated:

There are a few others, such as my Facebook profile, but I think a wise reader like yourself is getting the gist of how to find me online.

"When are you two having kids?"

K and I have been together for nearly ten years now and have been married for seven of these. One question that we seem to get asked with increasing frequency and increasing volume is "When are you two having kids?"

This is a blog post about that: I started thinking about how to write this while we were in England last July for my brother’s wedding.

"When are you two having kids?" we we were asked many times last June. I’m not sure why this question was so foremost in our friends’ minds while we were in the UK, but it seemed to be paramount in the thoughts. I had lost count of the number of times I was asked "When are you two having kids?" by the time we boarded the aeroplane to Dubai. We occasionally were asked were we going to have kids, but it was when that seemed to be the question of the month.

We had decided about eighteen months before this visit that, perhaps, to have a small family of our own would make for an even happier future than the one that already lay ahead. We’d not announced this, however. The bedroom window had been open at a suitable angle for a year and a half but there having been no sign of a stork thus far. The best answer I could give at this juncture was, "we don’t know."

"When are you two having kids?"

The question whirred around in my mind a lot while we were overseas. I wondered what kind of answers people were expecting…

For some people, those that have decided that they don’t like children or those who are concerned about over-populating the planet, then the answer is easy and obvious.

For a couple undergoing assistance for conception, then then answer might not be quite what the inquisitor wants to hear: Oh, is that the time? Do excuse us. We should be busy opening the window for the stork. Or something.

Perhaps they expect us to say, "Oh, didn’t we tell you?"

K and I have often shared much, perhaps too much, of our lives with our friends via the Internet: photographs, tweets, blogs, email and so on. Do our friends seriously expect that we would have neglected to mention the fact that we’re expecting a baby? Come on, people!

Since we have returned from our twelve week scan, I suppose now might be the appropriate time to share such a piece of information. I am absolutely delighted to announce that about the third week in July we expect to have a third (and only a third) member of the Johns household.

Yes, I'm back on Facebook

Pete Johns]

You may recall that back in January I deleted my Facebook account. The main reason for doing so was to free up more time. To be honest with you, haven’t found that I have had that much spare time in the months that followed. I didn’t miss Facebook at all and most people didn’t even realise I had deleted my account. So that was nice.

Unfortunately, what I hadn’t reckoned on was that Kirsty would become a Pete Proxy for many people’s words and pictures and that was a bit of a pain. Neither had I counted on the fact that some people would discontinue their blogs and opt for Facebook notes instead. And I like to nosey into my friends’ lives in my RSS reader!

Despite the plethora of ways to contact me electronically (listed here), it transpired that I was an e-outcast, a social e-leper without a Facebook account.

While I was off work sick on Monday, I did the unthinkable and signed up for a new account, the main reason being so that Kirsty is no longer the Proxy Pete.

So now that I am "back" what does this mean? Well, hopefully it’ll mean that I’m a bit easier to keep in touch with for those of you who don’t "do" email or Twitter or Skype or blogs or whatever.

There are a couple of RSS feeds to which I can subscribe to see my friends notes and any notifications that may concern me. Direct messages come straight to my inbox, so I can reply to those as a normal email, which will continue to be my preference for such things. Adium, my instant messaging application of choice, "talks" directly to Facebook, so I can use the inbuilt messaging without having to visit the webpage, which is, frankly, brilliant. My status updates will come from Twitter integration, my photographs directly from Flickr and my "notes" are just my long-running blog delivered to Facebook via RSS. If only I could still view your status updates in my RSS reader!

So the workflow of using Facebook shouldn’t take up as much time as it did with my previous account. That’s the theory anyway. You can help minimise the time I waste on Facebook by not sending me applications or group requests. That would be great! Thank you so much.

It’s nice to be back in touch, it really is. I just wish there was another way. Perhaps I should open a pub…

One-line of Python: string -> hex

Just a little something that may come in handy in the future (for my reference, rather than yours), a Python one-liner for converting an ASCII string to hexadecimal pairs.

to_hex = lambda s: ' '.join(['%02X' % ord(ch) for ch in s])

As you were…

Thank you, all. #wgs

I realise that I have been harping on about Leukaemia Foundation’s World’s Greatest Shave a lot over the past four weeks. It’s all done and dusted now and so I justed wanted to wrap up with a thank you to everyone who supported me, particularly in the past 24 hours.

When I woke up yesterday morning, I was anxious about the day ahead. Having never had my legs waxed, I was concerned about the pain that lay ahead, particularly given the very hairy nature of my legs. At 12:30, I went to Claire Françoise’s salon and after a brief wait was led to a little room with a couch and a bucket of hot wax. K came in too, to take some photographs for you people, which I will upload later today.

I have to say, folks, that my anxiety was for nothing. Claire was very fast and in no time at all, I was looking down on a pair of freshly-waxed, pale white, freckle-covered legs. I was reminded of an early scene in Spike Milligan’s book ‘Puckoon’, where The Milligan is giving out to The Author on writing such legs.

Back at the office, I was told that it was now time to go downstairs for my head shave. This was never a part of the plan, but there we go. There was a WGS event happening on the ground floor of my office block, so it seemed appropriate to do it there and then where some of my sponsors could witness the event first-hand. You will have to make-do with the photographs!

This morning, after an hour locked away in the bathroom (during a thunderstorm for effect) with a large tub of Veet and a Mach III, I emerged with smooth arms, chest and head. Again, there will be photos online later today.

You’ve kindly donated $2,120 to the Leukaemia Foundation. I’m extremely grateful for your generosity. And now, I have to concentrate on hair growth ahead of my brother’s wedding in Swindon, England on 12 June. Thank you very much.

One more sleep to go!

Leukaemia Foundation World's Greatest Shave

The Leukaemia Foundation World’s Greatest Shave is happening this weekend!

To bring you up-to-date:

  1. I thought I’d raise a few bucks by shaving my head.
  2. People wanted more to give more, so I offered to shave my legs as well as my head for $500.
  3. You called for my legs to be waxed, so I asked for $1,000.
  4. I’m now sponsored to the tune of $1,782!
  5. Claire Françoise Salon in Melbourne’s CBD are going to wax my legs tomorrow (Friday) lunchtime!
  6. If I raise $2,000 by Friday, I shall shave my arms and my chest, too.

Claire Françoise Salon

Your donation will make a difference, in the short term it could mean the loss of more of my hair, in the long term it will help those suffering with leukaemias as they undergo treatment. As an Australian tax payer, you get to claim your tax back at the end of the year! You’ll be sent a PDF receipt when you donate (let me know if you think you’ve donated but not received a receipt).

Photographs will be shared via my Flickr Stream after the event.

Most importantly, here is the link you need to sponsor me. Every dollar counts. If you cannot spare a dollar right now, then perhaps leave some words of encouragement on my profile page. I really appreciate the support.

Many, many thanks for your generosity, financial or otherwise.

World's Greatest Shave Update

Leukaemia Foundation World's Greatest Shave

Last week, after I hit the $1,000 target that would mean that I have to wax my legs, I mentioned that I am dreading it. I’ve been hearing many tales of home-waxing and also have had the scene from The 40 Year Old Virgin recounted to me more times than I would like.

Yesterday evening I had a very nice email from Claire Françoise, telling me that her studio would love to be a part of the World’s Greatest Shave and that they would be more than happy to inflict ‘pain’ on me for the sake of a good cause.

Claire Françoise Salon

Since the Claire Françoise Salon is only a few blocks away from my office, I can pop by in my lunch break next Friday for the dreaded waxing.

This has calmed my nerves a little, knowing that professionals are on the case. I promise to take some photos of the event and to blog of my first waxing experience. I’m sure it shall be an experience.

According to the total on my profile page, my arms and chest are still safe but there are still ten days to go, so you still have time to sponsor me.

Now I must think about how to execute the head shave… I’m open to suggestions!

Thank you all, once more, for your amazing support. I really am very appreciative.

Police Warning

I’ve just received the following SMS:

Msg from Vic Police:Extreme weather in Vic expected Mon night and Tues.High wind & fire risk.Listen to local ABC Radio for emergency updates.Do not reply to this

According to The Age, another two million similar messages will be sent.

Speaking of The Police, I recommend this Mashup of Watching the Detectives + Walking on the Moon.

Stay safe.

TDD and the Python Shebang

Before I joined my current employer about two years ago I had heard of both Python and TDD but used neither. Now Python is the first language I reach for whenever I want to write a utility and I naturally start by writing a failing unit test. It’s a fun way in which to program, but more than that… Today I was telling a friend (and former colleague) why I prefer test-driven development as a way of writing code. Here are some of the reasons I enumerated:

  • TDD helps me think.
  • TDD helps me design.
  • TDD helps me create clean interfaces.
  • TDD helps me focus on developing just what needs to be developed.
  • TDD helps me clean up my code.
  • TDD tells me that my code does exactly what it is supposed to.
  • TDD lets me test my code as often as I like at the press of a single key.

That last point is more an artefact of unit-testing, but is still valid.

If you’re a programmer and you want to learn about TDD, you could do worse than reading Ron Jeffries’ bowling game examples, first the C# object-oriented example and then procedural version.

My first post of 2009 was on doing TDD in Python using Vim. Unfortunately, not all of the Python code owned by ${PETES_EMPLOYER} was written using the same editor or coding standards. I love the fact that Python uses indentation to determine code blocks and has no need for ugly braces everywhere but it doesn’t do anything to enforce discipline in this area. Occasionally, when working with Other People’s Code, I’ve encountered problems where a mixture of indentation styles have been employed and Python hasn’t behaved. Recently I discovered that Python can throw an error when this happens by supplying the switch ‘-tt’ to the interpreter. This is why all Python code that I write now begins with the following shebang line…

#!/usr/bin/env python -tt -Wall

I hope that is of some use to somebody.

Target $2,000!

Dear all,

You are quick, and generous. You are kind but brutal. I thought that calls for me to have my legs waxed were harsh, but you’ve quickly rallied together and raised the extra $500 I suggested would be enough for this to happen. And now it must. I have to say that I am dreading this.

Now there are calls for a "BSC". I’m sorry to have to disappoint but despite my hirsuteness, for reasons unbeknownst to me, I don’t have a hairy back. And since neither the ‘sack’ nor the ‘crack’ will be photographed in the name of good taste, this would be a pointless (yet painful, I imagine) exercise.

Since you have reached the $1,000 target I feel duty bound to offer more so that you might do the same. This time I am doubling the target to in return for my shaven arms and chest.

I feel I should mention that this is not an event that I am undertaking lightly. I really, really don’t like shaving my face in the morning. To shave more than that is a huge ask, so please drop by my profile page, give generously and help me help the Leukaemia Foundation in World’s Greatest Shave.

As ever, I’m deeply thankful for your support, be it financial or emotional!

Much love;

–paj

P.S: If there are any Olympic cyclists, swimmers or cross-dressers out there, I have a burning question: Do you use the same shaving products for your face as your body hair or do you use a products aimed at women?

Page 5 of 13