
Parking Lot Low Level Design in Java: Spots, Tickets, Fees
Parking lot low level design in Java: best-fit spots, tickets, a swappable pricing strategy, real output, a Python version and interview follow-ups.

Parking lot low level design in Java: best-fit spots, tickets, a swappable pricing strategy, real output, a Python version and interview follow-ups.

Fastify middleware bypass explained: affected @fastify/express and middie versions, a lockfile check we ran, the preHandler fix and the interview concepts.

Optimizely supply chain attack explained: why allowlisting the CDN failed, how strict-dynamic and unsafe-eval let malware run, and the CSP that held.

Zod vs Valibot tested on one schema: bundle size, Node.js parse speed, JSON Schema output and an import gotcha, with a verdict on which to use and where.

LLM token rate limiting for shared AI gateways: reserve tokens up front, reconcile with real usage, and avoid 429s. Tested Node.js and Redis Lua code.

Composition vs inheritance shown by turning 12 logger subclasses into 6 parts: runnable TypeScript, real output, a Java version and trade-offs.

RLS policy privilege escalation let a free user own Dosu's internal org. See the broken invite policy, a tested fix, and the CI and integration lessons.

Polymorphism in OOP shown by replacing an if/elif notification chain with channel classes: runnable Python 3.13 code, real output and a TypeScript version.

Hedged requests cut tail latency, but unbudgeted hedging doubled load in our simulation. See the budget, breaker and tested Node.js 22 code here.

LLM context length exceeded errors in Node.js: detect OpenAI and Claude overflows, count tokens correctly, and trim history without breaking tool calls.

LiteLLM CVE-2026-40217 is now on CISA's KEV list. See affected versions, the 1.83.11 fix, a version checker we ran, log checks and interview takeaways.