babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
2020-11-09T10:35:19.234300Z

Out of curiosity, is the ebook about babashka still a thing? :)

borkdude 2020-11-09T10:36:43.234500Z

Everything that has been done about the book is hosted here: https://book.babashka.org/ The chapter about child processes is already stale because of babashka.process. I'm not sure if I want to continue with the book or just make the README pages in the babashka repo better.

borkdude 2020-11-09T10:39:25.234800Z

As I'm funded by Clojurists Together I spent all my time on development and not writing this book (since the book may be sold for money in the future, something which I'm also not sure about ;))

borkdude 2020-11-09T11:01:49.235800Z

Wrote some docs about "choosing the right http client": https://github.com/borkdude/babashka#choosing-the-right-client For babashka 1.0.0 I envision we can have a http://java.net.http client that replaces all the options.

šŸ‘ 3
Markus Agwin 2020-11-09T11:45:34.237400Z

has anyone ever investigated compiling SCI into C++ with https://ferret-lang.org/ ?

borkdude 2020-11-09T11:47:27.237700Z

It would surprise me if the sci clojure code was compatible with ferret all the way down. But there is documentation around how to compile sci to a native .so library and how to call it from Python for example: https://github.com/borkdude/sci/blob/master/doc/libsci.md#using-libsci-from-python

2020-11-09T15:53:57.238300Z

I would buy it šŸ™‚ If it is good tutorial in the end.

borkdude 2020-11-09T16:30:07.239Z

I wonder how many examples from the clojure cookbook work or could be ported to bb: https://github.com/clojure-cookbook/clojure-cookbook

borkdude 2020-11-09T20:54:33.241Z

I'm considering incorporating https://github.com/borkdude/deps.clj into babashka, so you can use a babashka.edn to resolve deps without manually having to set BABASHKA_CLASSPATH. But this will still require a JVM for resolving those deps if these deps aren't already downloaded. :thinking_face:

šŸ‘ 3
2020-11-10T09:03:50.244400Z

I like this. Even though you need the JVM for resolving the deps, this is still a big improvement?

2020-11-10T09:04:30.244600Z

At least no / less implicit dependencies

borkdude 2020-11-10T09:25:15.244800Z

I'm collecting ideas here: https://github.com/borkdude/babashka/issues/473

lread 2020-11-10T18:07:09.259700Z

This would be great for my use case!

borkdude 2020-11-10T18:15:05.259900Z

@lee What's your use case?

lread 2020-11-10T18:19:31.263900Z

Iā€™d like rewrite-cljc scripts to be self contained and at the same time avoid them having the responsibility of altering classpath to bring in deps. More of an elegance thing, I suppose.

borkdude 2020-11-10T18:20:29.264100Z

right

2020-11-10T18:45:31.264300Z

I added an alternative suggestion for declaring the deps https://github.com/borkdude/babashka/issues/473#issuecomment-724892457