samdeepthink
Author

samdeepthink

Knowledge Planet: Old Dock's Tech Chronicles Zhihu: SamDeepThinking A technical manager who still codes heavily on the front line. From junior developer to tech lead, then tech manager, now leading the whole front‑ and back‑end development team—leveling up along the way. I have some insights on programming, career development, and tech management.

167
Articles
0
Likes
340
Views
0
Comments
Recent Articles

Latest from samdeepthink

100 recent articles max
samdeepthink
samdeepthink
Aug 20, 2026 · R&D Management

Why Effective Programmers Aren’t Robots: Emphasizing Output Over Busywork

The author explains how a three‑year partnership with the CTO created a tech team that follows a clear rhythm, focuses on delivering quarterly and monthly commitments, values execution over endless tasks, and demonstrates that true programmer productivity comes from effectiveness, not constant busyness.

efficiencyprogrammer productivitysoftware engineering management
0 likes · 5 min read
Why Effective Programmers Aren’t Robots: Emphasizing Output Over Busywork
samdeepthink
samdeepthink
Aug 20, 2026 · Fundamentals

Why Good Code Should Require Minimal Maintenance

The article argues that truly good code is measured by how rarely developers need to revisit and modify it, emphasizing design and programming techniques that make systems resilient to exceptions and adaptable to business changes without frequent code changes.

code qualityexception handlingmaintainability
0 likes · 5 min read
Why Good Code Should Require Minimal Maintenance
samdeepthink
samdeepthink
Aug 19, 2026 · Backend Development

When to Replace REST with gRPC? A Practical API Selection Framework

The article examines the trade‑offs between REST + JSON and gRPC for microservice communication, outlining REST’s simplicity and maturity versus gRPC’s binary efficiency, strong contracts, and streaming support, and provides a four‑point decision framework to help teams choose the right protocol for internal or external APIs.

API DesignProtocol SelectionREST
0 likes · 11 min read
When to Replace REST with gRPC? A Practical API Selection Framework
samdeepthink
samdeepthink
Aug 18, 2026 · Databases

When a Single Database Hits Its Limits: Sharding Principles and Migration Path

The article explains why sharding should be a last‑resort scaling option, describes vertical and horizontal partitioning, compares hash, range and directory sharding schemes, discusses hotspots, routing, data colocation, migration steps and tool choices, and warns about the operational complexity involved.

Data ConsistencyDatabase ScalingHorizontal Partitioning
0 likes · 16 min read
When a Single Database Hits Its Limits: Sharding Principles and Migration Path
samdeepthink
samdeepthink
Aug 18, 2026 · Fundamentals

Why Does HTTP Still Use multipart/form-data for File Uploads?

The article explains why the three‑decade‑old multipart/form-data format remains the standard for HTTP file uploads, detailing its encoding rules, how it differs from application/x-www-form-urlencoded, the structure of multipart requests, server‑side processing advantages, and why newer alternatives have not replaced it.

Web protocolfile uploadform-data
0 likes · 13 min read
Why Does HTTP Still Use multipart/form-data for File Uploads?
samdeepthink
samdeepthink
Aug 15, 2026 · Fundamentals

Why Stable Requirements Don't Make Code Legacy

The article argues that code age or outdated technology alone doesn't define legacy code; instead, when product requirements evolve and the old code must be repeatedly patched, it becomes legacy, while unchanged requirements allow even decade‑old code to remain good.

Software EngineeringTechnical Debtcode quality
0 likes · 4 min read
Why Stable Requirements Don't Make Code Legacy
samdeepthink
samdeepthink
Aug 14, 2026 · Information Security

Explaining HTTPS Security Through a Same‑City Flash‑Delivery Analogy

The article uses a same‑city flash‑delivery story to walk through how HTTPS protects confidentiality, integrity, and authenticity by comparing symmetric and asymmetric encryption, key exchange, and the role of certificate authorities in establishing trust.

HTTPSTLSasymmetric encryption
0 likes · 10 min read
Explaining HTTPS Security Through a Same‑City Flash‑Delivery Analogy
samdeepthink
samdeepthink
Aug 14, 2026 · Fundamentals

Why Our C++ Inventory Service Restarted Every Night: Memory Management Lessons

The article recounts how a C++‑based real‑time inventory system on 30 machines was forced to reboot nightly to free memory, illustrating the pitfalls of manual memory management and arguing that languages offering safer resource handling improve developer productivity and reduce error‑prone code.

C++Java migrationSoftware Engineering
0 likes · 3 min read
Why Our C++ Inventory Service Restarted Every Night: Memory Management Lessons
samdeepthink
samdeepthink
Aug 13, 2026 · Backend Development

How to Write Robust Code When Integrating Third‑Party APIs: A Real‑World Example

The article walks through a production scenario where business documents must be synchronized to a low‑code platform via its OpenAPI, explaining how to build a unified client, verify apparent failures, apply a single retry, and fall back to a task table for asynchronous recovery, all illustrated with concrete code.

API integrationBackend Developmenterror handling
0 likes · 11 min read
How to Write Robust Code When Integrating Third‑Party APIs: A Real‑World Example
samdeepthink
samdeepthink
Aug 13, 2026 · Fundamentals

How I Evaluate Whether Code Is Quality‑OK: Ensuring Stability and Clarity

The article explains how to judge code quality by focusing on stability—handling exceptions, retries, and alerts—and clarity—organizing logic into readable, maintainable steps—illustrated with a real‑world document‑sync example and simple function patterns.

Software Engineeringcode qualityexception handling
0 likes · 5 min read
How I Evaluate Whether Code Is Quality‑OK: Ensuring Stability and Clarity