--------------enigE6ED51D0EBF56BF1C7C91C63
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Alasdair Bell wrote:
> So, anyone working on something awesome?
> 
> Brag here...

My pet project has been a robust MediaWiki table editing automation tool.== More detail starts here ==

A little background: I have a fairly relaxed summer job, at which I get paid by 
the hour. We have an internal MediaWiki site that we use to store various 
information (how to set up your email, for example) to make everyone's life 
easier. I have a page that contains a series of tables that contain my 
"timecard" (clock in/out times). Every pay period, I have to go to that page and 
calculate by hand how many hours I worked for each day, add them up and send 
them off.

After doing this every summer for three years, it has gotten pretty tiresome. I 
decided to write a Ruby app to automate the process for me. Specifically,t must:

* Read the data from the site and do hour calculations on it.
* Have the capability of adding the "total hours" back to the table and posting 
it on the wiki.
* IMPORTANT: Be flexible enough to not have to make me change the style of the 
tables, so the wiki source will remain exactly as human-readable as it isow, 
so I can live without the script if need be.

Right now it does those three things, and I'm pleased with it. When I getored 
I add more features to it, such as:

* The ability to clock in/out via the command line.
* Run through previous weeks and check to see if I made math errors (thisad 
very interesting results!).
* Changing my "hours algorithm," i.e. what do I do with in=>"8:00",out=>"10:00"? 
   Are those times AM or PM? (it could be a very short day, a very long day, or 
me coming in in the evening to fix some catastrophe.)

It's more complicated of a project than I suspected it would be (mainly because 
of the third requirement I listed), but it has been a blast and has savede 
from doing some tedious math.

Okay, that's all I'll say for now. Thanks for reading!

-Dana


-- 
Dana Merrick - System Administrator
Integrated Computer Solutions, Inc.
54B Middlesex Tpke, Bedford, MA 01730
617.621.0060 x112 - http://www.ics.com


--------------enigE6ED51D0EBF56BF1C7C91C63
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFIkdT67b+8UB5G/wMRAipeAJ0cowr6W3lif2POzC2Uqd7ZUlZmKwCdGmPF
f03tyX3B6RqnwLpZlWdU+uUßÑi
-----END PGP SIGNATURE-----

--------------enigE6ED51D0EBF56BF1C7C91C63--