« first day (620 days earlier)      last day (4346 days later) » 

2:00 PM
@SamDeHaan Mechanically, it's the same principle: transferral of momentum into people.
 
@FredOverflow super sampling is a crude way of anti-aliasing. Sure it works, but it's a bit of an OTT solution
 
@Olumide No.
 
:(
 
@RMartinhoFernandes But the 'tossing' implies a parabolic trajectory of said person, unlikely to occur with the application of a bullet, or bullets.
 
@Olumide Welcome to the world of disappointment. Welcome to Microsoft.
 
2:02 PM
@SamDeHaan What if I do so from below?
 
if(Debugger.IsAttached)
    throw;
Should I feel bad for this code?
 
@Neil To be fair, 2008 was very early to provide C++11 support.
 
@RMartinhoFernandes I did say unlikely, not impossible.
 
I've got a template class `template<typename A, typename B> Foo{}` and lots of instantiations .. Is there any workaround in this situation?

I'll post a sample on ideone ...
 
But yeah, 2014 is too late to provide C++11 support.
@EtiennedeMartel Yes.
 
2:03 PM
Hmm.
 
@RMartinhoFernandes True, but you'd think they'd have imagined the slightest possibility that the language may change in the future
 
@Neil And? They are on the committee, btw.
 
Hmm. In the last 12 days, I have earned 15 rep. I should start answering stuff again.
 
The point is that whatever support they'd provide in 2008 would be very susceptible to end up with people having to fix their code a few years later.
 
@RMartinhoFernandes So it was intentional
 
2:05 PM
@Neil Most likely, yes.
The standard was far from complete in 2008.
 
In order to sell Visual Studio 2010
 
@Neil No, they would sell that anyway.
 
VS is still the best IDE on Windows.
That's slightly depressing, when you think about it.
 
FTR, GCC 4.5 (first version with C++0x support, IIRC) was released in 2010.
VS2008 has TR1, which is as most as you could reasonably expect to have.
 
@RMartinhoFernandes Then to be annoying
If it was intentional, then there must have been a reason
 
2:10 PM
@Neil Yes, the reason was that the standard was still in flux.
Providing C++0x support in 2008 was a bad move.
 
Here we go: ideone.com/9gWSf
 
It would be annoying if they provided C++0x.
 
Where's the Cat? Cat, where are you?
I need a link to the FAQ
 
Because now you'd be stuck with code that turned out to not actually be valid.
 
@RMartinhoFernandes That's not a reason. They could have made a patch to update Visual Studio 2008 to use C++11
 
2:12 PM
Why?
 
Optional patch, I should add
 
@Neil that's a pretty major update, late in the lifecycle
 
Adding C++11 support is not a small thing.
(Plus they couldn't do so, because they only implemented a couple of things, but that's a different matter).
 
C++11 support is not a small feat, but nonetheless - a much needed one.
 
We're talking about Microsoft here, not a guy who started his own startup
 
2:14 PM
@Olumide Template parameters have to compile-time values.
 
I think they could manage something like that. I don't think they're incapable. They simply choose not to.
 
@Neil They choose not to retrofit a product released before the standard, to comply with the standard? Yes, and I don't blame them
 
@Neil And it's not disappointing in the slightest.
 
what we can blame them is that 2010 and 2012 are still so far away from C++11 support
 
What's disappointing is VS2012.
 
2:15 PM
VS2012 can suck my dick.
It looks like shit and offers shit.
And the damn main menu still yells.
 
@DomagojPandža Judging from the amount of features it has, it probably can't do that.
 
well, in fairness, they snuck in range-based for loop without telling anyone
 
I remind you that Visual Studio is a developer environment, not a language
 
And the color scheme of the entire IDE is so bad, it hurts my eyes.
 
so they're not standing completely still :)
 
2:16 PM
Something like this is quite easily implemented in Eclipse
 
@Neil Something like what? A C++11 compiler?
 
@Neil Visual Studio is an IDE, C++ is a language and MSVC# is an implementation of the language's spec from Microsoft's colorful perspective.
We tend to say VS2012 to refer to MSVC11
It's called the lazy ass syndrome.
 
AttributeCollection is one badly written class.
 
@DomagojPandža No I agree. That's the way it is because that's the way they want it to be.
 
@Neil I still don't understand what it is you'd like them to do differently
 
2:18 PM
@jalf Give out everything for free.
 
Simply doesn't make me want to buy VS from them if it will likely show any support for anything which is developed in the near future
 
Updating a compiler that shipped in 2008 to comply with a spec released in 2011?
 
They're a bunch of incompetent cunts from what I've seen thus far. And after the crap with metrosexualized apps only in express editions, it worries me (although they were forced into rectifying). Also, goddamn development tools should be free or in the range of $5 to $99 dollars.
 
@Neil: in 2008, GCC was at v4.3. How much of C++11 does that support?
How much of C++11 support have they added to it since then?
 
@jalf Compiler vs IDE
 
@Neil Oh, so you don't want them to update their compiler after all?
What exactly are you asking for then?
 
Btw. what's the retail price of Visual Studio? I think I shelled out around $1000.
 
That they update their IDE to.... do what with C++11 code, if the compiler is not updated?
@neil You are talking complete nonsense. There are so many things the MSVC team can be fairly criticized for. And you pick on the most absurdly contrived criticism ever
 
@RMartinhoFernandes I know. I just wondered if there was a an alternative to using lots of ifs in this case ... For example ideone.com/9gWSf (never mind the errors)
 
@Olumide That screams inheritance and virtuals to me.
 
2:24 PM
@RMartinhoFernandes How so? (It is "smelly")
 
You're basically doing ifs against the type to decide what to call.
That's what a virtual function call is.
 
what is wrong with this timer I made ? time_t thistime;
thistime=time(NULL);
thistime=thistime+60;
while(time(NULL)<thistime)
{
 
Our German dwellers may or may not be interested in this: meetingcpp.com
@georgemano Erm, what is wrong, I ask.
 
@RMartinhoFernandes Okay, thanks. I'll think about it.
 
Could some C++ standard bookworm provide some more information, insights?
18
Q: What's the motivation between having copy and direct initialization behave differently?

Luchian GrigoreSomewhat related to Why is copy constructor called instead of conversion constructor? There are two syntaxes for initialization, direct- and copy-initialization: A a(b); A a = b; I want to know the motivation for them having different defined behavior. For copy initialization, an extra copy ...

 
2:27 PM
Meh, I downvoted that.
 
It is a curious question, but really, it makes no sense to ask such a question.
 
The two do different things. That's motivation enough for me.
 
@RMartinhoFernandes what is wrong with the code ?
 
@georgemano, What doesn't work about it?
 
@RMartinhoFernandes I wrote this so the thing that is happening in the while-loop happens for only 1 minute
 
2:29 PM
It is about generating a secure standard and his perspective is a rather shallow and narrow, I could elaborate more on the details "why" something was done by illustrating potentials problems, but I doubt that's the answer he's expecting.
Probably a quote or something from authorative figures on the topic. But it's just what needs to be done, at the very least, the implementation is free to pursue optimizations as long as it doesn't hamper anything.
 
@georgemano Well, it can't guarantee an upper bound, only a lower bound.
I.e., it guarantees it runs for at least one minute, not at most one minute.
 
@RMartinhoFernandes how can i make it run for at most one minute ?
 
while(false) :P
More seriously, I don't know.
 
@RMartinhoFernandes I believe that it should run for only 1 minute
 
I think I'll just remove myself from the whole discussion, don't feel like discussing things that are inherently hard to "prove".
 
2:33 PM
@georgemano Nope. Pretend the body takes 40 seconds to execute each time.
First run through the loop, 40 seconds passed, so loop again. Second run through the loop, ooooops, already one minute and 20 seconds passed.
 
@georgemano no, it will only prevent it from starting another iteration 60 seconds after it go that first time stamp
 
@RMartinhoFernandes the thing that is actual done is that it runs for ever , and I want it to run for only 1 minute
@RMartinhoFernandes ok man , you are right
@RMartinhoFernandes how do I make it break when 1 minute has passed?
 
I don't see an issue with that small snippet. If it runs forever there's some other problem somewhere.
@georgemano It depends a lot on what the loop does.
 
@georgemano separate thread timer that interrupts after 60s?
 
@georgemano why do you want to? I ask because it can impact on how you can stop the code after one minute
 
2:36 PM
@RMartinhoFernandes it is a A* algorithm running
@RMartinhoFernandes but if it runs for more that a period of time generate something else and try to find solution for this
 
Ow, my wrist just cracked in a weird way.
 
@RMartinhoFernandes pastebin.com/Vf2hUAAC
 
I think you should try posting an actual question on Stack Overflow.
 
@EtiennedeMartel lol
 
2:47 PM
Good day folks!
 
Reminds me of the messages on FB when Japan was hit by the tsunami last year
 
Oreos are serious business.
 
This one is just awesome.
 
@RMartinhoFernandes So much butthurt.
I like to think that raging homophobes are actually closetted homosexuals in denial. I'm probably wrong 99% of the time, but it helps prevent facepalmings.
 
2:49 PM
4 billion years of evolution for that. I am baffled.
 
@Cicada Actually, more like 250,000 years.
 
I'm counting since the origins of life
 
Even then, life is not 4 billion years old.
 
Almost
 
4 billion years ago, Earth was a molten ball of death.
 
2:50 PM
> 3.8 billion years of simple cells (prokaryotes),
 
This guy seriously needs to get out more.
 
Life (cf. biota) is a characteristic that distinguishes objects that have signaling and self-sustaining processes from those that do not,The American Heritage Dictionary of the English Language, 4th edition, published by Houghton Mifflin Company, via [http://www.answers.com/topic/life Answers.com]: * "The property or quality that distinguishes living organisms from dead organisms and inanimate matter, manifested in functions such as metabolism, growth, reproduction, and response to stimuli or adaptation to the environment originating from within the organism." * "The characteristic stat...
Wiki proclaims 3.7 billion
 
user784668
There's no life.
 
Wiki says 3.8
And that's commonly accepted
 
> Scientific evidence suggests that life began on Earth some 3.7 billion years ago.
paragraph two
 
2:51 PM
This timeline of evolution of life outlines the major events in the development of life on planet Earth since it originated until the present day. In biology, evolution is any change across successive generations in the heritable characteristics of biological populations. Evolutionary processes give rise to diversity at every level of biological organization, from kingdoms to species, and individual organisms and molecules such as DNA and proteins. The similarities between all present day organisms indicate the presence of a common ancestor from which all known species, living and ex...
 
@thecoshman Well obviously that was written a bit earlier.
 
So what? 3.7 is not 4. This is not Ohio.
 
I always picture those assholes sitting in a corner in their living room, clutching their Bible against their chests, shaking their heads, and furiously reciting verses with their eyes closed, as if doing so will distort reality and magically cause their beliefs to become truth.
 
well them, looks like those pages need to fight it out :P
 
@RMartinhoFernandes It's called an approximation.
 
2:53 PM
Yeah, that's what they called it too.
 
@EtiennedeMartel I don't think that's a healthy thing to do.
 
Yeah, you need to eat.
 
user784668
@Cicada If it was 3.9999998753221, then 4 would be an approximation.
 
@Fanael No
3.9999998753221 is an approximation of 4
Just like 3.7 or 239872937
It all depends on the scale and accuracy
 
Yep. Pi is four.
 
2:55 PM
1 is 2 as well.
 
@RMartinhoFernandes You know that many times, PI² is approximated by 10
 
saying life start is 4 billion years ago is a rounding off of the approximation that life started 3.7 (3.8) billions years ago
 
Yeah it's an approximation
 
(Btw, I'm having a bad day today, so I might be trolling a bit more than usual)
 
user784668
Life will start tomorrow. Now prove I'm wrong.
 
2:56 PM
I do my best to be smiley
And not troll like a whore
 
@RMartinhoFernandes Pi is approximately 3, learn to round :P
 
@RMartinhoFernandes Time to get drunk!
 
@thecoshman It's also approximately 4.
 
user784668
@thecoshman Pi is exactly 4.
 
@RMartinhoFernandes ah, you must be Intell based, that's why you can't round very well
 
2:57 PM
Anyway life did not start 4 billion years ago
 
@thecoshman You're rounding off three hundreds of million and I can't round off less than one?
 
It was created by Our Lord
 
@Fanael Well, pi is functionally the same thing as 4, as both are real numbers, so it's the same thing.
They are functionally identical.
 
@RMartinhoFernandes Scales are different
You should know that
 
@Cicada Trollin' trollin'.
 
2:58 PM
@RMartinhoFernandes you should consider the relative round error, not the absolute
@Cicada ಠ_ಠ that's not even funny
 
@EtiennedeMartel Que veux tu faire d'autre dans un salon de discussion essentiellement composé d'individus tournant à la surdose de testostérone ? Je fais ce que je peux :)
@thecoshman You'll go to hell for that
 
user784668
@Cicada merde (the only word I know)
 
Why does everyone say that
 

« first day (620 days earlier)      last day (4346 days later) »