<?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>Posts on xun's Blog</title><link>https://xungirl.github.io/posts/</link><description>Recent content in Posts on xun's Blog</description><generator>Hugo -- 0.168.0</generator><language>en</language><lastBuildDate>Mon, 19 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://xungirl.github.io/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>2026-10-19 LeetCode 230 self.k 写法的执行顺序学习笔记</title><link>https://xungirl.github.io/posts/2026-10-19-lc230-self-k-execution-order/</link><pubDate>Mon, 19 Oct 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-10-19-lc230-self-k-execution-order/</guid><description>用逐步图解看 LC 230 的 self.k 写法怎么执行：先一路向左钻到底，每个节点在自己的调用里减一次 k，以及找到答案后为什么还会「多减一次」。</description></item><item><title>2026-10-12 回溯（Backtracking）学习笔记：走迷宫、子集与全排列</title><link>https://xungirl.github.io/posts/2026-10-12-backtracking/</link><pubDate>Mon, 12 Oct 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-10-12-backtracking/</guid><description>用三个可交互的逐步动画搞懂回溯：先用日常走迷宫看「前进—碰壁—后退」，再看 LC 78 子集的决策树（每个节点都是答案、start 不回头），最后看 LC 46 全排列（只有叶子是答案、used[] 剪枝）。中英双语。</description></item><item><title>2026-10-12 子集回溯树学习笔记：节点的 start 和它自己的循环</title><link>https://xungirl.github.io/posts/2026-10-12-subsets-start-loop/</link><pubDate>Mon, 12 Oct 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-10-12-subsets-start-loop/</guid><description>LC 78 子集画递归树时最容易错位的一点：每个节点都有「我的 start → 我的循环」和「循环里每个 i → 一个孩子」两件事，要分开看。附可逐步播放的动画、带缩进打印的验证代码和一张总表。中英双语。</description></item><item><title>2026-10-10 二叉树递归调用顺序学习笔记（左 → 右 → 自己）</title><link>https://xungirl.github.io/posts/2026-10-10-tree-recursion-order/</link><pubDate>Sat, 10 Oct 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-10-10-tree-recursion-order/</guid><description>用可交互的逐步图解看清二叉树递归到底按什么顺序走：一路先钻到最左，左边返回后才去右边，两边都返回后才处理自己。以 LC 124 的 gain 函数为例。</description></item><item><title>2026-10-09 LeetCode 230 二叉搜索树第 K 小元素学习笔记</title><link>https://xungirl.github.io/posts/2026-10-09-lc230-kth-smallest-bst/</link><pubDate>Fri, 09 Oct 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-10-09-lc230-kth-smallest-bst/</guid><description>用可交互的逐步图解看懂 LC 230：BST 中序遍历为什么天然是升序、k 怎么一路倒数到 0，以及 k = 3 和 k = 4 时递归走向的唯一区别。</description></item><item><title>Seattle🌊 &amp; Rainier⛰️</title><link>https://xungirl.github.io/posts/2026-09-29-seattle-rainier/</link><pubDate>Tue, 29 Sep 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-09-29-seattle-rainier/</guid><description>Sep 30 – Oct 1 · 两天西雅图 + 雷尼尔雪山行程：拿车、接机、Post &amp;amp; Pour、Mt. Rainier、湖边晚霞，和四家晚饭候选。</description></item><item><title>2026-06-26 手搓 Agent：权限护栏与 Hook 系统学习笔记</title><link>https://xungirl.github.io/posts/2026-06-26-agent-permission-hooks/</link><pubDate>Fri, 26 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-26-agent-permission-hooks/</guid><description>手搓 coding agent 课程的第三、四节：怎么在工具执行前加三道权限闸门，怎么把这些检查抽象成 Hook 事件系统；附一个亲手绕过黑名单的实验，理解为什么字符串匹配是假安全。</description></item><item><title>2026-06-26 给 Agent 加工具：Tool Dispatch 学习笔记</title><link>https://xungirl.github.io/posts/2026-06-26-agent-tool-use-dispatch/</link><pubDate>Fri, 26 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-26-agent-tool-use-dispatch/</guid><description>s02 Tool Use 学习笔记：从只有一个 bash，到给 agent 5 个专用工具。核心是 dispatch map（工具名→函数的派发表）和 safe_path 路径护栏，并用实验看清模型何时只调一个工具、何时一次调多个。</description></item><item><title>2026-06-25 手搓最小 Agent Loop 学习笔记</title><link>https://xungirl.github.io/posts/2026-06-25-agent-loop-from-scratch/</link><pubDate>Thu, 25 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-25-agent-loop-from-scratch/</guid><description>从零手搓一个最小 agent loop：搞懂 agent 的本质（模型动嘴 + 代码动手 + loop 传话），并用两个亲手做的实验验证『append 就是 agent 的记忆』——鬼打墙实验和记忆对照实验。</description></item><item><title>2026-06-15 FastAPI 进阶：搭一个能跑 Agent 的后端</title><link>https://xungirl.github.io/posts/2026-06-15-fastapi-backend-for-agents/</link><pubDate>Mon, 15 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-15-fastapi-backend-for-agents/</guid><description>vibe coding 时代学 FastAPI 的进阶笔记：错误处理 HTTPException、文件上传、依赖注入 Depends、async/await 异步原理、数据库 SQLModel 与事务 ACID。每个知识点都标了「为什么 agent 要用」和「大厂面试怎么答」。</description></item><item><title>2026-06-11 FastAPI 入门：查询参数、请求体与接口调试</title><link>https://xungirl.github.io/posts/2026-06-11-fastapi-basics/</link><pubDate>Thu, 11 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-11-fastapi-basics/</guid><description>从零上手 FastAPI 的一次完整记录：什么是后端接口、查询参数 vs 路径参数、用 Pydantic 接收请求体、装饰器路径怎么读、如何用 uvicorn 跑起来，以及怎么用 /docs 测试并读懂 200/422 状态码。</description></item><item><title>2026-06-11 FastAPI 响应模型与请求体学习笔记</title><link>https://xungirl.github.io/posts/2026-06-11-fastapi-response-model/</link><pubDate>Thu, 11 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-11-fastapi-response-model/</guid><description>学 FastAPI 时整理的笔记：响应模型 response_model 怎么过滤敏感字段、请求体和查询参数到底怎么分、路由和函数参数各是什么意思。</description></item><item><title>A Scroll-Animated Roadmap Timeline for My Projects</title><link>https://xungirl.github.io/posts/project-roadmap-timeline/</link><pubDate>Wed, 10 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/project-roadmap-timeline/</guid><description>I liked the progress timeline I built for TicketCoach&amp;#39;s landing page so much that I turned it into a reusable Hugo shortcode — bright gradient for what&amp;#39;s shipped, gray for what&amp;#39;s next, and a line that grows as you scroll.</description></item><item><title>RAG 入门：在模型回答之前，先检索资料</title><link>https://xungirl.github.io/posts/rag-explained/</link><pubDate>Wed, 10 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/rag-explained/</guid><description>从白板笔记整理的 RAG 知识点：为什么需要 RAG、它的本质是什么、数据准备（chunking + embedding）和检索生成的完整流程。</description></item><item><title>A Records vs CNAME Records: How to Point a Domain at Your Website</title><link>https://xungirl.github.io/posts/a-records-vs-cname-records/</link><pubDate>Tue, 09 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/a-records-vs-cname-records/</guid><description>What A records and CNAME records actually do, how they differ, and how I used them to connect a custom domain to a GitHub Pages site — including the gotchas that tripped me up.</description></item><item><title>博客开发日志（中文）：改动记录与前端原理</title><link>https://xungirl.github.io/posts/devlog-zh/</link><pubDate>Tue, 09 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/devlog-zh/</guid><description>按日期累积记录这个博客的每次改动，以及背后的前端原理。给自己留的学习笔记，以后每次改动继续往里加。</description></item><item><title>Blog Devlog: How This Site Was Built and Tweaked</title><link>https://xungirl.github.io/posts/blog-devlog/</link><pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/blog-devlog/</guid><description>A running log of every meaningful change made to this blog — tech stack decisions, bug fixes, and feature additions.</description></item><item><title>LLM Agents: How ReAct, Tool Use, and Planning Actually Work</title><link>https://xungirl.github.io/posts/llm-agents-react/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/llm-agents-react/</guid><description>A technical breakdown of LLM-based agents — the ReAct loop, tool calling, planning strategies, and the math behind why chain-of-thought helps.</description></item><item><title>How Transformers Work: Attention Is All You Need, Explained</title><link>https://xungirl.github.io/posts/transformer-architecture/</link><pubDate>Mon, 20 Apr 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/transformer-architecture/</guid><description>A from-scratch walkthrough of the Transformer architecture — self-attention, multi-head attention, positional encoding, and why it replaced RNNs.</description></item><item><title>My First Post</title><link>https://xungirl.github.io/posts/my-first-post/</link><pubDate>Tue, 10 Feb 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/my-first-post/</guid><description>&lt;h2 id="welcome"&gt;Welcome&lt;/h2&gt;
&lt;p&gt;Hi, I&amp;rsquo;m Jiaju — a CS student at Northeastern University. This blog is where I share what I learn about programming, algorithms, and software engineering.&lt;/p&gt;
&lt;h2 id="why-i-started-this-blog"&gt;Why I Started This Blog&lt;/h2&gt;
&lt;p&gt;Writing helps me think more clearly. By explaining concepts in my own words, I understand them better. Plus, it&amp;rsquo;s a great way to track my learning journey.&lt;/p&gt;
&lt;h2 id="a-quick-math-demo"&gt;A Quick Math Demo&lt;/h2&gt;
&lt;p&gt;The time complexity of merge sort can be expressed as:&lt;/p&gt;</description></item></channel></rss>