hyperfiddle

http://hyperfiddle.net
2018-11-16T01:00:58.012800Z

@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

2018-11-16T01:01:21.013300Z

Make a new attribute and set unique to identity, then you can use the [attr val] pair instead of the db/id

2018-11-16T01:01:39.013600Z

Or just write [[:db.fn/cas 17592186045780 :global/counter (:global/counter val) (inc (:global/counter val))]]

2018-11-16T01:05:19.014800Z

:hypercrud.browser/data is technical debt, prefer to use val until we provide further guidance

alexandrkozyrev 2018-11-16T12:07:43.017200Z

feature request: can you please make “auto-transact” mode visible in top-nav, now it’s only displayed in “stage” pop-down window

alexandrkozyrev 2018-11-16T12:12:15.018900Z

@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 2018-11-16T12:12:24.019100Z

http://alexandrkozyrev.hyperfiddle.net/:change/

alexandrkozyrev 2018-11-16T12:12:34.019300Z

http://alexandrkozyrev.hyperfiddle.net/:change-hook/

2018-11-16T12:59:50.020600Z

@alexandrkozyrev Can you capture a screenshot of the timings in the developer tools?

2018-11-16T13:59:40.021200Z

@alexandrkozyrev If you hover the stage you can see auto-transact status, is that sufficient for your need?

alexandrkozyrev 2018-11-16T18:50:49.021800Z

@dustingetz timing screenshots

alexandrkozyrev 2018-11-16T18:51:16.022Z

@dustingetz

alexandrkozyrev 2018-11-16T18:51:23.022300Z

2018-11-16T19:18:30.022900Z

Thanks

alexandrkozyrev 2018-11-16T20:23:10.031800Z

@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