AI summaryMozilla has deployed snapshot-based fuzzing for Firefox's inter-process communication (IPC) interfaces using Nyx, an open source tool developed with the research community that rewinds application state during testing. Snapshot fuzzing addresses the longstanding challenge that IPC interfaces could not be tested in isolation and that browser restarts introduced prohibitive latency, with the technology running in production as of 2024. This approach has already helped Mozilla identify and fix potential problems in Firefox's IPC layer, strengthening protection against sandbox escape attacks.
Quick, digestible bites of TypeScript goodness for Deno developers. In this first bite, we introduce TypeScript, how to add type annotations to your code and why you should.
AI summaryThis post is the first of several follow-ups to 'Claiming, auto and otherwise', clarifying and tweaking the previously proposed design based on feedback received. The author's main takeaway is that people are very enthusiastic about the idea of making work with reference counted or cheaply cloneable data more ergonomic. Future posts plan to lay out some of the alternative designs the author has heard.
AI summaryMozilla Builders is sponsoring sqlite-vec, a project by independent developer Alex Garcia that adds vector search functionality to the SQLite embedded database. This enables powerful Local AI applications, such as retrieval augmented generation and semantic search, to run entirely on consumer devices while preserving privacy. Following llamafile, this is Mozilla's next supported project aimed at making open source AI more accessible and equitable.
Fixes 4 bugs. Fixes a crash in bun repl. Makes fs.readdirSync 5% faster on macOS in small directories. Fixes "ws" module not calling the callback in "send" method. Fixes a crash when reading a corrupted lockfile in bun install. Makes macOS
AI summaryBun v1.1.16 fixes 41 bugs and introduces lcov code coverage reports in bun test, along with support for installing dependencies from private git repositories such as GitLab and Bitbucket. The release also makes Buffer.from(string, "base64") 6x to 30x faster on large inputs. Additional improvements include fixes for bun patch, bun install, and N-API addons, transpiler bugfixes, and Node.js compatibility enhancements.
AI summaryThis article explains how substructural type theory applies to programming language design, arguing that designers should use accessible metaphors like 'ownership' to help ordinary programmers understand concepts such as constructors, destructors, and preventing aliasing of objects that represent external resources. Using Rust's ownership model as the primary example, the author aims to demystify these ideas so they become more common knowledge among programmers. While the post contains nothing groundbreaking for experts, it includes notes critiquing certain aspects of Rust's implementation that the author believes are incorrect.
AI summaryThe author reflects on formerly judging designers who changed jobs frequently, now admitting those views were anti-worker corporate propaganda. They argue that since companies freely pivot and reorganize when things aren't working, workers deserve the same autonomy to leave underpaying, toxic, or unfulfilling jobs. The piece closes with an emphatic call to abandon any job (or relationship) that sucks, because employees owe their employers nothing.
AI summaryThe blog post proposes adding a new trait, Claim, alongside Rust's existing Copy and Clone traits. The goal is to address shortcomings in Rust's current binary split between Copy (types safe to memcpy) and Clone (types requiring custom code or having destructors). The author cites issues like maintenance hazards, performance footguns, ergonomic pain, and user confusion as motivation for this change.
AI summaryThe article discusses the CSS Working Group's resolution to add an if() function to CSS, which is still years away, and surveys existing hacks that enable conditionals in CSS today, such as binary linear interpolation, space and cyclic toggles, layered toggles, and paused animations. The author argues that using such hacks in production can be justified under the 'Priority of Constituencies' principle—internal developer complexity is acceptable when it yields a cleaner API for component users—as long as the complexity is encapsulated and the code is well documented. However, these techniques are not advisable when the abstraction is likely to leak, in which case simpler approaches like attributes may be preferable.
When a customer reported performance issues with the Deno language server, we began a performance investigation that resulted in reducing auto-completion times from 6-8 seconds to under one second in large codebases. This is how we did it.
AI summaryThe article argues that Apple's approach to Apple Intelligence treats generative AI as a commodity technology rather than a standalone product, embedding it invisibly into OS features instead of offering an open-ended chatbot. Apple separates its private, on-device 'context model' from third-party 'world models' like ChatGPT, letting OpenAI bear the brand risk and inference costs while Apple acts as the interchangeable platform deciding where queries go. By shifting AI compute to user-paid devices and gradually integrating capabilities the way spell-check became an OS feature, Apple aims to commoditize LLMs—though the author notes all of this remains an unproven thesis until the products actually ship.
The Guardian receives over 350 million unique page views. Learn how Deno helps the Guardian maximize web performance and adhere to accessibility standards to retain and grow their readership.
AI summaryThe CSS Working Group has reached consensus to add an inline if() function to CSS, allowing conditional values directly in declarations—a feature the author championed and which developers have received with overwhelming enthusiasm. The if() function complements style queries by enabling custom property-driven styling on the element itself, and can also incorporate media() and supports() conditions. The feature is not in browsers yet (optimistically arriving in about 2 years), and the article addresses FAQs, clarifying that CSS has always had conditionals and that if() makes CSS more, not less, declarative.
AI summaryThe article presents a technique for composing independently-developed TLA+ specifications, motivated by a Worker-Server authentication example where naive composition of specs leads to contradictory constraints on shared variables. The author's solution models the core component as an abstract state machine, writes other components as 'open' specs with internal/external variable separation, and uses a Sync action in the main spec that leverages TLA+'s primed-variable feature to add guards and side effects to state transitions. This allows the specs to be developed independently and integrated with minimal overhead, with the Sync action driving communication effects and constraints between components without requiring them to know about each other.
AI summaryAnil Dash acknowledges that the publishing industry, particularly journalism, has endured years of discouraging news that has left many feeling despairing about the future. However, rather than being naively optimistic, he expresses genuine hope for the first time in decades, pointing to an emerging movement he calls the 'New Alt Media.'