Fork me on GitHub
#planck
<
2019-04-13
>
arbscht06:04:13

I keep forgetting there's a slack channel for most anything in clojure

arbscht06:04:06

I'm curious what's the rationale for *out* being in cljs.core while *err* and *in* are in planck.core?

slipset07:04:31

Would imagine it’s because only self hosted cljs has in and err. “Normal” cljs runs in the browser which AFAIK only has console.log to do output.

mfikes12:04:52

Yeah. Some of those could end up in cljs.core ultimately. An example of that kind of thing is *command-line-args* which didn't make a whole lot of sense in cljs.core initially.

arbscht12:04:50

hey @mfikes I'm trying to add to int-tests for the tty PR. the bash context turned out to be more useful than cljs, do you mind the PR expanding those tests? also, I used /usr/bin/script which is ok on linux but mac os x needs some work, not sure what (I don't use that platform)

mfikes12:04:18

Yeah, some of the terminal-oriented script-based tests might be better for the tty? testing. (I don't see how you'd really test things like that via the normal cljs.test-style testing.)

arbscht12:04:51

@mike858 thanks, I didn't know. I'm using it to fake a tty for a subprocess, but CI reports different behavior on linux and mac os x (see https://github.com/planck-repl/planck/pull/911/commits/a9de737ba76764acff19b3887ecf192e3ef3f4e2#diff-9c7c4bea66c6d9d1f4ddf56049bf0f4a)

arbscht12:04:35

I've no ability to debug it, so if you have any ideas that would help. otherwise I'll drop the test

pyrmont12:04:38

The f switch operates differently (according to that SO page). Maybe that's the issue?

arbscht12:04:49

sounds plausible

pyrmont12:04:50

I'm not on my Mac at the moment but can try later.

arbscht12:04:48

thanks. I'll take a close look at -f meanwhile

pyrmont12:04:12

Cool addition, by the way :)

🙂 4
arbscht12:04:44

necessity -> invention. we started using planck at work, already really great for quick scripting. there's always a wishlist of features though

arbscht14:04:31

well, turns out script is way different on osx and linux. seems to work in CI now with a very different invocation for each. cc @mike858

pyrmont16:04:27

@mail462: Oh, good to know!