最新文章

今日新增 453 篇 · 共 7,564 篇 · 来自 241 个博客

Brett Cannon··Brett Cannon

CLI subcommands with lazy imports

AI 摘要The article explains how Python 3.15's newly accepted PEP 810 lazy imports can benefit CLIs by only importing modules needed for the chosen subcommand. It shows why the standard argparse approaches for subcommands—dict-based dispatch or subparser defaults—break lazy imports, since assignment reifies the lazy object and triggers the actual import. Two workarounds are proposed: dispatching via a match statement, or wrapping the lazy import in a lambda to add a layer of indirection.

Robin Rendle··Robin Rendle

pointer-box-offset

AI 摘要The author recounts frustration with a blog sidebar nav arrow whose tappable area was too small, and how enlarging it with padding broke the surrounding layout and required hacky CSS workarounds. They wish CSS offered a way to define an interactive zone around an element, and highlight Tyler Sticka's proposal for a new `pointer-box-offset` property that would let developers expand the tap/hover target area without affecting surrounding elements or layout.

Trey Hunner··Trey Hunner

On the environmental impact of using LLMs for writing code

AI 摘要The article argues that while the environmental impact of LLMs is a legitimate climate concern, individual use—including heavy coding agent usage at roughly 1,300 Wh per day—represents a relatively small share of a person's energy and carbon footprint (about 1.6% of daily emissions). Drawing on Hannah Ritchie's data-oriented analysis, the author contends that climate change is a collective action problem best solved through systemic measures like carbon taxes, subsidies, and regulations, rather than through individual guilt over LLM usage. The author also notes that the uneven distribution of data centers makes their local impacts on grids and water supplies disproportionately significant, and urges readers to pressure companies and governments rather than focus narrowly on personal consumption choices.

Filippo Valsorda·

Turn Dependabot Off

AI 摘要The author argues that Dependabot is a noise machine that floods developers with false-positive security alerts, as illustrated by a case where it opened thousands of unnecessary PRs after a fix in filippo.io/edwards25519 that affected a method almost no one uses. He recommends disabling it in favor of two scheduled GitHub Actions: one running govulncheck, which uses the Go Vulnerability Database to filter vulnerabilities by package and symbol reachability, and one running the test suite against the latest dependency versions. This approach eliminates alert fatigue, allows real vulnerabilities to be triaged seriously, and keeps dependencies safely tested without constant automatic updates.

Benedict Evans··Benedict Evans

How will OpenAI compete?

AI 摘要The article argues that OpenAI faces four fundamental strategic problems: no unique technology or durable competitive moat, a huge but shallow user base with weak engagement and no network effects, commoditization pressure from incumbents like Google and Meta with better distribution, and a product roadmap hostage to unpredictable research breakthroughs. It suggests Sam Altman has spent the past year trying to trade OpenAI's early lead into more durable strategic positions through an 'everything at once' expansion—app platforms, a browser, advertising, and massive capex—culminating in a platform strategy meant to create more value for partners than for itself.

Charity Majors··Charity Majors

First I wrote the wrong book, then I wrote the right book

AI 摘要The author spent six weeks stuck with writer's block on what she thought was her final chapter, only to discover—after reviewing feedback from dozens of industry professionals—that she had written the wrong book entirely: tactical advice for observability teams surviving in a strategic vacuum, rather than guidance for the real problem of misalignment between engineering and executives. She threw out the manuscript and started over, restructuring the book around technical decision-makers (CTOs, VPs, distinguished engineers) using systems thinking and feedback loops instead of overloaded jargon. Despite months of panic and stress, she now hopes the longer, rewritten second edition will genuinely help organizations adapt to an AI-native reality, with final chapters heading into tech review on February 20th.

The Gradient··Peli Grietzer

After Orthogonality: Virtue-Ethical Agency and AI Alignment

AI 摘要This essay argues that rational agency—human or artificial—should not be understood in terms of final goals or consequentialist optimization, but through 'eudaimonic rationality,' in which actions are aligned to self-structuring networks of practices. It contends that core AI-safety desiderata like transparency, harmlessness, and corrigibility are natural and stable when treated as virtue-like, always-on practices, but brittle and unnatural when interpreted as goals or rules. The author concludes that many classical alignment paradoxes stem from assuming goal-driven optimizers, and that instilling AIs with eudaimonic rationality offers a more natural, robust, and safer target for alignment.

DHH··David Heinemeier Hansson

Omacon comes to New York

AI 摘要OMACON, the first conference celebrating Linux, Omarchy, and related tools, will take place on April 10 at the Shopify SoHo Space in New York City, featuring speakers such as Hyprland creator Vaxry, ThePrimeagen, TJ DeVries, and OpenCode creator Dax Raad. Tickets go on sale February 19 at 10am EST, priced at cost ($299) with only 130 spots available, though sessions will also be recorded for those who miss out. The author emphasizes Omarchy's remarkable growth—50,000 ISO downloads per week and 30,000 Discord members since launching last summer—as a testament to open source community spirit.

One Useful Thing··Ethan Mollick

A Guide to Which AI to Use in the Agentic Era

AI 摘要The article explains that 'using AI' has fundamentally shifted from back-and-forth chatbot conversations to agentic AI that completes multi-step tasks autonomously, meaning choosing the right AI now requires understanding three components: models (the underlying AI brains like GPT-5.2, Claude Opus 4.6, and Gemini 3 Pro), apps (the products you interact with), and harnesses (the systems that let AI use tools and take actions). The author advises that free models are optimized for casual chat rather than accuracy, so serious work requires a paid plan (at least $20/month) and manually selecting the most capable models, since the default options are often weaker. While chatbot websites remain the most common way to access AI, tools with extensive harnesses like Claude Code, OpenAI Codex, and Google Antigravity are where the most impressive work gets done, capable of autonomously building, testing, and launching complete projects.

Charity Majors··Charity Majors

Martin Fowler told me the second edition should be shorter (it's twice as long)

AI 摘要The author recounts meeting Martin Fowler, who quipped that second editions of books should always be shorter—ironically, the upcoming 'Observability Engineering, 2nd edition' is nearly twice as long as the first. The new edition has a clearer mission, aimed at software engineers, with extensive new material on OpenTelemetry and AI, guest contributions from many respected engineers, and a new final section on 'Observability Governance.' Publication is on track for June, with chapters available earlier to O'Reilly subscribers, and the author teases a follow-up post about her struggles writing the final governance chapters.

Clojure News·

State of Clojure 2025 Results

AI 摘要The 2025 State of Clojure survey gathered responses from developers in 80 countries, showing that roughly two-thirds use Clojure as their primary language and that 70% would very likely recommend it to others, with fintech, enterprise software, and healthcare being the top industries. Clojure continues to attract new users, with about half the community having five or fewer years of experience, drawn mainly by functional programming, work needs, and its Lisp heritage. Among dialects and tools, Babashka edged out ClojureScript for second place behind Clojure itself, Emacs remains the most popular editor overall (though newcomers favor VS Code with Calva), and 70% of developers have used AI tools for software development.

Swizec Teller·

Users buy your service, not your code

You might enjoy this podcast episode. Sylvain and I talked about owning production in a world where AI writes the code. https://youtu.be/tdcCLv1ZXSw Also on spotify and apple podcasts. Pretty neat, I've never been on Spotify before :D Conti

Julia Evans··Julia Evans

Notes on clarifying man pages

AI 摘要After working on the Git man pages, the author reflects on what makes man pages easier to use, gathering examples of good practices such as rsync's terse OPTIONS SUMMARY, strace's categorized options, Perl's cheat sheet, OpenBSD's examples, and curl's per-option examples. The post also discusses improvements like tables of contents and internal hyperlinks in HTML versions, using tables for scannability, and notes the GNU project's preference for info manuals over man pages. The author concludes that man pages are an interestingly constrained format, loves examples, and invites readers to share other well-designed man pages.

Casey Accidental··Casey Winters

Zero to One Is a Subtraction Problem

AI 摘要Drawing on his experience building SuperMe with co-founder Ludo, the author argues that going zero to one is fundamentally a subtraction problem rather than a speed problem, shaped by two early bets founders make: how much feature surface area to build and how much design polish to invest—each combination carrying tradeoffs between learning speed and positioning strength. The core challenge is distinguishing features that are mere distractions from those that compound with network density, using formal experiment reviews and the test of whether a feature is required for the full long-term vision. Ultimately, success comes from pruning fast—recognizing misses, starving them before they starve your hits, and knowing what the company needs to own so you know what to remove.