编程 · 最新文章
今日新增 30 篇 · 共 2,704 篇 · 来自 79 个博客
Redis Renamed to Redict
AI 摘要After Redis Labs changed Redis's license to the proprietary SSPL in March 2024, the project was forked as Redict under the stewardship of Drew DeVault, continuing under the original BSD-3 license. The author argues that Redict is the true spiritual successor to Redis, since the mature software requires only maintenance rather than profit-driven churn like Redis Labs' pivot to generative AI. Despite Drew DeVault's controversial reputation, the author defends him as a lifelong, uncompromising advocate of Free and Open Source Software who is well-suited to steward the project.
Bun v1.0.34
Fixes 7 bugs, bunx uses less memory, bun install gets faster on Docker & WSL, a conflicting devDependency hoisting bug is fixed, a cyclical CommonJS & ESM import crash is fixed, cross-mount fs.cp & fs.copyFile get 50% faster on Linux, and r
How to trade software for small money?
Announcing VitePress 1.0
AI 摘要VitePress 1.0 has been released—a static site generator built on Vite and Vue that serves as the modern successor to VuePress, converting Markdown content into themed static HTML pages. It is well-suited for technical documentation (powering docs for Vite, Rollup, Pinia, and the official Vue.js docs) as well as fully customizable blogs, portfolios, and marketing sites. The tool offers strong performance by serving pre-rendered HTML for fast initial loads and optimal SEO, then switching to a single-page application model for near-instant subsequent navigation and interactivity.
We're hiring a Design Engineer + Staff Engineer
We just tagged the first public v4.0.0-alpha so you can start experimenting with it and help us get to a stable release later this year.
Unexplanations: sql is syntactic sugar for relational algebra
Comment Section: The Hunt For The Missing Data Type
AI 摘要This follow-up post collects reader responses to the author's essay 'The Hunt for the Missing Data Type,' including a detailed explanation from GraphBLAS contributor Michel Pelletier arguing that graphs and matrices are mathematically isomorphic and that expressing graph operations as sparse linear algebra enables efficient parallelization on architectures from laptops to supercomputers. Other readers point out the Gremlin/TinkerPop graph query language and describe Rubik's Cube research using Cayley graphs, where the author had to build custom data structures because the ~10^20 position state space and performance demands made generic libraries impractical. The common thread is that graph tools do exist, but performance-critical or highly specialized applications often force developers to roll their own solutions.
Bun v1.0.32
Fixes 13 bugs, including 3 I/O regressions from v1.0.31. Improves Node.js compatibility. 'ws' package can now send & receive ping/pong events. util.promisify'd setTimeout setInterval, setImmediate work now. FileHandle methods have been impl
Introducing deployctl, the command line interface for Deno Deploy
Deno Deploy’s command line interface, deployctl, is the simplest way to deploy your projects to the cloud. Here’s how to do it.
Iterators and traversables
This is a brief note about the definition of iterator.
Unexplanations: relational algebra is math
Updating to .NET 8, updating to IHostBuilder, and running Playwright Tests within NUnit headless or headed on any OS
AI 摘要The author describes upgrading his websites from early .NET versions to .NET 8, which required migrating from the obsolete IWebHostBuilder to IHostBuilder and broke his old hack for spinning up the Kestrel web server inside unit tests. He shares a WebApplicationTestBuilderFactory helper (with help from David Fowler) that starts the real web application within the NUnit test host, enabling clean Playwright browser automation tests that run headed or headless on Windows, Linux, Mac, Docker, and CI pipelines. He notes one remaining 'hack' relying on the aging MvcTesting package's manifest file to resolve the content root path, which he hopes will be fixed to make .NET 9 far more testable.
Open-sourcing our progress on Tailwind CSS v4.0
We just tagged the first public v4.0.0-alpha so you can start experimenting with it and help us get to a stable release later this year.
WebAssembly JSPI is going to origin trial
AI 摘要WebAssembly's JavaScript Promise Integration (JSPI) API is entering an origin trial with Chrome M123, allowing developers to test how sequential WebAssembly code can access asynchronous Web APIs by suspending when a Promise is returned and resuming when it is resolved. To participate, developers can set a Chrome flag or register for an origin trial token, and should use tools like Emscripten (version 3.1.47 or later) to generate the necessary code. While some API changes and known issues—such as performance costs for intensive wrapped calls and memory pressure from fixed-size stacks—exist, they are not expected to impede experimentation, and feedback can be submitted via the standards-track issue tracker.
Scaling a streaming service to hundreds of thousands of concurrent viewers at Veeps
A case study of how Elixir is being used at Veeps.
Borrow checking without lifetimes
AI 摘要This blog post proposes an alternative formulation of Rust's borrow checking type system that replaces lifetimes with places, where 'a represents a set of loans (such as shared(a.b.c) or mut(x)) rather than a point in the code. This approach builds on the ideas behind Polonius but reformulates them as a type system instead of a static analysis. The author plans follow-up posts on advanced borrowing patterns like interior references and intends to extend a-mir-formality with this analysis.
The Builder's Guide to Better Mousetraps
AI 摘要The article presents a rubric of guiding questions for deciding whether to build a new tool or system rather than using or adapting an existing solution. The author, who admits a personal bias toward innovation, stresses weighing costs and benefits, opportunity costs, long-term ownership burdens, whether you're solving a simpler or fundamentally different problem, differences in scale, technical risk, and whether you have a genuine technological advantage. He recommends writing down your answers to these questions and then stress-testing your conclusions with smart people you trust.
Face cams: the missing guide
AI 摘要The author, who has been creating video content since 2019, explains that they typically avoid 'meta' or behind-the-scenes content but decided to publish notes about their video production process anyway. Having recently made several quality-of-life improvements to shooting and editing video, they want to document these insights as a reference for their future self.
Introducing JSR - the JavaScript Registry
The JavaScript Registry (JSR) is a TypeScript-first, ESM-only module registry designed for the entire JavaScript ecosystem. Use JSR modules from Deno and npm-based projects. JSR is free and open source. Available today in public beta.