Fork me on GitHub
#cursive
<
2017-03-01
>
stijn10:03:16

@cfleming I'm seeing some real repl slowness when typing (quoted) datomic queries. It's worsened when I require datomic.api. Is this a known issue or should I report it?

sandbags11:03:03

I have a slightly baffling problem: In my project I can run lein cljsbuild once or lein repl and it works fine. But when I try and start a local REPL in Cursive I get an error:

sandbags11:03:29

which seems to be about not being able to find the compiler

sandbags11:03:38

This is a re-frame+compojure project (created with the re-frame template). I've used the same template several times and not run into this before. I'm puzzled why cljsbuild works though.

sandbags11:03:45

anyone have any clues?

sandbags11:03:18

i guess i can just run the REPL from the terminal, kind of spoils the fun though

sandbags11:03:18

There is a very long thread about it here https://github.com/emezeske/lein-cljsbuild/issues/204 but I'm not sure if they are saying it should be fixed

sandbags12:03:27

lein trampoline repl fails from the terminal with the same error, but this appears to be exactly the error they are saying is fixed back in 2016

sandbags12:03:47

I tried adding lein-cljsbuild as a :dev dependency which was, I thought, the workaround suggested in that thread but that doesn't seem to have helped

cfleming19:03:59

@stijn That might be https://github.com/cursive-ide/cursive/issues/1668, which I’m looking at at the moment.

cfleming19:03:56

@stijn Let me know if that looks like your problem - the memory issue looks like it was a false alarm.

cfleming19:03:29

@sandbags I’ll take a look later on, but there’s not much I can do about that one, at least last time it was a downstream issue. Are you definitely using the latest cljsbuild?

stijn20:03:49

@cfleming sounds like the same symptoms yes. it worsens when I started using quoted forms

ckarlsen22:03:41

@cfleming no idea if related to that particular bug, but i've noticed one thing. If I open up a fresh REPL and type something stupid ala ([1 2 3] | ) and hold enter for a few seconds where cursor is - it's responsive. However, if I type (-> [1 2 3] | ) and do the same thing it's suuuuper slow

sandbags23:03:34

@cfleming according to lein ancient I am but I note that I seem to be using 1.1.4 and their github page lists 1.1.5, I'm not actually sure where that 1.1.4 dependency comes from

sandbags23:03:55

it appears by magic in lein deps 🎄

sandbags23:03:13

rather than as a dependency of anything i can see

sandbags23:03:24

but i have to confess that, at this point, strong drink has been taken

sandbags23:03:56

oh it's referred to directly as a plugin

sandbags23:03:59

let me try 1.1.5

sandbags23:03:16

perhaps ancient doesn't do plugins by default (or, indeed, at all)

sandbags23:03:58

same error with 1.1.5

sandbags23:03:27

i could have sworn i tagged my error report onto the end of that github issue

sandbags23:03:13

ah, different issue but the right bug

sandbags23:03:44

ok i think i am going to sign off now before i do something dangerous

psalaberria00223:03:05

I just noticed that unused aliases are not greyed out anymore. I am using 1.4.3-2016.3 It was a very useful feature. Any idea how to get that back?