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 9,736 public repositories matching this topic...
-
Updated
Apr 24, 2020 - Scala
Issue Description
The following test fails for seed = 0 but passes for (as far as I can tell) any other seed (e.g. seed = 1)
https://gist.github.com/orausch/9a42e24b782319447a515e8c29b364a0
Version Information
Please indicate relevant versions, including, if relevant:
- Deeplearning4j version:
beta6 - Platform information (OS, etc): Ubuntu 19.10
(cc @rpatra)
play.utils contains miscellaneous code, in some cases ¿even obsolete?.
In response to the request in playframework/playframework#9745, Configuration could be moved out to a one-class artifact. And, similarly,
I am trying to deploy the app with the given ./sbt clean dist command but I got this error:
Downloading sbt launcher for 1.3.8:
From https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt-launch/1.3.8/sbt-launch-1.3.8.jar
To /root/.sbt/launchers/1.3.8/sbt-launch.jar
Downloading sbt launcher 1.3.8 md5 hash:
From https://repo.scala-sbt.org/scalasbt/maven-releas
Issue
Impacted version: 4.33.0
Deployment mode: standalone app
Repro steps:
- Wiki -> New Page
- Fill in each item and click "Save" button.
- Page name:
title+ - Content:
aaa
- Page name:
- Redirect to the edit page.
- Page name:
titleinstead oftitle+ - Content: (blank)
- Page name:
As + is decoded to whitespace, should it be treated as an invalid character he
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
Apr 23, 2020 - Python
The images are quite nice but sometimes they feel kinda cheap. It would be nice if they could be redrawn with TikZ.
This would give a touch of class to a book that is already beautiful.
Simple solution:
.
Tested in Chrome 81.0.4044.92 and Firefox 74.0.1, present on both platforms
how to define java8 when submit application use spark-submit
name: Bug report/Feature request/Question
about: Create a report to help us improve
title: ''
label: bug/enhancement/question
assignees: ''
Environment:
- Java version:
- Scala version:
- Spark version:
- PyTorch and Python version:
- OS and version:
Checklist:
- Did you check if your bug/feature/
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
- Open https://www.scala-sbt.org/1.x/api/sbt/util/PlainInput.html
- Click on source link "Input.scala"
problem
- Link 404's
expectation
- Link links to source on github
notes
The current documentation doesn't reflect the implementation, for instance, type parameters in pattern position are invariant and not contravarant.
Once Issue #1749 is merged, build.sbt should be edited to add the incantation
Global / onChangedBuildSource := ReloadOnSourceChanges
This is available as of sbt 1.3.8. I find it reduces my cycle time & frustration
when making edits to build.sbt, etc. Basically, I do not have to go through a
5 or 15 minute failure cycle because I forgot to do a manual reload. With that
setting, sbt det
I am using Polynote Version: | 0.2.15-SNAPSHOT (Build Commit: 36f50ee109c68fadce873e22ecb294b9bed56bdd)
My conf.yaml contains the following lines
spark:
spark.executor.instances: 10
When I create a new notebook the value that will be filled in in the config section will be 1e1 instead of 10 which is not a valid value for this
-
Updated
Mar 16, 2020 - Python
Spark 2.3 officially support run on kubernetes. While our guide of "Run on Kubernetes" is still based on a special version of Spark 2.2, which is out of date. We need to:
- update that document to Spark 2.3
- release the corresponding docker images.
-
Updated
Apr 21, 2020 - Kotlin
parameters object
perhaps it would be nice to provide an example where injected parameters are inside a dictionary or object:
# parameters
import argparse
args = argparse.Namespace()
args_dict = {}
args.a = 1
args_dict['b'] = 2papermill ... -p args.a 1.618 -p "args_dict['b']" 3.14159This would of course be useful for making transition between *.py scripts (using e.g
add microsite?
According to the generated build
The commands to launch are the following :
docker pull andypetrella/spark-notebook:0.7.0-scala-2.11.8-spark-2.1.1-hadoop-2.7.2-with-hive
docker run -p 9001:9001 andypetrella/spark-notebook:0.7.0-scala-2.11.8-spark-2.1.1-hadoop-2.7.2-with-hive
Using that image (and I think it i




I've noticed all the links on template homepages are broken.
I cant find where these links are set though. It doesnt seem to be here
<img width="1043" alt="sc