Coelacanthus

joined 2 years ago
[–] Coelacanthus@lemmy.kde.social 15 points 3 weeks ago* (last edited 3 weeks ago)

In anicent China, the writer and statesman Su Xun (蘇洵,苏洵) wrote a article named “On the Six Fallen States” (六國論, 六国论) about why the six states (韓、趙、魏、楚、燕、齊) were conquered by Qin (秦) during the Warring States period (戰國時代,战国时期)? The following is an excerpt from the relevant paragraph.

今日割五城,明日割十城,然后得一夕安寝。
One day five cities could be ceded, and on the next day, another ten cities could be surrendered just so that a certain person would have a single night of good sleep.
起视四境,而秦兵又至矣。
But in waking up and looking around, Qin troops again were approaching.
然则诸侯之地有限,暴秦之欲无厌,奉之弥繁,侵之愈急。
However, there was a limit to the available land of the lords and callous Qin’s avarice could never be satiated. The more there were giveaways, the more earnest Qin’s aggression would become.
故不战而强弱胜负已判矣。
So, even before going into battle, the odds-on-favorite and the most likely victor had already been decided.
至于颠覆,理固宜然。
As to the ultimate toppling, that was a forgone conclusion.
古人云:“以地事秦,犹抱薪救火,薪不尽,火不灭。”
Ancient people said: “Using land to serve Qin State would be like carrying firewood to put out fire. As long as there’s firewood left, the fire would not be extinguished.”

In ancient, the six states use land to serve Qin state; in modern, the people use money to serve the companies provide subscription. The more people who pay for a subscription, the more power they have over price increases and control over your data.

If some applications require GMS, use microG instead.

https://microg.org/

[–] Coelacanthus@lemmy.kde.social 2 points 3 weeks ago* (last edited 3 weeks ago)

Will it work well with existed IME like Fcitx5? Or I can choose only one of them?

I see Qt Virtual Keyboard has their own InputMethod implementations, but I think it's not a good idea to re-invent a new IME when there is no obvious advantage, because InputMethod is not a simple thing in some languages like Chinese and Japanese.

For example, libime, the core algorithm library of fcitx5-chinese-addons uses 47k SLOC to implement a good pinyin input method algorithm, even not count the Trigram language model, which is around 30MiB.

As a comparison, the pinyin algorithm of Qt Virtual Keyboard (it seems come from deprecated AOSP's PinyinIME) uses only 8k SLOC. And PinyinIME was give up by AOSP since 2014, it never updates since that time (and no algorithm update since 2009). At 2018, Qt pull it into Qt Virtual Keyboard and never do actual algorithm optimization. So it has fallen away from the time.

If you can have a swapfile or swap partition, zswap will have much better experience than zram. And since Linux 6.8, zswap can disable writeback entirely so there will be nothing written to disk, just need a swapfile/swap partition to make kernel happy.
https://aur.archlinux.org/packages/zswap-disable-writeback

[–] Coelacanthus@lemmy.kde.social 2 points 3 weeks ago (1 children)

I'm looking for a Android SSH application with FIDO2 *-sk support. But I found none of them are open source and non-subscription. Termux is open source, it's good, but their libfido2 is unpatched so can't communicate with security key via USB or NFC on Android. ConnectBot is also great, but it lacks maintenance and doesn't support *-sk as well.

Iosevka, of course.

and even without it, you'll get 150mA @ 5V by default out of the USB 3 host upstream and up to 900mA with some pretty basic USB negotiation in a protocol that dates from USB 1.0

That's wrong. With USB Type-C, you can get the power up to 3A @ 5V with just two 5.1kΩ resistor on CC pins.

It should be possible to switch to NCM by just flip a switch fron 0 (RNDIS) to 1 (NCM) via RRO (Runtime Resource Overlay), but adding new overlay require you have right to modify system image.

https://cs.android.com/android/platform/superproject/main/+/main:packages/modules/Connectivity/Tethering/res/values/overlayable.xml;l=27

If he/she want to compare performance, they should do some benchmark instead. If he/she want to compare efficiency, they should count the power cost in different situations. Just see the GPU/CPU usage is meaningless from all views.

You need to add -f argument to strace to follow fork otherwise you can only see activities happened in main thread.

view more: ‹ prev next ›