Monday, November 4, 2013

Sunshine Coast

Another beautiful weekend, another family camping trip. This time we went to the Sunshine Coast. The trip should have taken 2 hours by car from Gold Coast, but we spent extra 30 minutes in a traffic jam past the Gateway Bridge. Next time, we will try the toll-free route through Brisbane. We stayed in Maroochydore, or Maroochy for short. Some of the places have very peculiar names: there is Bli Bli, Mooloolaba, and even Dicky Beach. No worries.

Looking south from Cotton Tree towards Maroochy

Looking north from Cotton Tree towards Mt Coolum 

Sunshine Coast - less built up than Gold Coast

Mt Coolum from street level


Stone stairs up Mt Coolum

The steep part

The east-north view. Somewhere there should be the Clive Palmer's dino.

The south view from the top of Mt Coolum


Sunday, September 29, 2013

North Stradbroke Island

North Stradbroke, known locally as Straddie is the biggest of the 3 major islands around Moreton Bay. The other two are: Moreton and Bribie.

To get there you can catch a ferry from Cleveland, a suburb of Brisbane, to Dunwich, a port in North Straddie. A return ticket for a passenger car costs $140 - that includes passengers. The trip lasts 45 minutes one way.
The Big Red Cat ferry approaching the Cleveland terminal. Stradbroke Ferries could tidy the place up.

Red Ensign flying - check out the flags from 1901-1909.

On the island you can get an unpowered camping site for 3 nights for about $200 for a family of 5. We stayed in Adder Rock in Point Lookout. In our area we found: a kitchen area with 4 electric grills, 2 sinks with hot water, 4 double 240V power points, toilets, showers, and two small playgrounds. There were outdoor showers near the beach. We had almost no mozzies during our stay.

I tried to make pancakes on the grill - not easy. I ended up covering the hole in the middle of the grill with dough, then pouring oil there, then the mix, then spreading the mix outside. Still without being able to control the temperature - the grill just turns on at full power for a few minutes at a time - it's hard to use. The pancakes did not look good, but the kids devoured them.

Fried tomatoes did not go well either. They turned out burned (the oil flows down to the drain hole in the centre) and not cooked thoroughly. We ate them anyway. That's camping life.

Rocky Point near Adder Rock Camping Area, looking east.

Colourful rocks.


Same beach, looking west. If you have a 4WD and $38 for a yearly permit, you can drive on most Straddie beaches.
 A few pictures from the Blue Lake (Karboora) National Park:

Karboora walking track close to the lake.

For me it looked like an alien forest.

A pink tree.

Are these zig zags made by worms?

Point Lookout is a city on the east side of the island. It is a home to spectacular views and beaches:

North Gorge

South Gorge

A view of the Main Beach from the Headland Park walk.

Sunday, September 22, 2013

Swell Sculpture Festival 2013

Swell Sculpture Festival at Currumbin Beach, Gold Coast, 13-22 September 2013.



My favourites:

Bloodlines by Allen Horstmanshof

The Sirens by Falcini & Gottgens

The Sirens seen from the back.







City Farming by Karl de Wall





Blue Dancers. Prelude and Quintet. By Rainer Schlüter.

And because Currumbin is such a picturesque location:

There were several forest fires going on in the hinterland that day. The clouds on the left are smoke.

Surfers Paradise

Tuesday, August 13, 2013

Making conscious changes in life.

I have been off meat for 19 years. One day I just decided that I did not want to eat animals anymore. I am ok with chicken eggs and cow milk. No animal has to be killed to give me that.

I have been off sugar in drinks for a few years now. Mainly to decrease calorie intake. But it should help with keeping teeth healthy too.

Lately, I started being off caffeine. I switched from regular to decaf coffee and I never really drank cola drinks. I am very susceptible to caffeine. I could start with one cup of coffee a day on Monday, and finish with five cups a day on Friday.

I am officially off alcohol now. Not even one beer. This is awkward in social situations, but I believe the positives outweigh the negatives.

I am trying to be off food additives and to care more about how food is produced. This one is not easy either, but I am trying to buy organic, free range, and fair trade products.


In another category, I switched from MS Windows to Mac OS for the bulk of my personal computing. No regrets here.

I am getting off Google Search as well. I set all my browsers to use duckduckgo.com for search. It is what Google was 10 years ago: simple, accurate, and beautiful.

I use Python and Ruby where feasible.

I will ditch Skype, the moment a viable alternative appears.

Sunday, July 14, 2013

The Kokoda Challenge 2013

My daughter took part yesterday in the Jim Stillman Cup of the Gold Coast Kokoda Challenge. The Kokoda Challenge is a uniquely Australian event. It is a walk to commemorate WWII battles in Papua. The full length Stan Bisset Cup is 96 km long. It is open to students who are at least 15 years old. The Jim Stillman Cup is half the distance and is open to students at least 13 years old. There are shorter Kokoda Challenge walks in Brisbane and Melbourne.

185 school teams of 4 students and an adult and 190 other teams got to the finish line in Nerang Velodrome yesterday and today. This is a gruelling event. The participants walk and run for 28 or 14 hours on average, day and night in difficult terrain, and most of them make it to the finish line.

A big thank you to the support teams and all teachers!

Jim Stillman Cup start in Numinbah Valley.

The full 96 km track.

Thursday, July 4, 2013

Software Testing

I would like to share with you an approach to software regression testing that works for systems consisting of multiple applications.

First things first. Software regression testing should always mean automated testing. Manual regression testing is a wasteful practice that will make you loath change. If you go the manual testing path, the process will take more time every time you add a feature, and soon you will  find out that a simple change, that takes a programmer a few minutes to implement, takes weeks to deliver to the customer. It's best to leave manual testing to beta customers, internal or external. When they find a problem, add a test case for it to the automated test suite to prevent regression. Automated testing ensures that no regression occurred in the last build. Just like continuous integration, it is a must, and ideally you should have it right from the start of the project.

Continuous deployment that triggers tests is a bit more difficult to implement with limited resources - you would need a new test environment for every check-in, but definitely every build should generate all installers, and you should have an automated nightly deployment and test run.

Automated testing of some systems is difficult. A system consisting of web applications, desktop applications, services, all interacting with different operating systems, cannot be functionally tested the same way you test a class library with unit tests. You need something that will emulate one or more users, and will interact with all parts of the system running on multiple computers at the same time. Mocks won't do. You need a program that will click buttons, read text, close windows, launch programs, and remote desktop (yes, it's a verb).

We chose Sikulideveloped at MIT and maintained by people from around the world. Sikuli (“God’s eye” in the language of Mexico’s Huichol Indians) is still quite new, and some features don't work very well, but it is the best one out there. Especially IR (Image Recognition) works great if you remember that it uses fuzzy matching and your images need to capture the essence of what you are looking for. For example, if you have icons on the screen and you need Sikuli to find one, your images should include only the parts of the icons that differ, which may mean not including their borders. Turning off the mouse cursor is tempting, it speeds things up a lot, but it makes troubleshooting harder and may cause weird errors when a program is surprised that a mouse click happens without any preceding events.

What doesn't work very well in Sikuli?
  • OCR (Optical Character Recognition) works best when text is 12-14 pixels big. Use smaller or bigger text and you get funny results. 
  • Switching between applications on Windows is not reliable, the operating system sometimes doesn't honour your requests. You need to resort to switching by clicking on things, like Windows taskbar -> right click -> show desktop -> click on app icon. On Macs it may work better. 
  • There is no serious IDE, and no unit test framework, but that problem is easily mitigated with Google's Robot Framework and Eclipse. For a simpler environment try Notepad++ with a workspace file and Python and Robot Framework language style templates.

When you have tests running overnight and something goes wrong you need to know what happened. Logs are good, but not enough. You need to see what happened. We record all tests with Screenpresso. Just yesterday, I saw a recording of an error that I would find very hard to believe, if reported by a tester. And that's what I like about programming - I see miracles every day. :-)


Saturday, June 8, 2013

Scarecrow by Matthew Reilly

An AIM-120 AMRAAM being loaded onto an F-16CJ by Senior Airman Hector Huguet. Source: wikipedia. 

Scarecrow by Matthew Reilly reads like a script for an opening scene of a James Bond movie, repeated ad infinitum. You can open this book on almost any of the 450 pages and you will find an action scene.

Let me try a few random pages:

  • page 33 - headhunters are chasing captain Shane Schofield, aka Scarecrow, inside an abandoned Russian submarine;
  • page 77 - Gant Fox, Scarecrow's girlfriend, and her team, enter a tunnel into a mine full of terrorists;
  • page 156 - Scarecrow rescues Gant from headhunters inside a Hercules transport plane;
  • page 281 - a quiet moment, while flying Black Raven (Su-37), Rufus tells Mother how he met captain Knight;
  • page 346 - Scarecrow is on a supertanker where multiple fights are going on: Nigerian Presidential Guard, Israeli commandos, headhunters;
  • page 415 - Knight, who was flying a rocket plane (X-15) put his plane in a path of an AMRAAM rocket that was about to hit Scarecrow in his X-15.
Matthew Reilly has sold millions of books, and many people think that a movie about Shane Schofield would be a great hit. However, it would be very expensive to make if using real planes, boats, vehicles, and locations. Also, the level of improbability - Schofield should have died many times in Scarecrow, and lack of romantic scenes make it feel less like James Bond and more like Stainless Steel Rat. Still, could be a good action movie.