Skip to content

Instantly share code, notes, and snippets.

View qdrk's full-sized avatar

fpvsim qdrk

View GitHub Profile
@qdrk
qdrk / microgpt.py
Created March 1, 2026 05:47 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@qdrk
qdrk / System Design.md
Created April 18, 2016 06:29 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Interview 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?