最新文章

今日新增 436 篇 · 共 7,459 篇 · 来自 241 个博客

The Vue Point·

Announcing Vue 3.3

AI 摘要Vue 3.3 'Rurouni Kenshin' is a release focused on developer experience improvements, particularly for using SFC

Marc Brooker·

Open and Closed, Omission and Collapse

AI 摘要This article explains the critical difference between open-system workload models (where requests arrive independently of completions) and closed-system models (where new requests only follow completions), demonstrating through simulations that closed-loop benchmarks can drastically underestimate tail latency—a phenomenon known as coordinated omission. It further shows how open systems are vulnerable to congestive collapse, where timeouts and retries increase arrival rates, which raises latency and triggers even more retries in a self-reinforcing spiral. The author concludes that most stable production systems avoid these failures by approximating closed behavior through limits on concurrency or arrival rate.

Baby Steps·

Giving, lending, and async closures

AI 摘要The author follows up on a previous post about async closures in Rust, now exploring what it would take to make async functions matchable with types like `impl FnMut() -> impl Future`. This investigation leads into a discussion of the distinction between 'giving' and 'lending' traits. Notably, the author observes that closure traits are a special case for backward compatibility because of their special syntax.

Jay Alammar·

Generative AI and AI Product Moats

Here are eight observations I’ve shared recently on the Cohere blog and videos that go over them.: Article: What’s the big deal with Generative AI? Is it the future or the present? Article: AI is Eating The World

Without Boats·

Iterator, Generator

AI 摘要The author, who has been exploring structured concurrency, revisits the topic of iterators and generators in Rust. They highlight a key challenge: self-referential generators are difficult to support because, unlike the Future trait, the already-stable Iterator trait does not take a pinned reference to itself, making self-referential iterators impossible.

React Blog··Dan Abramov, Sophie Alpert, Rick Hanlon, Sebastian Markbage, and Andrew Clark

React Canaries: Enabling Incremental Feature Rollout Outside Meta

AI 摘要The React team is introducing a new officially supported Canary release channel that allows the community to adopt individual new features as soon as their design is close to final, before they ship in a stable version. This mirrors how Meta has long used bleeding-edge versions of React internally, and lets curated setups like frameworks decouple feature adoption from the React release schedule.

Svelte Blog·

What’s new in Svelte: May 2023

AI 摘要This May 2023 Svelte newsletter announces JoyOfCode and HuntaByte as new Svelte Ambassadors and notes that SvelteHack winners will be revealed at Svelte Summit on May 6th. It covers recent releases including CSS container query support, bind:innerText, a new a11y warning in Svelte, HMR error reloads and embedded mode in SvelteKit, and a new official ESLint plugin in Language Tools. The post also rounds up a large community showcase of apps built with Svelte, learning resources, and new libraries and tools.

Lea Verou··Lea Verou

JS private class fields considered harmful

AI 摘要The author, a JavaScript library author, explains why she has decided to stop using private class fields: instances of classes with private fields cannot be wrapped in Proxies, which breaks frameworks like Vue 3 and Mavo that rely on proxies for their reactivity systems. Since proxy-ability has no workaround while private fields do (private-by-convention), she considers the tradeoff not worth it and is refactoring private fields out of her libraries like Color.js, though she may still use them selectively, such as in web components.

Mr. Money Mustache··Mr. Money Mustache

Frugal Man Buys $52,000 Car – Why??

AI 摘要Frugal financial blogger Mr. Money Mustache explains his self-mocking decision to buy a $52,000 Tesla Model Y, replacing a $4,500 Honda van he drove for twelve years, arguing that wealthy savers should enjoy their money while still alive. He proposes three strategies to overcome excessive frugality: the Minimum Spending Budget, the Dedicated Money Wasting Account, and the Splurge Accountability Buddy, using the Tesla as the first step in his experiment to spend more on life experiences.

Scott Hanselman··Scott Hanselman

GitHub Copilot for CLI for PowerShell

AI 摘要GitHub Next's Copilot for CLI offers shell commands (??, git?, and gh?) that translate natural language into command-line instructions, but they are designed primarily for bash. The author discovered these commands are just routers to an underlying github-copilot-cli executable and wrote PowerShell function aliases that inject 'use powershell to' into the prompt so the tool works with PowerShell instead. He shares his alias code and hopes the Copilot CLI team will add official PowerShell support.

Josh W. Comeau··Josh W. Comeau

The “const” Deception

AI 摘要This tutorial explores an apparent paradox in JavaScript: the 'const' keyword creates constants, yet objects and arrays declared with it can still be edited. The article explains that resolving this confusion requires understanding the crucial distinction between 'assignment' and 'mutation' in JavaScript.