This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (6)
- # aws (4)
- # babashka (77)
- # beginners (70)
- # calva (2)
- # cider (62)
- # clara (1)
- # clojars (5)
- # clojure (101)
- # clojure-dev (67)
- # clojure-europe (1)
- # clojure-nl (3)
- # clojure-uk (13)
- # core-async (15)
- # datomic (11)
- # defnpodcast (10)
- # duct (22)
- # emacs (6)
- # events (1)
- # fulcro (34)
- # kaocha (3)
- # off-topic (20)
- # pathom (1)
- # re-frame (8)
- # reagent (14)
- # remote-jobs (1)
- # shadow-cljs (58)
FYI brew update did not work on my OSX machine. I was able to redo install and then force link it. Is this just me or a general problem?
@sogaiu @nate_clojurians I got rid of python in the tests now by writing a socket server in Java / Clojure. I could not replicate the single-threaded behavior of Python though, while
(.accept <serversocket>) is a blocking call. So that's maybe nice to add: a test that fails when the socket in wait/wait-for is not closed and passes when it is closed. But maybe not that high priority. PR welcome if you feel like it.
thanks! tests seem to run fine here. iiuc the current tests test the case for a successful wait and a timeout. the previous tests tested for a timeout and successful completion of all forms in a bb script. does this sound correct?
when the socket was not closed by the first wait-for, a request to the python server would hang
if one named the return value of Socket. and had a finally to clean up, would that adversely affect things?
(macroexpand '(with-open [_ _]) ) (let* [_ _] (try (clojure.core/with-open ) (finally (. _ clojure.core/close))))
i confirmed the expose-main-repl branch examples in the comments. the first one works as you said :thumbsup: i also see failure (no evidence of output from foo) for the second
I was hopeing that removing this would help: https://github.com/borkdude/babashka/blob/33ba782f223af649e99931018b07619507c3ef20/src/babashka/impl/repl.clj#L34
I just tried it... and made some other changes. It seems that works, while some of the tests are broken now
I've got two potential logos for babashka. What are your initial thoughts? https://www.dropbox.com/sh/wpzfr4a2in90qpr/AACc_IbNf6lbmnOQ56H2zUmya?dl=0
Looks sharp! I see the babashka shape obviously and the terminal. I miss the link with Clojure, as I think that is an important part of what Babashka is
it kind of looks like a hacker dude because I don't think of babushkas wearing sunglasses
the designer Nikita doesn't agree with my lambda idea though, he wants the >_ ones...
I wonder if the loose cloth from the knot was turned a little downwards on both sides
russian nesting dolls are also called babushka dolls, I think. I wonder if there's something there
Any interest in this implementation of
#?(:bb (defn resolve [x] (assert (symbol? x)) (try (eval x) (catch Exception _ nil))))