- Iudex Gundyr
- Vordt of the Boreal Valley
- Curse-rotted Greatwood
- Crystal Sage
- Deacons of the Deep
- High Lord Wolnir
This file contains hidden or 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
defmodule Mumbling do | |
def accum(s) do | |
accum(String.graphemes(s), 1, []) | |
end | |
defp accum([], n, acc) do | |
acc | |
|> Enum.reverse() | |
|> Enum.join("-") |
This file contains hidden or 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
trait InfiniteTimeout { | |
implicit val infiniteTimeout: Timeout = Timeout(Duration(21474835, "seconds")) | |
} |
This file contains hidden or 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
touch /Library/LaunchDaemons/limit.maxfiles.plist | |
touch /Library/LaunchDaemons/limit.maxproc.plist | |
chown root:wheel /Library/LaunchDaemons/limit.maxfiles.plist | |
chmod 0644 /Library/LaunchDaemons/limit.maxfiles.plist | |
chown root:wheel /Library/LaunchDaemons/limit.maxproc.plist | |
chmod 0644 /Library/LaunchDaemons/limit.maxproc.plist |
This file contains hidden or 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 akka.actor.{Actor, ReceiveTimeout, Stash} | |
import scala.concurrent.duration.Duration | |
class A extends Actor with Stash { | |
// calling with become/Stash | |
def receive = { | |
case m: Int => | |
context.actorSelection("/user/echo") ! Echo.Request(m) |
This file contains hidden or 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 akka.actor.{ActorRef, ActorSystem} | |
import akka.dispatch.{Envelope, MailboxType, MessageQueue, ProducesMessageQueue} | |
class MyMailbox extends MailboxType with ProducesMessageQueue[MyMailbox.MyMessageQueue] { | |
def create(owner: Option[ActorRef], system: Option[ActorSystem]): MessageQueue = ??? | |
} | |
object MyMailbox { |
This file contains hidden or 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
// Run scalastyle linter with compile | |
lazy val scalaStyle = taskKey[Unit]("scalaStyle") | |
scalaStyle := org.scalastyle.sbt.ScalastylePlugin.scalastyle.in(Compile).toTask("").value | |
(compile in Compile) <<= (compile in Compile) dependsOn scalaStyle |
- http://di-in-scala.github.io/
- https://blog.knoldus.com/2014/07/04/dependency-injection-scala/
- http://blog.rintcius.nl/post/di-on-steroids-with-scala-value-injection-on-traits.html
- http://www.martinfowler.com/articles/injection.html
- Cake Pattern
- http://www.actioniq.co/blog/scala-dependency-injection/
This file contains hidden or 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
Introducing modern Java stack to a large scale, multi-technology distributed system. | |
It appears that this may be a homepage or an index page with non-article content. To accurately view it, you may want to switch to the Full Web Page view. | |
If you know there should be an article here, help improve the article parser by reporting this page. Thanks! | |
Why would a company want to introduce new technology - and in particular a modern Java stack - to a well run, scalable infrastructure with full-fledged SOA? | |
We made this exact decision at Base Lab at a point when our product already comprised over 80 microservices running on approx. 380 EC2 instances and when we had been pushing new code to production about 50 times each day. A bit of context is necessary to understand the reasoning behind this choice. So let’s put things into perspective. |
NewerOlder