April 19, 2008
Last Wednesday, my Suunto Stinger died on me after about 6 years of faithful service. It would not enter Divemode anymore. I was already looking for an excuse to go for the Suunto D9. Here was my excuse. So instead of going for a repair I bought the D9.
For their range of divecomputers, Suunto has released Dive Manager software, which shows all data gathered from a dive, like depth, temperature, air.
With my me new toy, Dive Manager software shows gas consumption and temperature across the dive, which my Stinger would not let me have… I took the installation CD and….
System requirements: Windows XP!
Come on Suunto! Where is my Mac software? In 2008?
Fortunately there is DiveLog.
A payware application for Mac OS X Leopard, which can read your D9 data. I needed to update the USB driver for my Mac, but after that I was good to go. Well done Marc.
Here is a screenshot of my second dive with it:
I think Suunto should give Mark some money and buy that software so they can bundle it.
April 17, 2008
We have all been there, when developing a J2EE application, the environment nightmares. When your stuff goes through the different stages of integration, acceptance, production etc. Stuff just breaksTM, because of misconfiguration. Configuration which you have no control over.
Missing a database table here, a JNDI binding forgotten, a URL not reachable, weird classloading nightmares, because another jar is being used in acceptance.
Here is where SelfDiagnose comes to the rescue. Somehow this little gem gets no press whatsoever. Lately some new tasks have been added to the mix. This blog by Ernest explains something about compile-time dependencies. But more interestingly (to me), SelfDiagnose now contains an
CheckAtgComponentProperty task and a
CheckAtgComponentProperty lets you check an ATG property. I know this can be done with ATG’s component browser as well, but hold on.
CheckEndecaService will check the availability of the Endeca service.
The combination of these tasks and the chaining of these creates a powerful diagnosis. See the following snippet of code, where first an ATG property is queried which then is chained to the Endeca task. Another nifty SelfDiagnose feature.
This code is heavily customer oriented, but you will get the idea.
The real cool and not so well understood part about SelfDiagnose in my opinion, is that it will check a bunch of tasks from inside the environment you are executing. This means that the above example will output the ATG configuration and check the configured Endeca instance of the actual environment.
Hitting the selfdiagnose.html url will show:
I just mentioned the ATG and Endeca tasks, but there is a lot more which can be extremely helpful.
This nifty feature can save some energy when something is misconfigured. Checking the selfdiagnose URL can save a lot of time.