Forwarded from 双倍多多🧶 | 冰𝐮𝐭𝐢𝐥𝐬
Those who give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety.
-- Benjamin Franklin
#rust 几天前想出来的技巧,发现被人几个月前已经抢先用上了!强行给一个普通 Rust 函数加
https://github.com/rust-lang/compiler-builtins/commit/c4966f9b0d4323183933e98dea4d0a77f52c0e0a
extern "C" 来当 nounwind 标记用。https://github.com/rust-lang/compiler-builtins/commit/c4966f9b0d4323183933e98dea4d0a77f52c0e0a
GitHub
Avoid inlining `floor` into `rem_pio2` · rust-lang/compiler-builtins@c4966f9
Possible workaround for
https://github.com/rust-lang/compiler-builtins/pull/976#issuecomment-3085530354
Inline assembly in the body of a function currently causes the compiler
to consider that fun...
https://github.com/rust-lang/compiler-builtins/pull/976#issuecomment-3085530354
Inline assembly in the body of a function currently causes the compiler
to consider that fun...
🤡下午看人直播打以撒,然后把人家看死了,断了几天的连胜记录;晚上闲来无事又点开一个以撒直播 tlost streak ,然后也被我看死了,说前几天连胜状态都很好就今天状态太差了🤡🤡
Forwarded from Kan-Ru Chen
Introduce Rust [to git] and announce that it will become mandatorty [from Git 3.0]
https://lore.kernel.org/git/20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#me5e72877ad604df143b52482b248e13ee87497f4
https://lore.kernel.org/git/20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#me5e72877ad604df143b52482b248e13ee87497f4
https://reasonablypolymorphic.com/blog/protos-are-wrong/
但是很不幸,七年后还是没什么好的代替品。有几个类似场景的竞品,但似乎都抄袭了“业界标准设计”而故意保留了一部分味道,让它们尝起来就知道它是 protobuf 类似物。
但是很不幸,七年后还是没什么好的代替品。有几个类似场景的竞品,但似乎都抄袭了“业界标准设计”而故意保留了一部分味道,让它们尝起来就知道它是 protobuf 类似物。
Forwarded from bupt.moe
#security
NPM
更新:
多个npm包的作者 Qix- 被钓鱼,npm账号失陷。黑客上传了多个有恶意代码的npm包。具体包列表可以在以下链接查看:https://github.com/debug-js/debug/issues/1005#issuecomment-3266868187
编者注:考虑到黑客动手的速度之快,可以认为是一次定向的钓鱼攻击。热门包的维护者应该考虑从TOTP转到FIDO2。
NPM
debug 包出现大新闻,任何安装/运行了这个包的电脑均应视为已失陷。更新:
多个npm包的作者 Qix- 被钓鱼,npm账号失陷。黑客上传了多个有恶意代码的npm包。具体包列表可以在以下链接查看:https://github.com/debug-js/debug/issues/1005#issuecomment-3266868187
编者注:考虑到黑客动手的速度之快,可以认为是一次定向的钓鱼攻击。热门包的维护者应该考虑从TOTP转到FIDO2。
Forwarded from Hacker News
Germany is not supporting ChatControl – blocking minority secured (🔥 Score: 192+ in 40 minutes)
Link: https://readhacker.news/s/6Bsg8
Comments: https://readhacker.news/c/6Bsg8
Link: https://readhacker.news/s/6Bsg8
Comments: https://readhacker.news/c/6Bsg8
digitalcourage.social
Patrick Breyer (@echo_pbreyer@digitalcourage.social)
Attached: 1 image
🇪🇺YES: Germany is not supporting the EU's #ChatControl bill as proposed!
The blocking minority needed to stop this illegal mass surveillance plan seems secured (for now). ✅
Opposition now also from LU🇱🇺 & SK🇸🇰!
#KeepUpTheFight https…
🇪🇺YES: Germany is not supporting the EU's #ChatControl bill as proposed!
The blocking minority needed to stop this illegal mass surveillance plan seems secured (for now). ✅
Opposition now also from LU🇱🇺 & SK🇸🇰!
#KeepUpTheFight https…
Forwarded from 椒盐豆豉剪报
English-centric icons
一篇探讨 icon 英文导向的文章。比如 thread 这个在英文语境常见的概念经常用 🧵 来表现,但放到中文翻译比如 discord 的“子区”就很 confusing。
以及 #TIL intellij 里的 external library icon 那三个 bar 是侧过来的书……
非中文原生 app 不用中文界面的我即便是双语也从未想到过许多 icon 的英语导向会产生的疑问,甚至平时自己发工作消息也会 xxx in 🧵。可以扩展视野的博客真是好博客!
#indieblog
一篇探讨 icon 英文导向的文章。比如 thread 这个在英文语境常见的概念经常用 🧵 来表现,但放到中文翻译比如 discord 的“子区”就很 confusing。
以及 #TIL intellij 里的 external library icon 那三个 bar 是侧过来的书……
非中文原生 app 不用中文界面的我即便是双语也从未想到过许多 icon 的英语导向会产生的疑问,甚至平时自己发工作消息也会 xxx in 🧵。可以扩展视野的博客真是好博客!
#indieblog
www.geedea.pro
English-Centric Icons
As a bilingual and someone who works on a computer for like 8 hours a day, I’ve made some observations on various icon designs. One specific type of icon I noticed recently caught my attention and made me wonder: Is this good design or not?
/g/'s Tech Memes
Photo
我倒觉得没什么问题。要交钱游戏是应当消费者主导的,不交钱的游戏应当是生产者主导的。软件也是一样。
不要忘了 steam 是个盈利公司。
不要忘了 steam 是个盈利公司。
Forwarded from 依云的技术资源分享
max-inden.de
Fast UDP I/O for Firefox in Rust
Motivation
Around 20% of Firefox’s HTTP traffic today uses HTTP/3, which runs over QUIC, which in turn runs over UDP.
This translates to substantial UDP I/O activity.
Firefox uses NSPR for most of its network I/O.
When it comes to UDP I/O, NSPR only offers…
Around 20% of Firefox’s HTTP traffic today uses HTTP/3, which runs over QUIC, which in turn runs over UDP.
This translates to substantial UDP I/O activity.
Firefox uses NSPR for most of its network I/O.
When it comes to UDP I/O, NSPR only offers…