AI 摘要In this 2024 personal and professional update, the author shares major life news: they started a podcast with James, are stable on antidepressants, are trying out 'they/them' pronouns, and went through a divorce in 2023. Professionally, they will give a talk at P99 CONF about their Rust/io_uring/HTTP work, are open-sourcing projects like merde_json and rubicon, and have found a new business model.
AI 摘要The August 2024 Svelte update highlights major performance and customizability improvements in the Svelte 5 release candidate, including single-pass hydration, branch effect fixes, the new createRawSnippet API, and a warningFilter compiler option, along with some breaking changes like renamed reactivity helpers and transitions playing on mount by default. SvelteKit also received minor updates, such as respect for form enctype attributes and font file copying across deployment adapters, while svelte-preprocess became dependency-free. The roundup also features community projects like the StackOverflow 2024 Developer Survey site, various learning resources, and the return of the Svelte Dev Vlog.
AI 摘要The article introduces a new paper on resource management in Amazon Aurora Serverless V2, which allows databases to scale in place as workloads change without disrupting connections or losing session state. It describes resource management at three levels: co-optimizing the hypervisor, kernel, and database engine to reclaim memory; on-host management that pools resources from shrinking workloads for growing ones; and cluster-level placement, live migration, and limits, with 99.98% of scale-ups satisfied via in-place scaling alone. Key lessons include prioritizing predictable performance for customers over absolute scalability and keeping host-level and fleet-wide resource management largely independent to enable simplicity and static stability.
When running production JavaScript in the cloud, performance is a critical consideration. Here’s how Deno’s cold start times compare against other JavaScript runtimes on AWS Lambda.
AI 摘要The article argues that the CAP theorem is nearly irrelevant for engineers building cloud-style distributed systems, because load balancers and routing mechanisms can direct clients to the healthy side of a network partition, letting quorum-based systems offer both strong consistency and high availability in practice. CAP is instead most relevant to intermittently connected environments like IoT, mobile, and environmental monitoring applications, where partitions are unavoidable. The author challenges experienced distributed systems engineers to stop teaching CAP as the foundational trade-off and instead focus on more practically important trade-offs (like durability versus latency) or frameworks such as CALM, RUM, or PACELC.
AI 摘要The article explains that Rust's Pin type was designed in 2018 as a minimal, library-only solution to enable shipping async/await quickly, but this choice created a significant complexity cliff for users who must interact with pinned references, especially when implementing Future by hand. The author argues that these difficulties stem not from the inherent complexity of pinning as a concept, but from Pin being a pure library type lacking language support. The post proposes a set of fully backward-compatible language changes to make working with pinned references feel much closer to working with ordinary references.
AI 摘要The July 19th global IT outage, caused by a faulty security vendor's Windows kernel driver update, demonstrated the inherent dangers of kernel-level code that can crash entire systems. The authors argue that eBPF—a safe, verifier-checked kernel execution environment already built into Linux and coming to Windows—prevents such crashes and is being adopted by companies like Cisco, Google, and Meta for security, networking, and observability. They urge customers to require eBPF-based solutions from vendors that ship kernel drivers, so catastrophic outages like this become a thing of the past.
AI 摘要The article breaks down team leadership on technical teams into four categories of responsibility: overall direction (setting goals and priorities), people management (coaching, hiring, and performance), project management (execution, coordination, and unblocking work), and technical leadership (setting and reviewing technical quality). Since no single person is typically excellent at all four, the author argues these responsibilities are often better split across multiple people. The article illustrates this with real-world examples of different responsibility divisions, such as the tech lead manager role, the engineering manager/tech lead split, and a product manager/tech lead model.
AI 摘要The article discusses Pin, a foundational but widely misunderstood part of Rust's async ecosystem that supports self-referential types by preventing them from moving in memory. The author, who originally proposed adding Pin to Rust, acknowledges critiques (such as one from the makers of Mojo) that interacting with Pin creates a 'complexity cliff' for users, and aims to explain what Pin achieves, how it came to be, and why it is hard to use. The author promises to present ideas for resolving this complexity in a follow-up post.
AI 摘要The article traces the history of debugging with binary search, from bisecting data (such as finding one bad punched card among a thousand) to bisecting version history, which was popularized by tools like git bisect that automatically pinpoint the commit that introduced a bug. It then introduces a new trick for debugging in a different dimension: hash-based bisecting of program locations, which selectively enables or disables subsets of program lines, call stacks, or code sequences to identify exactly which code causes a failure. Illustrated with a Go toolchain example, this technique is presented as a 'magic wand' for debugging large, opaque test failures in unfamiliar code bases, compilers, and runtimes.
AI 摘要The author defines 'toolbox languages' as programming languages that solve problems quickly without third-party packages, and reviews their more obscure picks: AutoHotKey for GUI automation, J for array arithmetic, Frink for calculations with units, Raku for scripting and CLI tools, and Picat for logic and constraint programming. They also outline what makes a good toolbox language—terse syntax, rich builtins, a solid REPL, and a smooth learning curve—along with tools they still wish existed, such as an easier APL and better web-scraping options.
AI 摘要The article argues that lack of trust—which is often reasonable when colleagues are new or unproven—is a major bottleneck to team effectiveness during growth, because low trust forces costly oversight, escalations, and constant deep dives. During hypergrowth, trust deficits accumulate faster than they resolve, producing symptoms like excessive stakeholder involvement, FUD about other teams' projects, and leaders stuck working 'in the system' instead of 'on the system.' Rather than simply telling people to trust each other more, the author recommends proactively investing in trust-building through sharing mental models widely, frequent 1:1s and offsites, trial tasks, generous feedback, inspection forums, overcommunicating status, and proactively admitting when things aren't going well.
AI 摘要Bun v1.1.19 fixes 54 bugs and makes JavaScript faster on Windows, including statically linking the UCRT. It restores Raspberry Pi 4 support and adds `_auth` support in `.npmrc`, package.json indentation preservation in `bun install`, and `aws-cdk-lib` support. The release also addresses memory leaks in `new Response(request)` and `fs.readdir`, along with several reliability improvements.
Deno 1.45 introduces workspaces and monorepo support, improved Node.js compatibility, updates to `deno install`, the new `deno init --lib` command, deprecation of `deno vendor`, Standard Library stabilization, upgrades to V8 12.7 and TypeSc