« first day (461 days earlier)      last day (4486 days later) » 

2:00 PM
but Clang has readable error messages :(
 
@RMartinhoFernandes if only I wasn't to slow to edit my post :(
 
@rubenvb GCC does too. You just need to learn a new language.
 
Xeo
Well, atleast I have an exact estimate of how many more flags I need for that gold badge..
Although it seems more than before
I was at 713something flagweight
 
Xeo
And I'm at 315 helpful flags, so 185 needed
 
2:02 PM
@Xeo Ah, but that was still a long way from the 749.
 
I'm at 3 flags. I didn't realize they were so many things to flag.
 
Xeo
Sure, but it seemed less than now
 
You needed 566 helpful flags and no declined flags to get the gold badge.
Now you only need 500.
 
Xeo
@RMartinhoFernandes Add 3 declined flags, how many helpful would then be needed?
 
Xeo
2:04 PM
Depends on when I got those declined ones, right?
 
@RMartinhoFernandes I don't speak GNU
 
(╯°□°)╯︵ ┻━┻

my name is STILL 'Don' according the payslips!
I emailed about this nearly six months ago!
 
And nothing goes above coloured output.
 
If I need to modify a compiler, I'd use clang over gcc any day.
 
Xeo
2:06 PM
@rubenvb Oh, it does. Imagine a hand coming out of your monitor and slapping you for every error.
Or this.
 
@rubenvb GCC can have colored output.
 
@Xeo oh wow. I'll submit a bug report for Clang
 
sbi
@RMartinhoFernandes That seems pretty mean, because you can get flags declined even though they were valid.
 
@RMartinhoFernandes bullocks, only on Linux probably, and even there I never noticed
 
Anyone following GCC/libstdc++ development knows what's happening to the C++ ABI? I'm trying to catch up, but I'm missing something I think.
 
2:08 PM
Did they finally decide to muck it up and fix the long-standing problems?
I would hazard a guess this is not the case
 
@sbi Oh, you could still get the badge. You just needed more than 566 helpful flags.
 
sbi
@RMartinhoFernandes And that seems mean.
 
Xeo
@sbi If no declined, then 566 helpful
Otherwise, the number will increase depending on how late you got the declined ones.. -10 flagweight hurts at 700 fw
 
sbi
@Xeo Gotcha. Sorry.
 
Xeo
@sbi And now it's less mean. :P 500 helpful, nevermind how many declined
 
@RMartinhoFernandes what is this
 
A MineCraft mod for Crysis.
 
sbi
@Xeo Not that I'd care a lot for badges.
 
@RMartinhoFernandes a MC mod for Crysis?
isn't that kind of like using 10,000 lbs of C4 to kill a snail
 
More like 10000 kg.
 
2:15 PM
@RMartinhoFernandes oh, looks like with have one of these new age hippies with there fancy pants 'grams'
 
sbi
@thecoshman ^ "their"
 
@sbi oh, looks like with have one of these new age hippies with their fancy pants grammer
 
@RMartinhoFernandes oh, looks like we have one of these new age hippies with their fancy pants grammer
 
2:17 PM
"grammar"
 
@RMartinhoFernandes oh, looks like we have one of these new age hippies with their fancy pants links
 
Oh, ABI changes are necessary to be conformant to C++11 apparently. But they're not happening until at least GCC 4.8 if I understood that correctly.
 
@RMartinhoFernandes oh, looks like we have one of these new age hippies with their fancy pants spelling
 
are we done?
 
2:18 PM
If I were a hippy with fancy pants, would that make me one of these new age hippies with their fancy pants fancy pants?
 
is it possible to be a hippy and have fancy pants?
 
@LucDanton oh, looks like we have one of these new age hippies with their fancy pants comments about hippies with fancy pants
@jalf new age hippies, don't you know
@RMartinhoFernandes wait, I had the right 'their'
 
@LucDanton if they're smart, they'll name it GCC 5 then. Make it clear to everyone.
 
@thecoshman Not at first.
 
@RMartinhoFernandes touchè
and that is the first time that I actually wanted an accent after I type a `
 
2:24 PM
@thecoshman touché
wrong accent
 
@rubenvb I don't think that number tracks ABI changes, particularly the C++ ABI. It's at version 6 atm.
 
Hey guys! I just got my first gold-badge :D
 
@LucDanton I know, but most people don't. Libstdc++ is at some version 4-ish, if I'm not mistaken.
 
Hence libstdc++.so.6.
 
ah crap
<facepalm>
nope, its at v3
 
Xeo
2:27 PM
@Emil I'm not sure that badge is something I would be happy over. :P
 
that's mightily confusing. There's three version numbers to keep in mind
 
@rubenvb for some reason, if I press the key with '`' '¬' and '¦' on it (even though the ¦ is drawn as a |) I don't actually get anything, unless I type another character, and if I type a vowel I get an accented one
 
@rubenvb Well, GCC is not a C++ compiler first and foremost.
 
It's a compiler collection!
 
it will be
 
2:28 PM
@thecoshman That's called a dead key.
 
once they switch to using C++ in a bastardized and utterly horrible way
 
@thecoshman That's pretty common on continental keyboards.
 
any idea how to get the fuck rid of it?
 
@rubenvb they're not planning to do that, are they?
@thecoshman change your keyboard layout?
 
@thecoshman Switch to a layout without dead keys.
 
2:29 PM
¬_¬ let me just look at the derp settings
 
hmmm
57
A: What's the point of const pointers?

Konrad RudolphI make a point of using only const arguments because this enables more compiler checks: if I accidentally re-assign an argument value inside the function, the compiler bites me. I rarely reuse variables, it’s cleaner to create new variables to hold new values, so essentially all my variable decl...

 
they had a big painful journey in getting the bootstrap to work with g++
 
I don't get what he means by this:
>Note that this makes only sense in the definition of a function. It doesn’t belong in ?the declaration, which is what the user sees. And the user doesn’t care whether I use const for parameters inside the function.
 
and they're only allowing basic stuff, I think std::vector was near the edge (it is a template... iieuw)
 
Xeo
2:31 PM
@TonyTheLion you can do this:
 
@TonyTheLion Markdown 99999, Tony 0
 
Xeo
void foo(int* p);
// ...
void foo(int* const p){ ... }
 
@rubenvb I hate markdown
@Xeo but wouldn't the user of this function need to know that the pointer is const ?
 
@TonyTheLion don't hate markdown, hate the Chat implementation of markdown
 
@rubenvb haters gonna hate.
 
Xeo
2:32 PM
@rubenvb No, why?
It's just like int i = 5; int const ic = i;
or int* p; int* const pc = p;
 
where the hell are the settings I need to change, I've set my Keyboard layout to UK and ` is still not working properly
or do I need to restart?
 
@Xeo yes, but const is supposed to let a user know that the function isn't changing the arg. If it's not in the declaration, then we aren't gonna know, are we?
 
Xeo
@TonyTheLion The pointer is constant, not what is being pointed at. And the pointer is a copy.
As such, it's only to prevent reassigning the pointer inside the function
 
@TonyTheLion void foo(int i); will never change the caller's argument, regardless of const.
 
@LucDanton right, but void foo(int& i); might, unless it's void foo(const int& i);
 
2:36 PM
@rubenvb wow... That sounds like it could be a fun trainwreck
 
@TonyTheLion Notice you can't make a reference type const.
What matters is the so called top-level const.
 
@LucDanton well, i in this case won't be changed if it's const, but in the first one imight be changed by the function.
 
@jalf indeed. Can't get much worse than it is now. Very very ugly is still very ugly.
 
void foo(int const* const* const*&); is allowed to change the argument because none of those const matters.
 
Another yay for Clang!
 
2:38 PM
@LucDanton elaborate?
 
Xeo
@LucDanton Are you referring to the pointer, or to the int now?
@TonyTheLion right-most
 
@Xeo the argument is a pointer.
 
@TonyTheLion int => const int is not the same modification as int& => int const&.
 
Xeo
@RMartinhoFernandes I know, just making sure
 
The const in both those types (namely const int and int const&) is not the same, and there is no such thing as a const reference. (But colloquially that's what a reference to const is often called.)
 
Xeo
2:40 PM
@LucDanton Err, the const in both types is the same
 
haha, from their C++ guidelines
> You must define a default constructor if your class defines member variables and has no other constructors. Otherwise the compiler will do it for you, badly.
 
It's a bit of grammar. Think of pointers: int const* and int* const are different. In the latter case, that's a top-level const.
 
they have a lot of faith in their own C++ compiler
 
@LucDanton that's because const classname& == classname const & or something. I always use the former.
 
Xeo
2:41 PM
@rubenvb I always use the latter
 
Where are those?
 
@jalf The shit is this.
 
Xeo
According to the C++ grammar, cv qualifiers refer to what is on their left. If there is nothing, then it refers to what is on their right.
 
@EtiennedeMartel GCC developers internal C++ coding guidelines
 
(╯°□°)╯︵ ┻━┻ these 'dead keys' are pissing me of! Any you know where to control them in windows vista, I can't find anything on google. It's the ` that is used for doing bits of code btw, not the normal single quote
 
@Xeo It's true that in both int const and int const& both const qualify int, yes. I'm at a loss of wording to explain how the grammar makes one a toplevel qualifier, and not the other though. My bad.
 
@jalf Okay, okay, wait a second. They say that the compiler-generated default constructor will badly initialize member variables. In GCC's documentation. So, when they say "the compiler", they mean "GCC".
 
@thecoshman Again, that's common behavior on a lot of keyboard layouts. :)
Don't know why you're getting it now and not before
 
If I got that right, that says a lot about the quality of the generated code.
 
2:44 PM
@EtiennedeMartel lol
 
This is all about how const int is the const version of int, but int const& is not the const version of int&. Reference types cannot be const qualified.
 
@EtiennedeMartel presumably they mean "the C++ compiler that we're going to use to compile gcc with", which, I'd imagine, is G++
 
@jalf Yeah. Doesn't really brighten things up, now does it?
 
Xeo
@LucDanton I think it's easier to explain with pointers, which have no special rules
 
@jalf I've set my layout to English UK I've never seen this before, and it is really anoying
 
2:45 PM
nope :)
well, I thought it was funny, so I guess it brightened up my day
 
@Xeo I concur.
 
sbi
@EtiennedeMartel Actually, I think it says more about the quality of their sources.
 
@jalf I've actually had this problem since I got this work laptop
 
@sbi GCC's source code is a huge mess, who knew?
 
Is it a different UK layout? I know there are a couple different US ones
dunno about UK ones
 
2:46 PM
@Xeo why make a variable in a class private, if the user can only use an interface to the class?
 
> Current GCC code is not exception safe. Disabling exceptions will permit the compiler itself to be slightly more optimized.
Purrformance.
 
Xeo
@TonyTheLion: Basically, top-level refers to the right-most transformation on the actual type. And with transformation, I mean *, &, const, volatile
 
hi
 
(╯°□°)╯︵ ┻━┻
it's not enough to just set my layout to UK, I have to remove all the other's from the list
I can ` my heart out now :D
 
Xeo
@Xaade huh?
 
2:47 PM
@thecoshman Not bad, but nobody flips tables like Gaston.
 
@EtiennedeMartel well, in a very C-centric world disabling exceptions and rtti is at least to be expected.
 
sbi
16
Q: Congratulations, Anna Lear!

Mark TrappGood news, everyone! Everyone's favorite Programmers mod, Anna Lear, has joined the Stack Exchange Team as a Community Manager, where she'll be working her magic across the network. Anna's been an active user here since the beginning, and a dedicated moderator since our first elections way back...

 
@EtiennedeMartel Well, it's written in C, how would you expect it to be exception safe?
 
@EtiennedeMartel when I really want to flip a table, SO only lets me do this... (ノಠ益ಠ)ノ彡┻━┻
 
@Xeo ah ok
 
2:48 PM
to be fair though, there are some good ideas in the doc too
 
#define nuclear unsigned
#define waste int
volatile nuclear waste;
 
> way back in January of 2011.
 
Xeo
@Xaade better:
 
they make it sound like it was eons ago... :P LOL
 
I kind of like the requirement to always prefix member variable accesses with this->. A pain to type of course, but good for clarity.. And requiring virtual functions to be protected instead of public makes for better interfaces too
 
Xeo
2:49 PM
typedef unsigned nuclear;
volatile nuclear waste;
 
@RMartinhoFernandes Technically, it's C++. Technically.
 
@Xeo Well, innermost really. C syntax is not right-to-left, it's inside out :)
 
And more garbage.
 
Xeo
@LucDanton It's easier to explain, though. :(
 
@Xeo if you only allow interface (abstract class) access to an instance of a class, there's no point in making any variables private. But you still do, so someone who sees the class knows what can't be changed from the outside.
 
2:50 PM
@sbi I guess that just proves my hypothesis that the point in Meta is to rise to the top. Actually answering questions is less important than (first) spamming your opinion on Meta, (then) becoming a moderator, (and finally) being hired by SE
 
@EtiennedeMartel They only switched since very recently.
 
Are there any hardware implementations of higher math C99 functions like j0 and exp10 (cough.... higher math.. cough)?
 
@jalf interesting view
 
sbi
@jalf She rose to the top on Programmers, though, not on Meta.
 
2:51 PM
@RMartinhoFernandes Well, that explains a lot.
 
@Xeo Once it sinks in though, things like function types that return references to arrays of function pointers (a classic) and pointer to member syntax becomes easier to deal with.
 
Xeo
aye
 
@Xeo ah, yours is actually correct.
 
@sbi she is/was quite active on Meta too
 
sbi
@TonyTheLion Programmers isn't that old.
 
Xeo
2:53 PM
@LucDanton void (*(&foo())[2])(); was it, right?
 
sbi
@jalf Yeah, she was a mod on SO, too, since the last elections.
 
@jalf that title makes money?
 
@Xeo Missing parameter list for those function pointers, but yes.
 
Xeo
Oh, wait, I forgot the function...
 
2:54 PM
let's place a using namespace std; in the most central header file we could find
 
Xeo
fixed
 
why not just compile with -fno-namespaces
or something
 
anyway, nothing against her. From what I've seen, she's not completely insane
 
@sbi yes, but that statement, makes it sound like it was years ago
which it isn't
well, merely a year now
 
using namespace should be reserved for .cpp files ONLY.
 
2:56 PM
@Xaade yah, and even then...
 
Compilers should evolve to fail to compile using namespace in .h files.
 
sbi
@TonyTheLion Yeah, but that was pretty much "way back when Programmers was created", I think.
 
@sbi oh right
 
@rubenvb and even then, you get a compiler error in the unit you just compiled, rather than ambiguous galore everywhere.
2 mins ago, by Xaade
@jalf that title makes money?
 
Fuck that. I don't care about using namespace std; if I have modules.
 
2:57 PM
yea but there is no modules
 
@RMartinhoFernandes module syntax is admittedly horrible
 
Xeo
There should be a modules-gcc branch like concept-gcc :(
 
it seems to be inspired by Mathematica syntax
 
@TonyTheLion there is no spoon.
 
@rubenvb How do you know? There are no modules?
Also, WTF are you doing in C++ if you complain about horrible syntax?
5
 
2:58 PM
@RMartinhoFernandes the proposal you linked to yesterday
 
@EtiennedeMartel in your house maybe, but mine defo has a spoon :P
 
@rubenvb I did?
 
@RMartinhoFernandes there's standard horrible C++ syntax and excruciatingly ugly and stupid syntax. That proposal used the latter
 
@RMartinhoFernandes WTF are we doing in C++???
 
@RMartinhoFernandes or someone else.
C++ is not dead.
This is not a pipe.
 
2:59 PM
@rubenvb Can I see it then?
 
@RMartinhoFernandes hmm. let me dig it up
 
All the proposals I saw had edible syntax.
 
@TonyTheLion They invented Java at some point. Maybe you can go try that?
 
@RMartinhoFernandes You mean there's more than one proposal?
 

« first day (461 days earlier)      last day (4486 days later) »