Fork me on GitHub
#cider
<
2018-03-20
>
bozhidar03:03:59

Morning from Vietnam! 🙂

1
bozhidar03:03:08

@mikerod I just noticed it seems no one’s using it these days. I don’t plan for us to do anything special to drop support for Java 7, we’ll likely just remove it from the build matrix once we ship out CIDER 0.17, which should happen at the end of the month / beginning of next month if everything goes well.

arrdem06:03:40

Midnight greetings from San Francisco, does CIDER make any attempt to expose it’s “pick the machinery with which to start an nREPL” server logic to other systems like say vim-fireplace?

dominicm07:03:43

@arrdem I don't understand the question, but as a vim user, I can probably answer.

arrdem07:03:20

@dominicm I think the answer is no - the emacs CIDER client has a bunch of smarts which figure out how to run a CIDER repl using deps.edn or boot or lein or what have you.

dominicm07:03:54

yeah, that's too early for it to be shared. The shared area is in the nrepl. Fortunately the logic isn't too complex, and was replicated in https://github.com/clojure-vim/vim-jack-in

dominicm07:03:08

vim-jack-in had deps.edn jack-in before cider infact.

arrdem07:03:11

My question was whether that logic is (or could be) packaged outside of emacs such that fireplace or other tools could use it too, specifically because I’m toying with writing a new build tool which would need its own incantation support.

arrdem07:03:25

And it’d be really neat of that could be fully shared etc.

arrdem07:03:02

Thanks, I’ll keep that in mind. I suspect I’m gonna try to build an MVP atop lein and see how that goes, which makes this a non-need for now.

dominicm07:03:47

The only thing your build tool needs to expose is a way to add deps & maybe middleware, from the cli. But having eval works too.

bozhidar08:03:53

Yeah, you can’t really share this, because all of this happens before booting the server.

bozhidar08:03:53

Unless you package it as a Python script or something. 🙂

bozhidar11:03:02

I’m considering to drop the Gradle support from CIDER. Seeing the usage results it seems that just 2% are using it https://www.surveymonkey.com/results/SM-9BC5FNJ68/ With Gradle we’re not doing deps injection, as with everything else, and it seems no one is particularly interested to make things there better, so I’d rather just kill the limited support we have for it simplicity/consistency. Any objections.?

bozhidar11:03:16

(that support extends just to cider-jack-in)

dominicm11:03:50

what's the cost of keeping it?

hkjels11:03:01

I don’t use gradle myself, but 2% is still a few people. Could it be a separate module, so that those 2% can try to keep up themselves?

bozhidar11:03:08

@dominicm The cost is not high, but it doesn’t work like everything else, therefore my preference is not to have it at all (I dislike inconsistent features). Obviously gradle users can simply start the server manually in this situation and connect to it.

bozhidar11:03:04

> I don’t use gradle myself, but 2% is still a few people. Could it be a separate module, so that those 2% can try to keep up themselves? The support for gradle is just project detection, a few configuration variables and dispatch on the project type here and there. Extracting something so simple seems like an overkill, as it would complicate the existing code.

bozhidar12:03:56

Just for the protocol - if deps injection is possible with Gradle and someone wants to work on it, I’d be fine with keeping it.

norman16:03:17

I find 2% surprising. I wonder how many of those represent people who actually use clojure and gradle together on a regular basis

norman16:03:22

As opposed to people who have at some time used gradle and clojure or who use gradle and use clojure together. I think a lot of people don’t answer these kinds of things honestly, especially on the fringes.

bozhidar17:03:37

Perhaps. Frankly I’m more surprised about the Maven usage, but I guess those are some mixed Java/Clojure projects.

dominicm17:03:36

People using maven are less likely to use slack, and less likely to attend conferences I suspect. Enterprise is a silent market for clojure.