Engineering Blog
Concept-first explanations followed by implementation, testing, delivery, and operational evidence.
Articles
176 totalSQL self join: Why INNER JOIN hides an employee without a manager
Join employees to managers in the same table, then compare INNER JOIN and LEFT JOIN when the top employee has no manager.
DB/SQL3 min
Docker Image vs. Container: A Build Artifact and a Running Instance
Distinguish Docker images from containers, build reproducible images, and keep important data beyond a container lifetime.
Cloud3 min
JavaScript fetch timeout: Why Promise.race does not cancel the request
A timeout from Promise.race stops waiting but leaves fetch running. Compare that behavior with AbortController and clean up the timer after reading the response.
Web3 min
Azure CLI and PowerShell: Check Resource Scope Before Running a Command
Verify the subscription, resource group, region, and resource name before creating, changing, or deleting cloud resources.
Cloud3 min
CloudWatch CPU alarm email missing: Check data state and SNS confirmation
Separate a CPU alarm that has not entered ALARM from an SNS email subscription still pending confirmation. Trace a sample five-minute average.
Cloud3 min
Flutter state changes but the UI stays the same: Check setState and build
Use one counter to separate a changed State field from a scheduled rebuild, then check whether build reads the field that changed.
App3 min
Why fetch does not enter catch on HTTP 404: Check response.ok
A fetch Promise can fulfill with a 404 Response. Check response.ok to handle HTTP errors separately from network failures and body parsing errors.
Web3 min
Cloud NSG and Security Group Inbound Rules: Define Access Before Opening a Port
Apply least privilege to source, protocol, and port, and distinguish Azure NSG priority from AWS security group rules.
Security3 min
Database vocabulary: DBMS, RDB, SQL, DDL, DML, and related terms
Distinguish a DBMS from stored data, JDBC and ODBC from SQL, and schema, data, permission, and transaction commands by their roles.
DB/SQL4 min
Troubleshooting TCP Connections: Check DNS, IP, Port, and Listener
Diagnose a failed service connection in order: DNS resolution, destination address, listening port, then firewall and load-balancer boundaries.
Linux2 min
AWS IAM read-only EC2 access: Why RunInstances is denied until a group allows it
Trace one EC2 RunInstances request through a user's read-only policy, a group's Allow, implicit denial, and other policy boundaries.
Security3 min
Why a Docker container exits after CMD runs npm run build
Distinguish Dockerfile RUN from CMD and diagnose a web container that exits after a successful build instead of starting a server.
Cloud3 min
When an LLM Invents Facts Missing from an Attachment: Grounding and Uncertainty
Set a clear evidence boundary for answers based on an attached document and say when the document cannot establish a claim.
AI3 min
Dart private underscore scope: Why another class can read it but an import cannot
Dart underscore names are library-private, not class-private. Compare a helper in the same file, an importing file, and a part file.
App3 min
Missing Required Columns in an AI Report: Check Format and Facts Separately
Keep every required table column while marking unsupported values for confirmation instead of inventing facts or hiding missing fields.
AI3 min
Route 53 A record not working: Check name-server delegation first
An A record in a Route 53 public hosted zone cannot answer public DNS if the registrar still delegates the domain elsewhere. Compare NS and live responses.
Linux3 min
Single vs. Multi-Step LLM Prompts: When to Split a Workflow
Use one prompt for a small, directly checkable task, or split selection, summarization, and editing when intermediate results need validation.
AI3 min
Data Structures and Concurrency Terms: Stack, Queue, Mutex, Deadlock
Distinguish data structures such as arrays, stacks, and trees from coordination terms such as mutexes, semaphores, and deadlocks.
CS4 min
CloudFront X-Cache Miss vs Hit: Why the same URL can miss again
Read X-Cache alongside the cache key, TTL, edge location, and browser revalidation before expecting a second request to be a CloudFront Hit.
Cloud3 min
System vs. User Prompts for an LLM Work Assistant
Separate a report-writing bot’s recurring rules from the facts and goals in each user request, and ask when required details are missing.
AI3 min
pandas missing values: Check before choosing dropna or fillna
Inspect missing-value counts and rates with isna, then compare how dropna and fillna change rows, data types, and analytical meaning.
Python3 min
Why pandas merge Creates Extra Rows: Duplicate Keys and Join Cardinality
Trace how duplicate join keys multiply rows and use the validate option to check the relationship you expect.
Python2 min
S3 object URL AccessDenied: Why a console download works but a browser gets 403
Compare the identities behind an S3 console download and a plain object URL, then decide when a short-lived presigned URL is appropriate for a private file.
Security4 min
Python JSON missing key: When to use dict brackets, get, or validation
Treat required and optional API response keys differently, distinguish a missing value from zero, and test validation errors.
Python3 min
OOP and integration vocabulary: Encapsulation, API, SOAP, and RPC
Separate object-oriented concepts inside a program from APIs, messages, and middleware that connect systems.
CS3 min

