// 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
You don't need a separate vector database to start. The [pgvector](https://github.com/pgvector/pgvector) extension adds a `vector` type, distance operators, and approximate near…
CREATE EXTENSION IF NOT EXISTS vector;
sql · line 1§ A table for chunks
BackendGuide
REST API Design Best Practices: Building APIs Other Developers Love
Clients branch on `type`, a URI that should resolve to documentation for that error. `title` is a stable summary, `detail` explains this occurrence, and `instance` identifies it…
JavaScriptDeep dive
The JavaScript Event Loop, Finally Explained: Tasks, Microtasks, and Rendering
Node adds a queue that browsers don't have: `process.nextTick()`. When Node drains microtasks, it empties the next-tick queue first, then the promise queue, and repeats until bo…
BackendDeep dive
Database Indexing Explained: How B-Tree Indexes Really Speed Up Your Queries
CREATE EXTENSION IF NOT EXISTS pg_trgm;
sql · line 3§ Common indexing mistakes