This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-13
Channels
- # announcements (2)
- # babashka (30)
- # beginners (44)
- # biff (20)
- # calva (15)
- # cider (7)
- # clerk (4)
- # clojure (15)
- # clojure-austin (1)
- # clojure-europe (35)
- # clojure-hungary (1)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-uk (7)
- # clojurescript (33)
- # conjure (1)
- # cryogen (1)
- # cursive (3)
- # data-science (8)
- # docker (2)
- # emacs (78)
- # gratitude (2)
- # hyperfiddle (26)
- # improve-getting-started (1)
- # jobs-discuss (12)
- # lsp (7)
- # malli (11)
- # missionary (57)
- # off-topic (14)
- # pathom (13)
- # portal (6)
- # reagent (6)
- # releases (3)
- # ring (25)
- # shadow-cljs (18)
- # squint (11)
- # vim (3)
https://github.com/grzm/awyeah-api com.grzm/awyeah-api {:git/tag "v0.8.79", :git/sha "0399fec"}
is available
• Catch up to aws-api 0.8.686 (2023-07-11)
• Also include aws-api refactoring commits up to 5900e35 (2023-07-12)
@borkdude @seancorfield I've opened https://github.com/grzm/awyeah-api/issues/11 to track support for aws-api auto-refreshing creds in awyeah-api (https://clojurians.slack.com/archives/C09N0H1RB/p1669251196815769) . Looks like the only class we're currently missing in babashka is java.util.concurrent.ScheduledFuture
. Is this something you'd be amenable to adding, @borkdude? (I haven't yet taken a look yet at what kind of size impact it would have on the binary.)
On a side note, it looks like its used only to https://github.com/cognitect-labs/aws-api/blob/7352ec647ff19f6a14cbbfc5e581c48a8183ebf1/src/cognitect/aws/credentials.clj#L103 the cancel call? Since it inherits from j.u.c.Future
with the cancel
method and it’s supported in bb, we can type hint with that? (.cancel ^Future r true)
done. The new test version can be installed / tested with:
bash <(curl ) --dev-build --dir /tmp
(once the current master CI build finishes)Implemented: https://github.com/grzm/awyeah-api/commit/5ecad021b599bce69296fccd9afc6cc49b20ab7d
I thought Runnable
was available in babashka (based on my naïve reading of https://github.com/babashka/babashka/commit/ea4f56886d6728a51505e8c23da2ad49174f64d9) but I got errors when using ^Runnable
as a hint. Works fine in babashaka without the hint though, so a little cljc and Robert's your mother's brother.
Hi everyone. I wanted to run the HTMX todoapp example and all I get is the file-server response. I suppose this shouldn’t be the case (or I don’t understand something^^). Maybe someone has an idea :thinking_face: https://github.com/babashka/babashka/blob/aa654a9eaddd8ad15df12c5c7338f7a775346cbf/examples/htmx_todoapp.clj#L9
You know what I realized: I still run on v1.1 I’m pretty sure something will change after brew has finished upgrading 😅
Chrome did the trick. Maybe some content-blocker is infering with my default FF
(defn render [handler & [status]]
{:status (or status 200)
:headers {"Content-Type" "text/html"}
:body (h/html handler)})
That’s something I already added to be sure.you could also try this one: https://github.com/prestancedesign/babashka-htmx-todoapp
Your repo was what I started with. But I suppose I have to do some Firefox deepdiving as Chromium works fine. Anyways thanks for helping with debugging - the rest is ‘it doesn’t run on my machine’ ^^ 🙌
Okay, I did it. It was my VS Code ‘live preview’ plugin which was somehow injecting its own code (without being active) and FF did not like that. Little weird things…