Skip to content

Instantly share code, notes, and snippets.

@pjstein
pjstein / comment.py
Created November 4, 2014 22:16
A Comment
# NB. This affront to reason mocks our beliefs in everything save chaos and death.
# May whatever you call Holy forgive you, the damned, who read further
# than this point. You have been warned. But if you scorn this warning, if
# your contempt for these my dying words is so complete that you read on,
# if you still believe that there is something good or right or just in this world,
# then I will meet you, smiling, with hot tears in my eyes, when you join me in the
# black and brackish pit, the Hell below Hell, where I now go.
@debasishg
debasishg / gist:8172796
Last active March 15, 2024 15:05
A collection of links for streaming algorithms and data structures

General Background and Overview

  1. 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.
  2. Models and Issues in Data Stream Systems
  3. 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
  4. Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
  5. [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep=rep1&t

Making Plugins Easier in Vagrant

Vagrant plugins currently expose the FULL POWER of Vagrant. Unfortunately, as is often the case, "full power" means "complicated" (relatively), especially for those not familiar with Ruby.

Instead, I'd like to introduce an alternative "simple" API to plugins as well that people can confidently use. Below are some examples of this. I'm not even going to describe what each plugin does because it should be simple enough from the code, that's how simple they are!

The end goal is that it should be much more common to see Vagrant projects ship with custom commands like vagrant run-tests or vagrant start-server, to perform common tasks that previously required SSH.

These "easy" plugins can't do everything but they will be able to do the common things. If you want more power, full (non-easy) plugins should be used.