最新文章

今日新增 443 篇 · 共 7,501 篇 · 来自 241 个博客

Benedict Evans··Benedict Evans

Building AI products

AI 摘要Using his frustrating experience with an online Indian visa application—and ChatGPT's inaccurate answers about it—as an example, the author argues that LLMs are probabilistic systems that cannot be relied upon for precise factual answers, though this 'roughly right' limitation doesn't make them useless. He contends that building AI products is fundamentally a product problem rather than just a science problem: developers should either constrain models to narrow domains with interfaces that communicate what they can and cannot do, or embed them invisibly as capabilities inside other software. Drawing parallels to electric motors and smartphones, he concludes that general-purpose technologies succeed when instantiated as single-purpose tools, and asks what truly native experiences can be built with generative AI even if the models never achieve perfect accuracy.

Bun Blog·

Bun v1.1.13

Fixes 97 bugs (addressing 211 👍). Reliability improvements to bun install, WebSocket server, fetch, worker_threads. worker_threads now supports eval. `URL.createObjectURL`, stack trace error location improvements, several `bun install` fixe

Robin Rendle··Robin Rendle

A prototype of the future

AI 摘要Jack Cheng argues that fiction serves as a backdoor into a communal vision, with novels acting as prototypes of the future. He suggests that the tech industry's seemingly stagnant ideas may reflect a shortage of compelling fictions about what the world could become.

Marc Brooker·

Not Just Scale

AI 摘要The article rebuts the popular claim that modern single machines are powerful enough to make distributed systems unnecessary, acknowledging the kernel of truth that today's hardware is extremely fast but arguing that scale is only a small part of why distributed systems matter. It highlights benefits single machines can't match—availability, durability, utilization, latency, specialization, isolation, and easier change management—and contends that simplicity is a property of entire systems (including people and processes), so single-machine designs often merely hide operational complexity. Finally, it notes that scale matters both technically and organizationally (e.g., avoiding coordination as teams grow), and that engineers should design for their business's actual needs and future risks rather than memes or strong opinions.

V8··Francis McCabe, Thibaud Michaud, Ilya Rezvov, Brendan Dahl

WebAssembly JSPI has a new API

AI 摘要WebAssembly's JavaScript Promise Integration (JSPI) has a redesigned API shipping in Chrome M126 that removes explicit Suspender objects and WebAssembly.Function in favor of simpler constructs (WebAssembly.promising and WebAssembly.Suspending), and now only suspends when a JavaScript function actually returns a Promise. Emscripten users on version 3.1.61 or later need no code changes, while the old API will be removed after Chrome M128 (October 2024). Future work includes growable stacks to support millions of suspended coroutines and advancing JSPI through the W3C Wasm CG standardization process, where it is currently at phase 3.

Josh W. Comeau··Josh W. Comeau

Promises From The Ground Up

The “Promises” API is a surprisingly tricky part of modern JavaScript. Without the right context, it doesn’t make much sense at all! In this tutorial, you’ll build an intuition for how Promises work by getting a deeper understanding of Java

Baby Steps·

The borrow checker within

AI 摘要The author proposes a four-part roadmap of changes to Rust's borrow checker, dubbed 'the borrow checker within,' intended to help Rust better support code patterns that fit its spirit but currently violate its rules. While the author feels comfortable with the designs, details still need to be scoped out, and a-mir-formality is considered an ideal place to do that work.

Bun Blog·

Bun v1.1.11

AI 摘要Bun v1.1.11 fixes 36 bugs, including a peer dependencies resolution issue in bun install, and introduces the ability for bun update to save dependency updates to package.json. The release also delivers 5x faster setTimeout throughput on Linux, improved Node.js compatibility across fs, zlib, timers, http, dgram, and module, along with event loop improvements on macOS and Windows reliability enhancements.

Svelte Blog·

What’s new in Svelte: June 2024

AI 摘要The June 2024 Svelte newsletter highlights the maintainers' progress on the Svelte 5 Release Candidate, including improvements like disallowing bind: on component exports in runes mode, enhancements to the migration tool, MathML support, the $state.is rune, and a new rootDir compiler option. It also features a community showcase of apps and sites built with Svelte, such as Onlook and Equimake, along with learning resources like podcasts, videos, and articles about Svelte 5 and SvelteKit. Finally, the newsletter lists useful libraries, tools, and components, such as Floating UI Svelte and svelte-infinite.

Mozilla Hacks··Tarek Ziadé

Experimenting with local alt text generation in Firefox Nightly

AI 摘要Mozilla is introducing an experimental feature in Firefox 130 (Nightly) that automatically generates alt text for images using a small, fully on-device AI model, starting with the built-in PDF editor and ultimately aiming to help screen reader users in general browsing. The approach uses compact Transformer-based models (a ViT image encoder with DistilGPT-2, under 200M parameters) running locally via ONNX and Transformers.js, offering privacy, resource efficiency, and transparency compared to large cloud-based LLMs, though with somewhat less detail. Mozilla plans to iteratively improve the model and training data in the open, with the code available on GitHub and Hugging Face.