Fork me on GitHub
#cider
<
2018-05-27
>
myguidingstar01:05:11

how do I config cider to run some Clojure code after jack-in successfully?

benedek10:05:23

@dominicm how far did you get with tackling add missing libspec for cider/orchard?

benedek10:05:32

(asking for a friend :D)

dominicm10:05:38

I'm guessing not very far because I don't remember what you mean @benedek 😄

benedek10:05:50

haha, did i dream this?

dominicm10:05:11

Probably not, I've had a lot of concurrent projects lately. The switching cost is definitely me forgetting tasks.

benedek10:05:33

oh, sorry i might be mixing up add missing libspec with add project dependency, hehe

benedek10:05:03

so what i mean i guess is the compatibility issues for add project deps and java9+

benedek10:05:53

do i make more sense now?

dominicm10:05:39

That rings more of a bell, yeah. I've done a little poking around, and I am convinced that the strategy would be to update cider/nrepl to use a DynamicClassLoader. This would fix add-lib from tools.deps also

benedek10:05:25

hm interesting. would this be part of the nrepl server work currently ongoing in cider-nrepl/orchard land?

dominicm10:05:04

Doing it from refactor-nrepl would be nice, but because of nrepl spawning threads, I don't think it's realistic. But I could be wrong, I haven't poked at the implementation aspect too much.

benedek10:05:52

ok. thanks for the update!!

bozhidar12:05:16

@myguidingstar There’s some hook triggered on connect, but I don’t remember the name exactly. Should be somewhere in the manual I guess. (e.g. cider-connected-hook or whatever).

bozhidar12:05:53

@benedek What are you calling libspec exactly?

benedek12:05:39

there was a bit of confusion on my part really here. i call libspec what goes into the :require part of an ns form

benedek12:05:47

no, lying again

benedek12:05:16

eh… not my day 😉

benedek12:05:33

so yeah in terms of add missing libspec that is what i call libspec

benedek12:05:06

haha sorry for exaggerating in the issue comment @bozhidar;)

bozhidar12:05:57

No worries. I was just really surprised what those multiple rewrites were. 😄

benedek12:05:30

I meant stuff moving into orchard, the new nrepl things but i surely should shut up about things i did not propelry followed ;)

bozhidar13:05:10

Well, things are generally happening one at a time.

bozhidar13:05:37

I’ll be pretty low on time for the next couple of weeks, so I’m counting on someone else to update the lein plugin to work with the new nREPL (@richiardiandrea is already working on the boot side of things). So many things to do, so little time.

bozhidar13:05:03

Btw, the native elisp Clojure parser just got its first release today - this opens some new exciting opportunities.

benedek13:05:18

Yeah seen that. By plexus

benedek13:05:31

Sounds real awesome

benedek13:05:39

Have not checked it out yet

bozhidar13:05:14

There’s also a nice native edn reader to go with it, so I think parseedn should eventually replace edn.el that you use.

bozhidar13:05:39

Anyways, exciting times ahead! Just someone has to do all the remaining work. 😉

benedek13:05:49

oh yeah, nowadays i only dream about what i should work on in cljr/cider…

benedek13:05:02

hardly have any time… 😕