I found this draft saved during January 14, 2007 at 8:28 pm, make a little changes such that I can publish it now (jump to last paragraph to avoid history).
That was my first “web coding” of the year after a time of isolation from web development during my national service.
In fact, that piece of js/web app I coded wasnt for the internet, nor on the intranet, but on a desktop of a workstation used in my unit. Its purpose was to display the time before I had left in the army.
There were other spreadsheet and applications some other soldiers did which counted the number of days to their ORD (Operational Ready Date), but I chose to create and personalise mine which
1. Tells me the absolute number of days, instead of working days
2. Updates and display the time change every milliseconds
3. Display visualisations of time spent instead of just numbers
4. Integrate it seamlessly on the workstation without doing any unauthorized stuff.
The result? Progress bars and numbers updating itself on the desktop automatically using- yup, active desktop. (We were using military computers, not developer’s machines, yes notepad was used). Colleagues thought it was pretty cool, while some of wanted it for themselves, others questions my reason for creating this as it seem that I couldn’t wait to finish my term in army. It wasnt surprising, as I knew some who counted the days they had to serve left in NS, and that me counting down with hours, minutes to fraction of a second seemed more extreme. The reply I had was that I lose track of time easily, and I wasn’t even counting, that my counter would not only tell me how much time I went though but to treasure the time I had left.
Fast forward to the present day, I thought I should treasure the time over here in noc silicon valley that I should use that I used over a year ago. I did have a non electronic copy of the source code I wrote and decide to modify it for my usage here. As seen on the screenshot, I use
+ a progress bar to tell the % of working hours left currently each day,
+ a progress on the percentage of time spent/left in NOC
+ a photo to appear as desktop wallpaper
+ configuration of active desktop
+ no, I wasn’t play games during office hours.
This running copy can be found over here, and you can follow the link and look at its source. Do take note of various limitations
- bad coding? it was coded as quickly as the idea came
- has bad browser compatibility. it was built for ie+active desktop
- resources hog. perhaps due to rapid reload
Another quick hack to the code I had was using gauge charts using google’s visualisations api.
Treasure every amount we have.
Recent Comments