Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 25 10:35

    timriley on rich-component-dirs-config

    Accept pre-configured component… (compare)

  • Nov 25 10:18

    timriley on rich-component-dirs-config

    Provide path when initializing … Configure with block as part of… (compare)

  • Nov 25 05:21
    phannaly starred dry-rb/dry-types
  • Nov 25 05:21
    phannaly starred dry-rb/dry-monads
  • Nov 25 05:04
    kijimaD starred dry-rb/dry-system
  • Nov 25 04:31
    shiftingphotons starred dry-rb/dry-system
  • Nov 24 19:17
    candland commented #70
  • Nov 24 12:24

    timriley on rich-component-dirs-config

    Add some early WIP (compare)

  • Nov 24 10:23
    tadeusz-niemiec starred dry-rb/dry-monads
  • Nov 23 20:40
    solnic commented #70
  • Nov 23 06:35
    caffkane starred dry-rb/dry-system
  • Nov 22 16:07
    holamendi starred dry-rb/dry-monitor
  • Nov 22 12:58
    flash-gordon commented #124
  • Nov 21 11:58
    hss-mateus starred dry-rb/dry-monads
  • Nov 21 09:19
    namhoei starred dry-rb/dry-monads
  • Nov 21 01:03
    rpbaltazar starred dry-rb/dry-initializer
  • Nov 20 13:02
    maxhollmann commented #70
  • Nov 20 13:02
    maxhollmann ready_for_review #70
  • Nov 20 12:30
    maxhollmann converted_to_draft #70
  • Nov 20 12:29
    maxhollmann synchronize #70
Andy Holland
@AMHOL
@timriley nice job, really nice article :+1:
Benjamin Klotz
@tak1n
@timriley awesome article :+1: :D
Kuba Krzempek
@kubakrzempek
@timriley I like it too :thumbsup: Learnt quite a few from it.
Tim Riley
@timriley
Thanks! After some other feedback I just updated the rspec example to make it better at simluating a real validation object. And added an explainer about why I’m just hand-waving the persistence step away.
Piotr Solnica
@solnic
@timriley :+1:
Tim Riley
@timriley
Woot, the solnic thumbs-up!
timriley @timriley sneaks back into the draft and names this The Solnica Pattern ;)
Tim Riley
@timriley
Actually though, I might add a note that this approach needn’t be restricted to commands only. Works for anything which would otherwise make sense as a standalone function, and not some part of an object with a wider API.
Nikita Shilnikov
@flash-gordon
@timriley great! That's how I write code today thanks to dry-stuff :)
Also most of my my classes returns Either object so I can compose it with dry-transaction
Tim Riley
@timriley
@flash-gordon awesome :) Yeah, in this article I’m side-stepping Eithers for simplicity. I hope to introduce them in 3 or 4 more weeks :grin:
Nikita Shilnikov
@flash-gordon
Yeah, don't push too hard lol
Andy Holland
@AMHOL
I'd consider not adding the side note about the same interface being applicable to other situations for the sake of simplicity too
Tim Riley
@timriley
@AMHOL True. I’ll just make that another article. Heh.
Andy Holland
@AMHOL
:D
Any plans to link to these articles from the dry-rb.org site too?
Would be cool to have an "External resources" page
Tim Riley
@timriley
Good question. Would be pretty easy to throw up a resources page for links elsewhere. I’d be happy to help with that. Alternatively, if you think these articles express the dry-rb philosophy well enough – and if we have an editorial policy that allows more than strict orginsation “news” – I’d even be happy for the articles to be cross-posted through to the dry-rb.org blog
Andrew Kozin
@nepalez
@timriley nice! cannot wait the next one
Andy Holland
@AMHOL
@timriley cross-posting would be cool, could just add an attribution link at the top
Also SEO implications to consider, duplicate content and all
Tim Riley
@timriley
I don’t spend much time thinking about SEO. Is duplicate content bad? Given it’s only in a few places (Icelab’s blog, cross-posted to Medium, and now dry-rb.org)...
Andy Holland
@AMHOL
Is it posted directly to Medium or as an external link?
Tim Riley
@timriley
I make a full copy of the article there. Just giving it a try to see if I can reach more people.
With an “originally posted on…” link at the bottom
Andy Holland
@AMHOL
I notice some are hosted on their site and some are just external links, would be better if you could just use the external link method, also drives traffic to your site :)
Also not sure whether cross-site canonical tags work
But that's an option
If you click on the first article on https://medium.com/ it just links to an external site, that would be a better option for you IMO
Tim Riley
@timriley
I probably see a different feed of articles to you...
Andy Holland
@AMHOL
Ahh OK, it was "A $400 emergency" but I'm sure others will do the same
Tim Riley
@timriley
That looks like a link to a medium.com publication just with a custom domain.
which is something they offer now.
Andy Holland
@AMHOL
Looks like cross-site canonical tags work BTW
Medium is new to me BTW :)
Tim Riley
@timriley
Looks like you need to use their API to set a canonical URL
This was an interesting digresion, thanks @AMHOL
Andy Holland
@AMHOL
:+1:
Tim Riley
@timriley
At least my future medium cross-posts will have the canonical link. I’ll set dry-rb’s site to do the same too.
Andy Holland
@AMHOL
Nice one :D
stigchristian
@stigchristian
Is it possible to validate each hash in an array?
Piotr Solnica
@solnic
@stigchristian key(:arr).each { schema { key(:foo).required } }
stigchristian
@stigchristian
ah, great!
Piotr Solnica
@solnic
Piotr Solnica
@solnic
@timriley any chance for making auto_inject work with rom-repos during this week?
would be nice to see that it can Just Work™
Tim Riley
@timriley
@solnic Totally. It seems doable. I can start by spending an hour on it tomorrow morning and see how far I get.
Piotr Solnica
@solnic
that’s great
I don’t think I will have time for any dry-* activities this week, that’s why I’m asking