Skip to content
#

Scala

scala logo

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,086 public repositories matching this topic...

lila
nfd9001
nfd9001 commented May 10, 2021

e.g. in https://lichess.org/study/HBTNQi9H/3ttnXzfm#11, Stockfish fails to load this absurd board, following an illegal king capture.
(NNUE in this screenshot, but I did see the same thing with HCE.)

Stockfish does fail loudly, as I indicated: the UI might be able to notice this and emit some error.
![image](https://user-images.githubusercontent.com/5666174/117732143-31038800-b1a4-11eb-9997-b

codefromthecrypt
codefromthecrypt commented Aug 29, 2018

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

anasmi
anasmi commented Oct 12, 2019

It would be nice to pass multiple actions to a checkIf method , the same way as a check allows through the comma.

So, for example, instead of writing this:

.check(
   checkIf("${first.exists()}")(do_first),
   checkIf("$first.exists()}")(do_second), 
   checkIf("${first.exists()}")do_third)

it would be nice to have API as follows:

check(checkIf("${first.exists()}")(do
NeQuissimus
NeQuissimus commented Jan 7, 2019

I just came across the fact that a Show[Throwable] exists.

  1. It is not wired up into import Scalaz._, one needs to import scalaz.std.java.throwable._
  2. 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)?

seanrohead
seanrohead commented May 4, 2021

steps

I am using sbt 1.5.1 (with Coursier disabled) and I'm importing multiple libraries, e.g. a and b

a has a transitive dependency to c, version 1.1-prerelease
b has a transitive dependency to c, version 1.0

I am using early-semver as the version scheme.

problem

I'm getting an error when building that there are version conflicts that are suspected to be binary incompatible.

DirkToewe
DirkToewe commented Feb 18, 2019

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

Created by Martin Odersky

Released January 20, 2004

Website
www.scala-lang.org
Wikipedia
Wikipedia