2025.07.06F·157Hard Link vs Symbolic Link: How I Almost Nuked My Mac
I wasted 50% of my disk space because I didn't know the difference between Copy and Link. Deep dive into Inode, the secret of `rm` command, and why `pnpm` is faster than `npm`.
OSLinuxFileSystem
→2025.07.05F·156CPU Scheduling: From FCFS to Linux CFS (The Art of Fairness)
How OS creates the illusion of multitasking. Preemptive vs Non-preemptive, The Starvation problem, and how modern OSs use Multi-Level Feedback Queue (MLFQ) and Red-Black Trees (Linux CFS) to keep everyone happy.
CSOSScheduling
→2025.06.25F·149Concurrency vs Parallelism: What is the difference? (Deep Dive)
Concurrency is about structure, Parallelism is about execution. Understanding Single-core multitasking vs Multi-core processing.
CSOSThread
→2025.05.18Y·01Buffer Overflow: The Vulnerability That Never Dies
A deep dive into one of the oldest and most dangerous software vulnerabilities. How rewriting the Return Address works, and how modern OS protections like ASLR, DEP/NX, and Stack Canaries attempt to stop it.
SecurityCMemory
→2025.03.25F·60WSL: Windows Strikes Back
Developers must use Mac? That was before WSL2. Planting Linux Kernel inside Windows.
CSOSWindows
→2025.03.24F·59RTOS (Real-Time OS): When Time is Critical
What if Airbag deploys late due to Windows Update? It doesn't mean 'Fast'. It means 'Deterministic'.
CSOSRTOS
→2025.03.21F·58Hypervisor: Type 1 vs Type 2
Conductor of VMs. Is the CEO running it directly (Type 1), or hiring a manager (Type 2)?
CSOSVirtualization
→2025.03.20F·57Virtualization
Running Windows & Linux on my MacBook. Foundation of Cloud Computing (AWS).
CSOSVirtualization
→2025.03.18F·56Journaling File System: Safe Writing
What if pull the plug while copying files? OS's habit of logging to prevent corruption.
CSOSFileSystem
→2025.03.17F·55inode: Metadata of Unix Files
Filename is just a shell in Linux. The real identity is inode number. Secret of ls -i.
CSOSFileSystem
→2025.03.16F·54File System: Organizing Data
HDD is just a giant field of 0s and 1s. Magic that creates 'File' and 'Folder'.
CSOSFileSystem
→2025.03.15F·53Thrashing: Vicious Cycle of Page Faults
PC froze. Mouse moves but clicks don't work. HDD led blinking like crazy. This is Thrashing.
CSOSMemory
→2025.03.14F·52Page Replacement Algorithms: FIFO, LRU, LFU
Desk is full. Which book to throw away? Oldest? Least used? OS's decision making.
CSOSMemory
→2025.03.13F·51Segmentation: Splitting Memory into Logical Units
If Paging is mechanical chopping, Segmentation is meaningful organization. Managing by Code, Data, Stack.
CSOSMemory
→2025.03.12F·50Paging: Splitting Memory into Fixed-Size Blocks
Slice memory into identical grid blocks. The standard technique aiming to solve External Fragmentation.
CSOSMemory
→2025.03.11F·49Memory Management: Contiguous vs Non-Contiguous Allocation
Why does my server crash? OS's desperate struggle to manage limited memory. War against Fragmentation.
CSOSMemory
→2025.03.10F·48IPC (Inter-Process Communication)
Processes are isolated. But how do Chrome tabs exchange data? From Pipes to Sockets.
CSOSIPC
→2025.03.09F·47Race Condition: Bugs depending on Timing
Code is perfect, but money disappears occasionally. Worst bugs created by timing issues.
CSOSConcurrency
→2025.03.08F·46Semaphore vs Mutex: The Complete Guide to Synchronization
Understanding sync with Restroom Key (Mutex) and Waitlist (Semaphore). Ownership differences, Spinlocks, Monitors, and Priority Inversion (Mars Pathfinder).
CSOSConcurrency
→2025.03.07F·45Deadlock: The Infinite Waiting Game (Definitive Guide)
Why processes freeze forever. From Dining Philosophers to Distributed Deadlock Detection. Includes Resource Allocation Graphs, Banker's Algorithm, and Java/DB examples.
CSOSDeadlock
→2025.03.04F·44Context Switching: The Massive Hidden Cost of Multitasking
Why is CPU switching expensive? Cache Pollution, TLB Flush, Kernel Mode, vmstat tuning, and deep dive into Linux Kernel's switch_to macro.
CSOSContextSwitch
→2025.03.03F·43Process vs Thread: Factory and Workers (Definitive Guide)
The definitive guide with Factory analogy. Chrome's Multi-process architecture, typical C code examples (fork vs pthread), and deep dive into Green Threads (Goroutines).
CSOSProcess
→2025.03.02F·42Daemon Process: The Invisible Worker
Not a Demon. It's the 'Guardian Spirit' from Greek mythology. Heroes of the server working silently in the background.
CSOSLinux
→2025.03.01F·41Linux Permissions: chmod and chown
Senior dev said 'just chmod 777 it'. Turns out, that was reckless advice. Secrets of rwx and numbers.
CSOSLinux
→2025.02.28F·40Terminal Emulator and TTY: Identity of the Black Screen
iTerm2 is not a real terminal. It's an Emulator. From Teletype (TTY) relics to PTY.
CSOSTerminal
→2025.02.27F·39Shell: Don't Boss Me Around, You Crust
Shell is not the core of OS. It's just a 'Messenger' passing user commands to Kernel. The real role of zsh and bash.
CSOSShell
→2025.02.25F·38System Call: How to Ask Kernel for Favors
Developers can't control the hard disk directly. Instead, we must 'ask' the Kernel via an API. That request is the System Call.
CSOSSystemCall
→2025.02.24F·37User Mode vs Kernel Mode: Dual Protection
When your code tries to enter Kernel Mode, CPU blocks it. Why split the computer into two modes?
CSOSSecurity
→2025.02.23F·36Kernel: The Heart of the OS
If an OS is a collection of programs, who is the core? Identity of the Kernel that always stays in memory.
CSOSKernel
→2025.02.22F·35What is OS: The Mediator Between Hardware and User
Without an OS, we'd have to calculate which sector of the hard drive to write 0s and 1s to. What Linux and Windows do for us.
CSOSSoftware
→2025.02.11F·24Interrupts: The Alarm That Wakes the CPU
When the CPU is 100% busy and you move the mouse, does it respond? Polling vs Interrupts explained.
csoshardware
→2025.02.09F·22Virtual Memory and Swap: The Trick When Your Desk Is Too Small
How do you run a 10GB game with only 8GB of RAM? The OS secretly uses part of your hard drive.
csosmemory
→2025.01.25X·01The Boot Process: From Power Button to Login Screen
What happens inside when you turn on a computer? A detailed breakdown of the 6 stages of Linux booting. Covering Dual Booting, Secure Boot, Kernel Modules, Systemd Unit Files, and troubleshooting with Journalctl.
OSLinuxBooting
→