Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 05 14:30
    scala-steward opened #629
  • Apr 27 02:47
    scala-steward opened #628
  • Apr 27 02:47
    scala-steward opened #627
  • Apr 26 12:20
    scala-steward opened #626
  • Apr 26 12:20
    scala-steward opened #625
  • Apr 25 08:59

    paualarco on gh-pages

    Deploy website Deploy website … (compare)

  • Apr 25 08:56

    paualarco on docs

    Update redis.md (compare)

  • Apr 25 08:50
    paualarco labeled #624
  • Apr 24 21:39
    paualarco edited #624
  • Apr 24 21:38
    paualarco opened #624
  • Apr 24 21:28
    paualarco closed #623
  • Apr 24 11:17

    paualarco on gh-pages

    Deploy website Deploy website … (compare)

  • Apr 24 11:14

    paualarco on docs

    Update redis.md (compare)

  • Apr 23 14:57
    mucahitkantepe starred monix/monix-connect
  • Apr 23 06:21
    scheleaap opened #623
  • Apr 22 22:43
    paualarco labeled #622
  • Apr 22 22:43
    paualarco opened #622
  • Apr 22 18:13

    paualarco on gh-pages

    Deploy website Deploy website … (compare)

  • Apr 22 18:11

    paualarco on docs

    Corrected mongodb link (compare)

Alexandru Nedelcu
@alexandru
Actually it's this one: monix/monix-connect@eaf733e
It was meant to be a PR, but apparently I'm bad at using GitHub's interface.
Pau Alarcón
@paualarco
@alexandru no problem, unfortunately domain changes haven't applied
will roll it back :P
Alexandru Nedelcu
@alexandru
@paualarco I think it would need to finish the build or something
In the settings file, it gives a warning that the CNAME file doesn't have a correct format: https://github.com/monix/monix-connect/settings
This means the GitHub Pages haven't been deployed yet (an assumption).
Pau Alarcón
@paualarco
Mmh okay, let's give it some time then, fingers crossed 🤞
Alexandru Nedelcu
@alexandru
Are you fine with the domain change? I was meaning to ask in the PR 😅
I mean it's a proposal. If you don't like it you can revert.
Pau Alarcón
@paualarco
I like it! Thanks for helping with this :)
Alexandru Nedelcu
@alexandru
Is the API published along with the website? As I'm not seeing it in gh-pages: https://github.com/monix/monix-connect/tree/gh-pages
Pau Alarcón
@paualarco
nice!
no, api docs are not there yet monix/monix-connect#149
Piotr Gawryś
@Avasil
What do you think about creating a new module in monix-connect for I/O operations, something like akka-stream-alpakka-file or fs2 io? There's a contributor that is implementing gzip for Observable for STTP and we're wondering where to put it :)
Pau Alarcón
@paualarco
@Avasil sure! the google-cloud-storage connector is already exposing some methods for reading and writing from files which we could abstract in a different module
Pau Alarcón
@paualarco
though it might overlap a bit with monix-nio
Piotr Gawryś
@Avasil
@ghostbuster91 raised a good point to me that compression is not necessarily about files, or I/O so I think we could add it to monix-reactive, fs2 does something similar (text package is in core)
Pau Alarcón
@paualarco
yup, that's right :)
Pau Alarcón
@paualarco
have created monix/monix-connect#321 for bringing downloadMultipart, existsBucket, existsObject, copyObject and an enhanced listObjects operations, will leave it there for a couple of days :)
Tyler M. Kontra
@ttymck
Hi @paualarco just wanted to drop in to say thanks for answering my questions so far, and I hope I can help out with this project :smile:
Pau Alarcón
@paualarco
@ttymck no problem, thank you too for helping :)
Thijs Broersen
@ThijsBroersen
I found an issue in S3 adapter and thought I could make an easy fix and do a PR but I cannot get started, aws-auth does not compile ... getting [error] ## Exception when compiling 6 sources to /home/thijs/repositories/monix-connect/aws-auth/target/scala-2.13/classes [error] java.lang.StackOverflowError [error] scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2571) [error] scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:5911) [error] scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5946) [error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5993) [error] scala.tools.nsc.typechecker.Typers$Typer.typedTyped$1(Typers.scala:5703) [error] scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5939) [error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5993) [error] scala.tools.nsc.typechecker.Macros$DefMacroExpander.$anonfun$onSuccess$1(Macros.scala:631) [error] scala.tools.nsc.typechecker.Macros$DefMacroExpander.typecheck$1(Macros.scala:631) [error] scala.tools.nsc.typechecker.Macros$DefMacroExpander.onSuccess(Macros.scala:643) [error] scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:582) [error] scala.tools.nsc.Global.withInfoLevel(Global.scala:228)

wanted to adjust this:

def deleteObject(
    bucket: String,
    key: String,
    bypassGovernanceRetention: Option[Boolean] = None,
    mfa: Option[String] = None,
    requestPayer: Option[String] = None,
    versionId: Option[String] = None)(implicit s3AsyncClient: S3AsyncClient): Task[DeleteObjectResponse] = {
    val request: DeleteObjectRequest =
      S3RequestBuilder.deleteObject(bucket, key, bypassGovernanceRetention, mfa, requestPayer, versionId)
    S3RequestBuilder.deleteObject(bucket, key, bypassGovernanceRetention, mfa, requestPayer, versionId)
    deleteObject(request)
  }

into

def deleteObject(
    bucket: String,
    key: String,
    bypassGovernanceRetention: Option[Boolean] = None,
    mfa: Option[String] = None,
    requestPayer: Option[String] = None,
    versionId: Option[String] = None): Task[DeleteObjectResponse] = {
    val request: DeleteObjectRequest =
      S3RequestBuilder.deleteObject(bucket, key, bypassGovernanceRetention, mfa, requestPayer, versionId)
    deleteObject(request)
  }
Pau Alarcón
@paualarco
@ThijsBroersen thanks for reporting that! I realised about that last week but didn't changed yet... though it does not alter the functionality of the method
Pau Alarcón
@paualarco
compiling that submodule should be fine, maybe that's something to do with your local config? have seen a similar where it seems like they fixed it by increasing -Xss8m.
Thijs Broersen
@ThijsBroersen
I already did s3/compile ... did not work.
regarding the change ... notice that I also removed the implicit s3-client as it is already part of the S3 trait and was not used by the method implementation
Pau Alarcón
@paualarco
have you changed the SBT_OPS before?
maybe first try just compiling the aws-auth subproject?
sbt -mem 2048 aws-auth/compile
Thijs Broersen
@ThijsBroersen
that works, thanks!
didn't find this tip in the monix-connect documentation :P
Pau Alarcón
@paualarco
no problem, that's a handy one :)