Paul Draper
Paul Draper
**Situation** ```python import dataclasses import dataclasses_json import typing @dataclasses.dataclass @dataclasses_json.dataclass_json class Example: any: typing.Any Example.schema() ``` **Expected behavior** No error. **Actual behavior** Error. ```txt Traceback (most recent call last): File...
This is a custom format that escapes `|` as `bar`. **src/main/scala/example/Example.scala** ``` scala package example import play.twirl.api._ import scala.collection.immutable sealed trait Example extends Appendable[Example] { val contentType = "text/example" def...
There are circumstances for instrumented actions where: 1. The action is frequent and of low interest: a healthcheck, polling a message queue, etc. 2. An OpenTracing exporter uses libraries that...
Consider these canonical examples: Span Name | Guidance -- | -- get_account | Good, and account_id=42 would make a nice Span attribute get_account/{accountId} | Also good (using the "HTTP route")...
Using sbt 1.2.3, Scala 2.12.6 ```sh git clone [email protected]:typelevel/cats.git cd cats sbt compile sed -i 's/abstract class StateTFunctions/trait StateTFunctions/' core/src/main/scala/cats/data/IndexedStateT.scala sbt compile ``` ``` [info] Compiling 1 Scala source to...
I'm not sure what the nature of the problem is, but the `@rollup/pluginutils` package won't resolve. ```sh npm init npm i @rollup/[email protected] ``` Node.js succeeds: ```js require.resolve('@rollup/pluginutils'); ``` > .../node_modules/@rollup/pluginutils/dist/cjs/index.js...
There is `fromPromise` to convert ES Promise to observable, or `toStream()` to convert to TC39/Rx Observable, but nothing to convert a TC39/Rx Observable to an observable.
https://gitter.im/monix/shade > 404. This is not the chat you're looking for. Sorry. :(
Addresses #112 See https://github.com/opentracing/specification/blob/f7ca62c9/rfc/scope_manager.md ## Continuation passing style I first tried adhering to the draft RFC ([somewhat working code](https://github.com/rivethealth/opentracing-javascript/commit/13fc56cd9fd5ad45d02a1f2a8454570f0db381d1)), but it got clumsy, particularly for the Zone.js implementation. Just about...
https://github.com/opentracing/specification/blob/master/rfc/scope_manager.md # Problems ## 1. Scope Manager is hard to understand and easy to misuse 1. Must I always close an activated scope? 2. If the thread exits, is the...