These are chat archives for dry-rb/chat

25th
Apr 2017
Adam Gwozdowski
@agwozdowski
Apr 25 2017 07:09
Thanks @AMHOL! Do you know how to handle previous problem, with to_h method? :)
Piotr Solnica
@solnic
Apr 25 2017 10:20
ah yes, @mensfeld is a happy dry-v user :)
Andy Holland
@AMHOL
Apr 25 2017 12:29
@agwozdowski I just released dry-configurable 0.7.0, try updating, it should work then
Maciej Mensfeld
@mensfeld
Apr 25 2017 13:59
@AMHOL I'm a very, very happy dry user :) @agwozdowski and I use it in Karafka framework as well (http://github.com/karafka/karafka)
Andy Holland
@AMHOL
Apr 25 2017 14:02
@mensfeld that's good to hear, glad you're liking it, feel free to drop me a PM or open an issue if there's anything you feel could be better :)
https://github.com/karafka/karafka looks good, haven't used kafka before
Maciej Mensfeld
@mensfeld
Apr 25 2017 14:13
@AMHOL thanks :) Kafka is really, really good - I have one system that works on the combination of Karafka + Dry-v + Dry-c
and you guys do a great job in terms of quality and development - I track some metrics about dry organization and really :clap:
Andy Holland
@AMHOL
Apr 25 2017 14:17
Oh, that's awesome, would be interested in hearing more about that, enjoyed your blog post BTW :)
Maciej Mensfeld
@mensfeld
Apr 25 2017 14:18
Thanks. Some people complain about more complex cases but I have one lkke that: multinested hash with internal structures + I validate it 100-5000x per second and it works :)
Andy Holland
@AMHOL
Apr 25 2017 14:19
That's impressive :)
@solnic ^^
Maciej Mensfeld
@mensfeld
Apr 25 2017 14:20
about the metrics and data - I'm planning to give it to you as a way to say thank you. I just need a bit more time to aggregate it in a nice way
Andy Holland
@AMHOL
Apr 25 2017 14:21
Oh wow <3
Piotr Solnica
@solnic
Apr 25 2017 15:02
data validation is such a complex domain that it’s gonna take years to cover maybe 80% of the cases people have heh
we have almost 3000 spec examples in dry-v repo and honestly we probably barely cover 60% of the currently supported use cases
this is pretty much crazy stuff
one thing I’d like to do in 1.0 is to simplify DSL so that there’s less ways of…doing things O_o
high level rules will definitely go away from schemas, that’ll make things much simpler already
one of the challenges is to have a DSL that is concise yet it can be 100% flexible, that’s tricky
and I don’t even want to mention cases like dynamic data structures, as in, structures that must match a pattern, instead of a strict definition
and yes folks have been asking for this :laughing:
Maciej Mensfeld
@mensfeld
Apr 25 2017 15:07
@solnic I cover 100% of mine so if you change anything and need to hve external specs I can run mine for you ;)
Piotr Solnica
@solnic
Apr 25 2017 15:07
sounds like a plan ;)
Maciej Mensfeld
@mensfeld
Apr 25 2017 15:08
@apotonick ask me to do that from time to time as I hve 100% coverage of operations as well
Since your gems aren't considered stable by me - I prefer to cover all the things
Piotr Solnica
@solnic
Apr 25 2017 15:08
you sure you wanted to mention Nick ^_^? :D
Maciej Mensfeld
@mensfeld
Apr 25 2017 15:09
hahaha :P
will something bad happen?
Piotr Solnica
@solnic
Apr 25 2017 15:09
anyhow, yes dry-rb gems are not stable
:bike: time, bbiab
Maciej Mensfeld
@mensfeld
Apr 25 2017 15:09
I would say they are not stable but they aren't unstable ;) and if you don't hack internals they work well
Piotr Solnica
@solnic
Apr 25 2017 15:13
heh yeah, we need better terminology for this stuff
Nick Sutterer
@apotonick
Apr 25 2017 17:14
Haha! My stuff is usually 100% tested, but Ruby makes it too easy to "fix" internals in your project and then the next minor update breaks things... surprisingly!
@solnic There are rumors about us :beers: at grill camp or whatever the name was?! ;)
Nikita Shilnikov
@flash-gordon
Apr 25 2017 17:38
grill camp :laughing:
Nick Sutterer
@apotonick
Apr 25 2017 18:05
What was the name again? Haha :joy:
Nikita Shilnikov
@flash-gordon
Apr 25 2017 19:06
http://railsclub.ru/en/main there're your faces ;)
Nick Sutterer
@apotonick
Apr 25 2017 21:02
@flash-gordon Hahaha, yes, but I meant something else
It's in Wroclaw
Grillruby or something... god damnit, @mensfeld what's it called, again, the event in July?
Maciej Mensfeld
@mensfeld
Apr 25 2017 21:09
@apotonick http://grillrb.com/ :)
Nikita Shilnikov
@flash-gordon
Apr 25 2017 21:31
@apotonick haha, so you don't avoid to mention rails that much? :laughing:
Nikita Shilnikov
@flash-gordon
Apr 25 2017 21:41
you'd be very lucky to sit like that at the end of September in Moscow :worried: