DevForth

Core Engineering Intelligence

Engineering notes, architectural deep-dives, and practical playbooks from the DevForth team.

Latest

Start your dev servers automatically when you open a project in VS Code
Core Engineering Intelligence

Start your dev servers automatically when you open a project in VS Code

A small .vscode/tasks.json that starts your frontend, backend and other dev commands in split terminals as soon as the project folder opens.

Fix "imported module is not a function" after moving to webpack 5
Core Engineering Intelligence

Fix "imported module is not a function" after moving to webpack 5

Why a library's default import breaks with "is not a function" after a webpack 5 build, and the small config fix for library authors.

What to do when an open-source package is no longer maintained
Core Engineering Intelligence

What to do when an open-source package is no longer maintained

A short checklist for an abandoned npm or pip dependency. Confirm it's abandoned, find a maintained fork, check the license and switch safely.

How to back up a SQL database so it actually works
Core Engineering Intelligence

How to back up a SQL database so it actually works

A simple backup routine for PostgreSQL and MySQL. Dump the data, copy it off the server, run it on a schedule and check that you can restore.

Forward a remote port to your computer with SSH
Core Engineering Intelligence

Forward a remote port to your computer with SSH

Use ssh -L to open a database, admin panel or debug server that runs on a remote server on your own localhost, without opening it to the internet.

Blocking vs asynchronous code, explained simply
Core Engineering Intelligence

Blocking vs asynchronous code, explained simply

Blocking code stands and waits, async code works on something else in the meantime. Why that matters, and why neither one fixes a slow query.

Install PostgreSQL and create a database and user from the command line
Core Engineering Intelligence

Install PostgreSQL and create a database and user from the command line

Install PostgreSQL on Ubuntu or WSL, then create a database owned by its own user in two SQL commands, and connect with one URL.

How to create an AWS account and keep it safe
Core Engineering Intelligence

How to create an AWS account and keep it safe

Create an AWS account the safe way. Protect the root user with MFA, set a budget alert and use a separate short-lived login for daily work.

Painterro, a simple JS paint plugin for your website
Core Engineering Intelligence

Painterro, a simple JS paint plugin for your website

Painterro is a small open-source image editor for the browser. Paste a screenshot, crop it, add arrows and text, and save it to your own backend.