树莓派 4B 电源线坏了,检测发现是充电头坏了,随便换了一个闲置的手机充电头。结果开机后安装软件总是卡在 20% 然后终端卡死,tmux session 也会丢失。这种问题相当奇怪,丢给 Google Gemini 它提示我让我检查日志是否有 under-voltage 字样,结果果然发现了 “[ 30.367688] hwmon hwmon1: Undervoltage detected!” 错误。于是换了一个小米充电头,标定输出 5V/3A 再开机安装,在 20% 顿了一下还是顺利过去了。
原来电源电压不足是能正常开机的,但是在负载上升时候会出现奇怪的中断现象,这种 BUG 很难联想到电源问题。无用的知识又增加了。
Using "Watchtower" to monitor and automatically upgrade Docker images is both easy and elegant. Say goodbye to complicated CRON jobs and frustrating permission issues, simply run it as a container, and everything works seamlessly.
Why the URL is a great place to store state in React
https://iamsahaj.xyz/blog/react-state-in-the-url/
Discussions: https://discu.eu/q/https://iamsahaj.xyz/blog/react-state-in-the-url/