fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#rulesengine

0 posts0 participants0 posts today
billseipel<p>We have a &quot;rules engine&quot; in a database. Another application uses it for a specific task.</p><p>The rules are ranked just like a &quot;search engine&quot;.</p><p>There&#39;s no real apparatus to regression test this thing when you update a rule.</p><p>Did it break another rule? I don&#39;t know. I can&#39;t manually test all possible permutations of each rule. That&#39;s what automation is for.</p><p>I need something .. to test all this. </p><p>Recommendations?</p><p>Feels like this is designed....bad</p><p><a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="tag">#<span>programming</span></a> <a href="https://fosstodon.org/tags/designpatterns" class="mention hashtag" rel="tag">#<span>designpatterns</span></a> <a href="https://fosstodon.org/tags/rulesengine" class="mention hashtag" rel="tag">#<span>rulesengine</span></a></p>
Ryan Johnston<p>The latest release of clipsruby (v0.0.43) adds `matches` to the `Defrule` class. It lets your return information to determine how many patterns matched a give Defrule before a `run`. Also added is `get_activations_list` to the `Environment` class, which returns an array of `Activation` objects. Use `defrule_name` on those `Activation` objects to see exactly what's about to `run` in your rules engine!</p><p><a href="https://mastodon.social/tags/ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ruby</span></a> <a href="https://mastodon.social/tags/clips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clips</span></a> <a href="https://mastodon.social/tags/rulesengine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rulesengine</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Ryan Johnston<p>It's been 1 week since I've released the first version of clipsruby to rubygems, and it has over 1.4k downloads!</p><p>v0.0.19 was just released, and it adds `get_fact_list`. This is similar to `find_all_facts`, but allows you to specify the Defmodule under which you wish to receive Facts. You also do not need to specify the Deftemplate for facts that you want to retrieve. This lets you just dump all of the Facts available in your Rules Engine!</p><p><a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://mastodon.social/tags/ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ruby</span></a> <a href="https://mastodon.social/tags/rulesengine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rulesengine</span></a></p>
Ryan Johnston<p>Happy 4th of July, everyone! I'm spending my afternoon and evening with loved ones, but now I'm working on something really cool using CLIPSockets: <a href="https://github.com/mrryanjohnston/CLIPSockets" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/mrryanjohnston/CLIP</span><span class="invisible">Sockets</span></a></p><p>There's been a few ups and downs, and moments where I've had to scrap things and start all over again.</p><p>But it's finally coming together. I can't wait to show you all!</p><p>In the mean time, I have a few example applications implemented in that repo to see:<br><a href="https://github.com/mrryanjohnston/CLIPSockets/tree/main/examples" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/mrryanjohnston/CLIP</span><span class="invisible">Sockets/tree/main/examples</span></a></p><p><a href="https://mastodon.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/rulesengine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rulesengine</span></a> <a href="https://mastodon.social/tags/networking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>networking</span></a></p>
Ryan Johnston<p>defmodules are another reason why CLIPS is amazing. Your <a href="https://mastodon.social/tags/rulesengine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rulesengine</span></a> can change "focus" between defmodules, *each with its own rule network and working memory*.</p><p>You could have multiple "experts" in 1 system!</p><p>If you're familiar with "separation of concerns," this is that at the *programming language* level.</p><p>Feeling put off from integrating heavy-weight ai/ml systems into your own projects? Give the User's Guide a read: <a href="https://clipsrules.net/documentation/v641/ug641.pdf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">clipsrules.net/documentation/v</span><span class="invisible">641/ug641.pdf</span></a></p><p><a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://mastodon.social/tags/CLIPS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLIPS</span></a> <a href="https://mastodon.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ruby</span></a> <a href="https://mastodon.social/tags/ai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ai</span></a> <a href="https://mastodon.social/tags/rulesengine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rulesengine</span></a></p>
billseipel<p>&quot;Remote calls are not services.&quot;</p><p>&quot;If you have built a code generator, would you do it again?&quot;</p><p>(NOPE)</p><p>&quot;.. SOA becames microservices...&quot;</p><p>This talk resonates A LOT for me. </p><p>I&#39;m not quite convinced I&#39;d take his approach (vertical slices vs. layers) but its very intriguing.</p><p><a href="https://fosstodon.org/tags/designpatterns" class="mention hashtag" rel="tag">#<span>designpatterns</span></a> <a href="https://fosstodon.org/tags/soa" class="mention hashtag" rel="tag">#<span>soa</span></a> <a href="https://fosstodon.org/tags/microservices" class="mention hashtag" rel="tag">#<span>microservices</span></a> <a href="https://fosstodon.org/tags/udidahan" class="mention hashtag" rel="tag">#<span>udidahan</span></a> <a href="https://fosstodon.org/tags/rulesengine" class="mention hashtag" rel="tag">#<span>rulesengine</span></a> </p><p><a href="https://youtu.be/Fuac__g928E" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">youtu.be/Fuac__g928E</span><span class="invisible"></span></a></p>