- 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
alias wget="curl -O --retry 999 --retry-max-time 0 -C -" | |
## | |
# Line should be placed at ~/.bash_profile | |
# Source: http://www.mymacosx.com/terminal/wget-replacement-macos.html | |
# Source: http://superuser.com/questions/142459/persistent-retrying-resuming-downloads-with-curl | |
## |
When VPNs Just Work™, they're a fantastic way of allowing access to a private network from remote locations. When they don't work it can be an experience in frustration. I've had situations where I can connect to a VPN from my Mac, but various networking situations cause routing conflicts. Here are a couple of cases and how I've been able to get around them.
In this example the VPN we are connecting to has a subnet that does not conflict with our local IP, but has additional routes that conflict in some way with our local network's routing. In my example the remote subnet is 10.0.x.0/24, my local subnet is 10.0.y.0/24, and the conflicting route is 10.0.0.0/8. Without the later route, I can't access all hosts on the VPN without manually adding the route after connecting to the VPN:
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:
This recipe produces the most crispy and delicious waffles I've ever had. It has been adapted from a recipe in J. Bennett's (2001) excellent [Very Vegetarian][1], optimized for awesomeness and deliciousness. Candace and I were vegan when we originally developed this recipe, and so these waffles have no eggs or dairy.
import java.net.InetSocketAddress | |
import org.jboss.netty.channel.ChannelPipelineFactory | |
import org.jboss.netty.channel.Channels | |
import org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder | |
import org.jboss.netty.handler.codec.frame.Delimiters | |
import org.jboss.netty.handler.codec.string.StringDecoder | |
import org.jboss.netty.handler.codec.string.StringEncoder | |
import org.jboss.netty.util.CharsetUtil | |
import com.twitter.finagle.builder.ClientBuilder |
# Upstart script for a play application that binds to an unprivileged user. | |
# put this into a file like /etc/init/play.conf | |
# | |
# This could be the foundation for pushing play apps to the server using something like git-deploy | |
# By calling service play stop in the restart command and play-start in the restart command. | |
# | |
# Usage: | |
# start play | |
# stop play | |
# restart play |
The INSTALL instructions that come with Vowpal Wabbit appear not to work on Mac OS X Lion. Here's what I did to get it to compile. You will need the developer tools that come with the XCode installation.
The only dependency VW has is the boost C++ library. So first, download and install Boost
To install Boost, do the following:
$ cp ~/Downloads/boost_1_48_0.tar.bz2 ./
Table of names of MemoryManagerMXBean and MemoryPoolMXBean instances under | |
different GC algorithms in Oracle HotSpot VM. Memory managers list the pools | |
they manage in square brackets; memory pools show their maximum sizes for -Xmx200M setting. | |
$ java -version | |
java version "1.6.0_24" | |
Java(TM) SE Runtime Environment (build 1.6.0_24-b07) | |
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode) | |
SerialGC: |
<script type="text/javascript"> | |
function send(){ | |
// check "send_now" and submit using ajax | |
// Assumes you're using jquery.rails.js | |
$("#send_now").val("true"); | |
$("#f").trigger("submit"); | |
}; | |
</script> | |
<input type='hidden' id='send_now' name='send_now' /> |