Good Morning!
Good morning y’all 🙂
Can I just say how amazing I think it is that you are trying to be inclusive to people with photo-sensitivity. :fist:
1👍morning
@dominicm I'm not exactly sure how this would help? Do you have an example of the problem at hand?
@danstone: yeah that makes a lot of sense, I’ve just seen the changes you made to the why section in the README. I could certainly see myself using something like this.
@danstone if you have [1 2 3 4 5]
and you want to place 5 between 2 and 3 that's annoyingly difficult to do efficiently.
The classic solution involves subvec and other magic :)
5 is not the best example there. Maybe placing 4 between 2 and 3. The instructions are arbitrary.
1👍Morning
Can idx could help with that? I might well be missing something.
Morning
👋
måning!
I mean you could use the sorted index to write a function that does that in a linear pass. If you want to do multiple reinsertions you might be able to use replace-by.
(let [coll (auto-idx [1 2 3 4 5])
target 5
left (ascending coll identity <= 2)
right (remove #{target} (ascending coll identity >= 3))]
(concat left [target] right))
? @dominicmidx really doesn't offer you anything you couldn't do yourself manually of course. (e.g I could create a sorted map there and do the same thing)
1👍mogge
Oh wow, my EpoMaker keyboard arrived and it's rather lovely...
Hello everyone, by the way!
Which one did you buy?
Purple Aluminium case with clicky switches
and white, grey and red keycaps
oh yeah and it can bluetooth
but it's wired right now
lunch
Morn'
Anyone have experience of both auth0 and AWS Cognito as identity management platforms? I'm looking to migrating from a custom authorization service I have. So far auth0 seems pretty flexible
I am using Cognito for a side project and found it quite useful. But I have only used user pools, so haven’t played with 3rd party auth and identity pools.