Skip to content

research

Bag of Tricks for Claude Code:克劳德之踩坑记录

年终这篇就用贯穿 2025 年的 Agentic Coding 工具收尾了 —— Claude Code 🦀

Claude Code Bag of Tricks Banner

Claude Code 是 Anthropic 官方推出的命令行 AI 编程助手。在上下文理解涌现出重要价值的今天,Claude Code 让 AI 自主的进行编程实现逐渐成为可能。

不过,Anthropic 对 🇨🇳 地区的访问限制已是人尽皆知。在国内的互联网环境下,使用起来确实需要一些功夫来配置。本文总结了我这几天的实践经验,将配置第三方 API、切换其他 LLM 模型、设置代理和状态栏等方面的策略 dump 如下,希望对读者有所帮助。

Helpful matplotlib snippets 📈

matplotlib -- the de-facto library of plotting in Python.

seaborn -- the golden tool for statistical data visualization. Also comes with nice style defaults.

I have found myself using both libraries frequently with some style preferences that I usually adopt when creating plots. For the sake of reproducibility and convenience, I have collected some of these snippets here.

Hooks in PyTorch 🪝

To quote myself in a most recently yet-to-be-published paper:

💪 The ability of deep neural networks (DNNs) come from extracting and interpreting features from the data provided.

What we call, deep features, are the abstract, latent representations that are naturally derived from the training data fed into the DNN. They reflect a consistent activation or response of a layer/node within the model hierarchy to an input.

The features from within a pretrained VGG-11 (top) and ResNet-18 (bottom) on layers of different depths visualized.