Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Tim Riley
@timriley
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
just want to wrap up rom stuff
Tim Riley
@timriley
Of course! The ROM stuff is sounding great, btw.
Piotr Solnica
@solnic
@timriley this is the next chapter in ROM evolution
Andrew Kozin
@nepalez
@solnic thank you!
Joe Van Dyk
@joevandyk
looking to start a new project that basically takes http requests, does stuff to it, validates, etc then makes other http requests. any recommendations for a toolset that could help? is dry-web enough?
or trailblazer or hamani?
dan-klasson
@dan-klasson
@joevandyk can you elaborate on what you mean that it "does stuff to it"?
Joe Van Dyk
@joevandyk
lol
yeah, it converts data to different formats depending on sorta complex biz logic, could make requests to other system as part of that
in this case i don’t expect the database to be a big component in the app, if it is at all.
dan-klasson
@dan-klasson
well sounds like a perfect case of a bunch of service objects
Piotr Solnica
@solnic
@joevandyk atm dry-web is very alpha, if you’re ok with that then I’d be nice if you gave it a go
also, it only supports roda atm, but we’re gonna add other routing front-ends soon
ie dry-web-hanami
Joe Van Dyk
@joevandyk
there’s no UI right now btw, just json
dan-klasson
@dan-klasson
@solnic sure. i wouldn't mind recommend that too. but his question is not framework specific right?
Joe Van Dyk
@joevandyk
@dan-klasson i’m asking what framework people recommend ;)
or libs or whatever
i haven’t kept up in the last few years
dan-klasson
@dan-klasson
@joevandyk oh, well that is a good question.
Piotr Solnica
@solnic
I don’t recommend frameworks, I don’t like frameworks :)
Joe Van Dyk
@joevandyk
set of cohesive libraries then
w/ generators hopefully
dan-klasson
@dan-klasson
@joevandyk if you want cohesive libraries, you're in the right channel