This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-23
Channels
- # announcements (6)
- # beginners (54)
- # calva (9)
- # cider (2)
- # clj-kondo (26)
- # cljsrn (2)
- # clojure (49)
- # clojure-brasil (1)
- # clojure-dev (3)
- # clojure-europe (11)
- # clojure-italy (28)
- # clojure-nl (5)
- # clojure-serbia (1)
- # clojure-spec (4)
- # clojure-uk (182)
- # clojuredesign-podcast (2)
- # clojurescript (59)
- # clojurex (9)
- # cursive (26)
- # data-science (11)
- # datomic (40)
- # duct (1)
- # emacs (3)
- # events (4)
- # figwheel-main (2)
- # fulcro (7)
- # instaparse (1)
- # kaocha (2)
- # leiningen (25)
- # off-topic (3)
- # re-frame (36)
- # reagent (15)
- # shadow-cljs (87)
- # spacemacs (12)
- # sql (20)
- # tools-deps (8)
- # vim (1)
- # yada (40)
I want to extend codeq to analyze Python (2) code. What would that entail?
Where can I get the datomic client library?
There are seems no latest datomic-free releases?
https://clojars.org/com.datomic/datomic-free
0.9.5697
vs 0.9.5951
pro
@kirill.salykin Yes this is a big problem and I really don’t understand why. I already wrote directly to Cognitect but got no answer. Maybe we can write an email together?
you can download latest here
datomic-free-0.9.5703.21.jar
seems like a peer library
but still, it is very outdated
It somehow runs, but than I don’t understand that version number and it’s not available on maven central.
I think they won’t respond :(
You can use starter edition btw
It is free and supports updates for 1 year
Pro starter I think it is called
I see )
Just for this thread. @U1QJACBUM Answered this question in another Thread with: > We are considering different options for Datomic Free, and would love to hear more about your use cases. You can share your use cases with me via <mailto:[email protected]|[email protected]>.
thanks for keeping me posted!
last release from 2018… > Maybe we can write an email together? lets try, but I doubt it will help a lot
is there a way to retrieve from a datomic cloud client the configuration that was used to create it?*
As much as I would love it, I don't really see a whole lot of incentive for them to update the free version 😕
They need to make money somehow
Hi! I am trying to model a tree of components (Page, button group, tab, buttons etc) as a hierarchy of maps (each component has a bunch of attributes). It's very similar to the DOM in that if the user deleted a tab group that has buttons as children, the buttons need to be deleted as well. Of course, the user can also move a subtree of components to a different nodes etc. It's a standard GUI editor. I think the best way to model this is to make each node a component so that if any node is deleted its children are deleted as well. Does that make sense? Are there any subtleties I'm missing, and should I manage deletion and the whole hierarchy by hand using plain ref types? Any thoughts much appreciated. A link to an article is also fine (I tried to RTFM but I never saw anyone use components for hierarchies and am wondering why).
Is this secretly a datascript question? Happy to help either way but it would be good to know which direction you're going with it
specifically, whether you're doing in clojurescript or clojure is kind of important
my thoughts are effectively you're going to need a DSL layer to interpret the meaning of the maps as they relate to the components, but you probably already knew that. If you're working in Clojure, you can't have dynamic (runtime) components since you probably don't want to ruin your DB by creating schema on the fly. I would strongly consider checking the https://en.wikipedia.org/wiki/Entity_component_system for some inspiration on how you can create "dynamic" behavior from predefined schema used the entity component system.
Regarding the "deletion", the good news is that you don't really have to "delete" anything, you simply assert what the new structure is.
So the challenge for you will be structuring recursive queries. There is a recursive pull syntax available, but you'd have to carefully structure you schema. So the "illusion" of a recursive delete would be accomplished by doing a retraction near the root of your graph, aka, asserting an empty membership of children -- this would then break the recursion of your query
Anyway that's my two cents, best of luck to you!
Hi Goomba! Thank you so much for your help
I'll process and reply once I get what you are saying
Not secretly a Datasceipt question, I actually intend to store this datasctructure in Datomic
It can be either clj or cljs since both my backend and frontend are Clojure(script)
Regarding the DSL layer I don't think I need it, in the sense that the number of component types is fixed and each has a unique schema that's mostly immutable (I might add properties over time but that's it)
So each map will map to one component
And anything in it's :children key will be subcomponents (in the GUI sense)
Re deletion that makes sense
And while I haven't fully understood recursive queries I'm not concerned since I saw several examples and they seem to make sense