Fork me on GitHub
#onyx
<
2016-10-22
>
michaeldrogalis17:10:04

Had another neat idea. It should be really easy to throw up a single, static page with a repl-ish input that lets you put in an Onyx program and run it using Clojail. https://github.com/Raynes/clojail

michaeldrogalis17:10:30

We could prepopulate the first screen you drop into to be a full featured job so it makes it easy to turn the various knobs and learn.

lucasbradstreet17:10:18

Ah yes clojail. I had similar thoughts a while back. I’m not sure how much work that one would be though.

michaeldrogalis17:10:16

Two text fields - one for Clojure code, another with a map of input task -> segments to write into the job. One button for "eval job", one output field to display all the outputs and window contents.

michaeldrogalis17:10:21

What could go wrong? 😄

lucasbradstreet18:10:02

If it’s in a page, why can’t you just use the cljs version with onyx-local-rt? If not, then what about stuff like ZooKeeper?

michaeldrogalis18:10:18

@lucasbradstreet I was thinking of using onyx-local-rt, yeah. Unstated assumption was that people might be able to add their own Clojure functions to the repl, too.

lucasbradstreet18:10:36

You can do that with bootstrapped cljs in a browser though, right?

michaeldrogalis19:10:10

I actually dont know.

lucasbradstreet19:10:47

Pretty sure you can. Anyway, I think we should try that first 🙂

lucasbradstreet19:10:37

Multiple peers per peer group is working in property tests. Tomorrow I’ll finish off the ticket latching