Code of Duty
Author

Code of Duty

"Code of Duty" — Every line of code has its own mission. We avoid shortcuts and quick fixes, focusing on authentic coding reflections and the joys and challenges of technical growth. The journey of learning matters more than any destination. Join us as we humbly forge ahead in the world of code.

32
Articles
0
Likes
5
Views
0
Comments
Recent Articles

Latest from Code of Duty

32 recent articles
Code of Duty
Code of Duty
Jul 7, 2026 · Operations

How to Batch Normalize Bitrate and Sample Rate of Legacy Game Audio Files

This guide explains a Python offline script that recursively scans a game audio directory, backs up original MP3 files, and re‑encodes them to a unified 44.1 kHz, 128 kbps MP3 format using imageio‑ffmpeg, with detailed usage flags, backup handling, and execution reports.

Pythonaudio processingbatch script
0 likes · 6 min read
How to Batch Normalize Bitrate and Sample Rate of Legacy Game Audio Files
Code of Duty
Code of Duty
Jul 6, 2026 · Fundamentals

How Buying a Domain Prompted My First Serious Future Planning

The article walks through the straightforward process of buying a domain on Alibaba Cloud, then examines how the choice of a domain name forces you to define your personal brand, offering practical criteria for selecting a memorable, future‑proof web address.

domain namedomain purchaseonline identity
0 likes · 7 min read
How Buying a Domain Prompted My First Serious Future Planning
Code of Duty
Code of Duty
Jul 5, 2026 · Operations

Beyond Specs: The Hidden Ongoing Costs When Programmers Buy a Server

The article explains that while developers often focus on CPU, memory, and price when purchasing a cloud server, the true long‑term viability depends on renewal fees, bandwidth, disk space, backup, security, and cognitive overhead, all of which affect sustainable maintenance.

Securitybackupbandwidth
0 likes · 9 min read
Beyond Specs: The Hidden Ongoing Costs When Programmers Buy a Server
Code of Duty
Code of Duty
Jun 29, 2026 · Cloud Computing

From Zero to One: Setting Up My Personal Brand Infrastructure with a Cloud Server

The author explains why a programmer needs a personal blog and technical brand, then details the criteria for choosing a cloud server—price, resources, familiarity, and future expandability—and describes the selection of a 4‑core, 8 GB, 40 GB, 2 Mbps instance as the foundation for a maintainable, extensible personal infrastructure.

DockerLinuxNginx
0 likes · 9 min read
From Zero to One: Setting Up My Personal Brand Infrastructure with a Cloud Server
Code of Duty
Code of Duty
Jun 27, 2026 · Fundamentals

Why I Chose a Blog First Over a Portfolio Site or Personal Homepage

The article explains the distinct purposes of personal blogs, technical blogs, portfolio sites, and personal homepages, then reasons why starting with a blog offers the lowest barrier, longest‑term knowledge retention, and a solid foundation for later portfolio and branding work.

Content Strategybrandingpersonal blog
0 likes · 8 min read
Why I Chose a Blog First Over a Portfolio Site or Personal Homepage
Code of Duty
Code of Duty
Jun 25, 2026 · Operations

From 84% to 57%: A Step‑by‑Step Server Disk Cleanup

This guide walks through locating disk‑space hogs on a Linux server, safely cleaning APT caches, logs, and Docker artifacts, configuring Docker log limits, migrating Docker data to a separate disk, and verifying that root‑partition usage drops from 84% to around 60%, while emphasizing verification before deletion and long‑term growth prevention.

DockerLinuxdisk cleanup
0 likes · 9 min read
From 84% to 57%: A Step‑by‑Step Server Disk Cleanup
Code of Duty
Code of Duty
Jun 22, 2026 · Cloud Native

Do Programmers Still Need a Personal Blog in 2026? An Honest Assessment

The article examines why, despite abundant content platforms, building a personal blog in 2026 remains valuable for programmers seeking long‑term technical archives, a controllable brand foundation, and hands‑on experience with servers, domains, Docker, Nginx, and HTTPS.

Cloud Nativedeveloper brandingpersonal blog
0 likes · 11 min read
Do Programmers Still Need a Personal Blog in 2026? An Honest Assessment
Code of Duty
Code of Duty
Jun 15, 2026 · Artificial Intelligence

Cursor vs Codex: An Application‑Level Comparison and Insights

The author runs a series of real‑world development tasks with Cursor (Composer 2.5) and Codex (GPT‑5.5) to compare how each agent understands directories, creates files, designs a WeChat lottery mini‑program MVP, generates MySQL schemas, evaluates non‑functional requirements, and reflects on token usage, concluding that Cursor excels in IDE‑centric, structured outputs while Codex shines as a terminal‑based coding agent.

AI coding assistantCodexCursor
0 likes · 10 min read
Cursor vs Codex: An Application‑Level Comparison and Insights
Code of Duty
Code of Duty
Jun 13, 2026 · Fundamentals

Git Series Summary & Learning Roadmap: Managing Code and Team Collaboration

This article summarizes a comprehensive Git series that goes beyond command lists to teach development habits, collaboration logic, and a step‑by‑step learning roadmap covering initial commits, .gitignore, branching, rebasing, pull requests, conflict resolution, and the deeper value of version history for teams.

.gitignorePull RequestRebase
0 likes · 11 min read
Git Series Summary & Learning Roadmap: Managing Code and Team Collaboration