Daniel Dia
banner
danieldia.bsky.social
Daniel Dia
@danieldia.bsky.social
دانيال
i do math, cryptography, comms, systems programming, and formal methods.
Rustacean 🦀

“Pessimism of the intellect,
optimism of the will.”
— Antonio Gramsci
Pinned
when I was younger I used to hate programming because I thought it was tedious and messy with no clear goal or purpose behind it.

when I discovered functional programming (Haskell, F*, etc.) and Rust, I started loving it again.

I quite literally owe everything to this (somewhat) obscure paradigm!
Reposted by Daniel Dia
I regret to announce that my proposal to rename the Department of Computer Science into the Department of Really Strong Calculators has failed to garner any meaningful support
November 20, 2025 at 7:50 PM
Reposted by Daniel Dia
My business model? Ensuring that my technology can never be easily reproducibly rebuilt by others and subtly undermining any efforts to produce easy, complete, accessible and up to date documentation so that you’re forced to hire me as a consultant just to be able to use it
November 20, 2025 at 8:44 AM
Using .unwrap() in production and causing a Cloudflare outage is the funniest thing ever. It’s a totally fine way of error handling, because if error -> crash 😊

It's even funnier that the function is already a `Result<>` so they could have propagated the error if they don't want to handle it here
November 20, 2025 at 5:57 AM
security.googleblog.com/2025/11/rust...
very nice post!
anyone interested in writing production code in Rust should give it a read
Rust in Android: move fast and fix things
Posted by Jeff Vander Stoep, Android Last year, we wrote about why a memory safety strategy that focuses on vulnerability prevention in ...
security.googleblog.com
November 14, 2025 at 9:02 AM
Inspired by my existential struggle, I spent almost a month writing in-depth exhaustive documentation for the hax formal verification library (by Cryspen):

github.com/danieldia-de...
GitHub - danieldia-dev/hax-docs: Complete set of documentation (8 modules) covering the core functionality of the `hax` Rust library for formal cryptographic verification.
Complete set of documentation (8 modules) covering the core functionality of the `hax` Rust library for formal cryptographic verification. - danieldia-dev/hax-docs
github.com
November 13, 2025 at 3:22 PM
The Gram-Schmidt orthogonalization procedure is such a simple, yet powerful algorithm in linear algebra, genuinely breathtaking result
November 5, 2025 at 10:43 PM
Dodo should be featured on the website!
Our applied cryptography class now has a mascot, Dodo, who attends every session. Here is Dodo next to the Phoenician alphabet, which he likes.
October 30, 2025 at 1:49 PM
I am currently working on a project involving formally verifying Rust code for correctness and some other funny properties.

for that I have decided to use the “hax” tool which allows you to verify Rust code in F*, which sounds amazing, right?

It does, but working with it has been absolute headache
October 28, 2025 at 6:31 PM
brilliant analysis of Silksong’s themes

youtu.be/TbMvtgt5L2c?...
Silksong's Lore is a Capitalist Nightmare
YouTube video by Storm King
youtu.be
October 26, 2025 at 9:11 AM
Haskell for the win
🥸👍
if your functional programming language of choice doesn't shitpost on main it's not worthy of your time
October 24, 2025 at 8:27 PM
the way modern universities teach programming, especially C/C++ or Java (with OOP) is criminal.

it is such an absolutely lame and tasteless approach, feeding them absolute garbage disguised as an introduction to programming and/or data structures & algorithms.
October 24, 2025 at 8:04 PM
“For those who come after.”
— Clair Obscur: Expedition 33
October 24, 2025 at 7:39 PM
Reposted by Daniel Dia
I made a Discord for my applied cryptography course and a sentence describing Grigori Perelman as the "OG tsundere" appeared within the first ten minutes
October 22, 2025 at 2:42 PM
after a lot of fighting with the UEFI and some very weird firmware issues, I am proud to announce that I permanently deleted Windows and installed Fedora on KDE Plasma!!!!

could not be happier right now

now both of my PCs (desktop and laptop) are running Fedora on KDE woohoo!
October 21, 2025 at 8:02 AM
Reposted by Daniel Dia
On the Credibility of Deniable Communication in Court (Jacob Leiken, Sunoo Park) ia.cr/2025/1949
October 20, 2025 at 1:09 AM
Reposted by Daniel Dia
I would sincerely appreciate it it if the EXTREMELY LOUD ARMED ISRAELI DRONE HOVERING RIGHT ABOVE CENTRAL BEIRUT AND AUB FOR THE PAST FOUR HOURS could kindly let me prepare for my cryptography class in peace
October 20, 2025 at 12:16 PM
sick burn
October 17, 2025 at 7:38 PM
Reposted by Daniel Dia
In 2023, Signal was the first mainstream messenger to enable post-quantum cryptography. We’re still ahead of the (elliptical) curve, implementing a new hybrid PQ ratchet ensuring Forward Secrecy & Post-Compromise Security even in a post-quantum world. signal.org/blog/spqr/
Signal Protocol and Post-Quantum Ratchets
We are excited to announce a significant advancement in the security of the Signal Protocol: the introduction of the Sparse Post Quantum Ratchet (SPQR). This new ratchet enhances the Signal Protocol’s...
signal.org
October 2, 2025 at 4:09 PM
FINALLY!
Congrats Zed 🎉
Well done
zed.dev Zed @zed.dev · Oct 15
It's finally here. Zed is available on Windows.

Built from scratch, and rendering at 1 million pixels/millisecond.

Download it today 👇
October 15, 2025 at 7:15 PM
Reposted by Daniel Dia
Announcing my committing the great sin of using an Apple Magic Keyboard with a Linux machine via GitHub pull request github.com/rvaiya/keyd/...
Add example mapping to fix Apple Magic Keyboard with Touch ID (MXCK3LL) by nadimkobeissi · Pull Request #1137 · rvaiya/keyd
The latest Apple Magic Keyboard with Touch ID (Model MXCK3LL) is currently not properly supported by hid_apple or any similar Linux kernel module. This keyd configuration makes it supported and fix...
github.com
October 13, 2025 at 1:10 PM
Reposted by Daniel Dia
One curious thing on this site about speaking out against the encroachment of LLMs is that inevitably you get accused of being anti-tech. I don’t hate technology. I’ve used machine learning in my own code before. But I also recognize that oligarchs are so hellbent on pushing this tech for a reason.
October 10, 2025 at 3:52 AM
Reposted by Daniel Dia
i encourage everyone who dislikes machine learning being implemented into moderation to do some work as a moderator and see how that affects your views
October 8, 2025 at 3:31 AM
as controversial as this may be, I actually agree with a lot of the “good” code practices in the Linux kernel.

they are quite “battle-hardened” in that they guarantee that bad code will be spotted and fixed before it goes into production.

the opinionated “leader” notwithstanding, it’s very smart.
October 12, 2025 at 7:50 AM
when I was younger I used to hate programming because I thought it was tedious and messy with no clear goal or purpose behind it.

when I discovered functional programming (Haskell, F*, etc.) and Rust, I started loving it again.

I quite literally owe everything to this (somewhat) obscure paradigm!
October 11, 2025 at 8:41 PM
with every day of my programming practice I am more and more convinced that compilers, and more specifically the C compiler, are dark magic.

unfathomably complex and unfathomably efficient.
October 11, 2025 at 8:27 PM