Thanks to the good graces of
,
I now have my very own
web page. Isn't it hip.
I have written open-source free nutrition software, NUT, which records what you eat and analyzes your meals for nutrient levels in terms of the "Daily Value" or DV which is the standard for food labeling in the US. The program uses the free food composition database from the USDA. This free nutritional analysis software was written for Unix systems (I use Slackware Linux), but can be compiled on just about any system with a C compiler. (To get a free C compiler, Windows people might look at Cygwin or MinGW, and Mac people might look at xcode.) By experimenting with NUT, you can find the optimal level of the various nutrients and how to implement this with foods available to you. NUT can help reconstruct the lost instruction manual to your care and feeding because, when the authorities and crackpots disagree on the proper human diet, you can design an experiment using the food composition tables to discover the truth!
Features of NUT include:
ATTN Ubuntu users: the console version of NUT runs when invoked in a terminal, so if you installed the Ubuntu/Debian version, then open up an xterm or other terminal and type "nut-nutrition". If their version doesn't work for you, take the latest version from here and compile NUT yourself--it's not hard to do. Just read the README, and if you don't get it, send me an email telling me what you don't understand and I'll help you with it. For the GUI version, install the "fltk" package before compiling NUT if you don't compile FLTK from source.
This release includes two versions of the program: the usual console program and a C++/FLTK-based GUI. The graphical user interface version retains the essential program functions and the same general layout, although the connections between the program functions are made synchronous and explicit in the GUI. Both the console program and the GUI operate identically on the underlying database.
Prior to installing NUT, install fltk-1.1.10 or a "weekly snapshot 1.3.x-rxxxx" but NUT specifically does not work with the so-called "stable" fltk-1.3.0. Neither does NUT work with fltk2 or fltk3 (yet).
You may use the console and GUI versions interchangeably, but not at the same time because they would overwrite each other's changes to the database just as two instances of the console program would; although the problem is made worse because the GUI saves its state much more often and a change to anything in the GUI is a change to just about everything in the GUI.
The GUI is resizable and the font size scales automatically with resizing. You can also change the font size and the size of the application by editing the file "fontsize" in the .nutdb directory. The range is 8 to 24; the default is 12.
If you want perfection, here is a patch for the GUI in nut-17.8 that fixes three small bugs that are not worth a new release: the GUI tends to come up one font size too small, the nutrient charts don't really display right when the analysis period is long, and the nutrient button widget has an extraneous line around the selected tab. Copy the patch file "nutpatch" into the nut-17.8 directory and before compiling, issue the command "patch -p1 < nutpatch" to apply the patch.
Here are:
Midi realizations of my musical compositions: