« first day (636 days earlier)      last day (4315 days later) » 

10:00 PM
There was a meta post about this.
 
Xeo
Ah, I thought he did 2 edits on a single post
Of course, just removing those lines is perfectly fine
 
36
A: Suggested Edits add "Thanks in Advance"

randomThere is no policy change. "Thanks" is still clutter and does not need to be in the post. What you have here are people being dazzled by the formatting of the code block but would rather just hit accept than improve or reject it outright and edit it properly themselves. It's like getting a kiss ...

 
Xeo
I was talking about splitting up edits, as that's what it seemed he did (or atleast it came across to me as such)
 
243
Q: Should 'Hi', 'thanks,' taglines, and salutations be removed from posts?

GEOCHETI edit a lot of posts every day. I often run across posts with 'Hi' and 'Thanks' on the top and the bottom of the post respectively. I also run across things like: --User Should these items be removed during the editing of the post by an editor?

There it is.
 
185
A: Should 'Hi', 'thanks,' taglines, and salutations be removed from posts?

Jeff AtwoodWe now automatically remove salutations from posts as they are entered. I got really tired of performing this edit over and over, so anything matching the form of … ^ # begins at start of body \s* # possible spaces ( hii?(?![a-z])| # any of these greeting...

interesting
 
10:06 PM
@FredOverflow It obviously doesn't work. I just did probably 5 more edits.
 
How long does it take for edits to be reviewed? I just did about 6 of them...
 
@JimNorton 5-10 minutes. Depends
 
@Drise Alrighty
 
@Drise that's a lot of edits
 
10:09 PM
@JimNorton I found two
 
I gotta go. See ya guys on monday.
 
Cya @Drise
 
@Drise rejected one edit, you removed too much and made a question confusing :/
 
6 hours ago, by sehe
Damn, the bastard deletes the question right when I want to post my answer:
2
A: copying just specific lines in a file with vim

ConnerHere's a fun little idea. Paste this in your ~/.vimrc: command! -nargs=* Y :call YankList(<f-args>) fun! YankList(...) let yanklist = [] for i in a:000 if match(i, "-") != -1 let split = split(i, "-") let yanklist = yanklist + range(split[0], split[1]) e...

The guy will think twice about deleting a flimsy question next time :)
@Drise Call me lazy, but answering questions seems more effective
 
Fuck bash' escaping rules.
 
10:19 PM
my range interface is stupid
 
string.replace(file_path, '\'', '\'\\\"\'\\\"\'')
 
Ell
@DeadMG what is it?
 
stupid
 
well
 
Ell
as well as stupid, what is your range interface?
 
10:20 PM
@RadekSlupik no way. let's guess, python?!
 
atm it's basically a pair of iterators, except I said that you couldn't separate iterators from their host range.
it was simple to spec but I think a bad decision.
 
@Drise Maybe it only works for initial posts, not edits?
 
@RadekSlupik let bash do the escaping. set env variables instead. use printf %q (in bash)
 
@sehe Actually Objective-C, but you guys would laugh at me.
 
I promise I won't. No time
 
10:21 PM
@DeadMG Can you still change it, or is the Wide user base so large that you have to maintain backward compatibility?
 
@sehe The problem is, I need to put the string in an AppleScript.
 
@FredOverflow lol
 
NSString *escapedFilePath = [filePath stringByReplacingOccurrencesOfString:@"\'" withString:@"\'\\\"\'\\\"\'"];
    NSString *AppleScriptSource = [NSString stringWithFormat:
                                   @"tell application \"Terminal\"\n"
                                   @"    do script \"python '%@'; exit\"\n"
                                   @"end tell",
                                   escapedFilePath];
:P
 
the main thing is that I need to simply think about it some more
 
@RadekSlupik ouch
 
10:22 PM
Yes, that is Objective-C's string.replace method. >.>
stringByReplacingOccurrencesOfString:withString: so verbooosseee
That's four times the word string in a single line of code.
 
Ell
@DeadMG what do you mean cant seperate iterators from their host range?
 
@Ell Well, saying something like x := copy(range.Begin); is illegal.
 
Ell
right
 
but it was one of those things
I blindly copied it from C++ without really thinking about it
hmmm
I also think I forgot to add the ability to declare constructors...
 
Ell
isn't that quite a crucial ability?
 
10:28 PM
I'm about to develop a better alternative to ideone.com and just found the perfect available domain name, this is gonna be so dope
 
@Ell Not when you don't separate declaration and definition a'la C++
the only use of declaring a constructor is to have it implemented by DLL
regular member functions can be declared dynamic (virtual) too
 
Ell
@refp what is it?
@DeadMG ahh right. also, what is "dynamic"?
 
virtual.
 
@Ell somethingwhichIobviouslywontsharewitheveryoneuntil.Ihavebought.it
 
Ell
oops sorry didn't notice the edit
 
10:30 PM
but I needed dynamic for use somewhere else, and I was like, what the hey
why have both dynamic and virtual when their uses don't clash?
 
Ell
hmm I dont know about that
what is the other use of dynamic?
 
2
Q: Zeroing out anonymous union

FredOverflowI have the following anonymous union inside a struct: union { unsigned value; char name[4]; }; Can I replace the following code: name[0] = 0; name[1] = 0; name[2] = 0; name[3] = 0; With the following code? value = 0;

^ I'm not sure what answer to accept. Any of you guys planning to write a better answer? :)
 
@FredOverflow I wouldn't accept any of those.. and to be honest, since my question hasn't been given a good answer yet I doubt that yours will
18
Q: Set all bytes of int to (unsigned char)0, guaranteed to represent zero?

refp This is not a matter of recommended practise (nor undefined behavior), but about what the c++-standard actually guarantees in the matter of turning all bytes of an integer type to the value of (unsigned char)0. The Question(s) In the snippet below, is the expression used by the if-stateme...

 
"Why can’t there be an “ultimate” programming language?" - Because Chuck Norris is busyAdam Davis Mar 24 '10 at 17:26
lol
 
@FredOverflow it basically boils down to the same thing
though I would have written union {unsigned value; char name[sizeof(value)];};
 
10:35 PM
@FredOverflow DUDE.
 
Qt is kinda fun.
 
Y U tag both C and C++?
they have different union rules.
muppet
 
@DeadMG Because I'm interested in both? What's wrong with that?
 
now I've written this answer and it's a giant waste of time
 
also; C is more explicit when it comes to all bytes turn to 0 representations of numerals than C++
 
10:36 PM
@FredOverflow What's wrong with that is that there are two answers here, one for C, and one for C++, as they have different rules. If you want two answers, ask two questions.
because I sure as hell don't intend on answering the C question.
 
@DeadMG I'm interested in the C++(11) side of the answer though, post it in my question!
 
It's perfectly fine if you only answer the C++ part.
 
though if you are really digging into union rules it's a bit off..
 
@DeadMG At the time I asked the question, I wasn't sure if there was a difference.
 
well, you really should check before blindly assuming
I don't take kindly to writing answers and then turning out that actually, it's about C.
 
10:38 PM
@DeadMG same thing could be said to you though, "you really should check before blindly assuming"
 
Your C++ answer will still be appreciated.
 
sorry for pouring gasoline over the fire, but sadly it's true
 
@refp check what?
 
anyhow, if there isn't a special reason (such as when comparing two language) tagging both isn't recommended if you ask me
 
@FredOverflow Except by all those poor guys who come looking for the C answer.
if you want to ask about both C and C++, ask two questions.
 
10:39 PM
Fine, don't post your answer then.
 
@DeadMG the tags of the question before you write your answer, though I'm with you on this one
 
don't tag both just because you can
 
I wish set/map iterators exposed "iterator parent()" and "container<iterator> children()" members.
 
@FredOverflow I won't, and it's a pity, because it contained information not found in any of the other answers.
 
18
Q: Set all bytes of int to (unsigned char)0, guaranteed to represent zero?

refp This is not a matter of recommended practise (nor undefined behavior), but about what the c++-standard actually guarantees in the matter of turning all bytes of an integer type to the value of (unsigned char)0. The Question(s) In the snippet below, is the expression used by the if-stateme...

@DeadMG remove the union parts and answer that one, I'm really interesting in a definite answer to the question
 
10:40 PM
@DeadMG And starting the answer with "This only applies to C++, but" is unacceptable, right?
 
@refp Well that's just even worse. c and c99 and c++ and c++11?
 
it's the same question just written differently
 
@FredOverflow Yep.
 
@DeadMG c and c99 are the same language, and c++ and c++11 are also the same language. Oh wait, not true. c and c11 are the same language. c99 is outdated.
 
@DeadMG it's because the question itself deals with more than one language, the answer is all about C++11 though
 
10:41 PM
@FredOverflow So.. tag same language twice because there happen to be two tags for it?
 
and what @FredOverflow, it's not 4 languages.. it's two, and both of them are relevant to the question, and as said; the answer is c++11 only.
@DeadMG no, because it's about the C99 and C++11 standards, of the C and C++ language
 
I think sooner or later, we should get rid of the tag, because C++11 is C++ now.
 
@refp So all those poor fuckers who come to your question looking for a C answer are gonna completely waste their time.
 
Oh the humanity!
 
@DeadMG obviously since the first tag is C++ that should give them a clear hint of what is going down, and yeah.. they will "completely waste their time", it will take them millions of years to read the first sentence of the question: "This is not a matter of recommended practise (nor undefined behavior), but about what the c++-standard actually guarantees in the matter of turning all bytes of an integer type to the value of (unsigned char)0."
 
10:43 PM
right
but it's not about the time wasted, it's about the fact that doing so was completely pointless
there's no purpose and no benefit to having the C tags on there whatsoever.
 
0
Q: Preprocessor #define versus actual constants (C++)

cyberpunk_In C++, what is the tecnical difference between #define THE_ANSWER 42; and const int THE_ANSWER = 42; I know that the former will cause the preprocessor to replace each instance of "THE_ANSWER" with "42" regardless of type. Now, what exactly does the latter do? Does it simply declare a var...

 
@DeadMG it's not pointless, at all.. read the question, isn't C99 relevant to the question (and also the answer)?
 
Closed as duplicate.
 
@refp I don't think one can influence the order of the tags.
 
@refp Are you coding in C?
 
10:44 PM
Let's try closing the question with 5 different duplicates.
 
@DeadMG I'm originally a C developer, but read the question and answer this: isn't C relevant to the question? a yes or no will suffice.
 
You can't really pretend that C++ and C have nothing to do with each other.
 
@refp No.
@StackedCrooked But as he adequately points out in the question, they actually have separate wording in this regard. So in this specific regard, then someone who read the C Standard will not actually be able to answer the question.
 
@DeadMG and why do you think that is? me quoting the C99 standard, comparing the differences between C and C++ - that makes C irrelevant to the question?
 
@Insilico oops
 
10:46 PM
nor will somebody looking for a C answer gain it from the C++ Standard.
 
@Insilico hey, your avatar changed
 
@refp Who cares about the differences?
I could quote you a book on the differences between C++ and Lisp
that doesn't make Lisp relevant, or Brainfuck, or every other language that is not C++
you are coding in C++11 -> the relevant language is C++11, end of.
 
@DeadMG I teach C two weeks a year. So yes, I care about C. If unions work differently in C and C++, I want to know, so I don't teach nonsense in either language.
 
@DeadMG it's relevant because it shows what is lacking in the C++ standard on the topic (lacking isn't really the right term, but people coming from C to C++ will run into pits (unless it werent for the fact that C++ isn't just used in theory but in real life)
 
@MooingDuck I'm not actually back home, so the IP is different.
 
10:47 PM
@DeadMG no, C coders coming from C would want to know this if they are aware of the guarantees in C99
 
@refp What is lacking in the C++ Standard is an obvious answer to your question. The C Standard does not need to be invoked to make this point.
@FredOverflow then ask two questions.
 
@DeadMG I thought so, and I stand by it. if you hate the tags so much, why don't you go ahead and edit the damn question? heck, why not vote for deletion since it's obviously "not a real question", what is lacking is obvious and it will only waste peoples time.
 
I actually did downvote both of your questions
@ScottW Seen it
 
@ScottW "Okay you guys listen to what I have to say"
 
@DeadMG You can really be a pain in the lower back sometimes. But don't worry, we still love you :)
 
10:49 PM
Anybody that starts with "okay you guys listen to what I have to say" is not worth listening to.
 
@DeadMG yeah, of course I knew it was you
@FredOverflow I don't love him, at all.
 
well, I don't really get what the problem is here.
one set of answers concerns one language, and you tag that language, and if you need more than one language, you ask more than one question.
it's simple, it's easy, and everybody can effectively filter questions that are not in their area of interest/expertise
 
@DeadMG but the question has information regarding more than one language
 
@refp Well, let's say I'd miss him if he was gone. That's probably as much as heterosexual guys can love each other :)
 
@FredOverflow I don't think I would, not if he continues like this.. no
 
10:50 PM
@refp Irrelevant information that adds nothing to the question.
 
@ScottW <reads Yahoo! question> ...I'm just going to leave that question alone.
 
and people click on questions for answers
 
Anyway, I don't think our C/C++ discussion is going anywhere. Let's switch topics.
 
Python!
 
@DeadMG as said; edit the question and remove the "pointless" tags, that would be far better than downvoting it.. right? I thought you didn't want to waste peoples time, downvoting it won't save them from madness
 
10:51 PM
@FredOverflow You guys were talking about C++? In the Lounge<C++> room? Holy crap.
 
@refp I don't edit other people's stuff, unless it's obviously a simple mistake or something.
 
@ScottW I wonder why she didn't just... throw the egg out?
You know what, I'm going to stop wondering about stuff. My head hurts.
 
if what's in the question is what you intended to ask, then that's that.
 
@DeadMG you pointed out that is was a obvious mistake to put more than the C++11 tag on it early on, adding a tag which doesn't belong.. that, if you ask me, is a simple mistake.
 
@Insilico The crime was not talking about C++, but also talking about C. We should have chatted in two rooms simultaneously instead, because people interested in C will look in the C room, not here.
 
10:53 PM
@refp Only if you do it by accident. If you do it intentionally then it doesn't qualify.
 
@FredOverflow Well, I'm just amazed that people actually talk about C++ in Lounge<C++>. :-P
 
anyway
 
It happens from time to time. But actually, it was more of a meta-discussion. We didn't really talk about C++ as such.
 
@FredO is right, I'm obviously the only one who uses the tag system to filter C++ questions and really wishes it was more effective.
 
@DeadMG so to sum things up; you downvote a question based on the tags in it, not taking into consideration the contents of the question. just out of curiousity, would you remove your downvote if I removed the tags? (the answer is probably No since you downvoted it after we got into an argument, not before when you saw the question the first time)
 
10:54 PM
of course I would remove it
 
@DeadMG Does the system allow to say "I want to see C++ questions that aren't tagged as C as well"?
 
my downvote is my opinion that your question is bad; if you change it so it's not bad, then I don't have that opinion
 
@Insilico no, it was a discussion about a question about C++
 
@DeadMG what are the awesome tags you would have used then?
 
@FredOverflow I don't think so.
 
10:55 PM
@refp just the C++ tag
 
and it's bad because of the tags? damn it, I knew we had a lot of pedantic people in here.. but this is just ridiculous
 
even so, it wouldn't really solve the problem, since there are just as many "Actually only relevant to C++" questions as "Actually only relevant to C" questions, which are tagged both C and C++
 
@DeadMG It appears [c++] -[c] works, at least I get about 10% less results.
 
@refp Has nothing to do with being pedantic and everything to do with the fact that I want to find C++ questions, not C questions.
 
@MooingDuck @DeadMG there you have it, satisfied?
 
10:57 PM
half the reason that I hardly ever use the Q&A part of the site is because the tags are used way too aggressively, destroying the point of having them and making me wade through seas of C questions to find ones I'm actually interested in
 
@refp Just let it go, there's no point in discussing any further :)
 
... and even then, half of them are i = i++ + ++i questions
 
@DeadMG Why do people insist on writing code that looks like i = i++ + ++i?
 
@FredOverflow he's a donkey.
 
I don't know, I just don't know.
 
Ell
10:58 PM
I++ + ++I++ + ++i
 
@Insilico It's probably on their exam or something.
 
@refp Coulda left it at "ass". I've been called far worse.
 
@FredOverflow Probably. But if it's on an exam for like freshmen or sophomore CS students then it's just a fricken' stupid exam.
 
@ScottW also: font mishap
 

« first day (636 days earlier)      last day (4315 days later) »