March 22, 2014

The following picture was taken at the intersection of Cardigan Street and Kilner Lane, Camperdown.

OK, so lets say you want to go to ‘main or ‘te Bay. You ignore the other two signs and continue as directed. Pretty soon you’re dumped at this intersection.

Yes, that is really telling you to turn right onto Parramatta road. But due to the timing of the traffic lights, you’ll likely have three lanes all to yourself, the leftmost of which is a bus lane.

At the first possible opportunity (Gordon St) to turn left, there is another cycling sign. Eager to get off the main road, you take it. Despite the fact that this sign is giving you two new destinations, Glebe and City.

Pretty soon, you’re dumped on Pyrmont Bridge Road, which could really do with both a high quality bike lane and a reduction in the speed limit from 60 to 50. (I don’t know myself how to fix these problems for you).

From here on, the trail goes cold as far as I can tell (as in there being no more signs to tell you where to go). From start to finish, we’ve managed to cover a grand total of just 280 metres.

## \def, \newcommand, \span and \align

March 9, 2014

I learnt something about TeX/LaTeX today.

I got the following cryptic error message:
! Missing # inserted in alignment preamble.

 

 \crcr l.38 \end{align*}

Now when I went to google “Missing # inserted in alignment preamble”, I immediately got a lovely website which was able to answer my question. But hey, information survives by being copied, so if you’ll kindly allow me to continue, I shall.

Stripped down to a minimal example, here is the problematic code.

\documentclass[11pt, reqno]{amsart}

 \usepackage{amsmath} \def\span{\,\mbox{span}\,} \begin{document} \begin{align*} u &= \arctan x & dv &= 1 \, dx \\ du &= \frac{1}{1 + x^2} dx & v &= x. \end{align*} 

\end{document}

Actually stripping down to a minimal example kind of makes it obvious where the error is – it must be somewhere in the \def\span line.


The problem in the above code is that \span is already defined to be something important needed to internally execute the \align command. By using \def, we’re redefining what \span means. If we used \newcommand instead, we wouldn’t be able to redefine \span and we’d get an instructive error message.

So the moral of the story is: \newcommand is safer.

## Walking between Sydney Airport Domestic Terminal and Mascot Station

February 28, 2014

OK, this one is really easy.

If you happen to be travelling at the right time of day between the airport and the CBD, there is also the option of the 305 bus.

## Walking between Sydney International and Wolli Creek station

February 9, 2014

First the why:

One way Central-International train ticket: 16.40AUD.

One way Central-Wolli Creek train ticket: 3.80AUD.

[Warning: Never buy a ticket to the City. It prices out to the most expensive option of all city train stations. Always buy a ticket to the specific train station you want to get off on]

The reason for the difference in the train fares is the existence of a station access fee at Sydney airport locations. Or more bluntly, they’re price gouging becasue they think they can get away with it. There is currently an inquiry into this practise by the NSW parliament.

It is very possible and easy to walk from Wolli Creek train station to the international terminal at Sydney airport in less than half an hour.

First the map:

Fortunately there are no fences at Sydney airport waiting to trap you along this route. This makes getting in and out of Sydney airport easy.

The main thing about this route to remember is the loop. Walking to the airport, after travelling along the north side of the bridge, one loops down below at the first opportunity to continue to the airport.

The only possibly tricky part is to orient yourself when leaving Wolli Creek station. Exit the station from the exit closer to the lower platform and you will arrive at the starting point on the map above. Turn right out of the station to begin your walk.

The entire route is on a paved surface (partly on a joint pedestrian/bike path). I’ve only ever done it with a backpack, but it should be easy enough with luggage on wheels as well.

## 2013 Statistics

February 1, 2014

Countries visited: 10.
New: Denmark, Vatican City, Argentina, Brazil.

Flights: 40
Total distance (great circles): 195,133km
Average flight length: 4878km
Longest flight: SFO-SYD 11937km
Shortest flight: MSY-BHM 517km
Airlines flown: 12
New: WN, SQ, HA, CZ, AR
Airports visited: 31
New: NRT, SAN, MSY, BHM, LAS, EWR, PEK, CPH, HNL, CAN, BKK, EZE, USH, AEP, IGR

(a) I don’t have data for flight length in terms of time.
(b) Hopefully the headline figure of 195,133km will decrease in 2014.
(c) I don’t really feel that the Vatican City is a real country.
(d) I visited the old BKK in 1999. The airport code has shifted to the new airport in the interim.

## 2013 Federal Election Senate Results

October 2, 2013

Only six years ago, the three most popular states presented a snooze-fest when it came to the senate – 3 each to the ALP and the Coalition, thank you all for voting and we’ll continue with our nice little duopoly.

What a different world we have this time around. While barring a recount the Sports party ultimately failed to win a seat off their 0.23% primary vote, we’ve still got ten senators from outside the majors. With all the talk of preference deals, hopefully we’ll get to see some reform that will get rid of ticket voting before the next time around.

But hey, let’s get to the results:

### 1st place: South Australia (2 Liberal, 1 Xenophon, 1 ALP, 1 Greens, 1 Family First)

Oh dear, what is going on? How can we possibly give the South Australians first place when they’ve gone ahead and elected a member of a right wing Christian party? This should really be considered an indictment on how well the election actually went. The Croweaters get first place on the back of the elections of Sarah Hanson-Young and Nick Xenophon.

### 2nd place: Tasmania (2 Liberal, 2 ALP, 1 Greens, 1 Palmer)

Those Taswegians usually put in a good performance at elections and their high occurrence of below the line voting sets a good example to the rest of the country. Disappointing to see Peter Whish-Wilson have to go to preferences to win his seat. But more disappoing is the election of Jacqui Lambie. Clive Palmer is a one-percenter. ’nuff said.

### 3rd place: Victoria (2 Liberal, 2 ALP, 1 Greens, 1 Motoring)

Looking really good until you see Ricky Muir of the Australian Motoring Enthusiasts Party winning a seat. Sadly, this is just the latest installment from the state that has previously elected members from Family First and the DLP. With Tony Abbott already preferring a 1950s era roads only transport policy, this can’t end well for the nation.

### 4th place: Queensland (3 LNP, 2 ALP, 1 Palmer)

Poor. Actually downgrade that to terrible. Won’t see much support for a mining tax here.

### 5th place: New South Wales (2 Liberal, 2 ALP, 1 National, 1 Liberal Democrat)

When you first listen to the libertarian position, it can appear alluring. The government shouldn’t interfere in personal life, so therefore censorship shouldn’t happen and marijuana should be legalised. OK but those positions are the easy ones to get to. It’s when you delve a bit further that problems start to appear – there’s that classic line about ending up advocating for the abolition of fire departments. (Actually they’d probably try to privatise them). Fundamentally, you probably shouldn’t get someone to run a government when their core belief is that the government shouldn’t exist.

### 6th place* Western Australia (3 Liberal, 2 ALP, 1 Palmer)

The failure to reelect Scott Ludlam puts WA into last place here. I’m ashamed of my home state.

*subject to change if the recount changes the outcome

## World Cup 2015

September 21, 2013

Hidden amongst the media coverage of the Ashes and the Essendon saga was an announcement about the format of the 2015 World Cup.

Fourteen teams, two groups of seven, top four in each group go on to play a knockout tournament.

Yes. A knockout tournament. Geez. What a crap shoot.

Of course, just like four years ago, we know exactly which eight teams will get to go on to the crap shoot stage. And unlike eight years go, with six group games each, a single upset is unlikely to result in any change to which eight teams progress.

So why even bother with the group stage?

They could at least have a final eight like in the AFL, which would give an advantage to the top two teams in each pool, making the group stages have at least some meaning.

Oh, and a bonus: Then we’d have nine high-revenue matches in the finals stage, rather than seven, which for a money obsessed governing body is surely the preferred position.

As it stands, I cannot respect the 2015 World Cup, or its winner as a worthy champion due to the format, and sincerely hope that the schedule for the 2014/15 season is fixed to correct this atrocity (and the other atrocity of no WACA test – why can’t we play five against India?)

## How to ascertain your home phone number

August 7, 2013

(In Australia): Dial 127 22 123.

Yes this sound silly. But it also works to determine the last connected number at the premises, which is information a telecommunications company can find useful in connecting a phone or internet service.

## How to resize an image in ubuntu

May 12, 2013

Warning (insert Bourbaki dangerous bend sign here): This process overrides the original file. So if the original image is at all important, it must first be copied.

Step 1: Right-click and select Open With GIMP Image Editor

Step 2: File -> Save.

Step 3: Click “Show preview in image window”

Step 4: Slide the quality to get the desired file size.

and we’re done.

## Megaminx III

January 17, 2013

I’ve already had two previous adventures with owning a megaminx. The first one I owned fell apart before I even got a chance to solve it, and I can’t see how to fix it (you’re welcome to try, I still have all the pieces). The second megaminx I owned was structurally sound, but has problems that I feel are best described by saying that the stickers keep falling off. The little coloured bits in this case aren’t actually stickers but they do keep falling off, and I haven’t managed to keep them all.

Recently I had the fortune to visit Causeway Bay, where I was kindly shown the physical incarnation of this shop. Alas, the bricks and mortar version is scheduled to close this month, so I was just in time (and you’d better hurry!). So there they sell a different make of megaminx. I forget if there was also a 6 colour version but my memory says yes. Though I didn’t acquire my own, my impression is that this is a more durable product than the two megaminxes I already own.

So why no purchace? Well, I’ve solved it already, and the megaminx is easy. Somehow having so many faces means that the moves you make don’t interfere with each other very much, making it no harder than the standard 3x3x3 cube.

What I did get instead is this “Super 3x3x7:01″ which I’ve scrambled and unscrambled, but still not solved (like the square one, it is not a group).

Gotta get back on that task now…