<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Amey Ambade: TIL</title>
    <link>https://heyamey.com/til</link>
    <description>Short technical notes from Amey Ambade.</description>
    <language>en-us</language>
    <atom:link href="https://heyamey.com/til/feed.xml" rel="self" type="application/rss+xml"/>
    <item>
      <title><![CDATA[Sliding-window KV caches break unless you pin the first tokens]]></title>
      <link>https://heyamey.com/til/attention-sinks-sliding-window-kv-cache</link>
      <guid isPermaLink="true">https://heyamey.com/til/attention-sinks-sliding-window-kv-cache</guid>
      <description><![CDATA[Evict the earliest tokens from the cache and quality collapses. The model has been dumping attention on them the whole time.]]></description>
      <pubDate>Sat, 25 Jul 2026 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[A model can be accurate and still lie about its confidence]]></title>
      <link>https://heyamey.com/til/calibration-is-not-accuracy</link>
      <guid isPermaLink="true">https://heyamey.com/til/calibration-is-not-accuracy</guid>
      <description><![CDATA[Calibration and accuracy are different properties. Temperature scaling fixes the first without touching the second, because a monotonic transform cannot change the argmax.]]></description>
      <pubDate>Sat, 25 Jul 2026 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[An LLM judge prefers whichever answer you show it first]]></title>
      <link>https://heyamey.com/til/llm-judge-position-bias</link>
      <guid isPermaLink="true">https://heyamey.com/til/llm-judge-position-bias</guid>
      <description><![CDATA[Position bias is large enough to flip verdicts. Run every pairwise comparison twice with the order swapped, or you are measuring presentation order.]]></description>
      <pubDate>Sat, 25 Jul 2026 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[ROC AUC looks great on imbalanced data and tells you almost nothing]]></title>
      <link>https://heyamey.com/til/roc-auc-lies-under-class-imbalance</link>
      <guid isPermaLink="true">https://heyamey.com/til/roc-auc-lies-under-class-imbalance</guid>
      <description><![CDATA[The false positive rate has the majority class in its denominator, so it barely moves. Precision has the positives, so it moves a lot. Use a PR curve.]]></description>
      <pubDate>Sat, 25 Jul 2026 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[Route handlers in a Next.js static export have to opt in]]></title>
      <link>https://heyamey.com/til/nextjs-static-export-route-handlers</link>
      <guid isPermaLink="true">https://heyamey.com/til/nextjs-static-export-route-handlers</guid>
      <description><![CDATA[An App Router route.ts only survives output: export if it is a GET and it declares force-static. Everything about it is frozen at build time.]]></description>
      <pubDate>Fri, 24 Jul 2026 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[The Workers Cache API refuses anything with Set-Cookie]]></title>
      <link>https://heyamey.com/til/cloudflare-worker-cache-set-cookie</link>
      <guid isPermaLink="true">https://heyamey.com/til/cloudflare-worker-cache-set-cookie</guid>
      <description><![CDATA[cache.put() throws on a response carrying Set-Cookie. Strip the header on a clone, or mark it private in Cache-Control.]]></description>
      <pubDate>Thu, 16 Jul 2026 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title><![CDATA[One stray print breaks an MCP server over stdio]]></title>
      <link>https://heyamey.com/til/mcp-stdio-servers-stdout</link>
      <guid isPermaLink="true">https://heyamey.com/til/mcp-stdio-servers-stdout</guid>
      <description><![CDATA[stdout is the JSON-RPC transport, not a log. Anything you print into it corrupts the protocol and the client just says the server disconnected.]]></description>
      <pubDate>Tue, 30 Jun 2026 00:00:00 GMT</pubDate>
    </item>
  </channel>
</rss>
