« first day (3700 days earlier)      last day (1234 days later) » 

11:28 AM
Using rice cooker to incubate eggs.
Sometimes innovation is about using the existing things for some other purposes that no one else thought about.
 
 
4 hours later…
nwp
3:17 PM
Have some glorious code to look at:
DCMIMGLE_TRACE("reset overlay plane in group 0x" << STD_NAMESPACE hex << GroupNumber << " to start position");
I especially like the STD_NAMESPACE.
#define STD_NAMESPACE std::
They didn't even do the ::std:: thing. Amateurs.
But when std2 lands they'll ... still not actually use much from the standard library because NIH.
Unfortunately Unicode is still completely broken and nothing works.
 
 
3 hours later…
6:04 PM
Traditional Pizza Margherita in an (seemingly) ordinary restaurant in Naples.
Looks fucking delicious :D
@nwp Is "std2" also gonna be the name of the namespace?
Or is it just a code name to refer to a new version of the std?
I suppose nobody knows.
But nobody talks about that. So I keep wondering...
Does C++ really need additional unicode support?
I mean, std::string is a perfect container for UTF-8 strings, not?
What more do you want?
And if you're working the Windows API then all you need is a conversion routine that converts std::string to std::wstring (UTF-16) and vice-versa.
 
 
2 hours later…
nwp
8:25 PM
@StackedCrooked As far as I know with my 3 years outdated knowledge it is. I believe C++17 or C++20 reserved all namespaces starting with std followed by a number for the standard library, but I can't find it in the documentation. std2 is the obvious first use.
@StackedCrooked In my opinion it really needs encoding support. Currently it doesn't have any. Arguably std::string doesn't handle strings, only bytes, just like std::vector<char>. Having some type-safety and supported conversions would make things easier.
 
Is there any black magic technique that lets you check if a C++ structure has invalid state that can be enabled at compile time without source changes. So with source changes you can track a sentinel value and see if it ever gets a wacky state. For example, if (sentinel!=expected_value) {throw std::runtime_error("Memory Corruption");}
 
8:53 PM
@Mikhail ASAN and UBSAN
but you wouldn't want those in production code
 
user7659542
9:12 PM
so, i ve met this extremely good looking chick today
4
 
user7659542
I started talking to her, she seemed quite receptive. Turns out she is an engineer as well. Things got a bit flirty
 
user7659542
but then she said "I ve had covid19 in the past, but I m OK now."
 
user7659542
Don't know what I have to think about this lol. Can she still infect me somehow?
 
user7659542
dating her but getting covid19 as well is not really what I am looking for
 

« first day (3700 days earlier)      last day (1234 days later) »