Fork me on GitHub
#boot
<
2017-11-28
>
richiardiandrea00:11:00

@qqq it looks like the functions you are calling need to set *ns* for some reason, but you cannot set a dynamic var that has been creater in another thread. Probably the repl task and that resolve have to run inside the same pod, aka the pod of the repl

richiardiandrea00:11:24

I think though there is a task already for reloading namespaces

teawaterwire11:11:13

Hi there, Reading this page https://github.com/boot-clj/boot/wiki/Pods I'm having a hard time figuring out when to use with-eval-in or with-call-in ? Is there more documentation about pods somewhere?

teawaterwire13:11:42

Looking at the source code https://github.com/boot-clj/boot/blob/master/boot/pod/src/boot/pod.clj#L354 it seems that with-call-in does the job of requiring the namespace whereas inside with-eval-in you have to require it yourself

martinklepsch13:11:04

@U5UCAE37Z yes, I think that’s pretty much it.

teawaterwire13:11:17

should I add it in the wiki?

alandipert14:11:04

teawaterwire sure, thanks

seancorfield19:11:32

To celebrate the release of Kotlin 1.2, which includes kotlin.test, I've updated boot-kotlinc to add a -t / --test option to support easier testing: https://github.com/seancorfield/boot-kotlinc

dave21:11:53

@seancorfield nice! by the way, i've been meaning to ask you -- would you be interested in merging our boot kotlin efforts in some way? ( https://github.com/daveyarwood/boot-kotlin )

dave21:11:18

i think up until you added the test feature, our kotlin tasks have been roughly equivalent

dave21:11:28

aside from some minor differences in compiler options

seancorfield21:11:02

@dave Ah, I didn't even know anyone else had built such a task...

seancorfield21:11:37

Am I right that yours assumes resource-paths / source-paths are already set up? (by the command line or by the calling build.boot file)

dave21:11:29

it adds the source-paths dynamically via a pod

seancorfield21:11:56

Based on whatever the user has already added to the paths?

dave21:11:25

oh, sorry -- we're talking about two different things

seancorfield21:11:30

(since it uses (core/input-files fileset))

dave21:11:47

ok, then yes

dave21:11:06

the kotlin source files need to already be in a predefined source path

seancorfield21:11:11

I remember having several problems around handling of stdlib -- which is why I ended up explicitly adding that to the deps, rather than runtime and reflect. Was I just doing something dumb, perhaps?

seancorfield21:11:44

I'm not actively using my project, except to tinker with Kotlin as I learn the language, so I'm happy to sunset mine in preference to yours. Feel free to incorporate any ideas from mine into yours. Are you using yours for production stuff? (or are both just tinkering? 🙂 )

alandipert23:11:53

i recently put kotlin in production, kinda-ish! good experience

alandipert23:11:20

(for a side project. started with dave's boot-kotlin, moved to maven to experience life as a full-on intellij weeny)

alandipert23:11:22

(side project is https://giftsforaprogrammer.com/, my kotlin program is basically a batch job that decorates a file of product asin's i have with latest pricing/image info)

dave13:11:25

this is cool! i will share it with my family, lol

dave13:11:18

i like the descriptions of the products in layman's terms, so the gift giver actually understands what the gift is and why the programmer might like it