Knowledge
Technical guides with sample code we ran, its real output, and references.
Websites and web apps2 min readAPI keys and environment variables: keeping web app secrets out of the codeWhere secrets should live, separate values for each environment, rotating keys, and what to do if one leaks.
Websites and web apps2 min readTesting a business web app: planning tests by risk and user journeyRank features by impact, cover the important journeys first, and balance unit, integration and end-to-end tests.
Websites and web apps2 min readSite down or users cannot complete tasks: using monitoring, logs and metrics to find the causeWhat each signal shows, alerts that point to user impact, and a step-by-step way to narrow down the cause.
Websites and web apps2 min readLCP, INP and CLS: measuring Core Web Vitals and fixing what each one points toWhat each metric measures, field versus lab data, and matching fixes to the metric that is actually failing.
Websites and web apps2 min readrobots.txt, noindex and sitemaps: getting the live site found and keeping the wrong pages out of searchWhat each tool controls, why blocking crawling is not the same as removing a page from search, and keeping staging out of the index.
Websites and web apps2 min readReleasing a new web app version: CI/CD, database migrations and a recovery planAutomated build and test steps, changing the database safely, and deciding in advance how to roll back when something goes wrong.
Automation22 min readGateway store and forward: getting through a dropped link without losing or double-counting dataThe link at a pump station drops for 80 minutes. Without a gateway buffer that water is never counted; with a buffer but no sequence numbers, resends count it twice. Runnable code for the outbox, sequence numbers, acks, deduplication, and showing a gap as a gap.
Automation20 min readA device offline is not a zero reading: separate online status, and alarms that do not repeatA water-level sensor loses power for 41 minutes and the screen shows an empty tank while it still holds over 64%, and a level hovering at the limit raises six alarms in one morning. Runnable code that separates online, stale and offline using the last data time and the MQTT last will, and a low-level alarm with an on-delay and a deadband that raises once.

