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
Jun 8, 2026 · Fundamentals

What Exactly Is a Pull Request? A Complete Guide to the Code Review Process

The article explains that a Pull Request is a request for the team to review and merge code, outlines the risks of bypassing PRs, details a standard PR workflow, describes what reviewers check, offers tips for writing high‑quality and small PRs, and lists post‑merge actions.

Pull RequestSoftware Developmentcode-review
0 likes · 9 min read
What Exactly Is a Pull Request? A Complete Guide to the Code Review Process
Code of Duty
Code of Duty
Jun 6, 2026 · Fundamentals

Don’t Panic: A Hands‑On Guide to Resolving Git Conflicts

Git conflicts occur when multiple branches modify the same code; this guide explains why they happen, how to interpret conflict markers, step‑by‑step resolution commands, three common resolution strategies, tool‑assisted fixes, and post‑merge checks to ensure clean, error‑free integration.

Git MergeGit RebaseSoftware Development
0 likes · 8 min read
Don’t Panic: A Hands‑On Guide to Resolving Git Conflicts
Code of Duty
Code of Duty
Jun 3, 2026 · Fundamentals

Git Rebase: The Powerful Tool Developers Love—and Fear

This article explains what Git rebase does, compares it with merge, shows concrete command examples, outlines when to use it safely on personal branches, warns against rewriting shared history, and introduces the safer --force-with-lease option for forced pushes.

Rebasecode-reviewforce-with-lease
0 likes · 9 min read
Git Rebase: The Powerful Tool Developers Love—and Fear
Code of Duty
Code of Duty
Jun 1, 2026 · Artificial Intelligence

Demystifying the LLM Tech Stack: Tokens, Embeddings, Attention, and Fine‑Tuning

This article walks through the full LLM pipeline—from tokenization and embedding to transformer attention, pre‑training, instruction tuning, RLHF, inference, context windows, Retrieval‑Augmented Generation and agents—explaining each component, its role, and the engineering challenges such as hallucination and safety.

EmbeddingInstruction TuningLLM
0 likes · 17 min read
Demystifying the LLM Tech Stack: Tokens, Embeddings, Attention, and Fine‑Tuning
Code of Duty
Code of Duty
May 28, 2026 · Fundamentals

Why You Should Avoid Blindly Using git push --force

The article explains why force‑pushing after a commit has been shared can corrupt team history, contrasts reset and revert, shows safe alternatives, and outlines scenarios where force‑push might be acceptable.

force pushgitreset
0 likes · 6 min read
Why You Should Avoid Blindly Using git push --force
Code of Duty
Code of Duty
May 27, 2026 · Artificial Intelligence

Configuring Codex Coding Rules with AGENTS.md: A Practical Guide

The article explains why Codex needs explicit project rules, distinguishes between collaboration rules in AGENTS.md and command‑permission rules in .codex/rules, and provides concrete examples, templates, and a checklist for writing effective, specific rules that keep Codex aligned with team conventions.

AGENTS.mdAI programmingCodex
0 likes · 11 min read
Configuring Codex Coding Rules with AGENTS.md: A Practical Guide
Code of Duty
Code of Duty
May 26, 2026 · Industry Insights

From SEO to GEO: New Content Rules in the AI Era

The article explains how the shift from traditional search‑engine optimization (SEO) to Generative Engine Optimization (GEO) changes content strategy, requiring brands to make their information understandable, trustworthy, and citable by AI assistants rather than merely ranking on search results.

AIContent StrategyGEO
0 likes · 9 min read
From SEO to GEO: New Content Rules in the AI Era
Code of Duty
Code of Duty
May 26, 2026 · Industry Insights

Why Developers Pay for AI Coding Tokens: Gaining Hours and Confidence

The article examines why many programmers voluntarily purchase AI coding tool tokens, arguing that the real value lies in saving time, reducing the frustration of being stuck, and gaining a more certain, efficient workflow despite the lack of corporate reimbursement.

AI codingcoding toolsdeveloper efficiency
0 likes · 6 min read
Why Developers Pay for AI Coding Tokens: Gaining Hours and Confidence
Code of Duty
Code of Duty
May 26, 2026 · Fundamentals

Git Reset Explained: When to Use --soft, --mixed, and --hard

This guide walks through Git's reset command, detailing the differences between --soft, --mixed, and --hard modes, when each is appropriate, and how they affect commits, the index, and the working tree for commits that haven't been pushed.

Commitgitgit reset
0 likes · 5 min read
Git Reset Explained: When to Use --soft, --mixed, and --hard