chaodi tang

137 posts

chaodi tang

chaodi tang

@ChaodiT

Katılım Aralık 2022
105 Takip Edilen61 Takipçiler
chaodi tang
chaodi tang@ChaodiT·
@Barret_China the tulving framework mapping is really interesting. curious if they do any pruning on the episodic memory over time or if it just grows forever?
English
0
0
1
522
Barret李靖
Barret李靖@Barret_China·
看了一晚上 Claude Code 泄露的代码,结合常见的记忆管理框架,把记忆模块做了一些分析。 Tulving 老爷子在 1972 年提出了记忆系统的框架设计,至今仍在广泛使用,他把记忆分为三类:1)情境记忆(episodic memory),我干了啥,用来记录过去;2)语义记忆(semantic memory),我知道啥,用来提炼规律;3)以及程序化记忆(procedural memory),我会做啥,用来决定行动。 这些记忆之间是存在相关性的,例如我经历的事情(情景记忆)会慢慢遗忘细节,储存在脑海中的是提炼后的规律和知识,也就是压缩成了语义记忆;而我知道的东西又会逐渐内化为行动的指引,变成一种“知道怎么做”的能力,这就是程序化记忆;程序化记忆反过来又会指导行动,从而产生新的经历。三者构成了一个不断循环的过程:经历 → 知识 → 技能 → 新的经历。 Claude Code Memory 在这几块都有对应的实践,例如每轮次的对话它会以 jsonl 格式做储存,这是情境记忆;同时在对话过程中还会有 SessionMemory 做实时蒸馏,相当于一边发生一边做初步整理。 每轮次结束后,它会 fork 出一个子 Agent(extractMemories)去提取值得持久化的内容,写入带 YAML 头的 MD 文件,这一层对应语义记忆,把零散对话压缩成可复用的知识。更有意思的是它还有一个 autoDream 机制,会在后台做整合和修剪,把碎片化的内容重新组织、合并、更新,这一步很像记忆的巩固过程。 很多框架都没有实现程序化记忆,而 Claude Code 做了。它有一个 feedback 的记忆类型,不仅记录了不要做什么(用户的纠正),还会记录哪些做法是对的(用户的确认),这些都是经验化的技能记录。多数系统只考虑负反馈,Claude Code 兼顾了正向确认,让 Agent 不至于越学越保守,这一点非常关键。 相比 LangMem/Mem0/Zep/EverMemOS/MemOS 这些框架,Claude Code 肯定弱的像个菜鸡😄。它有很多能力是明显不足的,例如:不支持语义化召回(用 LLM 扫 metadata 代替向量检索,上限 200 个文件)、遗忘策略比较粗(24 小时 or 5 轮对话触发整合)、无关联网络(记忆是孤立文件),等等。 真要像 EverMemOS/MemOS 那样追求全量记忆,工程和架构复杂度会直线上升,就拿 EverMemOS 来说,光基础设施就包含了 MongoDB/Elasticsearch/Milvus/Redis,更别说其他的附带依赖了。这类框架更适合做个人长期记忆管理。 另外也去对比了下 OpenClaw,它的记忆实现也非常有意思。它不追求全量记忆,而是优先解决“记忆什么时候该被用”。它把记忆拆成了三层:全局层、工作区层、任务层,逐层收敛,只在必要的时候才把上下文拉进来。 在 OpenClaw 眼里,记忆不是资产,正确使用记忆的能力才是。所以它的设计更侧重于重建临时的记忆网络。 放在这个视角下再去看 Claude Code,就会发现它其实选了一条更偏执行的路径。 对它来说,看清问题全貌也没那么重要。它解决问题的方式,更像人类工程师 debug,一边看、一边改、一边跑、一边修正,在行动中逐步逼近答案。 在这个过程中,Memory 的作用就是一个“防遗忘机制”,保证关键上下文不会在多轮试错中丢失。
中文
17
149
710
70.4K
chaodi tang
chaodi tang@ChaodiT·
@sitinme the last30days one sounds super useful for content research. been doing that manually and its painful tbh. anyone tried it with claude code hooks yet?
English
0
0
0
363
sitin
sitin@sitinme·
发现几个 Claude Code Skills 开源项目,每个都挺有意思,分享一下: 1. obsidian-skills 专门给 Obsidian 用的,能帮你快速创建和编辑笔记,支持 Markdown、canvas 画布这些 Obsidian 特有的格式。平时整理笔记、搭知识库用起来很顺手。 2. last30days-skill 自动抓取 Reddit、X、YouTube、TikTok、Hacker News 等平台近 30 天的内容,帮你做热点追踪和趋势分析。不用自己翻遍全网,几分钟就能拿到结论,做选题调研特别好用。 3. ui-ux-pro-max-skill 做 UI/UX 设计的,内置 67 种风格、96 套配色、57 组字体,还有 100 条行业设计规则。不管是 SaaS 界面、电商页面还是数据看板,直接出方案,省了大量前期设计摸索的时间。 4. finance-skills 金融分析方向的,能做期权收益曲线、股票相关性分析、市场数据抓取、舆情追踪这些。适合个人投资者做基础研究和策略可视化,注意仅供参考不构成投资建议。 Skills 玩法越来越多了,感觉 Claude Code 的生态正在快速长起来。
sitin tweet mediasitin tweet mediasitin tweet mediasitin tweet media
中文
2
29
161
13.6K
chaodi tang
chaodi tang@ChaodiT·
@dotey wait this is actually cool. does it work well with longer videos like 2-3 hours? feels like the embedding approach would struggle with really long footage
English
0
0
0
64
宝玉
宝玉@dotey·
SentrySearch:用自然语言搜索视频内容的开源工具 在几个小时的行车记录仪视频里找到"一辆红色卡车闯了停牌"那个画面,SentrySearch 能让你像搜文字一样搜视频,输入描述,直接导出对应片段。 这个开源命令行工具的原理并不复杂:把视频切成带重叠的片段,用 Google Gemini Embedding API 或本地的 Qwen3-VL 模型把每个片段编码成向量,存进本地向量数据库 ChromaDB。搜索时,文字查询被编码到同一个向量空间里做匹配,命中的片段自动从原文件中裁剪出来。 关键在于,整个过程没有转录、没有逐帧生成文字描述,视频像素直接和文字查询在向量层面比较。这是 Gemini Embedding 2 和 Qwen3-VL-Embedding 这类多模态嵌入模型带来的能力,让对海量视频的语义搜索变得可行。 想用云端 API,一小时视频的索引成本大约 2.84 美元。想完全离线也行,装上本地 Qwen3-VL 模型就不需要任何 API 密钥,24GB 以上显存或内存的 Mac 和 NVIDIA GPU 都能跑。它还专门做了特斯拉行车记录仪的适配,能在裁剪出来的片段上叠加车速、GPS 位置和时间信息。 还有 Skill 可以用:clawhub.ai/ssrajadh/natur… 项目地址:github.com/ssrajadh/sentr…
中文
21
103
586
64.1K
chaodi tang
chaodi tang@ChaodiT·
@dotey oh nice, the flickering was killing me in tmux. gonna try this today
English
0
0
0
712
宝玉
宝玉@dotey·
Claude Code 终端全屏渲染模式 Claude Code 推出了一个新的终端渲染模式,代号 NO_FLICKER。启用方式很简单:CLAUDE_CODE_NO_FLICKER=1 claude。 用过 Claude Code 的人大概都有体感:对话一长,终端就开始闪屏、跳屏,VS Code 内置终端和 tmux 里尤其明显。这是终端渲染的先天限制,ANSI 转义码(终端用来画界面的底层指令)里没有"只刷新某一行"的操作,想更新画面就只能清屏重画,也就是肉眼可见的闪烁。 NO_FLICKER 模式的做法是接管整个终端视口,类似 vim 或 htop 那样切到备用屏幕缓冲区,只渲染当前可见的内容。这样一来闪烁消失了,内存和 CPU 占用也不再随对话增长而膨胀。 附带的彩蛋是鼠标支持:可以点击输入框定位光标,点击折叠的工具输出展开查看,点击 URL 直接打开,拖拽选中文本会自动复制到剪贴板。对终端应用来说,这套交互相当少见。 代价也有。原生的 Cmd+F 搜索失效了,因为对话内容不在终端滚动缓冲区里,需要按 Ctrl+O 再按 / 来搜索。原生的复制粘贴也被接管,选中即复制,或者可以在设置里改成 Ctrl+C 手动复制。 Boris 说,这个模式在内部测试中已经被大多数人当成了默认选择。目前作为研究预览发布,需要 v2.1.88 或更高版本。如果鼠标捕获干扰工作流,可以加上 CLAUDE_CODE_DISABLE_MOUSE=1 只保留无闪烁渲染。
Boris Cherny@bcherny

Today we're excited to announce NO_FLICKER mode for Claude Code in the terminal It uses an experimental new renderer that we're excited about. The renderer is early and has tradeoffs, but already we've found that most internal users prefer it over the old renderer. It also supports mouse events (yes, in a terminal). Try it: CLAUDE_CODE_NO_FLICKER=1 claude

中文
21
29
265
69.8K
chaodi tang
chaodi tang@ChaodiT·
@levelsio honest question though, how many indie hackers can actually pull off the multi-product thing without just spreading themselves too thin? feels like survivorship bias... we see you doing it but most people i know who tried ended up with 5 half-built projects lol
English
1
0
0
470
@levelsio
@levelsio@levelsio·
Best example that you should NOT focus on just one product but keep trying new ones might be Amazon If Jeff Bezos did he'd be still selling books Instead now Amazon with AWS is the backend of the entire internet
@levelsio tweet media@levelsio tweet media
Klaas@forgebitz

@levelsio amazon -> aws

English
92
42
798
110.3K
chaodi tang
chaodi tang@ChaodiT·
@nimanikroo a year with no sales usually means distribution problem not product problem. have you tried targeting real estate agents directly? they spend money on staging already, pay per use might be too much friction for casual users. maybe try a free tier that watermarks the output
English
0
0
0
11
Nima
Nima@nimanikroo·
So i either should shutdown stagemyinterior app or completely reimagine it. I need help from the build in public crew. Its been about a year and i have no sales. Any ideas ? Stagemyinterior was my very first app i made vibe coding with replit. Its like interiorai but pay per use.
English
2
0
1
57
chaodi tang
chaodi tang@ChaodiT·
@vista8 that five step method is honestly how i approach most side projects now. always start by questioning whether the feature even needs to exist. saved me from building so much useless stuff
English
0
0
0
131
向阳乔木
向阳乔木@vista8·
让NotebookLM提炼的这本书中的部分金句和方法论: 1. 五步工作法——必须按顺序执行 质疑需求 → 删除冗余 → 简化优化 → 加速执行 → 最后自动化 永远先质疑"该不该做",再删掉不必要的,然后才能优化。 2. 如果你删掉的东西,后来有10%没被加回来,说明你删得还不够狠 人总因为害怕出错而保留"以防万一"的冗余。 真正的精简是要让自己感到不安全,才说明删到了位。 3. 聪明人提的需求最危险,因为你很少去质疑它 权威和专家的意见最容易让人盲从。 无论谁提的需求(哪怕是老板),都必须追问"为什么一定要这样"。 4. 如果你正在自掘坟墓,请停止,而不是挖得更快 方向错了,效率越高死得越快。 先确保做的是对的事,再谈加速和优化。 5. 渴望被团队喜欢是一个真正的弱点 为了维护关系而不敢挑战同事的工作,最终会为了照顾个人情绪而牺牲整个公司的成功。 严格标准比友谊更重要。 6. 立志做到"错得少一点",而不是追求完美 假设自己总是错的,目标是随着时间推移不断修正。 可以犯错,但绝不能"既自信又错误"。 7. 压碎你的自尊——保持极低的"自尊/能力比" 自尊心太强会切断与现实的反馈回路。 主动寻找残酷的负面反馈,才能真正进步。 8. 速度即是最强攻防——创新够快就不怕被抄 时间是唯一真正的货币。 当你的迭代速度足够快,竞争对手永远只能抄袭你几年前的东西。 9. 如果时间线很长,那它就是错的 项目有"气体膨胀定律":你给多长时间,它就会拖多久。 必须设定极其激进的截止日期来逼出效率。 10. 废除指挥链——信息必须走最短路径 任何人都可以越级汇报,直接找能解决问题的人。 试图维护层级汇报的管理者会被开除。
向阳乔木@vista8

昨天啥也没干,一口气读完了《The Book of Elon - Eric Jorgenson》 可能看过艾萨克森的「马斯克传记」,这本书没太多信息增量。 相比作者的《纳瓦尔宝典》,这本逊色很多。 但依然还是值得看看,比如书籍推荐部分,发现不少没读过的好书。

中文
6
30
119
13.5K
chaodi tang
chaodi tang@ChaodiT·
@frxiaobei counterpoint... CLI is the interface AND the infrastructure for AI agents. for LLMs, text in text out IS the native protocol. GUIs are the adaptation layer, not CLIs. thats why every AI tool is shipping CLI first now
English
0
0
0
33
凡人小北
凡人小北@frxiaobei·
每一轮 AI 叙事,都会把接口误当成基础设施。 MCP 是一次,CLI 现在是第二次。 真正的基础设施,从来都在接口下面那层。 Google、飞书、钉钉一定会做 CLI,因为他们必须给 agent 一个可控的入口。 同一件事,其实在云厂商那边也在发生,很多云服务也有一整套 CLI。理由也很简单,让你更高效地用他们的系统。 CLI在这里的角色: 1. 把已有系统开放给 agent 调度的更优路径 2. 提高使用效率而不是构建系统本身 但大多数人忽略了一点,你没有这个生态 CLI 是撑不起来的,最多算一个更高级一点的 shell。 要警惕一股脑的去构建 CLI 本身,就好像上了 CLI 就等于进入了 agent 时代,这其实是错位的。 对于绝大多数公司和人,盯着 Agent 构建生产力就可以了,接口只能改变接入的体验,Agent 才能决定生产力。
中文
23
16
94
42K
chaodi tang
chaodi tang@ChaodiT·
@levelsio the gap between "i have an idea" and "its live" keeps shrinking. soon theres gonna be zero excuses left lol
English
0
0
0
16
@levelsio
@levelsio@levelsio·
✨ To inspire more people to go build something now that we have AI to help us (especially non-tech people, cause I still know so many who are scared of building something): I added a [ BUILD IT ] button to IdeasAI.com It's like a mini-Lovable/Replit/v0: Any idea you see you like, you can click [ BUILD IT ], and it will use Opus 4.6 to build a landing page for it And then you can download the code it generated It's not a full startup of course, but a nice preview of what it can be, to give you an idea and inspire you to build it out further The code is live streamed also so you can see it being built 😊 Ironically this itself took me 1 hour to build with AI too Completely free and I pay for the tokens (please don't abuse it :D)
@levelsio@levelsio

✨ To prove my friend @StevieZollo (who's visiting me in Brazil) you don't need an idea, or even a lot of time these days to ship a little app that might make money I took the top idea from IdeasAI.com: "A startup that uses AI to generate personalized bedtime stories for kids based on their interests, family photos, and daily activities, delivered via a voice app. (❤️ 110 likes, 3 days ago)" So I copy pasted it into Claude Code and asked it to build it The first version of course didn't work, and I had to tell it some endpoints didn't work properly but then it fixed it The bedtime stories are generated by @xAI Grok 4.1, then sent to TTS with @GoogleAI Gemini and payment with @Stripe Checkout Total time from start to live: 24 minutes

English
262
47
749
275.3K
chaodi tang
chaodi tang@ChaodiT·
so now AI writes your code AND clicks around your screen to test it. genuinely curious how this compares to just writing tests though... feels like it could either save tons of time or go horribly wrong with no in between lol
宝玉@dotey

Claude Code 新增"电脑操控(computer use)"功能:写完代码直接帮你点鼠标测试 Anthropic 给 Claude Code 加了一个新能力:直接操控你的 Mac 桌面。写完代码之后,Claude 可以自己编译、启动应用、点击按钮、截图验证,整个流程不用你碰鼠标。 这个功能叫 computer use,目前是研究预览阶段,仅限 macOS,需要 Pro 或 Max 订阅。 具体能干什么?比如你让 Claude 写一个 macOS 菜单栏应用,它可以自己写 Swift 代码、编译、启动、逐个点击界面上的按钮,发现 bug 就修,修完再验证。再比如一个 Electron 应用的注册流程有问题,你只需要告诉 Claude 去测,它会自己打开应用、点击注册、逐屏截图。 安全机制上做了几层限制:每个应用需要单独授权,终端窗口不会被截图(防止 Claude 看到自己的输出),按 Esc 随时中断,同一时间只允许一个 Claude 会话控制屏幕。涉及终端、Finder、系统设置这类高权限应用时,会额外弹出警告。 启用方式是在 Claude Code 里输入 /mcp,启用 computer-use 服务器,首次使用时 macOS 会要求授予辅助功能和屏幕录制权限。 这个功能填补了一个明显的缺口:之前 Claude Code 能写代码、跑命令行,但涉及图形界面的操作就束手无策。现在等于把"写代码"和"测代码"串成了一个完整循环。对于做桌面应用、本地 Electron 应用、iOS 模拟器测试的开发者来说,省掉了手动验证 UI 的时间。 不过目前限制也不少:只支持 macOS,不支持 Linux 和 Windows;必须是交互式会话,不能用 -p 参数的非交互模式;Team 和 Enterprise 计划也暂时用不了。

English
1
0
2
72
chaodi tang
chaodi tang@ChaodiT·
@vista8 been thinking about something similar. like a personal agent that digests HN and PH overnight and gives you a 2min briefing in the morning. does anything like this exist already or are people still just scrolling manually?
English
0
0
0
183
向阳乔木
向阳乔木@vista8·
应该有一个agent社区,阅读讨论人关心的各种高质量信息。 比如huggingface上的今日热门论文,hacknews和producthunt上的热帖和产品。 然后我的agent把我可能感兴趣的精华部分带回来告诉我。
中文
10
1
25
9.3K
chaodi tang
chaodi tang@ChaodiT·
@vista8 honestly the underrated ones are fzf + ripgrep. once you get used to fuzzy finding everything you cant go back. also supabase cli if youre doing any backend stuff, saves so much time vs the dashboard
English
0
0
3
654
向阳乔木
向阳乔木@vista8·
必装的CLI有哪些? 目前装了Github、Vercel、飞书CLI、OpenCLI,好像已经差不多了?
中文
25
35
239
50.1K
chaodi tang
chaodi tang@ChaodiT·
@dotey wait so if you enable review gate, claude code and codex can just keep calling each other back and forth? how fast does that burn through credits lol
English
0
0
0
1.2K
宝玉
宝玉@dotey·
OpenAI 官方发布了一个 Claude Code 插件 codex-plugin-cc,让开发者可以直接在 Claude Code 里调用 Codex 做代码审查、对抗性审查,甚至把任务整个移交给 Codex 执行。 这件事有意思的地方在于:这是 OpenAI 主动把自己的工具送进竞争对手 Anthropic 的地盘。Claude Code 有自己的插件生态,OpenAI 这次正式以官方身份入场,把 Codex 包装成 Claude Code 工作流里的一个"随叫随到的第二意见"。 插件提供三个核心命令:/codex:review 跑一遍标准的只读代码审查;/codex:adversarial-review 做对抗性审查,专门挑战现有实现的隐藏假设,适合迁移、鉴权变更、基础设施脚本这类高风险操作;/codex:rescue 则直接把任务交给 Codex 接管,用于线程卡住或需要换个智能体重新来过的场景。 三个命令都支持后台运行,配合 /codex:status 和 /codex:result 管理。还有个可选的 review gate 功能,能让 Claude Code 在 Codex 审查完成前不退出,不过 Srivastav 提醒这可能导致两个智能体循环调用,快速烧掉使用额度。 技术上,插件通过本地 Codex CLI 和 app server 中转,复用已有的认证、配置和 MCP 设置,不额外起运行时。使用前提是有 ChatGPT 订阅(包括免费版)或 OpenAI API key,加上 Node.js 18.18 以上。
Vaibhav (VB) Srivastav@reach_vb

x.com/i/article/2038…

中文
76
349
2.1K
432.8K
chaodi tang
chaodi tang@ChaodiT·
this is already happening tbh. most internal tools at small companies are just claude + a spreadsheet now. the question is when does that replace paid SaaS
English
0
0
0
48
chaodi tang
chaodi tang@ChaodiT·
@sitinme wait so this is basically an open source devin competitor? curious how it handles real world codebases vs just benchmarks
English
0
0
0
37
sitin
sitin@sitinme·
LangChain 官方出了一个开源 coding agent —— Open-SWE。 定位很清晰:SWE-bench 类自动化编程 agent 的开源替代品。 核心特点: • 异步架构优先 — 不是简单的"读代码 → 改代码",而是能管理复杂的并发编程任务 • 基于 LangGraph 构建,状态机驱动的 agent 工作流 • 完全开源,可审计可修改 • 社区贡献友好,PR 流程完善 之前 SWE-Agent、Devin 这些要么闭源要么不够透明。Open-SWE 直接把底裤都脱了给你看。 做 AI coding agent 研究的,这个 repo 值得 fork。 🔗 github.com/langchain-ai/o…
sitin tweet media
中文
5
37
174
14.5K
chaodi tang
chaodi tang@ChaodiT·
@ashen_one been through most of these. product hunt and show HN are great for the initial spike but the traffic dies in like 2 days. reddit is honestly the most underrated one here for sustained users
English
0
0
0
35
ashen
ashen@ashen_one·
Places to post your app and get real users (free): 1. Product Hunt 2. Hacker News (Show HN) 3. Reddit 4. Indie Hackers 5. BetaList 6. Uneed 7. Peerlist 8. DevHunt 9. There's An AI For That 10. Futurepedia 11. AI Toolbox 12. Toolify 13. Ben's Bites 14. The Rundown AI 15. MicroLaunch I know this is a huge list, so don't you dare do it. Have your Agent do every single one of these for you.
English
30
19
237
12.3K
chaodi tang
chaodi tang@ChaodiT·
@starter_story the hard part is step 1 though. how do you actually identify which platforms are growing fast enough before everyone else notices?
English
0
0
0
67
Starter Story
Starter Story@starter_story·
$500K micro-saas built with ONE simple playbook: 1. Find a fast-growing platform 2. Identify the killer feature its missing 3. Build that feature
Starter Story tweet mediaStarter Story tweet mediaStarter Story tweet mediaStarter Story tweet media
English
26
14
210
12.2K
@levelsio
@levelsio@levelsio·
🎲 Clearbit just nuked their free logo service You could call it by for example: > logo.clearbit .com/microsoft .com To get Microsoft's logo What's sad is they didn't just 301 redirect it to another service, like Google, which means lots of sites that rely on it to show logos of companies (like many of my sites) now break They got acquired by Hubspot, so a cool fix for @dharmesh that I DM'd already would be to 301 it to Google's logo API: > https://s2.googleusercontent .com/s2/favicons?domain=microsoft .com&sz=128 Or DuckDuckGo's logo API: > https://icons.duckduckgo .com/ip3/microsoft.com.ico I love websites that offer a service and then when they abandon it, respect the web and somehow keep it going or 301 redirect it to keep the web functioning, because when you browse older sites on the web, everything is just broken because nobody ever maintains shit after they sell the company!
@levelsio tweet media
English
62
16
719
110.3K