This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-21
Channels
- # announcements (39)
- # architecture (7)
- # aws (9)
- # babashka (111)
- # beginners (139)
- # bristol-clojurians (1)
- # calva (47)
- # chlorine-clover (5)
- # cider (17)
- # clj-kondo (26)
- # clojars (25)
- # clojure (251)
- # clojure-berlin (1)
- # clojure-dev (5)
- # clojure-europe (22)
- # clojure-france (1)
- # clojure-hungary (6)
- # clojure-losangeles (8)
- # clojure-nl (18)
- # clojure-spec (3)
- # clojure-uk (68)
- # clojured (32)
- # clojurescript (32)
- # core-async (10)
- # core-typed (120)
- # cursive (8)
- # datascript (10)
- # datomic (11)
- # docker (2)
- # emacs (6)
- # figwheel-main (4)
- # fulcro (10)
- # graalvm (92)
- # hoplon (2)
- # instaparse (9)
- # jobs (3)
- # jobs-discuss (31)
- # joker (2)
- # kaocha (1)
- # lambdaisland (5)
- # leiningen (10)
- # luminus (1)
- # lumo (14)
- # meander (30)
- # mid-cities-meetup (1)
- # midje (1)
- # off-topic (46)
- # pathom (22)
- # perun (2)
- # re-frame (10)
- # reitit (1)
- # remote-jobs (8)
- # shadow-cljs (71)
- # spacemacs (7)
- # sql (40)
- # tools-deps (31)
- # tree-sitter (11)
- # vim (14)
- # vscode (2)
- # xtdb (5)
Here one about language and its sounds:
If rhetorician
=> rhetoric
(notice how the c sound changes)
then surely from associate
=> assoc
(same ending sound that in rhetoric)
I know that is obvious for the lucky ones having English as mother tongue, but for me it strikes me as odd! I suppose I try to speak following some sort of rules.. 😁
My colleagues at work should be hating me by now for saying assok 😁
Ultimately, though rhetoric has a Greek root and associate a Latin root, in ye olden dayes associo (the Latin root verb of associate) would have been pronounced with a k-sound
What I’ve learned so far is that the English speaker always tries to find the path of less resistance when pronouncing words.. (like law’r*and’order) and asso*sh to me is difficult to say.. But I’ll learn 😄 Thanks for the discuKion guys 😁
uh - do people say "assosh" ? TIL - i've always said assok
Americans say assosss
far too long a sound to be convenient though
a-sock
is alot easier to say
ay-sock
or ass-ock
though @ben.hammond?
ass-ock
actually I picked up the American pronunciation when I was working with them
which still irritates me
because its harder to say
I guess the first time I did lisp “with others” was in America too so I’m another ass-oss-er
I might have infected a fairly large population of UK clojure users with this tradition :rolling_on_the_floor_laughing:
Morning. "A sock". 🧦 (and another sock)
oooh yellow warning for snow
ass-oh-sh, diss-oh-sh here
Yeah that surprised me too
It has the benefit that dev and prod are more similar; and you can essentially bootstrap the environment in the same way you do in dev (i.e. you can use lein
to fetch the app dependencies etc…
But that also has disadvantages
brew upgrade clojure
chaos ensues 😞
https://github.com/Homebrew/homebrew-core/commit/715900bfab494ccee4cadeea902d80ccce6e7a16
i think on first seeing assoc
i thought of malloc
and so it has forever been ass-ock
for me
showing my age... it's been a very long time since i had to use malloc
in anger
gc seemed like a wonderful thing for a while, but these days i'm looking enviously at rust and carp and thinking that no-gc would be even better
I use to say assock but Rich said it's assosh so I switched (as often as I can remember to!).
ah the good old how to pronounce assoc
:) https://disqus.com/home/discussion/squidsblog/the_proper_pronunciation_of_clojures_assoc_squids_blog/#comment-1511225594 And even after that, I keep saying “assok”
I would like to pass in an integrant dependency publisher
(could equally be component) to some Sente Event dispatcher code. The publisher
in this code could be Kafka/Kinesis handler etc.
(defn start-router! [{:keys [publisher]}]
(defmethod -event-msg-handler ;; this looks horrible!! Must be a better way...
:pubsub/publish
[{:as ev-msg :keys [?data]}]
"Publish data to pubsub"
(publisher (:text ?data)))
(sente/start-server-chsk-router! ch-chsk event-msg-handler))
Whilst this works it feels all sorts of wrong....The simple answer is that you can't scope multi methods. They'd need to take a "context" argument or something with the state in.
yeah - I've been shying away from that as it's only one defmethod that needs this right now.
I've had quite a few ideas about this in the past, but they all involve dropping the multi method
For example, you could replace it with a direct subscription into a pubsub bus of some kind.
I think I'll swap out sente/start-server-chsk-router!
with an almost exact copy but that also let's me pass some additional state in for the event-msg-handler
to use.