AI 摘要Bun v1.1.18 fixes 55 bugs and adds support for npmrc files. The release also brings improved constant folding and enum inlining, better console.log output for functions, and fixes for patching dependencies in workspaces and linking binaries in bun install. Additionally, it resolves a crash in dns.lookup, normalizes DNS errors to better match Node, fixes an assertion failure in Bun.escapeHTML, and upgrades JavaScriptCore.
AI 摘要Drawing on his daughter's piano lesson, the author argues that effective teaching requires minimizing upfront theory and instead connecting each concept to a clear purpose and immediate practice, since humans are goal-oriented and lose focus when learning feels disconnected from real application. He contends that explaining concepts in context, as they become relevant, yields far better retention and comprehension than front-loading theory, a principle that applies to all forms of knowledge transfer, from teaching and documentation to talks. His advice: always explain why something is useful, let students practice as soon as possible, and prefer engaging them over merely showing—hence "engage, don't show" rather than "show, don't tell."
We're delighted to announce three major research releases from PortSwigger Research will be published at both Black Hat USA and DEF CON 32. In this post, we'll offer a quick teaser of each talk, info
AI 摘要The author enthusiastically recommends Susanna Clarke's novel 'Piranesi,' calling it the first book in a long while that hooked them from beginning to end. They deliberately refuse to reveal any details about the plot, characters, or setting to preserve the reading experience, offering only vague praise for its mysterious and concise storytelling. They conclude that the book is exceptionally good and urge everyone to read it.
AI 摘要The author left their job at Elicit in June because living between San Francisco and London wasn't sustainable, and will join a London-based AI prototyping agency at the end of July. In the meantime, they're enjoying their time off, prototyping language model interfaces, writing, and preparing for their wedding. They're also reading John McPhee's Annals of the Former World, finding its geology storytelling surprisingly compelling.
AI 摘要The July 2024 Svelte update highlights new features in the Svelte 5 release candidate, including more succinct prop declarations via $props(), a new 'on' import from svelte/events to preserve event handler order, and performance improvements to svelte:element and CSS custom property wrappers. SvelteKit also received upgrades to its Node and Cloudflare adapters, such as unit suffix support for BODY_SIZE_LIMIT and a new sveltekit:shutdown event. The article rounds out with community showcases, learning resources, and tools like SSC, a fast Svelte compiler written in Rust.
AI 摘要The JavaScript Promise Integration (JSPI) API enables WebAssembly applications written with synchronous assumptions to work smoothly with asynchronous Web APIs by intercepting Promises, suspending the WebAssembly code, and resuming it once the asynchronous operation completes. The article explains how JSPI works through wrapping imports and exports during module instantiation, notes its low constant-time overhead, and states that it is now standardized (phase 4) and available in Chrome 137 and Firefox 139. Practical examples using Emscripten demonstrate computing Fibonacci via Promises and lazily loading WebAssembly code on a function's first call.
AI 摘要The article explains the American title insurance industry, contrasting the US's transaction-based property records—which allow only probabilistic inference of ownership rather than the definitive government confirmation available in countries like Japan—with centralized title databases. It also covers how title defects can arise from facts absent from any database (such as undisclosed marriages), and how land trusts are commonly used to shield homeowners' details from public records and data brokers. Because no amount of record searching can eliminate all risks to an ownership claim, title insurance exists to transfer those residual risks.
AI 摘要The article reflects on 'Google Zero'—the moment when Google Search stops sending traffic to third-party websites—and argues that today's web instability stems from publishers' long-standing dependence on Google's traffic and ad money, which quietly made Google the front door to the entire internet. The author believes this dependence was always the real problem, breaking the web's promise that no single company should control it. Rather than spelling doom for the web, the decline of Google search might benefit it in the long term, even as users must now filter out AI-generated slop and SEO spam.
AI 摘要Mozilla 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 摘要This 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 摘要Mozilla 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 摘要Bun 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 摘要This 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 摘要The 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.