I’ve found this to be a useful general technique any time I’m implementing code that that involves tricky optimizations.
Often a good testing strategy is: does my fancy optimized implementation match the obviously correct, too-slow-for-production-but-fine-for-tests implementation.
07.05.2025 21:56
👍 1
🔁 0
💬 0
📌 0
A Python repl showing the following text:
In [3]: x = 5
In [4]: x is not None
Out[4]: True
In [5]: x is not None == True
Out[5]: False
Even more surprising: `is` and `is not` is this same chaining logic, so you can chain them with other comparisons in non-obvious ways:
13.01.2025 15:32
👍 4
🔁 0
💬 1
📌 0
Last year’s rust survey showed VSCode being most used by a healthy margin: blog.rust-lang.org/images/2024-...
05.12.2024 12:40
👍 2
🔁 0
💬 0
📌 0
Ferrocene 24.11.0 — Ferrocene Release Notes
Huge congrats to the @ferroussystems.bsky.social team for Ferrocene (a safety critical Rust distribution) now being qualified for use in medical devices (IEC 62304)!
And for maintaining a 3-month release cycle, which is *unusually* fast for that ecosystem!
public-docs.ferrocene.dev/main/release...
27.11.2024 16:22
👍 142
🔁 29
💬 2
📌 2