Fork me on GitHub
#babashka
<
2022-11-23
>
Bingen Galartza Iparragirre10:11:01

Hello. Does anybody know any rate-limiter library that's compatible with Babashka? We use https://github.com/sunng87/diehard in CLJ projects, but it's apparently not compatible with BB (it heavily relays on interop)

borkdude10:11:51

Right. Diehard is essentially a Clojure wrapper around this Java library: https://failsafe.dev/

šŸ‘ 1
borkdude12:11:02

The babashka nrepl server doesn't support cider middleware at this point

Martynas Maciulevičius12:11:51

Will you want to support it? Will there be a need to reimplement the middleware specifically for bb?

borkdude12:11:21

It's worth exploring this option for sure

Martynas Maciulevičius12:11:53

I was watching your video about REPL interaction (https://youtube.com/watch?v=AYKIR1oh62Y) and thought that if I can execute this middleware under bb or cljs then I can effortlessly switch my target. I couldn't find this middleware in shadow-cljs either so I think that it would need to be reimplemented to be usable throughout :thinking_face:

borkdude12:11:13

I'm a bit busy now but if you can make an issue with babashka.nrepl (if it doesn't exist) I or someone else may make an attempt at this