« first day (4111 days earlier)      last day (820 days later) » 

12:25 AM
@Morwenn Yeah, wtf happened. Curating my photos sounds like a pretty boring hobby. Go take some new ones.
 
 
3 hours later…
3:20 AM
I blacklist feed whenever it stops to be relevant.
How to set debug point to, saying line 1123 for a 2670 lines python script?
I have 'written' a frankenstein style program, now I need to debug it ~_~
 
 
5 hours later…
8:39 AM
30
A: What does && mean at the end of a function signature (after the closing parenthesis)?

crazylpfanThis is a ref-value qualifier. Here is a basic example: // t.cpp #include <iostream> struct test{ void f() &{ std::cout << "lvalue object\n"; } void f() &&{ std::cout << "rvalue object\n"; } }; int main(){ test t; t.f(); // lvalue test().f(); // rvalue } Output: $ clang++ -std=c++...

 
 
4 hours later…
nwp
12:38 PM
@Mikhail He retired.
 
 
3 hours later…
3:18 PM
Speaking of feeds, it might be worth updating them at some point?
 
Morwenn has made a change to the feeds posted into this room
 
I added the isocpp.org articles feed to the list
 
posted on January 13, 2022 by Andrey Karpov

constexpr is one of the magic keywords in modern C++. You can use it to create code, that is then executed before the compilation process ends. This is the absolute upper limit for software performance. Design and evolution of constexpr in C++ by Evgeny Shulgin From the article: The authors suffered greatly from the inability to use STL containers and wrote the std::vecto

posted on January 14, 2022 by Jens Maurer

Smart pointers Improving Stability with Modern C++, Part 4 — Memory Management by Ralph Kootker From the article When we started learning C++, we were all taught that every new needs a corresponding delete. But sometimes we'd forget, or some code might throw an exception we weren't ready for, and then we'd leak memory. [...] With rare exceptions, C++ pro

posted on January 14, 2022 by Adrien Hamelin

And handy they are. 20 Smaller yet Handy C++20 Features by Bartlomiej Filipek From the article: C++20 is huge and filled with lots of large features. Just to mention a few: Modules, Coroutines, Concepts, Ranges, Calendar & Timezone, Formatting library. But, as you know, that’s not all. Depending on how we count, C++20 brought around 80 Library fea

posted on January 14, 2022 by Adrien Hamelin

More convenience. C++20 Concurrency — Part 2: jthreads by Gajendra Gulgulia From the article: In this part of the issue, I’ll discuss about the new std::jthread that helps us avoid the boilerplate code for joining the conventional std::thread in the first section. In the end, I’ll also mention about the std::swap algorithm’s specialization int

posted on January 14, 2022 by Adrien Hamelin

Will you use it? C++20 Concurrency: part-3 request_stop and stop_token for std::jthread by Gajendra Gulgulia From the article: In this article, we explore the latest feature of C++20’s std::jthreadthat allows one to signal a stop or cancellation to an already executing thread in certain situation...

 
Might give some discussion material
 
nwp
Nobody cares about anymore if ever.
 
3:21 PM
True, I can remove the tag
I'll remove the Scott Meyers feed, even if it's a bit sad :x
 
nwp
Rip
 
Morwenn has stopped a feed from being posted into this room
Morwenn has stopped a feed from being posted into this room
 
room topic changed to Lounge<C++>: Staying Alive In The Wall [c++]
I removed all the language revision tags too, probably just a waste of visual space
If anyone wants to complain, feel free to :D
 
nwp
Remove , add
 
nooooo
People will ask questions about botany I can't answer
And mods will make a comeback
And this will gradually become a mod lounge
 
nwp
3:25 PM
Lounge<Botany>, mods not welcome
3
Poor JNat
 
don't tell madara
 
nwp
I found a new book, "Worth the Candle". It's an isekai with the catch that the main character used to be a dungeon master and overanalyzes situations such as thinking that it makes sense to go out in the world and find some trouble because otherwise trouble will go find him, because that's how dungeon masters and narratives work.
I don't like it as much as the other books I recommended, but this spin is definitely interesting.
 
Are you reading all the isekais you find? :')
Speaking of which I still have the latest Izumi book to read, I think it's fully released now
 
nwp
No, I'm just looking through the best rated stories on royalroads that have the completed tag. They tend to be isekais.
 
haha
I'm surprised that the genre is still that popular
After ironic and post-ironic ones flooding the market you'd think people would have had enough
 
nwp
3:32 PM
"A Journey of Black and Red" is great and not an isekai (vampires instead), but it also isn't completed.
Actually "Mother of Learning" isn't an isekai either.
 
Where am I gonna find time in my life -_-
 
nwp
So it's 50/50
 
fair
 
nwp
All of them are fantasy though.
 
I don't know what genre I want to read now ._.
I want another season of Yuru Camp I guess
And to finish writing my is_transparent tests -_-
> Does WG14 want to make VLAs fully mandatory in C23?
Nice poll after VLAs having been mandatory in C99 and optional in C11 x)
 
4:05 PM
> I hope we put namespaces in C26
Big plot twist right here
 
nwp
4:44 PM
Man, I hate git.
I use git remote add somewhere url and then git push somewhere and it tells me that url is not a git repository.
Then I do git remote remove somewhere, git remote add somewhere url, git push somewhere and it works just fine.
 
lol
 
nwp
And I even have the old and new commands on my screen and can verify character by character that there is no typo anywhere.
 
nwp
5:09 PM
"Hey, did you push?"
"Yes, a week ago"
"Well, you didn't, I see in git log that the last commit was over a month ago"
"What? I totally did."
hours later
"Oh, git log shows the date of the last commit, not of the last merge."
 
 
4 hours later…
9:07 PM
I wonder if there is a shorthand to return an r value from a lambda?
 
 
2 hours later…
10:41 PM
even to switch the return type to reference without explicitly writing the return type maybe []()&->{return by_ref;}
 
isn't there maybe some decltype(auto) stuff, not that this particularly short
maybe the "return (by_ref);" stuff , why not make it unreadable
it's already c++
 
Yeah, decltype(auto) and return (variable_name); should work
Good ol' significant parenthesis
 
So whats everybody up to?
We got a day off work...
@Morwenn know any good bars in Paris?
 
@Mikhail I don't really know Paris
If you want a classic there's the Chouffe bar
If you want a geek bar there's Le Dernier Bar Avant La fin Du Monde if it still exists
 
looking to catch a cold? :P
I think I had a runny nose when getting my booster and it made that shit weak af. I mean the boosters are baby-doses anyway, but it was the mildest effects by far.
 
11:02 PM
Got a few hour fever from the booster. I want my money back.
Realistically, we're all going to get covid, especially with omicron. After this winter wave lifts we need to lift all the restrictions.
 
Booster was bad, but not as bad as second dose
 
@Mikhail that would probably be the smartest decision at this point. Just annoying how some politicians painted themselves into a corner by shit they said earlier
 
Here the gov decisions has always to do more or less depending on whether hospitals can handle it
And it's currently a nightmare for hospitals, despite years and years of already being exhausted
 
yep, shit's definitely fucked. Paying nurses and caretakers more, should've been the least.
 
Meh, in the USA many nurses quit in mass to avoid getting vaccinated. There is another story, and its about medical "professionals" being idiots.
 
11:09 PM
we're already getting deeper than ever into debt x)
money is part of the problem, but giving health workers the means is another problem
 
11:52 PM
imagine if paying more for healthcare would result in better healthcare
then Americans would live 10x longer than Europeans
 

« first day (4111 days earlier)      last day (820 days later) »