This blog is plain Markdown. To start a new post, drop a file into _posts/ named YYYY-MM-DD-slug.md, fill in the front matter, and write. Jekyll picks it up and the /blog/ index updates automatically.
Math
Inline math sits in single dollars — $\sigma(x) = \frac{1}{1 + e^{-x}}$ — and display math gets double dollars:
\[\nabla_\theta \mathcal{L}(\theta) = \mathbb{E}_{x \sim \mathcal{D}}\left[ \nabla_\theta \log p_\theta(x) \cdot r(x) \right]\]KaTeX renders both client-side. Anything KaTeX supports works — matrices, alignments, integrals, the usual.
Code
Fenced code blocks with a language tag get syntax highlighting via Prism’s autoloader, so any language Prism knows about (Python, Rust, Go, JS, …) just works:
import numpy as np
def sigmoid(x: np.ndarray) -> np.ndarray:
return 1.0 / (1.0 + np.exp(-x))
x = np.linspace(-6, 6, 100)
y = sigmoid(x)
print(y[:5]) # 0.00247... up to 0.5
Inline code uses backticks, like np.exp(-x) or _posts/.
Quotes and rules
The unreasonable effectiveness of writing things down — that you only realize what you actually believe once it’s on the page.
That’s the whole setup. Math, code, links, the occasional blockquote. Future posts go here.