<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hamidreza Mohaqeq</title><link>https://mohaqeq.github.io/</link><description>Recent content on Hamidreza Mohaqeq</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 18 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mohaqeq.github.io/index.xml" rel="self" type="application/rss+xml"/><item><title>Coding agents repeat the wrong precedent. Here is what stops them</title><link>https://mohaqeq.github.io/posts/2026-11-agents-repeat-the-wrong-precedent/</link><pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/posts/2026-11-agents-repeat-the-wrong-precedent/</guid><description>Four pre-registered studies, 588 agent runs: agents copy the wrong precedent near a change, the project tests do not stop it, a test for the rule does, and one sentence at the old wrong code prevents most violations.</description></item><item><title>I built a context language for AI coding agents. Three experiments said they didn't need it</title><link>https://mohaqeq.github.io/posts/2026-11-agents-already-read-the-code/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/posts/2026-11-agents-already-read-the-code/</guid><description>Three pre-registered experiments, about 130 agent runs: a formal context language didn&amp;rsquo;t make coding agents follow architecture rules better, because they already read the code.</description></item><item><title>Discovering a codebase's architecture instead of declaring it</title><link>https://mohaqeq.github.io/posts/2026-05-architectural-pattern-auditor/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/posts/2026-05-architectural-pattern-auditor/</guid><description>An agent skill that finds the architectural patterns and anti-patterns a repository actually has, across 13 languages, and grades each one with file:line evidence.</description></item><item><title>Teaching kids to make games on a phone (in German)</title><link>https://mohaqeq.github.io/posts/2026-01-pygame-zero-tutorial/</link><pubDate>Mon, 19 Jan 2026 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/posts/2026-01-pygame-zero-tutorial/</guid><description>A German-language tutorial for children: thirteen small Pygame Zero games that run on an Android phone with Pydroid 3, from drawing shapes to a space shooter.</description></item><item><title>A berth planning board as a native web component</title><link>https://mohaqeq.github.io/posts/2026-01-berthing-schedule/</link><pubDate>Sun, 04 Jan 2026 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/posts/2026-01-berthing-schedule/</guid><description>A Gantt-like, drag-and-drop schedule of vessels at a port&amp;rsquo;s berths, built with Lit and TypeScript as a standards-based custom element.</description></item><item><title>A fully local RAG service with Kotlin, Ktor, Ollama and pgvector</title><link>https://mohaqeq.github.io/posts/2025-12-local-rag/</link><pubDate>Wed, 03 Dec 2025 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/posts/2025-12-local-rag/</guid><description>Upload PDFs, ask questions, keep everything on your machine: a small retrieval-augmented generation service with query expansion and no external API calls.</description></item><item><title>Ray Tracing in One Weekend, in Kotlin</title><link>https://mohaqeq.github.io/posts/2023-09-kotlin-raytracer/</link><pubDate>Wed, 27 Sep 2023 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/posts/2023-09-kotlin-raytracer/</guid><description>Working through Peter Shirley&amp;rsquo;s ray tracing book in Kotlin: small classes, a PPM file as output, and a thread pool to make the final render bearable.</description></item><item><title>About</title><link>https://mohaqeq.github.io/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://mohaqeq.github.io/about/</guid><description>&lt;p&gt;I&amp;rsquo;m Hamidreza Mohaqeq, a software engineer. This is my personal blog. I write about things I build, experiments I
run, things I learn, and whatever else I find worth writing down. Mostly software, but not only.&lt;/p&gt;
&lt;p&gt;When a post is about a project, it links to the code. When it&amp;rsquo;s about an experiment, it says how I measured it,
including when the result is negative.&lt;/p&gt;
&lt;h2 id="elsewhere"&gt;Elsewhere&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Code: &lt;a href="https://github.com/mohaqeq"&gt;github.com/mohaqeq&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;LinkedIn: &lt;a href="https://www.linkedin.com/in/mohaqeq"&gt;linkedin.com/in/mohaqeq&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Feed: &lt;a href="https://mohaqeq.github.io/index.xml"&gt;RSS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>