cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
respatialized 2021-01-11T00:58:44.032100Z

I'd recommend giving Zulip a shot for longer discussions, and the clojure community there has the benefit of mirroring messages on this slack

bozhidar 2021-01-11T07:21:19.032300Z

I've got no doubt that there are other good options, but I don't want to end up in 20 chats and one of the primary reasons I like Discord, is that I don't use it only for CIDER.

bozhidar 2021-01-11T07:22:52.032500Z

That's pretty much the only reason I use Slack as well - it's the chat we use at work. Otherwise it's unlikely I would have been running Slack just for the Clojurians community. My message was geared mostly towards Discord users and people who dislike Slack.

👍 1
niveauverleih 2021-01-11T10:53:44.037500Z

My cpu shoots to 103% whenever I execute clojure code in the repl that produces an error (the java nrepl process, that is). It's at 3% before any error occurs. Any idea on how to troubleshoot this? What directories does nrepl need access to?

bozhidar 2021-01-11T12:20:24.037900Z

@nick.romer What's your CIDER version?

bozhidar 2021-01-11T12:21:10.038500Z

nREPL doesn't really need access to anything, so I'm assuming that's not a permission issue, but we need more data to figure out what's going on.

niveauverleih 2021-01-11T12:22:28.040Z

I narrowed it down to datahike.api that is a require in my project. It has a lot of dependencies.

niveauverleih 2021-01-11T12:23:22.041600Z

I have one of the latest cider versions. I use spacemacs dev branch. How can I check the cider version?

niveauverleih 2021-01-11T12:29:42.041900Z

cider-nrepl-0.25.6

niveauverleih 2021-01-11T12:35:08.043100Z

refactor is disabled and savehist is tiny.

bozhidar 2021-01-11T12:52:33.043700Z

Hmm, maybe you can attach some Java profiler to the project and see what's causing the CPU spike?

niveauverleih 2021-01-15T08:18:17.024200Z

Hi Bozhidar, I was unable to find a profiler for my system (termux on Android = arm32 terminal). I uninstalled my jdk (adopt open 11) and replaced it with v14. The problem has gone away.

niveauverleih 2021-01-11T12:57:53.045Z

I've never done profiling. Can you suggest a profiler?

bozhidar 2021-01-11T13:46:13.045400Z

There's one bundled with the JDK - VisualVM.

niveauverleih 2021-01-11T14:00:16.045900Z

Ok. thanks!