« first day (668 days earlier)      last day (4273 days later) » 

9:00 PM
@TonyTheLion Kinda sorta. You know, places with very funny chairs in the back room. And - 'Maandag wasdag' on the weekly schedule.
 
@sehe I have this habit of saying the nastiest things about people that are right behind me. Often not being serious.
 
@R.MartinhoFernandes Whoops, thanks for that. My eyes, they have been tortured too much by terrible QC testing procedures today
 
@Ell Work on it. I had to work really hard to exclude gay and retard from my vocabulary.
 
@R.MartinhoFernandes haha
 
9:00 PM
Also probably helped my fiance smacked me every time I said it. (She was gay when we gave dating a shot, and one of her best friends is mentally handicapped)
 
@R.MartinhoFernandes That's WIN if you know it before they find out you knew
 
The sad part about him is that he knows he is handicapped, and knows that it's always being held against him, even though he wants to do big things.
 
My game will look terrible. I'm excited.
 
@Drise she sounds like a keeper, even without the clarification.
 
@SamDeHaan Why do you think we wear rings (engaged, if it wasn't clear)?
 
9:03 PM
Because you have fingers.
 
@Drise Hmm. I know this one, give me a minute, I'll figure it out...
 
@Drise The word fiance does imply that, yes :P I was simply complimenting your choice.
 
That's us btw.
@SamDeHaan :) Thanks.
 
About 30 minutes ago, the US population reached Pi: 314,159,265 (3.14159265). [via @rozaliahristova]
 
9:04 PM
Hm, about introducing some syntactic sugar like i-->RenderShape(destination);? The longer the arrow, the more dereference steps? :) — FredOverflow 17 secs ago
 
^ That's soooo nerdy
 
is not!
 
And wrong.
 
When Christopher Columbus set foot onto "America" back then with two comrades, that would have been PI.
 
@FredOverflow That would parse as -- then >
 
9:05 PM
American Pie
 
@kbok I can bend syntax as much as I want!
 
Ell
@deadmg! give me points why obesity isn't caused by lack of willpower
 
@Ell genetics
 
@Ell Not this again...
 
@FredOverflow Well, they already did stuff like that with templates anyway, so who cares :)
 
9:06 PM
didn't I give you about a hundred the last time we spoke about it?
 
sbi
@FredOverflow What?
 
@sbi PI is equals to 3, right?
 
Ell
@DeadMG probably. Oh yeah I can look at the transcript, sorry :)
 
@FredOverflow Didn't he set foot onto "India"?
@FredOverflow No, 4.
 
sbi
@FredOverflow Sigh.
 
9:07 PM
@sbi At least PI is nearer to three than three hundred million!
 
4 is a (very) obese π
 
@kbok Wait, you could build smart pointers that overload postfix -- to return a proxy object that when compared via > dereferences twice! ;)
 
Yaay, I'm done working.
 
@FredOverflow Yeah, but you'd still require the method name to be in the global namespace, right ?
 
Xeo
9:09 PM
@FredOverflow Nah
Member names don't make for good comparision
 
@kbok It could be fixed just like >> was for templates.
 
sbi
It seems the guy is notorious for these kind of chats:
 
3 mins ago, by kbok
@FredOverflow Well, they already did stuff like that with templates anyway, so who cares :)
 
Everything is dying because of swapping.
 
@Wug that's dongML, isn't it? — sehe 6 secs ago
 
9:10 PM
Freeing memory on exit is evil.
 
@CatPlusPlus /jealousy. I'm still working for another 20 minutes. Whoo, 10 hour days this month.
 
I did 10 hours today, too. It's 23.
10 hours of JAVA.
 
10 hours of QC testing - not automated, terrible "scripts" (test plans), product I'm not familiar with.
 
@sehe Oh man, you haven't forgotten that crap yet?
 
@Xeo Stop smashing my dreams!
 
9:12 PM
4
A: C++ Iterating through a vector of smart pointers

Luchian GrigoreDon't you mean (*i)->RenderShape(destination); ? i is the iterator, *i is the shared_ptr, (*i)::operator->() is the object.

Wait, shouldn't i->RenderShape work?
 
@R.MartinhoFernandes You should onnly mention entirely uninteresting things. To be honest, I had to google CockML, PenisML, ... before I got to DongML :)
 
@CatPlusPlus y?
 
@R.MartinhoFernandes Smart pointers cannot be rendered.
 
Xeo
@R.MartinhoFernandes Theoretically, yes
 
9:13 PM
@sbi Amaizing, really
 
@SamDeHaan Bleh, I have to be here at 5 to verify the box is secured at EOB.
 
@FredOverflow Cannot what?
 
sbi
@mattdanzico @rozaliahristova The news made a guy downtown perform a self-lobotomy with a power drill, muttering a 216 digit number. :-)
 
Jan 6 at 0:01, by R. Martinho Fernandes
a->b may be transformed into a.operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->().operator->()->b
 
Xeo
operator-> has to return a pointer or something that overloads operator-> until a pointer is returned
 
9:14 PM
Chat tab managed to grow to 600MB.
 
@R.MartinhoFernandes Holy
 
@FredOverflow Because it has to swap everything in just to free it.
 
@Drise It's totally true. I can write a template thingy that does that for proof.
 
sbi
@Xeo And if it returned *this, Spolsky founds Stackoverflow.
 
@Xeo Does that mean i->whatever() may work in debug mode but not in release mode, when std::vector<T>::iterator is probably a raw pointer? :)
 
9:14 PM
So the process takes 5 minutes to exit while HDD warms up 5 degrees.
 
@sbi Ah. Beasty
 
@Drise Fuuuuun. I'm expecting to do 10 hours a day this week, and I'm on call this weekend as well.
 
Xeo
@FredOverflow An indiretion through a double pointer yields a pointer :P
 
Running 'on exit' handler to save data and then exiting is way better.
Screw memory, OS can handle that.
 
@sbi Y STAR LIMIT REACHED? Y!
 
9:16 PM
And better, too.
 
@CatPlusPlus Buy a better internet bowser
 
It's not specific to anything.
 
Because you've reached the restaurant.
The restaurant at the end of the universe.
 
@Xeo I meant, if you have a raw pointer to a smart pointer, you need (*i)->whatever, but if you have an non-raw-pointer iterator to a smart pointer, then i->whatever probably works, right?
 
Xeo
9:17 PM
i->whatever should work too for a raw pointer
 
ah okay
 
Oh fuck.
 
Ell
im off now :) bye
 
"You seem kinda distant. Is everything ok?" "I don't know, I've been thinking a lot."
Oh fuck fuck.
I know those words.
They always end the same.
 
@Xeo No.
Given shared_ptr<T>* i;, i->unique() works, but i->whatever() doesn't.
 
Xeo
9:19 PM
oh, right.
 
@Drise Most words, always end the same. Except 'colour'/'color' and a few others
 
Xeo
Something is bogus
 
@sehe Thanks.
 
iterator::operator-> doesn't return shared_ptr<T>&, but shared_ptr<T>*.
 
Xeo
9:21 PM
mhm
 
sbi
@Drise Because I messed up the grammmar?
 
@sehe That would be bad.
 
@R.MartinhoFernandes Why? The view is nice
 
9:24 PM
@sehe It kind of ends I guess
 
Nah. Remember space-time continuum. And science fiction (hint)
 
@sehe I don't get it. Why would someone put several spaces after a period ? What could they be trying to achieve ?
 
@sehe You sound like the kind of guy that would vote Zaphod for Galactic President.
 
@Josh I may be missing something, but how about simply using a + b instead of an ADD(a, b) macro or an add(a, b) function? :) — FredOverflow 10 secs ago
 
^ I wonder what C++ shredding would be like.
 
9:25 PM
@R.MartinhoFernandes Marvin, stop sulking!
2
 
@R.MartinhoFernandes What do you have against Galactic President Beeblebrox?
 
Oct 9 '11 at 21:09, by Cat Plus Plus
To shreds you say?
 
CHAT SEARCH Y U SO SLOW
 
@Cheersandhth.-Alf C++ shredding would be full of ambiguities and unintended Turing-completeness.
 
> I'm pretty new to C++ so I'm unable to debug
WTF are people smoking these days?
 
9:28 PM
Stupiweed.
 
The bad stuff....
 
> "If you wanna play along, it's in E flat," Oh thanks, now I can totally play it
@Cheersandhth.-Alf lol... also, OMG what a terrible drum computer during Blitzkrieg!
@R.MartinhoFernandes Nowadays, programmers learn to release first, and debug later ;)
 
@R.MartinhoFernandes To annoy the crap out of us.
I'm pretty sure they reallocated 1 server in the search-farm to the spam-protection-farm.... Grrrrrrrrrrrr
 
Haha, search-farm.
 
If I ever write a programming language tutorial (hint: I won't), I'll make lesson 1 or 2 be about debugging.
 
Xeo
9:32 PM
@R.MartinhoFernandes Lesson 1: Debugging, Lessong 2: How to ask good questions on SO
 
0
Q: base class constructs five times

tuğrul büyükışıkThis "base" class constructs for b , medium1 and medium2. When i use "top" class, it construct 2 times more. Totally constructing 5 times(writing to screen 5 times). Question: What can i change in the "base" class to make it construct only once and for all.? #include "stdafx.h" #include<std...

 
@R.MartinhoFernandes I tried once, and I did make it first.
 
I'm constructing my class 5 times, and OMG! the constructor runs 5 times!!!
 
can i instead of doing this pointer=&variable do this *pointer=variable ??
 
Those do different things.
 
Xeo
9:33 PM
Those two are completely different things
 
@MohamedAhmedNabil first assigns address of variable to pointer and second writes to memory pointer points to
 
@MohamedAhmedNabil Instead of changing my opinion on who my favorite artist is, can I ask my favorite artist to change? Sure you can, but it's not the same thing.
 
Xeo
lol, after 3 edits and completely changing the message, he got it :P
 
Oh fuck. Exactly what I thought. FUCK
 
@FredOverflow what is the difference in the behavior
 
9:35 PM
@Xeo lol
 
oh got it :D
 
Xeo
@Drise She told you she doesn't like bacon after all?
 
Bacon is awesome
 
@Prætorian He's the next big SO question troll, I feel.
 
@Cheersandhth.-Alf By the way, I still like his first record best:
Yes, the cover art is a disaster :) Also, every instrument except for the lead guitar sucks major balls, but that's Yngwie for you.
 
9:37 PM
lol
 
@R.MartinhoFernandes there's so many tutorials that don't do that. :( They're like "DO THIS, THEN THIS, NOW YOU SEE A." me: "I don't see A..." "NOW THAT YOU SEE A, LETS DO B"
 
@Prætorian This guy is giving me cancer
 
@FredOverflow yes, it was the only full album i played. all my yngwie stuff disappeared in a disk crash. but he had some amazing videos, esp. playing paginini
 
Then i have no other questions. Thank you all — tuğrul büyükışık 2 mins ago
 
a dog being washed :P
 
Honestly, I don't think he is such a great guitar player. If you listen to his acoustic stuff, he misses lots of notes. You just don't notice it that much when he plays the fast distorted stuff. The live intro to black star is almost impossible to listen to:
 
@TonyTheLion Looks like it's happy.
 
^ A more controlled guitarist, Eric Johnson
 
At least one error every 5-10 seconds. Ynwie sucks major acustic balls.
 
9:40 PM
@sehe You weren't kidding! I'm looking through some of his earlier questions
 
Woah... I go away for a couple hours and I already missed something...
 
@Mysticial We missed you, too!
 
Aw man, you're such a liar.
 
@R.MartinhoFernandes yep
 
So what happened? I see a shit-load of binned and deleted posts?
 
9:42 PM
basically a Troll happened
 
Wild troll appears!
 
Battle, Items, Pokemon, Run
 
@Prætorian I had the 'OMG' moment reading this comment just earlier:
+1 for giving good sources and info before asking. i think you gave more than you need. thx — tuğrul büyükışık 2 hours ago
 
@Xeo No. She's just telling me that we've had a good run, but it may be time to consider other options. I'm a few steps of self control away from bursting into tears at work.
 
^ Just sensed a troll. Also: easily impressed. The sources aren't very exclusive material. Nor do they all apply :)
 
9:44 PM
Wait, what.
 
@Drise Oh damn. That sucks. Especially if you don't agree
Also (SCNR)
 
@Drise Damn, dude. That really sucks.
 
@sehe I don't. I intended to drop a grand on a plane ticket to see her in the winter.
 
You can break up with people while they are at work?
 
@R.MartinhoFernandes If they are in a timezone +7 hours. Right now it's 12 pm for her.
 
9:47 PM
I still find it highly inconsiderate.
 
I would agree with the robot. Major suck.
 
Is Java the only language where break up; is syntactically valid?
 
@R.MartinhoFernandes And I can't just leave. I am required to stay here till the end of the hour (5pm).
 
Someday I'll memorize how to make tags instead of looking in the FAQ every time I see you guys do it.
 
So I have 12 minutes to loose all self control.
 
9:48 PM
@FredOverflow unlikely
 
@MooingDuck [tag:
 
@FredOverflow Earlier versions of Wide probably allowed that.
 
@MooingDuck [tag:C++]
 
@FredOverflow Haskell.
 
9:49 PM
@R.MartinhoFernandes Luckily I've had a lot of practice on break up damage control, so I know how to contain myself.
 
"Luckily".
 
@R.MartinhoFernandes I wear my heart on my sleeve and have had it ripped apart numerous times. I have a lot of stitches.
 
2
A: sfinae check for static member using decltype

mfontaniniThe main problem was that: std::is_same<bool, decltype(bar::is_baz)>::value == false Then your SFINAE was failing always. I've re-written the has_is_baz trait and it now works: #include <iostream> #include <utility> #include <type_traits> using namespace std; templat...

^^ downvoted
see comment
 
@Drise I know how to contain myself, except when I don't
 
Also, luckily I have you guys here to slowly let it out instead of having to contain it all and to distract me.
 
9:52 PM
@JohannesSchaub-litb How would you write it?
 
yea, good place to vent this chat is
lol
 
!is_member_pointer<decltype(&U::is_baz)>?
 
that sounds like an approach that could work
@R.MartinhoFernandes unfortunately I think we are stuck with stupid operator overloading
 
struct A { typedef int *A::lulz; A operator&(); }; struct B { A is_baz; };
xD
 
9:54 PM
I rarely (well, never) care for overloaded operator& (the bad kind, not the bitwise one). I don't feel bad at all.
 
hmm wait, I think i am wrong
 
SMS from Cat Black: I am, trust me. I've thought this through and I'm not going to change my mind. We're not right for each other any more.
 
it won't be the regular op&, so the overloaded operator seems not to be considered. but I could be wrong. i don't remember the order of builtin operator consideration and user defined operator overloads in this case
 
@Drise :(
 
@JohannesSchaub-litb If you make is_baz static, it gets weird. But as is, it's clearly a member pointer.
 
9:56 PM
I'm about to lose it. I don't know if I can take 5 more minutes.
 
Go hide somewhere
and lose it there, that's what I would do
but I'm weird
 
I think I have a test for overloaded operator& somewhere. Lemme check.
 
@Drise tell your boss she just broke up with you and leave.
 
Yea but I'd still have to leave, and this isn't one of those 5 minutes of tears things. We've been together 2 years now..
@MooingDuck I can't speak when I'm like this. I'm all choked up, holding back.
Best part. I got her mom a job here. FML
Thank god I wear sun glasses.
Bye guys.
 
@R.MartinhoFernandes OK, clang and GCC give it type "A B::*", so i guess the "&A::is_foo" will work for the test
 
9:59 PM
Have fun.
 
then it checks for non-static members
 

« first day (668 days earlier)      last day (4273 days later) »