Web Developer,

Joined September 2023
Daryl Z retweeted
AK 大神最新开源: nanochat!开源后10小时 X 刷屏,Github 4.2k ✨,膜拜!AI 最顶尖专家,把最顶尖训练技术,平民化,开源分享,太值得尊敬了! 8000 行代码、4小时、100美元训练成本,从预训练到微调全流程搞定,太离谱了! 另外,AK 分享了他的编码经历,几乎全部手写,只借住一点 Tab 自动补全,不用 Coding Agent,好吧,大神的代码,AI 搞不定 😁
Excited to release new repo: nanochat! (it's among the most unhinged I've written). Unlike my earlier similar repo nanoGPT which only covered pretraining, nanochat is a minimal, from scratch, full-stack training/inference pipeline of a simple ChatGPT clone in a single, dependency-minimal codebase. You boot up a cloud GPU box, run a single script and in as little as 4 hours later you can talk to your own LLM in a ChatGPT-like web UI. It weighs ~8,000 lines of imo quite clean code to: - Train the tokenizer using a new Rust implementation - Pretrain a Transformer LLM on FineWeb, evaluate CORE score across a number of metrics - Midtrain on user-assistant conversations from SmolTalk, multiple choice questions, tool use. - SFT, evaluate the chat model on world knowledge multiple choice (ARC-E/C, MMLU), math (GSM8K), code (HumanEval) - RL the model optionally on GSM8K with "GRPO" - Efficient inference the model in an Engine with KV cache, simple prefill/decode, tool use (Python interpreter in a lightweight sandbox), talk to it over CLI or ChatGPT-like WebUI. - Write a single markdown report card, summarizing and gamifying the whole thing. Even for as low as ~$100 in cost (~4 hours on an 8XH100 node), you can train a little ChatGPT clone that you can kind of talk to, and which can write stories/poems, answer simple questions. About ~12 hours surpasses GPT-2 CORE metric. As you further scale up towards ~$1000 (~41.6 hours of training), it quickly becomes a lot more coherent and can solve simple math/code problems and take multiple choice tests. E.g. a depth 30 model trained for 24 hours (this is about equal to FLOPs of GPT-3 Small 125M and 1/1000th of GPT-3) gets into 40s on MMLU and 70s on ARC-Easy, 20s on GSM8K, etc. My goal is to get the full "strong baseline" stack into one cohesive, minimal, readable, hackable, maximally forkable repo. nanochat will be the capstone project of LLM101n (which is still being developed). I think it also has potential to grow into a research harness, or a benchmark, similar to nanoGPT before it. It is by no means finished, tuned or optimized (actually I think there's likely quite a bit of low-hanging fruit), but I think it's at a place where the overall skeleton is ok enough that it can go up on GitHub where all the parts of it can be improved. Link to repo and a detailed walkthrough of the nanochat speedrun is in the reply.
Daryl Z retweeted
感谢推荐🌟
很多开发者为了控制APP的体积,都会特意对所有图片资源进行压缩,@okooo5km 开发的 Zipic 就是一个非常好用的工具,基本我每天都在使用。交互操作也是非常简单快速,直接把要压缩的图片拖拽到app窗口中即可。非常好的一款产品,推荐大家去使用~
1
1
5
上推 1 年多,认识了 2 个优秀的开发者和他们开发的 Mac 软件 1️⃣ Zipic:最好用的图片压缩软件,开发者 @okooo5km 2️⃣ ScreenSage Pro:最好用的录屏录制软件,开发者 @s1ntone 视频使用 ScreenSage Pro录制,演示 Zipic 的图片压缩功能,动画真好看
Just you, your keyboard and your coding sins... ⌨️ GitType — Turn your own code into typing challenges. 🔥 Live WPM, accuracy & consistency metrics 🎮 Multiple game modes + custom difficulty 🦀 Written in Rust & built with @ratatui_rs ⭐ GitHub: github.com/unhappychoice/git… #rustlang #ratatui #tui #productivity #gamedev #typing #keyboard
Daryl Z retweeted
SwiftBits,一共9个效果,全部开源。期待你们做出牛逼的登录、内购、特殊UI。另外插播:目前chat0 IM 项目正在招聘go后端:ws,kafka,pgsql,docker compose,k8s,graph。远程工作,薪水丰厚。要求干过大型高并发IM或Agent项目。不怕从0彻底重构IM的底层逻辑。介绍成功3000元现金红包。
Daryl Z retweeted
大学计算机专业的课程里,学习编译原理时,大部分都是理论知识,想要真正理解编译器是如何工作的,还得动手写一个才行。 今天在 GitHub 上看到,一个来自北京理工大学的完整编译原理课程设计项目:BIT-compiler。 提供了从零开始用 Java 实现 C 语言编译器的完整学习路径,真正动手实践掌握编译器核心原理。 从词法分析、语法分析到中间代码、汇编输出全流程覆盖,而且支持变量作用域、函数调用等复杂语法, GitHub:github.com/cangtianhuang/BIT… 主要内容: - 完整的编译器实现,支持变量赋值、条件判断、循环控制等 C 语言特性 - 8 个循序渐进的实验,涵盖词法分析、语法分析、语义分析全过程 - 详细课件和实验报告,清晰展示每个阶段的设计思路 - 基于 x86 架构的寄存器管理和汇编代码生成 - 全套学习资料,包括 PPT 课件和实验指导文档 - 渐进式开发过程,可以看到编译器是如何一步步完善的 对想要系统了解编译器工作机制的开发者来说,这份课程非常适合收藏学习。
Daryl Z retweeted
在日常工作中,技术文档、需求说明、会议纪要等等 Word 文档可谓是无处不在。 但对经常在终端工作的开发者来说,每次查看文档都要切换到桌面打开笨重的 Office 工具,挺麻烦的。 最近 GitHub 上诞生了首个专为终端设计的 Word 文档查看器:doxx,不再需要 Microsoft Word 了。 基于 Rust 开发,启动快内存占用低,同时保留了文档的完整格式和表格结构,还提供了搜索、导航和多格式导出等实用功能。 GitHub:github.com/bgreenwell/doxx 主要功能: - 终端中完美渲染 Word 文档,支持格式和颜色保留 - 智能表格显示,自动对齐和专业边框样式 - 交互式导航界面,支持大纲视图和全文搜索 - 多格式导出功能,可转换为 Markdown、CSV、JSON - 剪贴板集成,直接复制内容到其他应用 - 图像支持(开发中),在支持的终端中显示图片 提供预编译包下载,也可以通过命令行安装,支持 Windows、macOS 以及 Linux 系统。
3
81
309
Daryl Z retweeted
在 GitHub 上发现一个堪称 “摸鱼神器” 的终端电子书阅读器:Lue,界面看起来就像在敲代码,实际却在上班看小说。 支持 EPUB、PDF、TXT 等多种格式,还自带 TTS 语音朗读功能,支持 100+ 种语言朗读。 而且界面简洁完美融入终端,同时支持快捷键操作,可轻松上下翻页。 GitHub:github.com/superstarryeyes/l… 主要功能: - 支持 EPUB、PDF、DOCX 等多种电子书格式 - 内置 TTS 语音朗读,可以离线听书 - 高颜值的终端界面,完美伪装成工作状态 - 自动保存阅读进度,随时继续阅读 - 提供快捷键导航与进阶阅读控制 - 支持离线语音朗读,无需联网使用 跨平台支持 macOS、Linux、Windows,通过 pip 安装后即可开始使用。
Daryl Z retweeted
今天在逛 GitHub 的时候,偶然发现了一个相当惊艳的项目:TinyLisp,仅用 99 行 C 代码就实现了一个完整的 Lisp 解释器。 在这 99 行代码中包含了 21个内置函数、垃圾回收机制和 REPL 交互环境,甚至还能在1980年代的掌上电脑上运行。 GitHub:github.com/Robert-van-Engele… 主要特性: - 仅 99 行 C 代码实现完整 Lisp 解释器 - 支持函数式编程、闭包、宏等高级特性 - 内置简单垃圾回收机制和 REPL 环境 - 配有详细技术文章解释实现原理 - 多个优化版本适应不同性能需求 - 能在 Sharp PC-G850 等古董设备上运行 只需一行命令即可编译运行,该项目适合想深入理解编程语言实现原理的开发者学习。
7
55
220
Daryl Z retweeted
在网上看到一本专为程序员编写的入门机器学习书籍:《The Mechanics of Machine Learning》。 该书籍作者 Jeremy 曾连续两年在 Kaggle 竞赛中夺冠,全书主要通过直白的语言和实战代码,带我们一步步掌握机器学习核心方法。 在线阅读:mlbook.explained.ai 主要内容: - 机器学习核心工作原理,从零开始系统讲解 - 随机森林回归和分类器的详细实现 - 纽约公寓租金预测等真实项目案例 - 数据探索、清洗和特征工程完整流程 - NumPy、Pandas 等工具的实战应用 - 模型训练、验证和测试的最佳实践 目前免费在线阅读,想快速掌握机器学习实战技能的程序员,该书值得一看。
9
150
537
Daryl Z retweeted
Introducing Tidewave Web for Rails and Phoenix: a coding agent that runs in the browser alongside your web application, with full page and code context. Tidewave deeply integrates with your stack, from the database to the UI, making AI development more seamless and efficient.
Daryl Z retweeted
Reduced latency and added more colors. Loads 2x faster now and has 1.5x more particles.
Daryl Z retweeted
你是否梦想过拥有一个赛博生命(网络老婆/老公、数字桌宠),或者能与你玩耍和交谈的 AI 伴侣? 现在通过 Project AIRI 开源项目,可以轻松构建一个能陪我们聊天、玩游戏,甚至看起来很萌的 AI 虚拟伴侣。 基于 Live2D、VRM 等模型,实现了有温度的聊天对话,还能陪玩 Minecraft、Factorio 等游戏,也可以作为桌宠陪伴着我们。 GitHub:github.com/moeru-ai/airi 主要特性: - 支持 Live2D 和 VRM 虚拟形象,自动眨眼和表情动画 - 能玩 Minecraft、Factorio 等游戏,真正的 AI 游戏伙伴 - 集成语音识别和合成,支持自然语音交流 - 兼容 30+ 种 LLM 服务,包括 OpenAI、Claude、国产大模型等 - 支持 Discord、Telegram 等平台聊天集成 - 基于 Web 技术,可在浏览器、桌面和移动设备运行 克隆代码后运行 pnpm dev 即可体验,也可以在提供的在线 Demo 试玩。
Daryl Z retweeted
Not sure why but we have lots of new followers! FFmpeg makes extensive use of hand-written assembly code for huge (10-50x) speed increases so we are providing assembly lessons to teach a new generation of assembly language programmers. Learn more here: github.com/FFmpeg/asm-lesson…
Daryl Z retweeted
旅行途中,也忘不了 Claude Code 設定遠端控制,便能繼續工作 1. 在家中的 Mac 安裝好 Claude Code 2. 使用 Tailscale 建立 VPN 3. 安裝 VibeTunnel 同步網頁及終端 4. 通過瀏覽器操作家中的終端 5. 能使用 MacBook 時,再使用 Screen Sharing 接到家中測試功能 以上流程特別適合 iOS app 開發
Daryl Z retweeted
画了一些近未来高科技武器草图展示 这个风格代码在搭配合适的草图提示词之后效果更好,提示词放下面了
--sref 2007748773 真是神仙风格代码
Daryl Z retweeted
推荐一些大模型相关的技术Blog,基本上每篇我都必看。 github.com/ninehills/blog/is…
Daryl Z retweeted
高认知的环境中,表达你的真诚。低认知的环境中,展示你的强大。
45
239
1
1,622