mentat
odoyle-rules
mentat | odoyle-rules | |
---|---|---|
9 | 10 | |
1,610 | 514 | |
- | - | |
10.0 | 6.2 | |
over 5 years ago | 7 months ago | |
Rust | Clojure | |
Apache License 2.0 | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mentat
-
Why did Mozilla abandon the Mentat database?
Why did Mozilla abandon the Mentat database?
-
Asami: A flexible graph store in Clojure
There is (now unmaintained) project called Mentat [0] from Mozilla.
[0] https://github.com/mozilla/mentat
-
Ideas for DataScript 2
Mozilla was working on the opposite, a Datalog of SQLite, with Mentat, now abandoned: https://github.com/mozilla/mentat
Strikes me as a basically sound idea and it would be lovely if someone picked up the ball.
-
SQLite Internals: Pages and B-trees
mentat was archived by mozilla back in 2017, but there are a bunch of forks. Because github is dumb and has a terrible interface for exploring forks [0], I used the Active GitHub Forks tool [1] that helped to find:
qpdb/mentat [2] seems to be the largest (+131 commits) and most recently modified (May this year) fork of mozilla/mentat.
[0]: https://github.com/mozilla/mentat/network/members - Seriously, how am I supposed to use this? Hundreds of entries, but no counts for stars, contributors, or commits, no details about recent commits. Just click every one?
[1]: https://techgaun.github.io/active-forks/index.html
[2]: https://github.com/qpdb/mentat
-
Call for Help - Open Source Datom/EAV/Fact database in Rust.
There are plenty of open source Datomic Inspired databases. Check out https://github.com/juji-io/datalevin and scroll down all the way down to “Alternatives”. There was even the beginning of a rust one by Mozilla: https://github.com/mozilla/mentat
-
Emacs team considering including SQLite
I think you might be slightly misreading things, from what you quoted it’s about the query language (sql vs Datalog) not the database engine, that would likely be SQLite in any case. Now whether grafting a Datalog query engine onto SQLite is a good idea is a different question (though it’s been done, eg https://github.com/mozilla/mentat), but we should all at least talk about the same thing :)
-
I Made the Exact Same App with Firebase,AWS Amplify,RxDB,PouchDB,WatermelonDB
You might be interested in the now defunct Mentat project from Mozilla. They made an EAV store with syncing on top of sqlite. It ran datalog queries by translating them into sql.
https://github.com/mozilla/mentat
odoyle-rules
-
Use of Posh for frontend development?
If you're going down this route I'd second the recommendation for O'Doyle Rules. (Haven't used it since I switched away from SPAs altogether, but when I was investigating stuff in that space, O'Doyle appeared to be taking the "correct approach" from what I could tell.)
-
[Blog] The Web Before Teatime
That's what this tiny library does https://github.com/oakes/odoyle-rules
- [ANN] odoyle-rules 1.0.0
-
Ideas for DataScript 2
Reactive updates is the big one, in my opinion. DataScript is a triumph and arguably is the reason why so many note-taking tools (Roam, Athens, Logseq, etc) are written in Clojure. But there are so many cases where it would be nice to react when some set of entities is changed.
I think what we need is to figure out how to combine DataScript with a rules engine. I'm wrote a rules engine and made a writeup that compares the two together: "Using O'Doyle Rules as a poor man's DataScript" https://github.com/oakes/odoyle-rules/blob/master/bench-src/...
Subscribing to individual entities is nice but with a rules engine you have so much more fine-grained control over your reactions. And with the RETE algorithm this can be done efficiently. Most libraries in this space just ignore it and make their own ad-hoc solution -- an informally-specified, bug-ridden, slow implementation of half of a rules engine.
- UIs Are Streaming Dags
-
Datalog for HTTP APIs
Odoyle-rules lets you write rules (forwards chaining) engine that you can run on client and server. There are a couple ways you can twist that idea to achieve a more unified system.
-
Next Web
I suspect it'd be too much of a mismatch to be useful, but i haven't thought about it enough. I think a more promising idea is to try implementing a database with o'doyle. I wrote about my first attempt here: Using O'Doyle Rules as a poor man's DataScript Right now it would be too inefficient for large data sets because it has to constantly rebuild its index but i think with some small changes i could improve that and basically turn o'doyle into a tool for creating databases that come with reactivity for free.
-
O'Doyle Rules - a Clojure rules engine for the best of us
No doubt there's a runtime cost in joining the facts together, so naturally a system that lumps facts together into records (like clara) will have to do fewer joins, and should be faster. I figured out that i could at least deduplicate my joins with derived facts as i explained here, which ended up being a really big perf boost. But there's still a tradeoff, and one where almost everyone should favor flexibility, i think.
What are some alternatives?
datalevin - A simple, fast and versatile Datalog database
pararules - A Nim rules engine
SQLite - Official Git mirror of the SQLite source tree
paranim_examples
active-forks - Find active github forks of a repo https://git.io/vSnrC
asami - A flexible graph store, written in Clojure
cozo - A transactional, relational-graph-vector database that uses Datalog for query. The hippocampus for AI!
posh - A luxuriously simple and powerful way to make front-ends with DataScript and Reagent in Clojure.
client-side-databases - An implementation of the exact same app in Firestore, AWS Datastore, PouchDB, RxDB and WatermelonDB
spork - Spoon's Operations Research Kit
crepe - Datalog compiler embedded in Rust as a procedural macro
missionary - A functional effect and streaming system for Clojure/Script