TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Explain stream processing watermark with a react comp in docs, by AI

1 点作者 jovezhong2 个月前
We all know AI can generate code and content. (maybe just me), I just realized AI can also generate code *for* documentation, to create easy-to-understand and interactive visualization&#x2F;tool to better explain complex mechanism.<p>For example, in the stream processing space, watermark is not quite easy to understand. In the past I have a few blogs&#x2F;talks about this but with Claude or any other capable model, you can ask AI to create an interactive demo with configurable settings, random data and frame-by-frame explanation.<p>Live Demo: <a href="https:&#x2F;&#x2F;docs.timeplus.com&#x2F;understanding-watermark#try-it-out" rel="nofollow">https:&#x2F;&#x2F;docs.timeplus.com&#x2F;understanding-watermark#try-it-out</a> Source Code (80% AI,20% me): <a href="https:&#x2F;&#x2F;github.com&#x2F;timeplus-io&#x2F;docs&#x2F;blob&#x2F;main&#x2F;src&#x2F;components&#x2F;TimeplusWatermarkVisualization.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timeplus-io&#x2F;docs&#x2F;blob&#x2F;main&#x2F;src&#x2F;components...</a><p>docusaurus and other docs framework supports React components for a long time, but only experienced frontend developers can build such interactive demo. Now with AI, you can explain the concepts to the AI and let it create the initial interactive tool. For sure there will be many issues in the initial code. You have to keep correcting them, giving then suggestions and refine or even update the code by yourself. I spent ~4 hours working with AI to refine this tool. If I wrote from scratch I probably need 20+ hours

暂无评论

暂无评论