Fork me on GitHub
#onyx
<
2016-10-19
>
michaeldrogalis03:10:51

I'll post to Twitter and Reddit in the AM, but dropping this here since I tend to miss the European crowd while I'm asleep. 🙂 http://www.onyxplatform.org/jekyll/update/2016/10/18/Local-Runtime.html

yonatanel08:10:25

Is there a plugin for Atom/EventStore? I couldn't find any but maybe someone here has experience with it. http://docs.geteventstore.com/http-api/3.9.0/reading-streams/

lucasbradstreet11:10:45

I don't think anyone has used it with Onyx

borkdude17:10:04

tasks in Onyx can have only one input/argument right?

Travis17:10:37

A segments or a sequence of segments

Travis17:10:54

Also arguments can be added through the task def

Travis18:10:20

They would come first in the args

borkdude18:10:38

I wondered if I could model this problem with onyx-local-rt: http://adventofcode.com/2015/day/7

borkdude18:10:27

just for fun

borkdude18:10:30

but how would you say: x AND y -> d, I guess that doesn’t make sense in onyx

michaeldrogalis18:10:42

@borkdude Ill read the problem in a moment, but you can operate over a batch of segments at a time with lifecycles, or by using batch-fn? http://www.onyxplatform.org/docs/cheat-sheet/latest/#catalog-entry/:onyx/batch-fn-QMARK

michaeldrogalis18:10:56

Im pretty sure batch-fn? is one of the few missing features in local-rt right now, but it's easy to add in.

michaeldrogalis18:10:59

Oh, even easier. You don't need anything I just said. A task can have multiple input tasks.

michaeldrogalis18:10:19

[[:input-1 :f]
 [:input-2 :f]
 [:f :output]]

michaeldrogalis18:10:42

@borkdude Okay, read the whole thing. Your instinct about and-gates is right. You could do it with local-rt, but you'd be relying on an implementation detail that all task states transition in lock-step to make it correct. Streaming isn't a great fit for this kind of problem.

borkdude18:10:20

yes, thanks for verifying