<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>刘刚刚的blog</title><link>http://localhost:8080</link><atom:link href="http://localhost:8080/feed.xml" rel="self" type="application/rss+xml"/><description>每一次迭代都让我们更接近最优</description><generator>Halo v2.21.6</generator><language>zh-cn</language><image><url>http://localhost:8080/upload/yumao.png</url><title>刘刚刚的blog</title><link>http://localhost:8080</link></image><lastBuildDate>Mon, 8 Jun 2026 07:30:38 GMT</lastBuildDate><item><title><![CDATA[linux效率软件]]></title><link>http://localhost:8080/archives/linuxxiao-lu-ruan-jian</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=linux%E6%95%88%E7%8E%87%E8%BD%AF%E4%BB%B6&amp;url=/archives/linuxxiao-lu-ruan-jian" width="1" height="1" alt="" style="opacity:0;">功能 url 备注 管理sy]]></description><guid isPermaLink="false">/archives/linuxxiao-lu-ruan-jian</guid><dc:creator>Administrator</dc:creator><category>运维</category><pubDate>Fri, 27 Feb 2026 11:25:29 GMT</pubDate></item><item><title><![CDATA[个人在vibe coding中的常用提示词梳理]]></title><link>http://localhost:8080/archives/ge-ren-zai-vibe-codingzhong-de-chang-yong-ti-shi-ci-shu-li</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=%E4%B8%AA%E4%BA%BA%E5%9C%A8vibe%20coding%E4%B8%AD%E7%9A%84%E5%B8%B8%E7%94%A8%E6%8F%90%E7%A4%BA%E8%AF%8D%E6%A2%B3%E7%90%86&amp;url=/archives/ge-ren-zai-vibe-codingzhong-de-chang-yong-ti-shi-ci-shu-li" width="1" height="1" alt="" style="opacity:0;">场景：开发完后让 AI更新 AGENTS.md 提示词：请根据近期的修改调整 AGENTS.md中关于 xxx 的说明，并且增加开发过程中的提示与注意事项说明，以便其他人可以更清楚的了解改项目 场景：大模型的某个编程方式不太符合个人的习惯 一个提示词示例：在格式化字符串的时候，请使用 f-strin]]></description><guid isPermaLink="false">/archives/ge-ren-zai-vibe-codingzhong-de-chang-yong-ti-shi-ci-shu-li</guid><dc:creator>Administrator</dc:creator><category>编程工具使用技巧</category><pubDate>Thu, 5 Feb 2026 09:26:15 GMT</pubDate></item><item><title><![CDATA[Conda cpu占用100%的排查]]></title><link>http://localhost:8080/archives/conda-cpuzhan-yong-100-de-pai-cha</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=Conda%20cpu%E5%8D%A0%E7%94%A8100%25%E7%9A%84%E6%8E%92%E6%9F%A5&amp;url=/archives/conda-cpuzhan-yong-100-de-pai-cha" width="1" height="1" alt="" style="opacity:0;">原因：使用了finashell，finashell每次监控服务器状态都会激活conda环境。 排查过程：发现conda进行不停的创建并销毁 处理方案 方案1: 换其他shell工具 方案2: 使用以下.bashrc可以兼容finashell(毕竟finashell的实时监控，还是挺好用的) # 禁用]]></description><guid isPermaLink="false">/archives/conda-cpuzhan-yong-100-de-pai-cha</guid><dc:creator>Administrator</dc:creator><pubDate>Sun, 21 Dec 2025 09:07:12 GMT</pubDate></item><item><title><![CDATA[Python工程中的一些工具]]></title><link>http://localhost:8080/archives/pythongong-cheng-zhong-de-yi-xie-gong-ju</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=Python%E5%B7%A5%E7%A8%8B%E4%B8%AD%E7%9A%84%E4%B8%80%E4%BA%9B%E5%B7%A5%E5%85%B7&amp;url=/archives/pythongong-cheng-zhong-de-yi-xie-gong-ju" width="1" height="1" alt="" style="opacity:0;">定时任务 APScheduler ：是一个适用于 Python 的定时任务调度器和任务队列系统，功能强大，适用范围特别广，支持单节点到分布式节点部署。 Plombery: 基于APSchedul]]></description><guid isPermaLink="false">/archives/pythongong-cheng-zhong-de-yi-xie-gong-ju</guid><dc:creator>Administrator</dc:creator><category>python</category><pubDate>Mon, 15 Dec 2025 08:00:41 GMT</pubDate></item><item><title><![CDATA[go中的包管理]]></title><link>http://localhost:8080/archives/gozhong-de-bao-guan-li</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=go%E4%B8%AD%E7%9A%84%E5%8C%85%E7%AE%A1%E7%90%86&amp;url=/archives/gozhong-de-bao-guan-li" width="1" height="1" alt="" style="opacity:0;">在看一个旧项目的时候，让把项目放到GOPATH/src 下，为了解决这个疑惑。看了一些与GOPATH相关的介绍而整理。 包管理 Go在 Go1.11后解决了包管理的相关问题。之前比较依赖GOPATH]]></description><guid isPermaLink="false">/archives/gozhong-de-bao-guan-li</guid><dc:creator>Administrator</dc:creator><category>go</category><pubDate>Tue, 2 Dec 2025 09:23:31 GMT</pubDate></item><item><title><![CDATA[ Logging模块梳理与备忘]]></title><link>http://localhost:8080/archives/loggingmo-kuai-shu-li-yu-bei-wang</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=%20Logging%E6%A8%A1%E5%9D%97%E6%A2%B3%E7%90%86%E4%B8%8E%E5%A4%87%E5%BF%98&amp;url=/archives/loggingmo-kuai-shu-li-yu-bei-wang" width="1" height="1" alt="" style="opacity:0;">更清楚的梳理了不同组件的配置关系 ## 核心组件]]></description><guid isPermaLink="false">/archives/loggingmo-kuai-shu-li-yu-bei-wang</guid><dc:creator>Administrator</dc:creator><category>python</category><pubDate>Thu, 25 Sep 2025 13:22:13 GMT</pubDate></item><item><title><![CDATA[LangChain模块之Runnable源码分析]]></title><link>http://localhost:8080/archives/langchainmo-kuai-zhi-runnableyuan-ma-fen-xi</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=LangChain%E6%A8%A1%E5%9D%97%E4%B9%8BRunnable%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90&amp;url=/archives/langchainmo-kuai-zhi-runnableyuan-ma-fen-xi" width="1" height="1" alt="" style="opacity:0;">源码环境： langchain==0.3.27 langchain-core ==0.3.75 说明：本文中的代码为了简洁，移除了大部分类型注释]]></description><guid isPermaLink="false">/archives/langchainmo-kuai-zhi-runnableyuan-ma-fen-xi</guid><dc:creator>Administrator</dc:creator><pubDate>Tue, 9 Sep 2025 08:38:34 GMT</pubDate></item><item><title><![CDATA[aliyun.opentelemetry 错误排查]]></title><link>http://localhost:8080/archives/aliyun.opentelemetry-cuo-wu-pai-cha</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=aliyun.opentelemetry%20%E9%94%99%E8%AF%AF%E6%8E%92%E6%9F%A5&amp;url=/archives/aliyun.opentelemetry-cuo-wu-pai-cha" width="1" height="1" alt="" style="opacity:0;">报错内容： &nbsp; from aliyun.opentelemetry.instrumentation.auto_instrumentation import sitecustomize ModuleNotFoundError: No module named 'aliyun.opentelemet]]></description><guid isPermaLink="false">/archives/aliyun.opentelemetry-cuo-wu-pai-cha</guid><dc:creator>Administrator</dc:creator><category>运维</category><pubDate>Wed, 27 Aug 2025 04:27:09 GMT</pubDate></item><item><title><![CDATA[Claude Code简单的交互逻辑及提示词分析]]></title><link>http://localhost:8080/archives/claude-codejian-dan-de-jiao-hu-luo-ji-ji-ti-shi-ci-fen-xi</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=Claude%20Code%E7%AE%80%E5%8D%95%E7%9A%84%E4%BA%A4%E4%BA%92%E9%80%BB%E8%BE%91%E5%8F%8A%E6%8F%90%E7%A4%BA%E8%AF%8D%E5%88%86%E6%9E%90&amp;url=/archives/claude-codejian-dan-de-jiao-hu-luo-ji-ji-ti-shi-ci-fen-xi" width="1" height="1" alt="" style="opacity:0;">首轮对话 当用户发送消息时，会有两个任务被处理： 用户发送消息的总结/摘要 对用户消息的处理(t]]></description><guid isPermaLink="false">/archives/claude-codejian-dan-de-jiao-hu-luo-ji-ji-ti-shi-ci-fen-xi</guid><dc:creator>Administrator</dc:creator><enclosure url="http://localhost:8080/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=%2Fupload%2F76263028.png&amp;size=m" type="image/jpeg" length="0"/><category>大模型应用</category><pubDate>Wed, 16 Jul 2025 09:29:52 GMT</pubDate></item><item><title><![CDATA[Teamo[agent]分析]]></title><link>http://localhost:8080/archives/teamo-agent-fen-xi</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=Teamo%5Bagent%5D%E5%88%86%E6%9E%90&amp;url=/archives/teamo-agent-fen-xi" width="1" height="1" alt="" style="opacity:0;">参考的示例：https://teamo.floatmiracle.com/chat/d1232254-b3fc-4141-aa00-836450639760 请求回放的 json文件：teamo-example.json 步骤1（agent）：需求分析]]></description><guid isPermaLink="false">/archives/teamo-agent-fen-xi</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><pubDate>Tue, 8 Jul 2025 01:48:53 GMT</pubDate></item><item><title><![CDATA[Agent的ReAct交互模式]]></title><link>http://localhost:8080/archives/agentde-reactjiao-hu-mo-shi</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=Agent%E7%9A%84ReAct%E4%BA%A4%E4%BA%92%E6%A8%A1%E5%BC%8F&amp;url=/archives/agentde-reactjiao-hu-mo-shi" width="1" height="1" alt="" style="opacity:0;">论文地址：https://arxiv.org/abs/2210.03629 对应的 langchain prompt hub地址：https://smith.langchain.com/hub/langchain-ai/rea]]></description><guid isPermaLink="false">/archives/agentde-reactjiao-hu-mo-shi</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><pubDate>Fri, 4 Jul 2025 01:27:23 GMT</pubDate></item><item><title><![CDATA[agent会话中用户主动暂停消息的处理方案]]></title><link>http://localhost:8080/archives/agenthui-hua-zhong-yong-hu-zhu-dong-zan-ting-xiao-xi-de-chu-li-fang-an</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=agent%E4%BC%9A%E8%AF%9D%E4%B8%AD%E7%94%A8%E6%88%B7%E4%B8%BB%E5%8A%A8%E6%9A%82%E5%81%9C%E6%B6%88%E6%81%AF%E7%9A%84%E5%A4%84%E7%90%86%E6%96%B9%E6%A1%88&amp;url=/archives/agenthui-hua-zhong-yong-hu-zhu-dong-zan-ting-xiao-xi-de-chu-li-fang-an" width="1" height="1" alt="" style="opacity:0;">背景： 在用户与 agent聊天的时候，用户可能主动暂停当前轮次的对话，然后重新向大模型发送消息。 用户暂停会话可能带来的风险：如果此时刚好 agent发送完工具调用的指令，工具未执行完成。那么在用户的下一轮对话时，因为未响应大模型的工具调用结果，可能导致大模型调用报错。]]></description><guid isPermaLink="false">/archives/agenthui-hua-zhong-yong-hu-zhu-dong-zan-ting-xiao-xi-de-chu-li-fang-an</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><pubDate>Thu, 3 Jul 2025 08:00:43 GMT</pubDate></item><item><title><![CDATA[使用 claude api遇到的问题]]></title><link>http://localhost:8080/archives/shi-yong-claude-apiyu-dao-de-wen-ti</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=%E4%BD%BF%E7%94%A8%20claude%20api%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98&amp;url=/archives/shi-yong-claude-apiyu-dao-de-wen-ti" width="1" height="1" alt="" style="opacity:0;">## 背景 在使用 new-api 的转发服务时，报错： &nbsp; total_tokens = oai_token_usage.get("total_tokens", input_tokens + output_tokens) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;n]]></description><guid isPermaLink="false">/archives/shi-yong-claude-apiyu-dao-de-wen-ti</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><pubDate>Tue, 24 Jun 2025 10:44:19 GMT</pubDate></item><item><title><![CDATA[一些开发中使用的 linux运维命令]]></title><link>http://localhost:8080/archives/yi-xie-kai-fa-zhong-shi-yong-de-linuxyun-wei-ming-ling</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=%E4%B8%80%E4%BA%9B%E5%BC%80%E5%8F%91%E4%B8%AD%E4%BD%BF%E7%94%A8%E7%9A%84%20linux%E8%BF%90%E7%BB%B4%E5%91%BD%E4%BB%A4&amp;url=/archives/yi-xie-kai-fa-zhong-shi-yong-de-linuxyun-wei-ming-ling" width="1" height="1" alt="" style="opacity:0;">查看目录下的文件或者文件夹大小 du -d 1 -h 杀死某些服务 # 通过服务名称 pkill -f flask-search # 杀死占用某个端口的服务 lsof -i :5000 | awk 'NR&gt;1 {print $2}' | xargs kill -9 查看进程或者端口的信息 # 查看]]></description><guid isPermaLink="false">/archives/yi-xie-kai-fa-zhong-shi-yong-de-linuxyun-wei-ming-ling</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><category>运维</category><pubDate>Wed, 18 Jun 2025 09:48:45 GMT</pubDate></item><item><title><![CDATA[python包管理神器：UV]]></title><link>http://localhost:8080/archives/pythonbao-guan-li-shen-qi-uv</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=python%E5%8C%85%E7%AE%A1%E7%90%86%E7%A5%9E%E5%99%A8%EF%BC%9AUV&amp;url=/archives/pythonbao-guan-li-shen-qi-uv" width="1" height="1" alt="" style="opacity:0;">目前 UV 因其优势，已被大量的python开源项目使用。简单整理了一些命令，不到 UV 功能的 1/5，更多功能慢慢探索。 个人使用感受: 在一个项目下，不同的文件夹可以有多个环境。方便学习或者测试不同的内容 25年版本的pycahrm已经支持uv管理环境]]></description><guid isPermaLink="false">/archives/pythonbao-guan-li-shen-qi-uv</guid><dc:creator>Administrator</dc:creator><category>python</category><pubDate>Wed, 18 Jun 2025 09:32:54 GMT</pubDate></item><item><title><![CDATA[ollama-大模型的部署与使用]]></title><link>http://localhost:8080/archives/ollama-da-mo-xing-de-bu-shu-yu-shi-yong</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=ollama-%E5%A4%A7%E6%A8%A1%E5%9E%8B%E7%9A%84%E9%83%A8%E7%BD%B2%E4%B8%8E%E4%BD%BF%E7%94%A8&amp;url=/archives/ollama-da-mo-xing-de-bu-shu-yu-shi-yong" width="1" height="1" alt="" style="opacity:0;">linux curl -fsSL https://ollama.com/install.sh | sh 因为安装过程有使用github相关资源，国内访问会有问题，需要加速。或者使用docker进行安装。各大云平台都有提供docker加速方法。 ollama的所有命令 Available Comman]]></description><guid isPermaLink="false">/archives/ollama-da-mo-xing-de-bu-shu-yu-shi-yong</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><category>运维</category><pubDate>Sun, 8 Jun 2025 06:48:13 GMT</pubDate></item><item><title><![CDATA[为jupyter增加可选的python内核]]></title><link>http://localhost:8080/archives/wei-jupyterzeng-jia-ke-xuan-de-pythonnei-he</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=%E4%B8%BAjupyter%E5%A2%9E%E5%8A%A0%E5%8F%AF%E9%80%89%E7%9A%84python%E5%86%85%E6%A0%B8&amp;url=/archives/wei-jupyterzeng-jia-ke-xuan-de-pythonnei-he" width="1" height="1" alt="" style="opacity:0;">在部分提供GPU资源的平台，进行使用的时候发现提供的jupyter的内核中，与命令行默认的外部的python环境不一致，且不能选择的情况。 以下是添加conda虚拟环境到jupyter中的方法 # 或者 source myenv/bin/activate conda activate myenv ​]]></description><guid isPermaLink="false">/archives/wei-jupyterzeng-jia-ke-xuan-de-pythonnei-he</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><pubDate>Sun, 8 Jun 2025 06:07:19 GMT</pubDate></item><item><title><![CDATA[Gemini 使用过程中的一些坑]]></title><link>http://localhost:8080/archives/gemini-shi-yong-guo-cheng-zhong-de-yi-xie-keng</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=Gemini%20%E4%BD%BF%E7%94%A8%E8%BF%87%E7%A8%8B%E4%B8%AD%E7%9A%84%E4%B8%80%E4%BA%9B%E5%9D%91&amp;url=/archives/gemini-shi-yong-guo-cheng-zhong-de-yi-xie-keng" width="1" height="1" alt="" style="opacity:0;">使用限制 在使用 Gemini 的时候，谷歌限制了香港和大陆不能调用 API，可以考虑新加坡区域 转发服务 主要有 one-hub、One-api、new-api。在使用one-hub在One-api 的基础上进行了一些更新。（目前个人主力用的主要是one-hub） 出现的问题 1： 转发的时候发现]]></description><guid isPermaLink="false">/archives/gemini-shi-yong-guo-cheng-zhong-de-yi-xie-keng</guid><dc:creator>Administrator</dc:creator><category>大模型应用</category><pubDate>Fri, 6 Jun 2025 07:46:29 GMT</pubDate></item><item><title><![CDATA[python中一些很好用的工具类模块]]></title><link>http://localhost:8080/archives/pythonzhong-yi-xie-hen-hao-yong-de-gong-ju-lei-mo-kuai</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=python%E4%B8%AD%E4%B8%80%E4%BA%9B%E5%BE%88%E5%A5%BD%E7%94%A8%E7%9A%84%E5%B7%A5%E5%85%B7%E7%B1%BB%E6%A8%A1%E5%9D%97&amp;url=/archives/pythonzhong-yi-xie-hen-hao-yong-de-gong-ju-lei-mo-kuai" width="1" height="1" alt="" style="opacity:0;">contextlib 此模块为 with 语句提供了一些工具，简化了 with的使用。 @contextlib.contextmanager 它将一个生成器函数转换为一个上下文管理器。而无需创建一个类或单独的 __enter__() 和 __e]]></description><guid isPermaLink="false">/archives/pythonzhong-yi-xie-hen-hao-yong-de-gong-ju-lei-mo-kuai</guid><dc:creator>Administrator</dc:creator><category>python</category><pubDate>Tue, 27 May 2025 02:55:40 GMT</pubDate></item><item><title><![CDATA[常用的uml类图及其表示方法]]></title><link>http://localhost:8080/archives/chang-yong-de-umllei-tu-ji-qi-biao-shi-fang-fa</link><description><![CDATA[<img src="http://localhost:8080/plugins/feed/assets/telemetry.gif?title=%E5%B8%B8%E7%94%A8%E7%9A%84uml%E7%B1%BB%E5%9B%BE%E5%8F%8A%E5%85%B6%E8%A1%A8%E7%A4%BA%E6%96%B9%E6%B3%95&amp;url=/archives/chang-yong-de-umllei-tu-ji-qi-biao-shi-fang-fa" width="1" height="1" alt="" style="opacity:0;">介绍了常用的 7种类图]]></description><guid isPermaLink="false">/archives/chang-yong-de-umllei-tu-ji-qi-biao-shi-fang-fa</guid><dc:creator>Administrator</dc:creator><category>编程工具使用技巧</category><pubDate>Tue, 20 May 2025 10:48:01 GMT</pubDate></item></channel></rss>