Blogv6

July 27th, 2009

As I’ve mentioned a few times in the past, this blog is available over IPv6 as well as IPv4. Inspired by Dan Siemon, I thought I’d have a quick dig through my HTTP access logs and see how many requests come in over IPv6.

Type Unique IPs
IPv4 13,514 98.8%
IPv6 165 1.2%
Total 13,679 100%

That’s actually a bit more than I expected, since at best only four of the unique IPv6 IPs can be attributed to me. I wouldn’t say that IPv6 has hit the mainstream yet, but even 1% of traffic’s an interesting result.

On the overuse of parentheticals and their applications to high school reunions

July 23rd, 2009

Next weekend is my eleventh high school reunion. If it seems like an odd number for such a thing, well, there was a tenth last year, and presumably it went so well that they decided an eleventh was in order. Honestly, I did wonder briefly if it was just a reflection on the quality of our mathematics department. I didn’t go last year (in spite of some cajoling from one of my then-new friends, who basically suggested that I take her to prove… something that I wasn’t entirely clear on at the time, but which evidently would have been in the spirit of fuck you, I’m an anteater — suffice it to say that it only really started making sense once I found out more about her school experience), and I’m not going this year.

Oddly enough, I’ve had plans for next weekend since the start of the year, so I breathed a bit of a sigh of relief when the reunion was plonked on the same weekend; I mean, it saved an awkward excuse to cover not being very interested in seeing pretty much anyone from my high school. Broadly speaking, the (single digit figure of) people I want to be in touch with I’m still in touch with, with only one or two exceptions.

Still, it got me thinking back. I mean, what conversations would I realistically have given the shared experiences feel like a lifetime ago? Hell, I’m a pretty different person these days to the guy I was in 1998. Conversations? They’d be one liners at best; to whit:

  • The bully: So, hey, how about that ear thing you tried once outside science class? Did you ever stop breathing through your mouth?
  • The sort of friend of convenience I didn’t bother keeping in touch with: Yeah, sorry about the whole not calling thing. For, like, eleven years. How ’bout them Eagles?
  • The druggie (hell, which one?): Did you end up killing all your brain cells, or did you get lucky like me and manage to wise up before that point?
  • Most perilously of all, the first serious crush: Shit, you were all I wanted when I was thirteen. Subconsciously, I still compare every partner to you, no matter how unattainable you are living there almost fifteen years in the past (because really, I can only think about how you were then; I know nothing about you now). So, uh… how’s the food?

How the hell do you respond to any of that? And presumably I’d be getting similarly awkward conversational gambits my way (heard you got kicked out of a university less than twelve months out of high school — way to go, man!) which I’d have equally little interest in engaging with.

Maybe I’ll have more perspective in time for the twentieth. In the meantime, I’m going to enjoy my lost weekend next week with my friends.

Unordered lists are fun

July 8th, 2009

Additions to my list of things I shouldn’t do while feeling emo and heartachy:

  • Buy music
  • Choose clothes to wear from my extensive collection of XKCD shirts
  • Prepare any sort of work presentation that needs to be upbeat and cheery
  • Read Questionable Content‘s archives

Whoa. I might just add don’t read Webcomics to that.

Let me fire up the DeLorean

July 3rd, 2009

Found and reported a couple of PHP 5.3 bugs yesterday. That isn’t such a surprise; it’s a new release, after all, and we’re currently in the midst of developing code for the first time against 5.3 here at work. One of them is a crasher, but an obscure one reliant on the new-in-5.3 INI_SCANNER_RAW mode in parse_ini_file and a rather odd configuration file, so as these things go, it’s pretty minor, and scottmac has jumped on it very promptly indeed (thanks!). The response from Jani was interesting, though:

Thanks for not reporting this before release..

Now, Jani does a tremendous amount of work triaging PHP bugs and I — and every other PHP developer (particularly those of us who does this for a living) — owe him a huge debt for that. But frankly, I resent the implication that I’ve somehow sat on a crasher since before 5.3.0 was released and only submitted it now as some sort of weird vendetta against the PHP internals team. Funnily enough, I only found it while I was reducing the other, more trivial bug down to a minimal test case.

I get far worse things implied in my direction when I’m out on a Saturday night in Northbridge, so really, I’m not that fussed. (I’m obviously a bit fussed, though, since I’m writing this.) I do wonder how somebody new to the PHP community would feel, though — my guess is that you could forget about future bug reports in some cases, and that just isn’t a win for anyone.

Tarnished, Old, Boring

June 18th, 2009

As is all over the Web, our good friends at Microsoft Australia have decided to give away some money1 to try and shore up IE 8′s market share. They’ve done this by setting up a Web site that tells you to use IE 82, and when you do, you get a little box that includes the tweets they’re popping on the competition Twitter account.

That’s all well and good — it’s Microsoft’s money, after all, and they can spend it however they like. That said, there are a couple of things I find rather odd about the whole shebang. The first is technical: thus far, the landing page they have only uses some remarkably simple server-side User Agent sniffing to decide which image to show and whether to show the box of tweets. It would be nice if they actually used the competition to showcase some nifty technology that IE 8 actually brings to the Web that the other browsers don’t have, but presumably ActiveX and VML3 don’t count these days, and that pesky Silverlight team actually get things working on other browsers, damn them. (The fact that the competition page detects a default IE 8 install as IE 7 is particularly hilarious, but well documented elsewhere, so I won’t go into that.)

The bigger thing I find strange is the verbiage. There are at least seven versions of the welcome image that get served up depending on your browser: Tarnished Chrome, Old Firefox, Boring Safari, IE 6, IE 7, a generic message for other browsers, and the IE 8 version that talks about the competition a bit.

The first thing that leaps out at me is the rather negative language used — if IE 8′s so much better that people are going to love it just as soon as they give it a shot (encouraged by the chance to win $10,000), surely there’s no particular need to pluck out some negative adjectives before the names of the non-Microsoft browsers. (Presumably Microsoft’s marketing department isn’t too keen on talking down IE 6 and 7, so no adjectives and no ditching of the browsers in those cases. Feel free to suggest appropriate adjectives for IE 6 in particular in the comments.) Talk up your own product, Microsoft!

The So get rid of it, or get lost line is a bit odd, too. It seems to be an attempt to be cool, hip and edgy, but it’s dangerously close to actually telling your prospective customers to get bent, which is the sort of marketing tactic that doesn’t work out very often. Particularly for people on non-Windows platforms, surely it might have been better from a brand image point of view to say something nice (Sorry, but to take part in this competition, you have to be running the sheer awesomeness of Windows?) rather than that rather strange, out of place comment.

From my point of view, the idea of a marketing campaign for a new browser version seems reasonable — the last thing Microsoft wants from a brand and technological point of view is a world dominated by alternative browsers — but this seems like a remarkably wrong-headed, badly thought out way of going about it.

(Legalities: the marketing images and copy linked above are © Microsoft Australia and are reproduced unmodified apart from the addition of a background colour for legibility. Fair dealing is asserted under section 41 of the Copyright Act 1968 for the purposes of review and criticism.)

1 Link appropriately nofollowed. I did debate whether to post this at all, given it’s an obvious attempt at a viral marketing campaign and Microsoft would want people to talk about it, but I felt the need to vent a bit, so I feel nofollow links are an appropriate compromise.
2 For what it’s worth, I don’t mind IE 8 anywhere near as much as 6 or 7 as a developer. Sure, it’s still horribly slow at executing Javascript — sorry, JScript — and lacks support for a whole bunch of useful features everyone else has had for years, but it’s not actively broken any more, which is nice.
3 I don’t know whether to laugh or cry at the continued support for VML in lieu of SVG in IE. There has to be some sort of stubborn as a mule award on that front.

Tethering iPhone 3.0 to Ubuntu 9.04

June 17th, 2009

So, I found myself with a copy of iPhone OS 3.0 a little ahead of the general release and felt the urge to get tethering working properly. (People who jailbreak have previously had the option of a few third-party products, the best known and easiest to use being PdaNet, also known as that software that wrought havoc upon the LCA 2009 wireless.) It turns out to be pretty seamless on OS X (and apparently also on Windows), but of course, that doesn’t do an awful lot for me as an Ubuntu user.

iPhone Internet TetheringThe iPhone provides two options for tethering: USB and Bluetooth. The USB option looks promising, but is a bit beyond my knowledge of the USB subsystem: lsusb provides information on a configuration called PTP + Apple Mobile Device + Apple USB Ethernet with a couple of interfaces labelled Vendor Specific Class; someone with crazy USB hacking skills will probably get that turned into a network device in due course, I suspect.

That leaves Bluetooth. The iPhone uses Bluetooth Personal Area Networking The good news for lazy people like me is that NetworkManager support is in the works, but until then, it’s still not too painful, as people have been tethering to mobile devices using PAN for a while.

The tutorials I found generally covered other distributions or older versions of Ubuntu, so here’s the process for Jaunty. First the one-time configuration:

  1. Install the bluez-compat package.
  2. Edit /etc/default/bluetooth to add the following lines:
    PAND_ENABLED=1
    PAND_OPTIONS="--role=PANU"
    

  3. Restart the Bluetooth service: /etc/init.d/bluetooth restart
  4. Add the BNEP network adapter to the /etc/network/interfaces file by appending the following line: iface bnep0 inet dhcp
  5. Get the Bluetooth address of your phone by running hcitool scan and jotting down the address next to your phone’s name.

Now the bits and pieces that need to be done each time:

  1. Pair your computer with your iPhone. If you’re using GNOME, the standard Bluetooth applet can handle that; presumably that’s true of the other flavours of Ubuntu as well.
  2. To connect, run these commands in your favourite shell, replacing 00:aa:bb:cc:dd:ee with the Bluetooth address you jotted down earlier:
    sudo pand --connect 00:aa:bb:cc:dd:ee -n
    sudo ifup bnep0
    
  3. At that point, life should be good and you should be connected. To disconnect later:
    sudo ifdown bnep0
    sudo pand -K
    

This seems to work rather well. The speed test results were noticeably better than they had been previously using the various ad-hoc network + jailbreak based solutions that I tried with iPhone 2.x; here at the office in sunny Osborne Park, I got about 850 kilobits down and 350 kilobits up (and a ping around 250 ms) on the notoriously crummy Optus 3G network, which is enough to actually be genuinely useful.

Thanks to InfoSec812 and wilbur.harvey (no relation!) for writing rather good tutorial posts on the Ubuntu Forums, which this howto is based on.

Adam, You Twittering Idiot

May 20th, 2009

I decided yesterday to actually do something with the Twitter account I set up a few weeks back, and have joined the self-absorbed cool kids and PR machines in posting the odd message through it. (Tweet, whatever. I still have enough issues with the existence of words like blog.) I had it hooked up to Facebook for about a day, but really, I think it’s a different type of writing to a status update, at least for me — a status update’s a bit more friend-oriented, whereas I see Twitter as being a way to just randomly blurt out whatever’s flitting through my head for anyone who’s bored enough to care. Ergo, no more linkage.

On an unrelated note, I had another meeting with my supervisor this afternoon about my India documentary, which is now due in just eight short days. (Theoretically I have nine, but if I get the project done in eight I get to spend a four day weekend in Albany with friends not worrying about it.) As has become the pattern for those meetings, I spent a couple of hours beforehand frantically working in an attempt to ignore the knots in my stomach, danced around the explanation of the incomplete work that I was supposed to have completed, Keith did his best to not look too disappointed with me, and we agreed on yet another course of action moving forward.

The silver lining is that I’ve learned plenty of things this semester. Unfortunately, the key lessons seem to have been things I shouldn’t ever attempt again, namely corporate videos and solo projects. I guess I at least know my capabilities (or lack thereof) a bit more now.

It’s Not Too Late To Ship It! Ship It Good!

May 13th, 2009

Dear Lazyweb,

Does your hive mind1 know why ThinkGeek want US$30 to ship one solitary T-shirt to my inconveniently located postbox here in Perth, yet Threadless manage to ship two T-shirts here for US$9? There’s rather a lot of stuff I’d like to get from ThinkGeek, but the shipping costs are a bit too prohibitive even for me.

Having said that, since I already have close to fifty T-shirts, it may be a good thing that I can’t justify buying any more at the moment.

1 Hmmm. I wonder if I can just ask Wolfram Alpha when it gets launched, since it’s supposed to answer questions with the power of the Internet, a new kind of science, and most importantly the power of Grayskull.

Codral Day & Night: Now With Extra Crack!

May 5th, 2009

I don’t know what the hell Codral put in their new formula night tablets (although at least without psuedoephedrine I don’t spend the entire day shaking quietly in a corner, so that’s a win), but man I’ve had some awesome dreams over the last couple of nights.

I shan’t bore people with the whole lot, but my favourite image so far has been dreaming that I was still working at iiNet, going to my old desk (now sadly taken over by call centre people), and peering over the partition into the marketing area to see nobody there but a massive dragon sitting at one of the marketing co-ordinator’s desks reading Facebook and singeing the office plants every time he laughed at someone’s post. Come to think of it, I don’t even know how the hell the talons worked with the keyboard and mouse.

On the bright side, I now have a hell of a lot of stuff to work into short film scripts. I guess being sick isn’t all bad after all.

Crazy’s Back (and it wants your sister)

April 29th, 2009

You what I like when I’m waiting for Windows updates to download? Bonkers conspiracy theories! Nice to see that swine flu is just the latest in the long line of things that can be attributed to the New World Order, Freemasons, the usual. The Amero Freeway bit’s a nice touch.

In related news, my friend Jas has decided that he’s still going to Mexico in three weeks, as the airline tickets were non-refundable anyway. I’m already writing the Darwin Award nomination just in case.