Menulog: Poor Form

When ordering food to home, I tend to use Menulog as they have the best selection of restaurants in my immediate local area.

Their site is easy to use, and communication about the progress of your order is excellent.

Last week however, the “communication” took a bit of a turn, and I was quite disappointed in the response from their social media team.

On arrival, I received the following text from the driver:

I found that a bit creepy – and when I pointed it out to their Twitter account, this was the exchange:

LOL?

Really? Stop and think about this for a moment. This is not even remotely funny.

Let’s suppose the customer was a woman who has recently drawn up the courage to leave an abusive relationship, but her former partner is stalking her. She decides to order in food because she’s scared to go out in public, lest she runs into her former partner.

Suddenly, a text message arrives from an unknown mobile number, and it says “Hi dear I’m outside”.

This is going to scare the living hell out of her. As a man who has left a violent female partner, I know this would scare crap out of me, given the predilection of that partner to cause trouble in my life. I know how this feels.

Do better Menulog – a lot better. Teach your drivers not to do this.

Sunday Nerding: Columbia and STS-1

Tomorrow – (in Australian time at least) – is the 40th anniversary of the first flight of NASA’s Space Transportation System (STS) – better known to most people as the Space Shuttle.

That first flight was taken by OV-102 – (named “Columbia” at the time of commissioning) – on April 12th 1981, and marked America’s return to space for the first time since the Skylab space station was abandoned in 1974.

So it was a big deal. I clearly remember watching the launch on television at our home in Townsville, and the subsequent regular updates. For someone who was interested in the space program, but not having been alive or old enough to remember Apollo and Skylab, people in space again was amazing to me.

Astronauts John Young – (the ninth man to walk on the moon) – and Robert Crippen took Columbia into orbit that day for what amounted to a test flight – launch it, get it to orbit, and land it a couple of days later.

Columbia was of course lost in 2003 on return from space while completing STS-107, only the second shuttle lost after Challenger just after launch on STS-51L in 1986.

Holden 1970’s Chic

As a Holden family – (we were General Motors and/or Holden dealers between 1958 and 1980) – the demise of the brand has been not the easiest thing to accept – but life goes on.

After my father passed away in October, and the family home was sold up, we found a lot of old memorabilia tucked away in his bedroom drawers.

Here’s a few ‘lovely’ Holden Torana related t-shirts we found:

This one was related to the “Loaded With Smart Thinking” advertising campaign, as per the following video:

Then there was this one from the earlier “When You’re Hot You’re Hot” campaign, with accompanying video:

Finally, we found one for the “infamous” Starfire 4 engine, but that wasn’t exactly a bright spot in Holden history!

Headspace: Farewell Moments

On October 1st of this dastardly year of 2020, as a family we suffered the loss of my father.

It has taken me a couple of weeks to find any kind of words to make sense of this loss – but I’m actually coping a lot better than I thought I would. Dad was unwell for about 10 years, but the last 6 months saw a rapid decline in his health, and we knew the time was near.

So it was not a surprise, but it was still a shock.

I’ve been trying to focus on what it means to me going forward. He had three children, and four grandchildren – all of whom he adored.

He was a bit of a workaholic during his working life, but he did that to support the family. We didn’t always get everything we wanted, but we always got whatever we needed.

There are so many stories I could write about – countless stories that would take years to complete.

We were always going to lose Dad one day – it is one of the truths in life that everyone we love will eventually pass – so I’d been prepared for that for quite a few years as his health steadily declined.

In the nearly two weeks since his passing, I’ve been trying to figure out exactly what his passing means to me.

I will of course miss him. I’ll never be able to pick up the phone again and talk shit about the football or the car racing again. I’ll never again be able to tease him for falling asleep in my comfy lounge chair the moment he sat in it.

Those things – (and so many others) – are gone, but I knew that would happen, so that’s okay.

While preparing his eulogy with one of my sisters – (read proudly by her at the funeral) – I figured out what I will miss the most, are not the complex memories, but the intangible moments.

There was a section in the eulogy about a football game he and I went to on ANZAC Day in 1992. Our beloved Essendon, versus Melbourne.

We were getting absolutely smashed, and at three-quarter time, we were 41 points behind – but I had a feeling that Melbourne were tiring, and I turned to Dad and said: “we’re going to win this!”

He said I was “out of my mind” – (though his actual words might have been a bit more colourful!) – but I had a feeling.

Thirty minutes later when the final siren sounded with Essendon one point in front, I turned and looked at him, grinning.

The look on his face was priceless – and I’ll never forget it.

It was one of those completely intangible moments – those moments you couldn’t just create even if you tried. It was a single moment, but borne of years of sharing our love of the game, and our Bombers.

Or the moment Channel 7 came back from a commercial break right near the very end of the 1995 Bathurst 1000, and our favourite driver Larry Perkins – (who had been racing from behind all day after an incident at the start) – had gotten into the lead with barely nine laps to go when the previous leader Glenn Seton broke down.

We were literally dancing around the lounge room in complete joy, completely on instinct. It just happened.

I’ll never lose those moments in my heart – (and there are many of them) – but what I will miss most is that there will be no more of them.

Luckily though, I do have the full set.

Fixing The 1990 Bathurst Victory – Again!

Earlier in the year, I posted about the 1990 Bathurst 1000, and how as part of the telecast, Channel 7 embarrassingly missed the winning Holden Commodore of Win Percy and Allan Grice crossing the line.

After finding in-car footage of the car crossing the line from the 1991 telecast, I moved to edit the video to include that footage, recording the car crossing the line for posterity.

Here is the resultant video from that first attempt:

I mentioned in my first article that footage of the car crossing the line did exist, and was broadcast as part of Derryn Hinch’s program on the Friday night before the 1991 race.

I had never seen it again since.

Now, with the recent release of the 1992 Bathurst 1000 on DVD, I have finally come into possession of the missing footage of the car crossing the line for victory – after discovering it within a profile of Grice as part of the 1992 telecast.

So, armed with that footage, I have revisited my edit, and finally – FINALLY – after 30 years I’ve been able to put it together for posterity.

Here is the entire final lap, with the footage of Grice crossing the line spliced into exactly where it belongs:

Enjoy it, Holden fans!

Sunday Nerding: Soyuz Clock

A while back, I published a link to a series of videos about the restoration of an Apollo Guidance Computer (AGC) – the computer that allowed man to travel to and land on the moon in 1969.

Now the same team have been working on a Soviet-era clock from a Soyuz spacecraft.

The clock is in pretty good condition, so won’t take the time and effort it took to restore the AGC, but for the electronic and space geeks, this is pretty cool too.

I will add to this playlist as more installments of their work is added.

Bitly’s V4 API – Sample PHP Code

Recently Bitly have rolled out version 4 of their API, and if you’re using the old API, it is quite a change.

While users were asked to move from older versions to the new version before March 1st 2020, the version 3 API was to hang around until March 31st 2020 to give people a little extra time to move.

Given the current COVID-19 situation, this discontinuation has been put on hold for the time being as per an email sent out to API users.

Nevertheless, it is absolutely time to move to the new version to ensure that you can still automate the shortening of your URLs.

Given my professional working life, I’ve worked with very similar API implementations, so for me it wasn’t a big deal to change over.

Here is the simple function I wrote for PHP, to do a basic URL shorten. Your PHP installation will need to have cURL and JSON libraries installed and enabled.

function shorten_url ($access_token,$group_guid,$shorten_domain,$shorten_url) {

  # setup the JSON payload
  $json_payload = @json_encode(Array(
    "group_guid"=>"".$group_guid."",
    "domain"=>"".$shorten_domain."",
    "long_url"=>"".$shorten_url.""
  ));

  # initialise cURL handle
  $curl_handle = @curl_init();

  # define cURL parameters
  @curl_setopt_array($curl_handle,Array(
    CURLOPT_URL => "https://api-ssl.bitly.com/v4/shorten",
    CURLOPT_RETURNTRANSFER => TRUE,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 0,
    CURLOPT_FOLLOWLOCATION => TRUE,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_POSTFIELDS => $json_payload,
    CURLOPT_HTTPHEADER => Array (
      "Host: api-ssl.bitly.com",
      "Authorization: Bearer ".$access_token."",
      "Content-Type: application/json",
    ),
  ));

  # execute the cURL request
  $json_output = @curl_exec($curl_handle);

  # decode the output and get the HTTP response code
  $json_decoded = @json_decode($json_output);
  $http_code = "".@curl_getinfo($curl_handle,CURLINFO_HTTP_CODE)."";

  # return results for further processing
  return(Array("json"=>$json_decoded,"http"=>$http_code));

}

The inputs are relatively straight forward:

$access_token – this is the same as your existing OAuth application access token – this has not changed, at least in my case.

$group_guid – this is the only new piece of information you might need. While you can query for this value via the API, for most people the simplest way to get it is to open into your Bitly account in a web browser, where you will find the GUID in the URL, as per this image:

$shorten_domain – if you have a custom domain – (for example, I have the domain “mwyr.es” for shortening purposes) – this is the value you need here. If you don’t have a custom domain, just use “bit.ly”.

$shorten_url – this is the URL you wish to shorten – simple!

So now you can call the function, with the required information.

Firstly, the input data required by the API is converted to JSON via the json_encode() function.

Secondly, we set up the cURL handle, and then supply it with the required data. Note the JSON data is passed within the “CURLOPT_POSTFIELDS” variable, and that the access token is passed as the “Authorization: Bearer” header in the “CURLOPT_HTTPHEADER” variable.

Then we execute with curl_exec() – and store and return the results for further processing.

That’s it!

To understand the returned JSON – (including the generated short link) – and the HTTP response codes, refer to the excellent Bitly API v4 documentation.