Hana Dus�kov� 🏳️‍🌈

@hanicka.net

Hey! It's me! Hana! 花 C++, CTRE, co_curl, SG7 chair, EWG co-chair, constexpr queen, italian greyhound is sleeping in my bed, a victim of bad unicode adoption

whenever you see an ai generated port, recomp, mod loader, or a reverse engineering project, know that it's built on top of work done by those of us who were here before, doing this stuff not for the glory, but for the love of it

I'm maybe too deep in the rabbit hole. libstdc++'s file_clock::time_point has nanosecond precision, and ends on original expected return date of Voyager from the delta quadrant. Anything past that will travel into past.

screenshot of libstdc++'s source code from chrono.h header containing comment and one constant:

// This clock's (unspecified) epoch is 2174-01-01 00:00:00 UTC.
// A signed 64-bit duration with nanosecond resolution gives roughly
// +/- 292 years, which covers the 1901-2446 date range for ext4.

static constexpr chrono::seconds _S_epoch_diff{6437664000};

C++: we have a robust type system, turing complete template, exceptions, overloading, type deduction, concepts to check types. Also C++: here is pointer into a compiler datastructure, it can be anything, you need to check it, otherwise your compilation will fail with a `std::meta::exception`

C++ Quiz time (URGENT) compiler-explorer.com/z/hd46cxoPE without looking at execution output (after de-maximalizing the source window, you can see them) what it should print? before = ?, ?, ? after = ?, ?, ? (constexpr) after = ?, ?, ? (consteval) after = ?, ?, ? (escalate)

Compiler Explorer - C++ (x86-64 gcc 16.1)

consteval int escalate_me() { return 0; } constexpr int foo() { if consteval { #ifdef __clang__ return __constexpr_uncaught_exceptions(); #else return __builtin_u...

compiler-explorer.com

Welp, just deleted Google Chrome from all my devices. Which took some doing on the Macs because of the hidden 5Gb LLM model it had sneakily installed without permission, which is *why* I'm yeeting this malware browser for good.

Usually when a friend visits me, I let them sleep in my bed and I take couch. But Charlotte doesn't like it, so she waits for me to fall asleep, and then move over to the bed, to delight of every visitor I have ☺️