Skip to content

Instantly share code, notes, and snippets.

Avatar
🚢
Getting things done!

Ahmad Alhour aalhour

🚢
Getting things done!
View GitHub Profile
@aalhour
aalhour / latency.txt
Created Mar 9, 2020 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
View latency.txt
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
@aalhour
aalhour / game-theory-books.markdown
Created Nov 24, 2019 — forked from matthewmccullough/game-theory-books.markdown
Game Theory Book list by Matthew McCullough
View game-theory-books.markdown

Economics & Software Development - Book List

The following books are ordered in descending order of Matthew's preference.

The Art of Strategy

by Avinash K. Dixit

Recommended by Ted Neward. A different perspective and writing style from the other volumes listed.

“I am hard pressed to think of another book that can match the combination of practical insights and reading enjoyment.”—Steven Levitt

View bret_victor-reading_list.md

This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.


Highly recommended things!

This is my five-star list. These are my favorite things in all the world.

A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★

@aalhour
aalhour / System Design.md
Created May 31, 2019 — forked from vasanthk/System Design.md
System Design Cheatsheet
View System Design.md

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@aalhour
aalhour / Dockerfile.bite_sized_networking
Created Apr 23, 2019 — forked from justanotherdot/Dockerfile.bite_sized_networking
A Dockerfile with (almost) all the tools mentioned in Bite Size Networking by Julia Evans
View Dockerfile.bite_sized_networking
# N.B. The only tool missing here that is mentioned in the document is `zenmap`
# purely because this image is intended to be run via a CLI and `zenmap` is a GUI
# to `nmap` i.e. one can play around with the tools by running:
#
# $ docker build --name bite_size_networking:latest .
# $ docker run --rm -d --name bsn_test bite_size_networking:latest
# $ docker exec -it bsn_test bash
#
# Alternatively, one can change the `ENTRYPOINT` to `["bash"]` and run:
#
@aalhour
aalhour / README.md
Created Mar 29, 2019 — forked from jm3/README.md
Cognitive Bias Codex
View README.md
View Effective_Engineer.md

FWIW: I didn't produce the content present here. I've just copy-pasted it from somewhere over the Internet, but I cannot remember exactly the original source. I was also not able to find the author's name, so I cannot give him/her the proper credit.


Effective Engineer - Notes

What's an Effective Engineer?

@aalhour
aalhour / eca.py
Last active Oct 29, 2017 — forked from nst/eca.py
Elementary Cellular Automata PNG images generator. Based on Nicolas Seriot's gist (https://goo.gl/fh4d5Y).
View eca.py
#!/usr/bin/env python3
__author__ = "Ahmad Alhour"
__date__ = "2017-10-29"
__website__ = "https://gist.github.com/aalhour/533b8ea1a1d71bbfb026c16d956aa6d2"
"""
eca.py
Elementary Cellular Automata PNG images generator. Based on Nicolas Seriot's gist (https://goo.gl/fh4d5Y).
@aalhour
aalhour / ladder.md
Created Jun 16, 2017 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
You can’t perform that action at this time.