Skip to content

Instantly share code, notes, and snippets.

View fizzy33's full-sized avatar

Glen Marchesani fizzy33

View GitHub Profile
import cats.effect._
import cats.effect.implicits._
import cats._
import cats.effect.kernel.Ref.Make
import cats.implicits._
import scala.concurrent.duration.FiniteDuration
import scala.language.higherKinds
package playground
import ammonite.main
import ammonite.main.Scripts
import ammonite.ops._
object AmmPlay extends App {
println("starting")
digraph "project" {
graph [ranksep=0, rankdir=LR];
"model3_servlet-test" [label="model3_servlet-test"];
"qubes_dist_release-test" [label="qubes_dist_release-test"];
"manna_haxeFormatter" [label="manna_haxeFormatter"];
"ahs_servers_entdb-test" [label="ahs_servers_entdb-test"];
"model3_jdbc-test" [label="model3_jdbc-test"];
"model3_sorting-test" [label="model3_sorting-test"];
"manna_sjs" [label="manna_sjs"];
"qubes_dist_release" [label="qubes_dist_release"];
package a8.scalajs.ui
import cats.implicits._
import mhtml._
import mhtml.implicits.cats._
import a8.common.Labeler
import a8.manna.model.ElementId
import a8.scalajs.Events
import org.scalajs.dom
import org.scalajs.dom.KeyboardEvent
digraph "project" {
graph [ranksep=0, rankdir=LR];
"proxy_filter-test" [label="proxy_filter-test"];
"impl_api-test" [label="impl_api-test"];
"api-test" [label="api-test"];
"active_directory" [label="active_directory"];
"model3-test" [label="model3-test"];
"root" [label="root"];
"proxy_filter" [label="proxy_filter"];
"dbqueue" [label="dbqueue"];
Error:scala: Error: assertion failed:
CurrentDrag(moveCancelable = move, dropCancelable = drop, keyCancelable = escapeKey, drag = <drag: error>, dragFn = dragFunction, previousEvent = de)
while compiling: /Users/glen/code/manna/sjs/src/main/scala/a8/scalajs/GlobalVars.scala
during phase: superaccessors
library version: version 2.12.2
compiler version: version 2.12.2
reconstructed args: -deprecation -feature -Xplugin:/Users/glen/.ivy2/cache/org.scala-js/scalajs-compiler_2.12.2/jars/scalajs-compiler_2.12.2-0.6.18.jar -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMach
package a8.recipe
import java.io.{ByteArrayOutputStream, PrintWriter}
import m3.fs._
import m3.json.JsonToString
import m3.predef._
object Exec {
object SourcecodeNameBug extends App {
val x1 = new Foo {}
val x2 = new Foo {}
abstract class Foo(implicit name: sourcecode.Name) {
override def toString = name.value
}
{
"tropo":[
{
"on":{
"next":"/webapi/response.tropo","event":"continue"
}
},{
"on":{
"next":"/webapi/response.tropo","event":"error"
}
16:38:44,156 | qtp1739106410-34 | /webapi/index.tropo | DEBUG | medx.webapi.Index | received from tropo
{
"session":{
"id":"89c5f45de96f8ac16aac3b57387423fb",
"accountId":"174268",
"timestamp":"2013-07-06T20:38:42.291Z",
"userType":"HUMAN",
"initialText":null,
"callId":"c9b15fab9e8195ca5d368faaecf2c77f",
"to":{