
HSD99
Posts
-
Who owns Luup? -
First post to say helloHi everyone! I'd like a dark my also.
-
Who owns Luup?LUUP on Vera is a Linux executable written in C/C++ that provides the operational functions of Vera, a Lua environment for running Lua scripts, HTTP, serial device support and the UPnP control model. The problem as I see it is that many of these functions should not be part of single executable, but in fact should be provided by the OS since that's why it's there. The basic architecture of LUUP is therefore fragile, and can become unstable under a variety of internal and external conditions. For example, HTTP request to external sites (e.g. a cloud-based whatever) can crash LUUP if the external site takes too long or responds in a way that LUUP can't process. LUUP either crashes on its own, or makes the decision to "self-crash" and reload to attempt to get itself back to a sane operating state. These are my assumptions based on what I've been able to observe. Anything that causes a delay will almost certainly crash LUUP. I know we have folks here who have delved much more deeply into LUUP, or at least as deep as you can by observing its external behavior and who will have far more insight than I.
I have done embedded Linux systems since the early 2000's. We used as many OS functions as possible, since that's why you have an OS. We wrote our own Linux device drivers for our special I/O devices, and confined the executable to the actual control and computations required by our application. We also used shell scripts, as does Vera, for various OS functions. Our systems did not use Lua, and did not have any mechanism for user-written code. This made it much easier to have stable systems. It comes down to architectural decisions and IMHO Vera chose poorly.
-
Low-priority GUI feedbackPiling on here---I also found this confusing. My assumptions: "Save" does just what it says. Hitting "Exit" will then exit with no prompt. Hitting "Exit" alone will prompt for "Save and Exit?" or "Don't save and exit" or something similar.
-
Other Forum feedbackSame here. The spinner is constant, and I'm on wireline at 150 Mb/s.
-
Who owns Luup?Lua: https://en.wikipedia.org/wiki/Lua_(programming_language)
Interesting backstory.