Fork me on GitHub
#clojure-uk
<
2021-01-05
>
jiriknesl06:01:02

Good morning

djm06:01:29

👋

djm06:01:54

Quiet afternoon at work yesterday, because of Slack being down

dharrigan07:01:46

Good Morning! Yes, Slack being down was quite refreshing

yogidevbear08:01:39

Morning 🙂 Must admit, it felt weird working in a remote team without the usual method of chat.

yogidevbear08:01:54

rcfotd:

clojure.core/rsubseq
([sc test key] [sc start-test start-key end-test end-key])
  sc must be a sorted collection, test(s) one of <, <=, > or
  >=. Returns a reverse seq of those entries with keys ek for
  which (test (.. sc comparator (compare ek key)) 0) is true

mccraigmccraig10:01:42

anyone have any views on juxt/tick vs vanilla cljc.java-time? (the interval algebra stuff in tick looks neat, and will let me delete some code, but i'm not exactly sure yet what other things tick adds over cljc.java-time )

thomas10:01:14

Portability maybe?

thomas10:01:27

As in clj and cljs implementations. Not sure what either provide nor what you need of course

thomas10:01:55

But that could be a deciding factor

mccraigmccraig10:01:15

ah, i see - juxt/tick builds on top of cljc.java-time - both of them are clj+cljs compatible, so i don't think compatibility is an issue in this instance

mccraigmccraig10:01:27

i think what i'm looking for is a "you should use juxt/tick rather than cljc.java-time and it's worth the extra dependency and bitrot risk because ..."

mccraigmccraig10:01:31

which is no doubt something that someone who has used the lib/s for a while would easily be able tell me, but i can't seem to get it from the docs

henryw37411:01:38

tl;dr tick offers some nice extras, at the cost of some stackoverflow-ability. the main thing on the horizon is the new Temporal api for js. when that's in browsers, I think that'd be preferred over the current js java.time impl (js-joda). not sure how that'll play out but hopefully tick protocols could be extended to that so it'll 'just work' for the majority of the existing tick api. cljc.java-time could maybe be made to work for Temporal but even if it could, it looks like a lot more work ... so less likely to happen hope that's helpful 🙂

mccraigmccraig11:01:01

aha - i hadn't noticed you were also a committer on tick @U051B9FU1 - that would have been another useful datapoint 🙂

mccraigmccraig11:01:38

given the likely better future-resilience of tick, i think i'll go with that - thanks @U051B9FU1!

alexlynham10:01:43

i guess as somebody that's about to have to rip out a datetime lib in our project cos it's on the verge of rot... i'm a little suspicious of the non native option

alexlynham10:01:04

but obv i am currently in typescript/js not clj(s) so i know it's apples and oranges

henryw37411:01:43

good morning... just

Ben Hammond12:01:51

oooh just watched the channel 4 "alternative christmas message"

Ben Hammond12:01:04

still in uncanny valley territory

Ben Hammond12:01:38

seems like the lighting on her face isn't quite right

dharrigan12:01:59

Have you watched Sassy Justice on YouTube?

dharrigan12:01:03

That is really well done

Ben Hammond12:01:04

but how much is bias because I know it to be fake

Ben Hammond12:01:11

oh, no I have not

dharrigan12:01:33

It features a certain well known soon-to-be-maybe-yes-maybe-no President of the US of A.

Ben Hammond12:01:54

the lighting on his face is always wierd of course

Ben Hammond12:01:00

presumably by design

Ben Hammond12:01:38

presumably it depends on quantity and topology of neural net nodes

Ben Hammond12:01:56

where more is not necessarily better

Ben Hammond12:01:35

are there rules of thumb emerging about optimum toplogies for different tasks?

Ben Hammond12:01:45

I guess we get to the point where slebs are using the deep fakes for real time blemuish removal

Ben Hammond12:01:57

and suddenly noone knows what they really look like anyway

Ben Hammond12:01:50

heh, the lack of professional makeup during the pandemic is noticeable

Ben Hammond12:01:33

I guess deep fake makeup artistry is not yet a widespread thing

Ben Hammond12:01:07

that Michael Caine somehow looks like the G man from an ingame "Half Life" cut scene

Ben Hammond12:01:39

I agree the Trump is really good though

Ben Hammond12:01:11

Julie Andrews is good too

dharrigan13:01:19

The scarey thing is, that is now. Give it another 2-3, 5 years and it'll be perfect

Ben Hammond13:01:47

although I'd rather they spent that computation budget on figuring out nuclear fusion...

alexlynham17:01:40

climate crisis what now

alexlynham17:01:01

much more important to spend money on serving ads and propping up late stage capitalism than saving the planet ofc