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,485 public repositories matching this topic...
-
Updated
Mar 4, 2020 - Scala
References #6802, #3629
The problematic code is in
https://github.com/playframework/playframework/blob/6df5da49c1ddc334e92b5d5f856d99995ff09a30/transport/server/play-server/src/main/scala/play/core/server/common/PathAndQueryParser.scala#L36
Play Version
2.8.1 (and earlier)
Expected Behavior
The URI double slash .// should be interpreted to be just /
The illegal URL
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
Mar 3, 2020 - Python
Right now all the icons have an external link which make them:
- Prone to change/deletion
- Different size,format and resolution
- Various images are transferred over HTTP instead of HTTPS (which might become a problem in future as more and more browser start to block HTTP on HTTPS sites).
- External server might under-perform
My suggestion is to make a folder in the repository which has
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:
?
steps
Run this build, from the Getting values from multiple scopes page in the docs:
lazy val core = project
lazy val util = project
lazy val root = project.settings(
sources := {
val filter = ScopeFilter( inProjects(core, util), inConfigurations(Compile) )
// each sources Drop Local Blocks
Scala allows local blocks as in
def foo(x: Int) = {
val y = x
{ val z = y * y
println(x)
}
y -1
}This is dangerous, as it only works if there is an empty line in front of the local block. Dropping the empty line can give obscure type errors or even change the meaning of the program since then the block is treated as an argument to a function on the precedin
Yeah, it's probably installed on most systems.
Yeah, my system didn't have it.
Yeah, I spent an hour trying to debug this.
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
-
Updated
Mar 3, 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
Mar 3, 2020 - Kotlin
This is now the preferred way to configure Read The Docs build. It's nice as it uses a config file instead of the UI for settings which configuration to be seen by anyone.
Comment from @retronym on playframework/play-json#263,
I've been working to make scalac itself deterministic (meaning: when sources doen't change, generated bytecode is identical from run to run, even when only a subset of sources are recompiled or when the order of source files changes).
I'd like it if the widely used macros in the ecosystem could adhere to the
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