Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Fundamentals

10 min read

Understanding the Open‑Closed Principle Through Spring’s Extension Hooks

The article explains the Open‑Closed Principle, shows how Spring leaves empty hook methods like onRefresh() for extensions, demonstrates the concept with a Java demo, compares inheritance‑based and interface‑based extension approaches, and discusses trade‑offs and practical guidelines for designing extension points.

8 min read

Why Does Windows Have System32 and SysWOW64? The 32‑Named Folder Holds 64‑Bit Files

The article explains why modern 64‑bit Windows stores its native binaries in the folder named System32 while the seemingly opposite‑named SysWOW64 actually contains the legacy 32‑bit files, tracing the history from Windows 3.1 through Windows 95/NT to the file‑system redirection mechanism that lets both 32‑ and 64‑bit programs run without code changes.

13 min read

Why a Contract‑Compliant List Still Breaks Liskov Substitution in Java

The article demonstrates that although List.of, Arrays.asList, and unmodifiableList implement the List interface, they violate the Liskov Substitution Principle because their optional add/remove operations throw UnsupportedOperationException, revealing a hidden contract mismatch between interface documentation and runtime behavior.

9 min read

Six AI Coding Failure Modes and How to Fix Them: Be the Strategic Commander

Matt Pocock identifies six failure modes in AI-assisted programming — misaligned intent, verbose but unclear output, unrunnable code, shallow module proliferation, cognitive overload, and disinvestment in system design — and prescribes strategic remedies like Grill Me questioning, ubiquitous language glossaries, TDD feedback loops, deep module design, interface-first delegation, and daily design investment to keep AI as a tactical executor under human strategic command.

39 min read

Understanding Linux Deadline Scheduler: Parameter Logic and Kernel Implementation

The article explains how the Linux Deadline real‑time scheduler works, detailing its three core parameters (runtime, period, deadline), the EDF algorithm, kernel data structures, CBS bandwidth control, task state transitions, common configuration pitfalls, and practical tuning and monitoring commands.

11 min read

Why Does Cache Hit Rate Make Programs Sometimes Fast and Sometimes Slow?

The article explains how cache hit rate directly impacts program speed, describes the three hit‑rate levels, factors such as data locality, working‑set size and associativity, types of cache misses, and provides practical techniques—data alignment, array traversal, packing, prefetching, and monitoring tools—to improve performance.

11 min read

FFmpeg 9.0 “Lei”: Honoring the Late Chinese Developer Behind Its Legacy

FFmpeg 9.0, codenamed “Lei,” was released on August 4 to commemorate Chinese audio‑video developer Lei Xiaohua, whose contributions to the library and early AI‑related tutorials shaped the ecosystem, while the article also traces FFmpeg’s history, naming conventions, and expanding role in modern AI pipelines.