design-pattern

Tag

Cards List
#design-pattern

Stripe Just Wants a Number

Lobsters Hottest · 2026-07-31 Cached

The author describes how exe.dev decouples billing from business logic using 'billable facts' — atomic events that trigger downstream reconciliation with Stripe, avoiding brittle billing code.

0 favorites 0 likes
#design-pattern

A simple web-access pattern for agents: search, fetch, browser but keep raw pages out of main context

Reddit r/AI_Agents · 2026-07-06

This article presents a cleaner pattern for agent web access by splitting it into three separate lanes—search, fetch, and browser—and using a reader subagent to keep raw pages out of the main context, significantly reducing token usage and context pollution.

0 favorites 0 likes
#design-pattern

@Salad95238547: https://x.com/Salad95238547/status/2072971194165563600

X AI KOLs Timeline · 2026-07-03 Cached

In-depth analysis of ClaudeCode's tool system design, unifying file reading, Shell commands, sub-agents, etc. into a Tool interface, and introducing the implementation mechanisms of concurrent batch processing, asynchronous tasks, and MessageQueueManager.

0 favorites 0 likes
#design-pattern

Push vs Pull Memory: A Better Way to Think About AI Agent Memory

Reddit r/AI_Agents · 2026-06-18

An exploration of push vs pull memory models for AI agents, arguing that the pull method offers better scalability and efficiency for agent memory management.

0 favorites 0 likes
#design-pattern

What Is a Dickover?

Hacker News Top · 2026-05-29 Cached

John Gruber coins the term 'dickover' to describe the ubiquitous, irritating modal panels that obstruct web browsing for cookie consent, newsletter signups, and app installs, arguing they deliberately frustrate users.

0 favorites 0 likes
#design-pattern

Opaque Types in Python

Hacker News Top · 2026-05-23 Cached

The article explains the opaque data type pattern in Python using typing.NewType to hide internal implementation details, using a ShippingOptions example to show how to provide a minimal public interface.

0 favorites 0 likes
← Back to home

Submit Feedback