No, I can't spot was is particular. But my computer is weak and has very little RAM so maybe it is just one JVM process too much. Will try with only that one and whatever I need for testing the transport-fn.
@bozhidar Thanks for all the work on cider-nrepl
:thumbsup:
I've been fleshing out the ClojureVSCode extension recently to add more cider-nrepl support - one difficulty I'm having to find a spec for what the result formats are from the different cider-nrepl
middleware. Is there a doc somewhere describing the keys and values?
For example, I've been writing a type definition for the result of running some tests:
https://github.com/avli/clojureVSCode/blob/bc14a2b99c710c8fcb5d2c9212e98f06c44acc06/src/clojureEval.ts#L16-L45
If there isn't such a doc, I'd like to make a PR to add one - what's the right place to put it?
@marc-omorain Great point! So, this has to be generated automatically from the middleware descriptors like this doc https://github.com/nrepl/nREPL/blob/master/doc/ops.md
Thereโs a bit of logic in nREPL to dump the output of the describe op as markdown and I think we should just add a command line interface for it.
When cider-nrepl is loaded this would also-output the description of all its ops.
I wouldn't be thinking of a lein task, just a main.
For @pez @bozhidar this is a serious :cider: contender. Not Clojure though ๐ maybe Calva one day? https://mobile.twitter.com/jaredforsyth/status/1026706210043490304
then doing lein run โฆ
or clj -m gen.main โฆ
@bozhidar https://github.com/clojure-emacs/refactor-nrepl/commit/f75441e2bb9f8f47aed221f592a1ac583df4cf1b no luck with my nrepl patch?
Oh, no, I realized this, yeah
ignore me ๐
Your patch works, thatโs why we deleted this. ๐
Alembic doesnโt work with Java 9+.
dynapath should work with this setup.
Btw, I donโt get your point about the main. You want a dedicated main just for the docs generation?
@bozhidar yup. More universal than a lein task
I planned just to add a cmd line flag about this --describe-ops
oh, a command line flag works too
the problem is that I now need to have certain dependencies loaded.
can I hot load my dependency hot loading system? ๐
@bozhidar does alembic not work period with java9+? Or it would work if it could find a DynamicClassLoader?
I mean, t.d.a should ship with refactor to support this functionality I suppose.
alembic uses dynapath, so it should work. Yeah, I think we just need to make changes in nrepl to support this.
You get a runtime error with it, if I recall correctly.
That was holding back a new refactor-nrepl release for a long time, so I just suggested we delete it.
Yeah, for sure. Makes sense.
Both maintainers donโt have much time for the project, Iโm trying to help them now cut finally 2.4.0, and Iโm done with open-source for a very long time. ๐
I think this would need a bit of jiggery to work in nrepl. Something about how nrepl is started. So a good choice to cut it for now.
Maybe. Generally I want to have a hot-loading middleware straight in cider-nrepl, but who has time for all of this.
Yeah, weโre just waiting to see if people will complain a lot.
yeah, where it goes doesn't matter. I like the feature in replant is all ๐
Did you test the latest snapshot? Supposedly we fixed it ๐
I haven't yet, no. My life has significantly reduced clojure in it at the moment. I write terraform instead.
I miss clojure.
a lot.
Well, thereโs open-source for you. ๐
conditional statements can only return strings. Not lists. Not maps. Just strings. Do you know how you return a list? You do this:
"${split(",", condition ? join(",", alistofthings) : "")}"
All the Clojure I ever wrote. ๐
@bozhidar before you quit then we need to merge my cljs-tooling
patch ๐ should be good to go
Actually tests are failing sorry...
Renamed something and forgot to push, should be good later today
Yeah, just let me know when this is ready.
No answer from the Cljs folks on my jira, so ended up copying things over, will do sorry for the ping
Iโll still be around, but starting next week Iโll be on semi-vacation for a few months and Iโll try to scale down my OSS work.
Deserved holiday I would say ;)
Iโll still take a look at patches and stuff, but I donโt plan to work on anything meaningful myself for a while.
Yeah, the last few months were pretty stressful. I certainly need some rest.
@richiardiandrea ocaml looks cool, even though I do not quite understand what it is I am looking at. ๐
@bozhidar scale down on your OSS work for the duration of the semi-vacation or also beyond that?
That is Clojure/lisp syntax compiled to Ocaml AST
Which means lisp to native through the Ocaml compiler
@pez Just during the semi-vacation. ๐ Semi-vacation basically means a vacations from OSS, not a real vacation. The recent push was way too exhausting and I need to recharge my batteries a bit.
I love working on OSS projects, but juggling a ton of projects and a full-time job can really drain you.