Skip to content

Instantly share code, notes, and snippets.

View smburdick's full-sized avatar

Sam Burdick smburdick

View GitHub Profile
@smburdick
smburdick / latency.txt
Last active March 7, 2024 01:27 — forked from jboner/latency.txt
Latency Numbers Every [Quantum] Programmer Should Know
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
Superconducting qubit, M gate 800 ns
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
@smburdick
smburdick / vimtutor-notes.md
Last active June 6, 2018 07:59
Vimtutor notes

Lesson 1

  1. The cursor is moved using either the arrow keys or the hjkl keys.
         h (left)       j (down)       k (up)       l (right)

  2. To start Vim from the shell prompt type:  vim FILENAME <ENTER>

  3. To exit Vim type:     <ESC>   :q!   <ENTER>  to trash all changes.
             OR type:      <ESC>   :wq   <ENTER>  to save the changes.
@smburdick
smburdick / DBIE-Setup.md
Last active June 6, 2018 06:10
DBIE Docker Setup

Some instructions on setting up DBIE with Docker. Assumes Docker is already installed and running.

# Run Ubuntu terminal
docker run -i -t <ubuntu-img-hash>  /bin/bash

Container creation walkthrough

@smburdick
smburdick / Dark-Sun-Campaign.md
Last active June 24, 2018 07:51
Dark Sun Campaign

Important Points

  • Current Level: 3
  • Vessel: War silt schooner NB: link is sometimes broken. Check the Discord pinned messages for a capture of this page.

Ship crew

  • Captain: Chet
    (person who owns the ship and has been seafaring the longest) tells where the ship should go. Considered leader of the ship and all authority lies with him. (Cha/wis)
  • First Mate: Darus
    provides general assistance to the captain and other crew members. (Str/Dex)
  • Navigator: T'chak
    assists first mate/captain in making calculations. (Int)
  • Helmsman: Za'ru
    drives the ship. (Must be able to pass a Sailor profession check or a Knowledge nature check: superior vision is a plus)
  • Engineer: Naru
    responsible for keeping the ship in order. Must be proficient in psionics. (Dex, wis, Int)
  • Boatswain: Barundin