Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @beached_whale
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @beached_whale
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Yay version 1. JSON Link allows
#cpp developers to easily construct classes from JSON(even weird stuff). It's not slow, can be stricter in ways that matter(type checked), but is not a strict parser. Has support for comments, trailing zeros for instance.https://github.com/beached/daw_json_link/releases/tag/v1.0.0 …Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I think I am done my tour of Strange JSON and how to construct C++ classes from it. Few more documents to go and hopefully done.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
The question... when is a library good enough to be released? Seems like one can go forever with things to do
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
This is better. the operator= was wrong in that one. But a pointer to the trailing zero in string literals isn't in the correct location outside compile time.https://gcc.godbolt.org/z/fcy8ht
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
So I got this down to a minimum reproducible thing, if string pooling is off(might be the default in cmake projects) the pointer is incremented between compile time and runtime. https://gcc.godbolt.org/z/IhG2-Q How does one report this to
@visualc . Not even sure what to call itPrikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
better said, it's two pointers and the offset of the second from the first is changing.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I think I found a bug in
@visualc but not 100%. It looks like a pointer is changing position from constexpr time to runtime. https://github.com/beached/header_libraries/blob/dev/tests/daw_string_view_test.cpp#L1039 … is failing with the cx string_view's second pointer not being +1 from the first at runtime#cppPrikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
alright, going to Release(really) gets part of it looking more sane. However, it the hashing of the strings is still not consistent. I am gonna try and get this to it's own repo and file an MSVC bug. Put in a size member into the class to double check too, it doesn't change
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
tracked it down to my custom string_view class. that doesn't make it any less of a WTF. same code but adding static constexpr gives diff results
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
fun debugging. your contexpr murmur3 hash is giving a different result at compile time vs runtime. Probably not the hash function. Would be really nice to have a constexpr printf.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Are there any JSON benchmarks that evaluate real world tasks? Not just sum numbers, parse to a DOM, or validate.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Interesting little idiom that I have been using when using things like std::conditional_t. Using a type whose name is an error message like struct could_not_determine_X_type{}; as the final else clause in the conditional chain. This helps later on when things break
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Are there warnings/tools that will tell me when I neglect/forget to put std:: in front of things like int32_t/size_t... the C things that are in the std namespace
#cppHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Is it time to address the y10k problem and iso8601 timestamps?
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
The more I learn, the more I am amazed that things still work
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Anyone know if one should put the puny code for an IDN domain into http_proxy or leave it as the unicode codepoints
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Neat, I am now testing code on my raspberry pi3 and finding out how wrong I was about things. Fun one, using an intmax_t instead of ptrdiff_t.
#cpp funHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.