↓快轉到主要內容

教學文章

終身學習,終身玩耍。
Streamlit URL 狀態契約:Query Params、篩選還原與雙向同步
·8 分鐘· loading · loading
Python Streamlit Query-Params URL State Testing
MLX-LM 離線模型產物:Revision 固定、Manifest 與冷環境驗收
·8 分鐘· loading · loading
MLX-LM Hugging Face Offline Model Artifacts Manifest Apple-Silicon
Rich Traceback 實戰:例外鏈、敏感資料遮蔽與 CLI 退出契約
·7 分鐘· loading · loading
Python Rich Traceback Cli Stderr Exception-Chaining
Git attributes 實戰:LF/CRLF、Binary 與可審核正規化
·7 分鐘· loading · loading
Git Gitattributes LF CRLF Binary Renormalize Developer-Tools
MLX-VLM 解析度實驗:細節辨識、Vision Token 與資源取捨
·9 分鐘· loading · loading
MLX-VLM Qwen2-VL Vision Token Benchmark 圖片解析度 Apple-Silicon
Polars Join 資料契約:Key 唯一性、Cardinality 與 Null 對帳
·7 分鐘· loading · loading
Python Polars Join Cardinality Data-Contracts Validation
Textual RichLog 串流檢視器:有界緩衝、暫停追蹤與批次刷新
·7 分鐘· loading · loading
Python Textual RichLog TUI Streaming-Logs Bounded-Buffer
Streamlit 檔案傳輸邊界:上傳配額、內容檢查與下載生命週期
·8 分鐘· loading · loading
Python Streamlit File-Upload Download Memory Lifecycle
MLX-LM 回歸評測:版本化題庫、逐題差異與 CI Gate
·8 分鐘· loading · loading
MLX-LM LLM Regression-Testing Evaluation Ci Apple-Silicon
Python Decimal 實戰:精度、捨入規則與金額計算契約
·6 分鐘· loading · loading
Python Decimal Rounding Precision Standard-Library Pytest
Python warnings 實戰:棄用通知、篩選規則與 CI 防線
·8 分鐘· loading · loading
Python Warnings DeprecationWarning Pytest Ci API Migration Developer-Tools
Git Partial Clone 實戰:blob:none、按需下載與離線驗證
·8 分鐘· loading · loading
Git Partial Clone Blob:none Promisor Remote Lazy Fetch Offline Developer-Tools
Polars Nested JSON 實戰:Struct、List、NDJSON 與 Schema Drift
·7 分鐘· loading · loading
Python Polars NDJSON Struct List Schema-Drift Data-Engineering
Textual Modes 實戰:Workspace 切換、畫面生命週期與路由測試
·7 分鐘· loading · loading
Python Textual TUI Modes Screen-Routing Lifecycle Testing
Streamlit SQL 連線實戰:st.connection、查詢快取 TTL 與交易邊界
·7 分鐘· loading · loading
Python Streamlit SQL SQLConnection Cache Testing
MLX-LM 結構化 JSON:Schema、Pydantic 驗證與 Repair/Retry
·7 分鐘· loading · loading
MLX-LM LLM Structured Output JSON Schema Pydantic Outlines Apple-Silicon Quality Assurance
Python asyncio.Queue 實戰:背壓、Graceful Shutdown 與不丟資料測試
·8 分鐘· loading · loading
Python Asyncio Queue Backpressure Graceful Shutdown Concurrency Testing
Git maintenance 實戰:用 Commit-Graph、MIDX 與排程加速大型 Repo
·10 分鐘· loading · loading
Git Git Maintenance Commit-Graph Multi-Pack-Index Performance Developer-Tools
DuckDB MERGE 實戰:增量匯入、去重與可重跑 ETL
·6 分鐘· loading · loading
Python DuckDB SQL Merge ETL Data-Engineering Idempotency
Textual DirectoryTree 檔案瀏覽器:安全路徑、非同步預覽與互動測試
·8 分鐘· loading · loading
Python Textual DirectoryTree TUI Pathlib Asyncio Testing
Streamlit Custom Components:雙向事件、狀態同步、打包與測試
·8 分鐘· loading · loading
Python Streamlit Custom Components JavaScript State Testing Packaging
uv Resolver 除錯:版本衝突、Markers、Constraints 與 Lockfile 診斷
·7 分鐘· loading · loading
Python Uv Dependency Resolver Lockfile Packaging Debugging
MLX-VLM PDF 文件擷取:逐頁影像、結構化欄位與引用抽查
·9 分鐘· loading · loading
Mlx MLX-VLM PDF Document Extraction OCR PyMuPDF Apple-Silicon
Python contextvars 實戰:Async Context、結構化 Logging 與隔離測試
·8 分鐘· loading · loading
Python Contextvars Asyncio Logging Concurrency Testing Standard-Library
Git sparse-checkout 實戰:大型 Monorepo 的部分取出與安全切換
·7 分鐘· loading · loading
Git Sparse-Checkout Monorepo Cone Mode Partial Clone Worktree Developer-Tools
Polars Rolling / Dynamic Windows:時間窗聚合、邊界語意與 QA
·6 分鐘· loading · loading
Python Polars Time-Series Rolling-Window Dynamic-Window Data-Engineering Testing
Textual Command Palette + Actions:快捷鍵、命令搜尋與可測試操作
·8 分鐘· loading · loading
Python Textual TUI Command-Palette Actions Key-Bindings Testing
Streamlit 效能診斷:Rerun、Cache Hit、記憶體與 Latency Profiling
·8 分鐘· loading · loading
Python Streamlit Performance Profiling Cache Latency Memory
uv Offline Cache 實戰:離線安裝、Frozen Sync 與 Air-Gapped 部署
·8 分鐘· loading · loading
Python Uv Offline Cache Air-Gapped Deployment Reproducible-Builds
MLX-LM Speculative Decoding:Draft Model、加速條件與品質 Benchmark
·10 分鐘· loading · loading
Mlx MLX-LM LLM Speculative Decoding Draft Model Apple-Silicon Benchmark Local AI
Python hashlib 實戰:檔案完整性、串流雜湊與安全比對
·8 分鐘· loading · loading
Python Hashlib SHA-256 Checksum Security Standard-Library
Python struct 實戰:二進位資料打包、解析與檔案格式入門
·7 分鐘· loading · loading
Python Struct Binary Standard-Library Developer-Tools
Git Changelog 自動化:從 Commit、PR 到 Release Notes
·5 分鐘· loading · loading
Git GitHub Changelog Release Notes Automation GitHub Actions Developer-Tools
Polars LazyFrame 最佳化:Pushdown、Streaming 與 Explain
·6 分鐘· loading · loading
Python Polars LazyFrame Query Optimization Parquet Streaming Data-Engineering
DuckDB ASOF Join 實戰:時間序列對齊與最近事件查詢
·7 分鐘· loading · loading
Python DuckDB SQL ASOF Join Time-Series Temporal Data Data-Engineering
MLX-VLM 影片抽幀分析:時間軸摘要、事件索引與品質檢查
·6 分鐘· loading · loading
Mlx MLX-VLM VLM FFmpeg Video Analysis Timeline Apple-Silicon
Streamlit + PyDeck 地理資料 Dashboard:圖層、篩選與互動地圖
·7 分鐘· loading · loading
Python Streamlit PyDeck GeoJSON Geospatial Dashboard Data-Visualization
Python concurrent.futures 實戰:Thread、Process 與 Interpreter Pool
·8 分鐘· loading · loading
Python Concurrent.futures ThreadPoolExecutor ProcessPoolExecutor InterpreterPoolExecutor Concurrency Parallelism
Git reset、restore、revert 實戰:選對復原工具
·9 分鐘· loading · loading
Git Reset Restore Revert Undo Version-Control Developer-Tools
Textual CSS Layout 實戰:Grid、Dock、Responsive 與 Theme
·7 分鐘· loading · loading
Python Textual TCSS TUI Layout Responsive-Design Theme
DuckDB Window Functions 實戰:排名、移動平均與分組分析
·8 分鐘· loading · loading
Python DuckDB SQL Window Functions Data-Analysis Analytics OLAP
MLX-VLM 批次圖片實戰:Caption、結構化擷取與結果驗證
·7 分鐘· loading · loading
Mlx MLX-VLM VLM Structured Output Pydantic Batch Inference Apple-Silicon
uv Dependency Groups 實戰:dev、test、docs 與 production 依賴分層
·9 分鐘· loading · loading
Python Uv Dependency Groups PEP 735 Pyproject.toml Ci DevOps
Python JSON 實戰:解析、序列化、自訂型別與大型資料
·7 分鐘· loading · loading
Python Json Serialization Standard-Library JSON Lines Data-Engineering Developer-Tools
Python Requests 實戰:Session、Timeout、Retry 與可靠 API Client
·7 分鐘· loading · loading
Python Requests HTTP API Session Retry Developer-Tools
Git tag 與 Release 實戰:版本標記、SemVer 與安全發佈流程
·8 分鐘· loading · loading
Git Tag Release SemVer Versioning GitHub Developer-Tools
Pandas 資料清理實戰:缺失值、型別、重複資料與驗證
·7 分鐘· loading · loading
Python Pandas Data-Cleaning Missing-Data Validation ETL
MLX-VLM 實戰:Apple Silicon 本地圖片問答與多模態模型
·7 分鐘· loading · loading
Mlx MLX-VLM VLM Multimodal Apple-Silicon Local AI Python
Python heapq 實戰:優先佇列、Top-K 與任務排序
·9 分鐘· loading · loading
Python Heapq Priority-Queue Algorithm Standard-Library
uv + Docker 實戰:Locked Sync、Layer Cache 與可重現 Image
·9 分鐘· loading · loading
Python Uv Docker Lockfile BuildKit Deployment Reproducible-Builds
Python csv 實戰:DictReader、Dialect 與串流清理資料
·7 分鐘· loading · loading
Python CSV Data-Cleaning Standard-Library ETL Developer-Tools
scikit-learn Pipeline 實戰:前處理、交叉驗證與避免資料洩漏
·7 分鐘· loading · loading
Python Scikit-Learn Pipeline ColumnTransformer Machine-Learning Cross-Validation Data-Leakage
MLX-LM 長文本聊天實戰:Context、KV Cache 與記憶體取捨
·10 分鐘· loading · loading
Mlx MLX-LM LLM Long Context KV Cache Apple-Silicon Local AI
NumPy Broadcasting 實戰:Shape、索引、Mask 與維度對齊
·6 分鐘· loading · loading
Python Numpy Broadcasting Indexing Boolean Mask Data-Analysis
GitHub Pull Request 實戰:Draft、Review、Checks 與安全合併
·9 分鐘· loading · loading
GitHub Pull Request Code Review Branch Protection Ci Git
uv pip-compile migration:從 requirements.txt 到可重現部署流程
·7 分鐘· loading · loading
Python Uv Requirements.txt Pip-Compile Dependency-Management Deployment
Pandas GroupBy 實戰:聚合、Pivot Table 與報表整理
·8 分鐘· loading · loading
Python Pandas GroupBy Pivot Table Data-Analysis Reporting
Streamlit Data Editor 實戰:可編輯表格、上傳驗證與 CSV 匯入匯出
·8 分鐘· loading · loading
Python Streamlit Data-Editor CSV Validation Developer-Tools
Streamlit Fragments + Dialogs:局部 Rerun、即時面板與 Modal Workflow
·9 分鐘· loading · loading
Python Streamlit Fragments Dialogs Rerun Session State Developer-Tools
Git rerere 實戰:記住衝突解法,讓 Rebase 與 Merge 不再重做
·8 分鐘· loading · loading
Git Rerere Merge-Conflict Rebase Merge Version-Control Developer-Tools
DuckDB 遠端 Parquet 實戰:S3/R2、httpfs、Secrets 與 Pushdown
·7 分鐘· loading · loading
Python DuckDB Parquet S3 Cloudflare R2 Httpfs Data-Engineering
Textual 測試實戰:Pilot、pytest-asyncio 與 Snapshot Regression
·7 分鐘· loading · loading
Python Textual TUI Pytest Pytest-Asyncio Pilot Snapshot Testing
uv 管理 Python 版本:Install、Find、Pin、Upgrade 與直譯器選擇
·9 分鐘· loading · loading
Python Uv Python Versions Interpreter Virtualenv Developer-Tools
MLX-LM 模型轉換與量化:4/8-bit、Mixed Quant 與品質評測
·9 分鐘· loading · loading
Mlx MLX-LM LLM Quantization Apple-Silicon Model Conversion Local AI
Streamlit AppTest 實戰:用 pytest 測 Widgets、Session State 與 CI
·9 分鐘· loading · loading
Python Streamlit AppTest Pytest Testing Session State Ci
Python mmap 實戰:記憶體映射、隨機存取與大型檔案搜尋
·7 分鐘· loading · loading
Python Mmap Memory-Mapped-File Filesystem Performance Standard-Library
Python copy 實戰:淺拷貝、深拷貝與物件圖陷阱
·6 分鐘· loading · loading
Python Copy Deepcopy Object-Model Standard-Library
Git reflog 救援實戰:找回 reset、rebase 後消失的 Commit
·9 分鐘· loading · loading
Git Reflog Recovery Reset Rebase Commit Version-Control
MLX-LM 本機 API Server:OpenAI 相容介面、Prompt Cache 與 Tool Calling
·8 分鐘· loading · loading
Mlx MLX-LM LLM OpenAI API Prompt Cache Tool Calling Apple-Silicon
Python unicodedata 實戰:文字正規化、搜尋與去重
·6 分鐘· loading · loading
Python Unicodedata Unicode Text-Normalization Search Standard-Library
Textual Form Wizard 實戰:多步驟表單、Validation 與狀態切換
·5 分鐘· loading · loading
Python Textual TUI Forms Validation Developer-Tools
uv + GitHub Actions 實戰:Lockfile、Cache 與可重現 CI
·5 分鐘· loading · loading
Python Uv GitHub Actions Ci Lockfile Cache Developer-Tools
Python shlex 實戰:安全拆解 Shell 參數、Quote 與迷你指令語法
·6 分鐘· loading · loading
Python Shlex Shell Cli Security Standard-Library
MLX-LM LoRA 微調入門:Adapter、資料格式與 Apple Silicon 本機評測
·13 分鐘· loading · loading
Mlx MLX-LM LoRA Fine-Tuning Apple-Silicon Local AI
Python sysconfig 實戰:安裝路徑、編譯資訊與環境診斷
·6 分鐘· loading · loading
Python Sysconfig Standard-Library Packaging Virtualenv Developer-Tools
Python importlib.metadata 實戰:套件版本、依賴資訊與外掛探索
·7 分鐘· loading · loading
Python Importlib.metadata Packaging Metadata Entry-Points Plugins
Python graphlib 實戰:拓撲排序、依賴圖與工作流程排程
·5 分鐘· loading · loading
Python Graphlib TopologicalSorter DAG Topological-Sort Workflow
Python platformdirs 實戰:跨平台管理設定、快取與應用程式資料夾
·7 分鐘· loading · loading
Python Platformdirs Filesystem Configuration Cache Cross-Platform
Python fsspec 實戰:統一讀寫本機、S3、HTTP 與資料管線路徑
·7 分鐘· loading · loading
Python Fsspec Filesystem S3 Data-Engineering ETL
Python PyArrow 實戰:Parquet、Schema 與跨工具資料交換
·8 分鐘· loading · loading
Python PyArrow Apache Arrow Parquet Data-Engineering ETL
Python msgspec 實戰:高速 Schema 驗證、JSON 與 MessagePack
·6 分鐘· loading · loading
Python Msgspec Json Messagepack Schema Serialization Validation
Python OpenTelemetry 實戰:Trace、Span 與 FastAPI 觀測流程
·6 分鐘· loading · loading
Python OpenTelemetry Observability FastAPI Tracing Developer-Tools
Textual Background Workers 實戰:長任務、Progress、取消與 Log Console
·9 分鐘· loading · loading
Python Textual TUI Background-Workers Async Developer-Tools
MLX-LM 批次推論實戰:Prompt Template、抽樣參數與本機評測流程
·9 分鐘· loading · loading
Mlx MLX-LM LLM Batch Inference Apple-Silicon Local AI
Python uv build/publish 實戰:從 wheel 到 private package workflow
·11 分鐘· loading · loading
Python Uv Packaging Wheel PyPI Private-Package Developer-Tools
Streamlit + SQLModel 實戰:做一個本機 CRUD 小後台
·9 分鐘· loading · loading
Python Streamlit SQLModel SQLite CRUD Developer-Tools
Python socket 實戰:TCP client/server、timeout 與簡易通訊協定
·8 分鐘· loading · loading
Python Socket TCP Networking Standard-Library Developer-Tools
Python shutil 實戰:檔案複製、搬移、壓縮與安全清理
·7 分鐘· loading · loading
Python Shutil Filesystem Automation Standard-Library Developer-Tools
Python inspect 實戰:看懂函式簽名、物件結構與開發工具自動化
·6 分鐘· loading · loading
Python Inspect Introspection Standard-Library Developer-Tools
Python AnyIO 實戰:TaskGroup、取消管理與跨框架非同步工具
·6 分鐘· loading · loading
Python AnyIO Async Asyncio Trio Developer-Tools
Rich Logging Dashboard 實戰:進度、表格與 Log Console 整合
·7 分鐘· loading · loading
Python Rich Logging Cli Dashboard Developer-Tools
Textual + DuckDB 實戰:終端機資料 Dashboard 小工具
·6 分鐘· loading · loading
Python Textual DuckDB TUI Dashboard Data-Analysis
Streamlit Auth 實戰:session_state、登入狀態與權限頁面
·7 分鐘· loading · loading
Python Streamlit Authentication Session State OIDC Security
Python dotenv 實戰:安全管理 .env、環境變數與部署設定
·7 分鐘· loading · loading
Python Dotenv Environment Variables Configuration Security
Streamlit + DuckDB 實戰:本地資料查詢 Dashboard
·8 分鐘· loading · loading
Python Streamlit DuckDB SQL Dashboard Data-Analysis
Textual + SQLite 實戰:做一個終端機資料管理小工具
·8 分鐘· loading · loading
Python Textual SQLite TUI Database Developer-Tools
Python uv scripts 實戰:PEP 723、inline dependencies 與單檔工具
·6 分鐘· loading · loading
Python Uv PEP 723 Script Developer-Tools Automation
Python Alembic 實戰:資料庫 Migration、版本控管與團隊協作
·9 分鐘· loading · loading
Python Alembic SQLAlchemy Database Migration Developer-Tools
Python pytest fixtures 進階:conftest、factory 與測試資料管理
·8 分鐘· loading · loading
Python Pytest Fixtures Testing Conftest Monkeypatch Developer-Tools
Python SQLAlchemy 2.0 實戰:Typed ORM、Session 與查詢模式
·9 分鐘· loading · loading
Python SQLAlchemy ORM Database SQLite Developer-Tools
FastAPI + Streamlit 實戰:API 後端與互動前端分工
·9 分鐘· loading · loading
Python FastAPI Streamlit API Frontend Developer-Tools
Python pydantic-settings 實戰:型別安全管理 .env 與設定檔
·6 分鐘· loading · loading
Python Pydantic Pydantic-Settings Dotenv Configuration Developer-Tools