Software

Disk Clock

A new Conception of Time for the OS X Dashbaord

Naked Javascript

Browse and edit Javascript Objects.

What's new

November 8, 2009

New version of Naked Javascript is up. It refreshes jQueryUI and other dependencies. New features include:

November 3, 2009

The first stage of the massive Disk Clock refactoring project is complete. Features and disks have been slowly coalesced and excised into separate files. The change is so thorough I'm starting to call it 2.0, even though it isn't a publicized release. This implies that the public release will be some 2.n, but so it goes.

From around 2200 lines, the main Javascript file is down to 700, though framing ceremony and modularity handling have undoubtedly increased the total size. In fact zip file size has gone from 147kB to 184kB, which says something about modern software engineering practice and the disappearance of small applications. The next stage is to get a switchable runtime/compiletime require mechanism working so I don't need the great litany of script tags in the html document.

Finally, though I put it off during the refactoring, I had to make a feature change. I had noticed that the day disk with it's day and night was easier to read then most disks, with their four colored sections. So I switched to a half colored presentation. After looking at it a bit, I decided that having color on the root side worked better, although it was sort of opposite the day/night pattern. However, I found that reading the 4-hour disk became harder, because it had been easy to pick out the hour sections. So I restored gradients for small-count disks, but shifted the colors over so the dark section is roughly the same as the other disks.

June 16, 2009

Added the Ambient Clock to the Gallery of Unusual Time.

I also keep forgetting to mention Gaisma. If you at all enjoy the daylight view of Disk Clock, Gaisma offers a plethora of localized information and graphs on daylight, with a little on other stats such as precipitation.

June 14, 2009

Disk Clock latest 1.13. Opera finally fixed their scaled-arc rendering, so Disk Clock now has basic function as an Opera 10 widget. This involved fixing some other Opera related issues. Differentiated some colors. Fixed daylight colors for distant time zones.

May 16, 2009

I've been bringing as much of Canvas P.J.s as possible in line with the canvas test suite. I've got pretty much everything that might reasonably be done, with the exception of patterns and gradients. There's actually a fair bit that isn't reasonable, though the only piece I miss myself is alpha transparency, which isn't supported in PostScript.

March 31, 2009

Disk Clock latest 1.12. Animation tweaking, getting rid of invisible things, more css based properties. Now uses url parameters, so it's possible to bookmark configurations when using it in the browser.

March 21, 2009

Disk Clock latest 1.11. Expanded JSON to HTML to allows classes, ids, and attributes. Brought in some QUnit to test it. Used new capabilities to expose previously hidden settings in DC, including the lifetime/birthday disk set. Tweaked animation function back towards original fast-to-slow.

March 12, 2009

Disk Clock latest 1.10. Reinvented modes of configuration and interaction. Smoothed out transitions. Put a wrapper around subclassing. Short release, since further progress depends on piercing the dense cloud of Javascript unit testing frameworks.

March 08, 2009

Disk Clock latest 1.9. Fixed a negative-radius bug exposed by Safari 4 beta, and then carried on into abstracting over the widget platform. Now has fallback buttons if not running on OS X. Changed default settings to do less animation and switching.

February 26, 2009

Disk Clock latest 1.8; internal refactoring and recentered indicator.

February 07, 2009

Disk Clock latest 1.7, and Disk Clock stable 1.0.4

With the disks set to longer term disks - week, moon, year - it didn't update until the mouse passed over it. With faster disks, a regular update comes along and sets things in motion. Since this won't always happen, I had to trigger the time event early on dashboard show.

Firefox has peculiarity that the hidden input element will sometimes flash a highlight box when updating. While working on the update issue, I noticed this flickering rapidly while cursor was sitting still. It was only occurring over the text box. This box is re-created from freshly minted HTML on updates. Perhaps due to the above fix, the creation of new elements was triggering the mouseover event - which triggered a refresh of the text box and started the cycle all over again. I'm now caching the HTML and not updating the box if there is no change.

DC Latest also has the beginnings of internal refactoring, with an eye towards 2.0.

January 06, 2009

Disk Clock latest 1.6. Started late in the weekend, so it carried into the week, which I'm otherwise trying not to do. Implemented new disks based on acupuncture/dim mak theory. Made a lot changes in color handling. Added new mode for bedtime and made it default. Fixed a bug with new animation system that prevented the one sub-second disk from spinning.