What does HackerNews think of cozo?

A transactional, relational database that uses Datalog and focuses on graph data and algorithms. Time-travel-capable, and fast!

Language: Rust

#21 in Database
#4 in MySQL
Sure. They're called 'partials' sometimes. Useful if you want to rerender just part of a page. This is a pattern used by HTMX, a 'js framework' that accepts fragments of html in an http response and injects it into the page. This is good because it avoids the flash and state loss of a whole page reload. See the HTMX essay on template fragments for a more complete argument [0].

This is a go template for an interactive todos app [1] that I'm experimenting with. The html content of the entire page is present in one template definition which is split into 6 inline {{block}} definitions / "fragments". The page supports 5 interactions indicated by {{define}} definitions, each of which reuse various block fragments relevant to that interaction. I'm in the process of converting it to use embedded cozodb [2] queries which act as a server side data store. The idea here is that the entire 'app', including all html fragments, styles, http requests and responses, db schema, and queries are embedded into this single 100-line file.

[0]: https://htmx.org/essays/template-fragments/

[1]: https://github.com/infogulch/go-htmx/blob/master/templates/t...

[2]: https://github.com/cozodb/cozo

If anyone wants to try a FOSS vector-relational-graph hybrid database for more complicated workloads than simple vector search, here it is: https://github.com/cozodb/cozo/

About the integrated vector search: https://docs.cozodb.org/en/latest/releases/v0.6.html

It also does duplicate detection (Minhash-LSH) and full-text search within the query language itself: https://docs.cozodb.org/en/latest/releases/v0.7.html

HN discussion a few days ago: https://news.ycombinator.com/item?id=35641164

Disclaimer: I wrote it.

I really like KDE but one thing that saddens me is the state of the office stuff - like KMail, KOrganizer, Desktop Search etc.pp - there was an ambitious project called Nepomuk for Semantic Desktop and that failed 10 years ago? And the Backend launches a full MySQL at the moment - I hope someday all of this will be streamlined get's an UI update and a fast database i.e. https://github.com/cozodb/cozo and the features will come back. Also KMail needs some usability improvements...

If this stuff would work and not crash adding calendars/todo-lists in the ui would hopefully work and the original ideas and research concepts could be implemented in a fast an good way.

Well, one can dream :)

Got it. Yeah, datalog is cool. I really like it (if that wasn't obvious from my attempt at implementing it). While not built on SQLite, this project has caught my attention recently: https://github.com/cozodb/cozo

It's built on RocksDB and has slightly different query syntax (supposedly to be more similar to Python's, as a primary target usecase is within Jupyter notebooks). Check it out!

Did you see the Show HN post announcing cozo 10 days ago?

https://news.ycombinator.com/item?id=33518320

https://github.com/cozodb/cozo

Note: there was a fair amount of discussion about the license; the author eventually switched it to MPL2.