Tag

#guides

47articles
GuidesNov 16, 2026

Why Ctrl+C doesn't stop a program — and how one except line causes it

Why Ctrl+C doesn't stop a program: the script catches the signal itself, Docker and PID 1, a stuck terminal. How to find the cause and stop it for sure.

6 min read
GuidesNov 16, 2026

How to compare two files — and why diff says every line is different

How to compare two files in the terminal: diff, cmp, word-level and folder comparisons, and what to do when diff flags lines that look identical.

6 min read
GuidesOct 31, 2026

Why your CSS transition isn't working — 4 reasons the element jumps instead of animating

Why a CSS transition doesn't work: display none, height auto, a class added in the same frame, and animations turned off. How to check each cause and fix it.

6 min read
GuidesOct 31, 2026

How to detect when the user goes offline — and why navigator.onLine lies in a café

How to detect offline in JavaScript: what navigator.onLine really means, the online and offline events, and a fetch check with a timeout.

6 min read
GuidesOct 27, 2026

Why my numbers jump when they change — the timer jitters and the text next to it moves

Why a timer or counter jitters and shifts the text beside it: proportional digits, changing digit count, and fonts without tabular-nums. How to fix it.

6 min read
GuidesOct 27, 2026

How to make a carousel (slider) with CSS — no library, native swipe

How to build a pure-CSS carousel with scroll-snap: native swipe on phones, arrows and dots in 20 lines of JS, no slider library and no broken Back gesture.

7 min read
GuidesOct 7, 2026

Why console.log shows the wrong value — and how the console "lies" to you

Why console.log shows the wrong value: one thing collapsed, another expanded, an empty array full of data, or [Object] instead of nested fields. Three causes.

5 min read
GuidesOct 7, 2026

How to split an array into chunks in JavaScript — without hitting a 429 from the API

How to chunk an array in JavaScript: a 3-line function, batch processing without 429 errors, a pause between batches, and two traps that freeze your tab.

6 min read
GuidesOct 1, 2026

Why localStorage data disappears — four causes and how to check each

Why localStorage loses data after a reload: your code overwrites it, a different port, an object saved without JSON.stringify, the browser wiping it. Fixes.

5 min read
GuidesOct 1, 2026

How to wait in JavaScript — and why await inside forEach doesn't wait

How to pause (sleep) in JavaScript: a setTimeout and await delay, pausing in a loop between requests, and the forEach trap that never waits. With code.

5 min read
GuidesSep 10, 2026

Why users don't see my error message — 3 causes and how to check each

"I clicked and nothing happened" — yet the error is displayed. Three reasons your error message never reaches the user, and a one-minute check for each of them.

5 min read
GuidesSep 10, 2026

How to replace "Are you sure?" with Undo — 5 steps and a working setup

How to add an undo action instead of a confirmation dialog: five steps with code — a delete flag, instant removal, the undo window, and what to do with timers.

6 min read
GuidesSep 1, 2026

Why nobody uses my app — three causes that look identical

Five users on the dashboard is three different diagnoses: they never came, never got through, or never came back. How to tell them apart and fix each.

6 min read
GuidesSep 1, 2026

How to track events in analytics — and why a parameter won't show up on its own

Step by step: how to send a custom event, how to name it, where to verify it in a minute, and why event parameters stay invisible until you register them.

6 min read
GuidesAug 29, 2026

Why my payment is declined — three causes, and why the bank won't tell you which

A payment was declined and the reason is vague. The three real causes of card declines, how to tell them apart in a minute, and what's actually fixable.

5 min read
GuidesAug 29, 2026

Refund vs chargeback: what's the difference — and why refunding is almost always cheaper

A refund is yours to issue; a chargeback is started by the customer's bank. Compared on cost, timing and fallout — plus when to refund without thinking.

5 min read
GuidesAug 29, 2026

How to add a free trial — step by step, without surprise charges

Step by step: add a free trial to a subscription, decide whether to take a card, warn people three days ahead, and avoid a refund on day one.

6 min read
GuidesAug 26, 2026

App crashes on startup — 3 causes and how to check each one

Your app quits right after launch but works fine in the debugger. Three causes: the watchdog timer, the release build, and data left by the old version.

6 min read
GuidesAug 26, 2026

What a runbook is — instructions for yourself at 3 a.m.

What a runbook is and how it differs from documentation: when to write one, the five blocks inside it, and the rule that commands get copied, not described.

5 min read
GuidesAug 26, 2026

How to keep a CHANGELOG — step by step, so humans actually read it

How to add a CHANGELOG.md to your project: the six change types, the Unreleased section, date format and generating a draft from commits. Step by step.

6 min read
GuidesAug 22, 2026

How to retry failed requests — 6 steps that won't double-charge anyone

How to retry failed API requests properly: which errors to retry, how to compute the pause, and how to stop a retry from taking the payment twice.

6 min read
GuidesAug 21, 2026

Why your deep link doesn't open the app — three causes and how to check each one

The link silently opens in the browser instead of the app. Three real causes: the verification file, a cached failed check, and opening it from a messenger.

5 min read
GuidesAug 21, 2026

How to build a status page — step by step, so it doesn't go down with your site

How to build a status page for your project: where to host it, what should check availability, and why status on your own domain is a bad idea. Five steps.

5 min read
GuidesAug 11, 2026

Why your dates are off by a day — and how to fix it

Dates showing yesterday or tomorrow? Three real causes: a date-only string parsed as UTC, a server in another zone, and toISOString cutting the wrong day.

5 min read
GuidesAug 11, 2026

How to add a link preview (og:image) — and why Telegram still shows the old one

How to add an og:image so your link unfurls with a picture in Telegram and social apps: the tags, the 1200×630 size, absolute URLs and clearing the preview cache.

5 min read
GuidesAug 9, 2026

Why state doesn't update in React — and what reference comparison has to do with it

You called setState and the screen didn't re-render. Three real causes: mutating an array, state as a snapshot, and shallow copies — plus how to fix each.

5 min read
GuidesAug 9, 2026

JPEG, PNG or WebP — which image format to use on your site

JPEG, PNG or WebP: how they differ, which one weighs less, and why transparency is no longer a reason to reach for PNG. Comparison table and a clear verdict.

5 min read
GuidesAug 9, 2026

How to make a PWA — turn your site into an app without app stores

Step by step: manifest, icons, service worker, HTTPS. How to make a PWA that installs to the home screen — and why one file is enough to get there.

6 min read
GuidesAug 5, 2026

Why my database connection fails — three causes and how to tell them apart in a minute

Database connection errors: too many clients, ENETUNREACH and failed authentication. Diagnose each one by its symptom and fix it.

5 min read
GuidesAug 5, 2026

How to chunk documents for RAG — step by step, so answers stop falling into the seams

A step-by-step guide to chunking documents for RAG: chunk size, overlap, adding context to every fragment, and testing on your own questions.

6 min read
GuidesAug 2, 2026

What is a staging environment — and why it isn't Git's staging area

Staging is a copy of your live site where breaking things is fine. Here's how it differs from local, from production — and from Git's staging area.

5 min read
GuidesAug 2, 2026

How to handle API errors — retries, backoff, and when retrying makes it worse

Retrying is the most common fix and the most common way to take a service down. Step by step: what to retry, how long to wait, when not to.

6 min read
GuidesJul 28, 2026

What is a monorepo — and when one repository beats three

A monorepo isn't “dump all the code in one folder”. Here's why teams keep a site, an app and a bot in one repository — and when you don't need it.

5 min read
GuidesJul 28, 2026

How to make a site in two languages — without losing it in search

Step by step: URLs, where to keep your texts, a language switcher and hreflang. Plus the big mistake — IP redirects that hide your second version from Google.

6 min read
GuidesJul 13, 2026

What is an MVP — and why it isn't a 'stripped-down app'

An MVP isn't half a product — it's the cheapest way to test whether anyone wants it. Here's what an MVP really is, and how to build one over a weekend.

5 min read
GuidesJun 27, 2026

How to cut your AI costs — 6 steps without losing quality

The same result can cost 10x less. You pay for tokens, not requests — and most beginners burn them for nothing. Here's how to stop.

6 min read
GuidesJun 27, 2026

Best free hosting for your first app — 7 working options and their catches

You can put your first site online for $0 in five minutes. But 'free' costs something different on each host — here's where it works, and the catch.

6 min read
GuidesJun 7, 2026

How to deploy your first app with no code — it's just giving it an address on the internet

"Deploy" sounds scary. It really just means "give your project a link other people can open" — and an agent does it for you in a couple of minutes.

5 min read
GuidesJun 3, 2026

Your first vibe-coding project: the trick is picking one small enough

From idea to deploy without writing a line by hand. The hardest part isn't the code — it's resisting the urge to add more.

9 min read
GuidesJun 2, 2026

From Idea to Spec: Plan Your Product Before You Build It With AI

A vague idea makes the AI guess. A clear spec makes it build. Here is how to turn "an app for X" into something you can actually ship.

6 min read
GuidesJun 1, 2026

Validate Before You Build: Check Your Idea Before Writing a Line of Code

Building is the fun part — which is exactly why people skip the boring question: does anyone actually want this? Here is how to find out in a weekend.

6 min read
GuidesMay 30, 2026

Debugging With AI: How to Fix What You Don't Fully Understand

When the AI-built thing breaks, panic is optional. A calm, repeatable method beats frantic re-prompting every time. Here is the loop that actually finds bugs.

6 min read
GuidesMay 27, 2026

From Prototype to Production: What Changes When Real Users Arrive

A demo only has to work for you, once. A product has to work for strangers, all the time. Here is what actually separates the two — and what to fix before launch.

7 min read
GuidesMay 26, 2026

Shipping Your First Paying Feature: From MVP to First Customer

Free users are not validation — they are a hobby. The hardest, most honest milestone in building is one stranger paying you once. Here is how to reach it.

7 min read
GuidesMay 25, 2026

Talking to Users: How to Get Feedback That Actually Improves Your Product

Most feedback is polite, vague, and useless. The good stuff has to be dug out with better questions. Here is how to interview users without fooling yourself.

6 min read
GuidesMay 24, 2026

Pricing Your First Product: How a Solo Builder Sets the First Price

Beginners price on fear and pick a number too low to matter. Price is a message, not a math problem. Here is how to set a first number you will not regret.

7 min read
GuidesMar 7, 2026

Your First Project With AI: From Idea to Deploy in One Evening

A step-by-step guide: take an idea, build it with AI, deploy to the internet. No prior experience needed.

4 min read