| name | explain-diff-html |
|---|---|
| description | Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output. |
Please make me a rich, interactive explanation of the specified code change.
It should have these sections:
Byte Buddy lets you create and modify Java classes at runtime without a compiler. You can add methods, intercept calls, inject fields, and rewrite bytecode — all after the JVM has started.
This guide walks through every major strategy with working examples, failure cases, and real-world parallels.
Here's a clean, concise summary of the key steps to design a Ticket Booking System (like BookMyShow or Ticketmaster) in a system design interview:
Estimate:
A step-by-step guide grounded in the Aether language — a complete tree-walking interpreter written in Rust.
Sophisticated AI-augmented development workflow:
🛤️ End-to-End AI-Assisted Flow (what actually happens)
🎯 Start with strong written thinking
→ RFC / Proposal → Full system design & architecture → Integration map
👥 Design review with senior engineers
✅ Approved? → Deep subsystem specs & interface contracts
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| import json | |
| class GetBodyEchoHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): | |
| # Read the raw body (if any was sent) | |
| content_length = int(self.headers.get('Content-Length', 0)) | |
| body = self.rfile.read(content_length) if content_length > 0 else b'' | |
| # Prepare response |