

<feed xmlns="http://www.w3.org/2005/Atom">
  <id>https://hezongjian.com/</id>
  <title>Zongjian's blog</title>
  <subtitle>Personal blog of Zongjian He,since 2002. Sharing my thoughts and experiences on programming, technology, and life.</subtitle>
  <updated>2026-04-11T08:35:15+12:00</updated>
  <author>
    <name>Zongjian He</name>
    <uri>https://hezongjian.com/</uri>
  </author>
  <link rel="self" type="application/atom+xml" href="https://hezongjian.com/feed.xml"/>
  <link rel="alternate" type="text/html" hreflang="en"
    href="https://hezongjian.com/"/>
  <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator>
  <rights> © 2026 Zongjian He </rights>
  <icon>/assets/img/favicons/favicon.ico</icon>
  <logo>/assets/img/favicons/favicon-96x96.png</logo>


  
  <entry>
    <title>驱赶AI Agent当牛马</title>
    <link href="https://hezongjian.com/qu-gan-ai-agent-dang-niu-ma" rel="alternate" type="text/html" title="驱赶AI Agent当牛马" />
    <published>2026-02-18T10:15:00+13:00</published>
  
    <updated>2026-02-18T10:15:00+13:00</updated>
  
    <id>https://hezongjian.com/qu-gan-ai-agent-dang-niu-ma</id>
    <content type="text/html" src="https://hezongjian.com/qu-gan-ai-agent-dang-niu-ma" />
    <author>
      <name>Zongjian He</name>
    </author>

  
    
    <category term="工作和学习" />
    
  

  <summary>前言

三年前GPT刚出来, 我写过一篇文章, 叫ChatGPT编写俄罗斯方块. 当年还没有什么Agent, 只能让ChatGPT写代码, 然后自己把代码复制到IDE里运行. 但是这几年AI的发展真是日新月异, 现在已经有了很多Agent了. 这些Agent可以自己去搜索资料, 可以自己去写代码, 不会了还可以自己去搜索，自己去看文档, 甚至可以自己去运行代码, 看结果, 然后根据结果继续修改代码. 这就好像是有了一个AI的助理一样, 你让它帮你做一些事情, 它就会自己去完成. 这对广大于程序员来说, 真的是一个巨大的福音. 因为可以把一些重复性的工作交给AI来做, 然后就可以专注于一些更有创造性的工作了 (我不觉得AI能替代码农).

顺便吐槽一下中文翻译，Agent翻译成“智能体”，听起来就很高达上，但是到底是干什么的呢？我觉得“智能体”这个名字太抽象了，不太好理解。但是Agen...</summary>

  </entry>

  
  <entry>
    <title>T4重生记：折腾魔改电脑</title>
    <link href="https://hezongjian.com/t4zhong-sheng-ji-zhe-teng-mo-gai-dian-nao" rel="alternate" type="text/html" title="T4重生记：折腾魔改电脑" />
    <published>2026-01-24T10:15:00+13:00</published>
  
    <updated>2026-01-24T10:15:00+13:00</updated>
  
    <id>https://hezongjian.com/t4zhong-sheng-ji-zhe-teng-mo-gai-dian-nao</id>
    <content type="text/html" src="https://hezongjian.com/t4zhong-sheng-ji-zhe-teng-mo-gai-dian-nao" />
    <author>
      <name>Zongjian He</name>
    </author>

  
    
    <category term="工作和学习" />
    
  

  <summary>去年圣诞节回国的时候，谦花了大概4000块钱，自己买各种零件，组装了一台自己的台式机电脑，这一年下来，他用得还不错，完全满足了他学习和娱乐的需求，甚至有的时候还来跑跑各种AI模型，还用来学习Python编程。

今年圣诞节他回国之前，正好我有一台机器的T4显卡坏了, 谦告诉我说国内有人会修T4显卡，他想把这块T4显卡修好，然后装到他的电脑里面去，也正好用来跑AI模型，虽然T4的内存只有16G，但是有了T4显卡，比他本来的游戏显卡3080用来跑AI还要强多了。我问他，你显卡修完了，那到底有没有修好你也不知道阿，因为你不可能把台式机再带回过去。他跟我信誓旦旦地说，他可以再组装一台电脑，成本只要几百块钱，就可以测试显卡有没有修好。思路就是垃圾佬，买各种二手，三手零件，甚至是魔改的零件，组装一台勉强能用的电脑，然后测试显卡。听起来很有道理的样子。

在这个过程中，他经历了各种各样的折腾，比去...</summary>

  </entry>

  
  <entry>
    <title>到底谁在吃垃圾</title>
    <link href="https://hezongjian.com/dao-di-shui-zai-chi-la-ji" rel="alternate" type="text/html" title="到底谁在吃垃圾" />
    <published>2025-09-17T17:06:00+12:00</published>
  
    <updated>2025-09-17T17:06:00+12:00</updated>
  
    <id>https://hezongjian.com/dao-di-shui-zai-chi-la-ji</id>
    <content type="text/html" src="https://hezongjian.com/dao-di-shui-zai-chi-la-ji" />
    <author>
      <name>Zongjian He</name>
    </author>

  
    
    <category term="工作和学习" />
    
  

  <summary>之前弄了个小玩具, 用LLM来响应网页的请求. 因为代码很短, 直接就贴在这里了.

#!/usr/bin/env python3
from cerebras.cloud.sdk import Cerebras
import os
import logging
from logging.handlers import RotatingFileHandler
from flask import Flask, request
from pathvalidate import sanitize_filename
import dotenv
dotenv.load_dotenv()

client = Cerebras(
  api_key=os.environ.get(&amp;quot;CEREBRAS_API_KEY&amp;quot;),
)

app = Flask(__name__)

os.makedirs(&amp;quot;h...</summary>

  </entry>

  
  <entry>
    <title>7年了, 终于回国一趟</title>
    <link href="https://hezongjian.com/7nian-liao-zhong-yu-hui-guo-yi-tang" rel="alternate" type="text/html" title="7年了, 终于回国一趟" />
    <published>2025-03-12T14:06:00+13:00</published>
  
    <updated>2025-03-12T14:06:00+13:00</updated>
  
    <id>https://hezongjian.com/7nian-liao-zhong-yu-hui-guo-yi-tang</id>
    <content type="text/html" src="https://hezongjian.com/7nian-liao-zhong-yu-hui-guo-yi-tang" />
    <author>
      <name>Zongjian He</name>
    </author>

  
    
    <category term="新西兰生活" />
    
  

  <summary>自从全家搬到新西兰, 我上一次回国还要追溯到新冠之前的2018年. 之所以这么久才回国, 一是因为我2018年回去的感受相当方便, 机票极为便宜, 感觉就跟在中国另外一个城市工作, 你坐绿皮火车回家差不多, 晃悠12个小时就到家了. 另外一个原因是新冠疫情, 由于中国当时严格的新冠管理政策, 我一直也没搞懂, 到底怎么才能顺利的坐上回国班机, 号称要“三天两检”, 然后到了之后还要隔离, 一直让我望而却步. 不管怎么说, 现在疫情虽然没结束, 但是防疫结束了, 机票也便宜了, 于是我就决定回国了.

谦经常说Reverse culture shock, 意思是在外乡呆久了, 回到故乡, 却感觉到了水土不服. 我虽然没有水土不服那么夸张, 但是的的确确的感受到, 好久不回国, 偶尔回去一趟, 不知道算不算得上culture shock, 但很多东西都很震撼.

行程概括

由于我的假期...</summary>

  </entry>

  
  <entry>
    <title>续: 收集40个方块有多难</title>
    <link href="https://hezongjian.com/xu-shou-ji-40ge-fang-kuai-you-duo-nan" rel="alternate" type="text/html" title="续: 收集40个方块有多难" />
    <published>2025-03-10T14:06:00+13:00</published>
  
    <updated>2025-03-10T14:06:00+13:00</updated>
  
    <id>https://hezongjian.com/xu-shou-ji-40ge-fang-kuai-you-duo-nan</id>
    <content type="text/html" src="https://hezongjian.com/xu-shou-ji-40ge-fang-kuai-you-duo-nan" />
    <author>
      <name>Zongjian He</name>
    </author>

  
    
    <category term="工作和学习" />
    
  

  <summary>时隔一年, Woolworth超市又推出了买东西集卡片活动. 上次是迪士尼, 这次是Minecraft. 依然是让小朋友们着迷的东西. 这次花30块钱可以拿到一包minecraft的Cubeez, 拆开后可以自己拼装成一个小方块, 很符合Minecraft的风格. 总共有40种小方块, 然后官方还有个盒子, 放在盒子里, 很漂亮.

谦曾经是Minecraft的忠实粉丝, 在国内的时候我就给他买了一套, 然后他建造各种地图, 甚至还把自己建造的地图发给视频博主, 让博主玩他建造的地图. 后来他还玩Minecraft Dungeon, 是一个类似于大菠萝的游戏, 不过人物全都是MC里面的人物.

还是套用上次的公式, 看一下收集到40个方块的数学期待是需要花多少钱.

假设你已经收集了$n$个方块, 那么你下一次收集到一张新方块的概率是$\frac{40-n} {40}$. 所以你下一...</summary>

  </entry>

</feed>


