05 Dec 2018, Konstantin Olchanski, Info, Partial refactoring of ODB code 
 | 
The current ODB code has several structural problems and I think I now figured out how to straighten them out.
 
 
Here is the problems:
 | 
   18 Dec 2018, Konstantin Olchanski, Info, mxml update 
 | 
the mxml library was updated to make it thread-safe.
 
https://bitbucket.org/tmidas/mxml/src/master/
 
 | 
   
   26 Dec 2018, Konstantin Olchanski, Bug Report, mhttpd - custom page - RHEL/Fedora 
 | 
> > [mhttpd,ERROR] [mhttpd.cxx:563:rread,ERROR] Cannot read file '/root', read of 
 
> > 4096 returned -1, errno 21 (Is a directory)
 
> 
 | 
   
   26 Dec 2018, Konstantin Olchanski, Bug Report, mhttpd - custom page - RHEL/Fedora 
 | 
> I implemented that fix. Thank you to Andreas. Creating "Custom" directory from the web now does 
 
> not have that problem any more.
 
 | 
   
   26 Dec 2018, Konstantin Olchanski, Info, Partial refactoring of ODB code 
 | 
> One additional comment: In the 90's when I developed this code, locking was expensive.
 
> Now the world has changed, we can do almost a million locks a second.
 
 | 
   
   26 Dec 2018, Konstantin Olchanski, Info, bm_receive_event timeout in ROME 
 | 
> There is a bug report in the ROME repository which says bm_receive_event timeouts.
 
> https://bitbucket.org/muegamma/rome3/issues/8/rome-with-midas-produces-timeout-after
 
> Does anybody have any ideas what could causing the problem ?
 | 
   
   26 Dec 2018, Konstantin Olchanski, Forum, Implementing MIDAS on a Satellite 
 | 
> 
 
> Thank you for your comment Stefan. We do have some hardware resources on the board such as RAM, ROM and
 
> Flash storage so we wouldn't necessarily have to virtualize everything. Ideally we would like a
 | 
   
   26 Dec 2018, Konstantin Olchanski, Suggestion, Self-resetting alarm class 
 | 
> > If you run an external script anyway, you can also call "odbedit -c alarm" to
 
> > reset all alarms. Or you could try to set the "Triggered" entry of that certain
 
> > alarm to 0 (again, with odbedit), that could also work.
 | 
   
   27 Dec 2018, Konstantin Olchanski, Bug Report, mhttpd - custom page - RHEL/Fedora 
 | 
> I still strongly believe that mhttpd should not serve arbitrary files (only serve files explicitly listed in ODB) or as next best option,
 
> only serve files from subdirectories explicitly listed in ODB.
 
> 
 | 
   28 Dec 2018, Konstantin Olchanski, Info, note on the midas event buffer code, part 1 
 | 
In this technical note, I write down the workings of the midas event buffer code, the path 
 
that events travel from the frontend to the SYSTEM buffer to mlogger (and to disk).
 
 | 
   
   28 Dec 2018, Konstantin Olchanski, Info, note on the midas event buffer code, part 2, bm_send_event() 
 | 
> In this technical note, I write down the workings of the midas event buffer code
 
> we need to understand and write down how the event buffer code works.
 
 | 
   
   28 Dec 2018, Konstantin Olchanski, Info, note on the midas event buffer code, part 3, rpc_send_event() 
 | 
> In this technical note, I write down the workings of the midas event buffer code
 
> we need to understand and write down how the event buffer code works.
 
> bm_send_event() does this ...
 | 
   
   28 Dec 2018, Konstantin Olchanski, Info, note on the midas event buffer code, part 4, reading from event buffer 
 | 
> > In this technical note, I write down the workings of the midas event buffer code
 
> > we need to understand and write down how the event buffer code works.
 
> > bm_send_event() does this ...
 | 
   
   02 Jan 2019, Konstantin Olchanski, Info, note on the midas event buffer code, part 5, bm_read_buffer() 
 | 
> > > In this technical note, I write down the workings of the midas event buffer code
 
> > > we need to understand and write down how the event buffer code works.
 
> > > bm_send_event() does this ...
 | 
   
   02 Jan 2019, Konstantin Olchanski, Info, note on the midas event buffer code, part 6, reading events through the mserver 
 | 
> > > > In this technical note, I write down the workings of the midas event buffer code
 
> > > > we need to understand and write down how the event buffer code works.
 
> > > > bm_send_event() does this ...
 | 
   
   03 Jan 2019, Konstantin Olchanski, Info, note on the midas event buffer code, part 7, event buffer polling frequencies 
 | 
> > > > > In this technical note, I write down the workings of the midas event buffer code
 
> > > > > we need to understand and write down how the event buffer code works.
 
> > > > > bm_send_event() does this ...
 | 
   
   03 Jan 2019, Konstantin Olchanski, Info, note on the midas event buffer code, part 8, writer and reader communications 
 | 
> > > > > > In this technical note, I write down the workings of the midas event buffer code
 
 
Event buffer readers and writers need to communicate following information:
 | 
   
   10 Jan 2019, Konstantin Olchanski, Info, note on the midas event buffer code, part 8, writer and reader communications 
 | 
> > > > > > > In this technical note, I write down the workings of the midas event buffer code
 
> Event buffer readers and writers need to communicate following information:
 
> 
 | 
   10 Jan 2019, Konstantin Olchanski, Info, removal of cm_watchdog() 
 | 
cm_watchdog() has been removed from the latest midas sources. The watchdog functions performed by cm_watchdog() were 
 
moved to cm_yield() - those are - maintaining odb and event buffer "last active" timestamps and checking for and removing of 
 
timed-out clients.
 | 
   
   18 Jan 2019, Konstantin Olchanski, Bug Report, Custom script with new MIDAS 
 | 
> I am having difficulty getting the custom scripts to work within the updated MIDAS. Before the 
 
> update I was using something like : 
 
> 
 |