// search by error
Paste the error. Find the fix.
Paste what your terminal, logs, or browser console printed. We look for the same error in the code, logs, and incident reports of every article, and take you to the line.
Results
AI & MLTutorial
Building a RAG Pipeline That Actually Works: Chunking, Embeddings, and Evaluation
CREATE EXTENSION IF NOT EXISTS vector;
sql · line 1§ A table for chunks
BackendGuide
REST API Design Best Practices: Building APIs Other Developers Love
Fetching `limit + 1` rows reveals whether another page exists without a count query. The cursor is validated like any other input. Opaque means clients mustn't parse it, so you …
Never return 200 with an error in the body; retries, monitoring, and client libraries all key off the status. Prefer 404 over 403 when admitting a resource exists would leak inf…
ReactDeep dive
React Server Components Explained: When to Use Server vs. Client Components
- **Fetching in `useEffect` out of habit.** If an API route exists only to feed one Client Component, fetch in a Server Component parent and pass the data down as props.
BackendComparison
JWT vs. Sessions: Choosing an Authentication Strategy for Your API
return (await redis.exists(`denied:${jti}`)) === 1;
ts · line 11§ A denylist keyed by jti
JavaDeep dive
Java Virtual Threads in Practice: Scaling Blocking Code Without Going Reactive
- **Memory multiplied by thread count.** A thread local's value exists once per live thread: cheap with 200 threads, expensive with a million. `InheritableThreadLocal` values ar…
A pool exists to share something scarce, and virtual threads aren't scarce. Create one per task. To limit how many tasks touch a resource at once, limit the resource directly, a…
BackendDeep dive
Database Indexing Explained: How B-Tree Indexes Really Speed Up Your Queries
If `CREATE INDEX CONCURRENTLY` fails (a deadlock, a uniqueness violation, a cancellation), it leaves an invalid index that queries ignore but writes still maintain. Find leftove…
Redundant prefixes are subtler. Once `(customer_id, created_at)` exists, an index on `(customer_id)` alone is usually dead weight, but because it's smaller, the planner may keep…
CREATE EXTENSION IF NOT EXISTS pg_trgm;
sql · line 3§ Common indexing mistakes
BackendGuide
Microservices Communication: Synchronous vs. Asynchronous Patterns
If the process crashes or the broker is down after the insert, the order exists but nobody hears about it. Publish first and you get the reverse: an event for an order that was …
DevOpsTutorial
Zero-Downtime Deployments with Docker and GitHub Actions
- The previous release's image tag still exists in GHCR.
BackendGuide
Caching Strategies with Redis: Cache-Aside, Write-Through, and When to Use Each
It needs no coordination, but it only helps while the key exists. A cold or just-deleted key still needs the lock or coalescing, which is why I layer them.