This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am chiffa on github. | |
* I am chiffa (https://keybase.io/chiffa) on keybase. | |
* I have a public key ASA5yTyfDE9nGVTg5gJH5DP0UcZ7XUhRxhKgOVf4ITYDPgo | |
To claim this, I am signing this object: |
This file contains 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
from skimage import io | |
from skimage.filters import rank | |
from skimage.morphology import disk | |
from time import time | |
import numpy as np | |
import pickle | |
# base_image = pickle.load(open('debug_dump.dmp', 'r')) | |
# np.save('debug_image.npy', base_image) | |
base_image = np.load('debug_image.npy') |
This file contains 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
# Github push a commit to remote as it's master (or any remote branch head): | |
git push <remotename> <commit SHA>:<remotebranchname> | |
This file contains 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 | |
-------------------------- | |
4GHz Processor cycle 0.25 ns 250 ms | |
L1 cache reference 0.5 ns 500 ms | |
Branch mispredict 5 ns 5 s | |
L2 cache reference 7 ns 7 s 14x L1 cache | |
Mutex lock/unlock 25 ns 25 s | |
Main memory reference 100 ns 1 m 40 s 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us 50 m 00 s | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us 2 h 46 m |
This file contains 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
\tolerance =10000 | |
\documentclass[11pt]{article} | |
\usepackage{epsfig} | |
\renewcommand{\baselinestretch}{1.5} | |
\makeatletter | |
\@addtoreset{equation}{section} | |
\renewcommand{\theequation}{\thesection.\arabic{equation}} | |
\makeatother | |
\oddsidemargin=0in | |
\evensidemargin=0in |
This file contains 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
# create and set-up home directory | |
cd /home | |
mkdir ank | |
cd ank | |
# install python build dependencies and system python: | |
apt-get update | |
apt-get install python | |
apt-get install build-essential | |
apt-get install libsuitesparse-dev |
This file contains 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
import random | |
from bulbs.neo4jserver import Graph | |
g = Graph() | |
random_node_names = ['%030x' % random.randrange(16**30) for _ in range(0, 10000)] | |
for i, node in enumerate(random_node_names): | |
print 'inserting: %.2f %%' % (i/100.) | |
g.vertices.create(name=node) |
This file contains 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
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
# USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
# CPU_ONLY := 1 | |
# To customize your choice of compiler, uncomment and set the following. |