Back Midas Rome Roody Rootana
  Midas DAQ System, Page 130 of 158  Not logged in ELOG logo
Entry  23 Sep 2025, Konstantin Olchanski, Info, long history variable names 
To record discussion with Stefan about long history variable names.

We have several requests to remove the 32-byte limit on history variable names.
    Reply  23 Sep 2025, Konstantin Olchanski, Info, switch midas to c++17 
> perhaps c++20? - std::format is an immediately useful feature. --regards, Pasha

confirmed. std::format is an improvement over K&R C printf().
    Reply  26 Sep 2025, Konstantin Olchanski, Suggestion, Get manalyzer to configure midas::odb when running offline 
> > ...I talked to KO so he agreed that yo then commit your proposed change of manalyzer 
> Merged and pushed.
Entry  06 Nov 2025, Konstantin Olchanski, Bug Report, broken scroll on midas web pages 
midas web pages that use overlays (dlgPanel, etc) are currently broken - if 
overlay does not fit in the visible window, it's bottom is truncated and control 
buttons like "create" and "cancel" are not visible, not clickable, page does not 
    Reply  06 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
> Following discussions at the MIDAS workshop, we propose to move MIDAS from c++11 to c++17.

There were no objections to this move.
    Reply  06 Nov 2025, Konstantin Olchanski, Info, removal of ROOT support in mlogger 
> we should finally bite the bullet and remove ROOT support from MIDAS ...

there were no objections to removing ROOT support from mlogger.
Entry  06 Nov 2025, Konstantin Olchanski, Info, make clang-tidy 
I added Makefile rules for running MIDAS through the clang-tidy static code 
analyzer. (rules for running cppcheck have gone missing, I hope I find them).
    Reply  10 Nov 2025, Konstantin Olchanski, Info, db_delete_key(TRUE) 
> I would handle this actually like symbolic links are handled under linux. If you delete a symbolic link, the link gets 
> detected and NOT the file the link is pointing to.
    Reply  17 Nov 2025, Konstantin Olchanski, Bug Report, broken scroll on midas web pages 
> Sorry about that. I could not figure out what was the reason for doing this. This was during the time I was working on the file_picker. I removed these
lines and see no effect on the file_picker. I'll continue checking it affect anything else.
    Reply  20 Nov 2025, Konstantin Olchanski, Info, db_delete_key(TRUE) 
> > I would handle this actually like symbolic links are handled under linux. If you delete a symbolic link, the link gets 
> > detected and NOT the file the link is pointing to.
> > 
Entry  20 Nov 2025, Konstantin Olchanski, Bug Fix, ODB update, branch feature/db_delete_key merged into develop 
In the darkside vertical slice midas daq, we observed odb corruption which I 
traced to db_delete_key(). cause of corruption is not important. important is to 
have a robust odb where small corruption will stay localized and will not 
    Reply  20 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
> > Following discussions at the MIDAS workshop, we propose to move MIDAS from c++11 to c++17.
> We shall move forward with this change.
    Reply  20 Nov 2025, Konstantin Olchanski, Info, removal of ROOT support in mlogger 
> > we should finally bite the bullet and remove ROOT support from MIDAS ...

as discussed, HAVE_ROOT and OBSOLETE were removed from mlogger. rmana and ROOT support in manalyzed remain, 
    Reply  21 Nov 2025, Konstantin Olchanski, Info, cppcheck 
> (rules for running cppcheck have gone missing, I hope I find them).

found them. I built cppcheck from sources.
Entry  25 Nov 2025, Konstantin Olchanski, Bug Fix, fixed db_find_keys() 
Function db_find_keys() added by person unnamed in April 2020 never worked correctly, it is now fixed, 
repaired, also unsafe strcpy() replaced by mstrlcpy().
    Reply  25 Nov 2025, Konstantin Olchanski, Bug Fix, ODB update, branch feature/db_delete_key merged into develop 
> Thanks for the fixes, which I all approve.

> There is still a "follow_links" in midas_c_compat.h line 70 for Python. Probably Ben has to look into that. Also 
    Reply  25 Nov 2025, Konstantin Olchanski, Bug Report, Cannot edit values in a subtree containing only a single array of BOOLs using the ODB web interface 
> Thanks --- it looks like this commit resolves the issue for us ...
> Thanks to Ben Smith for pointing us at exactly the right commit
    Reply  25 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 

> > I notice the cmake does not actually pass "-std=c++17" to the c++ compiler, and on U-20, it is likely 
> > the default c++14 is used. cmake always does the wrong thing and this will need to be fixed later.
    Reply  25 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
> target_compile_features(<target> PUBLIC cxx_std_17)
> which correctly causes a
> c++ -std=gnu++17 ...
    Reply  25 Nov 2025, Konstantin Olchanski, Suggestion, manalyzer root output file with custom filename including run number 
Hi, Jonas, thank you for reminding me about this. I hope to work on manalyzer in the next few weeks and I will review the ROOT output file name scheme.

K.O.
ELOG V3.1.4-2e1708b5