27 Nov 2020, Konstantin Olchanski, Info, Equipment "common" settings in ODB 
 | 
Yes, I think this will work.
 
 
For old mfe.c frontends, global variable set to "do it the new way" should be okey,
 | 
   
   30 Nov 2020, Konstantin Olchanski, Info, Equipment "common" settings in ODB 
 | 
> One more change: 
 
> 
 
> After using the new code for some hours, we realized that the "enabled" flag should not come from the frontend code, 
 | 
   
   30 Nov 2020, Konstantin Olchanski, Suggestion, ODBSET wildcards with array keys in Sequencer files 
 | 
> I totally agree that we should have a consistent formatting for array index expansion.
 
> I had a look to the mjsonrpc code and I found the function parse_array_index_list(...) which does this job.
 
 | 
   
   30 Nov 2020, Konstantin Olchanski, Suggestion, ODBSET wildcards with array keys in Sequencer files 
 | 
> 
 
> we are considering to make the range selection uniform among json, sequencer and 
 
> odbedit "set" command. Having multiple ranges like [1,4-5] will be quite some work, so 
 | 
   30 Nov 2020, Konstantin Olchanski, Info, more wisdom from linux kernel people 
 | 
As you may know, I am a big fan of two software projects - the linux kernel and ROOT. The linux kernel is one of 
 
the few software projects "done right". ROOT is where normal people try to "get it right" with real-world level 
 
of success. I use both softwares daily and I try to apply their ways and methods to MIDAS as much as I can.
 | 
   
   15 Dec 2020, Konstantin Olchanski, Forum, history and variables confusion 
 | 
I think you are facing several problems:
 
 
a) mlogger does not clearly explain what history names will be used for which entries
 | 
   
   16 Dec 2020, Konstantin Olchanski, Forum, Issues building banks. 
 | 
> I'm currently trying to build events through doing block transfers.
 
 
I am confused by your question. I assume you read a CAEN V792 ADC, but I do not know what VME master you 
 | 
   
   16 Dec 2020, Konstantin Olchanski, Forum, Issues building banks. 
 | 
> > > I'm currently trying to build events through doing block transfers.
 
> > 
 
> > I am confused by your question. I assume you read a CAEN V792 ADC, but I do not know what VME master you 
 | 
   
   13 Jan 2021, Konstantin Olchanski, Forum, poll_event() is very slow. 
 | 
> 
 
> I'm currently trying to see if I can speed up polling in a frontend I'm testing. 
 
> Currently it seems like I can't get 'lam's to happen faster than 120 times/second. 
 | 
   
   08 Feb 2021, Konstantin Olchanski, Forum, poll_event() is very slow. 
 | 
> I should mention that I was using midas/examples/Triumf/c++/fevme.cxx
 
 
this is correct, the fevme frontend is written to do 100% CPU-busy polling.
 | 
   
   08 Feb 2021, Konstantin Olchanski, Suggestion, mhttpd browser caching 
 | 
>    r->rsprintf("Expires: %s\r\n", str);
 
 
The best I can tell, none of this works in current browsers. with google-chrome,
 | 
   
   10 Feb 2021, Konstantin Olchanski, Forum, Javascript error during run transitions. 
 | 
> I am encountering a Javascript error (TypeError: client.error is undefined) when 
 
> I transition between run states. Does anybody have an idea of what my problem 
 
> might be? I have pasted an example of what MIDAS logs during such sequences.
 | 
   10 Feb 2021, Konstantin Olchanski, Release, midas-2020-12-a 
 | 
midas-2020-12-a is here, see https://midas.triumf.ca/MidasWiki/index.php/Changelog#2020-12
 
 
notable change from previous midas releases:
 | 
   12 Feb 2021, Konstantin Olchanski, Bug Report, mlogger history snafu 
 | 
there is a problem with mlogger between commits xxx (17 Nov 2020) and a762bb8 (12 feb 2021). because of 
 
confusion between seconds and milliseconds, FILE (mhf*.dat files) and SQL history are recording with 
 
incorrect timestamps.
 | 
   
   25 Feb 2021, Konstantin Olchanski, Bug Report, tmfe_main.cxx missing include <signal.h> 
 | 
> The most recent commit (b43aef648c2f8a7e710a327d0b322751ae44afea) throws this 
 
> compiler error:
 
> src/tmfe_main.cxx:39:11: error: 'SIGPIPE' was not declared in this scope
 | 
   
   25 Feb 2021, Konstantin Olchanski, Forum, TMFePollHandlerInterface timing 
 | 
> Am I right in thinking that the TMFE HandlePoll function is calle once per 
 
> PollMidas()? And what is the difference to HandleRead()?
 
 | 
   
   25 Feb 2021, Konstantin Olchanski, Bug Report, Undefined client causing issues in transition. 
 | 
Clearly something goes wrong with the STARTABORT transition. Actually from your 
 
sceenshot, it is not clear why the STARTABORT transition was initiated.
 
 | 
   
   25 Feb 2021, Konstantin Olchanski, Bug Report, Unexpected end-of-file 
 | 
> > [mhttpd,ERROR] [history.cxx:97:xread,ERROR] Error: Unexpected end-of-file when 
 
> > reading file "/home/wagasci-ana/Data/online/210219.hst"
 
 | 
   
   25 Feb 2021, Konstantin Olchanski, Forum, m is not defined error 
 | 
> I see this mhttpd error starting MSL-script: 
 
> Uncaught (in promise) ReferenceError: m is not defined
 
> at mhttpd_message (VM2848 mhttpd.js:2304)
 | 
   
   25 Feb 2021, Konstantin Olchanski, Forum, Javascript error during run transitions. 
 | 
>  
> I have also attached a screen capture of the output. 
>  |