« first day (685 days earlier)      last day (4264 days later) » 

6:01 PM
@TonyTheLion Maybe that explains why I'm so awesome.
 
@R.MartinhoFernandes probably does :)
 
Quick verification, for the generic Microsoft ::PostMessage() call, if I issue multiple calls, the message handing code is executed in the same order that PostMessage() is called right?
 
@TonyTheLion IMO, most elementary school children learn more in spite of school than from it/because of it.
 
@JerryCoffin yea, I don't disagree there :)
 
@BojinLi At least normally, yes.
 
6:10 PM
K Thx
 
Does standard C++ have something like a generate_n_iterator(generator, count)?
 
@R.MartinhoFernandes What is it?
 
@MooingDuck to do, what?
 
@JerryCoffin in spite? What do you mean? Because they hate school?
 
@BojinLi If it's not documented behaviour, do not rely on it.
 
6:15 PM
fuck did I miss an argument on 1024 vs 1000? I had a whole speech prepared for that
 
@sehe myvector.assign(generate_n_iterator(rand, 3), generate_n_iterator(rand,0));
 
dammit
 
@netcoder You did
 
I'm pretty sur eboost has something like that
 
eboost?
 
6:15 PM
@netcoder There is no argument.
 
@StackedCrooked eboost == the shit
 
Too bad Apple patented it, along with iboost.
 
@StackedCrooked ASSHOLES!
 
APPLEHOLES
 
And since it doesn't run on their hardware => APPLE WINS!
 
6:17 PM
Too bad we can't look at clouds anymore ans wonder what shapes they may be, may infringe on two apple patents.
 
@StackedCrooked: gross ;)
 
@netcoder Useful if female is not available, if you're a shorter man. Otherwise, MELONHOLES
 
Xeo
@MooingDuck v.resize(3); std::generate_n(v.begin(), 3, rand);?
 
There aren't many generic iterators in the standard.
 
6:18 PM
What I hear when I listen to the foreman explain how the jury came to that verdict in the Apple case. "Chewbacca is a Wookie, who lives on Endor. Therefore Apple wins!"
 
Xeo
Or .reserve and backinserter
 
@Xeo Dats not an iterator.
 
Xeo
@CatPlusPlus But it achieves what he wants :)
 
@Xeo I was thinking of those posts where they are like "why is vector so much slower than raw array". a generate iterator would be as fast as a raw array, but resize requires pre-initialization, which seems to be the root of the problem.
 
Xeo
@MooingDuck v.reserve(3); std::generate_n(std::back_inserter(v), 3, rand);
 
6:20 PM
@Xeo backinserter keeps having to check the capacity and keep changing the current size: still slower than raw. closer though.
 
Xeo
@MooingDuck ah, I see where you're coming from now
 
sorting algos -> Instant "I'm not going to even bother reading your question." Seriously, is algorithms, five extra characters, too hard to type? — Drise 49 secs ago
 
unrelated: I think input/output iterators should have the requirement of being dereferenced exactly one before each increment. That would make them SO much easier to make :(
 
If I want to get the subtype C in A::B::C; then where do I squeeze in the second typename?
 
Xeo
@StackedCrooked nowhere
if you access a nested something, then B has to be a type, if A is one
 
6:23 PM
Really?
 
Xeo
typename A::B::C ...;
 
Ah, that makes sense.
Maybe struct A : B, B::C {}; is more elegant. Just kidding!
 
@Xeo A also has to be, for the same reason. The typename disambiguation applies to the qualified name -- here, C (well, A::B::C).
 
Xeo
@LucDanton namespace A{ using B = int; } :) I was talking without the typename context specifically
 
Well that's just misleading!
 
6:30 PM
@JerryCoffin I don't really consider it repwhoring until it gets to the point where someone knowingly answers a question that is guaranteed to get multiple identical correct answers within the first few minutes. The exception of course is that the person is very sure that his/her answer will be the best one.
> You've earned the "Yearling" badge. See your profile.
It's been a year already since I've joined... wow time flies.
 
@Mysticial Time flies like an arrow. Fruit flies like a banana (your task: write a parser that correctly identifies parts of speech in both sentences).
 
@JerryCoffin Can you parse sentences with regex?
 
@Mysticial Depends what you mean by "sentence".
 
@Mysticial I have 3.
And in a month, I'll get fourth.
If that's not terrible, I don't know what is.
 
@CatPlusPlus You sad cat.
 
6:37 PM
@CatPlusPlus You're old. :)
 
@Mysticial You can't really parse much of anything with regex. Regexes are only good for tokenizing, not parsing.
 
Also, you should be doing each test individually. Things may happen when you do all tests in the same program. — Drise 3 mins ago
I swear Ive seen this before. Is this true?
Anytime someone runs 3-4 tests in the same program, one of the "solutions" is to make them individual.
 
@CatPlusPlus I'm apparently about a year younger than you.
 
@Drise kindof, due to caching
@Drise my fav solution is do each test twice, and tmie the second.
 
@Mysticial It's been a year, and you have nearly 25 times my rep? shiiiittt
 
6:43 PM
dotest1();
begintimer();
dotest1(); //this way all tests equally hot
endtimer();
 
@Drise He got lucky with that branch prediction answer.
 
@Drise I repwhored for a few months.
 
@EtiennedeMartel He was at ~50k. He lost most of it to the 200 cap.
 
@EtiennedeMartel So far I've gotten about 7k from that answer.
Slightly less because it pushed a lot of other votes over the cap.
 
I need to step up my repwhore efforts then
 
6:44 PM
@Drise give up, the likes of you and I will not approach the Mysticial.
 
@EtiennedeMartel Put it this way, that </<= question is about to overtake that denormal float question... So I no longer dominate the tag.
 
@MooingDuck I repwhored the shit out of edits. But I got so severely scolded that I'm afraid to do any more editing now.
 
@Drise hahaha I don't think "repwhored" is the word for that, since it tops out at 200, and it's only like 2 rep each
 
@MooingDuck I just want all the fun privileges you all have. Mostly the edit powers.
 
@Drise yeah, those are nice
 
6:47 PM
see july 14th and 16th
 
I find the 10k tools nice. Since you can see all the deleted shit...
 
It's a bad game and rewards are bad.
 
@Drise Answer some questions. One good answer will produce more rep than all the edits you've done put together.
 
@JerryCoffin I do, but the likes of most of the regulars here, combined with luchian, kill any of my attempts.
 
I remember days where there was no rep for editing.
Or editing without rep.
 
6:49 PM
And also my knowledge scaope is quite small, so when one does come up, I'm beaten out.
 
@Drise I merged my answer into yours once I recall, to get you rep :D
 
@Drise Answer anyway.
 
@MooingDuck You did.
 
@Drise Luchian doesn't even stop at the repcap. That's what's scary. Jon Skeet of C++.
 
Also pick a less-travelled tag.
 
You can answer 90% of SO questions just Googling the damn thing.
 
@CatPlusPlus Most Vb.NET questions are about some stupid excel sheet or something
 
I've answered questions about things I've never even seen before in my life.
 
He nails a 200+ yesterday and continues answering as if the repcap means nothing...
 
And I got rep and ticks.
 
6:50 PM
You can get 90% more rep by answering the questions that can be googled than by answering challenging questions.
 
@Mysticial He's not playing the game, good for him.
 
23
A: what is (1<<OCIE0A) in C?

Mooing DuckJudging from the results of a google search, it appears* to be the name for the the bit that controls "Timer/Counter Output Compare Match A Interrupt"* in the "Timer/Counter Interrupt Mask Register"* of a "8 bit AVR Microcontroller"* It's usage is as follows*: TIMSK0 |= _BV(OCIE0A); // enable c...

 
@CatPlusPlus Hehe, me too.
 
@CatPlusPlus I sure as hell took some time off after that branch predictor question.
 
I just googled it and to 230+ rep
 
6:51 PM
I have a "Nice Answer" badge in Erlang, and I had never ever seen it before.
 
I have a "Nice answer" about wordpress of all things.
 
@Mysticial Kerrek is like that too.
 
@MooingDuck Lol, I can't upvote, lest All 4 of my votes go away for you today.
 
@Drise It's my highest-rep answer too :( And I still have no idea what it says.
 
You can find stupid silly questions like this and answer them.
http://stackoverflow.com/questions/12220885/how-do-computers-prevent-programs-from-interfering-with-each-other/12220953#12220953
 
6:53 PM
@MooingDuck lol
 
@R.MartinhoFernandes it's really sad now that I see that :(
 
I thought we were supposed to post "Shutup, your question is stupid." comments on those.
Or was that not leave... Hmmm.
 
@Chimera Now you on the other hand have not recieved my 3 votes of the day, so there ya go.
 
@Drise Why thank you!
 
Also note: I've started to care less and less. SO chat is just too fun to leave, however.
 
6:58 PM
@Drise agreed
I just want 10K rep
 
Minecraft is starting to take over again. Stupid Tekkit modpack making it fun again.
 
@Chimera I stopped caring at 10k, but then I started caring again at 19k, at 29k, 39k, and now that I'm at 49k I'm caring again. I wonder why. :P
 
@R.MartinhoFernandes :-)
 

« first day (685 days earlier)      last day (4264 days later) »