announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
Ivar Refsdal 2020-09-01T08:33:59.124900Z

ivarref/memoize-ttl {:mvn/version "2020.09.01"} is released, a tiny library that lets you cache function return values for a dynamic number of seconds. https://github.com/ivarref/memoize-ttl

👍 8
vlaaad 2020-09-01T09:29:23.125100Z

Cool little lib! A bit off-topic, but I thought it would be nice if namespace to require was the same as maven coordinate (e.g. (require 'ivarref/memoize-ttl)). That way both in code and in tooling I would have the same identifier which is more consistent.

Ivar Refsdal 2020-09-01T09:45:17.125400Z

Thanks for the feedback. That might make sense. I've seen different styles used, I followed https://github.com/cjohansen/clj-event-source Maybe I will change to your suggested style later. Is there a guide for this somewhere?

slipset 2020-09-01T10:32:45.126500Z

https://github.com/clj-commons/clj-yaml version 0.7.2 was just released. Bumping of underlying libs and exposing some more config options.

👍 1
🙏 4
borkdude 2020-09-01T10:40:38.126800Z

Cool, will bump in next babashka release!

Ivar Refsdal 2020-09-01T20:23:48.129100Z

I've implemented your suggestion @vlaaad, thanks for the input!

👍 1