Fork me on GitHub
#calva
<
2020-11-28
>
pez13:11:08

Hello all. Happy Saturday! If someone here has the time to try the Calva instructions for this example project, that would be super awesome: https://github.com/PEZ/rn-rf-shadow

👍 3
pez13:11:21

It shouldn't take more then ten minutes, or I have failed with my instructions. 😃

alekszelark14:11:43

Hi, I tried run it in web browser, everything is ok. But what should I install to run it on my android phone?

alekszelark14:11:09

When I’m trying, I get “Couldn’t start project on Android: No Android connected device found, and no emulators could be started automatically.” My phone is connected and USB debugging is enabled.

pez14:11:19

I don't know why they don't have this a bit more explicit. But for me, if I have an android device attached, Expo chooses to install the app there. Sometimes the USB debugging permissions get screwed up thoughh. So if you don't see the device when running the command adb devices, then you might need to revoke the permissions and reconnect the phone. See https://github.com/expo/fyi/blob/master/authorize-android-device.md

pez14:11:46

Also, it takes a while to install the Expo app...

alekszelark15:11:39

Thanks a lot, I got this annoying error “Because an app is obscuring a permission request, Settings can’t verify your response” during connection. Finally managed to fix it and run the app on my device.

metal 3
practicalli-john18:11:09

quick question, is it possible to clear all the vars from the repl without closing it. A restart or refresh command... looking through the docs but havent spotted it yet... Thanks

practicalli-john18:11:26

We are doing some live mob programming with Live Share and Calva, although we realise we dont know Calva well enough yet, but its working well so far..

pez18:11:43

There is some command for this... Search using the command palette and you might find something. But, if the repl is started with Jack in, you can always just jack in again.

practicalli-john18:11:17

We are just using clojure.tools.namespace.repl/refresh which kind of worked, but restarting the REPL definately works. Restarting means that everyone else has to reconnect, but its good practice using Live Share. It seems to be working well with Calva so far with 6 people mob programming together

pez19:11:37

Now at a computer. There are two Calva commands for this Refresh All Namespaces and Refresh Changed Namespaces. They probably do much the same as when using tools.namspace directly.

pez19:11:23

Super happy to hear it works for mob programming! Kudos to @stefan.van.den.oord for heralding the Live Share adaptions.

calva 3
👍 3
practicalli-john21:11:07

@pez Thanks for the info. We will continue using Calva and Live Share in future meetings. We also used the REPL port forwarding of Live Share so people using Spacemacs / CIDER can connect to the REPL via my running VSCode (and I can keep my vim style editing). I am assuming this will also work for NeoVim and Conjure too.

bringe21:11:22

That's awesome ^