This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-01
Channels
- # announcements (3)
- # babashka (17)
- # beginners (163)
- # bristol-clojurians (1)
- # calva (18)
- # chlorine-clover (17)
- # clj-kondo (13)
- # cljs-dev (50)
- # cljsjs (3)
- # cljsrn (13)
- # clojure (218)
- # clojure-dev (5)
- # clojure-europe (9)
- # clojure-italy (10)
- # clojure-nl (8)
- # clojure-uk (107)
- # clojurescript (25)
- # conjure (163)
- # cursive (63)
- # data-science (9)
- # datomic (38)
- # docker (1)
- # figwheel (34)
- # figwheel-main (3)
- # fulcro (15)
- # graalvm (1)
- # helix (12)
- # jobs (3)
- # juxt (5)
- # kaocha (3)
- # lein-figwheel (2)
- # leiningen (6)
- # luminus (2)
- # malli (1)
- # meander (12)
- # nrepl (4)
- # rdf (2)
- # re-frame (2)
- # reagent (7)
- # reitit (5)
- # remote-jobs (2)
- # rum (1)
- # shadow-cljs (65)
- # spacemacs (27)
- # tools-deps (18)
- # vim (19)
- # xtdb (2)
Mornin'
I have to go back to work today. I've enjoyed taking two days off in the middle of the week.
Haven't had a day off yet - considering it 'tho. But with a young kid, and with lock-in, with no-where to go...what do? what do?
At least it's Friday -- soon be beer'o'clock!
I did the front and back lawns yesterdays, a bunch of reading, shopping, litter boxes, trash & recycling... Got a lot done over the last two days! We also finished season 2 of Star Trek TOS and we're six episodes into season 3 now π
Plus, it was nice to kick back and have a beer at lunch π
I am hopeless with musical instruments -- very sad, since I love music. Learned trumpet at school (I was awful). Bought a synth to learn keyboards and eventually gave it away to a friend. Borrowed my dad's guitar for years and never could get a tune out of it...
(the friend I gave the synth to could play anything ... so frustrating to watch but also very impressive!)
I too have lofty aspirations....I too did trumpet at school and piano...and guitar....I'm not a rock star megagod.....yet
The most impressive bits of music I've ever played, are when I've programmed a computer π
That's how I ended up with a collection of 2,000 CDs π
No... kind of unfortunate.
The CDs were left in England when I emigrated. I only took about 100 with me and I've brought maybe another 200 over since. The rest I gave away.
I have about 70GB of music now via iTunes etc.
Morning. Another member of the league of ex-trumpeters here. I'm sure it's just coincidence that our neighbours moved away whilst I was learning. :face_with_rolling_eyes:
My trumpet teacher was a mean b*st*rd π
Makes one wonder why such people choose to teach. π
I don't remember much about my old trumpet teacher, I just wasn't that into it I suppose.
I doubt that I could learn to play an instrument now unless it was electronic and I could use headphones. As a child, one doesn't care about such matters.
My father had the dedication to teach himself piano, guitar, and violin. He composed music too (I have two collections of his piano pieces).
He taught himself a lot about computers too. I think he could have learned to program if he felt inclined. He never ever touched a computer until he was in his 70's.
Yeah, he was like that until his death, aged 91! Quite inspiring π
Morning and happy Friday :) πΈ :drum_with_drumsticks:
mawning
morning
(if (some #(= "source" %) fields)
(conj (remove #(= "source" %) fields) "source-id" "source-type")
fields))
β’ so if it had a '"source"` then you need two extra strings
(mapcat #(if (= "source %) ["source-id" "source-type"] [%]) fields)
kinda thing?or a {"source" ["source-id" "source-type"]
if you want to get all data-as-code-y
so mapcat will apply the function and if it comes across "source", then of course the if (true) will fire, otherwise, it'll return the element
well it will create lots of useless single element vectors as it goes
which may become a problem
those should be fairly cheap though
this ES6 destructuring has saved my bacon today
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment
was beefing cos something would be a one-liner in clj and then was like there is nested destructuring in JS wooop
As @dominicm says youβll get more clarity if fields is a set:
(if (fields "source")
(-> fields
(disj "source")
(conj "source-id" "source-type"))
fields)
Yes, itβs widely supported as clojure has done this for a long timeβ¦ see e.g. clojure.core/replicate
this is a blow that I completely missed at the time https://www.glasgowlive.co.uk/news/glasgow-news/tunnocks-factory-shuts-down-production-17979885
what about morale?
well at least they haven't gone in to liquidation, there is still hope for the future
Hmm a caramel-wafer-drink sounds quite nice though
well now you've done it and started me thinking about treats
oooh what's in the cupboard?
plain chocolate kitkats?
jelly snakes?
waiting for jelly covids to become a thing
its almost the ideal shape
sadly nothing instant... but we do have the wherewithal to make some of these https://sallysbakingaddiction.com/no-bake-chocolate-peanut-butter-bars/
what is a Graham's cracker anyway?
is it like a rich-tea biscuit?
something like that... we have some plain digestives which will probably do
i'm a big fan of reese's peanut butter cups
sounds nice will you put up pictures when you've made them
sure π
I used to be a member of the Tunnock's wafer society at St Andrews, the Scots have a proper appreciation of these things
Itβs a real pain that the Caramel Wafers without the chocolate (and no, coconut does not make me happy) were discontinued.
sorry to lower the tone:
I'm trying to diagnose a `java.lang.UnsatisfiedLinkError: example.dll: Can't find dependent libraries
error on Windows
What is your favourity way to get a Windows JVM to tell you what dlls it has been able to load?
(my first choice would have been SystemInternals Process Explorer; but apparently I'm not allowed to use it on site(!))what else could I use? I was sorta hoping java/bin/jmap might help, but I don't seem to be able to work itt
its probably the 64bit jvm barfing on some 32bit dlls
but discovering whic, in the absence of process explorer, is awkward
a ctrl-break heap dump usually haas this sort of thing doesn't it
tasklist /m /fi "PID eq 7572"
I think is telling me what I need to know