Skip to content

Engineering Blog

Concept-first explanations followed by implementation, testing, delivery, and operational evidence.

Articles

176 total

BeautifulSoup select_one() Returns None: Check Selectors Safely

Handle a missing element explicitly and distinguish a changed CSS selector, absent data, and HTML that differs from the browser view.

Python2 min

RDS Multi-AZ vs Read Replica: Why a standby does not split SELECT traffic

A single-standby Multi-AZ DB instance supports failover, while a Read Replica can serve reads when the application routes them there.

Cloud4 min

Why a Dart executable stays on v1 after the source changes: JIT vs AOT

Run one Dart file with dart run and compile exe, change v1 to v2, and see why an existing AOT executable needs to be rebuilt while runtime arguments still work.

App3 min

Python Requests: Check Timeouts, HTTP Status, and JSON Separately

Use a connect/read timeout with requests.get, then distinguish HTTP errors from invalid JSON and choose safe retry behavior.

Python3 min

WordPress Posts Disappear After Auto Scaling? Check Each EC2 Database

When posts vary between refreshes, compare the database connection on each WordPress instance before blaming ALB health.

Cloud3 min

Readable Python List Comprehensions: Filter, Transform, or Use a Loop

Keep simple filtering and transformation clear, and switch to a for loop when type checks, branches, or side effects obscure the result.

Python3 min

AI assistant intent routing: Keep report and glossary sources separate

Validate one task mode before opening its allowed source; ask for clarification when a request mixes glossary and report work or omits a report type.

AI3 min

Python Local vs. Global Scope: Why UnboundLocalError Occurs

Understand why assignment inside a function creates a local variable and pass state through return values instead of relying on global.

Python3 min

AWS ALB target unhealthy while EC2 is running: Check the health-check path

A running EC2 instance can return 404 on an ALB health-check path. Compare / and /health, then inspect target port, path, success codes, and reason codes.

Cloud3 min

Software design vocabulary: Architecture, module, component, and abstraction

Read system architecture, modules, components, dependencies, cohesion, and related design terms by the responsibility and boundary each describes.

CS4 min

Why @Transactional tests leave data after an HTTP request in Spring Boot

A RANDOM_PORT test and its HTTP server use separate transactions. Compare a repository call that rolls back with a server write that may commit.

Java/Spring3 min

Why a Python Function Returns None: Finding a Missing return

Learn why a function without an explicit return yields None and how to find branches that drop a result.

Python2 min

Python *args vs **kwargs: Collecting and unpacking function arguments

See how extra positional arguments become a tuple, keyword arguments become a dictionary, and stars at a call site unpack values.

Python2 min

Python Truthy and Falsy Values: Distinguish None, Empty Strings, and Zero

Understand which values are false in an if statement and when input validation must distinguish None, empty strings, and 0.

Python3 min

SQL WHERE vs. HAVING: Filter Paid Orders Before COUNT(*)

Find customers with at least two paid orders by filtering input rows with WHERE and grouped counts with HAVING.

DB/SQL2 min

Unit, Regression, Load, and Stress Testing: What Each Test Checks

Compare test scope, expected results, review methods, and normal versus excessive load conditions.

CS3 min

Python venv and pip: Why ModuleNotFoundError Appears After Installation

Trace a package installed into the wrong Python environment by comparing the venv, interpreter, and python -m pip paths.

Python2 min

Flutter Implicit vs. Explicit Animations: When to Use AnimationController

Choose AnimatedContainer for simple property changes and AnimationController when timing, pausing, reversing, or synchronization needs direct control.

App2 min

Spring @RequestParam defaultValue: Why missing limit becomes 10 but abc returns 400

Follow one Spring MVC limit parameter through missing and empty values, integer conversion failure, and a separate range check.

Java/Spring3 min

SQL LIKE % vs. _: Search for a Literal Underscore with ESCAPE

See why LIKE task_% also matches taskA01, then use ESCAPE to search for codes beginning with a real underscore.

DB/SQL3 min

Python dict.get() vs. Square Brackets: KeyError, None, and Defaults

Compare missing-key lookups, default values, and a key explicitly storing None using the same profile dictionary.

Python2 min

Developer project vocabulary: Agile, backlog, WBS, release, and SDLC

Distinguish a prioritized backlog, a work breakdown structure, a release, and the development lifecycle in project documents.

CS4 min

Flutter Native Splash Not Updating: Check Generated Assets and Cold Starts

Check native assets, rebuilds, cold starts, and platform-specific rendering when an old Flutter splash screen persists.

App3 min

Dart extends vs implements: Why must you implement the method again?

Compare inheritance of a concrete method with implementing its interface, using one Label example and the resulting analyzer error.

App2 min

Review a Flutter Package Before Adding It: License, Maintenance, and Permissions

Assess the released version, transitive dependencies, native permissions, maintenance, and removal cost before adopting a Flutter package.

Security3 min