Fork me on GitHub
#onyx
<
2017-12-12
>
lellis14:12:07

Hi All! org.onyxplatform/onyx-seq is deprecated?

gardnervickers15:12:47

@lellis I’m not sure on the status of the onyx-seq repo, but Onyx core has a plugin for operating over seq’s under onyx.plugin.seq. There are task bundles under onyx.tasks.seq.

gardnervickers15:12:36

Ah yea the last released version is for 0.9.x where the plugin model changed so it’s for backwards compatibility for users on 0.9.x still. If you’re using newer versions of Onyx you’ll want the one in core.

michaeldrogalis16:12:12

@lellis The separate artifact is, yeah.

michaeldrogalis16:12:24

Use the version provided by core.

lellis16:12:01

There is any example using onyx.plugin.seq? I have some difficult to send seq to my job, it never reach my task next to :in . Its in lifecyle right?

michaeldrogalis16:12:29

Check the tests for Onyx -- they use it

michaeldrogalis16:12:36

Gotta run for a bit.

danielcompton23:12:51

I'm looking at https://github.com/PyroclastIO/metamorphic/blob/master/README.md, do my events have to be provided in order to match correctly?

danielcompton23:12:07

I can see that rt/process-event can take a timestamp as an extra parameter, but it's only mentioned in the context of time-windowed constraints

michaeldrogalis23:12:50

@danielcompton Hi! At the moment, yes. The particular algorithm I used is order sensitive. From the research I did before implementing it, virtually all algorithms for CEP are order sensitive. Some can fudge it by replaying events, but that can also be done at the application level, so I decided not to attack it.

danielcompton23:12:11

ok, that makes sense, I can handle replays at the application level

danielcompton23:12:33

This is for re-frame-trace https://github.com/Day8/re-frame-trace where we want to interpret streams of events to get the higher level context

danielcompton23:12:21

But the traces can come out of order as they are sent when the call finishes, so nested calls are 'before' the parent calls

danielcompton23:12:55

We can pretty easily detect this though, and rewind and rerun the match state

michaeldrogalis23:12:13

Cool - that makes sense. 🙂

michaeldrogalis23:12:51

CEP is a rather tricky topic as far as implementation, but it's super useful as a library.

michaeldrogalis23:12:00

Took a few months to get it right.

danielcompton23:12:24

Yeah I was embarking on doing this and thought, I should really try metamorphic before I invent my own hand-rolled solution

michaeldrogalis23:12:57

The biggest problem I had was that the papers outlining the design and implementation of each algorithm are incredibly dense.

michaeldrogalis23:12:28

It's also a class of problem with very high memory utilization, which I guess accounts for what I just complained about.

danielcompton23:12:47

Yeah I can imagine, having a look at some of the papers now

michaeldrogalis23:12:19

https://web.cs.wpi.edu/~chuanlei/papers/sigmod17.pdf <- This one is a more sophisticated version of the one I chose.

michaeldrogalis23:12:29

I decided not to reach that far.