Operating System

Architecture and core mechanisms of Operating Systems.

Jul 28, 202614 min2953 words

Operating System

Architecture of Operating System.

Jul 27, 20265 min1042 words

Package Management: Introduction

A package manager automates the lifecycle of software dependencies: fetch, install, upgrade, configure, and remove. At scale, it answers the question: Given a set of packages, each with version constraints on its own dependencies, does there exist a consistent assignment of versions such that every constraint is satisfied? This is, at heart, a constraint-satisfaction problem — and different package managers attack it with different algorithms, trade-offs, and scopes of responsibility. This article surveys the landscape, unpacks the resolution mechanisms, and provides a decision framework for choosing the right tool. ...

Jul 21, 202610 min2062 words

Virtual Environment: Practical Guide(To be Continued)

A virtual environment is an isolated, self-contained workspace that decouples a project’s dependencies, runtime, and configuration from the host system and from other projects. The core tension it resolves is: Project A and Project B may require different versions of the same dependency, but the host OS allows only one version to be installed globally. Different tools address this at different layers of the stack: Docker at the OS/kernel level, Conda at the userland binary level, uv venv at the Python interpreter level. This article will introduce each tool with their design philosophy, logical structure, implementation mechanism, and practical usage examples. It will also provide a comparative summary, debugging strategies for version conflicts and VSCode integration tips. ...

Jul 21, 202619 min4046 words