Formatting XML Without Losing Your Mind
XML still powers config files, SOAP services, feeds, and build tooling. Here's a practical look at formatting it properly — why indentation matters, the gotchas that bite, and a worked example....
Tutorials, tips, and insights for modern developers
XML still powers config files, SOAP services, feeds, and build tooling. Here's a practical look at formatting it properly — why indentation matters, the gotchas that bite, and a worked example....
Percent-encoding trips up developers constantly — from double-encoded query strings to spaces turning into plus signs. Here's a practical rundown of what URL encoding does, when you need it, and the gotchas that'll bite you....
MD5 is everywhere — in checksums, caches, and legacy code. Here's a practical look at what it actually does, when it's fine to use, and the places it quietly fails....
Consistent JavaScript formatting saves review time, prevents silly bugs, and keeps diffs clean. Here's how to think about it, plus the gotchas that trip people up....
Base64 shows up everywhere from data URIs to JWTs, but plenty of developers treat it as magic. Here's what it really does, when it helps, and the gotchas that trip people up....
A practical look at SHA-256 hashing — how it works, when it actually helps, the mistakes people make with it, and a quick worked example in Node.js....
A practical guide to bcrypt — why it's still the sensible default for password storage, the gotchas that bite people, and a worked example you can actually use....
A practical guide to bcrypt — what it does, why it beats fast hashes for passwords, the gotchas that trip people up, and a worked example you can run today....
Bcrypt is still the sensible default for hashing passwords. Here's how it works, when to use it, the gotchas that trip people up, and a quick worked example....
A practical look at SHA-256 for working developers — what it is, where it genuinely fits, the mistakes people make (hello, password storage), and a quick worked example....
A practical guide to percent-encoding for working developers — what it is, when you need it, the gotchas that bite in production, and a worked example that clears up the usual confusion....
HTML escaping is one of those small things that prevents broken pages and serious security holes. Here's a practical rundown of when to escape, why it matters, and the gotchas that bite people....