GaGa's Blog

One GaGa, One World !

RaiDrive 是一款将各种云存储服务“映射”为本地磁盘驱动器的工具,让你像操作本地硬盘一样访问网盘里的文件。它本质上创建一个虚拟磁盘,把远程存储挂载到 Windows 文件系统,适合需要统一管理多种云服务、简化文件访问的场景。


1.支持的云存储类型

常见支持服务包括(根据 RaiDrive 版本可能更新):

Read more »

1.容器内加载source .env

满足几个条件:

  • .env 文件必须存在于容器内
  • COPY 进镜像
  • 或通过 volume 挂载

方式A:构建时复制进镜像

Read more »

问题

容器构建中tzdata 在安装时的交互式时区选择界面。

Configuring tzdata ------------------ Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located. 1. Africa 4. Arctic 7. Australia 10. Pacific 2. America 5. Asia 8. Europe 11. Etc 3. Antarctica 6. Atlantic 9. Indian 12. Legacy apt 默认自动选择

解决

Read more »

python3.12名字

  • ubuntu22.04
python3.12/noble-updates,noble-security,now 3.12.3-1ubuntu0.11 arm64 [installed,automatic]
  Interactive high-level object-oriented language (version 3.12)

python3.12-dbg/noble-updates,noble-security 3.12.3-1ubuntu0.11 arm64
  Debug Build of the Python Interpreter (version 3.12)

python3.12-dev/noble-updates,noble-security,now 3.12.3-1ubuntu0.11 arm64 [installed,automatic]
  Header files and a static library for Python (v3.12)

python3.12-doc/noble-updates,noble-security 3.12.3-1ubuntu0.11 all
  Documentation for the high-level object-oriented language Python (v3.12)

python3.12-examples/noble-updates,noble-security 3.12.3-1ubuntu0.11 all
  Examples for the Python language (v3.12)

python3.12-full/noble-updates,noble-security 3.12.3-1ubuntu0.11 arm64
  Python Interpreter with complete class library (version 3.12)

python3.12-minimal/noble-updates,noble-security,now 3.12.3-1ubuntu0.11 arm64 [installed,automatic]
  Minimal subset of the Python language (version 3.12)

python3.12-nopie/noble-updates,noble-security 3.12.3-1ubuntu0.11 arm64
  Python interpreter linked without PIE (version 3.12)

python3.12-venv/noble-updates,noble-security 3.12.3-1ubuntu0.11 arm64
  Interactive high-level object-oriented language (pyvenv binary, version 3.12)

Read more »

在 Nginx 里,directio 不需要额外模块,而 AIO(异步 IO)需要在编译时启用 file AIO

    1. 系统有 AIO 能力
    1. nginx 编译时打开 --with-file-aio

1.底层原理

Read more »

下载场景优化:目标是让数据尽量走“内核直通”路径,而不是在用户态反复搬运。


一、核心优化思路

下载请求通常特点:

Read more »

  • 源文件 hello.c
  • 预处理 pre-processing hello.i
  • 编译器-编译ccl hello.s
  • 汇编器as hello.o
  • 链接器link hello(二进制 )

GaGa\_2026-02-11\_09-41-49.png

Ubuntu 近几年把软件源配置从传统的 sources.list 单行格式,逐步引向一种更结构化的新写法 —— DEB822 格式。名字来自 Debian 的控制文件规范(RFC822 风格键值对结构),本质上是把一行挤满参数的源定义,改成字段化配置

传统格式像这样:

1
deb http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse

DEB822 改成块结构,每个字段单独一行,更清晰也更容易自动化管理:

Read more »

  • xargs:把标准输入变成命令行参数,解决“参数太多”或需要批量执行的问题。
  • cpio:根据输入的文件列表进行三种操作:打包(archive)、解包(extract)、直接复制目录结构(pass-through)。

1.用cpio打包目录

1
find /data/app -type f | cpio -ocv > app.cpio
Read more »

1.多模态(Multimodal)是什么

多模态指系统能够同时理解、处理或生成多种类型数据的能力,比如文本、图片、语音、视频、传感器数据等,而不是只处理单一形式的信息。

人类天然就是多模态系统:我们听声音、看画面、读文字、感知环境,然后在大脑里融合成统一理解。现代 AI 的目标之一,就是把这种“多感官协同理解”搬进机器系统中。

1.1 多模态系统如何工作

Read more »
0%