Articles - Page 4
Technical articles and updates.
Introduction How to Read Text Diffs: Understanding Line-Level and Word-Level Comparison
Learn how to read diffs: the meaning of + and -, line vs. word-level comparison, handling whitespace and line endings, and practical uses in code review.
Introduction UUID Complete Guide: Versions, Use Cases, and Choosing Between v4 and v7
Understand UUID versions v1 through v7, how to generate them in JavaScript, Python, and Go, and why UUID v7 is quickly becoming the preferred choice for database primary keys.
Introduction Regular Expressions for Engineers: Metacharacters, Groups, Lookaheads, and ReDoS
A complete practical guide to regex — from basic metacharacters to named capture groups, lookaheads, non-greedy quantifiers, and how to avoid catastrophic backtracking (ReDoS).
Introduction Unix Time and Timezones: A Practical Engineering Reference
Master Unix timestamps — what they are, the seconds vs milliseconds trap, timezone handling in JavaScript, Python, Go, and SQL, the 2038 problem, and how to convert them reliably.
Introduction Generate an OpenAPI Schema from JSON | Swagger-Compatible
How JSON gets turned into an OpenAPI 3.1 components schema. Covers the type-inference rules, how mixed-type arrays become oneOf, automatic date-string detection, and what to double-check after generating.
Introduction How to Generate TypeScript Types from JSON: A Hands-On Guide with Examples
Turn API-response JSON into type-safe TypeScript interfaces. Real conversion examples covering null, arrays, nesting, naming tips, and when to hand-edit.
Introduction Simplify JSON Validation with Zod
Learn how to automate runtime validation and type generation for JSON data using Zod, a TypeScript-friendly schema definition library.
Introduction JSON vs. YAML: Choosing the Right Format and How to Convert
JSON and YAML are ubiquitous in development. Compare their features and use cases, see a real conversion example, and learn when to convert between them.
Introduction What is JWKS (JSON Web Key Set)?
How JWKS works, what each field in the JSON means, how it's used during JWT signature verification, and what to watch for during key rotation. Generate an RSA key pair and see both JWKS and PEM formats in your browser.
Introduction Understanding JWT (JSON Web Token): Structure, Claims, and Secure Debugging
A comprehensive guide to JWT — how the Header, Payload, and Signature work, which claims matter most, common security pitfalls, and how to safely decode tokens in your browser.