最新文章

今日新增 456 篇 · 共 7,522 篇 · 来自 241 个博客

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.

Bartosz Ciechanowski·

Moon

AI 摘要The Moon is Earth's closest celestial neighbor, distinguished by its ever-changing yet dependable cycle of light and darkness in our skies. The article explains the Moon and its orbital path around our planet, inviting readers to experience this journey first-hand through interactive demonstrations available on the website.

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.

Julia Evans··Julia Evans

"Rules" that terminal programs follow

AI 摘要The article describes a set of unwritten, descriptive 'rules' that terminal programs tend to follow despite there being no formal standards for their behavior, such as Ctrl-C quitting noninteractive programs, pressing q exiting TUIs, Ctrl-D exiting REPLs, sticking to 16 ANSI colors, mimicking readline keybindings like Ctrl-W deleting the last word, disabling colors when output goes to a pipe, and using '-' to represent stdin/stdout. The author explains that many of these conventions aren't laws of nature but are explicitly implemented by each program, often mimicking default OS behavior in cooked mode. Learning these rules took years of subconscious pattern recognition, and the goal of writing them down is to help others understand what behavior to expect from terminal programs and to more easily categorize exceptions.

Clojure News·

Clojure Deref (Dec 12, 2024)

AI 摘要This article is the December 12, 2024 edition of the Clojure Deref, a weekly news and link roundup for the Clojure ecosystem. It highlights recent podcasts, videos, and blog posts—including the Clojurists Together 2025 long-term funding announcement, the State of ClojureScript 2024 survey, and several ClojureDart experience reports—along with new releases of libraries and tools such as uix 1.3.0, pg2 0.1.23, cljstyle, and basilisp.

Bits about Money··Patrick McKenzie (patio11)

Debanking (and Debunking?)

AI 摘要This article responds to Marc Andreessen's recent claims that 'debanking'—the involuntary closure of bank accounts—is wielded as a political weapon, drawing on the author's own experiences of being debanked twice. It explains that most account closures result from banks' risk tolerances, operational costs, and regulatory obligations like AML compliance policies rather than political persecution, and clarifies industry terminology such as offboarding and derisking. The author notes that while the debate overfocuses on crypto, certain high-risk sectors like money services businesses and crypto firms do face disproportionate banking friction due to their classification as high-risk activities.

Robin Rendle··Robin Rendle

Code shufflin’

AI 摘要The author, who describes themselves as able to 'program' but not truly 'engineer,' reflects on their complicated relationship with coding—jealous of programmers' problem-solving power while knowing their own limits lie in hacking ideas together and spotting sloppy code rather than crafting it. After years away, they've returned to code at Retool to refactor icons, rediscovering the comfort of untangling a large codebase and the freedom of making pull requests without asking permission. What they love most is the momentum of this work: no meetings or quarterly planning, just daily, tangible progress—one semicolon at a time.

Clojure News·

Clojure Deref (Dec 6, 2024)

AI 摘要This Clojure Deref post is a weekly news roundup for the Clojure ecosystem covering podcasts, videos, blogs, and projects, including highlights like the State of Clojure 2024 survey results, Advent of Code in Clojure, and the jank compiler now running on LLVM IR. It also lists new releases and tools such as clein, aws-api, squint, next-jdbc, cider, and flamegraph pastebin Flamebin.

Marc Brooker·

DSQL Vignette: Wait! Isn't That Impossible?

AI 摘要The article explains how Aurora DSQL's multi-region active-active architecture achieves availability, durability, and strong consistency while respecting the constraints of physics and CAP theory. When one of the two full regions becomes unreachable during a network partition, DSQL keeps the majority-side endpoint fully available by relocating stateless adjudicators—whose transient state can be reconstructed from committed transactions thanks to its optimistic concurrency control design—so customers experience no unavailability. The author recommends active-active application patterns using latency-based DNS routing, letting DSQL handle replication, consistency, and failover rather than burdening applications with those complexities.

Marc Brooker·

DSQL Vignette: Transactions and Durability

AI 摘要This article explains how Aurora DSQL handles writes and transactions, using optimistic concurrency control (OCC) combined with MVCC to defer all coordination to COMMIT time, where an adjudicator service checks for write-write conflicts before approving a commit. Once approved, committed transactions are written to the Journal for durable, ordered replication across AZs and regions, allowing storage replicas to apply changes without protocols like 2PC, Raft, or Paxos. This disaggregated architecture delivers scalability along with strong durability, availability, and consistency, even when an AZ or region becomes unavailable.

React Blog··The React Team

React v19

React 19 is now available on npm! In this post, we'll give an overview of the new features in React 19, and how you can adopt them.

Mozilla Hacks··Mark Mayo

Introducing Uniffi for React Native: Rust-Powered Turbo Modules

AI 摘要Mozilla and Filament have released Uniffi for React Native, an open-source tool that lets developers build React Native Turbo Modules in Rust, enabling a single implementation of core app logic to run seamlessly across iOS and Android. By generating TypeScript and JSI C++ bindings, the tool allows developers to offload computationally heavy tasks from React Native's single JavaScript thread, resulting in faster, smoother apps and a streamlined development process. The project is currently an early release building on Mozilla's earlier Uniffi work, and has already been used by a sponsored contributor to create a React Native library for the Matrix SDK.