- Web Server: Play (framework) or http4s (library)
- Actors: akka
- Asynchronous Programming: monix (for tasks, reactors, observables, scheduler etc)
- Authentication: Silhouette
- Authorization: Deadbolt
- Command-line option parsing: case-app
- CSV Parsing: kantan.csv
- DB: doobie (for PostgreSQL)
| #!/bin/bash | |
| # Copyright 2015, Yahoo Inc. | |
| # Licensed under the terms of the Apache License 2.0. Please see LICENSE file in the project root for terms. | |
| alias ssh="ssh -i ~/.ssh/id_rsa"; | |
| alias scp="scp -i ~/.ssh/id_rsa"; | |
| set -o errtrace | |
| kafkaCluster="node13-1 node13-2 node13-3 node13-4" | |
| zookeeperCluster="node13-1 node13-2 node13-3" |
| package com.softwaremill.akka | |
| import java.time._ | |
| import akka.actor.ActorSystem | |
| import akka.stream.ActorMaterializer | |
| import akka.stream.scaladsl.Source | |
| import scala.collection.mutable | |
| import scala.concurrent.Await |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Miles Sabin recently opened a pull request fixing the infamous SI-2712. First off, this is remarkable and, if merged, will make everyone's life enormously easier. This is a bug that a lot of people hit often without even realizing it, and they just assume that either they did something wrong or the compiler is broken in some weird way. It is especially common for users of scalaz or cats.
But that's not what I wanted to write about. What I want to write about is the exact semantics of Miles's fix, because it does impose some very specific assumptions about the way that type constructors work, and understanding those assumptions is the key to getting the most of it his fix.
For starters, here is the sort of thing that SI-2712 affects:
def foo[F[_], A](fa: F[A]): String = fa.toString| import java.io._ | |
| import scala.io._ | |
| import java.util.zip._ | |
| // Spark | |
| import org.slf4j.Logger | |
| import org.apache.spark.{ SparkConf, SparkContext, Logging } | |
| // Hadoop | |
| import org.apache.hadoop.io.compress.GzipCodec |
| jupyter: | |
| image: jupyter/datascience-notebook | |
| environment: | |
| - PASSWORD=${PASSWORD} | |
| nginx: | |
| image: nginx | |
| links: | |
| - jupyter |
| import akka.actor.ActorSystem | |
| import akka.http.scaladsl.Http | |
| import akka.stream.ActorMaterializer | |
| object Boot extends App with Service with CorsSupport { | |
| override implicit val system = ActorSystem() | |
| override implicit val executor = system.dispatcher | |
| override implicit val materializer = ActorMaterializer() | |
| Http().bindAndHandle(corsHandler(routes), "0.0.0.0", 1337) |
-
Add Graal JIT Compilation to Your JVM Language in 5 Steps, A Tutorial http://stefan-marr.de/2015/11/add-graal-jit-compilation-to-your-jvm-language-in-5-easy-steps-step-1/
-
The SimpleLanguage, an example of using Truffle with great JavaDocs. It is the officle getting-started project: https://github.com/graalvm/simplelanguage
-
Truffle Tutorial, Christan Wimmer, PLDI 2016, 3h recording https://youtu.be/FJY96_6Y3a4 Slides
| alias gbr='git for-each-ref --sort="-authordate:iso8601" --format=" %(color:green)%(authordate:iso8601)%09%(color:white)%(refname:short)" refs/heads' |