These are chat archives for dry-rb/chat

22nd
Jun 2017
Tim Riley
@timriley
Jun 22 2017 01:01
So I’ve just pushed up something new to dry-web-blog
Right now it’s basically a new dry-web-roda app + an explanation in the README that we’re going to be developing this in the public
so that’s how I’m going to introduce it in my talk today
“now’s the perfect time to follow along and see how we build apps like this”
Just FYI :)
Andy Holland
@AMHOL
Jun 22 2017 01:06
Awesome :+1:
Have you done the workshop already?
Tim Riley
@timriley
Jun 22 2017 01:23
Yep, workshop is done! Conf talk in about an hour.
Ahmad Musaffa
@musaffa
Jun 22 2017 01:37
@timriley We would love to have a subreddit of dry-rb where all the updates, video links and blog posts can be accumulated. It would be easy for us to follow along.
Piotr Solnica
@solnic
Jun 22 2017 08:58
Nikita Shilnikov
@flash-gordon
Jun 22 2017 09:08
Definitely
Piotr Solnica
@solnic
Jun 22 2017 09:18
@flash-gordon I thought so
it crossed my mind to use memoizable gem but felt like an overkill
esp that it's a bit old, uses thread_safe and is really way more complex than what we need
Nikita Shilnikov
@flash-gordon
Jun 22 2017 09:40
@solnic wrapping a 40-lines file in a gem is an overkill, we can switch to a separate gem once we find it reasonable that is unlikely in this particular case. will see though
Piotr Solnica
@solnic
Jun 22 2017 09:51
yeah, I'll add support for memoizing methods with args too, because we have plenty of cases where args are safe to memoize
ie methods that accept a list of symbols
like combine or wrap, and both are heavy, so it's good to memoize them
also, module subclassing FTW ;)
Nikita Shilnikov
@flash-gordon
Jun 22 2017 10:53
@solnic I added memoization to dry-struct
@backus could you check out dry-struct from master and see if it works for you?