Fork me on GitHub
#calva
<
2019-10-02
>
pez06:10:56

Calva is famous! 😄

👍 4
Janne Sauvala06:10:17

I messaged to Daniel Compton that he should interview you in The REPL -podcast, but it’s good that Jacek was faster 😉

❤️ 4
pez06:10:34

So, when did you do that? Maybe it worked, because he interviewed me Sunday night. 😃 It’ll air in two or three weeks.

Janne Sauvala06:10:16

I messaged to him many weeks ago. It’s great to hear two episodes about you and Calva! Did you have different topics on these two episodes?

pez06:10:19

They both try to answer the question about what Calva is and what it is about. But from there they took different paths. Jacek, being an instructor, wanted to know how you get started and how you use it. While Daniel was more into how it is built and how the extension model looks and such. Then both also highlight a bit on how it is developed and, interestingly, both wanted to know if there had been any particular hard parts. In any case, it didn’t at all feel like I was doing the same episode again.

bringe15:10:30

Awesome! I was thinking it would be cool if you were on the defn podcast, but looks like you're already making rounds. 1 more probably couldn't hurt? 😉

pez08:10:07

In case someone doesn't recognize Calva as described in the episode, this was recorded in May. Lots of things has happened since! Which is awesome, of course.

pez08:10:44

Welcome back, @dharrigan !

dharrigan08:10:55

I come and go 🙂

dharrigan08:10:06

(like a bad smell 🙂 )

😄 4
pez08:10:45

What I do is that I mute chatty channels while they are not in my current focus, and use keywords to get a badge on them for things that are always in my focus. For this channel I suggest the keyword Calva-friends, because I use that as a way to highlight messages I think are extra important.

dharrigan09:10:48

That's a great idea

agold12:10:06

Calva with clj is working beautifully (thanks!) but I am having trouble with cljs. Project is built with lein's re-frame template and has a shadow-cljs dependency. I build with "shadow-cljs watch app" in terminal as recommended by THeller, then connect to running repl in project using either the "lein+shadow-cljs" or "shadow-cljs" connect commands. I get a repl, which works, can evaluate forms, etc., and my project refreshes in the browser when I make changes, but I cannot peek or go to definitions, get no completion, etc. What am I doing wrong? (Running on Ubuntu under WSL)

pez14:10:55

@agold: I think you lack the needed dependencies in your project. Try with letting Calva start the app (a.k.a. Jack-in).

agold15:10:22

I did that, still doesn't work:

agold15:10:27

shadow-cljs - config: /home/agold/Prog/reefer/shadow-cljs.edn cli version: 2.8.53 node: v8.10.0 shadow-cljs - running: lein update-in :dependencies conj [cider/piggieback "0.4.1"] -- update-in :dependencies conj [cider/cider-nrepl "0.22.1"] -- run -m shadow.cljs.devtools.cli --npm -d cider/piggieback:0.4.1 -d cider/cider-nrepl:0.22.1 watch :app ^[[D^[[D^[[Dshadow-cljs - HTTP server available at http://localhost:8280 shadow-cljs - HTTP server available at http://localhost:8290 shadow-cljs - server version: 2.8.53 running at http://localhost:9630 shadow-cljs - nREPL server started on port 8777 shadow-cljs - watching build :app [:app] Configuring build. [:app] Compiling ... [:app] Build completed. (582 files, 1 compiled, 0 warnings, 8.34s)

pez15:10:30

That does not look like the command line Calva would use. It looks like so when I use jack in and choose “Leiningen + shadow-cljs”:

lein update-in :dependencies conj '[nrepl"0.6.0"]' -- update-in :dependencies conj '[cider/piggieback"0.4.1"]' -- update-in :dependencies conj '[cider/cider-nrepl"0.22.1"]' -- update-in :plugins conj '[cider/cider-nrepl"0.22.1"]' -- update-in '[:repl-options :nrepl-middleware]' conj '["cider.nrepl/cider-middleware"]' -- update-in '[:repl-options :nrepl-middleware]' conj '["cider.piggieback/wrap-cljs-repl"]' -- dev

agold15:10:09

Working now. I swore I tried this before and it didn't work. Thanks for your help and for all your work on Calva! It's great.

pez15:10:51

Thanks! And happy it works!

pez17:10:20

Dear Calva-friends: I’ve restructured the source code directories some and it I had to update quite a few imports and references and stuff. Everything seems still to work, but I would appreciate help putting this prerelease to some test. Update: This is now releases ad Calva v2.0.43.