Fork me on GitHub
#clojure-uk
<
2021-01-15
>
dharrigan06:01:05

Good morning everyone!

3
Ben Hammond11:01:32

whats the word when a bit of cloud software gets moved onto another node, causing a slight blip in performance. would it be correct to call it 'rehoming'? doesn't feel quite right

Ben Hammond11:01:23

migration feels a bit epic its more like a commute

dharrigan11:01:38

My software dandered over to another node

Ben Hammond11:01:35

not by choice though

Ben Hammond11:01:39

it was forced to

dharrigan11:01:00

press-ganged?

😂 3
dharrigan11:01:15

My software was press-ganged to another node

Ben Hammond11:01:25

now I have to worry about whether my audience shares our sense of humour

Ben Hammond11:01:48

makes me think of that old macos alert chime

Ben Hammond11:01:04

or was it on android? cant remember now

Ben Hammond11:01:23

I do miss the Wild Eep

Conor11:01:27

Failed over is the usual term of art

👍 9
alexlynham12:01:00

you see 'reaped' and 'cold started' or 'reprovisioned' in lambdaland/serverless

👍 3
Ben Hammond12:01:37

reprovisioned was the word on the tips of my fingers

Ben Hammond12:01:13

don't think I like it though

Ben Hammond12:01:33

reaped is a funny one isnt it its simultaneously both of • excellent, we shall eat well this winter • OMG we are all going to die right now

Ben Hammond12:01:58

depending on which end of the scythe you are looking at

alexlynham13:01:07

a lot of things in life are radically different depending on which end of the scythe you're on :)

3
dharrigan13:01:04

If I have a vector and a var, such as ["abc" "efg"], "123", is there an easy way to turn that into [{:foo "abc" :bar "123"} {:foo "efg" :bar "123"}]

dharrigan13:01:41

(map #(vector {:foo % :bar "123"}) references)

dharrigan13:01:54

any other ways?

dharrigan13:01:07

naw, doesn't work the way I want it to work

dharrigan13:01:33

it ends up being [[{....}] [{....}]]

dharrigan13:01:48

This will work 'tho (into [] (map (fn [reference] {:foo reference :bar "123"}) references)

bronsa13:01:42

there's mapv

dharrigan13:01:59

a voyage of discovery 🙂