你好 👋

欢迎来到我的博客。

  • 我会在这里分享我的想法。
  • 我的兴趣比较广泛,包括但不限于计算机科学,编程/算法竞赛和番剧。

MacOS Conda Package 问题

今天我想通过 conda 创建一个环境,但当我输入以下命令时出现了错误: $ conda create -n notion python=3.7 Channels: - defaults Platform: osx-arm64 Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - python=3.7* Current channels: - defaults To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page. 经过搜索,我首先尝试了命令 conda config --append channels conda-forge,但问题仍然存在。 ...

2025-06-29 · 1 分钟 · 179 字 · ssdxx

Rust 中所有权的理解

栈(Stack)与堆(Heap) 理解 Rust 所谓的所有权(ownership)之前,首先要弄清楚栈与堆这两块内存区域。如果你学过 C 或 C++,你会发现这些概念几乎是一样的。 栈内存 在函数里直接声明一个变量时,它通常位于栈上。例如: ...

2025-06-25 · 3 分钟 · 1392 字 · ssdxx

Apple Intelligence 网络故障排除

最近我打开了 Apple Intelligence,但我无法登录我的 ChatGPT 帐户。 问题的主要原因是某些特殊网络环境,可以通过在代理规则中添加以下域名来解决: apple-relay.cloudflare.com apple-relay.apple.com

2025-06-18 · 1 分钟 · 71 字 · ssdxx

Esp32烧录问题排除

当我想要把固件刷到ESP32上时,出现了如下错误: A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out) 经过搜索,我发现缺少了一个USB驱动。可以在这里下载:https://www.wch.cn/downloads/CH34XSER_MAC_ZIP.html

2025-06-13 · 1 分钟 · 118 字 · ssdxx