Benjamin Lu

everyday is cool

Why a Service Can Work on the LAN but Fail Remotely

When an HTTPS service works from your LAN and fails from outside, run the same checks on both networks. Use a second connection such as a laptop tethered to a phone with Wi-Fi disabled on the phone. Replace app.example.com and /health with the hostname and path that fail. 1. Compare … Continue reading →

Room for People in a Busy Week

Be kindly affectioned one to another with brotherly love; in honour preferring one another; — Romans 12:10 (KJV) During a busy week, even time with family can start to feel like a series of tasks. There’s food to prepare, a place to be, and something I forgot to pick up. … Continue reading →

Why I Started Using Docker

I don’t remember which Docker version I started with. What I do remember is the appeal of being able to put a project’s services and settings in a file I could come back to later. With web projects, I wanted to spend the evening working on the site instead of … Continue reading →

What to Keep in a Flat-File Website Repository

A flat-file website is easy to move when its source, configuration, and media are easy to find. A fresh checkout is a good test. Can you figure out which files are meant to be edited and which are recreated by the build? Separate content from build output Keep Markdown posts, … Continue reading →

A Gentle Answer Under Pressure

A soft answer turneth away wrath: but grievous words stir up anger. — Proverbs 15:1 (KJV) When a computer stops working at the worst possible time, the person asking for help may already be frustrated. If the first thing I say is “You should have saved it,” I’ve probably made … Continue reading →

A Local Development VM with Vagrant

A local web project can depend on more than its source files. The Linux distribution, PHP packages, and system configuration can all affect how it runs. Vagrant gives you a way to describe a development VM in a project file and bring it up again when you need it. 1. … Continue reading →

Choosing What Goes on a Homelab VLAN

A home network can grow from a router and a few laptops into a mix of cameras, lab servers, and services that guests should never see. Before creating another VLAN, list which devices need to talk and what they need to reach. Start with one example A camera might need … Continue reading →

Asking for Wisdom Before Giving Advice

If any of you lack wisdom, let him ask of God, — James 1:5 (KJV) When someone asks for help with a decision, I can be quick to think of what I would do. But the choice might involve pressures I haven’t heard about. A friend choosing between two jobs, … Continue reading →

Bringing the Worry Into Prayer

Casting all your care upon him; for he careth for you. — 1 Peter 5:7 (KJV) At night, a problem from work can keep running through my mind even though there’s nothing more I can do about it until morning. It’s easy to spend another hour rehearsing conversations that haven’t … Continue reading →