chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
fabrao 2020-08-18T14:24:17.004200Z

Hello all, in Chlorine I have to execute 2 times to connect to repl, is anyone with this problem or just me?

mauricio.szabo 2020-08-18T14:25:58.004700Z

I hope it's just you 😄. Which OS / Clojure version?

fabrao 2020-08-18T14:26:26.004900Z

Windows

fabrao 2020-08-18T14:26:33.005100Z

1.10.1

fabrao 2020-08-18T14:28:20.005700Z

deps.edn -> :aliases {:dev {:jvm-opts ["-Dclojure.server.repl={:port,5555,:accept,clojure.core.server/repl}"]}}

fabrao 2020-08-18T14:28:34.006Z

clj -A:dev

seancorfield 2020-08-18T17:00:27.007600Z

I've noticed that occasionally but haven't been able to figure out a pattern for it. I think I've only seen it happen on Windows, and it may just be that the Socket REPL is taking longer to start there and just isn't quite ready when I first connect? I'll try to pay attention next time it happens.

fabrao 2020-08-18T19:07:44.008500Z

😞

fabrao 2020-08-18T19:08:35.009100Z

"just isn't quite ready when I first connect?" -> the repl show prompt up and after I´ll try to connect it

mauricio.szabo 2020-08-18T19:10:32.011400Z

@fabrao I really don't see this issue on Linux (nor the CI server sees it 😄), but I'll try to look at it. I remember that, on some development time, I saw these problems happening but they are like a Shroendinger's Bug - when I try to observe it (by adding prn for example) it does not happen 😅

seancorfield 2020-08-18T19:10:53.011900Z

It depends how long the Socket REPL takes to start up in the background. It's not related to when the interactive prompt shows up in Powershell.

seancorfield 2020-08-18T19:11:49.012700Z

My experience with Clojure/Java on Windows is that some network-related stuff is substantially slower to set up than on macOS/Linux.

fabrao 2020-08-18T19:13:12.013500Z

oh, I didn´t know Socket REPL starts in background, maybe the problem so

mauricio.szabo 2020-08-18T19:19:07.015700Z

My experience with Linux is that the Socket REPL starts even before a prompt appears... I have no idea if it's slower on Windows, but probably is. @fabrao, you can check if the Socket REPL is online by trying to telnet into that port. If it is, indeed, online, then it's probably a bug on Chlorine side

fabrao 2020-08-18T19:20:28.016100Z

I´ll try to wait more time to connect it