THCcalc program was originally written for Un*x-type systems. That current branch is still accessible and will occasionally be updated. This old code is in C and under a BSD license. This does not apply for the new code.
The program calculates the THC content in a person's blood based on their usage pattern over a specific period of time.
It is text based and menu driven at the moment. It will be both a command-line utility and an emacs package when finished. The new code is in LISP (currently common lisp only).
The old version of the code has several subtle bugs which should not affect usability but could cause an issue for some users. This is why I recommend the lisp version. Many Linux distributions come with a lisp interperter or can easily get one. When the emacs verion of the program is complete you should have no problem using this on any *nix system as emacs is "almost" universal.
This program will offer many advantages over the program it was written to replace (the original THC Calculator not the previous version of this code) including: date association, data files, database management, and daily output that can be used to drive a graph or other database. It can also be configured based on how paranoid a person is by lowering the cutoff rate or even the rate of decay.
Please note: The version that currently exists is something you can use with as a daily thing if you want. It is not very forgiving at the moment (and might dump you into the debugger if -- for example -- you input a bad file name) but it does work.
This code can do a dump in a format acceptable to most spreadsheet programs, like the old version -- so you can print a graph if you want using openoffice or whatever. The emacs part still needs to be written which should not be very time consuming, IF everything goes well.
Depending on your browser, you might need to right click on the file and use "save as." .
· CMU Common Lisp
What's New in This Release: [ read full changelog ]
· More complete date validation functionality was added to the program.