Ethan Thoma
Ethan Thoma
I also run into this issue. Sometimes JSON endpoints add a '.0' and sometimes they don't so I have to use the one_of func for it often
Are y'all wanting a multiple sample like python's `random.sample(List, Int)` or just a single element sample like `random.choice(List)`?
I was looking at impls, it seems like [algo L](https://en.wikipedia.org/wiki/Reservoir_sampling#Optimal:_Algorithm_L) seems optimal (and i could be wrong but seems similar to what elixer does). However, it requires taking the natural...
I will try something and let you know what I come up with!
Should I make a separate PR just for natural log? I think it warrants inclusion irrespective of this issue
I'm having the same issue. I setup pylyzer through nix shell using 0.0.66 (I made an overlay for it). My CLI is also stuck in a loop forever.
@Ali-7CC Lol nope. I wrote my turso connections using golang and compiled to c and used dune to connect it. You can see [here](https://github.com/ethanthoma/ocaml-webserver/tree/main/lib/turso)