babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
2020-10-12T00:50:49.371100Z

What is the status of Babashka on Raspberry Pi? I just upgraded to a Pi 4 and am interested in trying to get a build of Babashka there, but it looks like there isn't much prior art (it's a little hard even to find build instructions for GraalVM).

2020-10-12T01:19:46.371700Z

i haven't tried recently, but this issue has a record of bits that i think could be useful if one were going to try: https://github.com/borkdude/babashka/issues/241

1
borkdude 2020-10-12T08:18:03.372300Z

aren't there any free CI services that can build for Raspberry 4?

borkdude 2020-10-12T08:19:23.373Z

I don't have one myself. If I would and if it would have 4-8 GB of memory and if it could run GraalVM for ARM, I would put some time in it.

borkdude 2020-10-12T13:57:37.373900Z

If I were to give a talk on babashka/sci again, what would you like to see covered? I already did two talks, so maybe this is an opportunity to dive into some specifics.

djblue 2020-10-12T13:59:53.374Z

I think a talk on internals / implementation details would be awesome!

✔️ 1
borkdude 2020-10-12T14:21:50.374300Z

I was thinking the same.

teodorlu 2020-10-12T14:22:08.374500Z

After listening to your appearance on Jacek Shae's podcast yesterday, I was thinking that I'd like to see you and Chris Nuernberger discuss the performance limitations of Clojure as a platform, what they are, and how to get around them. Not directly related to what you're asking for, though.

borkdude 2020-10-12T15:44:04.375300Z

Clojure-lanterna is now included as an optional feature, work is done by @kevin.van.rooijen, thanks! https://github.com/borkdude/babashka/commit/13f65f05aeff891678e88965d9fbd146bfa87f4e Example script:

(require '[lanterna.terminal :as terminal])

(def terminal (terminal/text-terminal))

(terminal/start terminal)
(terminal/put-string terminal "Hello TUI Babashka!" 10 5)
(terminal/flush terminal)

(read-line)

kwrooijen 2020-10-12T15:47:10.376300Z

mike_ananev 2020-10-12T18:34:10.376700Z

I think you should check the license. Lanterna license is LGPL. So statically linked code is prohibited I guess (but I'n not a lawyer). Only dynamic linking (as external jar library) is allowed.

borkdude 2020-10-12T18:58:24.376900Z

@mike1452 @kevin.van.rooijen and I checked and this seems to be the case for proprietary code only? Anyway, I'm not distributing this, it's a feature toggle

borkdude 2020-10-12T18:58:54.377100Z

But a pod is a possibility to get this covered either way, which might be cool

borkdude 2020-10-12T19:03:16.377600Z

I made an issue here: https://github.com/borkdude/babashka/issues/612 in case you figure something out

borkdude 2020-10-12T19:06:31.378Z

But good point, we also wondered about this