This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-21
Channels
- # announcements (51)
- # asami (5)
- # babashka (25)
- # babashka-sci-dev (26)
- # beginners (33)
- # calva (10)
- # clj-kondo (51)
- # clj-yaml (99)
- # clojure (96)
- # clojure-australia (3)
- # clojure-berlin (5)
- # clojure-europe (151)
- # clojure-norway (58)
- # clojurescript (20)
- # cursive (13)
- # datalevin (1)
- # datomic (19)
- # docker (6)
- # emacs (55)
- # events (1)
- # fulcro (50)
- # gratitude (8)
- # juxt (7)
- # leiningen (5)
- # malli (6)
- # membrane (1)
- # nbb (28)
- # off-topic (22)
- # pathom (7)
- # polylith (20)
- # portal (1)
- # reagent (37)
- # reitit (2)
- # releases (2)
- # reveal (32)
- # scittle (34)
- # shadow-cljs (46)
- # testing (10)
- # tools-deps (33)
- # xtdb (18)
Idea: there’s been some discussion about using BB with mono-repls for various benefits. I wonder if we could get something like this as well? https://youtu.be/vE3LOHU0OV8
This discussion might be relevant: https://clojurians.slack.com/archives/CLX41ASCS/p1663689116472079
bb ansible thingie: https://twitter.com/KaliszAd/status/1572214439121649666?s=20&t=SxiQ1m09CavQAH6RT9leYw
hello, is there an html-parser recommended and known to work with bb OOTB? I’ve tried multiple libraries but having classpath issues and prefer to avoid dealing with that
@sdmoralesma There are two pods that you could use for this: https://github.com/babashka/pod-registry Another option is to use a Node.js lib + #nbb
Hello, is it possible to run a process in the background with shell/sh
or process
. I would like to do my-app &
basically via a bb task.
@benoit.caccinolo Yes :) process
already runs in the background by default and if you want to wait on finishing it you can deref
the process
@borkdude and is it possible to let the process run even when the bb task terminates ? In a way, is it possible to detach the process ? ^^
With process
the process might keep running, if you don't provide :shutdown process/destroy
There is also process/exec
which does an exec call, but I don't think this is what you are after right?
it might be what I need. The idea would be to have a kind of launcher to run and stop some programs.
not sure what you are doing, or if this applies, but detaching the process from the spawning process so that it continues to run in the background is "daemonizing" it. You can see the general approach outlined here http://www.microhowto.info/howto/cause_a_process_to_become_a_daemon.html and with an example (albeit in C) here http://www.microhowto.info/howto/cause_a_process_to_become_a_daemon_in_c.html
Am I crazy or do I recall seeing somewhere that babashka embeds a fork of core.async? Or maybe used to?
I think you answered your own question here? https://github.com/babashka/babashka/issues/1370
haha, perhaps. I was still curious if that were the reason why.
since it looked like the latest release of upstream core.async was a dependency of babashka's
I'll see if I can work up a PR to fix that issue