Hello, world (with a little LaTeX)
Welcome to the blog. This site renders plain Markdown with LaTeX math, so I can write posts the same way I write notes.
Inline math works with single dollar signs — Euler’s identity $e^{i\pi} + 1 = 0$ sits right in the sentence. Display math uses double dollar signs:
$$
\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}.
$$
You can write matrices, sums, and the usual machinery:
$$
\nabla_\theta J(\theta) = \mathbb{E}_{\tau \sim \pi_\theta}
\left[ \sum_{t=0}^{T} \nabla_\theta \log \pi_\theta(a_t \mid s_t)\, R(\tau) \right].
$$
Code blocks are left untouched by the math renderer, so dollar signs inside them stay literal:
def reward(state, action):
price = 5 # a literal $5, not math
return -abs(state - action)
That’s it — to write a new post, drop a Markdown file in _posts/ named
YYYY-MM-DD-title.md and it shows up on the blog.