边界条件之场
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 Project X Channel
既然有人猜到了,没错,就是“迅雷下载支持”,这个插件迅雷会自动安装,装上了你就有福了,它会自动把你当前访问的 URL 以明文 HTTP 的形式传到它的服务器,远程有是否收集的开关,它开的时候才会被抓到,两年前我查看被代理数据时意外发现的,当时我连它插件代码都分析完了,远程开关的页面都放 webarchive 上了,yuhan6665 连文章都写好了,所以我两年前就把整个迅雷给卸载了

现在还是不是这样不知道,感兴趣的自己去分析下现在的插件代码
Forwarded from FickoCollection
…most evident in the slow decay of substantive content in the enormously influential media, the 30 second sound bites (now down to 10 seconds or less), lowest common denominator programming, credulous presentations on pseudoscience and superstition, but especially a kind of celebration of ignorance…


——Carl Sagan, The Demon-Haunted World, 1995

「我担心,以后在重要的媒体中,实质性内容将逐渐衰落,30秒的片段会流行,节目只具有最低的共识,充斥着对伪科学和迷信的盲目介绍,尤其还有一种对无知的庆祝。」——卡尔·萨根,《魔鬼出没的世界》,1995年
Google Contacts 里的中文联系人在英文系统下是癫痫排序,部分显示为 [名][空格][姓], 部分显示为 [姓][名], 皆为乱序。
查了一下,解决方案其实很简单,只需要把中文添加到系统语言列表就行了: https://android.stackexchange.com/a/251010
#tips #android

Pixel 3 (LineageOS) 验证有效, Settings > System > Languages > System Languages > Add a language ,添加中文为第二语言后重启,联系人 app 就能够正常排序了。(不仅限于 Google Contacts, 系统自带联系人 app 也受此影响。实际上系统自带联系人还比 GContacts 正常得多,GContacts 的名姓顺序应该是有 bug 不完全受设置项控制)

不过,小米那种这砍一刀那砍一刀的垃圾系统 HyperOS 想添加系统语言就没那么容易了,语言列表界面直接被阉割,只能单选系统第一语言。需要通过第三方工具或者其它手段写入设置键值。 #trash #xiaomi
比如通过 shell (adb shell):
- 执行 settings get system system_locales 获取当前语言列表,假设返回值为 en-GB
- 添加 简体中文-中国 zh-Hans-CN 到末尾: settings put system system_locales 'en-GB,zh-Hans-CN'
Fennec (Firefox) 在小米的垃圾 HyperOS 上无论如何都留不住后台,切到其它 app 随便操作一下再切回来必定重新加载页面。导致我所有通过 Fennec 安装的 PWA 体验极差。 #trash #xiaomi

试过了关电池优化、多任务列表加锁,没有改善。
另一台内存仅 4G 的 LineageOS 机没有类似问题,太怀念类原生了 😢
啊?? #trash #wechat #weixin #china
为什么微信每一个看似能改善用户体验的功能,最终都会以诡异、扭曲、极其脑残的方式实现?
这“备份”机制分明是防着用户恢复,而不是防止被第三方读取 🤬
https://sspai.com/post/100810
💩2
microsoft 推 passwordless 推魔怔了吧,ip 不干净直接禁止用密码登录 🤬
Please retry with a different device, use a VPN, or other authentication method to sign in. For more details, please see https://go.microsoft.com/fwlink/?linkid=2317517

我的账户是开了 totp 2fa 的,macroshit 根本不问 2fa,输完密码直接跳转错误页 #trash #microsoft
kde 要支持圆角窗口了。不管怎么说,肯定比之前的 底边直角 + 顶边小圆角 要好得多 😂

我之前很想要四边直角,主要原因是 window tiling 的时候圆角会露出壁纸的几个像素,强迫症看了很难受。从这次的 PR 信息来看,未来应该可以比较容易地调整任意边角的弧度,不排除 kde 直接暴露设置项让用户统一调整四角弧度的可能 🤞
the proposed APIs allow rounding all four corners of the decorated window

The window decoration decides how much to round the corners and what corners should be rounded.

https://blogs.kde.org/2025/07/19/this-week-in-plasma-rounded-bottom-corners/
#TIL #rust 同一个 scope 下是可以有东西同名的,只要属于不同的 namespace 。

// Foo introduces a type in the type namespace and a constructor in the value
// namespace.
struct Foo(u32);

// The `Foo` macro is declared in the macro namespace.
macro_rules! Foo {
() => {};
}

// `Foo` in the `f` parameter type refers to `Foo` in the type namespace.
// `'Foo` introduces a new lifetime in the lifetime namespace.
fn example<'Foo>(f: Foo) {
// `Foo` refers to the `Foo` constructor in the value namespace.
let ctor = Foo;
// `Foo` refers to the `Foo` macro in the macro namespace.
Foo!{}
// `'Foo` introduces a label in the label namespace.
'Foo: loop {
// `'Foo` refers to the `'Foo` lifetime parameter, and `Foo`
// refers to the type namespace.
let x: &'Foo Foo;
// `'Foo` refers to the label.
break 'Foo;
}
}

https://doc.rust-lang.org/reference/names/namespaces.html

iced.rs 大量利用了这个行为,比如 iced::widget:: 路径下同时有 fn container (constructor) 和 mod container (module with helpers), import 语句只用写
use iced::widget::container
而不是
use iced::widget::{container, Container}
或者
use iced::widget::container::{self, Container}
边界条件之场
#TIL #rust 同一个 scope 下是可以有东西同名的,只要属于不同的 namespace 。 // Foo introduces a type in the type namespace and a constructor in the value // namespace. struct Foo(u32); // The `Foo` macro is declared in the macro namespace. macro_rules! Foo { () => {}; } //…
也可以一定程度上控制 import 语句的行为:

use iced::widget::container;

引入 widget 下所有叫 container 的条目 (module, function, macro, ...)

use iced::widget::container::{self};

只引入 widget::container 这个 module。

比如这块代码会有命名冲突:
use iced::widget::button;
fn button() {}

而这块就没问题:
use iced::widget::button::{self};
fn button() {}


#rust