HNHacker News
TopNewBestAskShowJobs

lyorig

75 karma · joined February 16, 2025

submissionscomments
lyorig··on Discord is ditching Electron and its new app uses less RAM
Serein[0] recently got on my radar, being exactly that (A Rust Discord client). Been using it for the last few weeks, and boy is it snappy! I rather like this trend of stuff being rewritten in Rust (usually via LLMs). Spotifast[1] being another great example.

Perhaps Discord caught wind that this is now possible, and don’t want to be left behind?

[0]: https://github.com/ViceVerse-cz/Serein

[1]: https://github.com/crmne/spotifast

lyorig··on Much Ado About None: Sentinel Values in Python
Perhaps the author has had their fair share of run-ins with libraries that didn't think their API through like that. But yes, they should.
lyorig··on Ask HN: What are you working on? (September 2026)
Currently iterating on Sandlot, an SDL3 wrapper in Rust that enforces lifetimes and generally offers an idiomatic Rust interface with less opportunities to shoot yourself in the foot.

It’s the first proper library I’ve published for the world to see (still in uni, so yeah, not as experienced as most of you) and I’m still figuring out the bookkeeping that comes with releasing new versions etc, but it’s been a great learning experience and even the vain hope that someone will find it useful one day is quite nice.

https://github.com/lyorig/sandlot

lyorig··on What algorithm did Windows XP use to choose your initial user picture?
Man, every post from Raymond Chen regarding Windows internals is like a little Xmas. I wonder whether he has to ask someone for permission before publishing this knowledge, though.
lyorig··on The PImpl idiom and the C++26 std:indirect type
Small nitpick, but a post about C++26 should really not be using `const std::string&` parameters. We have had `std::string_view` for this exact purpose since C++17.
lyorig··on Usability Improvements in GCC 15
By honoring font choices, do you mean the ability to overwrite emojis as well? I’ve never had issues using custom/nerd fonts, but it’s true that the emojis have stayed true to the Apple style so far.