News for hackers. Stuff that matters.
Re:Programmers are bad at managing state (2020) by kjqgqkejbfefn on Sunday March 24, 2024 @02:33PM (#39809168)
Except the tape gets overwritten/looped over. What GP was referring to is event-sourcing the state in an append-only log and running finite state automata on this sequence.

Here is a java lib that apply regex to stream of Objects that could be used to achieve this purpose.

https://github.com/norswap/skelex

Re:Programmers are bad at managing state (2020) by rhelz on Sunday March 24, 2024 @02:42PM (#39809224)
Thanks for the link, exactly the kind of thing I was talking about.