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 ...
|
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.
|
25 Nov 2025, Konstantin Olchanski, Suggestion, Improve process for adding new variables that can be shown in history plots
|
> One aspect of the MIDAS history plotting I find frustrating is the sequence for adding a new history
> variable and then plotting them. ...
|
27 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching
|
> This is not a bug per se, but I find it a little odd that the MVOdb functions RS,
> RSA, RSAI, and WSA use std::string as their type, while WS ans WSAI use const
> char*
|
27 Nov 2025, Konstantin Olchanski, Bug Report, Error(?) in custom page documentation
|
the double-decode bug strikes again!
> This commit breaks the sequencer pages...
|
27 Nov 2025, Konstantin Olchanski, Suggestion, Improve process for adding new variables that can be shown in history plots
|
> > I assume that mlogger rescanning ODB is somewhat intensive process; and that's why we don't want rescanning to
> > happen every time the ODB is changed?
>
|
27 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17
|
>
> set(CMAKE_CXX_STANDARD 17)
> set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
27 Nov 2025, Konstantin Olchanski, Forum, Control external process from inside MIDAS
|
> Rather than investing time to re-invent the wheel here, better try to modify your EPICS driver process to
become a midas process.
|
28 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching
|
> > 2) "advanced" c++ code:
> >
> > void foo(const std::string& xxx) { ... };
|
28 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching
|
Just in time, enter std::string_view.
https://stackoverflow.com/questions/40127965/how-exactly-is-stdstring-view-faster-than-const-stdstring
|
01 Dec 2025, Konstantin Olchanski, Bug Fix, mvodb updated
|
I updated mvodb and test_mvodb. MIDAS ODB and JSON ODB now implement all API
functions. ReadKey, ReadDir and ReadKeyLastWritten were previously missing from
some implementations.
|
01 Dec 2025, Konstantin Olchanski, Info, MIDAS RPC add support for std::string and std::vector<char>
|
> This is moving slowly. I now have RPC caller side support for std::string and
> std::vector<char>. RPC server side is next. K.O.
|
02 Dec 2025, Konstantin Olchanski, Info, cm_expand_env()
|
Just to remember, MIDAS has cm_expand_env() to expand environment variables, in
file paths, etc. It is used in several places in mhttpd, msequencer and mjsonrpc.
|
03 Dec 2025, Konstantin Olchanski, Bug Fix, no more breakage in history display when panning
|
In the DL experiment (unknown version of midas, likely mid-summer 2025), we see artefacts in the
history display where pieces of the data seem to be missing, there is gaps in the graphs. reloading the
page restores correct display confirming that in fact there is no gaps in the data. This made history
|
03 Dec 2025, Konstantin Olchanski, Suggestion, Improve process for adding new variables that can be shown in history plots
|
> 3b) mlogger used to rescan ODB each time a new run is started, this code was removed
One more kink turned out.
|
05 Dec 2025, Konstantin Olchanski, Info, MIDAS RPC add support for std::string and std::vector<char>
|
> > This is moving slowly. I now have RPC caller side support for std::string and
> > std::vector<char>. RPC server side is next. K.O.
> The RPC_CXX code is now merged into MIDAS branch feature/rpc_call_cxx.
|
05 Dec 2025, Konstantin Olchanski, Bug Fix, update of JRPC and BRPC
|
With the merge of RPC_CXX code, MIDAS RPC can now return data of arbitrary large size and I am
proceeding to update the corresponding mjsonrpc interface.
|
05 Dec 2025, Konstantin Olchanski, Info, address and thread sanitizers
|
I added cmake support for the thread sanitizer (address sanitizer was already
there). Use:
|
07 Dec 2025, Konstantin Olchanski, Suggestion, Get manalyzer to configure midas::odb when running offline
|
> #include "manalyzer.h"
> #include "midasio.h"
> +#include "odbxx.h"
|
08 Dec 2025, Konstantin Olchanski, Bug Report, odbxx memory leak with JSON ODB dump
|
I was testing odbxx with manalyzer, decided to print an odb value in every event,
and it worked fine in online mode, but bombed out when running from a data file
(JSON ODB dump). The following code has a memory leak. No idea if XML ODB dump
|