Ben X Hub

Tech notes on Web development, architecture, and engineering practices

Browse Articles

Python uv Series Overview: The 100x Faster pip Replacement

2 min read

A quick introduction to uv's role, use cases, and learning path — an introduction to the entire uv series.

#python#uv#package-manager#astral

Python uv Quick Start: Build Your First Project

2 min read

Starting from installation verification, walk through project initialization, adding dependencies, and running your first program.

#python#uv#quick-start#package-manager

Python uv Core Concepts: pyproject.toml, Lockfile & Virtual Environments

3 min read

Understand uv's four core concepts and build the foundational knowledge needed for daily operations.

#python#uv#pyproject#lockfile#venv

Python uv Common Patterns: Dependencies, uvx & Script Execution

2 min read

A collection of uv's five most common daily operations, with practical templates you can use immediately.

#python#uv#dependencies#uvx#scripts

Python uv Advanced: Python Versions, pip Interface & Tool Installation

2 min read

When moving beyond a single project to multi-version testing, legacy pipeline compatibility, and global tool management, uv handles it all.

#python#uv#python-version#pip#uv-tool

Python uv Best Practices: Stability & Collaboration Checklist

3 min read

A collection of uv's recommended long-term practices and common pitfalls, to help reduce failures and collaboration friction.

#python#uv#best-practices#pyproject#ci

Cursor CLI Tutorial — Overview

2 min read

Cursor CLI brings your AI assistant to the terminal: write, edit, and ask questions without opening the IDE. Perfect for servers, scripts, and keyboard-driven workflows.

#cursor#cli#terminal

Installing Cursor CLI

1 min read

Install Cursor CLI in one terminal command using the official script. Supports macOS, Linux, WSL, and Windows.

#cursor#cli#install

Cursor CLI Basic Usage

2 min read

The most common approach: use cursor agent to run commands or enter conversation mode; cursor ask for read-only questions; use --path to specify a working directory.

#cursor#cli#agent

Cursor CLI Three Modes: Agent / Plan / Ask

3 min read

Agent modifies files, Plan drafts a plan before acting, Ask is read-only. One sentence to tell them apart — and learn to switch with slash commands mid-conversation.

#cursor#cli#agent#plan#ask