Beginner guides.
No background assumed. What a database, a domain or an environment variable actually is, and how to get an app you built with AI online and keep it there.
511 posts · page 6 of 21
"Unexpected Token < in JSON at Position 0": What It Means and How to Fix It
Your code expected JSON and got HTML — almost always an error page or your app's index.html. Why it happens (wrong URL, 404, server error, SPA fallback, login redirect), how to see what the server actually sent, and how to parse responses safely.
"A Component Is Changing an Uncontrolled Input to Be Controlled": Fix
React warns when an input's value starts as undefined and later becomes a string. What controlled and uncontrolled inputs are, why undefined initial state causes this, and the fixes: initialise with '', use ?? '' for loaded data, and handle checkboxes and selects properly.
UFW Firewall Basics: Lock Down a Linux Server in Five Commands
A firewall decides which network traffic can reach your server. UFW makes Linux's firewall simple: allow SSH, HTTP and HTTPS, deny the rest. The commands, how not to lock yourself out, why your database port should never be open, and the Docker gotcha that bypasses UFW.
TypeScript "Type X Is Not Assignable to Type Y": How to Read and Fix It
TypeScript's most common error means a value doesn't match the type expected where you put it. How to read the message (including long nested ones), the common cases — string vs number, null and undefined, string literals, missing object properties, array types — and fixes that don't just hide the bug.
"This Site Can't Be Reached": What the Error Code Tells You
Chrome's 'This site can't be reached' covers several different problems, and the small error code underneath tells you which: NXDOMAIN, CONNECTION_REFUSED, TIMED_OUT, CONNECTION_RESET and more. What each means and how to fix it, as a visitor and as a site owner.
Does Your App Need Terms of Service? What to Include
Terms of service aren't usually required by law, but they're how you limit liability, set rules, handle payments and refunds, and shut down abusive accounts. When you need them, what sections matter, how to get users to agree properly, and the mistakes to avoid.
Do You Still Need a Technical Co-Founder in the Age of AI?
AI tools let non-technical founders build working products alone. What AI genuinely replaces, what a technical co-founder still brings (architecture, security, operations, judgement), the alternatives — fractional CTOs, freelancers, agencies — and how to find and split equity with a co-founder.
Tauri vs Electron: Building Desktop Apps With Web Technology
Electron and Tauri both turn a web app into a desktop app for Windows, macOS and Linux. Electron bundles Chromium and Node.js; Tauri uses the system's web view and a Rust back end. How they compare on app size, memory, consistency, security, mobile support and learning curve.
Tailwind vs Bootstrap: Which CSS Framework Should You Use?
Bootstrap gives you ready-made components with a recognisable look; Tailwind gives you small utility classes to build any design. How they differ in approach, file size, customisation, learning curve and AI-tool support, with the same button in both, and how to choose.
The Supabase MCP Server: Let AI Work With Your Database (Safely)
Supabase's MCP server lets Claude Code, Cursor and other AI tools inspect your tables, run SQL, apply migrations and read logs. How to connect it, why you should scope it to one project in read-only mode, and the risks of giving an AI database access.
Stripe Payment Links vs Checkout vs Elements: Which Do You Need?
Stripe offers three ways to take payments, from zero code to fully custom. Payment Links need no code, Checkout is a hosted page you create from your server, and Elements embeds payment fields in your own UI. What each can do, and how to pick.
SSR vs CSR vs SSG: How Web Pages Get Rendered, Explained
Server-side rendering, client-side rendering and static site generation are three answers to one question: where and when is the HTML made? How each works, the trade-offs for speed, SEO, cost and freshness, ISR in between, and which to use for which page.
How to SSH Into a Server (Mac, Windows and Linux)
SSH lets you open a terminal on a remote server securely. How to connect from macOS, Windows and Linux, logging in with a password vs an SSH key, the first-connection fingerprint prompt, a config file shortcut, and fixes for the common connection errors.
"error: src refspec main does not match any": How to Fix It
Git can't push a branch called main because it doesn't exist locally — usually because there are no commits yet or the branch is called master. How to check which it is and fix it in one or two commands.
WHERE vs HAVING in SQL: What's the Difference?
WHERE filters individual rows before they're grouped; HAVING filters groups after GROUP BY. Examples of each, why you can't use COUNT() in WHERE, using both in one query, and the performance reason to filter in WHERE whenever you can.
SQL GROUP BY Explained: Counting, Summing and Grouping Rows
GROUP BY collapses rows that share a value into one row per group, so you can count, sum or average each group. How it works with COUNT, SUM and AVG, grouping by several columns and by date, filtering with HAVING, and fixing the 'must appear in the GROUP BY clause' error.
SPA vs MPA: Single-Page vs Multi-Page Applications Explained
A single-page app loads once and swaps content with JavaScript; a multi-page app loads a new HTML page for each link. How each works, what it means for speed, SEO, hosting and complexity, and why modern frameworks like Next.js and Astro blur the line.
Semantic Search vs Keyword Search: What's the Difference?
Keyword search matches the words people type; semantic search matches what they mean, using embeddings and cosine similarity. How each works, where each fails, why hybrid search usually wins, and how to build both in Postgres.
Semantic HTML: What It Is and Why It Matters (With Examples)
Semantic HTML means using tags that describe what content is — header, nav, main, article, button — instead of divs for everything. Why it matters for accessibility, SEO and maintainability, the tags to know, and the div-soup mistakes AI-generated code often makes.
GitHub Secret Scanning and Push Protection: Stop Leaking API Keys
Secret scanning finds API keys, tokens and passwords committed to your repository; push protection blocks them before they're pushed. How both work on GitHub, what to do when one fires, why deleting the commit isn't enough, and local tools like gitleaks and pre-commit hooks.
scp vs rsync: How to Copy Files to and From a Server
scp copies files over SSH simply; rsync copies only what changed, can resume, and can mirror folders. Examples for uploading and downloading files and folders with each, the trailing-slash rule, --delete, excluding files, and when to use sftp or Git instead.
Schema Markup Explained: Structured Data for SEO (With JSON-LD Examples)
Schema markup is code that tells search engines what your page is about — an article, a product, a business, an FAQ — in a format they understand exactly. What it does, JSON-LD examples for common types, adding it in Next.js, testing it, and what it can and can't do for rankings.
How to Run a Python Script 24/7 (and Keep It Running)
Scrapers, bots, monitors and workers need to keep running after you close your laptop. The options — a server with systemd, tmux for quick jobs, Docker with a restart policy, cron for scheduled scripts — plus logging, restarting on crashes, and not losing data on restart.
How to Run an LLM Locally: A Beginner's Guide
You can run open-weight AI models like Llama, Qwen, Gemma and Mistral on your own computer, for free and offline. What hardware you need, the easiest tools (Ollama, LM Studio), how model size and quantization work, and what local models can and can't do compared with Claude or GPT.