This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-22
Channels
- # announcements (5)
- # aws (38)
- # aws-lambda (21)
- # babashka (45)
- # beginners (87)
- # boot (1)
- # calva (32)
- # cider (23)
- # clara (7)
- # clj-kondo (41)
- # cljs-dev (29)
- # clojure (145)
- # clojure-europe (6)
- # clojure-italy (12)
- # clojure-nl (4)
- # clojure-spec (39)
- # clojure-uk (45)
- # clojurescript (171)
- # copenhagen-clojurians (4)
- # cursive (14)
- # datomic (48)
- # docker (6)
- # figwheel-main (2)
- # fulcro (54)
- # jackdaw (1)
- # jobs (1)
- # kaocha (3)
- # leiningen (7)
- # luminus (6)
- # malli (2)
- # off-topic (51)
- # pathom (8)
- # quil (20)
- # re-frame (14)
- # reagent (1)
- # reitit (2)
- # remote-jobs (1)
- # shadow-cljs (39)
- # tools-deps (1)
- # vim (12)
- # xtdb (5)
måning
Morning
morning
So here is a shameless plug a website that a colleague build: https://www.plantaforest.io/
he was very ill
@cfeckardt I agree, that is a bit on the steep side. I'll pass the feedback on.
I'm confused.
(into {} [[1 2]])
=> {1 2}
(into {} (map #(map identity %) [[1 2]]))
ClassCastException java.lang.Long cannot be cast to java.util.Map$Entry clojure.lang.ATransientMap.conj (ATransientMap.java:44)
do the individual entries need to be vectors rather than lists @peterwestmacott?
nothing needs to be anything. I'm just trying to understand why this fails
(into {} (map #(mapv identity %) [[1 2]]))
works fine
yes, that seems to be it
the error is rather confusing though
yeah, not sure where the long
in the message comes from
obvs from the first element of the map-entry pair, but how come it's not clojure.lang.PersistentList cannot be cast to java.util.Map$Entry
oh, the clojureverse post explains it... but yeah, confusing error
this works too (into {} (map #(identity %) [[1 2]]))
, but that's probably not what you want 🙂
ooh, thanks!
thanks all
So, update - my production Clojure application is merrily chugging along - over 21 MILLION trips processed since the weekend and over 4 MILLION speeding violations
I think I'll end my updates there. Safe to say, that Clojure has more than proven it's worth 🙂
You know what has been enormously useful - just for now - whilst I'm bedding this in - is to be able to attach a REPL to the remote application and change something in real time (some little bug fixes that were required - and were eventually rolled out via an automatic deploy shortly there after). However, having the ability to do that is really a (dangerous - but useful) soooopar power 🙂
That's awesome @dharrigan! 'grats!
Love having the REPL into production -- even just for debugging, it's super valuable. And for those occasional, must-have, on-the-fly fixes... yup!
@dharrigan im probably in there somewhere. If I PM you my licence plate number can you do a little ‘snip snip’ in the database?