Fork me on GitHub
#off-topic
<
2020-06-17
>
phronmophobic00:06:15

are there any libraries that let you build up workflows similar to the diagram from the clojure.core.async talk https://raw.githubusercontent.com/matthiasn/talk-transcripts/master/Hickey_Rich/CoreAsync/00.31.28.jpg? bonus points if the library will also create diagrams from the workflow definitions

phronmophobic00:06:24

I realize clojure.core.async is intended for this, but I’m not sure how one would take clojure.core.async code and produce a diagram similar to the above

jaide00:06:33

This strikes me as what most transducer or stream libraries provide no?

phronmophobic00:06:41

apache storm is in a similar space. do you have examples of others?

phronmophobic00:06:09

you can build these workflows/topologies using stream, core.async and transducers, but the topology/workflow itself isn’t typically reified as something you can inspect and manipulate after the fact

souenzzo00:06:40

Checkout ubergraph I use it to plot onyx jobs

metal 3
👀 3
Drew Verlee01:06:35

Onyx. I really wish they were able to get enough traction on that protect.

phronmophobic16:06:18

thanks @UQY3M3F6D, I’ll check it out!

phronmophobic20:06:01

and in case anyone is following along, I’ve found some inspirations from https://github.com/stuartsierra/component even though it’s a slightly different use case.

souenzzo22:06:24

Also take a look at #pathom

👍 3
Thomas Moerman09:06:49

@UQY3M3F6D you solved my current problem suggesting that library. Hurray for serendipity :thumbsup::skin-tone-3:

Linus Ericsson09:06:18

Oh, I’m delighted to hear that!

richiardiandrea16:06:25

Never seen this slide, which video is that? He has a point (no way! 😄)

Endre Bakken Stovner11:06:26

I do not get it 😕

borkdude13:06:30

Are you using rewrite-clj or rewrite-cljs? @lee is working on a follow up library called rewrite-cljc: https://github.com/lread/rewrite-cljc-playground Please share your lib for compatibility testing in #rewrite-clj

Drew Verlee01:06:29

I love the idea of cljr but it never seems to work on any project I ever open. Maybe this is my fault, but the fear it's going to do something unexpected always keeps me from seriously using it outside my own hobby projects.

lread04:06:28

If you decide to try again someday @U0DJ4T5U1, I’d love to learn about what kind of failure you are experiencing.

Drew Verlee12:06:02

I can't imagine any long time user doesn't run into the same issues. i tried to convert to a thread first macro yesterday and my repl crashed.

borkdude12:06:13

@U0DJ4T5U1 what are you referring to with cljr?

borkdude12:06:53

that's something completely different

Drew Verlee12:06:17

so it is, thats what i get for reading late into the night 🙂

borkdude12:06:08

maybe you should try rewrite-clj though, it's awesome 😉

Drew Verlee13:06:22

interesting. and impressive. What itch is this scratching? As in, whats an example of how this is being used?

borkdude13:06:16

@U0DJ4T5U1 many projects using code analysis and code rewriting use this. e.g. clj-kondo, clojure-lsp

Drew Verlee13:06:32

yea. that makes sense. Why is it important that it be whitespace aware for what its trying to do?

Drew Verlee13:06:48

oh, i guess so it can "rewrite it"

borkdude13:06:13

yeah. for clj-kondo this isn't important though, but since it doesn't directly use sexprs it's able to also save location metadata for e.g. numbers, strings, and keywords, which clj-kondo does need

Dmitry K13:06:07

Hi All I have recently put a poll out on Linkedin about technical tests during an interview process. It would be great to hear all your opinions on them. Click on the link and submit your vote. https://www.linkedin.com/posts/nathan-davis-214039157_scala-interview-interviewing-activity-6679015369308471296-VbP1

spam 3