Sergey Torgashov

Results 29 issues of Sergey Torgashov

Sometimes `VincentyGeodesy.distanceInMeters` produces `NaN` for pretty valid input points. There are examples (not a complete list!) of arguments for `distanceInMeters` below that result it to generate `NaN`: ``` foo=(0.0,0.0), bar=(0.0,-180.0)...

According to [this](https://gitter.im/monix/monix?at=5ea769b3f5f8674667ffab70) conversation, it could be handy to have an ability to convert backward from `F[A]` to `CompletableFuture[A]` (as the opposite conversion to what `FutureLift` provides). Since `CompletableFuture` itself...

Consider a snippet: ```scala import cats.syntax.all._ import cats.effect._ import cats.effect.std._ import scala.concurrent.duration._ object ResourceAllocRace extends IOApp.Simple { private val con = Console[IO] private def mkResource(name: String, random: Random[IO]): Resource[IO, String]...

This is an ongoing effort for suppressing compiler warnings that keep plaguing the project. Suppresses the warnings in kernel\* modules for all Scala versions.

Adds optimized specializations for the new `prependK`/`appendK` methods introduced in the initial PR (#4014). Previous PR: - add specializations for `NonEmptyAlternative` instances for Scala library collections #4052. Subsequent PR: -...

The initial discussion is [here](https://discord.com/channels/632277896739946517/632278570512678923/890152626027626506). The following methods are added: * `NonEmptyList`: - `prependList` * `ListOps`: - `concatNel` * `VectorOps`: - `concatNev` * `SeqOps`: - `concatNeSeq` - `groupByNeSeq` (similar to...

Adds optimized specializations for the new `prependK`/`appendK` methods introduced in the initial PR (#4014). Previous PRs: - #4052. - #4055

optimization

Example (all results in meters are converted into kilometers for convenience): ``` VincentyGeodesy.distanceInMeters(new WGS84Point(90, 0), new WGS84Point(89, 0)) / 1000.0 results to 19892.237593638412 ``` whereas ``` VincentyGeodesy.distanceInMeters(new WGS84Point(-90, 0), new...

Initially discussed in [discord](https://discord.com/channels/632277896739946517/632286375311573032/1101695422499672147). Looks like this docs for the QueryParam syntax is misleading: https://github.com/http4s/http4s/blob/841ca8c5c6116f2065b941ea5a9e111faad2c8a2/core/shared/src/main/scala/org/http4s/QueryOps.scala#L40-L42 it states that it is an alias for `withQueryParam`, but in fact, there's no `withQueryParam`...

bug
module:core

Consider the example: ```scala (post & path("upload")) { fileUpload("myFile") { case (FileInfo(fieldName, fileName, contentType), fileSource) => // handle this request somehow } } ``` and this curl request: ``` curl...