Skip to content

Instantly share code, notes, and snippets.

View docularxu's full-sized avatar

Guodong Xu docularxu

View GitHub Profile
@docularxu
docularxu / blog-claude-code-china-zh.md
Last active March 13, 2026 09:48
在中国使用 Claude Code 解决 403 错误 - 完整指南(中文版)

在中国使用 Claude Code 解决 403 错误 - 完整指南(中文版)

在中国使用 Claude Code 解决 403 错误

2026 年 2 月 12 日

如果你在中国尝试使用 Claude Code,大概率会撞上 403 错误。本文覆盖三种使用场景的解决方案:

  • macOS 终端 (shell) - 在终端里直接使用 claude 命令行
  • VS Code 终端 - 在 VS Code 内置终端里使用 claude 命令行
@docularxu
docularxu / research-intel-avx-heterogeneous.md
Last active February 19, 2026 14:10
Intel's Heterogeneous Core SIMD/AVX Roadmap and the Scheduling Problem - Research Report (Feb 2026)

Intel's Heterogeneous Core SIMD/AVX Roadmap and the Scheduling Problem

Research Report — February 2026 Audience: Senior kernel engineers (particularly RISC-V), for architectural comparison


Executive Summary

Intel's introduction of hybrid (big.LITTLE-style) x86 CPUs starting with Alder Lake in 2021 created an unprecedented problem in the x86 ecosystem: heterogeneous ISA support across cores within a single package. The P-cores (Golden Cove) supported AVX-512 while the E-cores (Gracemont) did not. Intel's handling of this — disabling AVX-512 across the entire chip — and their multi-year journey toward AVX10 as a solution provides critical lessons for any ISA designer considering heterogeneous core designs. This report covers the technical details, the OS scheduling implications, and comparisons with Arm, Apple, and RISC-V approaches.

@docularxu
docularxu / blog-claude-code-china.md
Last active March 12, 2026 19:39
How I Got Claude Code Working in China — What Works and What Doesn't

How I Got Claude Code Working in China — What Works and What Doesn't

February 12, 2026

If you're a developer in China trying to use Claude Code, you've probably hit the 403 wall. This guide covers how to get it working in three scenarios:

  1. macOS Terminal (shell) - using claude CLI directly in your terminal
  2. VS Code Terminal - using claude CLI inside VS Code's integrated terminal
  3. VS Code Claude Code Extension - using the Claude Code chat panel (installed as a VS Code extension)