Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 20 19:40
    lancecarlson starred dry-rb/dry-monads
  • Nov 20 15:22
    scaint starred dry-rb/dry-monads
  • Nov 20 11:05
    FunkyloverOne starred dry-rb/dry-monads
  • Nov 20 06:22
    zlei1 starred dry-rb/dry-web
  • Nov 18 00:58
    dteoh starred dry-rb/dry-types
  • Nov 17 21:02
    flash-gordon commented #374
  • Nov 17 21:01

    flash-gordon on master

    Update custom_ci.yml Merge pull request #374 from sk… (compare)

  • Nov 17 21:01
    flash-gordon closed #374
  • Nov 17 20:59
    skryukov opened #374
  • Nov 17 16:42

    flash-gordon on use-immutable-equalizer

    (compare)

  • Nov 17 16:42

    flash-gordon on master

    Use immutable equalizer for all… Merge pull request #373 from dr… (compare)

  • Nov 17 16:42
    flash-gordon closed #373
  • Nov 17 16:38
    flash-gordon opened #373
  • Nov 17 16:38

    flash-gordon on use-immutable-equalizer

    Use immutable equalizer for all… (compare)

  • Nov 17 16:34

    flash-gordon on no-rewrap-for-structs

    (compare)

  • Nov 17 16:34

    flash-gordon on master

    Don't build constructors when c… Merge pull request #371 from dr… (compare)

  • Nov 17 16:34
    flash-gordon closed #371
  • Nov 16 11:28
    marekciupak starred dry-rb/dry-monads
  • Nov 16 07:48
    luizfonseca starred dry-rb/dry-view
  • Nov 15 18:52
    waiting-for-dev commented #114
Piotr Solnica
@solnic
and have rom 10 x faster than AR rather than “just” 2 x :joy:
Andy Holland
@AMHOL
:joy:
Piotr Solnica
@solnic
Calculating -------------------------------------
              virtus     3.466k i/100ms
     fast_attributes    31.380k i/100ms
              attrio     6.127k i/100ms
            dry-data    30.888k i/100ms
-------------------------------------------------
              virtus     36.223k (± 3.6%) i/s -    183.698k
     fast_attributes    386.340k (± 3.0%) i/s -      1.946M
              attrio     62.879k (± 5.6%) i/s -    318.604k
            dry-data    390.033k (± 5.7%) i/s -      1.946M

Comparison:
            dry-data:   390032.7 i/s
     fast_attributes:   386339.9 i/s - 1.01x slower
              attrio:    62878.6 i/s - 6.20x slower
              virtus:    36222.8 i/s - 10.77x slower
Hannes Nevalainen
@kwando
much excite :clap:
Hannes Nevalainen
@kwando
@solnic ah, just found out you can register your own "constructor" for types in dry-data! then I can create a custom coercion =)
Piotr Solnica
@solnic
@kwando but please wait for a release, things are very likely to change ;)
unless you’re just OK with experimenting, feedback most welcome as always
Hannes Nevalainen
@kwando
@solnic I just took it for a spin =)
Piotr Solnica
@solnic
@AMHOL are you planning to tackle container-based dry-data refactor once more or do you want me to take care of this?
Andy Holland
@AMHOL
@solnic not sure when I'll have time TBH :(
Don't want to miss the point again either :joy:
Piotr Solnica
@solnic
@AMHOL I desperately need this project at work so I’d like to wrap it up and push a release
Andy Holland
@AMHOL
Ahh OK, anything wrong with releasing 0.0.1 as-is?
Piotr Solnica
@solnic
@AMHOL not sure, it doesn’t feel solid enough for me
Andy Holland
@AMHOL
What do you feel is missing?
Hannes Nevalainen
@kwando
@solnic +3 for releasing, need it too =)
Andy Holland
@AMHOL
lol
Piotr Solnica
@solnic
@kwando planning to do it on Friday
Hannes Nevalainen
@kwando
cool, I'll try to survive until then ;)
Piotr Solnica
@solnic
@AMHOL just took a look, typed-hash has a couple of things missing, like gathering type-errors from all keys, I’m also not sure if I want to release it with global container
@kwando haha ok ;)
Andy Holland
@AMHOL
Yeah, would be nice to get the container sorted, raises a few issues though, like auto-registration :laughing:
Piotr Solnica
@solnic
switching to a local container will require a different DSL so it needs some work
I’ll try to do that on Friday
Hannes Nevalainen
@kwando
it is really amazing what value types / objects can do for your code clarity =)
Hunter Madison
@hmadison
Dependent types also do a lot of work
If you never looked at them, its a cool concept
Hannes Nevalainen
@kwando
never looked at dependent types, do you know some short ruby code that would illustrate it?
Piotr Solnica
@solnic
@hmadison I haven’t thought about dependent types actually
@kwando no, sorry, nothing from the top of my head (also googling yields no concrete results)
Hunter Madison
@hmadison
No i dont
Hannes Nevalainen
@kwando
aw =/
Piotr Solnica
@solnic
@AMHOL @kwando ^
I also ported the thing to use dry-container so now we can simply register types under symbol keys
Luca Guidi
@jodosha
OMG it returns None :heart:
Piotr Solnica
@solnic
@jodosha hah yeah…I really really wanted that
I wonder if it makes sense to register optional types for all built-in primitives so that you get it OOTB hmmm
also optional_string vs maybe_string? I kinda like “maybe” more :)
@AMHOL I’m thinking about a predicate micro-system that we could share between dry-data and dry-validators, feels like this could be a generic functionality
Andy Holland
@AMHOL
@solnic v.nice :smile:
Piotr Solnica
@solnic
@AMHOL I’m sorry I didn’t pursue our “distributed TDD” idea…but I’m happy to do that next time with something that’s less urgent for me, sounds good?
another thing is separation between simple type-check and coercible-type-check, not sure how those things should be called in container :/
Andy Holland
@AMHOL
@solnic you did a much better job than I would have anyway
Piotr Solnica
@solnic
@AMHOL nah :) but thanks ;)
Peter Saxton
@CrowdHailer
I would vote for maybe_string options get used all over the place.
All looking good now I am reading through learn you a haskell
Piotr Solnica
@solnic
@CrowdHailer yeah I think I will rename it
Andy Holland
@AMHOL
@solnic AMHOL/roda-flow@c882a51 cleaned up roda-flow :)
Piotr Solnica
@solnic
Thoughts on coercible vs noncoercible type identifiers?