大象笔记

Install llama.cpp on Windows 11 and download to run the first local model

I want to try running a translation model locally on a Windows computer using llama.cpp, to translate some Chinese conte

Python 调用 llama.cpp 运行的模型

参考前文,安装了 llama.cpp,并且部署好了一个本地翻译模型。 [llama.cpp 在 Windows 11 上安装,并下载运行第一个本地模型](https://www.sunzhongwei.com/llamacpp-insta

llama.cpp 在 Windows 11 上安装,并下载运行第一个本地模型

想尝试一下用 llama.cpp 在本地 Windows 电脑上运行一个翻译模型,把一部分中文内容翻译成英文。折腾了一上午,终于安装好了。之前在 Windows 上使用过 Ollama, 参照前文,[Ollama 安装 Google Gem

Oracle 的字符集,与 MySQL 非常不同

今天在修复一个 RuoYi (Sprint Boot)的操作日志写入 bug 时,发现 Oracle 的字符集跟之前使用的 MySQL 有很多不同的地方。这里记录一下。 ## 一个字符集引起的 bug > uncategorized SQ

飞书表单链接中添加参数实现字段的自动填充

基于飞书的多维表格和表单实现了一个 MES 系统内的问题反馈功能,但是我发现每次都需要用户手动填写功能的完整路径,例如: > 系统管理/日志管理/操作日志 功能太多,路径也很长,我感觉体验很不好,即便是提供选项也很让人焦躁不安,是否可以

MES 日生产计划与 APS

MES 的日生产计划的来源有三种: ## 来源 / 生成方式 - 手工维护 - APS 排产 - 计划导入 ## APS 是什么 APS 的常见缩写是: **Advanced Planning and Scheduling**

外贸站批量导入博客文章字段调整

外贸网站很多时候需要批量导入内容,而不是通过管理后台一篇一篇手动录入。今天需要把之前的批量导入逻辑重构一下,以支持新的展示形式。 ## 现有的导入 先确认目前的导入方式,来判断是否需要调整。先把当前版本在本地跑起来,然后发现本地的 dev

localhost vs 127.0.0.1 in Windows WSL2

Why can a frontend service running on Windows not access a backend API running in WSL2 via `http://127.0.0.1`, but can a

2026 Used ThinkPad Buying Map: From $75 to $447, Which Models Are Traps and Which Are Worth Picking Up

Recently, I took a spin around the pitfalls of the used ThinkPad market and found the discussion trends on Zhihu and Xia

ubuntu 系统里设置 smug start 自动补全

我使用 ubuntu 系统,我希望在执行 smug start 命令时,按 tab 能自动列举 ~/work/config/smug/ 目录下的相关配置文件名,作为自动补全。同时去掉文件名后缀。这样做的好处是不用记录复制配置的文件名,毕竟