上一页 1 2 3 4 5 6 7 8 9 ··· 491 下一页
摘要: 前置知识 stdio 这是 MCP 中的通信方式。 进程:执行一个应用程序,就会启动一个进程,操作系统会为其分配内存空间、系统资源。 应用程序执行完毕后,系统分配给进程的资源就会被回收。 进程之间是可以通信的。那这里有一个最基本的要求:进程不能结束。如何让进程不结束? 想想微信、QQ启动后为啥不结束 阅读全文
posted @ 2025-07-27 20:19 Zhentiw 阅读(30) 评论(0) 推荐(0)
摘要: Install: brew install tree Given project structure like this: We want to generate tree stucture into README.md, run: tree -I "node_moudles" > README.m 阅读全文
posted @ 2025-07-27 15:24 Zhentiw 阅读(12) 评论(0) 推荐(0)
摘要: import { ollama } from "ollama-ai-provider"; import { generateObject, generateText } from "ai"; import { z } from "zod"; import { globby } from "globb 阅读全文
posted @ 2025-07-19 21:32 Zhentiw 阅读(17) 评论(0) 推荐(0)
摘要: import { ollama } from "ollama-ai-provider"; import { generateObject, generateText } from "ai"; import { z } from "zod"; import { globby } from "globb 阅读全文
posted @ 2025-07-19 21:06 Zhentiw 阅读(16) 评论(0) 推荐(0)
摘要: NLP 发展的4个阶段: 阶段 时间 方法 / 模型 类型 主要用途 是否考虑词序 / 语义 规则阶段 1950s–1970s 语法规则、人工模板 人工构建规则系统 机器翻译、问答系统 ✅ 语法结构,❌语义 统计阶段 1970s–2010s Bag-of-Words (BoW) 特征表示方法 文本分 阅读全文
posted @ 2025-07-19 20:53 Zhentiw 阅读(41) 评论(0) 推荐(0)
摘要: How vue-router solve the problem: function changeLocation( to: HistoryLocation, state: StateEntry, replace: boolean ): void { /** * if a base tag is p 阅读全文
posted @ 2025-07-18 14:14 Zhentiw 阅读(11) 评论(0) 推荐(0)
摘要: history 是浏览器环境中所支持的一个对象,该对象用于管理当前创建最近访问过的 URL 历史记录,所有的 URL 会被存储在一个名为 histroy 的对象里面,回头就可以通过 JS 脚本调用 history 对象的方法从而控制浏览器前进或者后退。 例如打开浏览器,新创建一个标签页会话,然后在控 阅读全文
posted @ 2025-07-16 14:24 Zhentiw 阅读(41) 评论(0) 推荐(0)
摘要: Overriding a function lets you wrap a third-party method with your own logic while still invoking its original behavior. Example code: const unmountAp 阅读全文
posted @ 2025-07-15 13:50 Zhentiw 阅读(8) 评论(0) 推荐(0)
摘要: import { ollama } from "ollama-ai-provider"; import { generateObject, generateText } from "ai"; import { z } from "zod"; import { globby } from "globb 阅读全文
posted @ 2025-07-05 19:06 Zhentiw 阅读(9) 评论(0) 推荐(0)
摘要: import { ollama } from "ollama-ai-provider"; import { generateObject } from "ai"; import { z } from "zod"; import { globby } from "globby"; import { p 阅读全文
posted @ 2025-07-05 18:55 Zhentiw 阅读(9) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 491 下一页