← Home ← Codex ← DEBT ← Engine
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
Starvation & Livelock
Starvation: a thread never gets resources because others monopolise them. Livelock: threads actively respond to each other but make no progress — like two people stepping aside for each other indefinitely.
6mo ago Concurrency intermediate
Streams API — ReadableStream & WritableStream HTML5 🧠 4
The Streams API provides composable, backpressure-aware data pipelines in the browser — processing large responses, files, or media chunk by chunk without buffering everything in memory.
6mo ago JavaScript advanced
Structured Output from LLMs (JSON Mode) PHP 8.0+
Instructing an LLM to return valid JSON rather than prose — either via a system prompt schema, a JSON mode API flag, or a tool-use response format — so the output can be reliably parsed and used programmatically.
6mo ago AI / ML intermediate
Swoole & Async PHP PHP 7.4+
Swoole is a PHP extension providing a coroutine-based async runtime — enabling non-blocking I/O, connection pools, and WebSocket servers without Node.js or external message brokers.
6mo ago Concurrency advanced
Safe Mode Removal & Modern Alternatives PHP 4.0+
PHP's safe_mode was removed in PHP 5.4 — it provided false security. Modern alternatives are open_basedir, OS-level permissions, and containers.
6mo ago Security intermediate
satisfies Operator (TS 4.9) 4.9
satisfies validates that a value matches a type without widening the inferred type — keeping precise literal types while checking against an interface.
6mo ago TypeScript intermediate
Spaceship Operator <=> (PHP 7.0) PHP 7.0+
The spaceship operator <=> returns -1, 0, or 1 by comparing two values — it replaces verbose if/else comparison callbacks in usort() with a single concise expression.
6mo ago PHP beginner
Spread Operator in Arrays [...$a, ...$b] PHP 8.1+
PHP 8.1+ allows the spread operator ... inside array literals to merge arrays — cleaner than array_merge() for combining arrays inline.
6mo ago PHP beginner
Stack Overflow from Deep Recursion PHP 5.0+
PHP has no configurable stack size limit — deep recursion causes a fatal segfault or memory exhaustion, not a catchable exception.
6mo ago PHP intermediate
str_contains / str_starts_with / str_ends_with PHP 8.0+
PHP 8.0 added str_contains(), str_starts_with(), and str_ends_with() — replace strpos() !== false patterns with these readable alternatives.
6mo ago PHP beginner
Stream Filter Injection via php:// wrapper PHP 5.0+
PHP stream wrappers (php://filter, php://input) combined with user-controlled filenames enable LFI-to-RCE escalation — never allow user input in file paths.
6mo ago Security advanced
SyntaxError — Parse-Time Failures ES5
SyntaxError means JavaScript couldn't parse your code — the entire script fails to execute. Common causes: missing brackets, invalid JSON, reserved word misuse.
6mo ago JavaScript beginner
Spread & Rest Operators ES2015
Spread (...) expands iterables into arguments or array/object literals; rest (...) collects remaining arguments into an array.
6mo ago JavaScript beginner
Screen Readers — How They Parse HTML HTML5
Screen readers build an accessibility tree — semantic HTML provides roles automatically; ARIA fills gaps for custom components.
6mo ago Accessibility intermediate
Search Indexing Pipeline PHP 7.0+ 🧠 1
The process of transforming raw content into a searchable index — extraction, normalisation, tokenisation, stemming, and index writing with incremental update strategies.
6mo ago Search intermediate
Search Relevance — TF-IDF & BM25 🧠 2
Ranking algorithms that score documents by how relevant they are to a query — TF-IDF and BM25 balance term frequency against document length to surface the best matches.
6mo ago Search advanced
Search-as-You-Type Patterns 🧠 1
Implementing instant search suggestions as users type — debouncing requests, prefix indexing, highlighting matches, and managing loading/empty states.
6mo ago Search intermediate
Secret Sharing — Shamir's Scheme
Splitting a secret into N shares where any K can reconstruct it — preventing single points of failure for root encryption keys and disaster recovery credentials.
6mo ago Cryptography advanced
Secure File Downloads PHP 5.0+
Preventing path traversal, unauthorised access, and content injection when serving file downloads — validating paths, checking authorisation, and setting correct headers.
6mo ago Security intermediate
Segment Trees
A tree data structure for O(log n) range queries and point updates — supporting sum, min, max over arbitrary array ranges.
6mo ago Data Structures advanced
✓ schema.org compliant