duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| import com.twitter.finagle.Http; | |
| import com.twitter.finagle.ListeningServer; | |
| import com.twitter.finagle.Service; | |
| import com.twitter.finagle.http.HttpMuxer; | |
| import com.twitter.util.Await; | |
| import com.twitter.util.Future; | |
| import java.net.InetSocketAddress; | |
| import static java.nio.charset.StandardCharsets.UTF_8; | |
| import static org.jboss.netty.buffer.ChannelBuffers.copiedBuffer; | |
| import org.jboss.netty.handler.codec.http.*; |
| package mapreduce | |
| /** | |
| * This is an attempt to find a minimal set of type classes that describe the map-reduce programming model | |
| * (the underlying model of Google map/reduce, Hadoop, Spark and others) | |
| * The idea is to have: | |
| * 1) lawful types that fully constrain correctness | |
| * 2) a minimal set of laws (i.e. we can't remove any laws, | |
| * 3) able to fully express existing map/reduce in terms of these types | |
| * |
This gist started with a collection of resources I was maintaining on stream data processing — also known as distributed logs, data pipelines, event sourcing, CQRS, and other names.
Over time the set of resources grew quite large and I received some interest in a more guided, opinionated path for learning about stream data processing. So I added the reading list.
Please send me feedback!
#Kafka - Messaging Basics This assumes you are starting fresh and have no existing Kafka or ZooKeeper data. See http://kafka.apache.org/documentation.html#quickstart for more details.
##Install Java
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
| Scalaz | |||
| Symbol | Code | Ascii | Example |
|---|---|---|---|
| η | 951 | pure | 1.η[List] |
| μ | 03BC | join | List(List(1,2,3), nil, List(5,6,7)) μ |
| ∅ | 2205 | zero | ∅[Int] |
| <∅> | empty | <∅>[Option, Int] |
|
| ∙ | 2219 | contramap | ((_:String).length ∙ (_:Int).toString ∙ ((_:Int) + 6))(5) |
| ∘ | 2218 | map | (((_:Int) + 6) ∘ (_:Int).toString ∘ (_:String).length)(5) |
| ∘∘ | |||
| #!/usr/local/bin/zsh | |
| version="3.4.4" | |
| priority="30404" | |
| sudo mkdir -p /var/log/zookeeper /usr/local/zookeeper /var/zookeeper | |
| curl -L http://ftp.kddilabs.jp/infosystems/apache/zookeeper/zookeeper-${version}/zookeeper-${version}.tar.gz | tar zx | |
| sudo cp -r zookeeper-${version} /usr/local/zookeeper/${version} | |
| sudo cp ./zookeeper.sh /usr/local/zookeeper/ | |
| sudo cp ./zoo.cfg /etc/ |
| This playbook has been removed as it is now very outdated. |
| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "fmt" | |
| "io" | |
| "log" | |
| ) |