- https://dancres.github.io/Pages/
- https://ferd.ca/a-distributed-systems-reading-list.html
- http://the-paper-trail.org/blog/distributed-systems-theory-for-the-distributed-systems-engineer/
- https://github.com/palvaro/CMPS290S-Winter16/blob/master/readings.md
- http://muratbuffalo.blogspot.com/2015/12/my-distributed-systems-seminars-reading.html
- http://christophermeiklejohn.com/distributed/systems/2013/07/12/readings-in-distributed-systems.html
- http://michaelrbernste.in/2013/11/06/distributed-systems-archaeology-works-cited.html
- http://rxin.github.io/db-readings/
- http://research.microsoft.com/en-us/um/people/lamport/pubs/pubs.html
- http://pdos.csail.mit.edu/dsrg/papers/
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
/** | |
* Conway's Game of Life | |
* | |
* @author Andrei Savu <[email protected]> | |
*/ | |
case class Cell(row: Int, col: Int) | |
/** | |
* Unlimited universe for storing a set of cells |
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
package ro.igstan.playground; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class MoneyTest { | |
public static interface Money<E extends Money<E>> { | |
public static final class Zero<E extends Money<E>> implements Money<E> { | |
@Override |
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
package mojolly.io | |
import org.jboss.netty.bootstrap.ClientBootstrap | |
import org.jboss.netty.channel._ | |
import socket.nio.NioClientSocketChannelFactory | |
import java.util.concurrent.Executors | |
import org.jboss.netty.handler.codec.http._ | |
import collection.JavaConversions._ | |
import websocketx._ | |
import java.net.{InetSocketAddress, URI} |
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
#shell -${SHELL} | |
defscrollback 2024 | |
startup_message off | |
#caption always "%{= kc}%H (system load: %l)%3n %t%? @%u%?%? %n(%t) %-21=%{= .m}%D %d.%m.%Y %0c" | |
hardstatus on | |
hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%< %=%D %M %d %c" | |
#hardstatus string '%{= kc}(system load: %l) %-Lw%{= KW}%50>%n%f %t%{= kK}%+Lw%< %{=kc}%-= %-21=%{= .m}%D %d.%m.%Y %0c' | |
hardstatus string '%{= kG}(Load: %l) %-Lw%{=b .W}%50>%n%f* %t%{-}%+Lw%< %{=kG}%-= %-21=%{= .G}%D %Y.%m.%d %0c' | |
#hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a " |
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
# Use Xft? | |
use_xft yes | |
xftfont DejaVu Sans:size=8 | |
xftalpha 0.8 | |
text_buffer_size 2048 | |
# Update interval in seconds | |
update_interval 1 | |
# This is the number of times Conky will update before quitting. |
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
# Scaladoc Developer Guide | |
## Introduction | |
Scaladoc is the tool that enables developers to automatically generate documentation for their Scala (and Java) projects. It is Scala's equivalent of the widely-used Javadoc tool. This means that Javadoc (and even doxygen) users will be familiar with Scaladoc from day 1: for them, it is most beneficial to check out the Scaladoc/Javadoc comparison tables and if necessary, skim through this document to understand specific features. | |
The rest of this tutorial is aimed at developers new to Scaladoc and other similar tools. It assumes a basic understanding of the Scala language, which is necessary to follow the examples given throughout the tutorial. For the user perspective on the Scaladoc-generated documentation, such as finding a class, understanding the page layout, navigating through diagrams, please refer to the Scaladoc User Guide. | |
The tutorial will start by a short motivation and then will explain the main concept in Scaladoc: the doc comment. | |
### Why document? |
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
object NumericOption { | |
implicit def numericOption[A](implicit N: Numeric[A]): Numeric[Option[A]] = | |
new Numeric[Option[A]] { | |
def fromInt(x: Int): Option[A] = Option(N.fromInt(x)) | |
def negate(x: Option[A]): Option[A] = x.map(N.negate(_)) | |
// Not sure whether these should return zero or throw an error... | |
def toDouble(x: Option[A]): Double = x.map(N.toDouble(_)).getOrElse(0) | |
def toFloat(x: Option[A]): Float = x.map(N.toFloat(_)).getOrElse(0) | |
def toInt(x: Option[A]): Int = x.map(N.toInt(_)).getOrElse(0) |
This document is about Task
, an alternative for Scalaz's Task
or Scala's Future
.
Note this is work in progress and this document suffered multiple modifications already:
OlderNewer