||
|
 Tuesday, June 07, 2005
Good Lord! Was This Really Written By...
'That' Chris Trotter....
http://www.kiwiblog.co.nz/archives/010776.html
“Higher taxes are no longer viewed, as they were back in 1999, as the price that New Zealand's better-off citizens should expect to pay for improved social services.
Six years of unprecedented spending on health and education have not produced the anticipated results.
Even on the Left, there is a growing sense of frustration that no matter how much money gets spent, nothing seems to happen.
New Zealand's bureaucratic structures would appear to have an inexhaustible capacity to absorb taxpayers' dollars, along with an indefatigable propensity to divert, discourage and delay any and every attempt to bring about even the smallest of administrative changes.”
Politics|Tuesday, June 07, 2005 11:38:09 PM UTC||
|
Apple Indeed Going to x86
Details from the WWDC Keynote here.
Will be SWEET to dual boot an x86 with Longhorn and MacOS X 
"Every release of Mac OS X has been compiled for both PowerPC and Intel . This has been going on for the last five years"
Toy Box|Tuesday, June 07, 2005 2:49:36 AM UTC||
|
Diving Pics from Great Barrier
Wifey and I went to the Reef for our Honeymoon recently.
Here are some photos of our trip with Pro Dive Cairns. Second trip with them... good operation.







Adventure Sports|Tuesday, June 07, 2005 1:25:38 AM UTC||
|
 Monday, June 06, 2005
Gettin Fit. Day 1
OK. So this post has a bit of stuff about some of my plans as well as my first weigh in.
I weighed in this morning at 108.2kg 25.6% body fat
This is still much lightr than my peak weight (about 115kg) but my target is to go under 100kg- ideally to around 96-98kg. This was my weight when I was at the peak of fitness at the end of highschool. I am a big guy anyway- broad shoulders, 6'3” - so I'm never going to be a flyboy.
I'm going to reward myself for hitting my weight target with Lasik Eye Surgery So I really need to get it off before paddling season kicks in properly 
I got all of my exercise technology sorted out last night. I have it all set up in my lounge.
- Diamondback Road Bike on a Magnetic Trainer
- Media PC running Snapstream (Set to record good stuff to watch on bike as well as the daily episode of Pilates TV on TV1)
- Pilates Mat - tried with my Thermarest last night- no good. Need a closed cell mat. To buy today.
I gave the system a trial last night. Did 25 mins on the back and an episode of Pilates (this week is Boy exercises week so all strength stuff- might save them away till a bit later) then off to bed by about 1/2 past nine. I had finished all my exercise by 9pm but then watched some Kayak Porn because I felt the need for a thrill.....
Up this morning and into the diet routine.
- Protein shake for breakfast. I'm going to add a bannana if I have exercised in the morning. I didn't exercise this morning because I couldn't find a lead for the dog- added to shopping list.
- I made some Tuna sammies for lunch- two sammies - white bread will get brown next time for more fiber - small squirt of Tartare sauce (soooo full of FAT!). I'm going to have a protein shake too as I brought some to work with me.
- Snacks over the day I have a Tasti muesli bar and a pams muesli bar- they were the low fat options at the supermarket. I also have a bottle of Gatorade made up from powder. Need to drink more water too. Will report back on how we get on.
- Dinner - Going to be fillet steak and salad with minimal dressing. Need to buy salad.
Exercise plan for today
- Run the dog @ Ross Creek - about 30 minutes
- Game of Canoe Polo @ Moana Pool - about 40 minutes
Shopping for today
- Dog leash - Supermarket
- Readymade Salad - Supermarket
- Second hand dumbells from Cash Converters
- Pilates mat from Para Rubber
General tasks for today
- Find heart rate monitor watch. The alarm goes off at 6:30am every morning so it is somewhere in the house.
Gettin Fit|Monday, June 06, 2005 9:04:17 PM UTC||
|
I am on a mission.....
I'm going to lose some kilograms. Mainly because I've got back into kayaking and I'm too fat for pretty much every playboat (even the big boy models) on the market. I also realy want to look like a 'sexy beast' for Christmas 
So. I'm going to blog about it. That way all you people who read this blog religiously can kick my ass if I fall off the wagon. I'm gonna try and do a sort of daily diary with my eating and exercising and all that jazz.
Please, Please, Please... if you find me slacking kick my virtual ass
Gettin Fit|Monday, June 06, 2005 8:43:23 PM UTC||
|
 Monday, May 30, 2005
Ths Joys of Internet Kiosks
The stupid internet kiosk @ Dunk Island will not lewt me enter paths with URLS... so I ahve to create a link to my Outlook Webmail Here.... MEH!
It still didn't F'ing work... NOTE: If travelling to Dunk prepare to do without interweb :-(
1t|Monday, May 30, 2005 5:14:39 AM UTC||
|
 Sunday, May 22, 2005
Rory Doesn't Like Episode III.....
”
There’s a lot of “dialogue” between Anakin and Padme that goes like this:
Anakin: I think you’re so beautiful.
Padme: No – you are.
Anakin: No, seriously, baby. You’re hot.
Padme: Oh, Annie.
Anakin: I love you.
Padme: No, I love you.
Anakin: For reals, though, I think you’re so awesome.
Padme: You’re so nice.
Anakin: Obi-Wan is a dickhead.
Padme: Really?
Anakin: Totally.
Padme: No way!
Anakin: Way.
Padme: Wow. I love you.
Anakin: I totally love you more.
[lather, rinse, repeat]”
See more here...
Human Aggregation|Sunday, May 22, 2005 2:43:19 AM UTC||
|
How to stop your underwater camera housing from fogging
Grab some Silica gel sachets (the ones that come with pretty much every item shipped out of china these days). Dry them in the oven, store them in a ziplock back.
When you pack your housing, chuck one or two inside. Leave the housing for half an hour... Wammo- dry air in housing == no condensation.
Toy Box|Sunday, May 22, 2005 1:23:25 AM UTC||
|
 Friday, May 20, 2005
Broadband In Hotels
Rod Drury has blogged about broadband in hotels. It's true, the Asian hotels do screw you pretty hard for boradband access. Singapore is CHEAP compared to China 5* Hotels.
My hot tip for travelling to broadband equiped hotels as to take your own WiFi Router. At my hotel in Perth last week I had my own private WiFi network setup that covered not only my room but also the restaurant- I could surf the net over breakfast 
1t|Friday, May 20, 2005 1:05:08 AM UTC||
|
 Thursday, May 19, 2005
Tools You Can't Live Without - Red Gate SQL Compare
Every now and then you come across a tool that is just so fundamentally useful that you'd have to have rocks in your head if you didn't use it- Red Gate SQL Compare is one such tool.
Since starting Kognition I've become a firm believer in the concept that a well organised change management process is good for business (reduces support costs), good for the customer (reduces errors) and most importantly good for developer sanity.
We use a Dev->Staging->Production lifecycle. This is reasonably easy to manage for application code but databases are always the bugbear.
SQL Compare makes managing the migration of databases changes through the various lifecylce stages. Basically it allows you to compare and then merge the changes in SQL server databases. A simple concept but their execution is really good.
If you are an enterprise or an enterprise developer then you really should be using this bit of kit. If you are doing dev->staging->production migrations by hand then it will save you a huge amount of time. If you are not doing the migrations at all (and do all your work on production databases) then you are insane.
Oh... BTW: The person to thank for our impecable Change management is our CTO @ Kognition Mr Nick Head.... really smart process oriented cookie.
.NET|Thursday, May 19, 2005 10:45:49 PM UTC||
|
 Monday, May 16, 2005
Brendon from Provoke. World Famous In Dunedin
Brendon from Provoke was in our student rag this week- in the Bunch of 5s Question and Answer section
Obviously down here trying to pilfer some student talent....
Pity I was in Perth otherwise I might have had to drag him out for a Tech Ed Geek Festesque Boozup @ a student pub.
Rambles|Monday, May 16, 2005 11:37:18 PM UTC||
|
Getting Better Performance out of SQL Server Table Variables
OK... So I've got a stored proc that does some searching in the DB. Something like
DECLARE @ResultsOfFTSQuery TABLE (componentid int) IF (@FullTextSearch <> '') BEGIN INSERT @FTSResults SELECT ComponentID FROM Components WHERE CONTAINS (Rendering,@FullTextSearch) END
SELECT TOP 10000 * FROM TheTable WHERE (TheKeyID in (SELECT ComponentID FROM @FTSResults)) AND .....
And the performance gets REALLY bad as the results of the first query increases. Simply adding a PRIMARY KEY to the table variable increased performance from 40 secs down to sub 1 sec.
DECLARE @ResultsOfFTSQuery TABLE (componentid int PRIMARY KEY)
This article notes that you can't have 'real' indexes on table variables, but if you create a PRIMARY KEY or UNIQUE contstraint you get one for free.
I'm off to spend some time trying to find other procs I can optimise 
.NET|Monday, May 16, 2005 8:53:49 AM UTC||
|
Nathan Mercer has gone to DPE
Sean has blogged that Nathan Mercer has joined the DPE team.
This is really cool. Nathan is a really good bugger so that's just great. Sean has done a bloody good job- taken his almost empty team and stocked it with a whole load of really talented people.
[PERSONAL RANT] Sean says he doesn't like the term evangelist. I'm the opposite. I reckon it's a GREAT term. I'd love to have it on my business card someday.
Oh wait... I own the company... maybe I could put it on my business card.
.NET|Monday, May 16, 2005 7:11:59 AM UTC||
|
Integrating Subversion and Gemini. Inserting Gemini Issues from Application Code
At Kognition we make extensive use of Gemini for our issue tracking and as a lightweight project management tool. For source control we use Subversion. Half way through a project last year we had the bright idea of seeing if we could get the two working together. We developed two time-saving utilities for our internal use. We've had some interest from people wanting to achieve the same thing, so we're giving them out to the community.
Please note that these projects are basically just hacks we whipped up in a short amount of time - they are set up for us to use internally so will require some modification for your use, specifically you will need to use your own Gemini access code and WS URL. There may be other things as well...
The first was an extension to the MS Exception Management Application Block that handles all our unhandled exceptions in our smart client apps, presents the user with an option to report the error as a bug, and automatically creates the bug report in Gemini complete with stack traces. This was achieved by making use of the Gemini Web Service API.
The second was developed when we wanted to have a better audit trail of our bug fixes - especially when we discovered we had regressed old issues The tool is a C# command line app that we install in the post-commit hook directory of our SVN server. It gets invoked automatically by SVN when a dev commits any files. If the comment includes a specially formatted string representing a bug ID (#nnn), we invoke the SVN command line tool to query the comment and the changed files, and then we format them nicely and use the Gemini WS to append a comment to the issue.
Not really much to them at all, as all the hard stuff has already been done for us by the lovely folks working on Gemini and SVN 
Again, if anyone wants to clean these tools up and make them a bit more generic they are more then welcome to.
SvnGeminiCommenter.zip (15.87 KB)
ExceptionManagement.zip (81.93 KB)
Licenced as below.
Copyright (c) 2005, Kognition Consulting Limited All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the Kognition Consulting Limited nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.NET|Monday, May 16, 2005 12:27:23 AM UTC||
|
Integrating Subversion and Gemini - Some Introduction
*this is the BLAH BLAH. To download the goodies try this post*
I was over in Perth last week and a couple of things happened. One is I caught up with Nick Randolph and we had a chat about integrating Subversion and Gemini. The second is I came to the conclusion that I had kinda been neglecting the technical side of my blog- too much politicking for me. So I'm going to try and be a little more tech focused over the next few months.
But anyway. Onto the topic of the post. We have some stuff here @ Kognition that we have implemented to allow us to link our version controll system (Subversion) with our Issue Management system (Gemini). What it allows us to do is have the check in comments from version control entered against issues into our issue control system to close the development/debug loop. We also have some stuff to allow us to integrate issue reporting directly into our applications for exceptions that are thrown.
Here is some stuff from our CTO, Nick Head on how it all fits together. It was put together by Nick and Simon 'Skip' Gardiner... I'm just a lowly user of the system 
“its pretty easy to implement once you know the API's etc. We have two internal tools we have developed for integrating Gemini and SVN: an exception management framework for reporting bugs to Gemini, and an SVN post-commit hook so that comments and file modifications can be logged against the correct work item in Gemini.
The first one is a no-brainer - we just have a form that pops up whenever an unhandled exception ocurrs. All projects contain a project ID matching up with the Gemini project. We query the Gemini WS for the project's components, display them as a drop down, and let the user enter any additional repro details for the bug. Then when they hit submit, we get the full stack trace of the error, enabling us to fix the bug much faster than we would previously.
The next tool is a C# command line app that we install in the post-commit folder on our SVN server. This gets invoked on every commit. If the dev adds a bug ID in the comment in the format #nnn we know that its related to an issue in Gemini. We get the commit's revision number, query SVN for the comment and the changed files, then using the Gemini WS we add a comment to the issue.
I love that last little tool - means we have an effective way of tracking what files were modified for each issue.
We've thought about releasing these tools with an open source BSD license, but we just don't have the time at the moment to productify them (e.g clean up the code) and make them generic enough for use by other parties.
Actually, screw it - we will release the tools.”
So here you all are- our Gemini integration libraries. Released under the BSD license.
.NET|Monday, May 16, 2005 12:24:13 AM UTC||
|
 Thursday, May 12, 2005
New Red Shoes
Got a new pair of red shoes yesterday. THey are super sweet ltd edition Pumas. REd but with little mint green rubber space invaders on the back. Look out for them @ Tech Ed this year!

1t|Thursday, May 12, 2005 12:19:18 AM UTC||
|
In Perth
I'm in Perth at the moment. We're at a Surgical conference pitching our new piece of surgical audit software. It's a really clever bit of kit that runs on both Pocket PC and Desktop using broadly the same code base. The team at Kognition have building the midnight oil recently getting it together and it REALLY kicks some ass. We might blog a bit more detail on it further down the track.
I'm staying at the Emerald Hotel which, if you ever end up in Perth, is really rather good. It was just the cheapie that the travel agent suggested but it's close to the convention center and close to Kings path to go running. Oh, the broadband is cheap too and works happily with my WiFi router If you want to get back into your morning running routine then Western Aus is the place to do it. Your body, still on NZ time, wakes up at about 4am so you are more than ready to rock by 6am.
Kings park is a great place to go running. From the city yu want to run over the freeway overpass and up Mount Street. While going up Mount St oggle at all the nice apartments. THen I've been running east around the edge of the Mount admiring the sunset. Finally to finish there is a monstrosity called Jacobs Ladder which is really just a SUPER eivl set of stairs. Get to them off Mount St on the way home. One jog up these turns my legs to jelly.
Reason I've been slack at blogging recently has been my high travel schedule. Should calm down for a bit now. Added a new category called 'On THe Road'.... will try and blog more.
On The Road|Thursday, May 12, 2005 12:07:47 AM UTC||
|
|
|