<?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>Asher's Blog</title><link>https://huan11.github.io/</link><description>Recent content on Asher's Blog</description><generator>Hugo -- 0.147.7</generator><language>en-us</language><lastBuildDate>Sat, 25 Jul 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://huan11.github.io/index.xml" rel="self" type="application/rss+xml"/><item><title>七月 25 号天气晴</title><link>https://huan11.github.io/posts/blog/july-25-sunny/</link><pubDate>Sat, 25 Jul 2026 10:00:00 +0800</pubDate><guid>https://huan11.github.io/posts/blog/july-25-sunny/</guid><description>&lt;h1 id="七月-25-号天气晴">七月 25 号天气晴&lt;/h1>
&lt;p>七月二十五号，天气晴。&lt;/p>
&lt;p>阳光很好，透过窗户洒在桌面上，像一层薄薄的金箔。这样的天气总让人心情不自觉地轻快起来。&lt;/p>
&lt;h2 id="晴日随想">晴日随想&lt;/h2>
&lt;p>晴天是个好日子，适合做点一直想做却搁置的事：&lt;/p>
&lt;ul>
&lt;li>出去走走，晒晒太阳&lt;/li>
&lt;li>整理一下最近的思绪&lt;/li>
&lt;li>读几页搁置已久的书&lt;/li>
&lt;li>写点东西，记录当下&lt;/li>
&lt;/ul>
&lt;h2 id="日拱一卒">日拱一卒&lt;/h2>
&lt;p>就像博客首页写的那句话——&lt;strong>Think. Code. Grow.&lt;/strong>&lt;/p>
&lt;p>日拱一卒，功不唐捐。晴朗的日子，更要好好把握。&lt;/p>
&lt;p>愿每个晴天，都不被辜负。☀️&lt;/p></description></item><item><title>Bad Smell</title><link>https://huan11.github.io/posts/tdd/bad_smells/</link><pubDate>Sat, 07 Jun 2025 00:00:00 +0000</pubDate><guid>https://huan11.github.io/posts/tdd/bad_smells/</guid><description>&lt;h2 id="list-1-uncle-bob">List 1 Uncle Bob&lt;/h2>
&lt;p>Refactoring: Improving the Design of Existing Code&lt;/p>
&lt;blockquote>
&lt;p>&lt;a href="https://learning.oreilly.com/library/view/refactoring-improving-the/9780134757681/toc.xhtml">https://learning.oreilly.com/library/view/refactoring-improving-the/9780134757681/toc.xhtml&lt;/a>&lt;/p>
&lt;p>&lt;a href="https://learning.oreilly.com/library/view/refactoring-improving-the/9780134757681/ch03.xhtml#ch03">Chapter 3: Bad Smells in Code&lt;/a>&lt;/p>&lt;/blockquote>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>##&lt;/th>
&lt;th>Bad Smell&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>1&lt;/td>
&lt;td>Mysterious Name&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>2&lt;/td>
&lt;td>Duplicated Code&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>3&lt;/td>
&lt;td>Long Function&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>4&lt;/td>
&lt;td>Long Parameter List&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>5&lt;/td>
&lt;td>Global Data&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>6&lt;/td>
&lt;td>Mutable Data&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>7&lt;/td>
&lt;td>Divergent Change&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>8&lt;/td>
&lt;td>Shotgun Surgery&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>9&lt;/td>
&lt;td>Feature Envy&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>10&lt;/td>
&lt;td>Data Clumps&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>11&lt;/td>
&lt;td>Primitive Obsession&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>12&lt;/td>
&lt;td>Repeated Switches&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>13&lt;/td>
&lt;td>Loops&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>14&lt;/td>
&lt;td>Lazy Element&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>15&lt;/td>
&lt;td>Speculative Generality&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>16&lt;/td>
&lt;td>Temporary Field&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>17&lt;/td>
&lt;td>Message Chains&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>18&lt;/td>
&lt;td>Middle Man&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>19&lt;/td>
&lt;td>Insider Trading&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>20&lt;/td>
&lt;td>Large Class&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>21&lt;/td>
&lt;td>Alternative Classes with Different Interfaces&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>22&lt;/td>
&lt;td>Data Class&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>23&lt;/td>
&lt;td>Refused Bequest&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>24&lt;/td>
&lt;td>Comments&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="list-2-郑烨">List 2 郑烨&lt;/h2>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>##&lt;/th>
&lt;th>代码坏味道&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>1&lt;/td>
&lt;td>命名不规范&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>2&lt;/td>
&lt;td>乱用英语&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>3&lt;/td>
&lt;td>重复代码&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>4&lt;/td>
&lt;td>长函数&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>5&lt;/td>
&lt;td>大类&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>6&lt;/td>
&lt;td>长参数列表&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>7&lt;/td>
&lt;td>滥用控制语句&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>8&lt;/td>
&lt;td>缺乏封装&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>9&lt;/td>
&lt;td>可变的数据&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>10&lt;/td>
&lt;td>变量声明与赋值分离&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>11&lt;/td>
&lt;td>依赖混乱&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>12&lt;/td>
&lt;td>不一致的代码&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>13&lt;/td>
&lt;td>落后的代码风格&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h3 id="命名">命名&lt;/h3>
&lt;p>&lt;img alt="img" loading="lazy" src="https://static001.geekbang.org/resource/image/4e/66/4e725dfea2eeb16ef0f654813ca42066.jpg?wh=2284*3156">&lt;/p></description></item><item><title>How to set up Static Blog?</title><link>https://huan11.github.io/posts/blog/set-up-blog/</link><pubDate>Sat, 27 Jul 2024 08:45:23 +0800</pubDate><guid>https://huan11.github.io/posts/blog/set-up-blog/</guid><description>&lt;h1 id="dependencies">Dependencies&lt;/h1>
&lt;p>Setup static blog&lt;/p>
&lt;ol>
&lt;li>Git &lt;a href="https://git-scm.com/downloads">https://git-scm.com/downloads&lt;/a>&lt;/li>
&lt;li>Hugo &lt;a href="https://github.com/gohugoio/hugo">https://github.com/gohugoio/hugo&lt;/a>&lt;/li>
&lt;li>[optional] markdown editor: Typora&lt;/li>
&lt;/ol>
&lt;p>Automatic Deploy&lt;/p>
&lt;ol>
&lt;li>GitHub Action &lt;a href="https://docs.github.com/en/actions/quickstart">https://docs.github.com/en/actions/quickstart&lt;/a>&lt;/li>
&lt;/ol>
&lt;h1 id="how-to-set-up-static-blog">How to set up Static Blog?&lt;/h1>
&lt;h2 id="setup-static-blog3-steps">Setup static blog(3 steps)&lt;/h2>
&lt;p>Reuse the others framework&lt;/p>
&lt;blockquote>
&lt;p>&lt;a href="https://github.com/xyming108/sulv-hugo-papermod">https://github.com/xyming108/sulv-hugo-papermod&lt;/a>&lt;/p>
&lt;p>preview : &lt;a href="https://www.sulvblog.cn/">https://www.sulvblog.cn/&lt;/a>&lt;/p>&lt;/blockquote>
&lt;p>step 1 clone&lt;/p>
&lt;pre tabindex="0">&lt;code>git clone https://github.com/xyming108/sulv-hugo-papermod.git
&lt;/code>&lt;/pre>&lt;p>step2 download theme&lt;/p>
&lt;pre tabindex="0">&lt;code>git submodule update --init
&lt;/code>&lt;/pre>&lt;p>Step3 start the&lt;/p>
&lt;pre tabindex="0">&lt;code>hugo server -D
&lt;/code>&lt;/pre>&lt;h2 id="deploy-automatically-steps">Deploy automatically( steps)&lt;/h2>
&lt;p>Step create GitHub repo(must public)&lt;/p>
&lt;p>&lt;img alt="image-20240727090114870" loading="lazy" src="https://huan11.github.io/posts/blog/set-up-blog/img/image-20240727090114870.png">&lt;/p>
&lt;p>&lt;img alt="image-20240727090210786" loading="lazy" src="https://huan11.github.io/posts/blog/set-up-blog/img/image-20240727090210786.png">&lt;/p>
&lt;p>Step set up GitHub upstream&lt;/p>
&lt;pre tabindex="0">&lt;code>git remote add origin git@github.com:huan11/huan11.github.io.git
&lt;/code>&lt;/pre>&lt;p>Step Add your notes and push the changes&lt;/p></description></item><item><title>国内 AI 工具集</title><link>https://huan11.github.io/posts/tools/ai_frequent_tools/</link><pubDate>Sat, 27 Jul 2024 00:00:00 +0000</pubDate><guid>https://huan11.github.io/posts/tools/ai_frequent_tools/</guid><description>&lt;h1 id="llm">LLM&lt;/h1>
&lt;h2 id="智谱">智谱&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>官网体验平台 &lt;a href="https://bigmodel.cn/">https://bigmodel.cn/&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>文档 &lt;a href="https://zhipu-ai.feishu.cn/wiki/YInmwPmyii67VRkzU3BchPNzncg">https://zhipu-ai.feishu.cn/wiki/YInmwPmyii67VRkzU3BchPNzncg&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Hugging Face 开源模型 &lt;a href="https://huggingface.co/collections/THUDM/">https://huggingface.co/collections/THUDM/&lt;/a>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>最新动态&lt;/p>
&lt;ul>
&lt;li>官网 &lt;a href="https://www.zhipuai.cn/news/">https://www.zhipuai.cn/news/&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul></description></item><item><title>全面拥抱 AI</title><link>https://huan11.github.io/posts/ai/%E5%85%A8%E9%9D%A2%E6%8B%A5%E6%8A%B1ai/</link><pubDate>Sat, 27 Jul 2024 06:27:23 +0800</pubDate><guid>https://huan11.github.io/posts/ai/%E5%85%A8%E9%9D%A2%E6%8B%A5%E6%8A%B1ai/</guid><description>&lt;h1 id="全面拥抱-ai">全面拥抱 AI&lt;/h1>
&lt;h2 id="他山之石可以攻玉巨人肩膀">他山之石，可以攻玉（巨人肩膀）&lt;/h2>
&lt;p>阿里： 通义灵码&lt;/p>
&lt;blockquote>
&lt;p>&lt;a href="https://tongyi.aliyun.com/lingma/download">https://tongyi.aliyun.com/lingma/download&lt;/a>&lt;/p>&lt;/blockquote></description></item></channel></rss>