大潭郊野公園
Pretty stoked that I found this park today; I realised after my last trip here that we were staying just around the corner!
I have not been doing particularly much recently – the only other exercise in the last month has been a mountain bike up Makara Peak in Wellington. The hill climb on a comfortable overcast day in Hong Kong took 30min and kept my heart rate above 180!
Many people were walking the tar sealed road that as several picnic areas, only a few ran/jogged. I stopped at a picnic area that also had exercise stations. Visibility was very poor. I am planning to walk to the reservoir at some stage and take a few photos. Perhaps also a picnic.
I am quite dissappointed that I haven’t got my online fitness log book running – these little sessions would look good in there.
I sat the exam on Thursday morning at a prometric testing centre,
I found the exam to be quite simple. But due to the duration that I took developing the assignment, my memory of some pieces was a little flimsy and I will have to wait and see whether that has much bearing on the outcome.
My advice: try and do the assignment in contiguous blocks, it will assist your memory and try and sit the exam within two weeks of preparing your assignment. The exam will test the pros and cons of your choices, but the exam will not be particularly tailored to your solution and you may be surprised by what you are asked 3 of the 4 questions I had to answer were related to the design of the UI, where I expected more questions would be more around locking, OO principals, etc.
I got the feeling that the questions were really just to ascertain whether you designed and built the assignment. I expect it will take about 2 weeks to get a result.

Create web service to return personal weather station or airport weather station data from wunderground.com.
The web service will return JSON or XML data. wunderground.com API returns XML data.
When a user request weather information for a location, the web service will return the closest weather information for that location that is available. If nothing is available, or the closest is deemed to be too far away, the user will be asked if this is good enuogh and a message will be added to our logs informing the application administrator that closer weather data is required.
If the user, or an administrator adds a new weather station, the longitude and latitude will be added to the database, as with the name of the station, a link, and an ID that will map to a file system location, when it was added and if the last update was successful. Weather stations once added will be updated every 3 hours, 8 times in a 24 hour period. These will be translated into JSON files when requested.
The directory system will be based on weather station ID and the date in the form YYYYMMDD. Each directory will only contain up to 8 XML files, relating to a single weather station and day. Each directory may also contain JSON files. Perhaps a PHP XSLT engine, or C XSLT engine could be used to generate the desired JSON and JSONP files. We may utilise a library such as Xalan-C to generate JSON files. I’ve investigated XSLT solutions and it appears that PHP has suitable XSLT functions. I will modify this procedure, but it shows that the functionality is suitable.
$proc = new XSLTProcessor();
if (!$proc->hasExsltSupport())
{
die('EXSLT support not available');
}
// Load the XML source
$xml = new DOMDocument;
$xml->load('test.xml');
$xsl = new DOMDocument;
$xsl->load('test.xsl');
// Configure the transformer
$proc->importStyleSheet($xsl); // attach the xsl rules
if(isset($_GET["callback"])) echo $_GET["callback"]."(";
echo $proc->transformToDoc($xml)->firstChild->wholeText;
if(isset($_GET["callback"])) echo ")";
We will be able to resolve the closest weather station or stations to a particular point and (in our user interface) allow a user to select the favoured weather station.