Fork me on GitHub
#babashka
<
2021-12-26
>
DrLjótsson09:12:41

Two more questions: In Cursive I think that I need to use deps.edn so the IDE recognizes what dependencies are used. Are bb.edn and deps.edn interchangeable in Babashka?

borkdude10:12:01

Cursive has built-in support for babashka. https://cursive-ide.com/userguide/babashka.html

DrLjótsson09:12:50

star-file-star (can't quote ok my phone) does not seem to be available when i run bb -m, it returns "<expr>"

borkdude10:12:14

*file* is bound when evaluating the file, not when executing a function from that file when the file was already evaluated, similar to how it works in Clojure

borkdude10:12:56

If it works differently from Clojure, then please let me know, it should work the same

teodorlu20:12:27

loving the > Fast native Clojure scripting runtime tagline on https://babashka.org/. To the point, and exactly why Babashka matters.

❤️ 1
kari20:12:07

Any idea why do I see this when running babashka:

WARNING: Can't parse proxy info - found:  - proceeding without using proxy!
My environment:
λ> bb version
babashka v0.7.0
λ> java --version
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
λ> clj --version
Clojure CLI version 1.10.3.1040
λ> cat /etc/*-release
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"

borkdude21:12:29

@kari.marttila Do you have a http_* environment variable set?

borkdude21:12:46

https_proxy or similar

kari21:12:54

Probably not in that machine. I was wondering why it didn't complain anything in my workstation but in the target machine where I'm running this cabin sensor babashka script it gave that warning.

kari21:12:09

Ok. Thanks. I'll fix that.

kari21:12:35

Babashka rules ok. 🙂

metal 1
borkdude22:12:07

You can now install a SNAPSHOT release from master, to try out new features.

$ curl -sLO 
$ chmod +x install
$ ./install --version 0.7.1-SNAPSHOT --dir bb-dev
Successfully installed bb in bb-dev
$ bb-dev/bb --version
babashka v0.7.1-SNAPSHOT