This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<link rel="stylesheet" href="http://cdn.pydata.org/bokeh-0.6.1.min.css"></link> | |
<script type="text/javascript" src="http://cdn.pydata.org/bokeh-0.6.1.min.js"></script> | |
</head> | |
<body> | |
<div> | |
<div class="plotdiv" id="83f36210-58b9-4b2c-89b1-5b5a0722148d">Plots</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend [2019-06-24 17:25:23,365] INFO [blaze-selector-1] o.h.b.c.n.NIO1SocketServerGroup:278 - Accepted connection from /0:0:0:0:0:0:0:1:45760 | |
backend [2019-06-24 17:25:23,367] WARN [blaze-selector-1] o.h.b.p.s.SSLStage:217 - SSLException in SSL handshake | |
backend javax.net.ssl.SSLException: Received fatal alert: certificate_unknown | |
backend at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) | |
backend at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666) | |
backend at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634) | |
backend at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1800) | |
backend at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1083) | |
backend at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907) | |
backend at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.reflect.ClassTag | |
object DefaultType extends App { | |
case class AttributeMeasure[T](name: String)(implicit ev: reflect.ClassTag[T]) { | |
def ct: ClassTag[T] = ev | |
} | |
/** This almost works, except for the case: | |
* {{{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.reflect.ClassTag | |
object Bottom extends App { | |
class C[T](implicit ev: reflect.ClassTag[T]) { | |
def ct: reflect.ClassTag[T] = ev | |
} | |
class X[U, -T] | |
object X { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zio.blocking._ | |
import zio.duration._ | |
import zio.{ZIO, console} | |
import scala.util.Try | |
object ZIOInterrupt extends App { | |
val runtime = zio.Runtime.default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zio.blocking._ | |
import zio.duration._ | |
import zio.{ZIO, console} | |
object ZIOInterrupt extends App { | |
val runtime = zio.Runtime.default | |
val t1 = effectBlockingInterrupt { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cats.effect.{IO, IOApp} | |
import com.typesafe.scalalogging.Logger | |
import fs2.Stream | |
import org.http4s.blaze.server.BlazeServerBuilder | |
import org.http4s.server.Router | |
import sttp.capabilities.fs2.Fs2Streams | |
import sttp.client3._ | |
import sttp.client3.asynchttpclient.fs2.AsyncHttpClientFs2Backend | |
import sttp.tapir._ | |
import sttp.tapir.client.sttp.SttpClientInterpreter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cats.effect.std.{Dispatcher, Queue} | |
import cats.effect.{IO, IOApp} | |
import com.typesafe.scalalogging.Logger | |
import fs2.{Pipe, Stream} | |
import java.util.concurrent.atomic.AtomicInteger | |
import scala.collection.mutable | |
import scala.concurrent.duration.DurationInt | |
object Subscriptions { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2022-03-03 16:37:09,171] INFO [io-compute-1] c.s.r.AsyncTests:24 - internalLegacyAPI begin | |
[2022-03-03 16:37:09,368] INFO [io-compute-2] c.s.r.AsyncTests:45 - cancelEff: finished | |
[2022-03-03 16:37:09,379] INFO [io-compute-2] c.s.r.AsyncTests:51 - nestedAsync: onAsyncCancel | |
[2022-03-03 16:37:09,380] INFO [io-compute-2] c.s.r.AsyncTests:32 - AutoCloseable.close() | |
[2022-03-03 16:37:09,796] INFO [scala-execution-context-global-25] c.s.r.AsyncTests:27 - internalLegacyAPI end | |
[2022-03-03 16:37:11,382] INFO [io-compute-4] c.s.r.AsyncTests:59 - ****************************** | |
[2022-03-03 16:37:11,386] INFO [io-compute-6] c.s.r.AsyncTests:15 - legacyAPI begin | |
[2022-03-03 16:37:11,387] INFO [io-compute-6] c.s.r.AsyncTests:24 - internalLegacyAPI begin | |
[2022-03-03 16:37:11,584] INFO [io-compute-7] c.s.r.AsyncTests:45 - cancelEff: finished | |
[2022-03-03 16:37:11,887] INFO [scala-execution-context-global-25] c.s.r.AsyncTests:18 - legacyAPI end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cats.effect.{IO, IOApp} | |
import fs2.Stream | |
import org.http4s.blaze.server.BlazeServerBuilder | |
import org.http4s.ember.server.EmberServerBuilder | |
import org.http4s.server.Router | |
import sttp.capabilities.fs2.Fs2Streams | |
import sttp.tapir._ | |
import com.comcast.ip4s._ | |
import sttp.tapir.server.http4s.Http4sServerInterpreter |
OlderNewer