20 Nov 2003, Konstantin Olchanski, , cannot shutdown defunct clients 
 | 
> While reviving midas on midtig01 after it was not used for a while ... 
 
> [local:tigress:S]/>scl -w
 
> Name                Host                Timeout    Last called
 | 
   20 Nov 2003, Konstantin Olchanski, , set-uid-root midas programs 
 | 
I see that MIDAS installs several set-uid-root programs into /usr/local/bin.
 
In this age and time of evil computer hackers, this is not a good idea and
 
we should Do Something (TM) about it. Here is my risk assessment:
 | 
   
   20 Nov 2003, Konstantin Olchanski, , cannot shutdown defunct clients 
 | 
> > 1) shutdown from mhttpd "programs" page -> "cannot shutdown client"
 
> Have you tried a "cleanup" in ODBEdit?
 
 | 
   
   27 Nov 2003, Konstantin Olchanski, , Implementation of db_check_record() 
 | 
> I have therefore implemented the function 
 
> db_check_record(HNDLE hDB, HNDLE hKey, char *keyname, char *rec_str, BOOL
 
correct)
 | 
   30 Nov 2003, Konstantin Olchanski, , bad call to cm_cleanup() in fal.c 
 | 
fal.c does not compile: it calls cm_cleanup() with one argument when there
 
should be two arguments. K.O. | 
   
   30 Nov 2003, Konstantin Olchanski, , Implementation of db_check_record() 
 | 
> > I have therefore implemented the function 
 
> > db_check_record(HNDLE hDB, HNDLE hKey, char *keyname, char *rec_str, BOOL
 
> correct)
 | 
   
   01 Dec 2003, Konstantin Olchanski, , Implementation of db_check_record() 
 | 
> Fixed and committed. Can you check if it's working?
 
Yes, it is fixed. Thanks. K.O. | 
   05 Dec 2003, Konstantin Olchanski, , HOWTO setup MIDAS ROOT tree analysis 
 | 
> root -l
 
root> TFile *f = new TFile("run00064.root")
 
root> TTree *t = f->Get("Trigger")
 | 
   05 Dec 2003, Konstantin Olchanski, , HOWTO setup MIDAS ROOT tree analysis 
 | 
> root -l
 
root> TFile *f = new TFile("run00064.root")
 
root> TTree *t = f->Get("Trigger")
 | 
   05 Dec 2003, Konstantin Olchanski, , HOWTO setup MIDAS ROOT tree analysis 
 | 
> root -l
 
root> TFile *f = new TFile("run00064.root")
 
root> TTree *t = f->Get("Trigger")
 | 
   
   01 Jan 2004, Konstantin Olchanski, , Poll about default indent style  
 | 
> I don't feel a strong need of giving up a "-i2"...
 
 
I am comfortable with the current MIDAS styling convention and I would rather not
 | 
   14 Jan 2004, Konstantin Olchanski, , First try- midas on darwin/macosx  
 | 
While watching "The Wizard of Oz", the greatest movie ever made, I took a shot at building 
 
midas on my macosx computer. After stumbling on a few small and on a few hard problems, I 
 
built almost everything. However, odb does not work- some further debugging is in order.
 | 
   
   16 Jan 2004, Konstantin Olchanski, , First try- midas on darwin/macosx  
 | 
> Great, I got already questions about MacOSX support...
 
> Once it's working, you should commit the changes.
 
 | 
   
   18 Jan 2004, Konstantin Olchanski, , First try- midas on darwin/macosx  
 | 
> I would like to keep all OS specific #includes in midasinc.h
 
 
No go. Here is the problem:
 | 
   
   19 Jan 2004, Konstantin Olchanski, , First try- midas on darwin/macosx 
 | 
> > Simplest solution is to take sys/mount.h out of midasinc.h and include it in system.c
 
> Agree.
 
 | 
   19 Jan 2004, Konstantin Olchanski, , darwin aka macosx changes 
 | 
I commited the final bits to make Midas build on Darwin aka macosx.
 
 
Here is the summary:
 | 
   30 Mar 2004, Konstantin Olchanski, , elog fixes  
 | 
I am about to commit the mhttpd Elog fixes we have been using in TWIST since
 
about October. The infamous Elog "last N days" problem is fixed, sundry
 
memory overruns are caught and assert()ed.
 | 
   28 Apr 2004, Konstantin Olchanski, , mhttpd "start run" input field length? 
 | 
I am setting up a new experiment and I added a "comment" field to "/
 
Experiment/Edit on start". When I start the run, I see this field, but I
 
cannot enter anything: the HTML "maxlength" is zero (or 1?). I traced this
 | 
   07 May 2004, Konstantin Olchanski, , min(a,b) in mana.c and mlogger.c 
 | 
When I compile current cvs-head midas, I get errors about undefined function
 
min(). I do not think min() is in the list of standard C functions, so
 
something else should be used instead, like a MIN(a,b) macro. To make life
 | 
   06 Jun 2004, Konstantin Olchanski, , Makefile: set -rpath 
 | 
I commited Makefile bits to set the RPATH on dynamically linked executables
 
to find libmidas.so and ROOT shared libraries without setting
 
LD_LIBRARY_PATH , etc. K.O. |