Scala and SBT installation guide
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function, absolute_import, unicode_literals | |
from contextlib import contextmanager | |
from time import time | |
from io import StringIO | |
import cProfile | |
import pstats | |
@contextmanager | |
def runtime_logging(task_name, logger=None): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.concurrent.ExecutionContext.Implicits.global | |
import scala.concurrent.{Await, Future} | |
import scala.concurrent.duration._ | |
import scala.util.Random | |
// go original from here: https://github.com/golang/talks/blob/master/content/2012/concurrency/support/google3.0.go | |
object SearchBackend extends App { | |
type Query = String | |
type Result = String |
Dear Mr. Brown:
We represent the legal interests of our client, Mr. John Arlen De Goes, Maryland, USA.
For several years now, you have repeatedly defamed our client on the internet. Your public blog https://meta.plasm.us/posts/2019/09/01/jdg-and-the-fp-community/ specifically targets our client with the goal to publicly vilify our client. This blog can be easily found with the help of search engines like Google by just searching for the name of our client. On this blog, amongst other false statements, you falsely allege the following about our client:
(1) False statement:
“De Goes defending white supremacists and misogynists.”