Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryjo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
ryjo
2y ago
I'm sorry, but I still think I'm not sure what you mean by interpreter. I hope you don't mind if I press further, but I'm very much enjoying this deep dive into the CLIPS C API with you. When you compile your code includ
32.
▲
by
ryjo
2y ago
So you were! I apologize for my oversight. > you have seemed to use it more for "indexing" and "caching", which is a domain shared by other interpreters used for the web That's the idea! I think CLIPS is a good f
33.
▲
by
ryjo
2y ago
> I thought that you might have specific experience with "real world" applications, thus my question. As to this point: I don't at present have "real world" experience writing CLIPS. My experience thus far has be
34.
▲
by
ryjo
2y ago
Good find in the apg! That thing is a wealth of info. It look like contructs-to-c wouldn't make things faster, but would instead reduce the compiled code size. If I'm understanding your meaning, you mean "interpreted" in
35.
▲
by
ryjo
2y ago
> Do you mean the "constructs-to-c"? Yes > But does this actually give a speed-up? There is an objective benefit to using `constructs-to-c` and that is something you mention in your original comment: you generate a single bi
36.
▲
by
ryjo
2y ago
You can compile CLIPS (including your rules) into C code from within CLIPS itself, which then gets compiled to a dedicated binary.
37.
▲
Integrating Clips Applications into Heterogeneous Distributed Systems (1991) [pdf]
(ntrs.nasa.gov)
1 points
by
ryjo
2y ago
|
0 comments
38.
▲
by
ryjo
2y ago
> rete0.cpp is a faithful implementation from the thesis, to the extent that it has page number markings in the source code to refer to the thesis Music to my ears :) thanks for sharing this!
39.
▲
CLIPS: An Elevator Pitch
(ryjo.codes)
2 points
by
ryjo
2y ago
|
15 comments
40.
▲
by
ryjo
2y ago
Fantastic. Thanks for chiming in!
41.
▲
by
ryjo
2y ago
I've been studying Rete for the past few years, and I've been working exclusively in CLIPS for the past year, a programming language that uses the Rete Algorithm at it's core. It's a very clever algorithm, and provides a
42.
▲
Forgoing Implicity and Using Abstractions: Clips
(ryjo.codes)
1 points
by
ryjo
2y ago
|
0 comments
43.
▲
Chapter 28. USB Device Mode / USB OTG
(docs.freebsd.org)
1 points
by
ryjo
2y ago
|
0 comments
44.
▲
by
ryjo
2y ago
I just ran into this this week implementing a socket library in CLIPS. I used Berkley sockets, and before that I had only worked with higher-level languages/frameworks that abstracts a lot of these concerns away. I was quite confused w
45.
▲
by
ryjo
2y ago
I just made CLIPSockets public, which is a culmination of learning I've taken from trying to make web applications using primarily CLIPS. Thought I'd bump it here: CLIPSockets: Clips low-level socket implementation - https:/
46.
▲
CLIPSockets: Clips low-level socket implementation
(github.com)
3 points
by
ryjo
2y ago
|
0 comments
47.
▲
by
ryjo
2y ago
Here's an article: https://magic.wizards.com/en/news/mtg-arena/on-whiteboards-n... > So first, a quick summary of how the rules engine works. When a game of Magic is in progress on MTG Arena, the prog
48.
▲
by
ryjo
2y ago
Thanks for sharing!
49.
▲
by
ryjo
2y ago
Holy moly. I had my suspicions Magic would be a good candidate for something like CLIPS when it comes to software implementation. Do you have a source for that info? What an amazing bug.
50.
▲
by
ryjo
2y ago
Now that is cool. Thanks for sharing this.
51.
▲
by
ryjo
2y ago
Cool, looks like sauron-engine is indeed actively developed. I've not used it myself. Also for your consideration, clipspy, which exposes CLIPS in Python: https://github.com/noxdafox/clipspy
52.
▲
by
ryjo
2y ago
That sounds like an excellent use case. You bring up something awesome about CLIPS: it's easy to tailor it to your needs. Once you have your CLIPS code, you can trim out the parts you don't need using compiler flags. Once you have
53.
▲
by
ryjo
2y ago
The only way I've found to back up the claims: try to prove them myself :) or at least attempt to. I'm fairly convinced CLIPS is an unexplored middle-ground answer to conversations around "does our company really need AI/
54.
▲
by
ryjo
2y ago
Thanks for sharing! I really enjoy seeing different implementations of the Rete Algorithm.
55.
▲
by
ryjo
2y ago
Wow! That must have been an incredible work environment. I've got both the 4th edition and Adventures in Rule-Based Programming sitting in front of me now.
56.
▲
by
ryjo
2y ago
Is it possible: yes. Can you write your own home-grown rules engine in Ruby: yes. Can you use off-the-shelf gems: yes. Here's a few I poked around in my previous explorations into Ruby Rules Engines: * durable rules - https:/
57.
▲
by
ryjo
2y ago
This has been similar to my experience. Rules Engines like CLIPS are just outside of the bounds of "cheap enough to spend time learning on the off-chance it is indeed better than what we've already written."
58.
▲
by
ryjo
2y ago
Not to self-promote too much, but the main focus of my programming efforts is currently CLIPS. Over the past few years, I've written articles about and even made some fun projects with CLIPS: * Stop Writing In-app Caches and Start Writ
59.
▲
Tour of CLIPS (2022)
(ryjo.codes)
75 points
by
ryjo
2y ago
|
41 comments
60.
▲
A JSON Validator in C
(ryjo.codes)
3 points
by
ryjo
3y ago
|
0 comments
More ›