Back Midas Rome Roody Rootana
  Midas DAQ System, Page 136 of 163  Not logged in ELOG logo
New entries since:Wed Dec 31 16:00:00 1969
    Reply  09 Sep 2026, Konstantin Olchanski, Info, change in cm_shutdown and the Programs page 
> There was a bit of confusion on the MIDAS Programs page with programs that have 
> similar names. This confusion relates to the use of bUnique in cm_shutdown() and 
> cm_exist().
Entry  09 Sep 2026, Konstantin Olchanski, Info, added db_get_data_vec() & co 
The MIDAS RPC layer can pass std::string and std::vector data of arbitrary size.

I am adding corresponding ODB API functions to use this. Instead of taking a pointer to preallocated array 
    Reply  09 Sep 2026, Konstantin Olchanski, Info, ODB links to array elements explained 
My update of db_get_data_vec() got delayed because I had to figure out
how the links to array elements work and fix a number of places
where they are not handled correctly or consistently.
Entry  18 Sep 2026, Konstantin Olchanski, Bug Fix, odb json encoder fixes 
we have one computer that crashes regularly and produces a corrupted ODB. while 
debugging it, I discovered that for some ODB corruptions and for some unexpected 
ODB errors, the ODB JSON encoder will produce invalid JSON files that cannot be 
Entry  18 Sep 2026, Konstantin Olchanski, Info, mhttpd cleanup 
some cleanup of mhttpd:
- remove obsolete c-generated equipment view page (replaced by eqtable.html)
- remove support for obsolete versions of mongoose (HAVE_MONGOOSE4, HAVE_MONGOOSE6, mhttpd6)
Entry  21 Sep 2026, Konstantin Olchanski, Info, proposed split of midas.cxx 
A split of src/midas.cxx was discussed during Stefan & Thomas R. visit to TRIUMF.

Main reason for the split is to simplify analysis using AI tools, they work best on smaller files that contain closely related 
    Reply  21 Sep 2026, Konstantin Olchanski, Info, proposed split of midas.cxx 
> A split of src/midas.cxx was discussed during Stefan & Thomas R. visit to TRIUMF.

A test of split src/midas.cxx is now pushed to branch test/split-midas-cxx
    Reply  21 Sep 2026, Konstantin Olchanski, Info, proposed split of midas.cxx 
> > A split of src/midas.cxx was discussed during Stefan & Thomas R. visit to TRIUMF.
> 
> A test of split src/midas.cxx is now pushed to branch test/split-midas-cxx
    Reply  24 Sep 2026, Konstantin Olchanski, Info, proposed split of midas.cxx 
> The history of at least bm.cxx seems to be screwed up. Bitbucket shows this:
>   https://bitbucket.org/tmidas/midas/annotate/fa649e6e9bb7447b4da01e964c6dc14b01e64052/src/bm.cxx?at=test%2Fsplit-midas-cxx
> and CLion shows what I attached here. Most lines are tagged "Today Olchanski" which cannot be.
Entry  29 Sep 2026, Konstantin Olchanski, Info, mhttpd URI encode and decode 
Stefan uncovered a bug in mhttpd URI decoding, the following did not work:
cd midas, cd resources, cp example.html c++.html, open http://midas/example.html (works), open c++.html and it bombs with error about "c  .html" (two pluses
replaced by two spaces).
    Reply  29 Sep 2026, Konstantin Olchanski, Info, NOTICE: MIDAS Repository Host Migration 
gitlab notifications do not send email on each commit and push (like bitbucket did).
to enable this, add your email address to the gitlab "emails on push integration": 
https://gitlab.triumf.ca/groups/midas/-/settings/integrations/emails_on_push/edit
Entry  28 Oct 2026, Konstantin Olchanski, Info, bitbucket builds restored 
I restored the bitbucket builds. currently build for Ubuntu 22 and 24, Alma Linux 
9 and 10. "make test" replaced by "make test-old". K.O.
Entry  29 Oct 2026, Konstantin Olchanski, Bug Fix, odb free_data() refactored 
I was debugging a core dump from a crash inside ODB free_data() and after 
refactoring free_data(), I may have fixed a bug in merging of free data blocks.
    Reply  05 Nov 2026, Konstantin Olchanski, Bug Fix, repair of corrupted ODB free lists 
automatic free list repair is now enabled by default. after fixing a few more minor problems (plus free list 
corruption in "rm /experiment/security/rpc hosts/allowed hosts", cannot be deleted because it is watched).
Entry  05 Nov 2026, Konstantin Olchanski, Bug Fix, ODB repair by rm -rf / 
after midas crash and odb corruption, midas and odbedit now automatically repair 
all (yea, right!) structural corruption - fix the free list, fix/remove invalid 
subdirectories and data entries, etc.
    Reply  05 Nov 2026, Konstantin Olchanski, Bug Fix, ODB repair by rm -rf / 
> in this case, delete previous odb contents using the "rm" command (then say "y" 
> to delete all keys, this is the equivalent of unix "rm -rf /").
> 
    Reply  14 Feb 2020, Konrad Briggl, Forum, Writting Midas Events via FPGAs 
Hello Stefan,
is there a difference for the later data processing (after writing the ring buffer blocks)
if we write single events or multiple in one rb_get_wp - memcopy - rb_increment_wp cycle?
    Reply  02 Mar 2007, Kevin Lynch, Forum, event builder scalability 
> Hi there:
> I have a question if there's anybody out there running MIDAS with event builder
> that assembles events from more that just a few front ends (say on the order of
Entry  15 Dec 2016, Kevin Giovanetti, Bug Report, midas.h error 
creating a frontend on MAC Sierra OSX 10
include the midas.h file and when compiling with XCode I get an error based on
this entry in the midas.h include
Entry  14 Aug 2026, Julian Wollrath, Info, mplot.js: viridis colour scheme for 2D plots 
Dear all,

please do not be surprised if your 2D plots start looking different: The default
ELOG V3.1.6-083448f7