This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-26
Channels
- # adventofcode (2)
- # babashka (17)
- # babashka-sci-dev (4)
- # beginners (8)
- # chlorine-clover (4)
- # clj-kondo (18)
- # clj-on-windows (1)
- # clojure (11)
- # clojure-india (12)
- # clojure-nl (1)
- # clojure-spec (9)
- # clojure-uk (3)
- # clojurescript (9)
- # conjure (3)
- # events (1)
- # graalvm (6)
- # lsp (6)
- # meander (4)
- # music (2)
- # off-topic (10)
- # other-languages (9)
- # re-frame (2)
- # releases (1)
- # reveal (8)
- # sci (1)
- # tools-deps (6)
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?
Cursive has built-in support for babashka. https://cursive-ide.com/userguide/babashka.html
Thanks!
star-file-star (can't quote ok my phone) does not seem to be available when i run bb -m, it returns "<expr>"
*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
If it works differently from Clojure, then please let me know, it should work the same
Thanks!
fyi, https://github.com/babashka/babashka/issues/1110 was just merged to master
loving the > Fast native Clojure scripting runtime tagline on https://babashka.org/. To the point, and exactly why Babashka matters.
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)"
@kari.marttila Do you have a http_*
environment variable set?
That is parsed here: https://github.com/borkdude/deps.clj/blob/6f51f783a91b0cfab2663b55607b45e9e342bcb6/src/borkdude/deps.clj#L286 And when it fails, it gives the warning.
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.
Ok. Thanks. I'll fix that.