边界条件之场
小米 13 有官方 LineageOS 了!! https://wiki.lineageos.org/devices/fuxi/ #phone #xiaomi
这周收到了一台家人淘汰*下来的 iPhone, 使得我考虑了一下主力机转果的可能。鉴于小米的脑残系统我实在无法忍受,封闭但理智正常的 iOS 竟显得十分有吸引力。紧接着就发现 xiaomi 13 (fuxi) 有官方 lineage 了 😌
*: 故障紧急换机,后来旧机拿去修好了就给我了
*: 故障紧急换机,后来旧机拿去修好了就给我了
Silksong in 2 weeks?? WHAT!?!
https://www.youtube.com/watch?v=6XGeJwsUP9c
https://www.youtube.com/watch?v=6XGeJwsUP9c
YouTube
Hollow Knight: Silksong - Release Trailer
On September 4, ascend to the peak of a haunted kingdom in Hollow Knight: Silksong!
Play day one on Xbox Game Pass!
The game will be available for purchase on Steam, Nintendo Switch, Nintendo Switch 2, Xbox, Sony PlayStation 4, Sony PlayStation 5, and DRM…
Play day one on Xbox Game Pass!
The game will be available for purchase on Steam, Nintendo Switch, Nintendo Switch 2, Xbox, Sony PlayStation 4, Sony PlayStation 5, and DRM…
Android 手动指定 NTP 服务器: 在 shell (如 adb shell) 中执行
#tips #android
我的每一台 LineageOS 手机都无法自动同步时间,今天查了一下,AOSP 默认使用的 NTP 服务器是
网络上有人提到 "settings global ntp_server" 这个设置项,但无论是 google 官方文档[2]还是
[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
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
微软给 rust 做的 crate
声称
又由于微软没给这两个 crate 写任何文档,仍然得去看 c++ 的 win32 文档,而
这就导致
#microsoft #rust
windows 比 windows-sys 难用多了……声称
windows 更 rust idiomatic, 实际上 api 仍然是一坨屎,毕竟 win32 的基础摆在那里,除非重做抽象否则不可能好到哪里去。又由于微软没给这两个 crate 写任何文档,仍然得去看 c++ 的 win32 文档,而
windows 由于微软在 "idiomatic" 上的失败尝试, api 与 c++ 的有些许出入。这就导致
windows 极其难用,需要先看 c++ 那边的文档,然后摸索微软 "idiomatic" 改动后到底怎么用。还不如直接用从 c++ api 忠实翻译的 windows-sys#microsoft #rust
👍1
const trait 终于要来了 😌
https://github.com/rust-lang/rust-project-goals/issues/106
Re-constification of libstd has commenced
https://github.com/rust-lang/rust-project-goals/issues/106
GitHub
rust-lang/rust-project-goals
Rust Project Goals tracker. Contribute to rust-lang/rust-project-goals development by creating an account on GitHub.
边界条件之场
小米 13 有官方 LineageOS 了!! https://wiki.lineageos.org/devices/fuxi/ #phone #xiaomi
👀 下一集得 2026?
https://www.youtube.com/watch?v=MCAdbUaMlAE
https://www.youtube.com/watch?v=MCAdbUaMlAE
YouTube
KNIGHTS OF GUINEVERE: PILOT
Knights of Guinevere is a psychological thriller that welcomes you to a planet-wide theme park in the clouds!… And the shadows below, where a broken Princess Android is two dreamers’ tickets to better lives, or the end of them. :3 💙
HELP US GREENLIGHT A FULL…
HELP US GREENLIGHT A FULL…
👀 the rust book 去年十月新加了一章介绍 async
https://github.com/rust-lang/book/pull/4037
https://github.com/rust-lang/book/pull/4037
GitHub
Chapter 17: Async and Await by chriskrycho · Pull Request #4037 · rust-lang/book
A working draft of a new chapter on async and await! If you have been invited to give comments, please do so! If you’re not someone we have actively invited, we kindly ask you to hold off: although...
audacity 要还技术债了 🤔
https://www.youtube.com/watch?v=QYM3TWf_G38
https://www.youtube.com/watch?v=QYM3TWf_G38
YouTube
How We're Redesigning Audacity For The Future
This video digs into the research and design that went into gradually transforming Audacity 3 - a free and open source audio editor and production app - and how we've built on that work to develop Audacity 4.
SUPPORT
Help me become a full-time creator so…
SUPPORT
Help me become a full-time creator so…
咦, kde 什么时候有第一方 global menu 了 👀
https://www.youtube.com/watch?v=prG9xFkvlNg
(ps: kde 文档真不错! + up 主识字! 😂)
https://www.youtube.com/watch?v=prG9xFkvlNg
(ps: kde 文档真不错! + up 主识字! 😂)
YouTube
I Tried Designing My FIRST Linux UI
Learn for Free on Brilliant: https://brilliant.org/Juxtopposed and get 20% off your annual Premium subscription!
---
In this video, I'm exploring my first Linux setup (EndeavourOS) while theming KDE Plasma 6. Hope you enjoy!
Get My Theme: https://githu…
---
In this video, I'm exploring my first Linux setup (EndeavourOS) while theming KDE Plasma 6. Hope you enjoy!
Get My Theme: https://githu…