最新文章

今日新增 413 篇 · 共 7,436 篇 · 来自 241 个博客

Josh W. Comeau··Josh W. Comeau

Data Binding in React

As developers, we don't like working with forms, but they're a critical part of most web applications! In this tutorial, you'll learn exactly how to wire up all of the different form controls in React. Never forget how to data-bind a checkb

Raph Levien·

Requiem for piet-gpu-hal

AI 摘要The article explains why the Vello 2D GPU renderer (formerly piet-gpu) abandoned piet-gpu-hal, its hand-rolled GPU abstraction layer, in favor of wgpu and the WebGPU/WGSL ecosystem. Although the custom layer achieved goals like precompiled shaders (saving binary size and startup time) and access to advanced GPU features such as subgroups and descriptor indexing, wgpu offers a better developer experience, community tooling, and web deployment. The author reflects on lessons learned, notes WebGPU pain points, and says the roadmap may eventually revisit precompiled shaders and native back-ends to regain those lost capabilities.

Marc Brooker·

Erasure Coding versus Tail Latency

AI 摘要The article argues that erasure coding—breaking data into M parts that can be reconstructed from any k of them—is an underused technique for reducing tail latency in cache and storage systems, offering more flexibility than all-or-nothing hedged requests. Beyond significantly reducing tail latency, it also improves median latency (by about 20% in the author's system), eliminates the availability impact of single node failures, and enables flexible load spreading across nodes. The author recommends considering erasure coding when building latency- or availability-sensitive systems, noting it is ubiquitous in storage and networking but rarely discussed more broadly.

Jay Alammar·

Remaking Old Computer Graphics With AI Image Generation

AI 摘要The author recounts using AI image generation tools—Stable Diffusion (via Dream Studio), Midjourney, and DALL-E—to recreate the intro cinematic of the 1987 MSX video game Nemesis 2 in higher-resolution graphics. He describes the prompting process and the challenges encountered, such as reproducing specific poses, consistent characters, and readable text, which he addressed through prompt engineering, in-painting, outpainting, and manual Photoshop edits. He concludes with a comparison of the three services, praising Dream Studio's workflow and API, Midjourney's superior image quality, and DALL-E's outpainting capabilities.

Svelte Blog·

What’s new in Svelte: January 2023

AI 摘要This January 2023 update covers the release of SvelteKit 1.0, detailing new features like improved Storybook/Histoire support and vitePreprocess as the default, along with breaking changes such as disallowed unknown exports, updated fail/ActionFailure APIs, and a move to Vite 4. It also highlights new Svelte compiler features (direction for custom transitions, @const function updates, and the new svelte/elements type definitions), updated language tool requirements (Node 16, TypeScript 4.9, Svelte 3.55), and a community showcase of apps, learning resources, and libraries such as Konsta UI and tRPC-SvelteKit.

The Vue Point·

2022 Year In Review

AI 摘要In its 2022 year in review, the Vue team highlights switching to Vue 3 as the default version in February, nearly 200% growth in Vue 3 NPM usage, improved tooling through Vite and Volar 1.0, and ecosystem milestones like Nuxt 3 and Vuetify 3 reaching stability, while Vue 2.7 backported key Vue 3 features for users staying on Vue 2. Looking ahead to 2023, the team plans smaller, more frequent minor releases with no big breaking changes, continued experimentation with Vapor Mode—an opt-in compilation strategy offering better performance and smaller bundles—and reminds users that Vue 2 end-of-life arrives in one year. Several in-person Vue conferences are also scheduled worldwide throughout 2023.

Raph Levien·

Raph’s reflections and wishes for 2023

AI 摘要The author reflects on 2022 and sets goals for 2023, centered on his ambitious portfolio of Rust UI infrastructure projects. His biggest priority is shipping Vello, a GPU-accelerated 2D renderer (formerly piet-gpu), while Xilem, a reactive UI architecture he believes is the best for Rust, will depend largely on community contributions. He also plans to continue curve and GPU compute research, but explicitly rules out writing a shader language or academic papers, preferring his blog and open source work as his main channels for sharing results.

Ethan Marcotte··Ethan Marcotte

Notes from a dining room chair.

AI 摘要The author reflects on getting stuck while writing long pieces about topics they care deeply about but lack direct experience with. Drawing on Anne Lamott's 'Bird by Bird,' they embrace her advice that writing 'shitty first drafts' is the only way to break free—letting ideas pour out freely and imperfectly so that something better can later emerge. The author describes repeating the phrase like a mantra while pushing through the work, typing onward.

Joel on Software··Joel Spolsky

Progress on the Block Protocol

AI 摘要The article argues that the web has long lacked meaningful structure, and that adding semantic markup will only become widespread if it is easier than not doing it. The author proposes the Block Protocol, an open, free standard for creating reusable, semantically-rich blocks (like 'book' or 'address') that can work across any conforming text editor, rather than waiting for individual vendors to build every block type. As a first step, the team has built a WordPress plugin—available in February alongside Block Protocol spec version 0.3—that lets anyone embed these blocks easily, leveraging WordPress's 43% share of the web to make the ecosystem immediately useful.