babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
tzzh 2020-09-11T09:52:59.188100Z

yeah I saw that as well I thought it would be cool to have something like this in bb but I think that would be a lot of work to make the signing of the requests work etc btw I played a bit with https://github.com/babashka/babashka.pods/blob/master/examples/pod-lispyclouds-sqlite/pod-lispyclouds-sqlite.pyย  and it was super easy to make it work for some basic aws stuff instead ๐Ÿ™‚ I decided not to go on as in my case itโ€™s just simpler to do what I need in python directly

borkdude 2020-09-11T09:53:57.188900Z

The Python approach is super easy. I'd also be interested to see the Go approach to pods, but I've got no experience with go.

borkdude 2020-09-11T09:54:25.189400Z

We already have one Rust pod, which is also a possibility

borkdude 2020-09-11T10:23:26.189800Z

maybe @rahul080327 also has ideas about this

kari 2020-09-11T13:44:37.190200Z

Babashka is now also in Metosin Blog: https://www.metosin.fi/blog/

๐Ÿ‘ 1
borkdude 2020-09-11T13:45:35.190500Z

Awesome!

unbalanced 2020-09-11T14:33:18.191Z

so is it possible to make an babashka uberscript or babashka uberjar with babashka into a binary like deps.exe?

borkdude 2020-09-11T14:46:58.191800Z

with an uberscript you already get a shebang, so that should I think work as a standalone thing, but you still need to have babashka installed

borkdude 2020-09-11T14:47:19.192100Z

the other option is compiling to native yourself with graalvm

borkdude 2020-09-11T14:47:45.192400Z

I don't know of anything that packages a binary and a file into another binary

borkdude 2020-09-11T14:48:21.192900Z

There's a tool here which tries to automate compiling with GraalVM: https://github.com/MnRA/nativity

unbalanced 2020-09-11T14:48:44.193500Z

fair enough! This is my first exposure to graal although I've heard a ton about it

borkdude 2020-09-11T14:50:01.193800Z

The #graalvm channel has some good doc links

2020-09-11T17:49:50.194700Z

makejack has a binary target, which it uses to turn itself into a graalvm binary.

borkdude 2020-09-11T18:00:07.195Z

link: https://github.com/hugoduncan/makejack

2020-09-11T18:12:14.195200Z

itโ€™s build target basically does pom, compile, uberjar and binary. It depends on there being a native-image.properties file in the uberjar to configure the graalvm build.