This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-03
Channels
- # aleph (2)
- # announcements (6)
- # babashka (6)
- # beginners (106)
- # biff (8)
- # clara (24)
- # clj-kondo (10)
- # clj-otel (4)
- # cljdoc (2)
- # clojure (54)
- # clojure-conj (3)
- # clojure-europe (85)
- # clojure-norway (54)
- # clojure-uk (3)
- # clojurescript (27)
- # community-development (2)
- # data-science (1)
- # datahike (2)
- # datomic (11)
- # deps-new (67)
- # emacs (4)
- # graalvm (15)
- # hyperfiddle (11)
- # introduce-yourself (1)
- # lsp (6)
- # malli (30)
- # midje (4)
- # nrepl (13)
- # off-topic (86)
- # polylith (7)
- # releases (2)
- # sql (10)
I need to downgrade Tailwind to 3.3.7 from 3.4.0 on a mac due to https://github.com/tailwindlabs/tailwindcss/issues/12633... any tips?
You can download a tailwind binary from https://github.com/tailwindlabs/tailwindcss/releases/tag/v3.3.7 and then stick it in bin/tailwindcss
in your project. or put it at /usr/local/bin/tailwindcss
and then do rm bin/tailwindcss
, so 3.3.7 will be the default for all your projects.
Thanks! I made it globally accessible at /usr/local/bin/tailwindcss
and it worked perfectly.
Hello everyone, Im looking to make a mircroservice in Biff to listen to kafka messages. As far as I understand I should make a plugin with the needed routes and schemas however not sure where the best place is to instantiate the the kafka consumer (like an on application start up sort of thing)
Hi! For the kafka consumer you'll want to make a component. Something like:
(defn use-kafka [ctx]
(let [consumer (start-kafka ...)
stop-kafka (fn [] ...)]
(update ctx :biff/stop conj stop-kafka)))
and then put that in your list of components somewhere. putting it at the end probably works. If you your http routes need access to the consumer, you could stick use-kafka
right before use-jetty
.
I'll be needing this at some point, too @U3B46NMD4 ... thanks for leading the way.