最新文章

今日新增 456 篇 · 共 7,576 篇 · 来自 241 个博客

Swizec Teller·

Beware the spaceships

AI 摘要The author is migrating their design system with heavy AI assistance and, despite the AI doing much of the work, finds themselves still coding late into the night. They describe this as the 'spaceship problem': starting from an idealized end state and working backward toward something actually useful, an approach they find frustrating.

Swift.org··Alexander Sandberg

What's new in Swift: July 2026 Edition

AI 摘要This July 2026 edition of 'What's new in Swift' opens with Alexander Sandberg's reflection on four years contributing to the Swift Website Workgroup, encouraging others to get involved beyond compiler work. It covers recent project changes like the Task Stealers concurrency primitive, a SwiftPM package registry implementation, Google Summer of Code contributions, new packages such as swift-gigatoken and any-error-swift, and videos on low-level Swift programming. Finally, it summarizes recently accepted Swift Evolution proposals: tag-based test execution filtering (ST-0025), CommandLine.executablePath (SE-0513), and withDeadline (SE-0526).

Smashing Magazine·

How Baseline Can Help You Ship Less JavaScript

AI 摘要The article explains how the Baseline project—which indicates whether web features are safe to use across major browsers—can help developers audit their package.json and remove JavaScript libraries that duplicate now-native browser features, potentially saving 60–90KB gzipped. It walks through dependency clusters like internationalization (Intl APIs), HTTP clients (fetch vs. axios), and UI primitives (, Popover API), applying a three-question decision framework: whether the replacement is Baseline-safe for your audience, what the swap costs, and whether the platform feature truly covers your use case. The result is a repeatable process for shipping less JavaScript while staying honest about cases where the platform still falls short.

I Love Typography··John Boardley

Steven Heller’s Font of the Month: Zinkraft

AI 摘要Steven Heller's Font of the Month column spotlights the typeface Zinkraft. The article references Massimo Vignelli's famous assertion that a contemporary designer needs only five typefaces—Helvetica, Bodoni, Futura, Century Expanded, and Times New Roman—while noting that styles and customs have changed since his era.

PortSwigger Research·

CSS:the bomb inside your inbox

Gareth Heyes - gareth.heyes@portswigger.net - @garethheyes It's quite common for webmail clients to render untrusted CSS in a trusted UI. They attempt to make this safe using CSS sanitization. In this

Lea Verou··Lea Verou

Dark mode toggles: two states are enough

AI 摘要The article argues that tri-state dark mode toggles (Light/Dark/System) leak the underlying data model into the UI and solve a largely imaginary user goal, since real users only seek out the toggle when something looks wrong. It advocates a well-designed two-state toggle that shows the currently resolved value and alternates between storing an explicit override and reverting to the system default, capable of expressing all three underlying states. Key implementation rules include only evaluating the stored override at user interaction, keeping it even if the OS preference later coincides with it, since any resulting confusion is rare and fixable with a single click.

Julie Zhuo··Julie Zhuo

Eye, Hand, AI: a letter to my daughter

AI 摘要In a letter to his 11-year-old daughter, the author explores the distinction between the 'Eye' (taste—the ability to recognize excellence) and the 'Hand' (the skill to create), drawing on quotes from Wittgenstein and Ira Glass to explain how creative growth requires closing the gap between what we can appreciate and what we can make. While acknowledging that AI now acts as a powerful 'Hand' that outperforms most beginners, the author warns that its polished convenience may erode the willingness to struggle through the hard work of craft, thereby stunting the development of one's Eye. He hopes his daughter will still put in the effort to train both her eye and her abilities in the AI era, since no technology can replace the human journey of curiosity, exploration, and pursuit of excellence.

Matt Godbolt··Matt Godbolt

How Compiler Explorer Runs on AWS in 2026

AI 摘要The article describes how Compiler Explorer runs on AWS in 2026: browser traffic goes through CloudFront and WAF to a single Application Load Balancer that routes to blue/green auto-scaling fleets of mostly cheap spot instances, while its roughly 6,000 never-deleted compiler binaries across 93 languages are stored on EFS using a custom content-addressed image system (CEFS) that cut startup times dramatically. Nightly compiler builds run on self-hosted GitHub Actions EC2 runners, a partially deployed 'CE Router' will eventually decouple HTTP handling from compilation, and services like DynamoDB, S3, and Lambda handle short links, caching, and odds and ends. The site handled 78.7 million compilations over the past year at around $3,600 per month (about $0.0007 per compilation), costs largely covered by AWS open source credits and sponsors, though traffic has been sliding for reasons the author can't fully explain since the site deliberately doesn't track users.

Experimental History··Adam Mastroianni

Incentives are for losers

AI 摘要The author argues that blaming 'bad incentives' for society's problems misses the point: blindly obeying reward systems for treats is contemptible, and the truly human task is developing one's own sense of purpose and moral convictions. Drawing on research showing most people hold only shallow, unexamined value systems—like 'moralistic therapeutic deism' and the 'illusion of explanatory depth'—the author contends that weak convictions leave people vulnerable to being driven by incentives. Using the metaphor of Lovecraft's maddening fish, they suggest genuine moral development requires confronting disturbing truths, as illustrated by their own disillusionment watching scholars discuss social justice while ignoring homeless people dying outside their conference hotel.

AI Snake Oil··Sayash Kapoor

AI agents can't yet do open-ended AI research

AI 摘要Researchers ran 'shadow evaluations' in which frontier AI agents, given thousands of dollars in API credits and six days, attempted to answer the main research questions from two unpublished AI papers, and the original authors rejected both agent-generated papers. Analysis of the agents' logs revealed shortcomings including poor research judgment, failure to use available resources, inability to creatively respond to feedback, ineffective backtracking, and ignoring explicit instructions. The authors conclude that open-ended AI research remains a significant bottleneck for recursive self-improvement and explosive AI progress, though they caution the findings are tentative and plan to continue such evaluations.

Trail of Bits Blog·

A few notes on AWS Nitro Enclaves: KMS integration

AI 摘要This article, the third in a series on AWS Nitro Enclaves, explores the integration between Nitro Enclaves and AWS Key Management Service (KMS), explaining how attestation-based key policies and encrypted responses allow enclaves to securely offload key management. It catalogs passive and active attack classes against the enclave-KMS communication channel—including data swaps, CMK substitution, replay attacks, and man-in-the-middle attacks—offering checklists of mitigations such as hardcoding CMK ARNs, using encryption contexts, and employing enclave-initiated TLS with attested CAs. It also highlights operational risks that persist even with correct cryptography, such as IAM credential manipulation, timing side channels, and replay windows within attestation freshness limits.

Daniel Miessler·

Why Aren’t Things Worse?

AI 摘要The author applies a Theory of Constraints analysis to ask why bad outcomes like cybercrime aren't more common, identifying friction points such as skill, operational difficulty, and moral restraint. They argue that AI—especially unrestricted open-source models and ready-made crime tooling—could dramatically lower these barriers, potentially making cybercrime 20x easier to commit without getting caught, precisely when layoffs and poor job prospects are pushing skilled developers toward desperation. The author contends that asking what currently prevents things from being worse, and how changes shift that calculus, is foundational to security thinking yet largely absent from mainstream discourse.

Stefan Judis··Stefan Judis

Web Weekly #197 (#blogPost)

AI 摘要This issue of the Web Weekly newsletter rounds up web development news, including the State of Devs survey, State of CSS results, new features like the containertiming attribute, CSS infinity, the closedby property, and soft navigation measurement in Chrome. It also covers the 'Await dictionary of Promises' ECMAScript proposal reaching stage three, text scaling approaches, polyfills, and several recommended projects and tools. The author closes by thanking newsletter supporters and sharing a thought on how AI makes it easy to simulate competence without building it.