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
| 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 | |
| * |
| 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.*; |