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,508 public repositories matching this topic...
-
Updated
Oct 14, 2021 - Scala
-
Updated
Jan 9, 2021 - Scala
Caffeine-based cache (SyncCacheApi) does not have a size limit ➔ prone to "out of memory" JVM crash
Play Version
2.8.8
API
Java / SyncCacheApi
Operating System
Ubuntu 20.04 LTS
Linux 5.11.0-25-generic #27-Ubuntu SMP Fri Jul 9 23:06:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
JDK
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
-
Updated
Oct 19, 2021 - Scala
To make multi-chapter guide-type studies work a bit better when a chapter isn't an interactive exercise. Maybe at the end of the move list, probably fixed to the bottom (if there aren't enough moves to start scrolling)?
In "hide moves" mode it maybe should only show up after the last move. Not sure about "practice vs computer". Maybe only after a checkmate?
-
Updated
Sep 30, 2021 - TeX
-
Updated
Oct 19, 2021 - Assembly
-
Updated
Sep 21, 2021 - Python
-
Updated
Oct 19, 2021 - Haskell
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
Oct 14, 2021 - 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.0.1-RC1
Minimized example
class Bag extends reflect.Selectable
val m = new Bag { val f = 23; def g = 47; def h(i: Int): Int = i }
Output
in the repl the type printed has a type that is not source compatible
scala> val m = new Bag { val f = 23; def g = 47; def h(i: Int): Int = i; var i = 101; type N = Int }
val m: Bag{f: Int;
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
It would be useful to have a java.util.BitSet
implementation. It looks like most Java collections are available but this one fell through the cracks (perhaps because it's not part of the Collection
hierarchy).
plotly support?
I see that there is jupyterlab-plotl extension as well as https://github.com/alexarchambault/plotly-scala . Maybe it is possible to integrate (or explain how to integrate) plotly charts into polynote?
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G9028
struct utsname name;
if (uname(&name) == 0) {
printf("os.name=%s\n",name.sysname);
printf("os.version=%s\n",name.release);
}
// os.name=Darwin
// os.version=18.7.0
Seems no way to map Darwin version to Mac OS X version.
/usr/libexec/PlistBuddy -c "Print:
-
Updated
Oct 20, 2021 - Jupyter Notebook
-
Updated
Oct 15, 2021 - Python
-
Updated
Oct 3, 2021 - Kotlin
-
Updated
Oct 19, 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.