Fork me on GitHub
#cider
<
2018-05-29
>
stardiviner02:05:05

What's the ^:bench in `(defn ^:bench profile-me [ms] (println "Crunching bits for" ms "ms") (Thread/sleep ms))`

bozhidar03:05:51

@stardiviner Just a shorthand for boolean metadata. It’s the same as {:bench true}.

bozhidar03:05:11

I guess some profiler interprets this metadata.

stardiviner03:05:10

I see. Thanks

stardiviner07:05:12

Does CIDER has a way to stop a long running evaluation?

jumar07:05:18

C-c C-c ?

theeternalpulse08:05:23

Anyone have clj-refactor working with emacs 26.1? I had issues installing it and tried the mepla pinning technique on here with no luck . It just won't finish loading the package https://codehopper.nl/2018/05/28/a-tale-of-emacs-clojure-and-pinned-packages/

hkjels10:05:50

Well.. It works just fine on my box, but I haven’t tried re-installing it. I guess I’ll avoid doing so

hkjels10:05:50

Sorry for the unhelpful reply

theeternalpulse13:05:15

I get this error after continuing

Error (use-package): clj-refactor/:catch: Wrong type argument: stringp, package-desc

jmayaalv14:05:59

i had to remove my elpa dir and let emacs install everything again.

jmayaalv14:05:10

it works fine now

theeternalpulse15:05:38

Maybe its the order of operations of how I split my init files, I also found use package for melts stable doesn't have functionality, had to pin that

theeternalpulse15:05:59

I also am using emacs 26 now so maybe there's something to that.

waffletower16:05:35

I will try the reinstall trick. I see the same error in 26.1

ag18:05:00

has anyone noticed this bug lately? If I use cider-jack-in-clojurescript and get two repls, sending cider-send-ns-form-to-repl doesn't properly works all the time. Sometimes it tries to send .clj namespace to clojurescript repl? This is crazy annoying

bozhidar23:05:57

@ag Nothing related to this code has been changed recently and @vspinu is rewriting it as we speak. He felt confident that this week he’ll wrap the connection management rewrite and we’ll drop all the old connection management logic.

ag23:05:47

I'll keep an eye on this, this is quite reproducible for me. If it doesn't magically gets fixed I'll create a GH issue.