- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Transforming the vanilla recursive fib into the iterative DP version | |
| # through a series of mechanical steps. | |
| # | |
| # For more on converting recursive algorithms into iterative ones, see: | |
| # http://blog.moertel.com/posts/2013-05-11-recursive-to-iterative.html | |
| # original function | |
| def fib(n): |
This is applicable to both OS X and Linux. I use the same tools on both systems. In this guide, I'm going to set up an environment for a Flask app.
- I start by installing pip, virtualenv, then virtualenvwrapper. I seldom use virtualenv directly; I use the wrapper tools instead.
- I create a virtualenv for my project:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Note: This template uses some c++11 functions , so you have to compile it with c++11 flag. | |
| * Example:- $ g++ -std=c++11 c++Template.cpp | |
| * | |
| * Author : Akshay Pratap Singh | |
| * Handle: code_crack_01 | |
| * | |
| */ | |
| /******** All Required Header Files ********/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """How to do regular expressions in sqlite3 (using python).""" | |
| from __future__ import division, absolute_import, print_function, unicode_literals | |
| import re | |
| import sys | |
| import time | |
| import datetime | |
| import sqlite3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Shell to use with Make | |
| SHELL := /bin/bash | |
| # Set important Paths | |
| PROJECT := # Set to your project name | |
| LOCALPATH := $(CURDIR)/$(PROJECT) | |
| PYTHONPATH := $(LOCALPATH)/ | |
| PYTHON_BIN := $(VIRTUAL_ENV)/bin | |
| # Export targets not associated with files |
OlderNewer