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 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 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 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
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
<!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> |
NewerOlder