最新文章
今日新增 436 篇 · 共 7,459 篇 · 来自 241 个博客
Rebuilding a comment component with modern CSS
A note on Metal shader converter
AI 摘要The author critiques Apple's new Metal shader converter, which eases porting DirectX 12 games by translating DXIL/HLSL shaders to Metal, arguing it adds underspecified complexity rather than advancing robust GPU infrastructure. A key complaint is that Metal remains the only major GPU API lacking device-scope atomic barriers (present in HLSL since Direct3D 11 in 2009), which prevents single-pass prefix sum implementations and reliable cross-threadgroup coordination, and in turn holds back WebGPU's performance. The author recommends Apple document which HLSL features are unsupported, and points to WebGPU and Asahi Linux's work as more promising paths toward well-specified, portable GPU compute.
Higher-ranked projections (send bound problem, part 4)
AI 摘要The author discusses feedback from Josh Triplett on a draft RFC about Return Type Notation, which led to a third proposed solution to the 'send bound problem' in Rust. Called 'higher-ranked projections,' the idea involves defining T::Foo when T has higher-ranked bounds. Although the author still prefers RTN, they consider this alternative interesting and worth elaborating on.
Language Model Sketchbook, or Why I Hate Chatbots
Sketchy ideas for interfaces that play with the novel capabilities of language models
Obsidian-Copilot: An Assistant for Writing & Reflecting
Writing drafts via retrieval-augmented generation. Also reflecting on the week's journal entries.
Generative AI Strategy
AI 摘要The author shares their experience preparing a talk titled 'Leadership needs us to do generative AI. What do we do?' for Fully Connected, inspired by conversations with friends who were unsure how to develop their generative AI strategy. The talk offers a simple framework for exploring what to do with generative AI, though many ideas are still being refined and may later be turned into a proper post. The author thanks several people for their thoughtful feedback and invites readers to share their own experiences.
Animated Pride Flags
Happy Pride month! In this tutorial, I'll share a handful of my favourite animation tricks. You'll learn how to build an animated wavy pride flag using CSS keyframes and linear gradients. We'll also see how to make it dynamic using React. 🏳
Bookin’.
AI 摘要A Book Apart (ABA), the independent publishing house behind the author's books, has expanded its distribution globally, making its titles available through thousands of retailers, libraries, schools, and universities in the US, UK, India, Japan, and beyond. Previously, the books could only be purchased directly from ABA's website, which meant costly international shipping and overpriced resold copies on sites like Amazon. The author, an ABA contributor, expresses pride in the publisher's growing catalog and excitement that its books are now far more accessible to readers worldwide.
June 2023
AI 摘要In this June 2023 post, the author reflects on a disorientating six months marked by ending a long-term relationship, moving across London, and struggling to keep up with writing, while appreciating how the disruption tested the resilience of their habits and reminded them how much they value London's dense, overlapping social circles. They also observe how rapidly the world of language models and generative AI has changed since late 2022, and though they have formed opinions, they remain cautious about joining the noisy discourse. The post closes with a note about recently buying used copies of Christopher Alexander's classic books.
What’s new in Svelte: June 2023
AI 摘要This June 2023 Svelte newsletter congratulates the SvelteHack winners announced at Svelte Summit and covers the release of Svelte 4.0.0-next.0, the first pre-release of Svelte 4, plus Svelte 3.59.0's new features such as spread operator support, new accessibility warnings, and additional bindings. SvelteKit updates include route-level entry generators for prerendering, crawling of URLs in meta tags, renamed enhance function arguments, and a new resolvePath export. The article also rounds up community-built apps, learning resources, and new libraries and tools.
My Approach to Building Large Technical Projects
Stop Being a Junior
Some advise for people who still consider themselves junior developers
Is Avoiding Extinction from AI Really an Urgent Priority?
The history of technology suggests that the greatest risks come not from the tech, but from the people who control it
0036: typescript, papers, books
A governance system, if you can keep it
AI 摘要The article recounts Benjamin Franklin's famous reply to Elizabeth Willing Powel after the 1787 Constitutional Convention, in which he described America's new government as "a republic, if you can keep it." It then suggests that, given the self-conscious references to "constitutions" and "checks and balances" in the Rust project's recent governance RFC, reflecting on this quote and its broader implications about governance may be appropriate for the project and its community.
Integrating Zig and SwiftUI
Transcript & Video: Claire Hughes Johnson Fireside Chat on Scaling People
AI 摘要This article is a transcript of a fireside chat between Elad Gil and Claire Hughes Johnson about her career, including her move from consulting to Google in the early 2000s and her later work at Stripe, where she applied lessons from her Google experience. They discuss Google's chaotic but hard-charging early culture, the good and bad habits formed there, and memorable anecdotes such as the removal of middle management, an improvised bonus distribution, and the famous $1,000 holiday cash gifts. Johnson also reflects on how these formative experiences shaped her management philosophy, which she captures in her book 'Scaling People.'
10 Thoughts from the Fourth Trimester
AI 摘要The author humorously recounts the unexpected birth of his first child—which began just two weeks after his book launch—and reflects on the surreal, anticlimactic reality of the delivery compared to his expectations. He then shares ten candid observations from his first three months of fatherhood, including that newborns are more like 'bizarre human larvae' than actual babies, that it's absurd there's no required training for new parents, and that babies are dramatic, schedule-wrecking, and impossible to objectively assess for cuteness. He concludes that becoming a parent is too monumental to absorb overnight, unfolding gradually rather than instantaneously.
Container Loading in AWS Lambda
AI 摘要AWS Lambda explains how it added support for container images up to 10GiB without increasing cold start latency, as detailed in its Usenix ATC'23 paper. The key techniques are block-level deduplication of popular base images, lazy loading through a FUSE filesystem that fetches only the chunks actually needed, and a highly effective tiered cache spanning local workers, availability zones, and S3. Resilience comes from erasure coding and salted chunk naming, which reduce tail latency, tolerate node failures without hit-rate loss, and limit the blast radius of corrupted data.