编程 · 最新文章

今日新增 30 篇 · 共 2,701 篇 · 来自 79 个博客

Scott Hanselman·

Migrating a Synology NAS to a UniFi UNAS Pro 8 with Robocopy, SMB Multichannel, and Surprising Performance Traps

AI 摘要The author documents migrating data from an aging Synology NAS to a new UniFi UNAS Pro 8 using Robocopy over SMB, encountering failures caused by NTFS Alternate Data Streams that were resolved with the /COPY:DATX flag to skip them. Performance tuning revealed several surprising traps: the /Z restartable flag dramatically slowed copies, multithreading (/MT) helped only modestly for many small files, and the /J unbuffered I/O flag hurt SMB-to-SMB transfers despite being recommended for large files. Finally, SMB Multichannel allowed Windows to aggregate all four 1 GbE ports on the Synology, revealing the old NAS was faster than expected—the author concludes that Robocopy switches describe behavior rather than guaranteed performance gains.

Murat Demirbas··Murat

Thoughts on LLMs

AI 摘要The author, a distributed systems researcher, compiles an index of their many blog posts about LLMs from the past few years, along with pieces on the intersection of AI and systems research. Their long-held verdict is that LLMs 'excel at high-throughput mediocrity'—producing fast, tireless output that impresses non-experts but only seems mediocre to those with real expertise in a subject. They argue that LLMs are best used as tools for mundane, low-stakes tasks, freeing time and energy for work that actually matters, and note their own obsession with the topic spiked after agentic tools improved in late 2025.

Register Spill··Thorsten Ball

Joy & Curiosity #96

AI 摘要In this newsletter edition, the author reflects on how once-institutional pillars of a software developer's life—GitHub, StackOverflow, TDD, two-week sprints, and text editor debates—have rapidly dissolved in importance over the past two years due to AI. He then shares a curated roundup of links and commentary, covering Stripe's $7.5 billion acquisition of OpenRouter, GitHub's massive scaling challenges with billions of monthly commits, the idea of AI agents as ultimate 'tactical tornadoes,' tokens as a universal medium of exchange, and various essays on software performance, entrepreneurship, and writing.

Ned Batchelder··Ned Batchelder

Micro language implementation: Calcium

AI 摘要The author introduces Calcium, a tiny language implementation built to demonstrate how languages like Python work, containing a tokenizer, parser, AST, compiler, bytecodes, and execution engine in about 300 lines of code. It was created to help explain that Python is both compiled and interpreted, since Python code compiles to bytecode rather than native CPU instructions. The author also suggests it could serve as a simple starting point for others wanting to experiment with language implementation.

Swift.org··Doug Gregor

Embedded Swift Improvements Coming in Swift 6.4

AI 摘要The Swift 6.4 release brings several improvements to Embedded Swift, a subset of Swift designed for low-resource environments like microcontrollers. Language features added include generalized support for existential (any) types including Any, untyped throws, and full metatype support, while library improvements add floating-point string parsing and concurrency error handling with throwing tasks. Developers can try these features today via Swift development snapshots, with sample projects available in the Swift Embedded Examples repository.

Bun Blog·

Bun 1.4

AI 摘要Bun 1.4 is a major release that rewrites the runtime in Rust and adds built-in headless browser automation through Bun.WebView, alongside new APIs such as Bun.Image, Bun.markdown, JSON5, JSONL, Terminal, and cron. It also achieves Node.js 26.3.0 compatibility with 1,517 newly passing tests, introduces parallel test and run support, Windows ARM64 support, and an opt-in global virtual store enabling installs up to 7× faster.

Gleam News··Louis Pilfold

Help from the Github Security Lab

AI 摘要The Gleam project participated in the 4th GitHub Secure Open Source Fund, which provided a 3-week security training program, a 12-month engagement, and $10,000 in sponsorship, and it turned out the project was already in an excellent security position with no vulnerabilities uncovered. Key takeaways include the value of expert guidance in converting security unknowns into knowns, the importance of evidencing security through policies, documentation, and compliance frameworks rather than just being technically secure, and the striking cost-effectiveness of investing in open source security across the fund's 50 projects.

Stefan Judis··Stefan Judis

Web Weekly #198 (#blogPost)

AI 摘要This edition of the Web Weekly newsletter covers a variety of web development topics, including a new experimental Git history command, CSS element states and gap decorations, Edge's network efficiency guardrails, and an explainer on Chrome's performance profiler. It also features resources on cookie-less browser fingerprinting, image overflow handling, newly baseline-available features like Array.fromAsync(), AVIF, and :has(), plus recommended tools and projects. The issue closes with a personal reflection on the difficulty of maintaining adult friendships as the author turns 41.

Register Spill··Thorsten Ball

Joy & Curiosity #95

AI 摘要In this newsletter issue, the author describes shipping a wide range of features, fixes, and even an easter-egg game entirely remotely using the Amp agent in 'orbs,' arguing that local development environments are no longer necessary since agents can prove their work, help with code review, and iterate on design via dictation and screenshots. He also promotes a new in-person episode of the 'Raising An Agent' podcast, videos explaining why orbs aren't just VMs and how his team pushes straight to main while maintaining SOC2 compliance. The issue closes with a curated list of links and recommendations, including articles on stealing LLM reasoning traces, Craig Mod's writing on AI tools, font history, Rust job openings, and various videos.

Brett Cannon··Brett Cannon

What's missing to have reproducible builds on PyPI

AI 摘要The article argues that reproducible builds would strengthen Python's secure supply chain by allowing third parties to verify that distributions match their source code and detect tampering, citing SolarWinds as an example. What's missing includes recording the source code location in distribution metadata and support for software bills of materials (SBOMs) in sdists, which—unlike wheels—lack a place to store such data, though build backends could theoretically record build environments automatically without extra effort from distribution producers. The author also proposes that trusted verifiers could report successful reproductions to PyPI so users could see when a distribution was independently verified, framed as a perk rather than a requirement.

Swizec Teller·

Stop burning tokens on code review

AI 摘要The author describes experimenting with ways to let humans and AI agents ship code quickly and safely, and concludes that custom linters are an effective solution. They argue that as engineering teams produce more code than ever, fast and cheap guardrails and feedback loops are essential, applying equally to agents and human developers.

Tom MacWright··Tom MacWright

Technology optimism hour

AI 摘要This article celebrates positive developments in technology, highlighting TypeScript 7's rewrite in Go for dramatically faster type-checking and its newfound support for the Language Server Protocol, as well as the author's enthusiasm for the Effect ecosystem as a safer alternative to fragmented NPM micro-modules. It also praises Bluesky and Mastodon for proving decentralized social networks can be genuinely popular and user-friendly, notes the mainstream success of secure messaging platforms like Signal and iMessage over insecure SMS, and points out that slower hardware upgrade cycles mean less e-waste and churn.

Trey Hunner··Trey Hunner

Reorganizing Python's sys module

AI 摘要The author presents a thought experiment on reorganizing Python's sys module—which functions as a 'junk drawer' with 115-121 attributes—into nine hypothetical submodules such as sys.cli, sys.imports, sys.io, sys.memory, and sys.runtime. They demonstrate a proof-of-concept called 'newsys' that uses module-level __getattr__ and __setattr__ tricks (via a ModuleType subclass) to keep old flat names like sys.stdout synchronized with the nested structure. Ultimately, the author concludes that such a refactoring would likely never happen due to enormous backwards-compatibility challenges, framing it not as a serious proposal but as a practical lesson that submodules can help tame overgrown utils-style modules.

Svelte Blog·

The SvelteKit 3 Release Candidate is here

AI 摘要SvelteKit 3 has entered the Release Candidate phase, introducing several breaking changes ahead of an imminent stable release, with an automated migration tool available to help upgrade existing apps. Key changes include configuration moving into vite.config.ts, the $lib alias replaced by Node subpath imports (#lib), simplified TypeScript configuration, improved service workers, explicit type-safe environment variables, and comprehensive error handling now that Svelte 5 is required. SvelteKit 3 also requires Vite 8 for faster Rolldown-based builds, handles shallow routing via goto, and keeps the eagerly awaited remote functions feature behind an experimental flag as the team solicits community feedback.