编程 · 最新文章

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

Bun Blog·

Bun v1.1.44

AI 摘要Bun v1.1.44 fixes 43 bugs, with over 90% of Node.js' 'dns' module tests now passing in Bun. The release adds on-demand frontend application building in Bun.serve(), xxHash support in Bun.hash(), and the ability to read bun.lock using import, plus a --no-install flag for bunx. It also improves console.warn output and fixes bugs in Bun's S3 client, HTMLRewriter, and node:fs compatibility.

Julia Evans··Julia Evans

What's involved in getting a "modern" terminal setup?

AI 摘要The article explains what makes up a 'modern' terminal experience—features like infinite shell history, 24-bit color, good autocomplete, and clipboard integration—and why achieving one is harder than it seems, since popular defaults like bash, zsh, and vim require significant configuration. The author describes their own setup (fish shell, a 24-bit color terminal emulator, and neovim with base16 theming) that took 20 years to build, and suggests low-effort alternatives such as oh-my-zsh, kitty/alacritty/ghostty, or micro and helix. They conclude that terminal components interact in unexpected ways, so it is best to make changes slowly and accept that no configuration will ever be perfectly stable.

Clojure News·

Clojure Deref (Jan 9, 2025)

AI 摘要This article is the January 9, 2025 edition of the Clojure Deref, a weekly news roundup for the Clojure ecosystem. It highlights recent podcasts, videos, and blog posts covering topics such as visual tools workflows, reactive HTML with Signaali, building Vade Studio in Clojure, and speaker interviews for Functional Conf 2025. It also lists new library and tool releases this week, including vybe for game development, signaali, fast-edn, clj-async-profiler, TrueGrit, fulcro, and fs.

Bun Blog·

Bun v1.1.43

AI 摘要Bun v1.1.43 introduces first-class S3 support, HTML bundling, and new CLI features such as bun install --filter and bun add --peer. The release also improves Node.js compatibility, with 100% of node:path tests and 98% of node:zlib tests now passing, and adds new APIs like Bun.file(path).stat() and Bun.file(path).delete(). It additionally includes many reliability improvements and bugfixes.

Coding Horror··Jeff Atwood

Stay Gold, America

AI 摘要The author warns that the American Dream is under threat as housing, healthcare, and education costs soar while wealth inequality and low voter turnout reach historic levels. Drawing on his journey from a poor childhood in Virginia to co-founding Stack Overflow and Discourse, he announces eight $1 million donations to nonprofits and pledges half of his family's remaining wealth over the next five years to long-term efforts keeping the Dream accessible. He calls on all Americans to contribute to those in need, strengthen democratic participation through reforms like ranked choice voting, and 'stay gold' by sharing the American Dream with others.

Clojure News·

Clojure Deref (Jan 2, 2025)

AI 摘要This is the January 2, 2025 edition of the Clojure Deref, a weekly news and link roundup for the Clojure ecosystem. It highlights recent podcasts, videos, blog posts, and community projects, including the jank programming language, the 2024 CIDER survey, and a C compiler written in Clojure. The edition also lists numerous new library and tool releases, such as babashka 1.12.196, squint 0.8.132, fulcro 3.8.0, and telemere 1.0.0-RC2.

Svelte Blog·

What’s new in Svelte: January 2025

AI 摘要The January 2025 Svelte update highlights a busy month of new features across Svelte and SvelteKit, including new syntax like , the Spring and Tween animation classes, the $inspect.trace rune, and SvelteKit additions such as init/transport hooks and the $app/state module. It also announces the 10th Svelte Summit in Barcelona on May 8-9, 2025. The post wraps up with community showcases, learning resources, and a roundup of new libraries and tools built by the Svelte ecosystem.

Lea Verou··Lea Verou

Context Chips in Survey Design: “Okay, but how does it _feel_?”

AI 摘要The article chronicles the design journey behind 'context chips,' a survey UI innovation created for the State of HTML 2023 survey to solve the problem of collecting sentiment data alongside experience/awareness data with minimal user friction across 50+ feature questions. After several rejected alternatives (freeform comments, followups, sentiment radios), the author designed hover-revealed chips that let users express both experience and sentiment in a single click, a solution the team eventually implemented despite initial skepticism. The article also proposes 'mini-feature questions' combining checkboxes with context chips for older, lower-priority features to shorten the survey.

fasterthanli.me··Amos Wenger

Catching up with async Rust

AI 摘要The article marks the December 2023 arrival of async fn in traits in Rust, which the author describes as a minor miracle. Prior to this milestone, Rust had supported free-standing async functions since version 1.39, as well as async functions within impl blocks. However, async functions in traits remained unavailable until this recent development.

Bun Blog·

Bun v1.1.42

Fixes 1 regression from Bun v1.1.41 involving 'use strict' in empty files that impacted Prisma

Bun Blog·

Bun v1.1.41

AI 摘要Bun v1.1.41 fixes 12 bugs, including node:vm compatibility improvements for JSDOM and happy-dom, and a hoisting edgecase in bun install. Windows single-file executables now support custom icons and hiding the console, and Bun.build's throw: true option now throws an error instead of returning errors. Additionally, bun install gains support for --omit=dev|optional|peer options both on the command line and in .npmrc.

Clojure News·

Clojure Deref (Dec 20, 2024)

AI 摘要This article is the December 20, 2024 edition of Clojure Deref, a weekly news and link roundup for the Clojure ecosystem. It highlights recent podcasts, videos, blog posts, and community projects, such as interviews, SciCloj updates, and a Fibonacci function series. It also lists numerous new library and tool releases, including core.async 1.7.701, honeysql 2.6.1243, next-jdbc 1.3.981, fast-edn 1.1.0, and aleph 0.8.2.

Bun Blog·

Bun v1.1.40

AI 摘要Bun v1.1.40 fixes 14 bugs, including a regression in process.on from v1.1.39 and a BigInt issue in napi APIs that affected DuckDB. It also adds an install.saveTextLockfile option in bunfig.toml to make the text lockfile format the default, and fixes a package-lock.json migration bug related to changing npm URLs to git URLs. The release further improves the reliability of installing git/github dependencies and upgrades WebKit with security and reliability improvements.

Bun Blog·

Bun's new text-based lockfile

We're introducing a new text-based lockfile format for bun install. It's GitHub & git-friendly, and makes it easier for teams to migrate from npm, yarn, and pnpm to bun install

Bun Blog·

Bun v1.1.39

AI 摘要Bun v1.1.39 fixes 61 bugs and introduces bun.lock, a new text-based lockfile, while making cached bun install 30% faster. The release adds fetch() request body streaming, a native plugin API for Bun.build() with a Rust crate, and expect().toMatchInlineSnapshot() support. It also achieves 100% pass rates on Node.js string_decoder, punycode, and querystring tests, reduces WebSocket server memory usage, and includes a WebKit upgrade featuring Error.isError and faster String.prototype.at.

Marc Brooker·

Snapshot Isolation vs Serializability

AI 摘要The article explains the difference between snapshot isolation and serializability using a write skew example, showing that serializability requires checking read-write conflicts while snapshot isolation only checks write-write conflicts. Since read sets are typically much larger than write sets in OLTP applications, serializable isolation forces developers to carefully manage reads and worry about concurrency-related performance, whereas snapshot isolation minimizes the combined burden of anomalies and performance concerns. The author concludes that snapshot isolation with strong consistency is the right default for most applications, and that optimistic concurrency control (OCC) combined with MVCC is the best choice for most transactional workloads.