THCcalc calculates the THC content in a person's blood based on their usage pattern over a specific period of time.
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." .
In a hurry? Add it to your Download Basket!
What's New in This Release:
- More complete date validation functionality was added to the program.