Forwarded from Lobste.rs
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…
Forwarded from Hacker News (yahnc_bot)
Introduction to Multi-Armed Bandits (2019) https://arxiv.org/abs/1904.07272
arXiv.org
Introduction to Multi-Armed Bandits
Multi-armed bandits a simple but very powerful framework for algorithms that make decisions over time under uncertainty. An enormous body of work has accumulated over the years, covered in several...
Forwarded from Hacker News (yahnc_bot)
Diff Algorithms https://flo.znkr.io/diff/
flo.znkr.io
Diff Algorithms - flo.znkr.io
How I overcame copying and modifying my own diff library from project to project by
diving too deep into diff algorithms and coming out at the other end with new diff
library in my hand.
diving too deep into diff algorithms and coming out at the other end with new diff
library in my hand.
https://github.com/serde-rs/serde/issues/745
吃到这个了。
更本质的问题是,即使想自己实现,serde 里面没办法 retry deserialize with another type
#[serde(untagged)] 用了一些 private 的东西...
吃到这个了。
更本质的问题是,即使想自己实现,serde 里面没办法 retry deserialize with another type
#[serde(untagged)] 用了一些 private 的东西...
GitHub
Allow integer tags for internally tagged enums · Issue #745 · serde-rs/serde
See this use case. Would the internally tagged enum support allow me to handle schema versioning defined like this? { "schema_version": 1, ... } I've never gotten a good answer about ...
喵喵小喵喵
https://github.com/serde-rs/serde/issues/745 吃到这个了。 更本质的问题是,即使想自己实现,serde 里面没办法 retry deserialize with another type #[serde(untagged)] 用了一些 private 的东西...
GitHub
When a serde(untagged) enum can't deser, show all the reasons why by cbeck88 · Pull Request #2376 · serde-rs/serde
I was writing some code recently that uses serde(untagged) for an enum when deserializing certain JSON schema, but I was unhappy with the quality of the error messages I was getting, because it doe...
被诈骗了...
可能的 blast radius 是两台工作机,所有服务器,and some
Well, there goes my vacation
可能的 blast radius 是两台工作机,所有服务器,and some
Well, there goes my vacation
😢12