This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-16
Channels
- # announcements (11)
- # beginners (184)
- # calva (91)
- # cider (68)
- # cljdoc (42)
- # cljs-dev (44)
- # clojure (228)
- # clojure-dev (1)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-losangeles (6)
- # clojure-nl (9)
- # clojure-spec (73)
- # clojure-uk (19)
- # clojurescript (61)
- # core-async (6)
- # cursive (2)
- # datomic (11)
- # fulcro (28)
- # hyperfiddle (16)
- # leiningen (2)
- # luminus (3)
- # off-topic (19)
- # om-next (1)
- # re-frame (2)
- # reagent (12)
- # reitit (4)
- # ring-swagger (5)
- # shadow-cljs (14)
- # slack-help (6)
- # spacemacs (2)
- # tools-deps (40)
- # vim (15)
- # yada (4)
@alexandrkozyrev [[:db.fn/cas [:global/pointer 22] :global/counter (:global/counter val) (inc (:global/counter val))]]
– in the entity position (that first argument) needs to be something that resolves to a valid datomic entity - for this "lookup ref" syntax to work, the datomic attribute schema needs to be set to :db.unique :identity
Make a new attribute and set unique to identity, then you can use the [attr val] pair instead of the db/id
Or just write [[:db.fn/cas 17592186045780 :global/counter (:global/counter val) (inc (:global/counter val))]]
:hypercrud.browser/data is technical debt, prefer to use val
until we provide further guidance
feature request: can you please make “auto-transact” mode visible in top-nav, now it’s only displayed in “stage” pop-down window
@dustingetz I get “user tx failed validation” alert on the http://tank.hyperfiddle.net/:dustingetz!counter/, both my variants (db/id and :db.unique :identity) show me about 1s latency, do you have the same mileage?
@alexandrkozyrev Can you capture a screenshot of the timings in the developer tools?
@alexandrkozyrev If you hover the stage you can see auto-transact status, is that sufficient for your need?
@dustingetz timing screenshots
Thanks
@dustingetz feature request: fiddle cloning/mocking. intent: speed-up fiddle evolution. details: quite often I can understand what variant of “the same fiddle” is best only when I play with both of them (for instance, the only difference between “two variants of the same fiddle” is :on-click function). at the moment I use #_ a lot or copypaste scr to another fiddle (if all/both options doesn’t fit in one screen/page). I’d like to have a clone button or another way to mock a fiddle - quite close to https://github.com/vvvvalvalval/datomock
Fiddle forking is coming back asap!
Fiddle forking is coming back asap!