These are chat archives for dry-rb/chat

23rd
Jun 2016
Piotr Solnica
@solnic
Jun 23 2016 00:55
huh I just ran dry-v specs under mri 2.4.0-preview1 and it takes ~18 seconds vs ~5.5s under 2.3.1 WHAT THE HELL
Piotr Solnica
@solnic
Jun 23 2016 01:07
dry-rb/dry-equalizer#3 #helpwanted
Tim Riley
@timriley
Jun 23 2016 04:07
@mrbongiolo thanks! I'm at RedDotRubyConf for the next couple of days - I'll try get you a resp
Response on weekend or early next week :)
Fran Worley
@fran-worley
Jun 23 2016 07:19
@solnic it's not that I would want to do one without the other it's that I'd like to be able to define them separately kind of build up rules
Tim Riley
@timriley
Jun 23 2016 07:21
My RedDotRubyConf talk is in about 40 minutes
And there is a live stream!
Benjamin Klotz
@tak1n
Jun 23 2016 07:26
benny@benny-Lenovo-Y50-70:~/dev/ruby/dry-rb/dry-validation$ be ruby -Ilib benchmarks/benchmark_rust_string_empty.rb 
Warming up --------------------------------------
dry-validation / schema
                        12.858k i/100ms
dry-validation / schema / rust
                        10.787k i/100ms
Calculating -------------------------------------
dry-validation / schema
                        125.463k (± 4.4%) i/s -    630.042k in   5.031323s
dry-validation / schema / rust
                        115.299k (± 2.6%) i/s -    582.498k in   5.055800s

Comparison:
dry-validation / schema:   125462.8 i/s
dry-validation / schema / rust:   115298.8 i/s - 1.09x slower
:fire: :fire: :D
Piotr Solnica
@solnic
Jun 23 2016 07:55
@tak1n what is it? :)
@timriley good luck!
Oskar Szrajer
@gotar
Jun 23 2016 07:57
I spread link acros few countries a lot people was w8 for those talk
Benjamin Klotz
@tak1n
Jun 23 2016 08:27
I tried calling rust through FFI for empty string check :D
Benjamin Klotz
@tak1n
Jun 23 2016 08:51
I mean if I think about it, it totally makes sense that its slower :D
String#empty? is basically a c function in mri
So I rewrote it in rust but with the overhead of FFI :D
Oskar Szrajer
@gotar
Jun 23 2016 09:03
@timriley great talk.
Tim Riley
@timriley
Jun 23 2016 09:06
Thanks!
Benjamin Klotz
@tak1n
Jun 23 2016 09:07
@timriley missed the talk, will it be uploaded somewhere? :D
Tim Riley
@timriley
Jun 23 2016 09:12
Eventually, yes, I'm sure :)
Piotr Solnica
@solnic
Jun 23 2016 09:26
Sorry Tim but I couldn't watch the whole talk. We're on the road going to Lviv
Wilson Silva
@wilsonsilva
Jun 23 2016 10:15
I'm so excited about the dry-rb libraries! Nice work guys. I was looking at dry-web-roda and I was wondering if you could add an option to the bootstrap generator to generate an app without the views and templates.
Oskar Szrajer
@gotar
Jun 23 2016 10:22
not easier just to drop not needed files? it's alfa (first) version of roda app generator for sure will be extended more
Wilson Silva
@wilsonsilva
Jun 23 2016 10:24
Definitely, but having it automated would be nice.
Oskar Szrajer
@gotar
Jun 23 2016 10:25
probably one day there will be --api --full-stack or so
and of course PR welcome
if you need it now
Wilson Silva
@wilsonsilva
Jun 23 2016 10:27
I want to do it, but I need to understand all the concepts around Roda, dry-rb, dry-web and dry-web-roda first.
Oskar Szrajer
@gotar
Jun 23 2016 10:27
a nice journey ahead ;]
Wilson Silva
@wilsonsilva
Jun 23 2016 10:27
:grin:
Oskar Szrajer
@gotar
Jun 23 2016 10:27
I took me some time to understand containers, auto_inject etc
Andy Holland
@AMHOL
Jun 23 2016 11:57
For anyone that missed the live stream https://youtu.be/_3sz2Oex2YQ?t=10331
Hmm, seems to skip part of the talk
Benjamin Klotz
@tak1n
Jun 23 2016 12:06
@AMHOL thx
Andy Holland
@AMHOL
Jun 23 2016 12:06
NP, I think the Illuminati are censoring Tim
The video skips past a good few parts
:p
Benjamin Klotz
@tak1n
Jun 23 2016 12:07
damn that illuminatis :D
Andy Holland
@AMHOL
Jun 23 2016 12:07
I know right? When did DHH join :laughing:
Benjamin Klotz
@tak1n
Jun 23 2016 12:07
whoops
u saw that
I did do nothing
xD
Ralf Schmitz Bongiolo
@mrbongiolo
Jun 23 2016 13:28
@timriley just watching your talk :)
Benjamin Klotz
@tak1n
Jun 23 2016 13:52
@timriley great talk :clap: