← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Timing Attacks
Side-channel attacks that infer secret values by measuring how long an operation takes — a string comparison that short-circuits on the first mismatch leaks information about the secret one character at a time.
CWE-208
2mo ago security advanced
Transactional Outbox Pattern
The Outbox pattern atomically saves domain events to an 'outbox' DB table in the same transaction as business data — a relay then publishes to the message broker, preventing lost events.
3mo ago messaging advanced
Template Literal Types 4.1
TypeScript template literal types combine string literals with type interpolation — type EventName = `on${Capitalize<string>}` — enabling precise string-pattern type constraints.
3mo ago typescript advanced
Type Coercion in Authentication Checks PHP 4.0+
PHP's loose comparison (==) coerces types — '0e123' == '0e456' (both 0 in scientific notation), and 0 == 'admin' — always use === for authentication comparisons.
3mo ago security advanced
Tries (Prefix Trees) PHP 5.0+
A tree where each path from root to node spells a prefix — enabling O(m) insert, lookup, and prefix search where m is the string length, regardless of dictionary size.
3mo ago data_structures advanced
Type Widening & Covariance/Contravariance PHP 7.4+
PHP's rules for overriding method types in subclasses — return types are covariant (can narrow), parameter types are contravariant (can widen), enforced since PHP 7.4.
3mo ago php advanced
Typed Arrays & ArrayBuffer ES2015
Fixed-type binary arrays (Int32Array, Float64Array, Uint8Array) backed by raw ArrayBuffer memory — essential for WebGL, audio processing, file handling, and Web Workers.
3mo ago javascript advanced
TypeScript Declaration Files (.d.ts) 2.0 🧠 1
Type-only files describing JavaScript code shapes — DefinitelyTyped (@types/* packages) provides community-maintained declarations for popular JS libraries.
3mo ago typescript advanced
TypeScript Decorators 4.0 🧠 1
Metadata annotations on classes, methods, and properties — used in NestJS, Angular, TypeORM, and class-validator to attach behaviour declaratively.
3mo ago typescript advanced
Tail Latency (p95, p99)
The latency experienced by the slowest requests — p99 is the response time below which 99% of requests fall, the most user-visible metric.
3mo ago performance advanced
Timing Attack PHP 5.6+ 🧠 1
Measuring how long a comparison takes reveals information about secret values — use hash_equals() to prevent it.
CWE-208 OWASP A2:2021
3mo ago security advanced 5.9
Diagram: Transaction Isolation Levels Transaction Isolation Levels PHP 5.1+
SQL standards defining how and when changes made by one transaction are visible to others, trading consistency for concurrency.
3mo ago database advanced
Diagram: Two-Phase Commit (2PC) Two-Phase Commit (2PC)
A distributed transaction protocol ensuring all nodes commit or all roll back — providing strong atomicity across multiple databases.
3mo ago architecture advanced
Types of Cohesion
Cohesion grades from Coincidental (worst — random grouping) to Functional (best — single well-defined purpose), guiding module design decisions.
3mo ago quality advanced
Types of Coupling
Coupling grades from Content (worst — direct internal access) to Message (best — pure interface communication), guiding decoupling decisions.
3mo ago quality advanced
Diagram: TypeScript Generics TypeScript Generics 2.0 🧠 2
Type parameters that allow functions, classes, and interfaces to work with any type while preserving type information — the TypeScript equivalent of PHP templates or Java generics.
3mo ago typescript advanced
✓ schema.org compliant