Posted in Translate

丘吉尔名言翻译一则:“成功不是完结,失败不是完蛋”

Success is not final; failure is not fatal: It is the courage to continue that counts.

成功不是完结,失败不是完蛋,重要的是继续下去的勇气。

这里要注意final和fatal都是f开头的词汇,所以用结和蛋来翻译是很好的处理方法。我认为现在网络上通行的版本都没有翻出这个关键点。

至于后面的部分,网络上的通行翻译就更离谱了,离原意差太多,如“只有勇气才是永恒”。

“something counts”表示什么东西很重要、很有价值,所以我们只需要直译出来即可,译成其他意思就偏题了。

“courage to continue”也是关键点,当时丘吉尔说这句话的时候是为了鼓舞英国抗争到底的士气而不是同德国和谈,所以必须要点出“继续下去”这个意思。

我觉得这句话十分重要也十分应景,但是鉴于网络流传的版本并未真正传达丘吉尔的意思,所以写了这篇文章。

Posted in Network

光猫修改IPv6的方法和各种注意事项

本文着重讲解了如何进入光猫超级管理员后台界面修改光猫IPv6连接,以及各种可能遇到的问题。本文以文字为主,需要自行搜索其他教程图片进行参考。

Continue reading “光猫修改IPv6的方法和各种注意事项”
Posted in Linux

How to solve mouse wheel scrolling not working on Linux

Recently, I noticed a strange bug: sometimes mouse wheel scrolling is not working on Linux. Some interfaces are even worse, it can’t scroll at all. But if scrolling slowly, it would work, just still tend to be stuck.

I tried many solutions, and finally I decided to change system-wide wheel scrolling speed. Unfortunately, most of Linux desktop environment doesn’t have any settings to adjust mouse wheel scrolling speed. So we need a tinny tool to solve the problem. That is imwheel.

*** This solution is tested fine on Debian 11. ***

Continue reading “How to solve mouse wheel scrolling not working on Linux”
Posted in Linux

VirtualBox settings for Linux Guest

First, set Paravisualization Interface as KVM.

Make sure you allocate enough CPU and RAM. If you’re running Desktop Environment, you should allocate at least 2G RAM. 4G RAM recommended.

If you meet any graphic problems, turn off 3D Acceleration. It will solve most graphic problems.

If you find disk I/O is very slow, go to Storage setting page, click “Controller: SATA”, then check “Use Host I/O Cache”. You will find your Virtual Machine run fast beyond your imagination, even thought the disk is on HDD, not SSD. So you should enable this before installing Operating System, it will speed up your installation. (VirtualBox disable this by default)

Set sound hardware as AC 97, not Intel HD, to get best compatibility. Otherwise, you will meet some strange problems while playing sound, especially laggy or stuck.

Finally, don’t forget to install the VirtualBox Guest Additions, it will give you full power. Instructions here: https://www.virtualbox.org/manual/ch04.html#additions-linux

Last thing last, remember Snapshot will record the hardware settings too. After restoring snapshot, you should set your hardware settings again.

Posted in Linux, Python

If you run Pygame too slowly in VirtualBox or VMware, just change a setting to work fast

Try to turn off 3D Acceleration in VirtualBox or VMware.

VirtualBox settings
VMware settings

When you turn off 3D Acceleration, CPU will load much heavier instead of GPU so that you should increase your CPU power (increase your Virtual Machine CPU number, or upgrade your physical machine CPU). Though CPU will load heavier than before, that’s worthy because it only takes heavy load while running Pygame. While using other applications, CPU behaves as usual.

The system will pop this warning notification, just ignore it.

For VirtualBox users, maybe you find after switching VMSVGA to VBoxVGA or VBoxSVGA, it works more normally. That is because VBoxVGA and VBoxSVGA won’t enable 3D Acceleration. I recommend using VMSVGA by default.

So when you face the graphic problem, don’t waste your time like me, just turn off 3D Acceleration.


If you meet other problems while using VirtualBox for Linux Guest, see this post: https://jaylinwu.wordpress.com/2022/01/03/virtualbox-settings-for-linux-guest/

Posted in Linux

“Processing triggers for man-db” takes too much CPU time or disk I/O

Recently I found a problem: while apt upgrade, it’s always being stuck at “Processing triggers for man-db”. In fact, the process is still running, just too slowly.

I guess triggering man-db will take too much CPU time to finish so that it looks like being stuck. I didn’t monitor the disk I/O status, I guess it needs a number of disk I/O actions. If you’re using HDD, that would be slow.

Maybe there’s a bug. As far as I know, man-db problem exists in every Debian based Linux distribution, including Debian and Ubuntu. The earliest report I see is in 2012, and Debian 11, the latest stable Debian version, also has this problem.

Because triggering man-db is nearly the last step of upgrade, it seems like organizing and concluding something. It doesn’t upgrade man-db package itself, so using apt-mark hold man-db command is useless.

Some tutorials say that remove the man-db package or delete the cache folder of man-db, it may cause other problems.

So my suggestion is that make sure your machine has high enough CPU calculating power and disk I/O amount.

Posted in Hardware

RAM Overclock: Frequency, Voltage, Temperature, CAS

Higher Frequence requires higher Voltage, or you will find the PC cannot boot or the applications will close automatically, especially games.

But higher Voltage will cause higher Temperature. If the Temperature is too high, it will cause errors in RAM, and applications will crash, games will freeze. Sometimes the PC will shutdown.

In summer, the indoor Temperature is higher, we must watch out.

If you don’t install extras fans to ventilate the air from the rear to the front, you should not set Frequency and Voltage too high.

So you should make sure the balance between Frequency and Voltage. You can look for some guides about your RAM models online. But you must set and test by yourself.

While playing games, almost every parts of PC works at best and the Temperature is up to its highest. So don’t trust those posts which only works as normal conditions, unless you don’t play any 3A games. The best way to test RAM is playing games, especially 3A or MMO, like Dota2 and CSGO.

CAS is positive correlation to Frequence, so don’t set CAS too low. But the lower CAS, the lower latency. It’s up to you, but most DDR4 RAMs can only get 16 as CAS at best.

Posted in History

中华上古传说与周文明的暧昧

虽然从古至今中国人一直信奉黄帝、尧、舜等上古圣贤,但是根据历史资料考证得知,这些传说的明文记载最早只出现于春秋、战国时期,即周朝时期。尽管有人辩解说上古时期没有文字记载,但是有记载的文字也不至于晚到周朝时期,毕竟商代的甲骨文已经是经过考古证实的铁证。

Continue reading “中华上古传说与周文明的暧昧”
Posted in Comment

货拉拉跳车案宣判后,我的心情已经无法用语言来表达

货拉拉跳车事件今日宣判,司机周阳春被认定犯过失致人死亡罪,判处有期徒刑一年,缓刑一年。

虽然看起来司机不用坐牢,但是从此有了案底,其家人要被连坐,几代人无法通过政审。在中国,连送外卖都要经过无犯罪记录审查方可注册外卖员账号,等于该司机从此连外卖都送不得。司机在看守所又呆了半年,其损失当然也不用赔偿,因为他被判有罪。

可是问题的重点在于,司机到底犯了什么罪?

Continue reading “货拉拉跳车案宣判后,我的心情已经无法用语言来表达”