« first day (29 days earlier)      last day (4909 days later) » 
00:00 - 21:0021:00 - 00:00

12:00 AM
@FredOverflow C had the same idea, but (as used to be pointed out frequently), the value of "C++" is "C" prior to the increment...
 
@JerryCoffin I'm pretty sure C++ standardized this notion first...
 
@JerryCoffin you beat me on clarity =)
C's standard existed 9 years before C++'s one.
 
@JerryCoffin Ah, good old "one increment isn't enough" jokes :) Sadly, C++++ does not compile.
 
At least ++++++C isn't UB anymore on C++0x xD
 
@JohannesSchaublitb But they didn't talk about "one-past-the-end" pointers prior to C++, right? Just like they stole const from C++ they stole "optep", I believe :)
@JohannesSchaublitb It isn't? I can finally sleep at night :) I keep saying we need a FAQ on sequence points (and however the corresponding concept is called in C++0x -- being sequenced or something).
 
12:06 AM
xD
 
@Johannes: Can we get C++0x to compile? The best I could come up with is C+ +0x0 :(
 
@FredOverflow i think we can't
but maybe there is some weird hack xD
 
operator++(int) with its dummy int parameter does not help, does it?
 
@FredOverflow K&R1 doesn't explicitly mention the one-past the end rule, but makes use of it.
 
@FredOverflow i don't think so :) user defined literals could come to the rescue, but they won' thelp either :)
 
12:15 AM
How about this? :)
struct S
{
    void operator++()
    {
    }
};

#define C

int main()
{
    S Ox;
    C++Ox;
}
 
Another guess answer being accepted...
0
Q: C restrict with typedef

rogiHi people, i'm doing some code now and got some problem using restrict keyword. typedef int* pt; int foo(pt a, pt b) { ... /* stuff */ } What if I want to make a and b restricted? The code below failed: typedef int* pt; int foo(pt restrict a, pt restrict b) { ... /* stuff */ } Thanks i...

 
@FredOverflow Not really -- that just gives post-increment instead of pre-increment. The problem is that I can't see a way 0x (by itself) can be parsed at all.
 
@JerryCoffin I cheated by replacing it with Ox :) My code actually compiles :)
 
@FredOverflow yes, I see. Not bad...
 
@FredOverflow haha
(++Ox
dammit how can you suppress sending when you want to enter multiple lines?
 
12:18 AM
shift+enter
 
(++Ox
);
haha
 
Yeah but ( does not really look like C
at least not on my screen
 
""[++Ox
  ,0];
lol
 
Why the ""? Oh, you are indexing it. Pretty nifty :) I would "accept" that if it was an answer to a question :)
 
ohh nice! though I suspect it would be closed as "subjective or argumentative" because of the font factor haha
 
12:26 AM
@JohannesSchaublitb LOL
 
 
2 hours later…
2:29 AM
I may have seen too much code this weekend.
#include <algorithm>
#include <vector>

namespace {
template<class Fwd, class T>
Fwd lower_bound(Fwd first, Fwd last, const T& value)
{
    return first;
}
}

int main(int argc, char* argv[])
{
    std::vector<int> v;
    std::vector<int>::iterator i = lower_bound(v.begin(), v.end(), 4);
    return 0;
}
Do you seen any problem with this code? Grammatically speaking.
Hello?
<echo />
 
2:51 AM
@wilhelmtell ADL may or may not be a problem. it's late.
 
@AlfPSteinbach but i thought koenig lookup only takes place at the absence of another resolution.
That is the issue here.
But I didn't think it'd be an issue, because there is a name to resolve the name, without digging in the std namespace.
Argh.
 
@wilhelmtell I can rationalize it either way. Which rule do you want? <g>
 
huh?
 
@wilhelmtell common game of "explaining" C++ rules by rationalizing them, that is, inventing plausible reasons for why they are as they are
 
There is no "rationalize" here. The compiler says the call is ambiguous. I say it isn't. The compiler won't listen, even if I shout.
@AlfPSteinbach I don't like this sort of games. I do try to make a reputation here for someone who doesn't need silly pedagogical games.
Ew. Never mind.
 
2:59 AM
Comeau C/C++ 4.3.10.1 (Oct 6 2008 11:28:09) for ONLINE_EVALUATION_BETA2
Copyright 1988-2008 Comeau Computing. All rights reserved.
MODE:strict errors C++ C++0x_extensions
In strict mode, with -tused, Compile succeeded (but remember, the Comeau online compiler does not link).
Compiled with C++0x extensions enabled.
Which compiler u using?
OK, both g++ and msvc choke on the code. To use global, prefix with ::. To use the one from algorithm, prefix with std::. And forget about SO rep points... :-)
 
@AlfPSteinbach I know that. I was talking about koenig lookup. Koenig lookup is a "backup" pathway for when the compiler doesn't resolve a name in the obvious manner. There is a name here.
Koenig lookups shouldn't pose ambiguity unless they bring in two conflicting names.
 
It seems Comeau agrees with you. And Comeau is almost always right. Do you want me to check the standard?
 
And obviously I'm getting koenig lookup wrong here, because that's not the way g++ works right now.
 
I'm just whiling away some time anyway
 
I just wanted to know if I'm losing my sanity here. I've been friggin codin all weekend so it's very possible I dumbed myself down to the extent I can't see what's infront of my damn nose.
</grumpy>
 
3:12 AM
Well, if we're done with the grumpy tag...
<party>
 
It seems both g++ and msvc get this wrong, and Comeau (not surprisingly) gets it right.
 
Good morning everyone. :-)
 
Hey @PrasoonSaurav. Sup.
 
@wilhelmtell : have to have a shave today. ;-)
 
@PrasoonSaurav Ah. Movember. Same same.
 
3:17 AM
@wilhelmtell : I have to. My beard to an extent looks like his beard. ;-)
 
I couldn't if I wanted. My european origins wouldn't let hair grow even if I watered it.
 
You just have to apply some fertilizer, that's all
 
Fertilizer?
Manure is organic matter used as organic fertilizer in agriculture. Manures contribute to the fertility of the soil by adding organic matter and nutrients, such as nitrogen, that are trapped by bacteria in the soil. Higher organisms then feed on the fungi and bacteria in a chain of life that comprises the soil food web. In the past the term "manure" included inorganic fertilizers, but this usage is now very rare. Types There are three main classes of manures used in soil management: Animal manures Most animal manure is feces. Common forms of animal manure include farmyard manure (...
 
Oh well, I was thinking of how in int x = 42;, the x is fertilized with 42. "Initialized"?
 
3:27 AM
I think I remember that from C++ Coding Standards: Leave no variable unfertilized.
 
@JamesMcNellis int arr[GAZZILLION_AND_TWELVINTY] = {0} is unnecessarily expensive to fertilize.
Wait wtf am I saying. It's at compile time. Never mind, ignore the schtroumpf.
It's alright everybody, it's ALRIGHT, we can fertilize them arrayses.
 
@wilhelmtell Your stack will overflow if you put that much fertilizer in it. You need to make it static, then it's all zero-fertilized anyway.
 
lol... I like the question that just appeared in the feed: "Please give me C# program"
I can't imagine why it was closed so fast.
And on that sarcastic note, I'm outta here!
 
3:43 AM
Lokoed like TopCoder question.
 
Hehe :D:D
 
ok night
 
but they say it was fixed back in 2004
 
 
1 hour later…
4:58 AM
Hi, if someone is good with shaders and their performance, could you please see the following: stackoverflow.com/questions/4176247/c-shader-question
Thanks :)
 
5:41 AM
Hi all !!! can somebody give me an idea how to make a C or C++ program which takes a file name(a string) as input and search that file in my computer or in some particular directory?
 
@HappyMittal Using system() might help you. BTW I have created a FAQ thread for Undefined Behaviour and Sequence Points. Read it if you like.
0
Q: FAQ : Undefined Behavior and Sequence Points

Prasoon SauravWhat are "Sequence Points"? What is the relation between Undefined Behaviour and Sequence Points? I often use funny and convoluted expressions like a[++i] = i;, to make myself feel better. Why should I stop using them? P.S: This is tagged c++-faq so you must read the following threads before...

 
@PrasoonSaurav Yeah I am reading that. Good Job done but I would be more interested in C++0x changes in sequence points.
 
Yes I have said that C++0x stuffs to be added later. :-)
@HappyMittal Upvote it if you like the answer ;-)
 
Can you elaborate how system() can help me ? AFAIK, system() is used to run some other program from currently running program.
 
Yes on Unix you can use find inside system()
 
6:07 AM
@PrasoonSaurav I have windows 7. Is there a way that I can use Unix commands ?
 
6:35 AM
Use Cygwin.
 
@PrasoonSaurav Cygwin isn't working in Win7. BTW I have found an option in Win7 to turn on feature of Unix Utilities.
 
@HappyMittal Which option?
@sbi That didn't work well. Got 3 downvotes.
1
Q: FAQ : Undefined Behavior and Sequence Points

Prasoon SauravWhat are "Sequence Points"? What is the relation between Undefined Behaviour and Sequence Points? I often use funny and convoluted expressions like a[++i] = i;, to make myself feel better. Why should I stop using them? P.S: This is tagged c++-faq so you must read the following threads before...

 
In control panel -> programs and Features -> Turn windows features on or off -> subsystem for UNIX based applications
 
6:50 AM
Oh yes! Thanks.
 
 
2 hours later…
sbi
8:42 AM
@PrasoonSaurav But you also got 7 upvotes - and that's just for the question.
(In hind-sight, it might have been better to post that while most of the C++ regulars are online.)
 
9:02 AM
@sbi Yes right. BTW I have decided to post C++0x stuffs as a separate answer. What do you think? Should I merge it with the original answer or ...?
 
sbi
I think this should be merged right away. Otherwise we'll have to make a sweep in two years and merge them. And people are already using C++1x features.
 
Waaaaassssssssuuuuuuuuuuuuuuuuuuuuppppppppppp?
 
Not so much writing tons of wrapper code
 
@JamesMcNellis Why only one 'W' and so many 'a', 's', 'u' and 'p'? :P
 
@PrasoonSaurav My "W" key is the one key that doesn't stick.
 
sbi
9:15 AM
@JamesMcNellis So what? Are you that easily overcome? Just press it more often.
 
@sbi got a downvote on the answer and another downvote on the question. It was a bad idea it seems. :)
 
sbi
@Prasoon It is an FAQ entry. It isn't closed. It has more ups than downs.
Wait what the day might bring.
I'm going to be afk now for most of the day. See you.
 
How can I make ifstream take a string?
I tried using c_str but I still doesn't like it
 
Sometimes I think it might be better just to ask a FAQ question and wait a while before posting your own answer...
@sbi Posting on a Monday morning is always more profitable than posting on a Saturday (US times). You're guaranteed far more traffic to your question.
 
Huzzah it's working
 
9:59 AM
do you know how to use XML with C++ ?
 
10:55 AM
@PrasoonSaurav Yay!
 
sbi
@Fred I just commented on your FAQ from yesterday, I disagree with its title.
On a side-note, since you un-accepted my answer, yours has been gaining again. :) (I'm sure SO would make for a very interesting study on group dynamics for a bunch of psychology students.)
Re the FAQs: Prasoon's did get a bunch of down-votes, and the expressed sentiment that "this tag looks like something that's going to become a reputation honeypot for copying" the C++ FAQ-Lite. Also, I _strongly_ prefer converting _existing_ questions to FAQs, although I can see that nobody who doesn't know it would ever ask about C&W, RoT, etc.
_If_ we add another FAQ, it might be better if someone asks, and someone else answers. That would shut up those who are quickly to down-vote or close such questions.
What do you all think about this?
(Dang, morkdown doesn't work in multi-line messages. And that's called a feature!)
 
12:02 PM
Any body having idea about the correct usage of DIA SDK...?
or can direct the proper chat area from where I can discuss the issue regarding DIA SDK...?
 
12:16 PM
job ...?
I am about to take the names and types of function arguments..that's optimized by the compiler from DIA SDK
again I am unable to get the what u meant by "field"
Software Engineer by profession
Programmer
 
1:12 PM
@sbi it's fine with me if someone asks and someone else answers.
 
1:31 PM
heloo i asked this question and it was closed stackoverflow.com/questions/4177014/…
why
helooo anyone there.
 
If I have static data in my class, and I want my first instance to set up this data... how can I check if the variable has been set that I want to sort out... because I have to assume that it is not initialised at first don't I?How can check what the value of a variable is with out knowing if that variable has been initialised?
wait... never mind
really should read just that littel bit more befor asking
 
1:54 PM
hmm
so now another "Undefined behavior and the Sequenced-before relation" is in order xD
 
sbi
@surajkumar As it says, it was closed as a duplicate. Questions like this get asked about twice a week.
Read the answers to the questions linked to, especially the very good wrapup of the topic by @Prasoon, and be enlightened.
Wow, it seems now everybody has finally got out of bed and shows up here. :)
Hi everybody!
I suppose you have all seen Prasoon's FAQ about sequence points?
10
Q: FAQ : Undefined Behavior and Sequence Points

Prasoon SauravWhat are "Sequence Points"? What is the relation between Undefined Behaviour and Sequence Points? I often use funny and convoluted expressions like a[++i] = i;, to make myself feel better. Why should I stop using them? P.S: This is tagged c++-faq so you must read the following threads before...

 
ok i did not have the idea that similar questions have been asked before.
his answer is good.
 
There is another sequence point in C++ in addition to those in C: After the return value has been constructed (if any) and before execution of the called function continues. This sequence point takes place (according to its footnote) also when the function is terminated by an exception.
 
sbi
@surajkumar That's Ok, really. If you don't understand what your code does, you hardly ever know what words to search for. It's fine to bring your question here. Just don't be offended when it's closed.
(And with all the ++i + i++ questions people might roll their eyes a bit when they see yet another one. But you couldn't know that, so you are excused. Again, don't be offended.)
 
formally it goes like " There is also a sequence point after the copying of a returned value and before the execution of any expressions outside the function." (it should however say that this doesn't depend on whether or not there is an explicit return statement, like the footnote says).
tho the footnote says it is implicit in C because of the full-expression in the return statement. however if there is no return statement with an expression (return; or no at all), i wonder how the sequence point is established in C. Hmm
good that c++0x ditched sequence points :)
 
2:08 PM
ok.. his answer is a very long one. what are those §5.14, §5.15 things?
 
from Prassoon's answear int x = x++ + y++ does that not turn into int x = operator+(operator++(x),operator++(y));
 
sbi
@surajkumar They are references to the C++ Standard. If you ask me, that's neigh impossible to read. I can't stand its meter. Others here seem to know it by heart.
 
or `x = operator+(operator+(x,1),operator+(y,1));
 
sbi
@thecoshman It does. But (without looking up the reference in his post) that doesn't tell you the order in which the function arguments (the expressions) are evaluated.
 
well, the only thing is that you don't know if x++ happens before or after y++ and I don't see the problem of that
 
sbi
2:13 PM
And, no, operator++(x) is not automatically re-routed to operator+(x,1), although an implementation could do so.
 
@sbi i also think that c++-faq answers should be less on quoting the standard
 
sbi
@Johannes Fine, Prasoon is... Oops. Was here just 5mins ago.
@Prasoon? Do you copy?
 
yes it seems he has quoted various standard stuffs. is it a good thing?
 
this example: 'int x = x++ + y++; //it is unspecified whether x++ or y++ will be evaluated first.' should probably be replaced by an expression or statement that has defined behavior? (like something with function calls and arguments that print something different on different compilers or such).
 
sbi
@suraj If nothing else, the standard is the definitive answer to every question. :)
 
2:18 PM
yay the linked example of is very nice imho.
 
johannes i can't see int x = x++ + y++. i see int z = x++ + y++.
 
@surajkumar oh they have different names. I read it as "x++ + x++". alright so it's defined (in fact the variable name should be different, like you say tho xD).
 
I am fine doing something like this with templates... push<class T>(T data){}; push<class T>(T data, T data2){};
 
i was confused at the beginning abt unspecified behavior. but the linked example made all clear . stackoverflow.com/questions/3457967/…
 
@surajkumar oh haha i was looking at an old revision :P
@sbi hey got a q. what does it mean to be an "owner" of a rooom?
 
2:30 PM
err... link errors ;(
 
@thecoshman Are you trying to declare templates in header files and implement them in cpp files? That doesn't work, unless you have the Comeau compiler or something.
 
you need the definition where you call them
if you call them in the same .cpp file it is fine. but otherwise it's not (generally)
 
Will C++ ever get a proper module system? :)
 
@FredOverflow nah, I was just asking about templates as a side thing
I think its my static data member that is giving me grief
 
so how can we split up the template world into small pieces that can be handled by a faq?
i mean by a single faq entry?
 
2:33 PM
@JohannesSchaublitb You want to say everything there is about templates in a single answer? Really? :)
 
@FredOverflow by the life of me i don't want
i mean how can we split it up so each part canbe handled by a single faq entry
 
@JohannesSchaublitb The question is: do we really need a seperate faq for every single template aspect? Most template uses and tricks are quite obscure and unlikely to be a FAQ, right?
 
no we don't need a separate faq for every single template aspect, i think :)
but putting everything into one big answer surely is also not possible :)
 
do I need to declare ALL my static data memeber like this class foo{static int count;} int foo::count = 0;
 
@thecoshman you can leave off the later definition if you don't use foo::count
 
2:37 PM
@JohannesSchaublitb but if I do want to use foo::count I do have to initialise it like that
 
that means, if you always in any case immediately read the value from foo::count. if you want to bind a reference to it or otherwise imply the existence of an address of it, you need a definition
 
3:06 PM
@thecoshman By the way, int foo::count = 0; is not merely a declaration, but also a definition. (Or is it just a definition? :)
 
all definitions are declarations. in c++0x, on eshould take care that explicit instantiation definitions aren't explicit instantiation declarations (which have sort of the opposite effect)
 
@JohannesSchaublitb But it's illegal to say int foo::count = 0; if there is no corresponding declaration in class foo, right?
 
@FredOverflow yes indeed
you cannot use a qualified name if the thing you referenceis not declared yet
 
A related sanity check: a header file containing only declarations does not need include guards, right?
Is that such a hard question? Should I ask it on SO? :)
 
@FredOverflow hmm, can't think of any case where it would cuase problems
except when you do funny things
 
3:21 PM
@JohannesSchaublitb What would be a funny thing?
 
int f(long); void f(unsigned long = f(0)); <- including this twice results in a compile time error
 
@JohannesSchaublitb That's too funny for me to understand right now :)
 
Are you sure it's not the other way round?
 
hmm even void f(int = 0); should result in an error
 
3:24 PM
oh wait it's the return type, got it
 
but a different one (depending on how the compiler analyzes the declarations)
@FredOverflow nono
 
whatever, i'm talking about "sane" delcarations :)
 
first you have int f(long); and call it with f(0) it will resolve to that declaration. but then in the second one you have int f(long); and void f(unsigned long); and call with f(0) and this is then an ambiguity
but void f(int = 0); is much simplier: void f(int = 0); void f(int = 0); specifies a default argument twice (invalid) :)
 
ah, because 0 is int, got it. With 0L it would be ok, right?
 
yep
then then you still have the duplicate default argument case :) but i think this is a lame example :)
another one might be struct f; typedef f ftype; :)
err. struct f; typedef f f;
or wait.. that'S fine. nvm :) struct f; void f(f *); <- this will fail though
 
sbi
3:39 PM
@JohannesSchaublitb Room owner is the person that created a room, plus the persons nominated by him/her, plus those nominated by them...recursively. Room ownership comes with certain privileges, like the ability to change aspects of the room (name, descr, feeds, access), "pin" messages (those two with the yellow stars with black outline on the right are pinned, rather than just starred), and maybe other stuff I don't know about.
Why are you asking?
 
i just found my pic in there and wondered about that xD
 
1
Q: What are aggregates and POD's? How are they special?

Armen TsirunyanWhat are aggregates? What are POD's? How are they related? How and why are they special? Disclaimer: This is my contribution to the C++ FAQ. Yes, I asked the question and I answered it, and no, I am not going to mark this as community wiki because, yes, I would like to earn upvotes/reputation ...

 
sbi
@PrasoonSaurav I was in the process of posting this here. You beat me to it!
 
sbi
@JohannesSchaublitb Oh, so someone must have added you. I don't know who and why, but it's fine with me.
 
3:44 PM
ohh i see now.
 
4:21 PM
hi all again :)
 
hello there =)
 
@sbi said you were discussing something interesting and offered me to join
so...? :)
 
sbi
@Armen I said "over last few days"!
 
oh... sorry I misread
 
sbi
4:23 PM
It seems now everyone who was here is pondering your question, your answer, and the endless comment debates that came from it. :)
 
like, brace elision i talked about i meant this technique
12
A: How to initialize nested structures in C++?

Johannes Schaub - litbYou initialize it normally with { ... }: Player player = { vector<float>(xcords,xcords + (sizeof(xcords) / sizeof(float)) ), vector<float>(ycords,ycords + (sizeof(ycords) / sizeof(float)) ), 5, 1, 5, 1, 5, 1, 5, 1, 1.0f,1.0f,1.0f, //red, green, blue ...

 
Kev
@Armen - not having a go at you by the way :)
 
wait a second, I'll look it up what having a go at someone means :)
 
Kev
@armen - I think your article could be broken down into smaller bite sized chunks just like how I edited the question. Maybe two articles about aggregates and POD's and one that discusses how they related but referencing material from bother of the other articles?
 
sbi
@Kev Thanks for showing up here, and thanks for that statement!
 
4:33 PM
@Kev: How do you suggest to split it? Redirect from the POD article to the Aggregate article? Or completely refactor it? I
 
sbi
To me splitting it into several answers seems fine. If need be, maybe they could even be linked from the question?
(Hi John!)
@Kev & @Armen Would you mind removing those disclaimer discussion comments? They really clutter the other aspects discussed there, and now that this is settled, there seems to be no need for them to remain there for all eternity.
 
Kev
I think you could have an entry point question that is along the lines of how it is just now but with an answer linking to three different questions?
wilo
@sbi - wilco
 
@sbi OK
 
i would go with: One showing what an aggregate is; One showing what a POD is; another showing how to work with aggregates (aggregate initialization); another showing how to work with PODs (like you do at the end of your answer - i.e using memcpy and so on).
 
sbi
@Armen & @Kev Great, thanks!
 
4:39 PM
There is a problem with that. As you can see my article is so designed that parts are not independent and I refer to different parts from different parts. Lexical splitiing will not do. So it must take some time and thought as to how to refactor it. Honestly I wouldn't like someone else to do the breaking-up. On the other hand I myself will be able to do it not instantly.
 
Kev
@JohannesSchaublitb - that makes sense
 
all the four have many material you can show. for aggregates, you can compare them with how they make against constructors. like, aggregates allow t = { ... }; but not T(....), and such
 
sbi
@JohannesSchaublitb I also like this idea. Who will do it?
 
@Johannes. @Kev: Again, I agree, but is it OK if I do it myself and a bit later? In a matter of a week?
 
i won't. i will watch the situation from far outside :)
 
4:40 PM
When I do it, we can ask a moderator to delete the BIG answer
 
Kev
@Armen - take your time and get it right
 
@ArmenTsirunyan indeed. :)
 
Howdy, C++ Loungers
 
@Kev, @Johannes: But I would go with 2 instead of four. Defining an aggregate in one articale and taliking about its uses in another seems artificial, no?
2 - one for aggregates, one for POD's
Alloha John :)
 
Kev
@armen - you won't need to delete the big answer. as you factor out say the aggregates stuff, just edit out and reduce the scope of the answer and the question.
 
4:42 PM
@ArmenTsirunyan yeah
 
@Kev, @Johannes Yeah, so after I have refactored, I'll leave the original answer to refer to aggregates only and the new answer for POD's. Agreed? :)
 
Kev
@armen yeah, something like that
 
sounds sensible
 
Kev
is C++ Faq the only sanctioned FAQ on SO ? are there others?
 
Does any of you know Stroustrup (did I spell him correctly? :) personally? Just interested :)
 
4:49 PM
when you ask in ##c++ among the 700 people in there maybe one or two have met him personally once.
definitely one of them, since he's a committee member :)
 
sbi
@Kev It all started out with this question from me on meta:
40
Q: Setting up a FAQ for the C++ tag

sbiA while ago Neil Butterworth, one of the most highly reputed people in the C++ tag (he has given so many good answers, that in the two months since he left, his defunct account has amassed >2000 rep from old answers), left here, obviously in frustration about Stack Overflow. I have since heard a ...

 
Kev
@sbi - yeah...just reading that now
 
sbi
We've since discussed it a lot here, started to re-tag old questions with c++-faq, and then GMan's copy-and-swap posting made people start writing up on other badly needed terms and concepts.
Anyway, I'm afk now for a few hours. Have fun!
 
Kev
catch you later
 
5:14 PM
It just came to me, what about having multiple answers to the same C++-faq question, instead of multiple questions with only one answer?
 
@JohannesSchaublitb Its a good idea.
 
 
2 hours later…
sbi
6:49 PM
@JohannesSchaublitb Yeah. Steve found this one:
27
Q: What are POD types in C++?

ceretullisI've been following SO for a bit now, and I've come across this term POD-type a few times... what does it mean?

Bugger.
Should we request to merge them?
@Steve & @Armen What say you?
 
7:22 PM
how does merging work?
who will own the question and the reps it generates?`
 
One question gets merged into another.
My understanding is that all the answers from one question get moved to be answers to the other question.
The diamond mods have some magic button that does it.
 
hi guys!
 
hi guys
 
sbi
@JohannesSchaublitb You'd need a moderator to agree and do it. All the answers of one question get merged into another.
@Harshad @BeeBand Hi!
 
just been reading over the conversations - can anyone help out with the faq?
 
sbi
7:33 PM
Which FAQ?
 
sorry, the C++ faq
 
sbi
Sorry for being anal, but I still don't know which one you're referring to. There's the C++-FAQ-Lite, that's mostly managed from comp.lang.c++.moderated. And then there's been efforts here to generate a SO C++ FAQ.
The latter more or less started with this posting to meta:
40
Q: Setting up a FAQ for the C++ tag

sbiA while ago Neil Butterworth, one of the most highly reputed people in the C++ tag (he has given so many good answers, that in the two months since he left, his defunct account has amassed >2000 rep from old answers), left here, obviously in frustration about Stack Overflow. I have since heard a ...

@BeeBand So?
 
ah no, sorry i should have been more specific. i mean the SO C++ faq. i'm guessing that you're a moderator for this..?
 
sbi
Moderator for what?
(And. no, I'm no moderator for anything on SO.)
 
for the SO C++ faq
ah ok. no worries. i was just wondering how to contribute.
 
sbi
7:38 PM
@BeeBand That statement makes no sense. I'm one of the people who came up with the idea, and I'm spending a lot of time on this, but other than my rep allowing me to edit other people's post, tag wikis, and re-tag, I have no power.
@BeeBand Great! Ideas?
 
what do the rep points on stackexchange tell?
 
none as yet, i was just wondering how I would contribute.
 
sbi
@BeeBand Don't be intimidated. Come forward! I don't know you, and I don't know your expertise, so I can't suggest anything for you.
 
is it just a matter of posting a question/answer?
 
sbi
Actually no. have you read the tag wiki?
 
7:43 PM
no, apologies. i'll do that now.
 
sbi
Basically, the idea is to find frequently asked questions with great answers and re-tag them as such, so that it would be easier to find them to point at them when you want to close duplicates.
 
right. i see. ok great.
 
sbi
Since there are questions newbies never ask, but where the answers to them nevertheless make good answers to the questions they do ask, a few people have started to come up with questions that they thought had never really been asked and provided comprehensive answers to them.
However, that's not the way it ought to be continued. The answers of one of such questions have already been merged into a duplicate question we've only found later, and another one was debated the moment you came in here.
I think the general consensus is that it's better to take "real" questions and turn them into FAQs.
 
i see. hmm. ok.
 
sbi
(Keep in mind, though, that this is my understanding of the consensus. :))
 
7:49 PM
haha ok. fair enough.
 
sbi
Really, what triggered this was regulars being pissed that SO makes it so hard to find duplicates that they know are there, but can't find.
This is more or less an attempt to make closing of duplicates easier.
Of course, over time this might also become a great well of C++ knowledge.
But that we only hope, but don't know.
 
right. yeah well hopefully. no i think it will become a great well of C++ knowledge. i've learnt tons since i've been here.
 
sbi
Good!
 
well i'm teaching myself templates, so maybe it could benefit from a newbie perspective... i'll do some trawling and see if i can come up with any duplicates
 
sbi
Where everyone can help is in weeding out the dupes. Read through the FAQs that are already there, so (you learn even more and) know what's already here. If a question comes along you remember being answered in the FAQs, point it out.
 
7:52 PM
okeydoke
 
sbi
@JohannesSchaublitb Rep on SE? Do you have a link?
 
@sbi like, the number it displays for me on this site: area51.stackexchange.com/users/17853/johannes-schaub-litb
no preview :)
ohh wait there is a FAQ too!
 
sbi
I dunno. And it's not as if the rep history tab were any useful:
(No preview either, although this started to fetch.)
Did you actively register for area51?
Because I can't find an account for me.
 
lol there is no history xD
yeah i registered
 
sbi
Wow. Area51 has about a dozen sites that are through the beta, and another dozen in beta. If this trend continues, Jeff and Joel will be taking over the web forum sphere withing half a decade.
Oct 31 at 20:00, by sbi
(That's a really nice feature of SE, BTW. If Jeff and Joel plan to take over the whole of organized discussion on the net, pointing out replies to me across forums from programming, to cycling, to cooking to parenting is a very big step into the right direction. Could turn out to be very addictive.)
 
sbi
@Armen Have you seen the discussion Steve and I had in the comments on your question?
Hey, it's funny to read the the tail on the Progress tab on area51!
Startups in South Carolina, Microsoft Exchange, Computer Security, Networking, Baby Care... :)
 
sbi
8:24 PM
I'm browsing through 60+ open tabs in my FF instance that houses SO (to close some of them). So I found stackoverflow.com/questions/4156512/operator-overloading, which ought to be closed as a dupe, but still needs two votes. Anyone?
Another one: Anyone of you C-ish and embedded enough to settle this comment dispute: stackoverflow.com/questions/4157010/…?
Here's another dupe needing three close votes: stackoverflow.com/questions/4164077/…
 
sbi
8:48 PM
And have you all seen this one:
56
Q: Propose a new 20k reputation privilege

Jeff AtwoodRight now, the maximum privilege "unlock" is at 10k reputation: http://meta.stackoverflow.com/privileges We're considering adding a new 20k reputation privilege, but having a hard time figuring out exactly what it should be. Two guidelines: I would like it to be more than cosmetic -- I'd pre...

?
 
@sbi wtf? surely that is backwards logic. Should they not think of task to let people do and then assign them a rep level to do it? Surely its just wrong to try and think of things to let people do
 
sbi
@the You might like this answer:
13
A: Propose a new 20k reputation privilege

Ian RingroseI think this is the wrong question to be asking, I would rather ask: What work would the modulators like to be able to delegate to the most trusted users? And What would we like the modulators to do quicker? Then see if 20K+ users or other uses can be given the power to help out.

 
@sbi sort of...
a dam it, it hate @the targets me :(
what if some one else has a name starting with the
 
well, account deletion apparently takes a few days
 
sbi
@thecoshman I know (you said so the other day), that's why i was doing it. :)
@RogerPate O boy. We'll all hate you when you leave us!
 
8:54 PM
but, @sbi, I thought I might include this viewpoint on [homework], to continue from earlier
 
sbi
Really, I don't get it. One day you're all over the place, online 24/7, giving helpful comments and doing janitor tasks, and when that bests you, you don't stop overworking, but leave the place for good? Sorry. But. This. Does. Not. make. Sense.
3
 
@sbi I know ¬_¬
 
@sbi: I wouldn't mind staying here in chat, but that requires some token rep; and that I was spending so much time is a contributing reason for the deletion
I've got to go help my friend finish moving; o/
 
00:00 - 21:0021:00 - 00:00

« first day (29 days earlier)      last day (4909 days later) »