calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
0xclj 2021-04-01T14:50:03.231300Z

Iโ€™m trying to run Calva+Reveal for Exercism exercises. The namespace changes on reveal but ctrl+enter or alt+enter doesnโ€™t do anything on the reveal window. How do I ensure that the result of the execution is also visible on reveal?

0xclj 2021-04-01T15:08:52.231500Z

pez 2021-04-01T15:22:24.232500Z

Does the tap command show results in reveal?

0xclj 2021-04-01T15:40:01.232700Z

(tap> (+ 1 3)) true on calva tap> 4 on reveal

alpox 2021-04-01T19:55:07.234400Z

@pez I'm baffled... I debugged calva for the hover-hint issue and I just see that all data is there. It just won't show in the popup. All there is in the popup is still Loading...

alpox 2021-04-01T20:31:29.236700Z

Au wei... I'm speechless, sorry for taking your time ๐Ÿ˜ž Some weird errors in the terminal of calva and by printing the stacktrace I found out that there was a problem concerning avil.clojure and apparently I had the Clojure extension installed next to calva. That messed things up and ate the hover hints. I uninstalled the Clojure extension and it all starts working ๐Ÿคท

alpox 2021-04-01T20:33:03.237100Z

I wasn't aware that these extensions interfere

pez 2021-04-01T20:36:25.237400Z

Oh, so it is working now for you?

alpox 2021-04-01T20:39:12.238Z

The hints are working now as expected - the toggle I figured out how to tickle a bit for it to do what I want ๐Ÿ˜„

pez 2021-04-01T20:42:06.238100Z

Hmmm, I donโ€™t know what goes wrong. Almost seems like a reveal problem, maybe try with version 1.3.194 of reveal?

pez 2021-04-01T20:42:37.238600Z

Yeah, I think it might be a bit glitchy.

pez 2021-04-01T20:43:10.239Z

Totally confusing when two REPL extensions are installed. Glad you got it to work!

alpox 2021-04-01T20:54:21.240900Z

Its not even that glitchy once I get it to the right mode ๐Ÿ˜„ may be by accident but works well enough. On the way I now learned at least something - how to partially debug vscode extensions ๐Ÿ™‚

1
cschep 2021-04-01T22:08:37.243100Z

hey all, not sure if this is a supported configuration but Iโ€™m using the VS Code Remote plugin to SSH to a raspberry pi to develop a little bot program in clojure

cschep 2021-04-01T22:08:44.243400Z

Iโ€™m getting an error with clojure-lsp

cschep 2021-04-01T22:08:47.243700Z

[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
[Error - 9:55:46 PM] Connection to server is erroring. Shutting down server.
/home/ubuntu/.vscode-server/extensions/betterthantomorrow.calva-2.0.183/clojure-lsp: 1: Syntax error: "(" unexpected

ericdallo 2021-04-01T22:09:48.244200Z

hey, not sure I get it, you are running the vscode in a raspberry?

ericdallo 2021-04-01T22:10:13.244400Z

if so, you will probably have issues with clojure-lsp native binary as there is no arm compiled binary yet

pez 2021-04-01T22:11:11.244600Z

Calva should mostly work anyway, I think. At least when the REPL is connected.

cschep 2021-04-01T22:11:25.244800Z

ahhh.. interesting.

cschep 2021-04-01T22:12:41.245Z

well that makes sense, thanks! ๐Ÿ™‚

alpox 2021-04-01T22:35:27.245200Z

Im using calva and clojure-lsp through WSL Remote which I believe is similar. Works like a charm