Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 08:30

    julienrf on main

    Inkuire docs Merge pull request #2125 from K… (compare)

  • 08:30
    julienrf closed #2125
  • 08:12
    KacperFKorban commented #2125
  • 08:11
    KacperFKorban synchronize #2125
  • 08:11
    KacperFKorban synchronize #2125
  • 08:04
    KacperFKorban review_requested #2125
  • 08:03
    KacperFKorban synchronize #2125
  • 08:01
    KacperFKorban synchronize #2125
  • 08:01
    KacperFKorban synchronize #2125
  • 08:00
    KacperFKorban synchronize #2125
  • 08:00
    KacperFKorban synchronize #2125
  • 08:00
    KacperFKorban synchronize #2125
  • 07:57
    KacperFKorban synchronize #2125
  • Jul 27 23:42

    SethTisue on 2.13.x

    update dependencies.txt (compare)

  • Jul 27 23:40
    SethTisue milestoned #5606
  • Jul 27 23:40
    SethTisue demilestoned #5606
  • Jul 27 23:40
    SethTisue labeled #5606
  • Jul 27 23:40
    SethTisue assigned #5606
  • Jul 27 22:36

    SethTisue on 2.13.x

    akka-http is green now on JDK 17 (compare)

  • Jul 27 22:33

    SethTisue on 2.13.x

    fix macwire on JDK 17 (#1462) (compare)

nafg
@nafg
Mm, play does that out of the box
I don't want to deal with encrypting
Gavin Bisesi
@Daenyth
http4s is more toward the "foundation" side than "opinionated framework"
it would be pretty simple to write tbh
nafg
@nafg
Maybe... I just need to know how to manage an encryption key, and then encrypt and decrypt a string map in and out of a cookie
Gavin Bisesi
@Daenyth
You might look at the CSRF middleware, it does cookie-related things
nafg
@nafg
I'm sure the cookie API isn't the hard part of what I said
old, but probably not hard to update
/shrug
yeah looks like it's ~150 lines of code effectively
there's only one relevant source file and it's under that size by itself
oh wow very old, scalaz.Task :grin:
Rob Norris
@tpolecat
eek
nafg
@nafg
Thanks
Gavin Bisesi
@Daenyth
anyway, the straightforward way to update that would be scalaz imports -> import cats.implicits._, F[_]: Sync instead of Task or so, and bump http4s version
the types look mostly the same
nafg
@nafg
I'm wondering about what to do then -- fork and publish to my bintray? Just copy-paste into my app? Find out if the author can accept and publish a PR?
Gavin Bisesi
@Daenyth
I'd just copy-paste it
it's one file
and the package object has one type alias defined
Gavin Bisesi
@Daenyth
@nafg I was also asking in the http4s channel, they did mention a PR adding it directly to the library itself would be acceptable
:wave: have a good weekend all :)
nafg
@nafg
not sure if I should trust 3 year old hand-rolled encryption code tbh
Ghost
@ghost~54f837fe15522ed4b3dcd6a3
I there a way to automatically derive a BsonTransformer for the MongoDB Driver without custom implementation via macros or shapeless?
Martijn Hoekstra
@martijnhoekstra
I wouldnt trust machine generated encryption code over hand rolled
At least, I think I wouldnt? How does machine generated encryption code work?
Soren
@srnb_gitlab
What are other languages with literal types besides Idris?
ritschwumm
@ritschwumm
typescript, i guess
Rob Norris
@tpolecat
You can do it in Haskell. And any dependently-typed language, of which Idris is one.
Rob Norris
@tpolecat
[error] Multiple repositories are found:
[error] [orgtpolecat-1125] status:open, profile:org.tpolecat(23052d71604fff) description: Implicitly created (auto staging).
[error] [orgtpolecat-1126] status:open, profile:org.tpolecat(23052d71604fff) description: Implicitly created (auto staging).
[error] Specify one of the repository ids in the command line
[error] java.lang.IllegalStateException: Found multiple staging repositories
One of my builds started doing this when doing sonatypeReleaseAll. What have I done and how do I fix it?
I went in and dropped them in the Nexus UI and tried again and it did it again.
Seth Tisue
@SethTisue
fwiw: when we're publishing Scala modules we almost always end up with multiple staging repos, a nondeterministic number of them. usually we just release them all at once through the Sonatype web and it's fine. some percentage of time, the files for a single target end up split between two staging repos, which can then neither be closed or released, and we have to run that target (and any targets that ended up mixed up in the affected repos) again
if you're ending up with multiple staging repos when you didn't before, it might be timing related, like maybe your build crossed some sort of threshold on how long it takes between one target and the next
the good news is that it might be fine to just release the multiple repos via the web UI, and not use sonatypeReleaseAll
anyway, I have only very partial understanding of this stuff, so perhaps someone who understands it better will have better advice for you.
</fwiw></ihavenoideawhatimdoing>
Li Haoyi
@lihaoyi
the multiple staging repos thing is a sbt quirk. Mill creates one staging repo, and always releases just that, without races in the presence of concurrent workflows
not sure what SBT is doing; mill’s code was written just following the sonatype api docs and it seems to do what i’d expect
Rob Norris
@tpolecat
Hell. Ok. Is it sbt or sbt-sonatype?
The plugin surely.
Seth Tisue
@SethTisue
it seems the ticket of record is xerial/sbt-sonatype#83
that's with +publishSigned though. often the repos I work in aren't using +, they're using the Travis-CI matrix to do the different parts. so idk
Rob Norris
@tpolecat
Nexus is the JIRA of package repositories. We need our own, it’s just absolute hell.
OlegYch
@OlegYch
who's going to support our version of hell
Rob Norris
@tpolecat
Scala Center?
They’re looking for ideas!
This has worked fine for me for many prior releases. It just started happening.