Fork me on GitHub
#cider
<
2019-09-04
>
fabrao01:09:33

Hello all, what is the best way to change cider starting params?

fabrao01:09:05

changing this "c:/ProgramData/chocolatey/bin/boot.exe" -i "(require 'cider.tasks)" -d "org.clojure/tools.nrepl:0.2.13" -d "refactor-nrepl:2.4.0" -d "cider/cider-nrepl:0.21.1" cider.tasks/add-middleware -m "refactor-nrepl.middleware/wrap-refactor" -m "cider.nrepl/cider-middleware" repl -s -H :: wait...

fabrao01:09:37

or just versions?

dpsutton01:09:06

You want to modify the command coder is starting with?

slipset06:09:53

Here’s something a bit funny. I have a 2018 mbp 13" connected to a 4k display. MacOS presents me with serveral different options for the display “Best for Display” which is kind of low-res, and then five scaled options, the one with the most space being “Looks like 3840x2160". If I run at this resolution, CIDER is snappy and all is fine. If I change to the one with the second most space, “3360x1890”, evaluating a form in CIDER takes significantly longer time, as in 10s of seconds.

slipset06:09:15

But I can decrease the time spent evaluating a form by decreasing the emacs frame-size.

slipset06:09:41

GNU Emacs 26.1 (build 1, x86_64-apple-darwin18.0.0, Carbon Version 158 AppKit 1671) of 2018-10-01

dominicm06:09:34

Is it perhaps print time?

slipset07:09:49

The thing is I don’t know. I tried running the profiler on this, but couldn’t see anything useful 😞

slipset08:09:35

So I guess it’s more like a “Hey, look what I found” to see if anyone else have experienced the same thing.

rickmoynihan08:09:05

I upgraded cider last night, and now get this warning: WARNING: CIDER 0.22.0 requires cider-nrepl 0.22.1, but you're currently using cider-nrepl 0.22.2. The version mismatch might break some functionality! I don’t see any issues at the minute; and suspect the differences are almost nothing… but was wondering if there is a cider point release to match the latest cider-nrepl?

bozhidar10:09:56

@rickmoynihan Despite the similar version numbers there are not released in lockstep anymore. The required version is defined by cider-required-middleware-version (or something like this).

rickmoynihan10:09:52

ahh ok, good to know… So is the above warning indicative of a problem in my setup or not?

bozhidar10:09:59

I guess you’re doing cider-connect, right?

bozhidar10:09:13

With cider-jack-in I can’t see how this can happen.

rickmoynihan10:09:13

for this project yes

rickmoynihan10:09:33

as I need to set some env vars etc

bozhidar10:09:50

No real problem. It’s actually better to be on cider-nrepl 0.22.2.

rickmoynihan10:09:09

Cool that’s what I thought; I saw the chat from the other day

bozhidar10:09:18

I guess I can relax this version check and make it ignore the patch portion of the version.

bozhidar10:09:36

Probably I should have done this a long time ago.

rickmoynihan10:09:17

It’d mean annoying people like myself would stop bugging you 🙂

rickmoynihan10:09:07

Anyway thanks again for everything. As always everything you do is much appreciated! 🙂

bozhidar10:09:22

:man-bowing: