Finisky Garden

NLP, 软件工程, 产品设计

当你在 Windows 上使用 TeX Live 编译包含自定义字体的 LaTeX 文档时,可能会遇到如下错误:

kpathsea: Running mktextfm Fontin

The command name is F:\texlive\2025\bin\windows\mktextfm
name = Fontin, rootname = Fontin, pointsize =
mktexmf: empty or non-existent rootfile!

kpathsea: Running mktexmf Fontin.mf

The command name is F:\texlive\2025\bin\windows\mktexmf
Cannot find Fontin.mf.
kpathsea: Appending font creation commands to missfont.log.

kpathsea: Running mktextfm Fontin

The command name is F:\texlive\2025\bin\windows\mktextfm
name = Fontin, rootname = Fontin, pointsize =
mktexmf: empty or non-existent rootfile!

kpathsea: Running mktexmf Fontin.mf

The command name is F:\texlive\2025\bin\windows\mktexmf
Cannot find Fontin.mf.

这个错误的原因是 TeX 系统找不到所需的字体文件(特别是 .mf.tfm 文件),因此无法生成它们。奇怪的是,你可能已经安装了该字体。

阅读全文 »

When compiling a LaTeX document that uses a customized font in TeX Live on Windows, you might encounter the following error:

kpathsea: Running mktextfm Fontin

The command name is F:\texlive\2025\bin\windows\mktextfm
name = Fontin, rootname = Fontin, pointsize =
mktexmf: empty or non-existent rootfile!

kpathsea: Running mktexmf Fontin.mf

The command name is F:\texlive\2025\bin\windows\mktexmf
Cannot find Fontin.mf.
kpathsea: Appending font creation commands to missfont.log.

kpathsea: Running mktextfm Fontin

The command name is F:\texlive\2025\bin\windows\mktextfm
name = Fontin, rootname = Fontin, pointsize =
mktexmf: empty or non-existent rootfile!

kpathsea: Running mktexmf Fontin.mf

The command name is F:\texlive\2025\bin\windows\mktexmf
Cannot find Fontin.mf.

This error occurs because the TeX system cannot find the necessary font files (specifically .mf or .tfm files) for Fontin, and fails to generate them. The weird part is that you have installed the font already.

阅读全文 »

MongoDB's Aggregation Pipeline is a powerful tool for processing and analyzing data, suitable for both real-time queries and offline data analysis. It allows developers to use multiple stages to transform, filter, group, and sort data, enabling efficient execution of complex computations. This article will explore the basic concepts, application examples, performance analysis, and optimization strategies of the Aggregation Pipeline.

阅读全文 »

MongoDB 的 Aggregation Pipeline 是处理和分析数据的强大工具,适用于实时查询和离线数据分析。它允许开发者使用多个阶段(stages)来转换、过滤、分组和排序数据,从而高效地执行复杂的计算。本文将探讨 Aggregation Pipeline 的基本概念、应用示例、性能分析及优化方案。

阅读全文 »

Today, when I opened Chrome, I suddenly received a prompt saying that SwitchyOmega "# This extension may soon no longer be supported because it doesn't follow best practices for Chrome extensions." It seems that the plugin was disabled after Chrome automatically updated. Another bad news: the Stylish plugin has also been rendered unusable for the same reason.

Moreover, the Chrome Web Store is inaccessible, preventing the installation of other extensions—deadlock.

阅读全文 »

今天打开Chrome突然提示SwitchyOmega “此扩展程序未遵循 Chrome 扩展程序的最佳实践,因此已无法再使用。” 应该是Chrome自动升级之后插件被禁用了。还有一个坏消息,Stylish插件也因为一样的问题入土不可再用。

然后Chrome Web Store无法打开安装其他插件,死锁了。

阅读全文 »

The double-spending problem is a critical challenge in transaction systems, especially when managing account balances or funds. It occurs when a system allows the same funds to be spent multiple times due to concurrent operations or race conditions. In this article, we explore two approaches to resolving this issue using MongoDB: transaction-based handling and versioning-based handling.

This post is an in-depth discussion of the double-spending problem from the Building a Transaction System with MongoDB blog.

阅读全文 »

双花问题是交易系统中的一个关键挑战,尤其是在管理账户余额或资金时。当系统允许由于并发操作或竞争条件导致同一笔资金被多次使用时,就会发生双花问题。本文将探讨使用 MongoDB 解决这一问题的两种方法:基于事务的处理基于版本的处理

本文是用MongoDB构建交易系统关于双花问题的深入讨论。

阅读全文 »

After a Windows Update, RDP on Windows 11 might stop working correctly. Symptoms include a black screen upon connection, no visible mouse or interface, and an automatic disconnection after about a minute. This forces users to return to the local machine to investigate the issue.

阅读全文 »

Windows Update之后,win11的远程桌面就不好使了:连接黑屏,鼠标和界面一概不可见,一分钟之后自动断开连接。无奈只能重新进入本机查看到底是什么问题。

阅读全文 »
0%