Skip to content

Engineering Blog

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

Articles

176 total

Developer vocabulary for position and direction: first, last, before, after

Learn how position, direction, order, and range words differ in code and documentation by checking their reference point and whether a boundary is included.

CS5 min

SQL INSERT, COMMIT, and ROLLBACK: What a Transaction Can Undo

Understand the boundary between an uncommitted INSERT, COMMIT, and ROLLBACK while handling test data safely.

DB/SQL3 min

Linux Directory Size: Why ls -ldh and du -sh Disagree

Distinguish a directory entry’s size from disk usage beneath it, and find large subdirectories including hidden ones.

Linux3 min

Python break vs. continue: When Does a Loop Stop or Skip an Item?

Compare how continue skips only the current iteration while break ends the loop, using the same task list and output.

Python3 min

SQL DEFAULT vs. NOT NULL: What Happens When an INSERT Omits a Column?

Distinguish an omitted column from an explicit NULL and design a safe initial value with DEFAULT and a NOT NULL constraint.

DB/SQL3 min

Linux cd Permission Denied After chmod 644: Directories Need Execute Permission

Compare directory read and execute permissions when a folder name is visible but cd fails, then restore only the needed access.

Linux3 min

Why SQL WHERE column = NULL Returns No Rows: Use IS NULL

Use four sample tasks to understand UNKNOWN comparisons, IS NULL, IS NOT NULL, and a safe check before updating rows.

DB/SQL3 min

Spring JdbcTemplate vs. JPA: Choose the Right Data Access Boundary

Compare explicit SQL and row mapping with entity-oriented access, then check transaction behavior and generated queries.

Java/Spring3 min

Linux kill vs kill -9: Confirm the process and allow cleanup

Compare SIGTERM and SIGKILL on a process you start yourself, then verify its PID, exit status, and whether cleanup ran.

Linux3 min

Spring component scanning vs Java @Bean configuration: Where should a bean be registered?

Compare stereotype annotations found by component scanning with explicit @Bean assembly and avoid registering the same service twice.

Java/Spring3 min

SQL WHERE with AND and OR: use parentheses to exclude canceled orders

Compare ungrouped AND/OR conditions, parentheses, and IN against six orders to see why a canceled row passes the filter.

DB/SQL2 min

start, stop, pause, and resume: Reading State Changes in Code

Distinguish stopping from pausing and read related state, availability, access, and configuration terms.

CS4 min

gzip says a directory cannot be compressed: create and verify a tar.gz

Use tar -czf to archive and compress a directory, inspect its members, extract to a separate folder, and compare restored files.

Linux3 min

Spring @ResponseBody: How a String and an object become HTTP responses

See why @ResponseBody writes a response instead of a view name, and compare text and JSON conversion by inspecting the body and Content-Type.

Java/Spring3 min

Why cd Is a Bash Builtin: type, which, and the Current Directory

See why cd in a child shell cannot change its parent shell, and use type to distinguish builtins from executable files.

Linux3 min

Python append() vs. extend(): Why Did a Nested List Appear?

Use the same event list to compare adding one list with adding its items, including join errors, None return values, and string inputs.

Python2 min

Spring Model and Thymeleaf: Pass controller data into HTML safely

Follow a value from a Spring MVC controller through Model into a Thymeleaf template, then test the view, attribute, and rendered text.

Java/Spring3 min

Linux find -name '*.log': Why nested files disappear without quotes

A shell can expand an unquoted *.log before find receives it. Reproduce the missing nested file, then check quoting, file type, and search path.

Linux3 min

Spring Boot static file vs controller: Which handles the same URL?

Trace a request to /welcome.html when both a controller mapping and a static file exist, then verify the response body.

Java/Spring3 min

chmod 755 vs u+x: Add execute permission without changing other bits

Starting from mode 640, compare how chmod u+x adds only owner execute permission while chmod 755 replaces the whole permission mode.

Linux3 min

Developer Action Verbs: add, remove, create, delete, push, and pop

Read code verbs by the target they change, from collections and queues to files, connections, and conversions.

CS4 min

Find errors across Linux logs with grep: Case, filenames, and line numbers

Search two sample logs with grep -i, -n, -H, and surrounding context; distinguish no match from a file error before concluding nothing happened.

Linux3 min

Linux head vs. tail: Read the Beginning, End, or New Log Lines

Inspect a long log with head, tail, and less, and distinguish tail -f from tail -n 0 -f when watching new lines.

Linux3 min

Linux > vs. >>: Why echo Replaced Your File Instead of Appending

Compare overwrite and append redirection using a temporary file, including why a failed command can still empty the output file.

Linux3 min

Developer Naming: Nouns, Verbs, camelCase, and snake_case

Read names by their role, then distinguish camelCase, PascalCase, snake_case, and project-specific prefixes.

CS3 min