Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 30 08:43
    israelperezglez edited #679
  • Nov 30 05:13

    47erbot on main

    Update cats-effect to 3.4.2 (compare)

  • Nov 30 05:13

    47erbot on cats-effect-3.4.2

    (compare)

  • Nov 30 05:13
    47erbot closed #680
  • Nov 30 05:07
    47erbot opened #680
  • Nov 30 05:07

    47erbot on cats-effect-3.4.2

    Update cats-effect to 3.4.2 (compare)

  • Nov 29 16:19
    israelperezglez converted_to_draft #679
  • Nov 29 16:19
    israelperezglez opened #679
  • Nov 29 16:18

    israelperezglez on integration-xebia-functional

    upgrade 47degrees to xebia-func… (compare)

  • Nov 25 05:15

    47erbot on main

    Update sbt-scalajs, scalajs-com… (compare)

  • Nov 25 05:15

    47erbot on sbt-scalajs-1.12.0

    (compare)

  • Nov 25 05:15
    47erbot closed #678
  • Nov 25 05:09
    47erbot opened #678
  • Nov 25 05:09

    47erbot on sbt-scalajs-1.12.0

    Update sbt-scalajs, scalajs-com… (compare)

  • Nov 23 11:24
    fedefernandez synchronize #664
  • Nov 23 11:24

    fedefernandez on sbt-ci-release-1.5.11

    Update sbt to 1.7.3 Update scalafmt-core to 3.6.1 Update scala3-library to 3.2.1 and 8 more (compare)

  • Nov 23 05:16

    47erbot on main

    Update sbt-github, sbt-github-h… (compare)

  • Nov 23 05:16

    47erbot on sbt-github-0.11.6

    (compare)

  • Nov 23 05:16
    47erbot closed #677
  • Nov 23 05:08
    47erbot opened #677
Justin Heyes-Jones
@justinhj
I was also wondering about the utility of a Put style version of Fetch. The interesting part for me would be combining Put and Fetch jobs together and have Put be able to update the cache that the Fetch jobs are using. But as @peterneyens says there would be a lot of edge cases to think about
Raúl Raja Martínez
@raulraja
@gatorcse I still think it's a good idea and if it's explicit enough so that the user understands the behavior it's something we could have in Fetch as a separate companion module
Andrey Ivanov
@a-nigredo
Hi all, I try to use fetch "0.6.3" with cats "1.0.0-MF" and in run-time I see an exception
Exception in thread "main" java.lang.NoClassDefFoundError: cats/FunctorFilter
What I missed?
This is my dependencies:
libraryDependencies += "org.typelevel" %% "cats-core" % "1.0.0-MF"
libraryDependencies += "com.47deg" %% "fetch" % "0.6.3"
Raúl Raja Martínez
@raulraja
@a-nigredo Fetch still depends on cats 0.9.0 which had the FunctorFilter there. We are currently working towards moving it to 1.0.0-MF and FunctorFilter has moved to FunctorEmpty in a new lib cats-mtl. @peterneyens do you know how close are we to release Fetch for cats 1.0.0-MF?
Peter Neyens
@peterneyens
We would need a Monix release using cats 1.0.0-MF.
Raúl Raja Martínez
@raulraja
@peterneyens Looks like Alex recently addressed that https://github.com/monix/monix/releases/tag/v3.0.0-M1
eranmiz132
@eranmiz132
hi guys
i am new to fetch, and i will be glad if someone can help a few issues:
  1. can i create an api which is not part of the DataSource trait, and call it ?
  1. can i define an api which save/update and not just fetching data ?
Peter Neyens
@peterneyens

@eranmiz132
The only way Fetch can reach out to external sources is through the fetchOne and fetchMany methods of DataSource.
Can you give an example what you want to accomplish?

For the second point, there was some discussion in the posts above about just that (starting at https://gitter.im/47deg/fetch?at=599de37042d2f61025897618).
Summary: For the moment Fetch only supports fetching data

eranmiz132
@eranmiz132
thank u for the reply ! well, i have a lot of different api which get items, but the for different keys. if i extends the DataSource trait, i can implement only one "kind" of get by key, or i need a lot of classes to extends the DataSource, each with different key. it is not convenient.
chris vale
@crispywalrus
@peterneyens I opened a (trivial) PR against your 1mf branch that changes the name of the twitter module from twitter to fetch-twitter
the branch itself seems in pretty good shape, I was able to upgrade code without incendent
Peter Neyens
@peterneyens
I missed that it was for my branch. Thanks for the new PR anyway.
chris vale
@crispywalrus
@peterneyens np!
Peter Neyens
@peterneyens
@/all We just released Fetch v0.7.0 https://twitter.com/47deg/status/916369464161128449
Raúl Raja Martínez
@raulraja
:clap:
Justin Heyes-Jones
@justinhj
Hi! I made this side project while I was on vacation I was inspired by your issue #11 (visualize fetch rounds with reftree). There is a blog post and github repo http://justinhj.github.io/2017/10/11/hacker-news-api-3.html
Peter Neyens
@peterneyens
@justinhj Nice!
The reftree visualization looks quite nice indeed.
Justin Heyes-Jones
@justinhj
Yeah it's a neat library
Raúl Raja Martínez
@raulraja
@justinhj awesome post and project!
Justin Heyes-Jones
@justinhj
Thanks!
Taleb Zeghmi
@talebzeghmi
Does anyone use the Fetch API in production?
Tom Adams
@tomjadams
Yes. Have done for months.
Taleb Zeghmi
@talebzeghmi
Has anybody found a Redis Scala API that supports Cluster pipelining?
Justin Heyes-Jones
@justinhj
I'm using https://github.com/etaty/rediscala which should in theory but I don't know if it allows pipelining what you want specifically as I haven't used the cluster support yet.
Taleb Zeghmi
@talebzeghmi
rediscala purports to support pipeline but uses transactions
Aarsh Shah
@aarshkshah1992
Hello Guys
I am Aarsh , a Scala dev looking to contribute to some open source projetcs
Is it possible for me to work on Fetch
Considering that it's been developed by 47 degrees ?
Raúl Raja Martínez
@raulraja
@aarshkshah1992 of course! your contributions will be very welcomed!
Aarsh Shah
@aarshkshah1992
Thanks for the reply . Is there a contributing guide I can look into ?
Also, any list of planned features / issues/ bug fixes I can work on to get my foot in the door ? Would really appreciate the help.
Raúl Raja Martínez
@raulraja
no guide at the moment since it's a self contained and small library, feel free to glance over the issues and pick up any of the current open ones and ask any questions here :)
Aarsh Shah
@aarshkshah1992
Great, thanks a lot :smile:
Raúl Raja Martínez
@raulraja
:thumbsup:
Tom Adams
@tomjadams
Silly question, has anyone tried to use fetch from java? Or, know a similar library that’s usable from java?
kerr
@hepin1989
@tomjadams You will need to wrote a wrapper around it
Tom Adams
@tomjadams
@hepin1989 Thanks, that’s what I figured.
Raúl Raja Martínez
@raulraja
Java has no way to represent scala higher kinds and some of the methods would need to be made concrete or specialized. Same for the implicit resolution would have to be wrapped in a scala project that exposes concrete types and already resolved instances with signatures compatible in Java. If you plan on going down that rabbit hole we'd welcome such a submodule in Fetch itself
You probably want ListenableFuture<A> as result type from guava, we have instances to go to that and back in Freestyle async so a Fetch in terms of scala.concurrent.Future can just be ~> to guava's ListenableFuturepotentially.
Tom Adams
@tomjadams
Thanks for the info @raulraja. The async story in Java is pretty ordinary.
We have a lot of code that mixes concurrency with data access, and some of that data access has hand rolled caches. We also have some future need to be able to see the input state of some data into (the equivalent of) a Fetch, and I think the patterns in Fetch would suit this quite well.
We’re also looking at other things like atomix, I don’t know enough yet though about our use case and future use case to be able to make concrete plans though.