Variable Monitoring with Declarative Interfaces
summary
Code for a declarative builder-pattern API that wires hundreds of signal monitors into a pub/sub system is available at https github com nfogh monitoring and demonstrates concrete choices: conditions become composable conditions and handlers (callables wrapped to allow && || !), handlers do immediate or delayed alarm activation, and the framework avoids brittle inheritance while improving readability and scalability. The implementation is usable but unfinished around dynamic parameter subscriptions — the repo is a playground not a drop‑in product.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:51Wind turbine software
- 8:29Problem statement
- 10:58Ad hoc monitoring
- 13:48Evaluating ad hoc
- 15:13Class-based monitoring
- 18:01Class-based challenges
- 19:46SOLID design principles
- 23:18Declarative interface proposal
- 33:41Implementing monitor builder
- 37:16Monitor builder details
- 41:54Runtime parameters
- 45:07Readability and logic
- 46:13Q&A
related talks
54mDesign and Reality
55m20000 Leagues under the FreeMonads Coproducts & purely functional DI
30mThe Design of Everyday APIs
47mMonitoring at Scale: Intuitive Dashboard Design
39mProgram synthesis for declarative building design
59mModular Higher-Order Effects
01h 28mLaw of Demeter: A Practical Guide to Loose Coupling
45mDesign Patterns in Scala
