Blog
Tutorials, comparisons, and reference guides for developers.
Morse Code: Timing, Prosigns, Audio
Morse is a five-duration timing protocol, not just dots and dashes. The exact unit math (1/3/1/3/7 for dot/dash/intra/inter-char/inter-word), why SOS is a fused prosign rather than three letters, Q-codes that compressed 1920s shipboard chatter 5-10×, why the letter assignments are hand-rolled Huffman coding, Farnsworth timing, and the 5 ms rise/fall envelopes that suppress key-clicks at 600-800 Hz.
CIDR, Subnetting, and VLSM
A subnet mask is just a 32-bit AND. Everything else — usable hosts, broadcast, wildcard, magic-number trick, VLSM packing — falls out of that. Plus the /31 exception for point-to-point links, why CIDR replaced classes in 1993, the inverted-logic Cisco wildcard masks for ACLs and OSPF, and what changes in IPv6 (no broadcast, mandatory /64 for SLAAC, /127 for router-to-router links).
What EXIF Data Reveals
A modern phone photo carries 30-80 metadata fields including GPS to 5-meter accuracy, camera serial numbers, exact local timestamps with timezone offsets, and an embedded thumbnail that survives redaction. The McAfee/Ochoa/drone-strike cases, what Instagram/Facebook/Twitter/Discord/Slack actually strip, why blanking is detectably different from stripping, and the iPhone HEIC Live Photo video-segment trap.
How to Calculate GPU VRAM for Running LLMs
Llama 3.1 70B needs 141 GB of weights in fp16, fits on a single 24 GB GPU at Q4_K_M, and uses more VRAM for KV cache than weights past 128K context. The full breakdown: weights, KV cache, GQA, MLA, activations, optimizer state — with worked examples for inference, LoRA, QLoRA, and full fine-tuning.
WCAG 2.1 vs APCA
What 4.5:1 actually means, where the 0.05 offset comes from, why APCA exists, why dark-on-light reads better at the same ratio, and why Tailwind's `text-lg` doesn't qualify as large text under WCAG. Plus the color-blindness modes that hide failures contrast checkers miss.
Generate JSON Schema from Samples
Single-sample inference guesses required vs optional; multi-sample inference proves it via intersection. How conservative format detection, $defs extraction by content hash, and Draft 2020-12's prefixItems actually work — plus the constraints that no amount of sample data can reveal.
Debugging Multi-Tenant JWTs
Provider claim conventions diverge sharply — `org_role` vs `role` vs namespaced URIs vs `cognito:groups`. The seven-provider comparison, the 13-rule security checklist (5 critical, 5 warning, 3 info), the missing-aud cross-service token-replay failure vector, and how to verify signatures and generate test tokens entirely in the browser.
Rent vs Buy
Deterministic rent-vs-buy calculators hide enormous uncertainty in one number. The SALT cap costs CA/NY/NJ buyers ~$13K of deductions per year, the $250K/$500K capital gains exclusion eliminates most home-sale tax, mortgage interest deduction stops helping once you fall below the standard deduction, and the down payment's opportunity cost compounds aggressively. 5,000 Monte Carlo paths give you a probability, not a misleading median.
How to Name Cities for Fantasy Worldbuilding
Real place-names are weathered down by centuries of geography, conquest, and bureaucracy — and that's why most made-up names sound wrong. The patterns that real cities follow, the eight fantasy language flavors that map to recognizable cultures, and a procedural workflow that gets you from blank hex to named region in three minutes.
Why Italic Unicode Text Breaks Screen
The italic-looking text you paste into Instagram bios isn't italic — it's mathematical alphanumerics from U+1D400. Screen readers announce it as 'mathematical italic small e' character by character. Here's exactly what's happening, the platform compatibility matrix, and the narrow set of cases where Unicode italic is the right answer.
How to Run Pictionary, Charades
Pictionary needs visually distinct, drawable, age-appropriate objects with a 60-second timer. Charades needs embodiability — drawability ≤ 3 plus desk-scale or larger. Scavenger Hunts need indoor/outdoor matching and CEFR-appropriate vocabulary. The complete game-night and classroom playbook plus a 31-day drawing challenge.
SCY vs SCM vs LCM
A 50.32 SCY 100 free converts to roughly 55.85 LCM — but only with the right factor for the right stroke and distance. The four conversion models in active use (Classical, USA Swimming, NCAA Administrative, Performance), the coverage gaps each one has, the long-course distance remappings, and how the time-standard cuts work.
How to Use a Random Animal Generator for
A flat random-from-list generator gets boring fast. Structured randomness — filtered by taxonomy, habitat, geography, and IUCN conservation status — turns 500 species into a usable tool for elementary teachers, ESL tutors, trivia hosts, and fantasy writers. The five workflows that get the most use, plus the conservation education angle.
What's the Cheapest Stripe Alternative in
The honest answer depends on your business model — there's no single replacement that's universally cheaper. The breakdown by category: when GoCardless beats Stripe on direct debit, Mollie on European local methods, Adyen at enterprise, Razorpay in India, and when it's better to stay on Stripe.
Stripe India Pricing Guide
Stripe India operates differently from other markets — 2% + ₹2 base rate, 18% GST on fees, RBI mandate rules limiting recurring at ₹15k. Plus a worked decision framework for when Indian businesses should use Stripe vs Razorpay.
Merchant of Record vs DIY Tax
Paddle and Lemon Squeezy charge ~5% to be your Merchant of Record. Stripe + Stripe Tax + a compliance partner is roughly 3.4% — but you handle the operational work. The math, the threshold (~$1.5M ARR), and when to switch.
Stripe vs Mollie for European Merchants
Both Stripe and Mollie operate natively in the EU with similar pricing on cards, iDEAL, Bancontact, SEPA, and Klarna. The differences are in subscription tooling, marketplace support, and global reach. Worked examples for Dutch e-commerce, German SaaS, and Belgian retail.
Stripe Identity, Issuing, Treasury
Beyond payment processing, Stripe sells card issuing, banking-as-a-service, KYC verification, data analytics, and revenue-based loans. Per-feature pricing, when each applies, and how they compare to alternatives like Marqeta, Persona, and Unit.
How Stripe Fees Actually Work in 2026
Stripe's pricing page lists 2.9% + 30¢ and calls it a day. The actual cost of running a Stripe-powered business is layered. This guide walks through every component — international surcharge, currency conversion, Stripe Tax, Billing, Connect — with worked examples so you can stop being surprised by your monthly statement.
Why Stripe Doesn't Refund Fees on Refunds
When you refund a Stripe transaction, Stripe keeps the original processing fee — full or partial refund. Here's why, what it costs across realistic refund volumes, and what you can actually do about it.
Stripe vs PayPal Fees in 2026
Stripe is 2.9% + 30¢ in the US; PayPal is 3.49% + 49¢. The headline numbers favor Stripe — but the comparison is more nuanced than rate. Worked examples, dispute handling, country coverage, and the modern primitives that decide most picks.
Stripe Connect Fees Explained for
Stripe Connect's three flavors — Standard, Express, Custom — each price differently. Plus cross-border surcharges and application-fee math. The full economic picture for two-sided marketplaces, with worked examples for platforms at every scale.
How to Reduce Stripe Fees Legally
Stripe's effective rate varies between 2.5% and 5.5% depending on configuration choices most merchants never make. The 8 highest-impact levers, ranked, with quantified savings — from ACH steering to multi-currency settlement to custom pricing thresholds.
13 Hidden Stripe Fees You Might Be Missing
The 2.9% + 30¢ on Stripe's pricing page is the floor. Most businesses pay an additional 0.5–2% in fees they didn't know existed. The full catalog: international surcharge, currency conversion, Connect cross-border, Radar, dispute fees, refund-retained fees, and more.
Stripe Pricing for High-Volume Merchants
Stripe's public 2.9% + 30¢ stops being the right rate above $80k/month in card volume. Volume-discount blended vs interchange-plus, when each pays off, and what to bring to the negotiation. Plus when Adyen becomes the better alternative.
International Stripe Fees
International card surcharge + currency conversion + Connect cross-border can stack to 5.9% on a single transaction. The math, the mitigations (multi-currency settlement, multi-entity setups, local payment methods), and the threshold at which each pays off.
Is Stripe Tax Worth the 0.5%? A Decision
Stripe Tax adds 0.5% on every taxed transaction. For some businesses, that's a no-brainer; for others, an external accountant or compliance partner is meaningfully cheaper. Worked examples for SaaS at every revenue tier and product mix.
Disputed a Stripe Charge? Here's What It
A lost Stripe dispute on a $100 transaction costs $118.20 — principal + processing fee + $15 dispute fee. Plus operational time. The full economics by category, win rate by dispute reason, and the framework for fight vs accept decisions.
How to Migrate from GitHub Actions to GitLab
GitHub Actions and GitLab CI look interchangeable until you actually convert one. This is the end-to-end migration playbook — what maps cleanly, the five things that will bite you, and how to test the new pipeline without breaking production.
GitHub Actions vs GitLab CI vs CircleCI vs
All four major CI platforms have converged on the same shape but disagree on pricing, parallelism limits, cache architecture, and integrations. A head-to-head comparison plus a decision framework based on the constraints that actually matter.
How to Convert CircleCI Caches to GitHub
CircleCI's restore_cache + save_cache pair maps to a single actions/cache@v4 step in GitHub Actions — but the syntax, the key semantics, and the gotchas all differ. The four patterns that cover 90% of real pipelines, plus the gotchas nobody warns you about.
When to Use pgvector vs a Dedicated Vector
pgvector handles more than you think — until it suddenly doesn't. A 2026 decision framework with a TL;DR matrix, scale break-points, cost crossover analysis, and migration paths between Postgres and Pinecone, Weaviate, Qdrant, or Milvus.
Vector Database Cost Comparison 2026
The same 10M-vector RAG workload can cost $36 or $1,460 a month depending on which provider you pick. Here's how Pinecone, Weaviate, Qdrant, Zilliz, Chroma, MongoDB Atlas, and self-hosted pgvector / Milvus actually compare in 2026.
How Much Does RAG Cost in 2026? The
Embedding, Storage, Retrieval, and Generation — every RAG pipeline has the same four cost layers. The same workload can cost $80/month or $8,000/month depending on how you stack them. Here's the honest breakdown with worked examples.
PNG vs WebP vs AVIF
PNG, WebP, and AVIF each win on a different axis — universality, efficiency, or raw compression. Here's exactly when each format is the right call and the browser-support trade-offs to know.
MD5 vs SHA-256 vs SHA-512
MD5 is broken for security, SHA-256 is the modern default, and SHA-512 is counterintuitively faster on 64-bit hardware. Here's when each hash function is the right pick — and when none of them are.
Stripe Test Card Numbers
Every Stripe test card you need — successful charges, decline codes, 3D Secure, fraud, and regional cards — grouped by scenario. Plus the order to test them in before going live.
How to Merge MP3 Files in Your Browser
Browser-based audio joining via WebAssembly handles 80% of merging needs without uploading audio to a server. Here's exactly how it works, when to use crossfade vs gap, and when to reach for a real DAW.
Paycheck Calculator
The same $150K salary swings $13,000 in annual take-home depending on which state you live in. Here's the math behind state income tax, local tax, SDI, and the no-income-tax trade-off across seven representative states.
How to Create a Favicon
A favicon is more than a single file — it's a family of icons across browsers, iOS, Android, and PWAs. Learn the sizes you actually need, how to design for 16×16 pixels, and the exact HTML to ship.
How to Format SQL
SQL becomes hard to scan as soon as a query gets longer than a screen. Learn the formatting conventions that make queries reviewable, how to handle dialect differences, and when not to reformat.
How to Write a .gitignore File
A good .gitignore protects your repo from bloat, secrets, and OS noise — but the matching rules have subtleties that surprise even experienced developers. Learn the syntax, common patterns, and the 'already tracked' problem.
How to Convert CSV to JSON
CSV looks simple until you hit your first quoted comma or embedded newline. Learn how to handle the edge cases, type conversion choices, and when to use a parser vs string.split.
YAML vs JSON vs TOML
JSON, YAML, and TOML each optimize for a different reader. Learn the trade-offs, where each one bites you in production, and how to choose for a new project.
How to Generate UUIDs
UUIDs come in seven versions, each with different trade-offs around uniqueness, ordering, and database performance. Learn when v4 is the right call, when v7 wins, and how to generate them safely.
How to Convert JPG to PDF Without Losing
JPG to PDF sounds trivial until you deal with page sizes, margins, multi-image ordering, and file size limits. Learn how to produce a clean, properly-sized PDF that prints and emails reliably.
How to Calculate LLM API Costs
LLM APIs charge by tokens, not requests, and a single unit-economics calculation tells you whether your AI feature can actually ship. Learn the formula, the hidden costs, and the strategies that cut your bill 10×.
How to Create Mermaid Diagrams
Mermaid lets you write diagrams as text that renders natively on GitHub, GitLab, Notion, and modern docs. Learn the syntax for the diagrams you'll actually need and where Mermaid falls short.
How to Calculate Percentages
Every percentage problem reduces to one of four shapes. Learn the formulas, the mental-math tricks that beat reaching for a calculator, and the percent-of-percent traps that catch journalists and businesses.
How to Compress Images for the Web Without
Images are the biggest contributor to page weight on most sites. Learn the difference between lossy and lossless compression, when to use JPEG vs PNG vs WebP, and how to cut file sizes by 80% without visible quality loss.
What Is a QR Code? A Complete Guide to QR
QR codes store URLs, contact cards, WiFi credentials, and more in a scannable square. Learn how they work, what you can encode, error correction levels, and best practices for creating QR codes that actually scan reliably.
Password Security
Most password advice is wrong. Length beats complexity, passphrases beat random strings for memorability, and one reused password can expose every account you have. Here's what the research actually says.
How to Convert PDF to Word
PDF-to-Word conversion results vary wildly depending on whether the source is a native or scanned PDF. Learn what gets preserved, what breaks, how to get the best output, and when conversion is the wrong approach entirely.
How to Decode a JWT Token Safely Without
JWT tokens are everywhere in modern auth — but most developers don't know how to inspect them safely. Learn how to read JWT payloads in your browser without ever sending the token to a server.
JSON Formatter vs JSON Validator
Formatting and validating JSON are two different operations — but most developers use them interchangeably. Here's exactly what each does and when you need one vs the other.
How to Test Regular Expressions
Regex patterns are powerful but notoriously hard to get right. Learn how to read, write, and debug regular expressions with real examples, and test them interactively without writing any code.
How to Generate and Verify Cryptographic
Hash functions are the backbone of data integrity checks, password storage, and digital signatures. Learn how MD5, SHA-1, SHA-256, and SHA-512 work and when to use each.
Unix Timestamps Explained
Unix timestamps show up in logs, APIs, and databases constantly — but converting them in your head is impossible. Learn what epoch time is, why it's used, and how to convert it instantly.
How to Build a Cron Job Schedule
Cron syntax is compact but cryptic. Learn how the five fields work, common patterns for scheduling tasks daily, weekly, or at specific intervals, and how to build schedules without memorizing the syntax.
How to Check Your Writing's Readability
Flesch-Kincaid, Gunning Fog, SMOG — readability formulas translate your writing complexity into a grade level. Learn what these scores mean, what makes writing hard to read, and how to improve your score.
How to Compare Two Text Files or Code Blocks
Spotting the difference between two versions of a document, config file, or code snippet by eye is error-prone. Learn how diff tools work and how to use them to find changes instantly.
Word Count vs Character Count
Word count and character count measure different things, and the one that matters depends entirely on where your content is going. Here's when each metric is the right one to optimize.
How to Use Lorem Ipsum Placeholder Text in
Lorem ipsum has been the designer's go-to placeholder for 500 years — but using it wrong can sabotage your layouts. Learn where it helps, where it hurts, and smarter alternatives for different contexts.
HEIC vs JPG
HEIC files take up half the space of JPEGs at the same quality — but they don't work everywhere. Learn the trade-offs between Apple's HEIC and universal JPG so you know exactly when to convert.
How to Resize Images for Instagram, Twitter
Every social platform has different image dimension requirements, and uploading the wrong size causes cropping, blurring, or compression artifacts. Here are the exact dimensions to use in 2025.
How to Convert Images to Text
OCR (Optical Character Recognition) can extract editable text from scanned documents, screenshots, and photos. Learn how it works, when it's accurate, and how to get the best results.
How to Download YouTube Thumbnails in High
YouTube thumbnails are public assets — but the URL structure isn't obvious. Learn how to get maxresdefault thumbnails for any video, and why creators and developers download them.
How to Convert a PDF to JPG
Converting a PDF to images is useful for thumbnails, previews, social sharing, and embedding in documents that don't support PDFs. Learn how to do it and what to watch for in the output.
PDF vs Word: Which Format Should You Use?
PDF and Word are both document formats — but they solve opposite problems. One is for sharing, the other for editing. Choosing wrong causes formatting disasters and unnecessary back-and-forth.
How to Create a Professional Invoice Online
A professional invoice is more than a payment request — it establishes credibility and sets clear terms. Learn what every invoice needs, what to avoid, and how to create one in minutes.
How to Write a Resume That Gets Past ATS
Most resumes never reach a human — they're rejected by Applicant Tracking Systems. Learn exactly how ATS scanning works, which formatting choices kill your chances, and how to write a resume that passes both the bot and the hiring manager.
How to Create a Lesson Plan
A good lesson plan is more than a schedule — it's a roadmap that ensures every minute in the classroom has purpose. Learn the components of an effective lesson plan and how to build one from scratch.
How to Calculate Your FIRE Number with a
Your FIRE number is the portfolio size that lets you retire — but calculating it when your income fluctuates is tricky. Learn how the 4% rule works, what assumptions it makes, and how to adjust for variable income.
Coast FIRE vs Lean FIRE vs Fat FIRE
FIRE isn't one-size-fits-all. Coast FIRE, Lean FIRE, and Fat FIRE represent different retirement strategies with very different target numbers. Here's how they compare and which fits your situation.
How to Calculate EMI for a Home Loan
Your EMI depends on the loan amount, interest rate, and tenure — but small changes in any of these create big differences over the life of the loan. Learn the formula and how to use it to compare offers.
How to Calculate Your BMI and What the
BMI is the world's most widely used health screening tool — and also one of the most misunderstood. Learn the formula, what the categories mean, and where BMI falls short as a health indicator.
How to Calculate Compound Interest
Compound interest is how wealth builds — and how debt spirals. Learn the formula, how compounding frequency affects your returns, and how to use it to set realistic savings goals.
How to Calculate Your SIP Returns
A Systematic Investment Plan turns small monthly contributions into significant wealth over time — but the math behind it is less intuitive than a lump sum. Learn how CAGR, XIRR, and absolute returns work for SIPs.
How to Create a CSS Gradient
CSS gradients let you create smooth color transitions without images — but the syntax is fiddlier than it looks. Learn linear, radial, and conic gradients with copy-paste examples for every use case.
How to Create a Professional Email Signature
Email signatures should build credibility and make it easy to reach you — but a poorly formatted one can look broken in half the email clients on earth. Learn what to include and how to create one that renders correctly everywhere.
How to Choose a Color Palette for Your Brand
Color is one of the most powerful brand signals — but picking colors randomly leads to inconsistency and poor contrast. Learn the principles of color theory, how to build a palette that works, and how to test for accessibility.
How to Design a Logo Online for Free
You don't need a design degree or expensive software to create a professional logo. Learn what makes a good logo, the design principles to follow, and how to create one that works across all sizes and backgrounds.
How to Create a Seating Chart for Events
A seating chart is deceptively simple to get wrong — the wrong arrangement causes confusion, conflict, or missed opportunities. Learn how to approach seating for different event types and what tools make it effortless.
How to Format JSON
Learn what JSON formatting is, why indentation and whitespace matter, how to spot and fix syntax errors, and how to format JSON online in one click.
Base64 vs URL Encoding
Base64 and URL encoding both transform data into ASCII-safe strings — but they solve different problems. Here's exactly when to use which.