Clojurians
#boot
<
2017-05-31
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

danielsz00:05:27

Hi everybody, I'm announcing Boot tasks to get certificates from Letsencrypt. https://github.com/danielsz/certificaat#boot

richiardiandrea03:05:35

One recent talk at Clojure Conj was saying that Java is Clojure's assembly code. Can't be bad :grinning::grinning:

richiardiandrea15:05:46

I haven't double checked now but it used to be a problem yes :point_up:

ag18:05:30

anyone using boot-http/serve can tell me, is there a problem with logging things onto stdout? it seems because it lives in a different pod this might be a bit problematic (?) or it’s me doing something wrong?

nikki18:05:12

anyone been using this or a similar workaround? https://github.com/adzerk-oss/boot-cljs-repl/pull/40

pandeiro18:05:55

I've never had a problem adding eg a simple println to a handler and seeing the output

ag19:05:24

pandeiro: yeah, it seems some middleware, doing something strange. I moved a handler to the top of the chain, and it prints

donyorm19:05:40

@richiardiandrea I'm asking because it doesn't happen to me anymore, unless I'm trying something wrong

richiardiandrea19:05:25

@donyorm I'll verify that too in a while

bhagany22:05:57

@ag yeah, pods and input/output streams interact a little weirdly. I don't remember all the specifics, but in pods, System/in and System/out aren't connected to the main pod's *in* and *out*. If you remember the controversial cider bug that I fixed, this was the basic problem. (Edit to add that the same goes for *err*)

bhagany22:05:28

well, one side of the problem, I guess

ag23:05:26

@bhagany: can that be classified as a bug? Or that's something you have to use some workaround to deal with?

bhagany23:05:48

No worries :). For what it's worth, the boot problem is inherent to the nature of pods as isolated clojure runtimes, so I don't think it can be changed.

bhagany23:05:48

You'd have to work around it, but it's not the easiest thing in the world and I don't remember enough to tell you exactly what to do. The gist is that the pod's streams need to be handled separately