« first day (782 days earlier)      last day (4167 days later) » 

user1182183
7:00 PM
ah got it
 
user1182183
thanks ;D
 
@EvanCarroll stop talking about that. we don't care. (tip: we know and like Mystical. We don't know you, and so far you're making us all not like you) Change the subject.
 
@EvanCarroll When someone starts a sentence with "I think" I immediately assume it is true because there is no way I can claim the speaker does not really think that.
 
@EvanCarroll And you really thought barging in here and acting like an arrogant idiot would help get your point accross?
 
@EtiennedeMartel Do you still believe his allegation, now that I've come here and cleared it up?
 
@EvanCarroll even more so actually
 
@EvanCarroll No one cares.
 
I think this is going to be fun.
 
@EvanCarroll Don't give a shit about his allegation or yours.
 
@R.MartinhoFernandes well worded.
 
7:01 PM
@EvanCarroll I don't give two shits. And honestly, your attitude makes it quite likely that you're the kind of person who could do that.
 
I think it's particularly weird that I can do it with the \x form.
 
You'd think that since it's called the Universal Character Form, you'd be able to... well, put any universal character in it. =l
 
I don't think there is a reason that would apply to \U but not \x.
 
user1182183
awyeah 0 warnings, 0 errors, SWEET
 
user1182183
now test xD
 
7:03 PM
Though at least I have a workaround. I just need to setup the generator to spew \x.
 
@EtiennedeMartel Allow me to advise you on not giving "two shit", shush. It's easier. I prefer my conversations to be with people who do give a shit.
 
11 mins ago, by Neal
in PHP, yesterday, by PeeHaa
Service announcement Please don't flag messages just because the posts are stupid. It's annoying to other rooms.
 
Where do all these people come from. @___@
 
@R.MartinhoFernandes The \x form is older (came from C++98). Whatever the reasoning, it probably just hadn't occurred to anybody at the time.
 
@ThePhD the internet
 
7:04 PM
@ThePhD Flags.
 
@ThePhD Responding to flags.
 
> This user has been automatically suspended for posting inappropriate content and cannot chat for 29 minutes.
Some relief.
 
We're the people of the internet, here to get entertained.
 
@R.MartinhoFernandes Victoire!
 
user image
13
 
7:05 PM
@OctavianDamiean *we're
 
Swipe typing is awesome but sometimes ... well.
 
@ThePhD that is my current understanding on how it works at least.
 
@EvanCarroll Then I guess you'll probably be talking to yourself here.
 
@rlemon That's pretty sweet.
 
 
@rlemon "Chui trop Québécois".
 
@Neal HAHAHAHAHAHAHA
 
@Neal Wut....
 
@MooingDuck That really is his website too....
 
7:07 PM
@rlemon On a side note, be aware that there's an entire fetish that revolves around people inflating themselves and blowing up.
 
@EtiennedeMartel ..... That's incredibly fatal.
 
@Neal Is it really him? Because then I guess my Arrogant Twat Detector really is working.
4
@ThePhD They're not really inflating themselves. It's all done in drawing and litterature.
 
@EtiennedeMartel Wait, you didn't know him?
 
I don't doubt it. It's like rule 34, but with stupidity.
"If it's stupid. someone has done it (there is also likely porn of it as well) "
2
 
@EtiennedeMartel Oh. So one of those freaky things you find on the internet.
 
7:09 PM
@EtiennedeMartel yep it is really him. he has a link to his g+ profile which uses the same image as here.
 
@EtiennedeMartel You mean, Japanese manga, right?
 
@R.MartinhoFernandes Not just that.
 
 
I've seen things on the dark side of the Web. Things you wouldn't believe.
3
 
Can he still see this stuff? Because now I don't have a way to tell him about a typo on his website :(
 
7:10 PM
You guys should visit my reddit account, if I get half as many upvotes as I do stars I'll be swimming in make-belief popularity in no time!
 
@MooingDuck Yes, he can.
 
reading code on google groups is so lame.
 
@rlemon ha I am the one that turned you to the reddit dark side :-P
 
When suspended, you just get no textbox.
 
@Neal Living in the US, being able to claim you're a criminal who's managed to get around the intent of the law is something to brag about. It means you're qualified to run for president!
 
7:10 PM
And you can read everything when not logged in, so it would be silly anyway.
 
@Neal I always read reddit, but never ever made an account until you urged me too
 
@JerryCoffin oooo you did not see this yet?
 
@EvanCarroll: sites.google.com/a/evancarroll.com/evan-carroll/shoutouts Under "Caveat: Infidel Impostors" you misspelled "impostors" as "importers" in the last sentence in the first paragraph.
 
in JavaScript, 8 mins ago, by Neal
Future President of the United States, Dr. Sri Sri Evan John Carroll GBE (born September 10 1985 CE – never) aka The Evan Carroll, or simply The Evan is totally awesome. He is known for his ability to split water as he walks on it. Evan is currently employed as a highly senior computer software engineer or programmer and ruthlessly wastes lots of time improving technical and local articles on Wikipedia. His public distaste and abhorrence for sarcasm is well known. Also known, is his willingness to create words when they don't exist, claiming them for the betterment of the language. ...
 
wow, he is kinda full of himself no?
 
user1182183
7:11 PM
@Neal a...h.aaaa...
 
@GamErix that is him as well...
 
So, he's either a troll, or a cunt.
 
user1182183
@EtiennedeMartel or both?
 
we should call his mother and tell on him
 
user1182183
7:12 PM
@MooingDuck and his father
 
@GamErix Yeah, those are not mutually exclusive.
 
@rlemon Kinda.
 
re: Kayne - this was the first (second, third, and fourth) google image result for "full of himself" - the fifth was a NSFW picture of marilyn manson
 
You know what? It's past 20:00 here. I think the fonts can sort themselves out tomorrow.
 
if __name__ == "__main__":
dafuq
 
7:13 PM
@Neal Somehow I'm reminded of a guy who wrote a column in the 1950's about how he noticed whites and blacks got along while they were standing in lines -- it was only when they sat down that they demanded segregation. He jokingly suggested integration by removing chairs from public places. The column never ran -- the day it was supposed to, the local library announced they were removing their chairs and tables for the sake of integration...
 
@EtiennedeMartel You didn't know him for real apparently. If trolls were vampires think of him as Dracula.
 
> This account is temporarily suspended because of low-quality contributions. The suspension period ends on Feb 27 '13 at 21:55.
 
@LuchianGrigore Python for when you execute a module, instead of importing it.
 
low quality contributions. I guess he's not that awesome, then.
 
He is awful.
Has the same effect on everyone that Rich B did, but contributes nothing useful.
 
7:14 PM
@R.MartinhoFernandes Rich B.?
 
@Neal Old site history. Back then there was no suspension feature.
 
@R.MartinhoFernandes ahhh. Guess I am not old enough.
 
I am. Next year I get my new face. I'm so excited. Maybe I can get a new bow tie. OR A POCKET WATCH!
 
@rlemon Bow ties are cool.
 
user1182183
what tool do you guys recommend to compile .so files from source on windows?
 
7:16 PM
@Neal Also fezzes.
 
@GamErix A compiler.
 
@EtiennedeMartel also stetsons are cool
 
user1182183
@R.MartinhoFernandes ye but I don't think the VS2012 compiler can generate linux .so files
 
@Neal Take this as something told by someone that does not quite have all their facts right, but I told the story before: chat.stackoverflow.com/transcript/10?m=5978792#5978792:6572206
 
7:17 PM
 
user1182183
well if windows won't fuck you up linux will....
 
the Doctor is cool
 
user1182183
 
Xeo
Dang it, I'm gone for 40mins and I miss a troll? :(
 
> This user has been automatically suspended for posting inappropriate content and cannot chat for 15 minutes.
Which means he'll be back soon.
 
user784668
7:19 PM
@Xeo Yes.
 
@R.MartinhoFernandes hmmm
 
@EtiennedeMartel Which user?
 
@Borgleader Mr. Carroll, of course!
 
user1182183
how do you define a = operator in gcc? grr.
 
user784668
7:19 PM
@GamErix The same way you do it in any other compiler.
 
Xeo
@GamErix Get a book?
 
user1182183
@Fanael I 'm getting a build on windows and 3 errors on linux?
 
class _minlbfgsstate_owner {
public:
_minlbfgsstate_owner& operator=(const _minlbfgsstate_owner &rhs);
};
which errors?
 
Xeo
Except for the names and the fact that it's private, looks good.
 
user1182183
 
7:21 PM
@Xeo That's a weird link.
 
Xeo
@EtiennedeMartel Aw crap, missed a y.
 
user1182183
hmm maybe that const matters so much
 
@Xeo Tin Url.
@GamErix const matters a lot. Use it as much as possible.
 
Xeo
@GamErix That looks broken.
 
@Neal html,body { overflow-y: hidden; } don't show me useless scroll bars.
 
Xeo
7:23 PM
@GamErix MSVC has a "feature" that you can bind rvalues to non-const lvalue refs.
 
user1182183
@Xeo ah :o
 
Xeo
Use /Za (disable extensions) when compiling. It helps.
 
@rlemon pfft. you wanna make the site?
I can give u free range.
 
user1182183
yay it compiled
 
user1182183
lol.. const
 
7:24 PM
well almost free range
 
@R.MartinhoFernandes Maybe it was the frame that tripped up my browser? It was always empty.
 
user1182183
5 characters = difference between a build and not a build
 
@GamErix Where did you use that operator=? Because keep in mind that a non-const reference cannot bind to a temporary.
(Or are those called "rvalues" now?)
 
user1182183
@EtiennedeMartel here
 
@EtiennedeMartel A prvalue of class type is an expression which evaluates to a temporary.
 
Xeo
7:26 PM
@EtiennedeMartel all temporaries are rvalues - not all rvalues are temporaries :)
 
@GamErix temp[0] = DPoint(Thread_xNode[tbcway.at(k)].xPOS,Thread_xNode[tbcway.at(k)].yPOS);
 
@Xeo Temporaries are objects, rvalues are expressions. An object is not an expression. Hence, a temporary is neither an lvalue nor an rvalue. It's an object.
 
Xeo
@FredOverflow meh, details!
 
user1182183
@EtiennedeMartel something wrong with that?
 
@GamErix Pretty sure "recieved" should be "received".
 
7:27 PM
@GamErix Not really. The right hand side of the expression is a temporary.
Which means for your operator= to work with that, then it has to either take its parameter by value or by const reference.
 
user1182183
@FredOverflow ah small typo :$
 
@EtiennedeMartel i dislike it
 
@GamErix Let me repeat that slowly
1 min ago, by Etienne de Martel
Which means for your operator= to work with that, then it has to either take its parameter by value or by const reference.
 
Why is that flagged?
 
user1182183
@Neal you don't want me to post that picture again, do you :X
 
7:29 PM
@Mysticial Good question.
 
If you know any c++ you should know what that means.... @GamErix
 
Hey, folks, if you dislike a picture, say it, someone's gonna bin it.
2
 
@GamErix a = b should not modify b, right? So taking b by non-const lvalue reference is wrong.
 
@FredOverflow That's the conceptual side of things. Doesn't explain why it doesn't build.
 
Xeo
1 message moved to bin
 
7:30 PM
@Riateche Here, we have this policy to only flag as a last resort.
 
@EtiennedeMartel ok
 
@EtiennedeMartel Well, you cannot bind non-const lvalue references to rvalues, but I think we already established that.
 
@EtiennedeMartel you guys should pin this type of message:
39 mins ago, by Neal
in PHP, yesterday, by PeeHaa
Service announcement Please don't flag messages just because the posts are stupid. It's annoying to other rooms.
 
Xeo
@FredOverflow In MSVC-land without /Za, you can! :D
 
@FredOverflow I'm not really sure we really established it. @GamErix still seems to choke on that.
 
user1182183
7:32 PM
@EtiennedeMartel i'm trying.. trying... trying to process the info
 
@Neal Already in the rules, which is pinned and heavily starred.
 
user1182183
retrying..
 
@GamErix So. You know what a temporary is, right?
 
user1182183
@EtiennedeMartel something that is destroyed when out of scope?
 
@JerryCoffin yea. but having that rule explicitly written out is a good thing too
 
7:33 PM
@Neal It's usually not a problem.
 
@Mysticial ahhh ok
 
@GamErix No. That's an object with automatic storage duration.
A temporary is something that has no name. More or less.
 
user1182183
hmm ok
 
user1182183
man I'm still trying to figure out what to return..
 
user1182183
return *this; ?
 
7:35 PM
Yes.
Ideally, by reference.
 
user1182183
need to process that ^
 
No copy-and-swap, bad.
 
user1182183
@CatPlusPlus so you have any ideas on how I should code my = operator, I'm really getting brainfucked now :D
 
> YOU MUST CHECK FOR SELF-ASSIGNMENT!
It's really bad
 
user1182183
7:36 PM
@CatPlusPlus I can read.
 
@CatPlusPlus Ha, thought the exact same thing while reading the exact same sentence.
Let's hug.
 
@EtiennedeMartel ...but not everything without a name is a temporary (e.g., when you allocate something on the free store, it has no name).
 
@JerryCoffin Indeed. But I'm trying to cut corners here.
 
Xeo
@JerryCoffin The returned pointer is a temporary, though.
 
281
Q: What is the copy-and-swap idiom?

GManNickGWhat is this idiom and when should it be used? Which problems does it solve? Will the idiom change when C++0x is used? Although it's been mentioned in many places, we didn't have any singular "what is it" question and answer, so here it is. Here is a partial list of places where it was previousl...

 
7:37 PM
@Xeo Yup.
 
@Xeo Even in VS2010 and VS2012?
 
@GamErix His point is that an assignment operator that needs to check for self-assignment is (almost by definition) not exception safe.
 
Xeo
@FredOverflow By default, yes.
 
16
Q: Lifetime of temporaries

FrunsiThe following code works fine, but why is this correct code? Why is the "c_str()" pointer of the temporary returned by foo() valid? I thought, that this temporary is already destroyed when bar() is entered - but it doesn't seem to be like this. So, now I assume that the temporary returned by foo(...

 
user1182183
@JerryCoffin so what I did is wrong, what I want to do is not safe, whatever I'm doing it's going the wrong way, please push me into the good way?
 
7:39 PM
@Xeo Fuck Microsoft and their stupid non-conforming compilers!
 
Read the linked question maybe
 
user1182183
@CatPlusPlus std::swap is the solution?
 
Copy-and-swap is the solution.
THQ bundle added Titan Quest and a DLC to RF:A
 
Wow srsly?
I might pick it up now...
 
Xeo
@CatPlusPlus Titan Quest was nice.
 
7:41 PM
// black-magic-geometry-stuff
// if you read this you have no life.
@GamErix lol
 
@GamErix It's not swap by itself -- it's making a copy, then swapping. You separate the part that can throw (copying) and only modify existing data afterwards, using swap (which you normally ensure can't throw). If the copy throws, the existing data is preserved intact. If the copy doesn't throw, the assignment will succeed. Either way, you don't get a half-done assignment.
 
And you don't duplicate code.
 
user1182183
@JerryCoffin mhm I'll just google for examples, best way to learn for me
 
Examples are in that question
 
user1182183
@CatPlusPlus I mean = opertor examples xD
 
7:43 PM
I LOVE CATS.
 
@GamErix Examples sounds like a plan. If you feel like a book, Herb goes into quite a bit of detail about it in Exceptional C++.
 
Did you read it?
281
Q: What is the copy-and-swap idiom?

GManNickGWhat is this idiom and when should it be used? Which problems does it solve? Will the idiom change when C++0x is used? Although it's been mentioned in many places, we didn't have any singular "what is it" question and answer, so here it is. Here is a partial list of places where it was previousl...

You didn't read it.
 
user1182183
@CatPlusPlus oh I see it
 
user1182183
there is one
 
@EtiennedeMartel He's infected... RUN AWAY
 
user1182183
7:44 PM
@CatPlusPlus I don't read so fast, I actually TRY to undesrstand what I read and it takes time xD
 
@EtiennedeMartel They make nice targets...
 
@Borgleader Well, I love cats in general. Not our own Polish cat.
 
@GamErix One important point though: it doesn't just apply to operator=. The basic idea of two phases, one that can throw, but doesn't affect existing data, and a second that changes data but can't throw, is a key to writing exception safe code in general.
 
user1182183
@JerryCoffin mkay
 
spent too long dicking around with fonts.
 
7:49 PM
@rlemon Wrong room? :)
 
I found a really nice free dr who font.... but when I converted it for web from ttf using font squirrel it kinda messed u p
@Mysticial no we discussed it here initially.
 
26 mins ago, by Neal
@rlemon pfft. you wanna make the site?
 
@rlemon ah
 
@rlemon Definitely!
 
7:50 PM
@Neal dafont.com/matt-smith-doctor-who.font here is the font btw.
 
@R.MartinhoFernandes I like your tuple better. How are the objects ordered?
 
Attention Room: Sorry for this Whovian interruption. You may resume discussions on pointers, and compilers mangling names
or at least that is what I assume you C++ people discuss
 
@rlemon You started off well with the picture, but if you're going to post about fonts and Javascript, you need to include at least a little sex or something to keep it at least semi-topical.
 
@rlemon No we don't. Sex and nuclear warheads are more common here.
 
@rlemon Rarely.
 
7:52 PM
@JerryCoffin where is there any javascript? WHERE!!!!! SHOW ME NOW!!!!!!!!!!
thats right, tripple stared your ass
 
@rlemon Practically everywhere, from what I've heard.
 
good man, good man :)
 
@rlemon that font is a lil hard to read. x_x
 
@rlemon Like cockroaches: try though you will, you just can't get rid of it.
 
who would want too
Javascript is awesome sauce.
and I'm not even a front end developer
I write c++ and c# and avoid writing c
 
7:54 PM
No, it's not.
 
listen cat, go play with a lazer pointer. Javascript is awesome sauce.
 
Nope.
What the hell, Steam has weird fullscreen mode.
 
language wars are fucking stupid anyways. We all hate Java but there obviously is a reason it is so heavily used, and continued to be used. Whenever I hear people say "X language is bad" - basically you are just telling us all you don't understand it and suck writing it so you're taking the 12 year old approach and calling it "mr smelly bottom"
 
Yep, idiots.
 
7:56 PM
@rlemon All who watch.
 
user1182183
 
user1182183
stupid formatting...
 
every language has it's place and it's function. Javascript is no different.
 
no
skip self-assignment check
 
user1182183
ah okay
 
user1182183
7:57 PM
DPoint temp(a);
swap(*this, temp);
return *this;
good enough? ; o
 
why make the extra copy?
 
Don't create temporary copy.
 
user1182183
just pass a, okay
 
just operator=(DPoint other) { swap(*this, other); return *this; }
 
7:57 PM
Take by value in arguments.
@rlemon Nope
JS is there, becuase it was there.
 
user1182183
@DeadMG that's an error
 
That's about the whole reason.
 
user1182183
aa
 
@GamErix Nope
 
user1182183
wait
 
user1182183
7:58 PM
typo
 
user1182183
but gcc requires const...
 
tempted to be like "The error is: you're dumb"
@GamErix What const? There's no const here.
 
@GamErix Nope
 
user1182183
Warning 1 warning C4717: 'std::swap<DPoint>' : recursive on all control paths, function will cause runtime stack overflow z:\programs\microsoft visual studio 11.0\vc\include\utility 50 1 RouteConnectorPlugin
 

« first day (782 days earlier)      last day (4167 days later) »