02 / short · 21 notes
Notes
Small code snippets and notes. No cover, no fluff: the content shows right on the card.
Architecture#architecture
- text · 1 min21 Oct 2026Transactional OutboxHow to save to the database and publish an event without one happening without the other: write the event to a table in the same transaction and publish it lat…
- text · 1 min31 Jan 2025CQRSCommand Query Responsibility Segregation: separating the model that changes data from the model that reads it, so each can be optimized for its job.
- text · 2 min31 Jan 2025Hexagonal architectureAlso known as Ports and Adapters: the domain at the center, independent of frameworks, databases or APIs; everything technical plugs in through ports.
- quote17 Oct 2024Conway's LawAny organization that designs a system will produce a design whose structure is a copy of the organization's communication structure.
- table17 Oct 2024Tech glossaryTerms and acronyms to expand your buzzword vocabulary.
- list17 Oct 2024The Twelve-Factor AppThe 12 principles for building software-as-a-service apps: codebase, dependencies, config and more.
- text · 2 min29 Sep 2024Software documentationDocument enough that the system doesn't depend on whoever wrote it: the C4 model for diagrams, ADRs for decisions and documentation next to the code.
Fundamentals#fundamentals
- text · 2 min14 Oct 2024Bitwise operationsBitwise operators (AND, OR, XOR, NOT and shifts) work directly on the bits of a number. What they are for: flags, permissions, masks and quick tricks.
- text · 1 min14 Oct 2024PointersA pointer holds the memory address of another value. How Go uses them explicitly, why Java has no pointers but has references, and pass by value versus pass by…
- text · 1 min08 Oct 2024InterfacesAn interface is a contract: it says what a type can do, without saying how. Java declares it explicitly; Go figures it out on its own.
- text · 1 min05 Oct 2024Data typesThe type tells the compiler how much space a value takes and what you can do with it. Primitives, composites, static and dynamic typing, and silent overflow.
- text · 1 min05 Oct 2024StringsText is a sequence of bytes with an encoding. Immutability, why the length of 'é' changes between languages, and how to concatenate without wasting memory.
- text · 1 min29 Sep 2024Variables and ConstantsA variable is a name for a memory slot whose value can change; a constant is a name whose value doesn't. Declaration, initial value, scope and what 'final' rea…
AI#ai
- text · 1 min21 Oct 2026Agent harnessEverything around the model: the loop, the tools, the context and the middlewares. It is what decides whether an agent is useful or not.
- text · 1 min21 Oct 2026Model calibrationA calibrated model that says 90% confidence is right 9 times out of 10. Without that, the confidence number is useless.
Concurrency#concurrency
DevOps#devops
Economics#economics
Observability#observability
Paradigms#paradigms
No notes found.