3 ms·
I think constraint solvers are underutilized. Probsbly because people are not aware of them or don’t think in terms of solving problmes based on specifying co
by psadri 5y ago
I think constraint solvers are underutilized. Probsbly because people are not aware of them or don’t think in terms of solving problmes based on specifying constraints.
- PaulHoule 5y agoProduction rules engines.
- psadri 5y agoCould you give an example of how these are used? Do you mean things like "IF there's been [4] login attempts in the past [10] mins THEN deny this login attempt"?
- PaulHoule 5y agoYep, but production rules engines also work in asynchronous cases because they can keep a database of partially matched rules that get updated as new facts come in. In your case the rules engine would keep track of the login attempts and automatically expire the records once they are old enough that they won’t trigger any rules. It boggles my mind that nobody has tried making a JavaScript framework based on them; they would be particularly good for the cases where people get burned in React, such as when there are several pieces of information which go into a computation that updates the UI. Rather than having to implement updates for all the cases the compiler figures out all the ways in which a change could force a UI update and makes it happen.
- tantalor 5y agoI have seen this is used in logistics and operations research, but not much else.
- 7373737373 5y agoI think the interfaces aren't high level enough for the average programmer to adopt it. It needs what https://autokeras.com https://autokeras.com is for neural nets.