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 12,238 public repositories matching this topic...
-
Updated
Feb 10, 2022 - Scala
-
Updated
Jan 9, 2021 - Scala
We use sbt-dynver to set the version for the Play project based on git tags.
E.g. when you run sbt in the Play project folder you will see:
// If you haven't you need to get the Play framework source code
git clone git@github.com:playframework/playframework.git
cd ./playframework
// You are in the master branch now, from which we want to rele
In ui/
, identify uses of throttle(delay, wrapped)
that wrap networks calls. Replace these with throttlePromise(finallyDelay(delay, wrapped))
.
This will ensure that
-
Updated
Dec 7, 2021 - Scala
-
Updated
Jan 25, 2022 - TeX
-
Updated
Feb 7, 2022 - Assembly
-
Updated
Jan 14, 2022 - Python
-
Updated
Jan 7, 2022 - Python
The MinSendBackupAfterMs is now set to 1 ms. Unfortunately this causes backup requests to be send when there is low load. It would be useful if we could set the minimum a little bit higher for certain endpoints.
-
Updated
Feb 9, 2022 - Java
Not that complicated to implement:
- introduce in SslClientContext the same kind of changes as in SslServerContext so it's no longer
Compiler version
3.1.0
Minimized code
// compile with 2.13.7
import language.existentials
abstract class Box[T]
object Box {
def id(b: Box[Box[x]] forSome { type x }) = b
}
// compile with 3.1.0
@main def test =
val b = Box.id(??? : Box[Box[Int]])
Output
An existential type that came from a Scala-2 classfile cannot be
ma
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
Using Scala 2.12.14 + SBT 1.5.x
Just include this import in your source
import java.time.temporal.ChronoUnit.MILLIS.{between => millisBetween}
problem
java.lang.NullPointerException
at xsbt.Dependency$DependencyTraverser.lookupImported$1(Dependency.scala:394)
at xsbt.Dependency$DependencyTraverser.$anonfun$traverse$1(Dependency.scala:396)
at xsbt.Dependency$De
-
Updated
Feb 10, 2022 - Scala
Description
It looks the Polynote doesn't support to configure Scala REPL like other notebook product.
For example, jupyter notebook support to configure Scala REPL such as
interp.configureCompiler(_.settings.outputDirs.setSingleOutput(replClassPath))
interp.configureCompiler(_.settings.Yreplclassbased)
Some configuration is hard-coded such as settings.Ydelambdafy.value
is s
official documentation say follows
libraryDependencies += "org.scala-native" %%% "junit-runtime" % |release|
addCompilerPlugin("org.scala-native" % "junit-plugin" % |release| cross CrossVersion.full)
but this add Compile
scope dependency
-
Updated
Feb 10, 2022 - Jupyter Notebook
-
Updated
Feb 9, 2022 - Emacs Lisp
-
Updated
Jan 20, 2022 - Python
-
Updated
Jan 23, 2022 - Kotlin
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.