« first day (2462 days earlier)      last day (2488 days later) » 
00:00 - 20:0020:00 - 00:00

8:00 PM
So apparently, there are a lot of trolls on pcpartpicker. Tons of accounts with no builds running around trashing everybody's build - mostly on the higher-end builds. lol
 
Hello lads gents and Jerry
 
@sehe Bikesheding much.
Calling something atomic doesn't mean that the rest isn't.
 
How so.
It's really strange to call a by-definition synchronization primitive "atomic".
It's like calling a BMW a "automotive car" or a "rolling car"
 
You better read the proposal because I'm not competent enough to explain shit x)
I'm just providing links & news :p
 
Thanks for the link
 
8:12 PM
^_^
I know all the proposals. Not what they do :D
 
So, indeed it's a lockless semaphore. So, condition variable meet spin lock. Essentially.
 
@iksemyonov hello.
 
I guess that makes the name apt enough. Though by this point I think it's unfortunate that convention has made atomic_ the prefix for things that are lock-free
 
That may be lock-free.
Only std::atomic_flag is guaranteed to be fully lock-free.
 
@Morwenn Rather the contrary. I guarantee that I am 100% lock free (though I do have some keys in my pocket).
 
8:17 PM
@Morwenn You're right. That's probably the meaning for ambiguous naming. Portability is more important indeed
 
@JerryCoffin But are you wait-free? :o
 
Hm, I suppose atomic_wait is something like a pause instruction then?
 
More like a spin
 
@Morwenn My memory can involve multiple wait states, I'm afraid.
 
:p
 
8:19 PM
My memory has very high latency.
It's also very lossy. So storage redundancy is recommended.
 
@JerryCoffin Can it be in multiple states at once? And you won't know which state it is until you try to observe it?
 
There's a proposal for snapshot_ptr for deferred reclamation, but I have to admit that I don't understand shit to it.
That + RCU and hazard pointers.
 
I don't get that stuff either.
It's rather nice to be oblivious.
Less worries :)
 
Meanwhile Mysticial eats lock-freedom for breakfast.
 
@Mysticial It's usually in a state of my thinking it's correct until my wife observes in (at which point it is, of course, entirely wrong).
@Morwenn There's nothing wrong with lox (and bagels) for breakfast.
 
8:23 PM
No breakfast, no worries.
 
@Morwenn I demand freedom from fast breaks, not breakfast. All breaks should be slow and leisurely.
 
@JerryCoffin That's not what a black metal drummer would tell you.
« BREAKS NEED FUCKING BLASTBEATS »
 
@Morwenn Wow. So much agreement.
 
@StackedCrooked Yup. I'm impressed :o
 
@Morwenn Obviously metal drummers are wrong (regardless of race).
 
8:27 PM
Guys, we might get designated initialization in the working draft as soon as Saturday.
 
Oh cool.
 
[]<typename T>(T a, T b) { return a + b; } too.
 
@Morwenn I wish this was adopted already. I often encounter it in C code.
 
@Morwenn Besides, metal drums should be made from stainless steel, not black metal.
 
@StackedCrooked It has restrictions compared to C though: you must initialize in class order.
 
8:30 PM
I see.
 
@JerryCoffin Make that post black metal then.
 
@JerryCoffin Oh. I finally get the joke. lol
I was thinking why are you bringing race into this.
 
xD
 
@StackedCrooked It was that evil French person who was making racist comments. I was taking race out of it. :-)
 
Eh, looks like the span class that might make it into the Library Fundamentals TS v3 won't be the one where you can write span<int[][5][]> :/
 
8:33 PM
@Morwenn Other than forcing both parameters to be the same type, does this add much that's new compared to [](auto a, auto b) { return a + b; }?
 
@JerryCoffin It's useful to avoid decltype when you need to feed the type of a parameter to something.
 
@Morwenn Okay, I guess I can see some use for that. Still doesn't seem to fit with the committee's publicly stated position about enabling new techniques and such, rather than just slightly different syntax for existing capabilities.
 
@JerryCoffin Weeeeeell, you also need to fill the small gaps :p
There's a paper about tearable atomics too, but I didn't understand anything.
> Atomics which can tear—which are more relaxed than relaxed—seem useless. This paper shows otherwise.
4
 
@Morwenn Well, that would at least be an improvement over terrible atomics (I guess, anyway).
 
xD
 
8:39 PM
@JerryCoffin it’s a must for partial ordering
 
@LucDanton Ah, now that make sense. Thanks.
 
I still don't understand how writing the same value to the same memory location from different threads can produce something else than saif value.
operator auto() rejected once again.
 
Xeo
@Morwenn Are they called quarks?
 
@Xeo That'd be charming, but no.
 
Xeo
well fuck C++ then. I want particle physics in my standard.
 
@Xeo It's not called the "C++ standard model".
 
Xeo
*standard C++ model
somebody write a paper with that title please
and add all kinds of physics related shit
 
Standard C++ memory model exists, but...
 
-6
Q: Input during execution of c++ file

Shubham Sharma#include <iostream> using namespace std; int main(int argc,char* argv[]){ return 0; } root@kali:~/projects/Linux-Commands# c++ remove.cpp -o rm root@kali:~/projects/Linux-Commands# ./rm /a.out terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::at: __n (...

/cc @Mysticial
 
A genuine trolling question, capiche — sehe 6 secs ago
Voted up & to delete
I don't think people need to be obliterated for goofing up
 
8:58 PM
@sehe I don't think that's a trolling question
usually it's sheer incompetence
 
goofing up = incompetence, or bad luck. Usually both
 
I'm referring to this: "A genuine trolling question"
 
> Encourage further work for Allowing Class Template Specializations in Unrelated Namespaces? 2 | 13 | 3 | 0 | 0
 
I can't tell tell if it's either. They are truly indistinguishable in this case.
Though recently, I came across someone on mersenneforum that was both malicious and incompetent. It was amazing.
 
Well if you guys need the actual code, hold on for a minute, I am editing my question. — Shubham Sharma 1 min ago
 
@orlp Can no one identify the inevitable joke/quip? Also, I disclosed my votings here
 
why do you people have 20 rooms for the same thing?!?
those werent even regarding the post...
 
no we don't
 
9:02 PM
this is a c++ room
 
@Typhon actually this is a lounge room
 
@orlp huh?
it says c++
 
Jul 9 at 15:55, by Jerry Coffin
There are no rules. The Lounge exists in a space-time continuum subject to these laws of physics.
 
@Typhon no it doesn't read again
it says Lounge
 
the title contains c++
hence it is a c++ room. :/
 
9:03 PM
omg dude get a hint
questions go to the room which says "feel free to ask questions here"
 
@Typhon No, it's just an inverted Ↄ.
 
we honestly should change the room name to "no C++"
but then people will still say it has C++ in the name :D
 
There's a book titled, "To Kill a Mocking Bird". When I read it, it's not about killing mocking birds.
 
or maybe just name it lounge?
@orlp well the title sounds like it is a discussion room. Sorry.
 
@Typhon ah you're getting closer
 
Xeo
9:05 PM
The name is mostly historic, and not an indicator of anything but the fact that we're a lounge
 
@Typhon if you go to the coffee room in the computer science faculty of your university you can bet your ass the default topic there is computer science
 
@orlp yeah, a discussion room for c++. Hence, anything c++ is welcome.
 
that doesn't mean that it's appropriate for you to come there and ask your basic questions
 
You must be a real disappointment to all communities you meet, then.
I know of very few communities that appreciate spelling errors as well as tropical storms
 
@sehe that literally makes no sense
 
Xeo
9:07 PM
Always the same... look, we don't want questions here, that's why we have the other room. Because many regulars hate dealing with random question dumps.
And the ones that don't and are willing to help will be in that other room
 
It makes exactly as much as sense as you demanding our room name to make sense (for you).
I _demand_ your name to make sense to me. Typhon is a spelling error for typhoon. End of story.
 
Xeo
Just accept it please.
 
by the way, pdqsort was accepted in boost
 
Didn't that happen ~3 days ago?
 
@orlp Saw that, congratulations ;)
 
9:09 PM
@sehe you're being a dick. all I was saying was that the room appeared to be c++ based and thee was no need to jump down my throat for posting a question.
 
Thank you. Bye.
 
It's slowly getting famous.
 
boost-defeating quicksort
 
@sehe it did
 
:)
 
9:09 PM
@sehe Or alternatively, Greek mythology en.wikipedia.org/wiki/Typhon
 
@Typhon look, you're the first person this year who took an issue with me moving a question to the room which is specialized in answering questions
 
@Puppy Did I mention "make sense to me"? I'm a peasant, not a snob!
 
Xeo
@Puppy Or alternatively, your face
 
@milleniumbug yeah, but I can get banned if too many are moved, right?
 
Xeo
@Typhon no?
 
9:10 PM
or at least, that is what I was told.
 
no, not really
 
Fuck that
 
Lol, wtf did you do in the other rooms :-)
 
@sehe well that is what it is
 
Xeo
That would be a misconception on your part.
 
9:11 PM
@Typhon Point us at it, or I'm going to call bullshit. It sounds a lot like making excuses for your stance.
 
Xeo
maybe that was for a different room, where they moved your messages into a trash room or something
 
Even so.
 
@sehe it was a long while ago. I'm not digging through logs and wasting time.
 
Maybe they threatened to kick him if he persevered. In all cases, not a good sign.
 
i am not a beaver.
5
 
9:12 PM
@Typhon Oooh. What a shame.
First starworthy shitpost.
News flash: you're ONLY wasting time.
 
@sehe Nah, it's entertaining.
 
Did I say anything else? :)
 
Is entertainment a waste of time? D:
 
@sehe only because you won't stop being a dick every ten seconds for no reason. I wasn't upset. I was simply confused.
now would you leave me alone?
 
9:14 PM
Nope.
 
Dicks ♥
 
nwp
The trigger was well hidden, but finally a Typhon uncovered it!
 
Sorry. I'm back to my usual self now.
#include <stdio.h> int main() { wprintf(L"%0.262x\n", 1); } That crashes VC++ 2017. And I've got lots of space left in my bug-in-a-tweet.
Im Westen nichts Neues
 
Meh, no more news from the meeting :/
Next thing to implement: cppsort::quick_sort({ .iterable = vec, projection = &foo::bar });
Well, too many naming problems to solve actually.
 
9:38 PM
> Ville: I checked these new fluent APIs. They are 30 years old and no one uses them.
Apparently the latest proposal about named parameters was just killed by EWG.
Bedtime. See you... later I guess.
I'll be drinking in the UK next Monday if anybody's around :p
 
I hate fluent APIs. But for named param idioms it can be "ok".
 
9:56 PM
named params are nice, IMO unnamed params should be the opt-in part but that's way too radical (not just for C++, obviously that's never happening, but even for a concept language)
but fluent APIs can go die in a fire
 
What's a fluent API?
 
+1 for burn them, not clear whats happening under the hood.
 
@StackedCrooked One that goes without a hitch
I hate fluent API because it invites cutesy-pantsy naming that is supposed to resemble engrish but really just ends up being an excuse for inconsistent domain terminology and undiscoverable APIs.
Most of these arguments don't go for proper named-arg use, because by definition the naming should predictable and discoverable by the same logic that function call params are discoverable.
But bad examples are Fluent Assertions and their ilk ("behaviour driven tests", anyone). It's really something that behooves Ruby e.a.
 
@StackedCrooked The object.x().y().z() kind of thing. As originally intended, you write it to read like a sentence: object(input).initialize().process().format().write(output_file);
 
10:02 PM
@StackedCrooked An API that's designed in a way that you chain method calls so the result looks like a sentence.
 
@JerryCoffin Ah, I see.
 
I mostly saw it used for configuration purposes.
 
I think I've used that for setters on a config object once.
 
Can you show us the problem? That code looks ok, it compiles. Include a SSCCE that demonstrates the problem. — sehe 14 hours ago
See. This would be another one of my "snarky" "complaints" about "minutiae". (context).
Thanks sehe, that worked like a charm. Learnt a lot from your code but std::chrono is still quite foreign to me, so I'll be reading up on it today. Thanks! — chocobo_ff 2 mins ago
Apparently, attitude still has a lot to do with how people deal with it
 
@StackedCrooked aka the "named parameter idiom". It works well enough for that (when you can't reasonably break something up into small enough pieces to render it pointless).
 
10:49 PM
@sehe how fortuitous, I started an API design chat earlier this week and that came up
 
@BogdanMarginean Hey man. I know you probably hate me and whatever, but I just wanted to make sure you are ok.
 
11:16 PM
let's face it, hating you and being ok are kinda the same thing
sorry you left yourself wide open for that one
 
:'(
am hurt
 
11:43 PM
aww
bad puppy
 
00:00 - 20:0020:00 - 00:00

« first day (2462 days earlier)      last day (2488 days later) »