编程 · 最新文章

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

Julia Evans··Julia Evans

Links to CSS colour palettes

AI 摘要After deciding to stop using Tailwind CSS for new projects, the author missed its convenient color palette and asked on Mastodon for alternatives. This post compiles links to their favorite palettes (such as uchū, flexoki, and reasonable colours) as well as other palettes, color palette generators, and color tools like colorhexa and oklch resources.

Julia Evans··Julia Evans

Testing Vue components in the browser

AI 摘要The author describes their approach to end-to-end testing of Vue components entirely in the browser without Node.js, using QUnit along with a custom mountComponent helper, SQL-based fixture data reset via a dev server endpoint, and a polling waitFor function to handle asynchronous rendering. They share practical challenges encountered along the way, such as identifying the right DOM conditions to wait for, dispatching the proper events when filling out forms, adding CSS classes for test targeting, and using Chrome's built-in code coverage tool. The experiment was enjoyable and left the author considering Testing Library and how to eventually integrate browser-based tests into CI.

Swift.org··Adam Fowler

What's new in Swift: April 2026 Edition

AI 摘要The April 2026 edition of 'What's new in Swift' highlights the 1.0 release of valkey-swift, a production-grade Swift client for Valkey (an open source Redis fork) built with Swift 6 and structured concurrency so that data races are caught at compile time. It also rounds up videos on Embedded Swift and concurrency, new package releases including IndustrialKit, swift-tar, and Xylem, and Swift Evolution news such as the FilePath proposal, the networking vision, UniqueBox, and custom test reflection. The digest closes with a note about updated content on the Swift.org community page, including a new 'How we work' section.

Swizec Teller·

Quick note on evals and putting AI in your resume

AI 摘要When reviewing candidates who list AI on their resumes, the author looks for whether they used evals to measure improvements, a filter that eliminates roughly 80% of engineers. This matters because AI systems behave stochastically—changes that improve results once may fail when repeated—so rigorous measurement is what separates engineers who can genuinely build useful AI products.

Svelte Blog·

What’s new in Svelte: May 2026

AI 摘要The May 2026 Svelte update highlights major SvelteKit improvements, including TypeScript 6.0 support, richer remote function transport, form default values, and several breaking changes to remote functions. The Svelte CLI (sv) now experimentally supports community add-ons and was split into separate sv and sv-utils packages, while Svelte itself gained new motion type exports. The post also showcases community-built apps, libraries, and learning resources, and notes that Svelte was featured in ThoughtWorks Technology Radar.

Marc Brooker·

It's time to be right.

AI 摘要Drawing on nearly 30 years of software experience, the author argues that the future opportunity for agentic AI in development and knowledge work will be constrained more by defect rate than by raw capabilities, using a framework of defect frequency versus defect severity to show who can benefit from agents in each scenario. They highlight AWS's work on agent correctness—including tools like Hydro, Cedar, Kiro, Strata, and AgentCore Policy—that prevent or eliminate whole classes of high-consequence defects. The author calls for industry-wide changes such as benchmarks that capture failure severity, end-to-end views of agent success beyond code patching, and a serious research program into agentic AI failure modes.

Josh W. Comeau··Josh W. Comeau

Scroll-Driven Animations

The new Animation Timeline API allows us to create dynamic scroll animations without any JavaScript! It’s honestly a very lovely API, and in this blog post, we’ll explore some of the super cool things we can do with it. Keep reading.

Clojure News·

Clojure Deref (Apr 28, 2026)

AI 摘要This weekly Clojure Deref roundup announces that the Clojure/Conj 2026 call for proposals is open (due June 14) for the September 30–October 2 conference in Charlotte, NC, notes that early bird and group tickets are on sale, and highlights the newly released Clojure Documentary. It also lists upcoming community events such as Babashka Conf and Dutch Clojure Days, links to recent podcasts and blog posts, and rounds up library and tool updates including stripe-clojure 2.3.0, calva 2.0.579, and datomic-pro 1.0.7622.

Swizec Teller·

AI now writes 97% of my code. Here's what I learned

AI 摘要The author was surprised to learn from Cursor's statistics that AI now writes 97% of their production code, a figure they admit matches their recent experience. Although they now work more as a manager than a hands-on coder, they still own high-stakes production features at a nearly billion-dollar company where some customers place six-figure orders in a single purchase. This underscores that their reliance on AI-generated code is happening in a serious, real-money environment rather than a small hobby project.

Gleam News··Louis Pilfold

JavaScript source maps

AI 摘要Gleam v1.16.0 has been released, introducing JavaScript source maps that enable runtime debugging with proper stack traces and breakpoints, along with package-level fault tolerance so compilation continues past broken modules. The release also brings faster string pattern matching on the JavaScript target (nearly 30% faster for some packages), new compiler warnings and error messages, and multiple language server improvements such as code actions for anonymous functions, function extraction, and type hole replacement.

Ben Kuhn··Ben Kuhn

You should try contra dancing

AI 摘要The author makes an enthusiastic case for contra dancing, arguing that its unique combination of physical joy, flow, and community makes it one of the easiest and most rewarding dances for beginners—unlike most dance forms, you can have fun after just a half-hour beginner lesson. Drawing on their own story of reluctantly trying it in middle school and getting hooked after a supportive first experience, the author describes how contra's welcoming culture, live music, and emphasis on shared flow make it a joyful antidote to the isolation and perfectionism of everyday life. The piece closes with practical tips for newcomers, including where to find dances and what to expect at a first event.

TypeScript Blog··Daniel Rosenwasser

Announcing TypeScript 7.0 Beta

AI 摘要TypeScript 7.0 Beta has been announced, marking a major milestone as the compiler has been ported to Go, making it roughly 10 times faster than TypeScript 6.0 while preserving identical type-checking semantics through a methodical port rather than a rewrite. The beta can be installed via npm as @typescript/native-preview (using the tsgo entry point), runs side-by-side with TypeScript 6.0 via the new @typescript/typescript6 package, and has already been validated in large production codebases at Microsoft and partner companies. The release also introduces configurable parallelization options (--checkers, --builders, --singleThreaded), adopts TypeScript 6.0's new defaults and hard errors for deprecated features, and revamps JavaScript support for more consistent analysis.

Baby Steps·

Symposium: community-oriented agentic development

AI 摘要The author announces the first release of the Symposium project and its inclusion in the Rust Foundation's Innovation Lab. Symposium aims to let the Rust community improve agentic development by allowing crate authors to distribute skills, MCP servers, and other extensions alongside their code, which the tool then installs automatically based on your dependencies. This post explains the author's personal motivation for working on Symposium, complementing Jack Huey's announcement post on the main Symposium blog.

DHH··David Heinemeier Hansson

Celebrating computers at Omacon

AI 摘要The author recounts Omacon, a gathering of 130 people in New York celebrating a shared love of computers and the Omarchy Linux distribution, held in an intimate venue provided by Shopify. They describe the irreplaceable value of in-person connection, including finally meeting long-time online collaborators and Omarchy users from diverse backgrounds. The event recharged the author's motivation to keep improving the distro and to help more kindred spirits embark on their own Linux journey.

Clojure News·

Clojure Deref (Apr 21, 2026)

AI 摘要This edition of the Clojure Deref weekly news roundup announces the release of the Clojure Documentary on YouTube, along with a Q&A session and accompanying show notes. It also highlights the upcoming Clojure Community Check-In on April 25-26, Clojure/Conj 2026 in Charlotte, NC (September 30 - October 2), and other events such as Babashka Conf and Dutch Clojure Days. The post rounds up recent podcasts, blog posts, new libraries, and updates across the Clojure ecosystem.