Kyle Zhang (@kyle7zhang) header
Kyle Zhang (@kyle7zhang) profile picture

温哥华 AI Builder, ex-Tencent

Joined November 2010
Photo by Kyle Zhang (@kyle7zhang)Photo by Kyle Zhang (@kyle7zhang)Photo by Kyle Zhang (@kyle7zhang)Photo by Kyle Zhang (@kyle7zhang)
Canada is pushing highly skilled people away with endless security screening.
Thousands of applicants are waiting indefinitely for their lives to begin in Canada becasue the endless background check backlogs. On July 31st, we stand together across Canada to say: NO MORE ENDLESS DELAYS! Support fairness. Support families.#IRCCCBCNews @CanBorder @csiscanada
1
85
stacked diff 确实一定程度上解决了当前 AI 一次修改代码太多,需要 PR review 的情况。人为拆多个 PR 很难规避依赖的情况
很多人不知道 Cursor 去年年底收购了一家叫做 Graphite 的公司,这家公司才是他们想要做也能够做 Git 和 GitHub 竞品的原因。 Graphite 的创始人是从 Facebook 出去的,最初的目的是做一套支持 stacked diff 的工具链,这是 Facebook 能够迅速迭代开发的原因之一。然而 GitHub 基于两个 branch 的 diff 创建一个 PR 的数据结构,导致不可能实现灵活的 stacked diff,Graphite 不得不引入隐含 branch 来解决这个问题。 graphite.com/guides/stacked-… 其实 Phabricator 早就解决了这个问题,基于两个 tag 创建 diff 就可以了,可惜它的开源版本已被放弃,现在只剩下 Facebook 内部魔改过的版本。GitHub 把自己绑死在了 Git 的对象模型和基于 branch diff 的数据结构上,导致它做 stacked PR 做了好几年都还只是内测,连公测都不开放。 github.github.com/gh-stack/ Git 的问题其实也不少。十年前 Facebook 一天就有几千个 commit,如果不进行优化的话每天上班跑 `git pull --rebase` 需要 30 分钟。Facebook 为了优化而魔改 Git,但 Git 拒绝了 Facebook 提交的优化,说「这是小众需求」。Mercurial 欢迎 Facebook 优化,Facebook 就把底层改为 Mercurial 了,上层依然是自己包装的、支持 stacked diff 的工具链。 如果觉得 Git 和 GitHub 已经成为了开发流程的障碍,有魄力的团队确实应该自己做一套全新的工具链。AI 快速迭代的需求肯定不仅仅是 stacked diff,他们能否抓住这个机遇,做出来满足未来流程需求的工具链,大家拭目以待吧。
1
85
恭喜 evan 大佬
I've left most of what I want to say in the VoidZero blog post. But worth repeating: Thank you @voidzerodev team for trusting me and joining me on this wild ride. I am very proud to have assembled such a talented team and even prouder of what we have built together. Thank you all our investors for believing in my vision, in particular @caseyaylward from @Accel who led both our Seed and Series A. Thank you the @vite_js community. Vite and VoidZero wouldn’t have come this far without your trust and support. We will continue building with all of you, together, in the open. And thank you to everyone that made this happen at @Cloudflare. Looking forward to working with you all! voidzero.dev/posts/voidzero-…
103
/goal 真的很好用。不管是 codex 还是 claude code。比较接近的替代了手写 Ralph loop
很开心向大家分享一下,这一年多以来最能够节省我时间的个人时尚单品: 1. --dangerously-skip-permissions 2. --dangerously-bypass-approvals-and-sandbox 3. /goal
123
CLI is better 是在他们之前产品提供已有能力的基础上😂,面向 customer 的产品一定不会是 CLI 的形式。 这样说只是因为他们在借用 CLI 去探索 coding agent -> general agent 的 best practice,然后 claude code 率先推出来了。而其他 gui 的试错成本会高很多
这就是bullshit,markdown看不过来你html就看的过来?而且claude吹了几个月的CLI is better不要了是吧🤪
119
🤣 正在做这个工具,好了,我的不用继续做了
发现一个很爽的工具 Paseo,做的事很简单:把 Claude Code、Codex、OpenCode 这些 coding agent 统一跑在一个地方,然后你手机、iPad、任何设备都能连上来用 我之前的痛点就是 agent 只能在跑它的那台机器上操作,现在开个 daemon 就行了,走端到端加密,在外面也能随时接着干活。 免费开源,agent 还是本地跑,你的 config 和 MCP servers 全都在。试了几天感觉完成度很高,推荐折腾 coding agent 的朋友看看。 paseo.sh
94
这个产品 idea 很棒。之前有一些 idea 就是受限于 app 无法接入 phone,没想到可以通过这种方式来解决。感谢分享
今天正式发布了我的第 13 个 vibe 产品 tuwa.ai 这款产品比较特殊,它是一个电话服务。准确来说,tuwa 是一个 AI 电话网络,连接着世界上超过 100 种不同语言的人们和互联网上的 agent。 任何人都可以不下载 tuwa 而使用它,你只需要拨打免费的转接热线电话 +1 888 886 2968,告诉它你需要打给哪个号码,tuwa 就会帮助你拨打对应的号码,你说自己的母语,对方听到的却是TA的母语,反过来也是一样。兼容任何电话,对方不需要安装应用。固话、手机,世界上任何一个角落,都可以。 tuwa 支持 100 多种语言的实时翻译,你甚至可以在打电话时随便切换语言和对方对话。除此之外,tuwa 还支持语音克隆,每一通电话,都会让你的 AI 语音听起来更像你。 当然,我也为它设计了方便的 web app,如果你想,可以不通过转接电话而使用 web app 拨打,并设置自己喜欢的声音,使用外呼 agent 拨打电话,连接自己的 agent(例如 openclaw 或者 codex/claude code)并让他们自由的呼入与呼出。 外呼电话 agent 是我最喜欢用的 tuwa 功能,只需要交待清楚事情,比如完成餐厅预订,它就会在你希望的时间主动拨打对方的电话,说明来意,达到目的,并记录和翻译所有对话内容。 tuwa 的使用和收费都很简单,每月免费额度,固定套餐,按需付费。 这个产品的命名灵感来自于日语的「通話 tsuwa」最初,我只是想设计一个能帮我预订餐厅的电话服务,但后来,我在 vibe 的过程中慢慢意识到,世界上仍然有很多人无法体验 AI 带来的变化与便利,而电话,是连接他们最简单与自然的方式。我希望 tuwa 能帮助外语普及率低,偏远地区和第三世界国家的人们体会到这一点。
98
因为换行策略会导致换行逻辑不同,且这并不是一个非常普遍的需求。 Intl Segmenter 是这个逻辑里最耗时且最复杂的部分。在 Intl Segmenter 之前,需要一个比较大的 Unicode Trie Map 来判断是否可以断行,还要兼顾性能问题。 其实用 canvas 渲染的那几家在线 doc 大部分都实现了类似的逻辑。
让Codex帮我重新实现了一下pretext的demo,然后看了一下它的代码,大概过程是这样的: 1. pretext 先测量文字,内部用浏览器的canvas.measureText()。 2. pretext 再做排版决策。layoutNextLine() / layoutWithLines() 返回“这一行是什么文本、宽度多少”。 3. 最后的绘制是,在 div 里,把 line.text 填进 textContent,然后浏览器用原生 DOM 文本渲染把它画出来。 球的物理碰撞也是先在外面算完了然后在做排版决策之前告诉它。 感觉这个API应该由浏览器提供,没想到以这种外挂的方式实现了。
1
103
给这个库点赞,让我想起了之前我们的 canvas 渲染项目在 Intl Segmenter 不是主流的情况下,也是按照类似的实现(算法和 cache),但是还需要加载一个 map 去判断可断点(基于 Unicode 判断,避免一些特殊字符或者 Emoji 被意外断开导致显示错误)。 用于排版展示的优化的想法很棒!
My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept): Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow
75
CLI 会消失,现在应该是为了关注编码生态的主要功能,把主流程跑通打磨好。现在 CLI 都有人用,说明使用的用户大概率是非常核心的高频使用者。 当使用反馈积累足够多时,说不定下一代编码 Editor 就到出来的时候了。
You’re unable to view this post because this account owner limits who can view their posts. Learn more
1
42
An incredibly valuable bundle. Definitely worth it!
You now get one free year of @cursor_ai, @v0, @Replit, @lovable, and @boltdotnew pro plans with an annual subscription to Lenny’s Newsletter. Yes, you read that right. A year free of the hottest AI tools in the world right now. This is in addition to the existing products you already get free with a yearly subscription: @NotionHQ, @Superhuman, @Linear, @perplexity_ai, and @meetgranola. These companies have never offered anything like this before. This is $15,000+ in value—and the nudge you needed to finally try out these cutting-edge tools. Learn more and get your codes here: lennysnewsletter.com/p/an-un… A huge thank-you to our amazing partners for making this possible 🫶
1
100
free
I interviewed over 70 backend engineers in the last 2 years. I created a Notion based "Learn Backend Development Pack V4" that contains a learning path to become a backend dev based on ONLY FREE resources. Retweet and reply with "free" and I'll DM it to you. (need to follow)
178
So nice
Paw — The most advanced API tool for Mac (REST & HTTP Client) paw.cloud/ · We're making a crazy Black Friday offer: Retweet to get a free Paw license (worth $49.99) 💰 · Or buy 50% from our website + all profits go to organizations fighting climate change 🌎
Video from my #io16 talk is up! Giving developers the knowledge they need to level up their accessibility game 💡 youtube.com/watch?v=2qjgxH38…
Replying to @foobartel
@foobartel Thanks for sharing, and wish any updates for server push research :)
1
Analyzing Apple's Statement on TSMC and Samsung A9 SoCs anandtech.com/show/9708/anal…
Replying to @hdngr
@hstnhdngr if @treehouse can provide more advance courses or topics in-depth, I think I got a bottleneck, and have no idea. thx
Replying to @Vultr
@Vultr Brilliantly Fast SSD Cloud Servers for just 0.007/hr in 14 Cities Very fast #vps goo.gl/ZLou61