Skip to content

Instantly share code, notes, and snippets.

@krohak
krohak / arcboost-twitter-spoilers.css
Created May 29, 2023 22:24
Arc Boost for blurring spoilers on Twitter
.blurr {
filter: blur(18px) !important;
}
@krohak
krohak / gans-basics.ipynb
Created October 7, 2021 04:10
GANs-Basics.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@krohak
krohak / latency.markdown
Created May 14, 2021 05:09 — forked from hellerbarde/latency.markdown
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

@krohak
krohak / mlathon.ipynb
Created February 3, 2021 11:51
MLAthon.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@krohak
krohak / intro-to-tensorflow.ipynb
Last active July 11, 2018 10:08
Intro to Tensorflow.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@krohak
krohak / statistics-with-python-socgen.ipynb
Created June 29, 2018 04:22
Statistics with Python - Socgen.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@krohak
krohak / sentiment-analysis-with-keras-socgen.ipynb
Last active June 29, 2018 04:21
Sentiment Analysis with Keras - Socgen.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.