跳到正文
Jack King· 来源· @Jack7xyz · X·· 1 小时前AI 评分15
正文 · 原文

I compiled my favourite replies to @poteto and categorized them into a cheat-sheet to use with your agent

Game feel
- coyote time: jump grace window after leaving a ledge
- hitstop: brief freeze on contact to sell impact
- impact frame: single flash frame on hit

UX & speed
- perceived latency: how slow an action feels
- optimistic UI: update UI first, reconcile later
- graceful degradation: stay usable when features fail
- progressive disclosure: reveal complexity on demand
- information scent: cues showing if a path fits your goal

Backend & primitives
- effect-ts: TS lib for typed effects, errors, concurrency
- local-first: local reads/writes first, sync later
- cloudflare: edge platform for low-ops backends
- durable objects: consistent stateful edge objects
- composable primitives: small blocks that combine cleanly
- context layer: serves user/session/retrieved context
- event-sourced: append-only log, replay for state
- explicit state machine: define states/transitions, not flags
- workflow orchestration: coordinate & retry long workflows
- preemptive pluralization: plural collection names from day one
- control plane vs data plane: config path vs traffic path
- I/O bound vs compute bound: I/O wait vs CPU bottleneck

Data & rollouts
- feature flag: runtime toggle without redeploying
- gemini neon: Gemini + Neon Postgres AI/DB stack
- versioning schemas: evolve schemas compatibly
- batching db queries: combine queries to avoid N+1

Security & compliance
- authn vs authz: who you are vs what you can do
- audit log: append-only record of who did what, when
- PII/secret redaction: strip secrets/PII from logs & prompts
- NSA CNSA Suite 2.0: post-quantum crypto standard

Reliability & ops
- observability: infer state from logs, metrics, traces
- chaos engineering: inject faults to test resilience
- anomaly detection: auto-flag unusual patterns

Concurrency & distributed
- liveness: something good eventually happens
- deadlock freedom: processes never wait on each other forever
- linearizability: concurrent ops look atomic in order
- hazard pointers: safe memory reclaim for lock-free structs
- dynamic partial-order reduction: skip equivalent interleavings
- quorum intersection: quorums overlap so writes aren't lost
- FLP impossibility: no safe, terminating async consensus w/ crashes

Formal methods
- vacuously true: true only because premise never holds
- coinductive reasoning: prove properties on infinite traces
- rely-guarantee reasoning: concurrency via rely/guarantee specs
- logical relations: types as relations to prove equivalence
- proof-carrying code: code ships with checkable safety proof
- counterexample-guided abstraction refinement: refine models via counterexamples

Automata & logic
- Büchi automata: infinite-word automata for liveness
- parity games: infinite games for mu-calculus checking
- modal mu-calculus: temporal logic with fixpoints
- Myhill-Nerode equivalence: prefix classes giving minimal DFA
- stuttering simulation: compare specs ignoring stutter steps

Compilers
- sea-of-nodes IR: graph IR with data & control edges
- equality saturation: store equivalents in e-graph, pick best
- translation validation: verify pass preserved semantics
- partial redundancy elimination: skip recomputing available values
- defunctionalization: turn higher-order fns into data + apply

Language theory
- full abstraction: model equivalence matches contextual
- normalization by evaluation: evaluate semantically, read back syntax
- algebraic effects: typed side effects with handlers
- Reynolds abstraction theorem: polymorphic fns preserve relations
- game semantics: model programs as strategies vs environment

Abstract interpretation
- Galois connections: adjoint maps for sound abstraction
- widening operators: force analysis to terminate finitely
- octagon domains: tracks ±x ± y <= c constraints
- size-change termination: prove termination via decreasing size

thank you @poteto @swyx @infinterenders

引用lauren@poteto
learn new words. you can only ask for what you can imagine • coyote time • hitstop • impact frame • perceived latency • optimistic UI • graceful degradation • progressive disclosure • information scent • liveness • deadlock freedom • linearizability • vacuously true
在 X 查看被引用的帖子

来源:Jack King · x.com