3 ms·
In an ideal world, yes. In the here and now, this is a solution to a problem which doesn't involve seeing the source code, being a developer, requiring a FOSS O
by Fnoord 5y ago
In an ideal world, yes. In the here and now, this is a solution to a problem which doesn't involve seeing the source code, being a developer, requiring a FOSS OS (after all the main OSes are Windows, macOS, Linux server OSes, Android, and iOS), etc.
However, the framework with kernel signals (which this uses AFAIK SIGSTOP (17) / SIGCONT (19)) is there on Unix systems, if not a bit rigorous.
For example, say I have an e-mail client on a laptop and one on my smartphone. On my laptop, I don't need to know at night that if I receive an e-mail I need a notification LED or even refresh e-mail. It can do that once I restart the laptop. However, on my smartphone, I might be waiting for an important e-mail or I might want to receive an important SMS or say an AMBER alert. My point being, there are different gradations of importance which depend on factors. The interesting part is learning about these patterns. With ML? Or by asking the user? I believe something like macOS and Android already do this with DND mode.