This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-01
Channels
- # adventofcode (1)
- # bangalore-clj (1)
- # beginners (8)
- # boot (47)
- # cider (6)
- # cljsrn (3)
- # clojure (155)
- # clojure-brasil (2)
- # clojure-china (3)
- # clojure-conj (1)
- # clojure-hk (4)
- # clojure-korea (36)
- # clojure-russia (38)
- # clojure-spec (53)
- # clojure-taiwan (1)
- # clojure-uk (14)
- # clojurescript (70)
- # clojurex (9)
- # component (2)
- # cursive (20)
- # datascript (19)
- # datomic (39)
- # defnpodcast (1)
- # events (5)
- # figwheel (2)
- # hoplon (81)
- # incanter (2)
- # jobs (7)
- # juxt (3)
- # klipse (1)
- # leiningen (1)
- # luminus (15)
- # mount (1)
- # off-topic (21)
- # om (5)
- # om-next (2)
- # onyx (19)
- # pedestal (2)
- # proto-repl (1)
- # proton (5)
- # re-frame (19)
- # reagent (4)
- # rethinkdb (2)
- # ring-swagger (6)
- # rum (13)
- # specter (6)
- # untangled (4)
- # yada (1)
I'm starting a small CQRS simulator project. I want to do it with onyx-local-rt, and I want to show the window state with the environment on every tick. Can environment-summary show the window state or is it intentionally left out?
No, that’s up to the user.
@chrisblom How large?
@yonatanel It could I guess, but I think I’d prefer that you write your own since the window bounds aren’t exactly the most readable thing. Usually they’re convertable to UNIX timestamps, but not always.
@yonatanel Does that seem acceptable given that environment-summary
is just a select-keys
call?
@michaeldrogalis I personally don’t mind sticking it in there even if it’s not readable since it gives an idea about what is going on
@lucasbradstreet Should we call bounds
before reading it to to reverse the extents then?
I guess I don’t really have a strong opinion, it’s just a utility fn. Whatever you think will be most useful @yonatanel @lucasbradstreet
I don’t think we do when we pass the extents to the trigger function, right?
Yeah, my argument is that more info into what is going on is better than less as long as people don’t start using it from there
(to do anything important that is)
That’s a good point, yeah. @yonatanel If you want to PR the change it, let’s do it
I could also see it being useful for writing unit tests when comparing the results of trigger calls to what is in the windows