All guides
Every SevyDevy Learn guide, newest first.
501 guides · Newest first · Updated
- Web Workers Explained: Moving Heavy JavaScript Off the Main ThreadWhat blocks the main thread, how to move parsing into a worker, what postMessage copying costs and when a worker backfires.Frontend · 19 min read ·
- Spec-Driven Development Explained: Make AI Agents Code to a ContractWrite the rules and tests first, protect them, and review the contract, shown on one bill-splitting function.AI and GenAI · 20 min read ·
- Shopping Cart System Design: Guest Merges, Price Changes and Stock HoldsGuest cart merges on login, price and stock changes, short stock holds and reminder jobs. One festive fashion sale runs through it.System design · 23 min read ·
- Postgres Full Text Search: Ranking, Typo Matching and When Elasticsearch WinsTsvector and tsquery, GIN indexes, ranking, pg_trgm for typos and the limits that call for a search engine.Backend · 18 min read ·
- Performance Budgets in CI: Lighthouse CI and Bundle-Size GatesPicking budget metrics, setting up Lighthouse CI and bundle-size gates, and stopping slow speed regressions.Frontend · 18 min read ·
- How to Contribute to Open Source: A Career Plan From First Issue to ReviewerPicking a project, getting a first pull request merged, how maintainers decide, paid programmes and the reviewer ladder.Career and interviews · 20 min read ·
- Engineering Manager vs Staff Engineer: How to Choose a Track You Can ReverseWhat each role does all day, the engineer/manager pendulum and how to trial management safely.Career and interviews · 17 min read ·
- Coupon System Design: Single-Use Codes, Stacking Rules and AbuseUnguessable codes, single-use redemption that survives concurrent requests, stacking rules and coupon farming.System design · 19 min read ·
- API Error Handling: Problem Details, Status Codes and Safe RetriesRFC 9457 problem details, choosing 4xx and 5xx status codes, retryable vs terminal errors and messages that leak nothing.Backend · 18 min read ·
- AI Coding Agent Customization Explained: Instruction Files, Hooks and Sub-AgentsInstruction files, custom commands, hooks that gate tool calls, sub-agents and MCP servers, and when to use each.AI and GenAI · 21 min read ·
- Preview Environments Explained: A Disposable Stack per Pull RequestOne short-lived stack per pull request, safe seed data, size limits, teardown and what to fake.Backend · 20 min read ·
- N+1 Query Problem Explained: Lazy Loading, Eager Loading and DataLoaderWhy ORMs send one query per row, how to spot it in query logs, and how joins, eager loading and DataLoader fix it.Backend · 19 min read ·
- How to Read a Large Codebase: Entry Points, Traces and a Personal MapEntry points, ripgrep, go-to-definition, debugger stack traces, git history and safe first changes.Career and interviews · 21 min read ·
- Geofencing System Design: Matching Moving Phones Against Millions of FencesCell and R-tree indexes, exact point-in-polygon checks, enter, exit and dwell events, hysteresis and battery-aware phones.System design · 22 min read ·
- Flight Search System Design: Fare Caching and Why Fares Vanish at CheckoutFare caching against supplier rate limits, look-to-book ratios, the price check at booking and NDC offers.System design · 20 min read ·
- Embeddable Widget Design: Script vs Iframe, Shadow DOM and postMessageScript vs iframe embeds, Shadow DOM style isolation, safe postMessage contracts and protecting the host page's Core Web Vitals.Frontend · 22 min read ·
- Browser Extension Architecture: Content Scripts, Service Workers and PermissionsContent scripts, the service worker, the popup, message passing, permissions and store rules.Frontend · 23 min read ·
- AI-Era Career Strategy for Software Engineers: Build and Prove JudgementWhich skills AI tools commoditise or amplify, what the evidence says, and a portfolio that proves judgement.Career and interviews · 18 min read ·
- AI Agent Payments: Mandates, Spend Limits and Safe RetriesMandates, spend limits, scoped cards and tokens, idempotent retries, refunds and audit trails.AI and GenAI · 18 min read ·
- AI Agent Benchmarks Explained: How Scores Get Inflated and How to Read ThemHow issue-fixing, assistant and tool-and-user benchmarks score agents, why pass^k matters and how leaderboard scores get inflated.AI and GenAI · 21 min read ·
- Reverse Interviewing Questions: What to Ask About On-Call and Team HealthHow to ask about on-call load, decision speed and team health, and which answers are red flags.Career and interviews · 22 min read ·
- RAG Content Ops: Fix Stale, Duplicate and Conflicting Source DocsFinding stale, near-duplicate and contradictory source documents, giving each page an owner and review date, and why retrieval tuning cannot fix a bad wiki.AI and GenAI · 21 min read ·
- Link Preview System Design: Unfurling URLs Safely with SSRF DefencesHow an app fetches an untrusted URL, blocks SSRF by resolving, checking and pinning IP addresses, caches previews per URL and handles robots.txt and privacy.System design · 27 min read ·
- In-App Notifications Explained: Badges, Toasts and Cross-Tab Read StateHonest badge counts, calm toast queues, accessible announcements and read state synced across tabs and devices.Frontend · 27 min read ·