Scala

Scala is a general-purpose programming language providing support for functional programming and a strong static type system. Designed to be concise, many of Scala's design decisions aimed to address criticisms of Java.
Here are 10,277 public repositories matching this topic...
-
Updated
Aug 22, 2020 - Scala
-
Updated
May 7, 2020 - Scala
-
Updated
Aug 21, 2020 - Scala
Let's support at least reading "b3" header from a single string, most commonly traceid-spanid-1
It would also be nice to support optionally writing this, especially in message providers or others with constrained environments.
Expected behavior
As discussed on openzipkin/b3-propagation#21 and first implemented here: https://github.com/openzipkin/brave/blob/master/brave/src/main/java/bra
-
Updated
Aug 3, 2020 - TeX
-
Updated
Jul 7, 2020 - Python
-
Updated
Aug 17, 2020 - TypeScript
noImplicitAny
will help with some refactorings (such as ornicar/chessground#145). Even partial progress is useful.
-
Pick one of:
- ui/analyse
- ui/puzzle
- ui/round
-
Temporarily set
noImplicitAny
totrue
inui/.../tsconfig.json
. -
To compile use
yarn run dev
,yarn run dev --watch
oryarn run tsc --noEmit
inui/...
. Fix
-
Updated
Aug 21, 2020 - Assembly
-
Updated
Jul 31, 2020 - Java
Show[Throwable]
I just came across the fact that a Show[Throwable]
exists.
- It is not wired up into
import Scalaz._
, one needs toimport scalaz.std.java.throwable._
- It discards the stack trace entirely.
What's going on with this? :D
Is it OK if I fix both of these (for 7.2 and 7.3)?
With SBT 1.13.11, we experience lots of problems publishing Maven artifacts with stack traces like this:
[error] java.io.IOException: Server returned HTTP response code: 503 for URL: https://....
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons
Minimized code
trait CLibrary {
@native
def foo(x: Int): Unit
}
object I9432 {
def main(args: Array[String]): Unit = {
new CLibrary {
override def foo(x: Int): Unit = println(x)
}.foo(1)
}
}
Output
$ java -version
openjdk version "11.0.8" 2020-07-14
$ C:\opt\dotty-0.26.0-RC1\bin\dotc.bat -deprecation -feature -d target\c
This is a follow-up to #4097 where we used an AtomicInteger
as a poor-mans replacement for a Semaphore
with tryAcquire
(or maybe even drainPermits
).
Thanks to @alvaroc1 for reporting this on Gitter
Adding a dependency like diff_match_patch:diff_match_patch:jar:current
(from https://mvnrepository.com/artifact/diff_match_patch/diff_match_patch/current) fails with the following exception:
2020-08-19 21:59:59.935744500 | java.net.URISyntaxException: Illegal
Plotting UI revamp
We currently support the most common operations performed on instances of java.util.Properties
, but not all of them. See our current implementation, and the functions that are marked as TODO
.
The goal of this issue is to add support for the missing functions. I think that it would b
-
Updated
Aug 21, 2020 - Scala
-
Updated
Jul 27, 2020 - Python
-
Updated
Aug 18, 2020 - Kotlin
add microsite?
-
Updated
Jun 2, 2020 - JavaScript
At this moment relu_layer op doesn't allow threshold configuration, and legacy RELU op allows that.
We should add configuration option to relu_layer.