阅读视图

发现新文章,点击刷新页面。
🔲 ☆

近思录 2026-03-04

宋平(1917年4月24日—2026年3月4日)

R.I.P.

🕯️

Arbitrary Precision Arithmetic (APA) package for Octave

https://gnu-octave.github.io/packages/apa/

米歇尔·福柯

有人询问GNU Emacs开发者关于LLM生成代码的态度

https://lists.gnu.org/archive/html/emacs-devel/2026-03/msg00418.html

开发者回复,这个态度由GNU确定,适用于所有的GNU项目,所以无法回答。

其他开发者分享了Don Knuth关于Claude的评论。

张雪峰(1984年5月18日–2026年3月24日)

R.I.P.

新一代内存模块CAMM2变革了传统内存插槽的样式

https://www.solidot.org/story?sid=83812

根据我30多年的实际体验,从DDR之前的制式到现在,内存都是插槽式的,如果真的改成新的规格,是个大改变。

当年的奔腾还是插槽式的CPU,后来统一都改成针脚了,再后来Intel搞触点,AMD也跟进了。

emacs-rime用上了rime-ice

1
2
3
4
5
6
7
8
(use-package rime
:custom
(default-input-method "rime")
:bind
(:map rime-mode-map
("C-~" . 'rime-send-keybinding))
:config
(setq rime-show-candidate 'posframe))

因为我用了默认的切换快捷键,必须得换一个。

差值

1
2
3
4
5
6
7
8
9
% 已知数据点
x = [1, 2]
y = [28.09, 41.95]

% 查询点
xq = 1.54

% 线性插值
y_linear = interp1(x, y, xq, 'linear')

在Qwen的帮助下学到的,AI还是有点用的,在一个很小的片段上没问题。

中文的「音读」和「训读」

最近有个新闻,身份证 X 怎么读,官方的读法是「十」,因为就是用这个符号表示校验码10。我联想,类似的还有高铁的“G”和“D”读「高」和「动」。我理解,这就类似日语的「训读」,用一个外来的符号表示,读音还是本来的。

🔲 ☆

近思录 2026-01-01

Evolution of Emacs Lisp

Emacs代码的微优化

https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-12/msg00822.html

被拒绝了。

Nicolás Maduro Moros

死神vs火影

还有这游戏,最近才知道。

启动Emacs时禁用垃圾回收加快启动速度

https://emacsredux.com/blog/2025/03/28/speed-up-emacs-startup-by-tweaking-the-gc-settings/

setqsetopt

https://emacsredux.com/blog/2025/04/06/goodbye-setq-hello-setopt/

评标专家集体低血糖

  • 如果专家真的身体不适,我挺理解,身体不适没法办公。
  • 如果专家是怕背锅,我觉得也有可能。

我仓既盈,我庾维亿

楚楚者茨,言抽其棘。自昔何为,我艺黍稷。我黍与与,我稷翼翼。
我仓既盈,我庾维亿。以为酒食,以享以祀。以妥以侑,以介景福。
济济跄跄,絜尔牛羊,以往烝尝。或剥或亨,或肆或将。
祝祭于祊,祀事孔明。先祖是皇,神保是飨。孝孙有庆,报以介福,万寿无疆。
执爨踖踖,为俎孔硕。或燔或炙,君妇莫莫。为豆孔庶,为宾为客。
献酬交错,礼仪卒度,笑语卒获。神保是格,报以介福,万寿攸酢。
我孔熯矣,式礼莫愆。工祝致告,徂赉孝孙。苾芬孝祀,神嗜饮食。
卜尔百福,如畿如式。既齐既稷,既匡既敕。永锡尔极,时万时亿。
礼仪既备,钟鼓既戒。孝孙徂位,工祝致告。神具醉止,皇尸载起。
钟鼓送尸,神保聿归。诸宰君妇,废彻不迟。诸父兄弟,备言燕私。
乐具入奏,以绥后禄。尔肴既将,莫怨具庆。既醉既饱,小大稽首。
神嗜饮食,使君寿考。孔惠孔时,维其尽之。子子孙孙,勿替引之。

聂卫平(1952年8月17日—2026年1月14日)

R.I.P.

聂棋圣其中一任妻子是王静,哥哥是王刚。

全国人口14.05亿

成年人(16–59岁)有8.51亿,老人(60岁以上)有3.23亿,儿童(16岁以下)有2.31亿。

中国2025-2100年人口预测 与政策建议(简版)

中国人口研究报告

我的粗略解读,未来25年,情况变化不大,总人口在13.0亿到12.8亿左右。但再过50年,人口会加速下跌,好的情况是降一半,变成大约6亿人,悲观的情况,人口直接去一个十位数,变成3.2亿。

不过,那时候的事,跟我们现在的人没关系了。

儿孙自有儿孙福。

No further

Hitherto shalt thou come, but no further.

https://www.biblegateway.com/audio/mclean/kjv/Job.38.10-Job.38.12

大模型评测

https://github.com/jeinlee1991/chinese-llm-benchmark

🔲 ☆

近思录 2025-12-04

Overcapacity

我是赞同的。一个例子来自文具领域,比如笔尖钢。我在莫斯科,可不是郊区哦,是包括市中心和很多大商场,想买除了圆珠笔之外的文具,一无所获,只有那种成本几分钱最便宜的圆珠笔。当然,这是他们欧洲人喜欢用圆珠笔这种书写工具,而且他们的文字体系也确实适合用这种笔。可能俄罗斯一个国家一亿人口,对文具的需求,不如国内一个几百万人口的城市大。再一个例子是最近的面条厂造飞机。看来面条这种产品,也面临产能过剩,内卷加剧,所以才穷则思变,寻找出路造飞机。只不过,这种改变走入了一个灰色,甚至是违法的境地。

AI领域的缩放定律(Scaling law)

https://www.bilibili.com/video/BV1vh2GBCE5o

Salvation lies within.

今天的封号禁言就是文革时代的打成反革命和批斗

数字义和团,数字红卫兵。

https://www.youtube.com/watch?v=k0v-iTni5nQ

利托那韦(Ritonavir)的晶型困境

Godot Engine

CET4

  • City walk.
  • Lucid waters and lush mountains are invaluable assets.
  • Private enterprise.
  • Academic writing.
  • Enrich life.

DuIvyTools

天启四骑士(Four Horsemen of the Apocalypse)

揭开密封的印

我看见羔羊揭开七个印中第一个印的时候,听见四活物中的一个活物,声音如雷,说:“你来!”

我就观看,看见一匹白马,骑在马上的拿着弓,并有冠冕赐给他。他出来征服,胜而又胜。

羔羊揭开第二个印的时候,我听见第二个活物说:“你来!”

就另有一匹马出来,是红色的;有权柄赐给了那骑马的,要从地上夺去太平,使人彼此相杀;他又接受了一把大刀。

羔羊揭开第三个印的时候,我听见第三个活物说:“你来!”我就观看,看见一匹黑马;骑在马上的,手里拿着天平。

我听见在四个活物中似乎有声音说:“一个银币买一升麦子,一个银币买三升大麦;油和酒不可糟蹋。”

羔羊揭开第四个印的时候,我听见第四个活物说:“你来!”

我就观看,看见一匹灰色马;骑在马上的,名字叫作“死”,阴间也随着他;有权柄赐给他们,可以用刀剑、饥荒、瘟疫、野兽,杀害地上四分之一的人。

羔羊揭开第五个印的时候,我看见在祭坛底下有曾为上帝的道,并为作见证而被杀的人的灵魂,

大声喊着说:“神圣真实的主宰啊,你不审判住在地上的人,为我们所流的血伸冤,要到几时呢?”

于是有白袍赐给他们各人;又有话吩咐他们还要歇息片刻,等到与他们同作仆人的,和他们的弟兄,像他们一样被杀的人的数目凑足的时候。

羔羊揭开第六个印的时候,我看见地大震动,太阳变黑像粗麻布,整个月亮变红像血,

天上的星辰坠落在地上,如同无花果树被大风摇动,落下未熟的果子一样。

天就裂开,好像书卷被卷起来;山岭海岛都被移动离开原位。

地上的君王、臣宰、将军、富户、壮士,和一切为奴的、自主的,都藏在山洞和岩石穴里,

向山和岩石说:“倒在我们身上吧!把我们藏起来,躲避坐宝座者的脸面和羔羊的愤怒;

因为他们遭愤怒的大日子到了,谁能站得住呢?”

The First Seal: Rider on a White Horse

And I saw when the Lamb opened one of the seals, and I heard, as it were the noise of thunder, one of the four beasts saying, Come and see. And I saw, and behold a white horse: and he that sat on him had a bow; and a crown was given unto him: and he went forth conquering, and to conquer.

The Second Seal: War

And when he had opened the second seal, I heard the second beast say, Come and see. And there went out another horse that was red: and power was given to him that sat thereon to take peace from the earth, and that they should kill one another: and there was given unto him a great sword.

The Third Seal: Famine

And when he had opened the third seal, I heard the third beast say, Come and see. And I beheld, and lo a black horse; and he that sat on him had a pair of balances in his hand. And I heard a voice in the midst of the four beasts say, A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine.

The Fourth Seal: Death

And when he had opened the fourth seal, I heard the voice of the fourth beast say, Come and see. And I looked, and behold a pale horse: and his name that sat on him was Death, and Hell followed with him. And power was given unto them over the fourth part of the earth, to kill with sword, and with hunger, and with death, and with the beasts of the earth.

The Fifth Seal: Martyrs

And when he had opened the fifth seal, I saw under the altar the souls of them that were slain for the word of God, and for the testimony which they held: And they cried with a loud voice, saying, How long, O Lord, holy and true, dost thou not judge and avenge our blood on them that dwell on the earth? And white robes were given unto every one of them; and it was said unto them, that they should rest yet for a little season, until their fellowservants also and their brethren, that should be killed as they were, should be fulfilled.

The Sixth Seal: Terror

And I beheld when he had opened the sixth seal, and, lo, there was a great earthquake; and the sun became black as sackcloth of hair, and the moon became as blood; And the stars of heaven fell unto the earth, even as a fig tree casteth her untimely figs, when she is shaken of a mighty wind. And the heaven departed as a scroll when it is rolled together; and every mountain and island were moved out of their places. And the kings of the earth, and the great men, and the rich men, and the chief captains, and the mighty men, and every bondman, and every free man, hid themselves in the dens and in the rocks of the mountains; And said to the mountains and rocks, Fall on us, and hide us from the face of him that sitteth on the throne, and from the wrath of the Lamb: For the great day of his wrath is come; and who shall be able to stand?

  • 骐骐
  • 骥骥
  • 驰驰
  • 骋骋

Emacs进行有趣的日期计算

https://flandrew.srht.site/listful/when-is-christmas-on-a-saturday.html

喜欢这个的外国朋友也不少。

我也算过不少,比如哪天过年武大郎哪天死的

张怀民哪天被苏轼叫起来夜游的?

元丰六年十月十二日夜,公元1083年,当时还没有格里高利历,可以换算成外推的格里高利历,是(当时并不存在的)1083年11月29日,或者说是儒略历1083年11月23日。

1
2
3
4
5
6
7
(setq absolute (calendar-chinese-to-absolute (list 63 0 10 12)))
(setq gregorian (calendar-gregorian-from-absolute absolute))
(format "格里高利历:%d-%d-%d"
(nth 2 gregorian) (nth 0 gregorian) (nth 1 gregorian))
(setq julian (calendar-julian-from-absolute absolute))
(format "儒略历:%d-%d-%d"
(nth 2 julian) (nth 0 julian) (nth 1 julian))

我试了试讯飞的星火AI模型,给的答案是网上搜的罢,说是11月24日。我还是信Emacs里的计算。

1, 2, 3, 4-丁四醇四硝酸酯的合成、表征和性能

赤藻糖醇硝化可以做炸药。

UMA

MPTP (1-甲基-4-苯基-1,2,3,6-四氢吡啶)


The unit is in Angstrom.

Quite simple tool powered by 3Dmol.js. Auto-detects bond formation using bond length database from pymatgen.

Feature requests are welcome by submitting an issue at https://github.com/liwt31/liwt31.github.io.

用UMA优化的。结构上和百草枯很像呵。

COCA语料库

2025年访问量统计

UV 291460,PV 556326。

🔲 ☆

近思录 2025-11-11

日本汉字的汉语读音规范

一直没有正式实施。我琢磨,一者,涉及国际关系,太敏感;二者,这是个非常小的点,标准化也影响太小。总之就是搁置了。

WSLg设置分辨率

1
2
export GDK_SCALE=2
export GDK_DPI_SCALE=0.75

不过,比较好的方法是在/usr/lib/systemd/user/emacs.service里设置

1
2
Environment="GDK_SCALE=2"
Environment="GDK_DPI_SCALE=0.75"

Emacs的Abbrev模式支持插入内容后执行函数

https://www.rahuljuliato.com/posts/abbrev-mode

可以实现很多高级应用。

29万UV达成

As of 2025-11-29.

55万PV达成

As of 2025-11-29.

🔲 ☆

近思录 2025-10-18

汪林朋(1968年–2025年7月27日)

跳楼收场的家装巨头在近几年一直推动AI等新技术在家装行业的应用,试图转型自救。然而,覆巢之下,安有完卵,行业的下行最终逼死了他。

R.I.P.

https://www.youtube.com/watch?v=es8l8Ecv9-M

杨振宁(1922年10月1日—2025年10月18日)

R.I.P.

scrutiny

Ymacs

运行在浏览器里的Emacs。可惜的是对移动设备支持不好,而且由于浏览器的限制,很多快捷键,比如C-n,不支持。

🔲 ☆

我如何深度整合Emacs

核心理念在于:若能掌握这款“终身编辑器”,我渴望创造的程序便能在近乎零阻力的环境中诞生,实现其他工具无法企及的创作速度。这如同砍树前对斧头的终极打磨。
元素周期表抱枕
🔲 ☆

Emacs启动加速篇

Emacs虽然强大,但是其作为一个伪装成编辑器的”操作系统”,在启动耗时方面是广大Emacs用户的痛点。虽然现在用上Doom Emacs,比起Spacemacs启动要快了不少。在公司开发用的MBP上(内存16GB,i7 6核CPU, 500GB SSD),单次启动加载完所有插件大概需要4秒多的时间。

恰巧最近又买了个德国的高配置VPS,访问速度还不错。于是心血来潮,在上面折腾了开发环境,还装了Doom Emacs,打算实现用任何一台低配置的瘦客户端SSH登录到云端VPS, (或者在Chrome中用SSH扩展连接过去) 达成用Emacs在 “云端” 写代码的一个小目标……

其实,这样的目标已经实现了,美中不足的地方在于: 由于是SSH连接过去,每次退出SSH会话的时候还得退出Emacs,下次启动Emacs又得花掉人生中宝贵的四秒钟时间,实在是不甘心。正好,Emacs从26.1开始,已经支持使用systemd管理Emacs服务端Daemon的功能。这样一来,我们只需要在VPS上后台使用Systemd启动一个Emacs的服务端,每次SSH登录的时候,用Emacs客户端启动,就能实现秒开Emacs的效果了。

在Emacs安装完成后,会在 /usr/lib/systemd/user 中创建一个Systemd的配置文件,名为: emacs.service。跟其他的Systemd服务一样,我们只需启动这个服务即可。

启动并运行Emacs服务端程序:

1
systemctl --user start emacs.service

为了下次随机器启动时,自动启动Emacs服务端程序,我们还可以运行:

1
systemctl --user enable emacs.service

随后,查看Emacs服务运行情况:

https://xiaozhou.net/pics/emacs/5.png

服务端启动妥当,最后,只需要在SSH登录后,运行Emacs客户端程序,即可秒开Emacs了,又为人生中省下了不少个4秒钟:

1
emacsclient -t

https://xiaozhou.net/pics/emacs/4.png

❌