- Probabilistic Data Structures for Web Analytics and Data Mining : A great overview of the space of probabilistic data structures and how they are used in approximation algorithm implementation.
 - Models and Issues in Data Stream Systems
 - Philippe Flajolet’s contribution to streaming algorithms : A presentation by Jérémie Lumbroso that visits some of the hostorical perspectives and how it all began with Flajolet
 - Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
 - [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep=rep1&t
 
| // Define the following traits and companion object | |
| // It's in Rapture Core (https://github.com/propensive/rapture-core) if you don't want to | |
| trait LowPriorityDefaultsTo { implicit def fallback[T, S]: DefaultsTo[T, S] = null } | |
| object DefaultsTo extends LowPriorityDefaultsTo { implicit def defaultDefaultsTo[T]: DefaultsTo[T, T] = null } | |
| trait DefaultsTo[T, S] | |
| // Then, assuming we want to specify a default for a type class like `Namer`, | |
| case class Namer[T](name: String) | 
| # A simple Makefile alternative to using Grunt for your static asset compilation | |
| # | |
| ## Usage | |
| # | |
| # $ npm install | |
| # | |
| # And then you can run various commands: | |
| # | |
| # $ make # compile files that need compiling | |
| # $ make clean all # remove target files and recompile from scratch | 
| class Outer { | |
| class Inner | |
| type Type | |
| } | |
| trait Trait | |
| object Object extends Outer { | |
| val inner = new Inner | |
| } | |
| class OuterP[A] { | |
| class InnerP[B] | 
| scala> import scala.language.experimental.macros | |
| import scala.language.experimental.macros | |
| scala> import scala.reflect.macros.{ Context, TypecheckException } | |
| import scala.reflect.macros.{Context, TypecheckException} | |
| scala> object NoncompilationTests { | |
| | def compiles(code: _): Boolean = macro compiles_impl | |
| | def compiles_impl(c: Context)(code: c.Tree) = c.literal( | |
| | try { | 
Asynchronicity is the price to pay, you better know what you're paying for...
Let's share some vocabulary first:
Thread: The primitive responsible of executing code on the processor, you can give an existing (or a new) Thread some code, and it will execute it. Normally you can have a few hundreds on a JVM, arguments that you can tweak your way out to thousands. Worth noting that multitasking is achieved when using multiple Threads. Multiple Threads can exist for a single processor in which case multitasking happens when this processor switches between threads, called context switching, which will give the impression of things happenning in parallel. An example of a direct, and probably naive, use of a new Thread in Java:
public class MyRunnable implements Runnable {
  public void run(){
 System.out.println("MyRunnable running");| function! s:GitPrevious() | |
| let _ = './' . expand('%') | |
| let filetype = &filetype | |
| execute ':silent! vsp ' . tempname() | |
| execute ':silent! 0r !git show HEAD~1:' . _ | |
| execute ':silent! $d' | |
| execute ':silent! set nomodifiable' | |
| execute ':silent! set readonly' | |
| execute ':silent! set ft=' . filetype | 
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| # First install tmux | |
| brew install tmux | |
| # For mouse support (for switching panes and windows) | |
| # Only needed if you are using Terminal.app (iTerm has mouse support) | |
| Install http://www.culater.net/software/SIMBL/SIMBL.php | |
| Then install https://bitheap.org/mouseterm/ | |
| # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |