Friday, October 06, 2017

Harry Potter and the Chamber of Secrets in Concert


I wonder if they intend performing concerts for all the Harry Potter movies. In April we attended the Philosopher's Stone, tonight it was The Chamber of Secrets. Next April, Prisoner of Azkaban, assuming that I can get tickets.

What do all three have in common? Well, apart from being Harry Potter movies, of course.

These were the three movies where the legendary John Williams composed the score.

Williams was rather busy during the production so his music was ably adapted and conducted by William Ross.

For this performance at the Sydney Opera House the Sydney Symphony Orchestra was conducted by the effervescent American Jeffrey Schindler. As with the previous concert he exhorted the audience to cheer at their favourite moments and actors, which they duly did.

The performance was great, though it was sometimes hard to concentrate on the music at times due to the distraction of the movie. Williams' action score really shines through during the live performances and this was no exception, though there was one point I wasn't sure if it was Quiddich or chasing Jango Fett on screen. Williams was busy at the time...

The Chamber of Secrets is Alex's favourite Harry Potter movie out of the first three (all he's seen) and he was rapt the entire time, despite the late hour.


Earlier he and I had caught the expensive lift up Sydney Tower. Though the views were good I've seen them a lot lately out the windows of planes and the large groups of tourists reminded me how much I hate being surrounded by tourists, even when I'm one myself.


I'm looking forward now to John Williams' best Harry Potter score in the Prisoner of Azkaban. Hope I can get good tickets!

Wednesday, October 04, 2017

Arduino ticket gate - part 1

Alex is obsessed with automatic ticket gates and desperately wants one to play with in the house. Don't ask me why.

The mechanisms in automatic paper ticket gates are extraordinarily complicated and not something I could hope or want to recreate at home. However, modern gates tend to use RFID stored value cards to trigger them.

Using parts from an Arduino education kit along with an RFID module I bought at Jaycar I was able to build a simple system that triggers a servo motor when an RFID card is tapped on the sensor. It also changes the red LED to the green and plays a sound. I put a delay in to "hold the gate open".




The cheap RFID module seems a bit dodgy and the system often requires a few reboots to work. This is the first time I've soldered and used a circuit board in years. I haven't used the Arduino much either, just following a few of the examples given in the book. Still, I'm pretty pleased with the result!

video

Using the Arduino is so much easier than the electronics I did at uni and as a kid.

The next step is to put it in some housing and attach a "gate" to the servo. Going to get Alex's help to do that.

Sketch


/**
 * Ticket gate model
 * Detect RFID chip and trigger a servo
 */

#include  
#include
#include

#define SS_PIN 10
#define RST_PIN 9
#define GREEN_PIN 6
#define RED_PIN 7
#define PIEZO_PIN 8
#define SERVO_PIN 5

Servo gateServo;
int openTime = 5000;

MFRC522 mfrc522(SS_PIN, RST_PIN);  // Create MFRC522 instance.

void setup() {
  Serial.begin(9600); // Initialize serial communications with the PC
  gateServo.attach(SERVO_PIN);
  gateServo.write(90);
  pinMode(GREEN_PIN, OUTPUT);
  pinMode(RED_PIN, OUTPUT);
  pinMode(PIEZO_PIN, OUTPUT);
  digitalWrite(GREEN_PIN, LOW);
  digitalWrite(RED_PIN, HIGH);
  
  SPI.begin();      // Init SPI bus
  mfrc522.PCD_Init(); // Init MFRC522 card
}

void loop() {
  // Look for new cards
  if ( ! mfrc522.PICC_IsNewCardPresent()) {
    return;
  }

  // Select one of the cards
  if ( ! mfrc522.PICC_ReadCardSerial()) {
    return;
  }

  gateServo.write(180);
  digitalWrite(GREEN_PIN, HIGH);
  digitalWrite(RED_PIN, LOW);
  tone(PIEZO_PIN, 261, 100);
  delay(100);
  tone(PIEZO_PIN, 392, 200);
  delay(openTime);
  gateServo.write(90);
  digitalWrite(GREEN_PIN, LOW);
  digitalWrite(RED_PIN, HIGH);
  mfrc522.PICC_HaltA();
}

Wednesday, September 06, 2017

Sun sets, but Oracle didn't predict it

Sun microsystems
Oracle has quietly shut down the remnants of Sun's Sparc processor and Solaris operating system lines. Both Sun and Oracle have made a huge impact on my life.

Back in 1992 I had my first encounter with Unix in a numerical mathematics course at the ANU. A number of our lessons were held in the university's computer labs housing Sun Sparc terminals. I marvelled at the huge high resolution greyscale CRT screens, opening terminals and text editors to edit and run Matlab scripts on the Solaris server. They looked so much nicer than the PCs and Macs we used elsewhere. Long before they were readily available for PCs these terminals used laser mice, though they required a special mouse mat to operate.

A year later, when I bought my first modem, I would connect into a Solaris Unix server via the terminal and access my email and play IRC. I met my wife over Solaris.

As a result of my Internet obsession I drifted into the role of web developer, eventually gaining employment at CSIRO's Australia Telescope National Facility managing their website. The site ran on a Solaris 2.6 server and for a time I even had a Sparc terminal to access it.

It was here that Oracle came into the picture. I built some web applications utilising the Oracle database, the only one available to me.

By this stage I was not a fan of either Solaris or Oracle (or 'Orrible as called by some). Much of the open internet ran on open source solutions like Linux and MySQL and, as expensive commercial products, the Oracle database and Solaris operating system often required custom compilations of libraries and custom rewrites of code. Our version of Solaris only supported 256 colours, meaning that images supplied by our users were often of too poor quality to use on the web.

A lot of time that could have been spent developing practical applications was instead wasted just wrangling the systems to work in the first place.

Eventually that job finished and I ended up writing PHP scripts on a Windows IIS box, which was a whole new set of pain.

Today I am still writing PHP, but running it on a Ubuntu Linux server, which is an extremely popular and well supported combination meaning that it's easy to find answers to problems online. But I haven't escaped Oracle, which acquired Sun in 2009, entirely. We use the very popular MySQL as our database and that was purchased by Oracle as well.

By all accounts the marriage between Sun and Oracle was not a happy one (it certainly wasn't on our servers) and I'm sad to see the disappearance of the former. Farewell!

Saturday, August 05, 2017

School dances and a cushion concert

Last night we finally had our first taste as parents of a combined schools performance when we attended the Sutherland Shire Schools Music Festival. Alex had joined the boy's hip hop group at school and they, along with a number of other schools, were performing dances at the festival.

Having seen the boys and senior girls performing the past few days at the local shopping centre and school open day I must say my expectations were low. Right from the start I was blown away by the talent and energy of many of the student dancers in a real performing environment.



It helps that they started with some John Williams music from Harry Potter. Though what was the idea playing the opening to Star Wars for a dance named "Borg" (and yes there were sound grabs of Locutus)? Obviously a proper education in scifi is lacking in our public schools!

Speaking of John Williams, I woke up this morning and spotted an Instagram advertisement for the Sydney Symphony Orchestra playing Star Wars live in concert early next year. A dream come true! I immediately snapped up some tickets.

The music continued with an afternoon concert today in Petersham Town Hall listening to The Metropolitan Orchestra performing music from movies and a couple of original compositions. This was a cushion concert for families, with patrons encouraged to bring rugs and cushions and sit on the floor up close to the orchestra. One of Alex's school friends joined us.

I'd heard the Metropolitan Orchestra perform the Doctor Who Symphonic Spectacular at the Sydney Opera House back in 2012 and was impressed with their professionalism. Being so familiar with film music as I am it is difficult for me to listen to it being played poorly.

No such problem here. The Metropolitan Orchestra were magnificent with a fantastic sound. Sitting up close we could feel every note, every percussion. More than that, they looked like they were having fun.

Every orchestra member was dressed up in some superhero or movie costume. There were Minions on Double Bass, Dorothy Vader on violin and Indiana Jones on the drums, to name just a few. All lead by their conductor, Princess Else, aka Sarah-Grace Williams.



They played Superman, the Raiders March, the Flying Theme from ET, Batman, Star Trek: The Motion Picture and a medley from Frozen. Of special note was the soloist in Gabriel's Oboe from The Mission. He played with exquisite precision, beautiful.

There were also premieres of two original compositions. The Vikings, composed and performed by one of the orchestra's French horn players was very easy to listen to and I could easily imagine it accompanying a television documentary on the warriors. Bedtime Stories was more classical in nature, with hints of Holst.

The concert ended with the Star Wars main theme, reminding me just how exciting next year will be.

Wednesday, May 17, 2017

Another car through the garden


It was about a quarter to eleven and we were just getting ready to sleep after watching some Highway Patrol repeats earlier in the night. Then we heard the sound of cars hooning around. Then a screech and a loud crash.

Not again.

Almost to the month, four years after a young drunk driver had crashed into the shrubs between our neighbour and us another driver had passed through the same space and crashed into our neighbour's house.

Along the way he demolished our letter box, hedge and most of the shrubs planted after the first incident, then down a retaining wall to land on top of our neighbour's trailer, his car just touching the lower brick wall of the house.


Fortunately the 23 year old driver was just shaken and the house survived unscathed but for a broken window and ruined flowerpots.

It could have been much worse. A couple of weeks ago another young driver in Illawong died after losing control of his car, rolling it and being flung out.

Our driver, from a house just down the street, was undoubtedly speeding in his Volkswagen Golf, as do many on this stretch of road. His brother had been just behind in his Alfa Romeo. Their specialist auto insurer Shannons was indicative of their likely revhead nature.

On the back of the car was an Apple computers sticker. Don't believe them when they say they don't crash.


A crowd of neighbours gathered around the accident. I called the police, but it was the tow trucks that arrived first, then the fire brigade, the cops and the ambulance. The freelance journalists. Then more tow trucks.




The police collected statements, the paramedics gave him a once over and presumably tested for alcohol and drugs. The fireman had little to do. For most of the time it was standing around watching the tow truck drivers attempt to haul the car back up the way it came.


By the way, don't trust any insurance advice tow truck drivers give. They just want your money. The emergency services, on the other hand, were great.

Gradually the crowds drifted away. The freelancers collared me for an interview on camera. I misstated some facts but it was way past midnight by now and I wasn't thinking straight.

The story actually featured on the Channel 9 and Channel 7 morning news, surprisingly.





So now we've got no letterbox, our beautiful hedge has been trimmed far more than I intended (granted it needed trimming) and a pair of lovely callistemon and lilli pilli shrubs is probably gone. Insurance won't pay for the garden and we are wondering if someday a car will plough into Alex's bedroom.


It's not just us. Apparently the house at the corner has had three cars in their yard and the are lamp posts and street signs suffering frequent damage. All because the idiots in this area (like most others) think they have the right to show off their non-existent driving "skills" and put everyone else in danger. I am tired of people bitching about speed limits in residential areas like this when the evidence is in - they aren't the great drivers they think they are.

They are murderous f'ing idiots.

Saturday, April 29, 2017

Harry Potter and the Philosopher's Stone in Concert


I think we just witnessed some real life Harry Potter magic in action with a flawless performance of the score by the Sydney Symphony Orchestra at the Opera House.

Wow!

Much as I enjoyed both the book and the movie, John Williams' score to Harry Potter and the Philosopher's Stone is not one that I frequently listen to. I suspect it is because it fits the movie so well and my life, unlike that of my eight year old son, is far from that of an 11 year old student wizard.

That should taken as a complement and not a criticism of the score and my favourite composer.

The magic of the score was unleashed from the moment that the film began and the orchestra played their first notes. Williams' music danced between delicate melodies to rich orchestral textures utilising the full orchestra. His score is such an important element of the movie that it was rarely overshadowed by the on-screen dialogue and action.

If there was one tiny criticism it's that it was almost impossible to hear the 15 minutes pre-concert featurette with composer interviews over the noise of entering patrons. The folk at the sound desk were too busy chatting and reading to notice until half way through.

American conductor Jeffrey Schindler engaged the audience and encouraged them to feel free to loudly celebrate the on-screen action and heroes. I don't know whether it was him or a shared love of Harry Potter but the orchestra were also at their very best performance wise. I heard no mistakes, especially from the brass section. Haven't heard the SSO play film music this well since their artistic director David Robertson conducted John Williams music back in 2014.

It was magic. Pure magic.

The Chamber of Secrets is coming out later this year. I hope Williams' score, his last of the series, to the Prisoner of Azkhaban will also be performed as it is by far my favourite (and favourite movie of the series too, if you must know).

Perhaps if I wave that wand we took to the concert...

Best not, it did belong to He-who-must-not-be-named...

Saturday, March 04, 2017

Jurassic Park in Concert with the MSO



I had no real intention of watching Jurassic Park at the cinema. I was a second year maths and physics student at the ANU and was busy trying to organise my presentation to the CSIRO Double Helix Science Club about fractals and chaos. I got a call from the Canberra Times to interview me about the presentation and the journalist asked me what I thought about Jeff Goldblum's character, a "chaotican".

Not having seen the movie I couldn't answer, so I resolved to see the Steven Spielberg film before my presentation.

I don't think I'll ever forget that moment in Jurassic Park where Alan Grant and Ellie Sattler see their first dinosaur. Like the characters on the screen my jaw dropped in amazement at the sight of these extinct giants brought to life on the big screen.

The scene was made even more special by John Williams' elegant background score, so I could not pass up the opportunity to relive that moment with a live orchestra. That meant a lightning trip down to Melbourne to hear the Melbourne Symphony Orchestra perform live in front of the movie at Hamer Hall.

The MSO is my favourite Australian orchestra and has always, in my experience, performed film music with enthusiasm and the utmost respect (unlike a certain other orchestra more local to me).

I have been to a number of these concerts now at the Sydney Opera House with the Sydney Symphony Orchestra playing to a screened movie. This was my first in Melbourne with the MSO, in fact my first visit to Hamer Hall. The venue was certainly more modern than its internationally famous northern cousin.


Media personality Myf Warhurst introduced the show, exhorting the audience to whoop and holler along to the movie. Then conductor Ben Northey took to the podium and the concert screening began.

If I was ever to create my own John Williams concert I would start with "Journey to the Island," beginning with a playful and adventurous music as they approach Isla Nublar by helicopter and then moving on to the elegant Jurassic Park theme as they catch their first sight of the dinosaurs.

I'm not a huge fan of screening the movie and dialogue at the same time as performing the music as I'm there for the latter. I can always watch the movie at home. But something I liked about this performance was that the music took priority over the dialogue, making it much easier to focus on.

There were some surprisingly long passages without any music and others where it consisted of frenetic action. These are often less enjoyable pieces to listen to at home, but it was thrilling to watch the percussion and strings go at it live.

I noticed the brass section made a few mistakes and it was a pity that a live choir wasn’t used, but overall the performances were very impressive.

Alex the eight year old complained that he was tired and wanted to go back to the hotel for much of the movie, but by the end of it he was transfixed. When they finished playing the final credits he was clapping as hard as anyone in the hall.

We had been warned there would be an encore and I was delighted (though not surprised) that it was the Flying theme from another Spielberg/Williams collaboration ET. When I was stuck living in Central Queensland the soundtrack, my favourite, always made me think of my home in Melbourne. To hear it played there was very special.

All in all I was very glad we made the long trip down from Sydney to this performance of Jurassic Park. Next up is Harry Potter with the SSO - should be no complaints from Alex about that one!

Popular Posts