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 11,129 public repositories matching this topic...
-
Updated
Jun 2, 2021 - Scala
-
Updated
Jan 9, 2021 - Scala
Are you looking for help?
No.
Play Version
2.6 to 2.8
API
Java / Scala
Expected Behavior
The instructions at https://www.playframework.com/documentation/2.8.x/Deploying-CloudFoundry work.
As it stands (see https://stackoverflow.com/a/62506207/4432837 and cloudfoundry/java-test-applications#20) those instructions are no longer applic
-
Updated
May 6, 2021 - Scala
Link to Variants Description & Correspondence FAQ in Variants & Correspondence games respectively
It would be great if the Correspondence FAQ was linked in Correspondence games for those not to be misled into using a chess engine.
In the place of simply Correspondence here, Correspondence would be better
-
Updated
Apr 12, 2021 - TeX
-
Updated
Jun 2, 2021 - Python
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
May 7, 2021 - Python
-
Updated
May 31, 2021 - Assembly
-
Updated
Jun 2, 2021 - Java
Not that complicated to implement:
- introduce in SslClientContext the same kind of changes as in SslServerContext so it's no longer
Minimized code
/** @define macro Super */
abstract class Super {
/** $macro */
def inherited: Int = 5
/** $macro */
def implemented: Unit
/** $macro */
def overridden: String = "test"
}
/**
* @define name default
* @define dummy dummy
*/
trait A[T] {
/** List $name */
def list(): List[T]
/** Gets the $name with the given $dummy */
def get(id:
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)?
steps
sbt version: 1.3.0
> show scalaVersion
[info] 2.12.8
> show crossTarget
[info] /Users/kenji/some-project/target/scala-2.12
> set crossVersion := CrossVersion.full
> show crossTarget
[info] /Users/kenji/some-project/target/scala-2.12
problem
crossTarget
is target/scala-2.12
when crossVersion := CrossVersion.full
expectation
crossTarget
shou
Adding a plain text to the header of a compiled and optimized .js
-file may be useful for multiple reasons:
- Adding metadata like version, compiler settings, date, ...
- Adding execution information, e.g.
#!/usr/bin/env node
- Adding a License, Author, Support info, URL, ...
Such a plain text header could easily be added to a .js
in a postprocessing step after compilation. Howeve
Plotting UI revamp
The plotting UI leaves a lot to be desired:
- When you bring up the plotting UI, it's not obvious that you have to do some work to make a plot happen. If you don't, there's no error message, just a never-ending wait. (see https://gitter.im/polynote/polynote?at=5e0e36f9eac8d1511e9ed2ff )
- Why do we make you drag things onto axes? Especially when there is only one axis it could go onto (at leas
Whilst chasing other issues, I noticed that the caching in InetAddress.scala
is well intended
but questionable:
def getHostName(): String = {
if (host == null) {
val ipString = createIPStringFromByteArray(ipAddress)
host = SocketHelpers
.ipToHost(ipString, isValidIPv6Address(ipString))
.getOrElse {
ipString
}
}
host
}
-
Updated
Jun 2, 2021 - Scala
-
Updated
May 25, 2021 - Python
-
Updated
Jun 1, 2021 - Kotlin
-
Updated
Jun 2, 2021 - Emacs Lisp
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.