AI 摘要This article is the February 21, 2025 edition of the Clojure Deref, a weekly news and link roundup for the Clojure ecosystem. It highlights recent podcasts, videos, and blog posts covering topics such as building a Datalog engine in Clojure, functional programming on the JVM, and code extensibility. It also lists new library and tool releases for the week, including core.async 1.8.711-beta1, CIDER 1.17, clj-kondo, datalevin, and clj-memory-meter.
AI 摘要The author announces that the Rust 2024 edition is becoming stable today, released alongside Rust 1.85.0. To commemorate the event, they wrote a song, though unlike the Rust 2021 edition song, they had to perform it solo this time because their daughter now realizes her father is deeply uncool.
AI 摘要This edition of the Clojure Deref (Feb 14, 2025) is a weekly roundup of news and links from the Clojure ecosystem. It covers recent podcasts and videos, blog posts on topics such as modeling permissions in Datomic, taming LLM responses with Instaparse, and asynchronous transactions, plus a long list of new library and tool releases including clojure-lsp, the Zodiac web framework, llama.clj, and updates to Clojure CLI and build tools.
AI 摘要Create React App is being deprecated for new apps, with existing apps encouraged to migrate to a framework or to build tools like Vite, Parcel, or RSBuild. The React team is also providing documentation for cases where a framework isn't a good fit, for building your own framework, or for learning how React works by building an app from scratch.
One common way to import npm packages is with transpile services like esm.sh or unpkg.com, which converts npm modules to esm and hosts them on the web. However, since Deno 2, which supports npm natively, we recommend using npm specifiers. H
AI 摘要This article provides complete, step-by-step instructions for adding a directory to your PATH, covering how to identify your shell (bash, zsh, or fish), locate the correct config file, determine which directory to add, edit the config, and restart the shell. It also explains common gotchas, such as running the wrong program version, handling programs launched outside the shell (like cron jobs or IDEs), dealing with duplicate PATH entries, and losing shell history when reloading the config.
AI 摘要The article announces style-observer, a new open-source JavaScript library (available at observe.style) that lets developers run JS in response to CSS property changes—including custom properties—regardless of what triggered them. It reviews the long history of prior attempts, from polling-based observers to clever transition-event hacks, culminating in Bramus Van Damme's @bramus/style-observer, which was hampered by cross-browser bugs. The new library improves browser support (~90% globally) by detecting specific browser bugs in Safari, Chrome, and Firefox and working around them in a targeted way, and ships with a test suite of over 150 unit tests.
AI 摘要The author argues that AI-powered development tools could be a game changer for Rust, since AI's ability to explain and diagnose problems with rich context can help newcomers overcome the initial learning curve in ways canned diagnostics never could. Conversely, Rust's rich type system gives AI a lot of structure to work with, which could help reduce hallucinations and validate AI-generated output. The post lays out this premise of mutual benefit and sketches areas where AI could provide a powerful boost to Rust development.
AI 摘要The most popular Rust crate for decompressing ZIP files, aptly named 'zip', has 48 million downloads and offers full-featured support for compression methods, encryption, and writing zip files. However, it's not the crate everyone uses, as some applications benefit from asynchronous I/O, particularly those that decompress archives downloaded from the network.
AI 摘要This article is the February 6, 2025 edition of the Clojure Deref, a weekly news and links roundup for the Clojure ecosystem. It highlights recent podcasts, videos, and blog posts covering topics such as core.async, Electric Clojure, LLM-based tooling, and Babashka scripts. It also lists new library and tool releases, including aws-api, datastar, metamorph.ml, noj, and rebel-readline.
AI 摘要The author ran a terminal survey in which 1600 respondents—most of them experienced users, with 40% having used the terminal for 21+ years—shared their biggest frustrations, which the author categorized using a custom-built tool. The top complaints included remembering syntax for CLI tools, difficulty switching between different systems and shells, color configuration problems, inconsistent keyboard shortcuts (especially for copy/paste), and various copy-paste issues. Other notable frustrations covered discoverability, steep learning curves, shell history limitations, bad documentation, and the terminal feeling outdated due to legacy decisions.
AI 摘要The article explains Fekete's anomaly, a snapshot isolation behavior in which an extra read-only transaction exposes an otherwise hidden weak-isolation anomaly, illustrated through a banking example where two account holders incur an unexpected overdraft fee. The author argues that, despite seeming spooky, the anomaly is essentially a straightforward constraint violation caused by write skew, arising directly from the reduced coordination that gives snapshot isolation its performance benefits. Application builders who need to prevent it can either use serializable isolation or apply surgical fixes like FOR UPDATE locks or forcing write-write conflicts.
Oracle filed a motion to dismiss in response to Deno’s petition to cancel its “JavaScript” trademark. But instead of addressing the real issue—that JavaScript is an open standard with multiple independent implementations—Oracle is trying to
AI 摘要The article argues that multi-versioning, based on David P. Reed's 1979 work, is superior to locking/coordination-based approaches for maintaining serializability in distributed, sharded, replicated databases, because writers never block on readers and readers can be served from any replica without coordination. It explains how Aurora DSQL selects versions using microsecond-accurate physical clocks (EC2 time-sync) for read-after-write consistency and enforces two version-retention invariants by bounding transaction duration to five minutes, turning distributed coordination problems into local ones. The result is improved throughput, scalability, latency, cost, availability, and simpler system design.