<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Chris Kim: writing</title><description>Explainers, notes, and TILs on numerical methods, quant, and software.</description><link>https://chriskim.dev/</link><item><title>Why stiff equations break explicit solvers: an interactive tour of stability regions</title><link>https://chriskim.dev/writing/stiff-equations/</link><guid isPermaLink="true">https://chriskim.dev/writing/stiff-equations/</guid><description>Drag hλ across the complex plane and watch forward Euler explode while backward Euler barely notices. The test equation, amplification factors, and why stiffness depends on the step size you can afford.</description><pubDate>Mon, 28 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Rendering math at build time, so pages ship no math JavaScript</title><link>https://chriskim.dev/writing/til-katex-astro/</link><guid isPermaLink="true">https://chriskim.dev/writing/til-katex-astro/</guid><description>remark-math and rehype-katex turn every equation on this site into HTML during the build. The browser only needs a stylesheet.</description><pubDate>Mon, 14 Sep 2026 00:00:00 GMT</pubDate></item><item><title>The deflated Sharpe ratio, derived for people who tried 312 strategies</title><link>https://chriskim.dev/writing/deflated-sharpe/</link><guid isPermaLink="true">https://chriskim.dev/writing/deflated-sharpe/</guid><description>My best pairs-trading variant had a Sharpe ratio of 0.31. After accounting for the 311 others, the probability it beats luck is 0.18. Each step of Bailey and López de Prado’s correction, derived and checked with real numbers.</description><pubDate>Thu, 20 Aug 2026 00:00:00 GMT</pubDate></item><item><title>np.einsum won’t find a cheaper contraction order unless you ask</title><link>https://chriskim.dev/writing/til-einsum-path/</link><guid isPermaLink="true">https://chriskim.dev/writing/til-einsum-path/</guid><description>One keyword argument made a three-operand contraction in Kestrel about 27× faster.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate></item><item><title>Expected rolls until two sixes in a row (it&apos;s 42), three ways</title><link>https://chriskim.dev/writing/two-sixes/</link><guid isPermaLink="true">https://chriskim.dev/writing/two-sixes/</guid><description>First-step equations, a casino full of fair gamblers, and a million simulated games. Why the answer is 42 and not 36, and where the extra 6 comes from.</description><pubDate>Sat, 02 May 2026 00:00:00 GMT</pubDate></item><item><title>CP-SAT solution hints: start from the plan the student already has</title><link>https://chriskim.dev/writing/til-cpsat-hints/</link><guid isPermaLink="true">https://chriskim.dev/writing/til-cpsat-hints/</guid><description>Passing a student&apos;s previous plan to CP-SAT as a hint halved Prereq&apos;s median re-plan solve time.</description><pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate></item></channel></rss>