Skip to main content

Developer journal

Written for Developers by a Developer.

In-depth tutorials, best practices, and practical guides on developer tools: JSON, URLs, security, regex, APIs, and more. Learn it here, then use it in the toolkit.

  • Written in-house
  • Tested code samples
  • Sources cited

All guides

Security

PolinRider Explained: The Supply Chain Attack That Runs When You Import

How the PolinRider campaign hides loaders in repositories and hijacked npm packages, why disabling install scripts does not stop it, and how to check your own projects.

Security

ChainDrop and Shai-Hulud: When a Trusted npm Package Turns Into a Worm

What happened in the keyv and Tensorlake npm compromises of August and October 2026, why valid provenance did not help, and how to check and protect your projects.

Code & Regex

JavaScript .then() and .catch(): Promise Error Handling Explained

How .then().catch() chains work in JavaScript: return values, error propagation, finally, common mistakes, and when to use async/await instead.

Code & Regex

Understanding Cron Expressions: The Complete Guide to Scheduling

Cron expressions look like gibberish but are the backbone of automated tasks. Learn how to read and write them.

JSON & Data

The Ultimate Guide to Data Serialization: JSON, YAML, XML, and TOON

From legacy XML to modern JSON and TOON, explore the evolution of data serialization formats and when to use them.

JSON & Data

Introducing TOON: The Token-Oriented Object Notation

TOON is a compact, token-oriented alternative to JSON for sending structured data to LLMs. Learn the syntax, how it works, and when to use it.

JSON & Data

TOON vs JSON: A Benchmark of Token Savings

How TOON and JSON compare on token count across sample datasets, where the savings come from, and when the trade-offs are worth it.

Security

Privacy First: Why Client-Side Developer Tools Matter

Your data shouldn't leave your browser. Learn why client-side processing is the future of developer tools and how it secures your sensitive information.

APIs

API Debugging: Techniques Beyond console.log

Debug APIs effectively by inspecting headers, status codes, and payloads. Practical techniques beyond console.log.

URLs & HTTP

HTTP Status Codes: Complete Developer Guide

Master HTTP status codes from 200 to 599. Learn what each code means, when to use them, and how to debug API errors. Essential for every developer.

APIs

Webhooks Explained: Real-Time Event Notifications

Learn how webhooks enable real-time integrations between applications. Understand webhook security, retry strategies, and best practices for production systems.

APIs

CORS Explained: Cross-Origin Resource Sharing Guide

Understand CORS errors and how to fix them. Learn about preflight requests, credentials, and CORS security best practices for modern web applications.

APIs

API Rate Limiting: A Complete Guide

Learn how to implement rate limiting to protect your APIs from abuse. Algorithms, best practices, and patterns for production.

Security

JSON Web Tokens (JWT): A Complete Guide

How JSON Web Tokens work, how to decode and verify them, how signing algorithms differ, and pitfalls like alg=none and expiry handling.

Security

Secure Password Generation: Why Length and Randomness Matter

Why password length and true randomness matter more than complexity rules, how attackers guess passwords, and how to generate strong ones.

Security

MD5 vs SHA-256: Hashing Algorithms Explained

What a hash function is, how MD5, SHA-1 and SHA-256 differ, when to use HMAC, and why plain SHA-256 is the wrong choice for passwords.

Security

Environment Variables: Security and Best Practices

Master environment variables for secure configuration management. Learn about .env files, secrets management, and avoiding common security pitfalls.

Code & Regex

Regex Cheat Sheet: Patterns That Hold Up in Production

A practical regex reference with tested patterns for IDs, dates, URLs and logs, plus the mistakes that cause bugs and catastrophic backtracking.

Code & Regex

Mastering Regular Expressions: A Developer's Guide

How regular expressions actually match: greedy versus lazy, backtracking, lookarounds, flags and JavaScript gotchas, with patterns you can test.

JSON & Data

JSON Editor Essentials: Validate, Format and Debug

What a good JSON editor should do, from validation with error positions to formatting, tree view and diffing, and how it speeds up debugging API responses.

URLs & HTTP

URL Encoding & Decoding: Definitive Guide

How URL percent-encoding works, encodeURI versus encodeURIComponent, plus versus %20, double-encoding bugs and security pitfalls, with tested examples.

URLs & HTTP

HTTP Redirects: 301 vs 302 and Debugging Chains

Learn the difference between permanent and temporary redirects, why redirect chains hurt SEO, and how to diagnose redirect issues.

URLs & HTTP

URL Anatomy: Parsing and Building Robust Links

Break down the structure of a URL into its components and learn how to construct safe, valid links programmatically.

URLs & HTTP

URL Validation: Why Regular Expressions Aren't Enough

Validating URLs is harder than it looks. Explore why simple regex fails and how to ensure URLs are properly formatted and safe.

Code & Regex

5 Essential Browser Tools Every Frontend Developer Needs

Boost your productivity with these 5 indispensable in-browser tools. From debugging complex APIs to perfecting CSS colors.

JSON & Data

UUIDs Explained: v1, v4, v7 and When to Use Them

UUID v1, v4 and v7 compared: how v7 is built, name-based UUIDs, collision odds, and when to choose each version for database keys.

JSON & Data

Unix Timestamps: A Complete Developer Guide

What Unix time is, why computers count seconds from 1970, how to convert timestamps safely, and pitfalls like milliseconds, time zones and the 2038 limit.

JSON & Data

Converting CSV to JSON: A Data Engineering Staple

Why converting CSV to JSON matters in data pipelines and web apps, plus the type, header, delimiter and encoding traps to avoid when you do it.

JSON & Data

CSV ↔ XML: Converting Data Between Table and Tree

Convert CSV to XML and XML to CSV reliably. Understand headers, quoting, and escaping to preserve data integrity across formats.

JSON & Data

Base64 Encoding: What It Is and How It Works

How Base64 encoding works, standard versus URL-safe alphabets, padding, the UTF-8 pitfall with btoa, and when Base64 is the wrong tool.

JSON & Data

JSON to Query String: Simplifying API Requests

Learn how to convert nested JSON objects into URL-encoded query strings significantly simplifying your API development workflow.

JSON & Data

JSON vs YAML: Choosing the Right Config Format

Compare JSON and YAML for configuration: readability, comments, YAML gotchas, conversion pitfalls and when to use each in DevOps workflows.

URLs & HTTP

DNS Records: A, CNAME, MX and Debugging Tips

How DNS records work: A, CNAME, MX and TXT, TTL and propagation, email records like SPF and DKIM, and a checklist for debugging DNS problems.

URLs & HTTP

The Art of URL Building: Best Practices

Master the construction of complex URLs. Learn about protocol relative URLs, proper parameter encoding, and avoiding common pitfalls.

Design & Content

How QR Codes Work: Error Correction and Data Density

QR codes are everywhere, but how do they store data? Learn about the matrix structure and error correction levels.

Code & Regex

Programming Naming Conventions: Camel, Snake, Kebab

Programming naming conventions explained: camelCase, snake_case, and kebab-case history, usage, and best practices.

Code & Regex

Mastering Text Cases: Camel, Snake, and Kebab Explained

CamelCase, snake_case, kebab-case... confusion? A comprehensive guide to programming naming conventions and when to use each one.

Design & Content

Accessible Color Palettes: A Practical Design Guide

How to build color palettes that meet WCAG contrast requirements, work for color-blind users, and still look good, with practical steps and tools.

Design & Content

Lorem Ipsum Explained: Why Designers Use It

Where Lorem Ipsum comes from, why designers use placeholder text, how much of it to use, and how to keep it out of production.

Explore in-depth tutorials, best practices, and expert insights on web development tools, security practices, and productivity tips. Learn how to leverage our developer tools effectively and stay updated with the latest trends in web development. Brought to you by ThenCatch.

Our articles cover URL encoding and parsing, JSON and YAML workflows, Base64 encoding, password and hash security, JWT decoding, regex patterns, cron expressions, API testing, CSV and XML conversion, and more. Each post includes practical examples and step-by-step guidance so you can apply what you learn directly in your projects.