Better HN
topnewbestaskshowjobs
Log inSign up

luke_galea

8 karma · joined Oct 18, 2024 (2y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

There is a library in Ruby to generate graphviz from state machines: https://github.com/state-machines/state_machines-graphviz

comment 2y ago · link · parent

I think the slack flowchart is a great example of where declarative programming really shines.

You might enjoy this talk about rules engines where I simplify part of Slack's notification logic: https://youtu.be/mDnntrhk-8g?si=K1_8pU-Ck1fsCUM5

Fun stuff!

comment 2y ago · link · parent

Super cool. I dig generating rules from within the LLM, but I'm not sure Prolog is the right choice in 2024.

I love Prolog and had the opportunity to use it "in anger" years ago to handle temporal logic in a scheduling app. Great experience, but I've found that more modern rules engines like Drools (anything using the Rete algorithm) are a MUCH better fit for most use cases these days.

If you are into this stuff, you might like the talk I gave on rules engines, prolog and how it led to erlang & elixir. https://www.youtube.com/watch?v=mDnntrhk-8g&t=1s