This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-06
Channels
- # adventofcode (24)
- # aleph (1)
- # bangalore-clj (2)
- # beginners (196)
- # boot (148)
- # cider (18)
- # clara (83)
- # cljsrn (24)
- # clojure (210)
- # clojure-brasil (3)
- # clojure-china (1)
- # clojure-italy (11)
- # clojure-korea (8)
- # clojure-russia (82)
- # clojure-spec (115)
- # clojure-uk (130)
- # clojurescript (109)
- # core-async (7)
- # cryogen (1)
- # cursive (22)
- # datascript (11)
- # datomic (6)
- # devcards (2)
- # emacs (1)
- # garden (1)
- # hoplon (2)
- # incanter (1)
- # klipse (4)
- # luminus (4)
- # off-topic (89)
- # om (53)
- # onyx (78)
- # parinfer (9)
- # proton (3)
- # protorepl (20)
- # re-frame (107)
- # reagent (52)
- # rum (30)
- # spacemacs (1)
- # testing (3)
- # untangled (31)
- # vim (43)
- # yada (9)
Our stallion to Seattle
(Hello Kitty)
Seems like onyx-local-rt copied the trigger sync code from core, but didn't prepare the state the same way.
(sync-fn (:task-event state-event) window trigger state-event extent-state)
There's not any other reference to :task-event in onyx-local-rt@colinhicks In cljs, do I need to require the namespace in which I define onyx hooks in order for them to be resolved successfully by onyx?
I wonder if I should just use the regular onyx and query it as much as possible instead.
Design question: Why aggregation and lifecycle functions inside the calls map are function objects instead of fully qualified keyword? (Gets me every time)
Mostly because it’d be too many layers of indirection
the calls map is already resolved from a keyword, and then to resolve the functions from within there via keywords would make people jump around a lot more / prevent anonymous functions being put in the call map / stop them from using their editor to jump to the functions, etc
I could see allowing either though.
@yonatanel that cqrs example looks great 🙂
Thanks. Currently it wastes way more time than I thought. I'm waiting for it to return the investment
@yonatanel thanks for the report on the onyx-local-rt task-event issue. Could you create an issue please? Unfortunately you’re on the bleeding edge of it so you’re getting hurt by these roadblocks 😕
I’ll get to it on my Tapei to Seattle flight
Because it's a lot easier to learn using pictures so I have started https://github.com/mariusz-jachimowicz-83/mastering-onyx-book https://www.gitbook.com/book/mariusz-jachimowicz-83/mastering-onyx/details
Onyx turns 3 years old in the last week of December. I’m going to put out a blog post next week since I don’t intend to be online during Christmas. 😛 Mostly just want to say thanks to everyone’s contributions this year. This is the first full calendar year where it feels like the community has solidified.
We have so many good paths ahead of us. Proud to work with ya'll
@mariusz_jachimowicz Btw, if you’re doing a lot of diagrams, might want to check out https://github.com/knsv/mermaid
One of the problems we encounter a lot with shared documents with pictures are updating the pictures.
i’m busy integrating http://mdp.tylingsoft.com/ into a Datomic doc system that integrates mermaid 🙂 http://mdp.tylingsoft.com/#flowchart very nice!
@robert-stuttaford Ooo, very cool!
Gosh this is nice
i know right
@michaeldrogalis imagine a ui like that, where the doc you edit is a :db/doc for any :db/ident holder or any lookup-ref-able entity 🙂
and you can search for any :db/ident
i’m a couple days into building it. when it’s usable, i’ll OSS it. i’m building it as a library with middleware that you just add to your ring handler with some config, and you get a plug-n-play datomic entity doc system
@robert-stuttaford Ahhh, so cool!
@robert-stuttaford, very cool! I've been thinking that if the translation from markdown to clojure data structures was as nice as the translation from hiccup to html, then fancy things like orgmode style agenda, search, and other coolness would become possible. So much cool stuff possible!
The docs say about batch functions "such as writing segments to a database in a non-output task". How is that possible?
@yonatanel Do side-effecty things in :onyx/fn
.
@yonatanel A lifecycle. You can send arbitrary, non-serializable parameters in. See bullet 2: http://www.onyxplatform.org/docs/user-guide/latest/#_function_parameterization
It doesn’t, no, since you have the whole event map in that function.
You can use a lifecycle and attach a value to any key, then access that key directly at the top level of the event map inside a trigger sync
Thanks, Ill dig in tonight
Hey guys, we are getting this error off an on, do you guys have any insight and what may cause this to occur?
16-12-06 19:43:53 ip-10-0-20-214.ec2.internal WARN [onyx.messaging.aeron.publication-manager:79] - Aeron messaging publication error: uk.co.real_logic.aeron.exceptions.ConductorServiceTimeoutException: Timeout between service calls over 5000000000ns
16-12-06 19:43:53 ip-10-0-20-214.ec2.internal WARN [onyx.messaging.aeron:95] -
[37mjava.lang.Thread.run[m [32m Thread.java: 745[m
[37muk.co.real_logic.agrona.concurrent.AgentRunner.run[m [32m AgentRunner.java: 105[m
[37muk.co.real_logic.aeron.ClientConductor.doWork[m [32mClientConductor.java: 113[m
[37muk.co.real_logic.aeron.ClientConductor.doWork[m [32mClientConductor.java: 293[m
[37muk.co.real_logic.aeron.ClientConductor.onCheckTimeouts[m [32mClientConductor.java: 338[m
[1;31muk.co.real_logic.aeron.exceptions.ConductorServiceTimeoutException[m: [3mTimeout between service calls over 5000000000ns[m
@camechis Fixed in 0.9.15.
We just bumped the version to all be 0.9.15.0 and are getting a class not found exception on AeronContext
We bumped the Aeron version in core, are you bringing in a version of Aeron yourself and running it on the side?
lein deps :tree
will track it down
hmm, we are only seeing 1.0.4 in the deps tree. Noticing this is happen in
lib-onyx.media-driver
@michaeldrogalis Any thoughts?
@jholmberg @camechis Can you please PR the change?
Thanks 🙂
Yep we can, wasn’t sure if we needed to change something on our end not to use lib-onyx
@camechis The assessment seems right, seems like Leiningen picked the older Aeron version to put on the classpath
yeah, lib-onyx doesn’t have a direct dep on aeron but gets it from onyx-core i think. Which bring in the latest aeron but lib-onyx code is behind
lib-onyx isn’t under autorelease, yeah. That would definitely be behind
@michaeldrogalis How does lib-onyx actually get built since it has no reference to aeron in the project.clj? And i don’t see any other deps that would bring in aeron
@camechis It relies on whatever version of Onyx Core you bring onto the classpath
There’s a dev dep if you need to use it in isolation for testing itself: https://github.com/onyx-platform/lib-onyx/blob/master/project.clj#L24
But in general lib-onyx is only useful in the presence of another Onyx installation.
pull request is in please review! https://github.com/onyx-platform/lib-onyx/pull/14
@camechis Awesome, merged. Thank you!
Ill cut a release while Im looking at it
Done. 0.9.15.0 on Clojars.