Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jarrod Urban
    @jarrodu
    Hi! :smile:
    Adam Chlupacek
    @AdamChlupacek
    @jarrodu Hey there
    Jarrod Urban
    @jarrodu
    Thanks for your response on the README issue. :+1:
    Pavel Chlupacek
    @pchlupacek
    just released version 0.2.0 with fs2 0.10 support
    Pavel Chlupacek
    @pchlupacek
    @/all 0.4.0-M2 release agains fs2 1.0.0-M2 was published
    Anton Solovyev
    @Rosteelton
    Hi! Try to reproduce example
    and got could not find implicit value for parameter AG: java.nio.channels.AsynchronousChannelGroup. What should I do?
    Pavel Chlupacek
    @pchlupacek
    Essentially you hvae to provide one. If you look at fs2-mail tests, you will see like it is done, it is not really magical, you just use Java’s constructor for AsynchronousChannelGroup (see javadoc) and provide it as implicit.
    lmk if that helps
    Anton Solovyev
    @Rosteelton
    Ok, thx. Another question, maybe u know.
    I connected to smtp server but it hasn't got AUTH LOGIN command (only AUTH NTLM). So what should I do in that case?
    Pavel Chlupacek
    @pchlupacek
    That will require you to implement AUTH NTLM. What server are you connecting to ?
    Doug Clinton
    @DougC
    Hi. What’s the status of this project? I’m building a system that is sending email via smtp and considering this library to fit in with http4s and fs-rabbit.
    Looks like the latest release depends on fs2 1.0.0-M2, but I’m pulling in 1.0.4 as dependencies. Will fs2-mail be compatible with that?
    Pavel Chlupacek
    @pchlupacek
    Hi Doug, it is used in production currently and actively maintained. Unfortunatelly, we are still in production server on M2, so thats why this has this old dependency. The migration to fs2.1.0.x branch shall be quite stragtforard think to do. We will be looking at that in month or so, however if you will be interested I can give you hand to put this through earlier.
    Doug Clinton
    @DougC
    Hi @pchlupacek. I have taken a short look at updating to fs2 1.0.0. There are a few api changes that affect fs2-email. Some of them are trivial changes, but a couple of others will need more work. In particular, calls to raiseError now need an implicit RaiseThrowable[F] instance and it’s not immediately obvious to me how best to provide that
    Pavel Chlupacek
    @pchlupacek
    @DougC could you please point me where you are not clear? I can perhpas give you an example how do to that :-)
    Doug Clinton
    @DougC
    @pchlupacek in encoding.bas64 line 97 there’s a call Pull.raiseError(new Throwable(s"Invalid base 64 encoding at index $idx", e)) that is now giving an error Error:(97, 30) Cannot find an implicit value for RaiseThrowable[F]: an instance is available for any F which has an ApplicativeError[F, Throwable] instance or for F = Fallible. If getting this error for a non-specific F, try manually supplying the type parameter (e.g., Stream.raiseError[IO](t) instead of Stream.raiseError(t)). If getting this error when working with pure streams, use F = Fallible. Pull.raiseError(new Throwable(s"Invalid base 64 encoding at index $idx", e))
    One option would be to specify an implicit ApplicativeError on the function, but that cascades back up the call chain.
    Or change base64 to be a class and move the F parameter to the class level, with an ApplicativeError bound on it
    Pavel Chlupacek
    @pchlupacek
    I think in this case will be fine just to propagate implicit RaiseThrowable from the Pull.raiseError. That way, it will be looked up when you will use this in place where you have Sync[F] available, or MonadError/ApplicativeError instance. so essentially. I think def decodeRaw[F[_] : RaiseThrowable](alphabet:Base64Alphabet) is all what you need to do
    Pascal Mengelt
    @pme123
    what is the status of Spinoco/fs2-mail#18 I have quite some compile problems with the IMAP example.