SimonSays: A stretch reminder program to cure those stiff necks

I finished the first Java version of a program recently which reminds programmers and other continuous computer users to stop and stretch. Versions are available for Mac OS X, Linux and Windows. It is the Java reincarnation of a commercial program I wrote years ago and sold quite a few copies of.
It took me three years of part-time effort to complete the new Java version. It was started on JDK 1.1 and finished on JDK 1.4.2. Over that time Java has matured enormously, and made it a lot easier to create a smooth desktop application. Simon has been developed primarily on Mac OS X and Linux. Mac OS X has also matured as a Java platform and I finished the application on IntelliJ.
If you supervise people there is a problem getting them to stretch regularly. On our project we now have four people who have their own chairs and regularly see physiotherapists. Yet a better approach is to develop healthy habits. These include posture, particularly seating position, and regular stretching.
Simon Says pops up at predetermined time intervals. Simon, our cartoon character then guides you through an animated series of stretching exercises . It logs your exercises, so when you get that stiff neck you can go back and check whether you have been streching, or not. When the exercise program is completed it sleeps for a set time after which it will pop up again with another program to run.
There are more than 100 exercises which exercise most parts of the body organised into programs. For example, stretches can be selected for cervical spine, arms and wrists, thoracic spine, lumbar spine etc.

Threads as a metric of the scalability of Java Virtual Machines – by Operating System

The scalability of a JVM depends on: – maximum memory – maximum number of threads – garbage collection – a host of miscellaneous factors. In this survey I look at the maximum number of threads. It shows that Linux is by far the superior Java platform followed distantly by Windows and then Mac OS X.… Continue reading Threads as a metric of the scalability of Java Virtual Machines – by Operating System

Published
Categorized as Java

Getting IntelliJ 4.52 and 4.5.3 working on Linux AMD64/JDK1.5

There are a couple of small problems with debugging. Until these are fixed by JetBrains it is worth pointing them out: libbreakgen.so Remove this from IntelliJ-IDEA-4.5.3/bin. It is a 32 bit binary and needs to be replaced with a 64 bit one. Removing it causes no loss in functionality. idea.lax Add -Didea.no.launcher=true to the following… Continue reading Getting IntelliJ 4.52 and 4.5.3 working on Linux AMD64/JDK1.5

Published
Categorized as Java

A very easy way to make your HttpUnit tests run much faster

I have been looking at the performance of our web integration tests lately. They are an order of magnitude slower than our EJB integration tests. JavaScipt! ——- It turns out 70% of the time taken by HttpUnit is setting up the JavaScript interpreter for each response. Some tests need this but not many. In your… Continue reading A very easy way to make your HttpUnit tests run much faster

Published
Categorized as Java

ehcache-1.1 released

23 November 2004 ehcache 1.1 released.  This version splits out the constructs package into a separate sub-project. This simplifies ehcache for those using it in Hibernate or directly. It also moves the constructs to a separate jar and release cycle. There is only 1 minor bug fix but then there was only one bug reported.… Continue reading ehcache-1.1 released

Published
Categorized as Java