Fork me on GitHub
#yada
<
2017-07-04
>
matan09:07:58

I don't even normally use boot; is edge the only feasible way for getting started? https://github.com/juxt/edge

matan09:07:30

Okay, found something for getting started

dominicm09:07:41

Only feasible way? No. But it's all setup & ready to go. it's a good source of "how to do X" and also a good template. Use it for either πŸ™‚

matan09:07:37

Thanks!! πŸ™‚

matan09:07:55

Excited about using it

matan09:07:29

Though I'm more of the leiningen personality type πŸ˜†

dominicm10:07:51

@matan How do you mean?

matan10:07:23

I use leiningen not boot, for all my projects so far

matan10:07:28

that's all

matan10:07:26

I guess boot allows for a lot of magic used by edge, making leiningen an irrelevant choice for a yada project, doesn't it?

matan10:07:33

Differently put, if I used yada in a leiningen project I'd probably be kind of the only person in the solar system doing that wouldn't I...

stijn10:07:50

i'm using yada with leiningen

matan10:07:58

@stijn oh really. I'm not really able making it work. any lein template out there?

matan10:07:16

I'm trying running a main with this in it, but nothing happens:

stijn10:07:34

i always use an empty lein project

stijn10:07:39

does the jvm die immediately?

matan10:07:54

yep, lein run just finishes right away

stijn10:07:33

that's because all your jvm threads are daemon, so you'll need to block on a normal thread to avoid the jvm stopping

stijn10:07:57

I usually use (.join (Thread/currentThread))

stijn10:07:17

in the edge example they use @(promise)

stijn10:07:08

it depends on the system you're starting. if this only includes yada (+ aleph), then you'll need to apply this trick in your -main function

matan10:07:26

@stijn don't you miss those boot/edge goodies when dealing with it? what kinds of projects have you used yada like that for? would you recommend it much?! πŸ™‚

dominicm10:07:49

@stijn I think edge should use the version that reaches into aleph. You may have just given me the secret recipe I needed.

stijn10:07:17

That's on my todo list like forever πŸ˜€

matan10:07:25

@dominicm glad I indirectly helped in a way I can't even understand πŸ™‚

stijn10:07:22

@matan not sure which goodies you're referring to.

stijn10:07:48

I think edge is more about a couple of choices made for you, and as @dominicm said it can be used as an example for how to use yada

dominicm10:07:12

(JUXTβ„’ Stackβ„’)β„’

matan16:07:16

dominicm: I wonder whether trademark signs make an abelian group, or are they only commutative here

stijn10:07:29

Yes that πŸ˜€

stijn10:07:13

We don't use component for instance.

dominicm10:07:29

@stijn what do you use?

stijn11:07:39

@dominicm we use Integrant

stijn11:07:35

Yes, I really like the combo with aero

mccraigmccraig11:07:44

@matan another yada+lein user here

mccraigmccraig11:07:00

also sans component