babashka-sci-dev

borkdude 2022-03-15T10:21:38.223639Z

@cap10morgan about the bb.edn pods, in this video Daniel Amber uses uberscript in combination with pods: https://youtu.be/jm0RXmyjRJ8 It might be good to support that too, e.g. just prepend load-pods into the uberscript or so, derived from bb.edn pods

👍 2
borkdude 2022-03-15T10:21:56.876199Z

I'm ok with doing that in a second PR or so, but might be good to have on our radar

borkdude 2022-03-15T10:23:16.807759Z

Or maybe we can support babashka.pods/declare or so, a programmatic equivalent to the declarative one and re-use the code as much as possible

cap10morgan 2022-03-15T20:57:55.816239Z

@borkdude For pods that need to communicate over a socket, do we need to add that to the bb.edn pod declaration? Something like {:pods {my.socket/pod {:version "0.1.0" :transport :socket}}}? Or is it expected that these can do a :describe over stdio?

borkdude 2022-03-15T20:58:29.181439Z

No, this this should be part of the manifest

borkdude 2022-03-15T20:58:47.747609Z

See e.g. spire

borkdude 2022-03-15T21:01:11.052179Z

The idea is that the user shouldn't have to know this

👍 1