Fork me on GitHub
#cider
<
2018-11-04
>
sinistral14:11:46

Hello. I have CIDER 0.18.0 installed from source (`make`), and it mostly works; I'm running into edge cases like with cider-find-var: Wrong type argument: commandp, cider-find-var. I haven't yet tried an actual ELPA install, but I'd like to understand what's wrong with my setup if possible.

richiardiandrea16:11:39

Do you call mabe autoloads and require cider-autoloads.el it is necessary. I stumbled upon that as well

richiardiandrea16:11:31

it was added after 0.18.0 actually

richiardiandrea16:11:16

So before you probably had to require explicitly all the .el manually or create manually the autoloads

sinistral16:11:24

Thanks! I wasn't aware of that; I'll give it a try.

sinistral21:11:18

Oh, man ... this is all written up here: https://cider.readthedocs.io/en/latest/hacking_on_cider/ It all works perfectly now. Thanks again for the pointer.

levitanong14:11:27

Hi all, I’ve noticed a significant slow down lately. I’ve traced it to nrepl-server-filter calling ansi-color-apply-on-region a lot. Has anyone else experienced this?

bozhidar16:11:01

@levitanong I think we haven’t changed this code in years.

levitanong18:11:38

@bozhidar could it be that some other code has changed to call nrepl-server-filter more?

bozhidar20:11:41

I don’t think so. That function is applied on output from evaluations, so it can deal with ANSI colors.

levitanong15:11:01

Turns out something was logging a ton of stuff into my nrepl buffer, so that explained it. Sorry for the noise!

theeternalpulse21:11:18

odd, for one particular project I'm getting this error upon startup. I copied the edn from another project so not sure if it's related to that, but so far it only has one file included in the src

[nREPL] Starting server via /usr/local/bin/clojure -Sdeps '{:deps {org.clojure/tools.nrepl {:mvn/version "0.2.13"} cider/cider-nrepl {:mvn/version "0.18.0"}}}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware"])'...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Error building classpath. Could not find artifact bouncycastle:bctsp-jdk14:jar:138 in central ()
org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact bouncycastle:bctsp-jdk14:jar:138 in central ()

theeternalpulse21:11:32

I can run it with other projects fine

theeternalpulse21:11:06

deps.edn file
{:paths ["src"]
 :deps {org.clojure/clojure {:mvn/version "1.9.0"}
        quil {:mvn/version "2.7.1"}
        generateme/fastmath {:mvn/version "1.0.1"}}}

theeternalpulse21:11:51

odd, merely removing all of the deps except clojure and then re-adding them worked

theeternalpulse21:11:49

seems fastmath is the issue