« first day (654 days earlier)      last day (4293 days later) » 

5:00 PM
C'mon, basic source set. That's worthless.
 
The only thing C++11 as a language lacks is char8_t.
 
Long live UCNs!
 
@R.MartinhoFernandes unsigned char.
 
@rubenvb u8"" is not an unsigned char[1].
 
@R.MartinhoFernandes oh dang. What is it?
 
5:01 PM
@rubenvb char[1].
 
really? Then why is U"" unsigned (or is that not the case?)
 
char32_t is its own thing in C++11.
 
@rubenvb I don't think that's the case
 
Not to be mistaken with C11.
 
@LucDanton right indeed :)
C++ sucks.
But we all knew that.
 
5:03 PM
I suspect C11's charX_t is in terms of uint_leastX_t but I have troubles reading the C Standards.
 
Is SO randomly timing out for anyone else?
 
@LucDanton there plain typedefs yes. I thought.
 
@Mysticial yup
 
Not me
 
5:04 PM
Is there a good C11-ish pdf somewhere?
It seems I don't have one.
 
@Mysticial yup
 
C11-ish pdf ?
 
@JohanLundberg I cant load SO pages nor vote, and my chrome extension is freaking out
 
error: "C" and "good" detected in the same sentence.
 
Only got C++11 FDIS, C++11 n3337, C99 and C99 TC3 and C++03.
 
5:05 PM
Mine is n1570 which is like final draft or the one before that.
 
@JohanLundberg free pdf, right before or right after the official C11 document.
 
@LucDanton Care to share?
 
@Mysticial: just came back up
 
@Mysticial btw did all your serial upvoting get reversed?
 
5:06 PM
@Mysticial For me also
 
Yes, n1570 is fine.
 
@LuchianGrigore Only 6 of them.
 
Google sez take this.
 
aha. Dumb ol' me.
n3290 was taken offline after a week.
 
The latest free version of C++11 doc I found is this guys profile
http://stackoverflow.com/users/46642/r-martinho-fernandes
 
5:07 PM
Not before I grabbed me a copy ;)
@JohanLundberg yes, he's a regular here.
I linked to it on more than one occasion.
 
They clearly weren't all from the same person. 6 of the 10 votes on my +0 answers were reverted.
 
@R.MartinhoFernandes Look, you're a "this guy". That's practically famous. chat.stackoverflow.com/transcript/message/4744896#4744896
 
@Mysticial I got all of mine reverted
-150 14 hours ago reversal Serial upvoting reversed
Probably from the same person
 
Does it appear on your rep graph or do you have to keep track in your head?
 
5:09 PM
This won't answer your question, but it's always good practice to include the system headers first, before any of your own project headers. — Mr Lister 22 mins ago
Is this true? I always do the opposite so that if I've forgotten to include a standard header in my header it'll show up as an error
 
@Prætorian I also do such a practice.
 
@LuchianGrigore I have a feeling that serial upvotes on posts with a lot of votes have a higher threshold of being rolled back. I've been serially upvoted before on my top answers (more than 6) and they never got rolled back.
 
@LucDanton rep tab
 
Okay, good to now.
 
as far as I can tell, it's common for both ways to be advocated, so as far as I can tell, there's not much in it.
 
5:10 PM
@Prætorian I stopped caring long ago.
 
@Mysticial probably and, IMO, makes sense...
 
@CatPlusPlus Yeah, maybe that's the right approach :)
 
'It's just you. stackoverflow.com is up. '
 
How do I stop MSVS from showing intellisense errors in the error window?
 
@LuchianGrigore Use the command line ;)
 
5:14 PM
@LuchianGrigore I don't know a way
 
@LuchianGrigore Disable Intellisense.
 
@LuchianGrigore Close Visual Studio.
 
@CatPlusPlus how do I do that? I have visual assist anyway, so I don't really need intellisense
 
you know
failing to decide only 0.6% of the bits in sha-2 is really not that bad.
not enough, but really not that bad
 
5:17 PM
@MooingDuck thx
 
@DeadMG What does that mean? failing to decide ...
 
it means that I failed to prove their values.
 
So the hash doesn't match?
 
@JohanLundberg That's me!
 
yeah
pretty sure that even a single undecided bit causes a failure, so
well, in this specific test
 
5:20 PM
lets say that you iterate over a list in theradA and you are in the last element. simultaneously in threadB you add element . dosnt the iterate next in the thread A can be in the middle of setting the pointer and create new instance to the new last element? — user1495181 10 hours ago
To be sure. Thread 1 - A const & a = foo.getA(); Thread 2 - setA(..); Does a in thread 1 is still legal? — user1495181 1 hour ago
Why does he keep bringing threads up?
 
when I start testing stuff that's like, maybe 150+ bits, then it's more likely that I will have bits which are actually undecidable and that's fine
 
@rubenvb For this matter the only suckinesses are really u8"" not being an array of an UTF-8 unit type and library support (which can be argued for being outside the C++ standard so it can be kept up-to-date with the Unicode standard).
 
@R.MartinhoFernandes Aha, many thanks to you. I'm not sure where I found the link to your profile. You have an old answer here stackoverflow.com/questions/7747069/… pointing to an older version
 
but what I'm really up against is that I need to learn more about those failure bits
but there are so many of them, it's just going to be overwhelming to list them all and their formulae and try and find a weakness manually.
 
@DeadMG So you're implementing an SHA-2 hasher? Any reason you're not using something already out there, like Crypto++?
 
5:23 PM
@R.MartinhoFernandes, how come those sources are public?
Document Number: N3376
Date: 2012-05-24
 
@Prætorian No, I'm breaking SHA-2.
 
@DeadMG Wait, do you mean 0.6% of the whole search space, or 0.6% of some particular test hash you're using?
 
@R.MartinhoFernandes Of this test hash, but from my previous experience, virtually all hashes exhibit roughly the same behaviour.
 
@JohanLundberg Because they're drafts, not the actual officially vindicated document.
 
how can I turn auto vectorization on in clang?
 
5:25 PM
so I've been thinking about using a technique I've termed a "flipper".
 
@JohanLundberg This repository is maintained by the official C++ standards committee editor.
 
@R.MartinhoFernandes, ok fine, but how many is going to pay $400 for getting the last comma right?
@R.MartinhoFernandes, cool
 
when you reach a point in the solution where you can't prove any more bits, then you take every next stage bit and you set it to 0 and 1, and propagate it.
 
@JohanLundberg Actually, this draft has more commas right than the real thing, since it has received several fixes after the publishing.
2
 
if it doesn't lead to contradictions, then measure the knowledge it propagates.
 
5:26 PM
@JohanLundberg You know, business needs seals of approval and all that.
 
if there exists a bit which always has the same value no matter what other bits you set, then it must have that value, even if I can't explain why.
 
Also, ANSI sells it for $30 or so. webstore.ansi.org/…
@DeadMG lol
Sounds scientific.
 
kek
or I could simply propagate each bit for 0 and 1, and if any contradictions are found, then I know it must be the other setting.
but that would involve to the tune of 600,000 bit propagations right now
and those things are not the cheaps.
 
@R.MartinhoFernandes Does that repo continue to be updated?
 
Data races are orthogonal to iterator invalidation. — R. Martinho Fernandes 9 mins ago
"Data races" sounds a bit like an Olympic discipline :)
 
5:32 PM
lol
 
@KeithLayne AFAIK, yes.
Last update was two months ago, but that doesn't mean it's abandoned.
 
@R.MartinhoFernandes That would be great if it were maybe a multi-volume hardcopy.
@R.MartinhoFernandes not at all, I'd say that's pretty recent.
I can't imagine much changing between their meetings.
 
There's a new drop of mailing coming next September or so.
 
you made that sound like a poop.
 
There will probably be some more editorial updates by then.
 
5:34 PM
@R.MartinhoFernandes, ok. Do you know about the relation of the draft and the official defect report, http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2012/n3367.html#1270
That issue is marked as 'Ready' but is not in the draft.
 
@KeithLayne O...k.
 
shut up. I'm awesome.
 
@JohanLundberg I think that "Ready" means that at the next meeting, it's very likely that the resolution is voted in.
 
@JohanLundberg I'm not sure what 'ready' means.
You can never assume with these terms.
 
@DeadMG, Ok, well it's from February, 2012 so it's quite new.
 
5:35 PM
hey, can you create POD temporaries with initializer lists?
 
You can create temporaries of practically any type with list-initializers.
 
struct X { int a, b, c; };
void foo(const X& ref);
foo( {1, 2, 3} );
 
right
 
@KeithLayne, with my naive point of view, why not?
 
so if I have something like, known = a and b and nothing else, that's completely unsolvable, ever.
 
@JohanLundberg Ah, that's quite cool.
 
so I can skip enumerating some of the known.
 
@DeadMG Are you inventing your own alternative to Prolog now?
 
@DeadMG Not quite.
true = a and b means they're both true.
 
@FredOverflow I had something similar that I couldn't get to work:
from your example, something like:
 
5:38 PM
It's false = a and b that is problematic.
 
std::vector<X> x;
x.push_back({1, 2, 3});
compiler choked on that. I'm guessing it's expected.
 
How about x.emplace_back(1, 2, 3); instead?
 
These things are talke about here stackoverflow.com/questions/4178175/…
 
I would if it were supported :(
 
Your compiler supports C++11 uniform initialization, but not emplace_back?
 
5:40 PM
@R.MartinhoFernandes Yeah, I meant apart from that. Those don't become part of the level variables.
 
> Ready: The working group has reached consensus that the issue is a defect in the Standard, the Proposed Resolution is correct, and the issue is ready to forward to the full Committee for ratification as a proposed defect report.
 
@FredOverflow No, still crackin on SHA-2.
 
@R.MartinhoFernandes ok
 
@Johan apparently "ready" means it's ready for the committee to vote.
So, there you go. That's why it's not in it.
It will probably be in after the next meeting.
 
@FredOverflow maybe I'm confused. I've seen emplace but not emplace_back. And emplace is not in g++ yet, AFAIK.
 
5:41 PM
@DeadMG Ok.
 
emplace is for sets, emplace_back is for vectors and stuff.
 
@FredOverflow Down to trying to decide the last <0.6%.
 
@DeadMG I have no idea what you're talking about, but keep up the good work!
 
What would you like that to do?

this works though

std::vector<std::pair<int,double>> x;
x.push_back({1, 3.5});
 
Is pair's constructor implicit?
I think it should work.
Oh, you are saying it does. Silly me.
 
5:46 PM
yeah, I'm not using a pair.
 
@R.MartinhoFernandes, Thank you for respecting my 3k :)
 
@KeithLayne What was your X?
 
td::vector<std::pair<int,double>> x;
 
none seem to work without a constructor explicitly defined.
 
Is it possible to make the copy constructor explicit? What would the effects of doing that be?
 
5:46 PM
it was basically a pair, but not.
 
@RadekSlupik sounds like a very bad idea
 
@FredOverflow :P
 
@KeithLayne Without a constructor, it's an aggregate.
 
@RadekSlupik, yes it's possible
 
should {{...}} work? no, right?
 
5:47 PM
If we're talking about struct X { int a, b, c; };, no.
 
@FredOverflow Your constructor question made the newsletter. @Xeo you'll probably get your Guru badge today.
 
Newsletter? I know I keep asking this, but what newsletter?
 
The one you keep asking about.
 
@FredOverflow The letter with the news.
 
Oh. I always thought of it as a new sletter.
 
You also have this. I never used it. Is it similar?
 
No, the newsletter is a weekly thing of the top voted questions on SO. There's one for each SE site.
 
Ah.
I’m going to subscribe to . I think would be a little too much. :P
 
5:51 PM
@Mysticial Does anybody actually care about those newsletters?
 
To be honest isn't very hectic.
 
Oh fuck.
 
I didn't discover the weekly newsletter until after several episodes of "unexplained upvotes" coming in on Tuesdays.
 
Have you tried camping ?
 
@FredOverflow Enough of them where being #1 on it will bring you 50 - 100+ upvotes.
 
5:53 PM
@R.MartinhoFernandes Or all of them. :D
 
I have email notifications setup for all my major tags minus the language tags.
Otherwise, I'd get a flood of emails.
 
You get only one email per day.
 
@Mysticial What happened to my range question, which is now +102.
 
@R.MartinhoFernandes I would imagine doesn't have all that much that's useful.
 
@DeadMG gimme a sec to dig out April's newsletters
@DeadMG Oh wow, you had it pretty unlucky that week.
 
5:56 PM
how so?
I mean, apart from the unfortunate position of asking it on April 1.
 
@SamDeHaan Try it on the search bar: [c#][or][java][or][php]. There's a surprise for you.
 
@DeadMG There were 3 other big questions that week that pushed you down to #4.
 
@SamDeHaan No, try the whole deal.
 

« first day (654 days earlier)      last day (4293 days later) »