This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (96)
- # beginners (49)
- # boot (3)
- # cider (3)
- # cljs-dev (3)
- # clojure (112)
- # clojure-austin (2)
- # clojure-greece (35)
- # clojure-india (2)
- # clojure-sanfrancisco (1)
- # clojure-spec (1)
- # clojure-sweden (1)
- # clojurescript (27)
- # cursive (4)
- # data-science (1)
- # datomic (33)
- # defnpodcast (1)
- # duct (2)
- # editors (1)
- # emacs (4)
- # events (2)
- # figwheel (4)
- # fulcro (4)
- # hoplon (29)
- # instaparse (1)
- # jobs (1)
- # keechma (4)
- # lein-figwheel (2)
- # om (1)
- # parinfer (4)
- # perun (23)
- # reitit (11)
- # shadow-cljs (8)
- # specter (23)
- # uncomplicate (16)
@matan There's datomic-free for open source projects. Pretty sure it was made clear that they aren't going to make Datomic open source in one of the presentations at the latest Clojure Conj.
They have a unique product. I'm glad they're doing their best to make a living from it.
"we have no freely available clojure-idiomatic data persistence other than datomic" — consider https://github.com/jackrusher/spicerack which stores Clojure data structures directly to disk.
@olivergeorge thanks for point that out about the open source option. By the way there was nothing in my question to imply someone should not make a living of their work.
@matan I'd be interested to hear what you mean about clojure-idiomatic in this context?
@daveliepmann mmmm good one. Something that lets you store and retrieve data as clojure data (implying no or less transformation and parsing in user code and/or the library code itself), then hopefully that querying itself is clojure-idiomatic (map, reduce, filter, and so on). Then maybe also something that has smooth concurrency features built into its API. Do these make any sense?
It does, but it's interesting to consider how much of that is included in Datomic, which—although it takes EDN rather than concatenated strings—I would say operates on quite Datomic-shaped structures (entity maps and datoms) rather than Clojure-shaped structures (vectors, sets). For instance, out-of-the-box Datomic has no ordered collections. And the query language is Datalog, not map/filter/reduce, right?
Maybe what I'm saying is that I like many aspects of Datomic idiom, but that feels distinct from Clojure idiom.
(although every “triple” also has information about the transaction which added it etc)
@hmaurer I always wonder why it's not described as a triple-store as such, by the company. It certainly functions as one, which is very useful for some types of applications
Precisely my point. I might go as far to say that something might likely be wrong if one finds oneself
filtering the result of a Datalog query. The results are Clojure data structures and therefore mappable & reducible but so are the results from clojure.java.jdbc.
@matan not an open-source alternative to Datomic but a great article diving into some of the aspects that make Datomic great. Someone could one day come up with a simplified open-source flavor of it http://www.aosabook.org/en/500L/an-archaeology-inspired-database.html
I’ve released a beta version of Migrana today. Feedback is greatly appreciated! https://github.com/luchiniatwork/migrana
@luchini @daveliepmann @hmaurer thanks for all the comments, I admit to it being a little off-topic (in my own fault), but these concise insights are oftentimes hard to find elsewhere, so I learned really more than I was looking for
And about the blog post of designing a database as an archaeologist that's really an original way of looking at it, and I should probably set aside a couple of hours to go through that lengthy write-up 🙂
Thanks for noting! would you also do anything pragmatically different, after having gone through it? I might catch coffee with the author, he looks local from my area I think. Thanks again for commenting
I love how he went as far as the querying engine. I would have loved to have seen him going deeper and building a disk storage because DataScript already does in-memory (in a more limited fashion). He also never goes into schemas which would make the whole thing even more interesting.
Sorry for criss-crossing with the festive announcement about migrana from @luchini just above 🙂
I want to add tags additively throughout time to specific blurbs (that have content and an author minimum)
so I thought: write to db a blurb with b/content and b/author and then do a search, resolve the entity id, and then append tags in a comma-separated way to the db via :blurb/tag and :blurb/bid ... then I could do a search against the BID whenever someone asks for the tags.
This creates some intermediate states, which I may not need. Is there a way to write to the DB and use the resolved entity id immediately to add tag items one [comma separated chunk] at a time ?
I suppose tags also have authors as well. I wonder if there is a better way than doing: write blurb with author and with content to db, search for BID for what I just put it, then write tag with author and bid (one at a time)