边界条件之场
66 subscribers
680 photos
4 videos
10 files
1.03K links
Do you hear the sirens sing?

main: @cvf_cha
group: @cvf_gro
forwards: @cvf_for
Download Telegram
Forwarded from Laoself 🫈
Web是個特別不適合做custom UI的平臺,因為web API暴露的底層渲染API遠遠不夠用來開發high performance custom UI。在web上要做高性能UI,你只有兩條路:一條用瀏覽器提供的能力,比如能用CSS就用CSS,能用native scrolling就不自己造。另一條路就是純用canvas+GL畫,但是text interaction基本上完蛋。
GitHub:我雖然重文本不能自己canvas,但是我可以儘可能多用DOM,儘可能自己override瀏覽器的特性,雖然我完全可以直接serve HTML但是我偏要做client side routing,偏要去自己實作DOM-based text file rendering。
KeePass on Linux with .NET Mono
虽然样式非常丑,但竟然直接从软件源装上就能用 (初次安装后立即尝试打开会静默失败,重启一次后正常。估计是 Mono 的问题)
边界条件之场
小米 13 有官方 LineageOS 了!! https://wiki.lineageos.org/devices/fuxi/ #phone #xiaomi
这周收到了一台家人淘汰*下来的 iPhone, 使得我考虑了一下主力机转果的可能。鉴于小米的脑残系统我实在无法忍受,封闭但理智正常的 iOS 竟显得十分有吸引力。紧接着就发现 xiaomi 13 (fuxi) 有官方 lineage 了 😌

*: 故障紧急换机,后来旧机拿去修好了就给我了
边界条件之场
👀
THE MAGIC AND THE MISERY
MADNESS AND THE MYSTERY
OH, WHAT HAS IT DONE TO ME?
E.VERY.BODY SCREAM
现在 tg +86 账号登录要求提供邮箱?
存在其它已登录 session 的情况下仍然要求提供邮箱,而不是往其它 session 发验证码??
邮箱不接受 outlook,但是不明说,只是报错 EMAIL_NOT_ALLOWED???
#wtf #telegram 销号了
Android 手动指定 NTP 服务器: 在 shell (如 adb shell) 中执行
settings put global ntp_server <server name>

<server name> 可用 pool.ntp.org, 具体格式见下文。
#tips #android

我的每一台 LineageOS 手机都无法自动同步时间,今天查了一下,AOSP 默认使用的 NTP 服务器是 time.android.com [1],而它在中国无法正常连接 (狗粪网? #trash #china #gfw)。
网络上有人提到 "settings global ntp_server" 这个设置项,但无论是 google 官方文档[2]还是 settings list global 指令中都看不到这个 ntp_server 条目。于是去 cs.android.com 搜索 settings.global.ntp_server, 终于找到了具体定义[3]:
/**
* SNTP client config: The preferred NTP server. This setting overrides the static
* config.xml configuration when present and valid.
*
* <p>The legacy form is the NTP server name as a string.
* <p>Newer code should use the form: ntp://{server name}[:port] (the standard NTP port,
* 123, is used if not specified).
*
* <p>The settings value can consist of a pipe ("|") delimited list of server names or
* ntp:// URIs. When present, all server name / ntp:// URIs must be valid or the entire
* setting value will be ignored and Android's xml config will be used.
*
* <p>For example, the following examples are valid:
* <ul>
* <li>"time.android.com"</li>
* <li>"ntp://time.android.com"</li>
* <li>"ntp://time.android.com:123"</li>
* <li>"time.android.com|time.other"</li>
* <li>"ntp://time.android.com:123|ntp://time.other:123"</li>
* <li>"time.android.com|ntp://time.other:123"</li>
* </ul>
*
* @hide
*/
@Readable
public static final String NTP_SERVER = "ntp_server";


[1]: https://source.android.com/docs/core/connect/time/network-time-detection#servers
[2]: https://developer.android.com/reference/android/provider/Settings.Global
[3]: https://cs.android.com/android/platform/superproject/+/android-latest-release:frameworks/base/core/java/android/provider/Settings.java;l=14449