« first day (331 days earlier)      last day (4623 days later) » 

2:00 PM
My bad
 
What? "G word"? Come on, I thought the "F word" was enough of "* word"s already.
 
@RMartinhoFernandes What, you mean fuck?
 
What else?
 
There is never enough of obscene words.
 
Flour? Flower? Fire? Fang? Frame? Folly? Fixed? Fracture? Fist? Fever? Fodder? Fur? Far? Fetid?
 
2:03 PM
A smart pointer is a pointer that is smart...
Unfortunately it doesn't end there..*sigh*
 
Doesn't it?
 
I wish
Why is it that C++ gui looks nothing like C++
 
Ah well. std::shared_ptr has some crazy constructors.
 
Well, that's inconsistent. I come in here and there are two flags... Etienne's is cleared but Lews remains..
 
I believe I can fly
Someone flagged me?
 
2:06 PM
Yeah, you used the magic word.
 
Oh dear.
 
What annoys me the most is that apparently fsck or fcuk is not obscene, for some stupid reason. It's just that particular sequence of characters: f-u-c-k.
3
 
Yea, you and Lews were flagged
 
It's magic.
 
Hey...does that mean I get banned?
or what?
 
sbi
2:06 PM
gay: 3. having or showing a merry, lively mood: gay spirits; gay music. dictionary.reference.com/browse/gay
3
 
@LewsTherin not yet
 
You might if you're not careful.
 
sbi
Please stop that flagging nonsense.
 
Hey, I don't want to get banned..I prefer this place to facebook
 
Don't worry, the flag was invalidated.
 
2:07 PM
@sbi Yeah, but "that's gay" was used like "it sucks".
 
sbi
@EtiennedeMartel So? Why flag this?
 
@sbi I didn't.
I never flag.
 
sbi
@EtiennedeMartel Maybe not. But you defended it.
 
C++ question - is there a neat idiom to make operator>> with istream, float read "NaN" as an actual NaN instead of just fail?
 
@sbi No. Or, at least, it wasn't my intention.
 
2:10 PM
@awoodland Without a custom SuperDuperFloatThatReadsNaNs class?
 
sbi
Anyway, here is my take on the teaching issue.
 
@RMartinhoFernandes - does the SuperDuperFloatThatReadsNaNs wheel exist or am I about to invent the 1 millionth version of it?
 
I don't know of any.
 
@sbi I learned Java before C++; not sure if that made me better or not in the long run. But things such as endianess were not completely understood until I had to start manipulating memory.
 
@sbi: How do you approach pointers with your students?
 
2:13 PM
@sbi Upvoted.
I wish I could do it multiple times.
 
@sbi I still don't know what cout is ... yeah it is an object of iostream
but how do you put an object in a namespace :S
 
@LewsTherin It's an ostream that maps to the standard output. That's all you need to know.
@LewsTherin Global variables?
 
@LewsTherin namespace foo { int i; }
 
sbi
@CodeMonkey I have taught C++ to students with one year of Java under their belt. From my POV, the main thing Java did for them was to make it harder for them to grasp the underlying principles.
 
I always have a hard time explaining pointers because I can't understand what is their misunderstanding.
 
2:14 PM
@RMartinhoFernandes Understand the misunderstanding... meta.
 
@LucDanton ich sehen
 
@RMartinhoFernandes Teach it like you would to a 5 year old
 
@RMartinhoFernandes The one day I got over whatever hump I had in my understanding of pointers I had no idea why I didn't get it right sooner. It's weird.
 
@CodeMonkey even better a 2yr old...like me!
 
with pictures and drawings
 
2:16 PM
Yes! With pictures and drawings..was the only way I could understand 2d arrays
 
sbi
@RMartinhoFernandes Very graphically. I draw long rectangles representing memory, put little boxes into this representing objects, and boxes with a dot in them, and an array to the objects to represent pointers. Using this, you can easily explain the relationship between objects and pointers, pointer assignment vs. object assignment, pointers being typed, and lots of other stuff. I have yet to fail to make someone grasp pointers using this method.
 
@CodeMonkey Tried that. Doesn't always work. Could be me though.
 
@RMartinhoFernandes Yea, everyone has their way of learning. The key is figuring out how to make the lightbulb go off.
 
go off or on?
 
@LewsTherin It's my way of speaking.. sorry.
It makes more sense to say "on"
 
Als
2:18 PM
okay what did i miss?
 
is there a lounge for javascript/html/CSS?
 
No problem, I understand
 
Als
@sbi: Saw your meta post and very amused about the reason for closing
 
sbi
@Als You mean meta.stackoverflow.com/q/105899/133368? Have you seen my latest comment?
 
@sbi, when you know the crappy way of doing something...
Then you know which way not to do it in
The crappy method should be taught first
Like a client tells you what they want... And you give them something..they can tell you like hell no...then you can make some better and what they want.
To be better you must be crap or know the crap to be better
 
2:21 PM
wheel dutifully reinvented
 
@awoodland :)
Beware of the behaviour around conversions.
@sbi "and an array to the objects to represent pointers." Sorry, did you mean to say "and an arrow to the objects to represent pointers."? I'm a bit confused.
 
sbi
@RMartinhoFernandes Yeah, that's what I meant. Sorry. I'm preparing such a thing. Just a minute.
 
Als
@sbi: Oh nice , i marked it a +1
 
Ok, good. The fact that array is somewhat related completely threw me off. Took me this long to even come up with a reasonable possibility.
 
Als
oh sweet my rep today reads 30, two accepted answers from the past
 
2:26 PM
 
test fuck
 
careful: It's a trap!
@CatPlusPlus I just read your starred comment on the right as '-2 days' instead of '~2' days which made very little sense
 
Als
did you brag about being the chat room owner @CatPlusPlus :P as u always do?
 
since i'm not getting fagged i must conclude that i'm the one who's fagging, but i know i'm not, huh
 
Als
2:28 PM
fagged?
 
flagged, of course
 
lol
@sbi nice diagram..easy to understand
 
Als
with the flags and the downvotes and shit....i cant rely on what anyone says anymore @AlfPSteinbach
 
actually, I flagged it
 
sbi
If you do this on a black/whiteboard, you can wipe out arrows, and redraw them to other objects to explain pointer assignment. You can also have multiple pointers referring to the same object etc.
@DeadMG You flagged what?
 
2:29 PM
the thing that was flagged earlier
 
Als
i didnt get any flag
 
@DeadMG huh, i didn't get notice?
 
that's because apparently, I'm the only person who can see that referring to a specific sexuality in a derogatory manner is something that should not be tolerated
 
Als
you sure u did pup @DeadMG?
 
sbi
@DeadMG You were annoying the whole of the chat with something as stupid as that? Really, how long have you been around here that you do not know how stupid that is?
 
2:30 PM
heheh
 
I hate meaningless flagging as much as the next guy
 
Als
uh the lion, eath them all @TonyTheLion
 
sbi
@DeadMG If you feel that way, then just speak up and say it's wrong. (I would even back you up on that.)
 
but if you have a better idea as to what to do about content that shouldn't be allowed, I'd like to hear it
 
sbi
@DeadMG Then stop doing it.
 
Als
2:31 PM
@DeadMG: I think a verbal say warning, would be good for an regular
 
so don't do it then
 
yeah, except by the time you've said "That's wrong", even if it's instantly convincing, it doesn't actually do anything
because the edit/delete timer is over
 
sbi
@DeadMG There's a difference between "I consider that offensive for whatever reason" and "this shouldn't be allowed".
 
this flagging stuff is going off the wall
 
2:32 PM
What was flagged?
 
I'd like to do an analysis of what proportion of the time this room spends "discussing" flags
 
what he said should not be allowed
 
I don't even know what was flagged
 
Als
this flag stuff is BS
@DeadMG: Who said what?
and where did the flag go? we didnt see it
 
sbi
2:33 PM
@DeadMG If it was really that bad, you can always ask a moderator to delete a old message. And if you think you might have trouble convincing him, well, then it might be that you wouldn't convince 5 other users either.
 
@LewsTherin this one
 
Lews said: "One day? That's gay! From Day one I've been hoping to be one"
that's what was flagged
 
sbi
@awoodland I'd say "way too much" reasonably sums this up.
 
@sbi You misread what I said. The point is that it doesn't matter whether or not it convinces him, because of the significantly limited edit and delete window allowed.
 
I wasn't referring to someones sexuality with that :O
 
Als
2:33 PM
Is it that offensive?
 
I don't consider that offensive
 
@LewsTherin: That's why we have been asking for context. Actually I think @DeadMG asked for it in a meta topic last week.
 
sbi
@DeadMG You misread. Every message has a "flag for moderator" link. That never goes away, no matter how old the message is.
 
I can't even make sense of it.
 
yeah, that's the button I pushed
 
2:34 PM
ohhh
 
I meant to say "that sucks" .. I wasn't even thinking...mmn
 
sbi
@DeadMG No. You clicked "flag as spam/offensive".
 
spam spam spam
 
@sbi Maybe someone else did that, too.
 
well, I'm pretty happy with that, since I'm fairly happy in my conclusion that the message was, in fact, quite offensive
 
2:36 PM
ok, let's talk about something else, sex maybe?
 
sbi
@TonyTheLion I can imagine homosexual people objecting to the use of "gay" as referring to something unpleasent. That is why I said, had someone objected to that message in a remark, I would have backed him up.
 
Als
@TonyTheLion: i dont know anymore...If i fart, someone might find that offensive as well
 
@DeadMG sometimes you come across as weird.
 
@TonyTheLion "sometimes"?
 
sbi
2:37 PM
@DeadMG Well, let's just say you made everybody else unhapy, without furthering your cause in any way. That's as dumb as you can be, really.
 
@sbi hmmm
 
I think that you're overreacting, really, one flag is no big deal
 
Well, at least he flagged for the meaning he inferred from it, not for the particular sequence of characters.
 
@Als well, that's their problem, not yours
 
Als
@TonyTheLion: Lol , doesn't it apply here?
 
2:38 PM
@RMartinhoFernandes Yea except many people use it not in an offensive manner, but just as a sort of idiom
 
especially since I was pretty confident that the offensive meaning was quite obvious and that it would be rapidly removed
 
You know what's offensive? A tank.
 
@RMartinhoFernandes that's even worse, cause anyone could infer something offensive from just about every line in this chat, so then we'd be off to a huge flagging fest
 
Als
@DeadMG: Was it removed?
did it get enough votes?
 
@DeadMG I don't find it offensive, but I marked it Valid anyways since it could have offended someone
 
2:38 PM
yeah. the flag was removed as invalid
I thought that the message would be removed pronto
 
sbi
@DeadMG How long have you been around here, you newbie?! Wheren't you just as annoyed by stupid people flagging stupid messages because they found them, for whatever private reasons, offensive? Well, now you are one of those stupid iditots, too. Doing what you did was overreacting.
 
I agree with @sbi
 
@CodeMonkey that sort of contradicts @sbi's reference to "gay" as meaning merry, lively. what is the canonical meaning of "that's gay"?
 
If someone gets offended by a throwaway slangish remark, then lol, what the hell are they doing online.
2
 
sbi
@RMartinhoFernandes Only that without explanation the only people agreeing with such a flag would be those considering the sequence of characters offensive.
 
2:40 PM
according to my user profile, this is actually the one year anniversary
 
Als
I think the whole flagging thing sucks, Finding something offensive or not is a mere perspective based thing, what i find non offensive, someone else may find it offensive and vice versa, given that, you can never say flagging was appropriate or not since it depends on each person.
 
@sbi Didn't he use the mod flag? That one asks for an explanation.
 
at least, if it has that annoying middle-endian US date format
 
THIS IS THE INTERNETZ, OFFENSIVE IS A WAY OF LIFE HERE
 
sbi
@DeadMG How fitting, then, that you just acted like a one year old.
 
2:40 PM
Or did I miss a message?
 
@TonyTheLion lol
 
sbi
@RMartinhoFernandes Not from what I understood.
 
how hilarious
 
@DeadMG if it makes you happy, I won't use it again
 
@AlfPSteinbach It means nothing.. I used to use it but I don't anymore. I use "that sucks" now. It's a throwaway phrase with empty meaning and no malice forethought
 
2:41 PM
running through and starring every message with "fuck" is a completely different thing
 
firstly, the message actually had some offensive meaning, not just a single word, and secondly, it was hardly a flagging campaign, it was one message
 
Als
why are we discussing this? @DeadMG, found it offesnsive fair enough, its his decision and within his rights to think and act so
 
sbi
@LewsTherin But you probably will, even though unintentionally. Or someone else will. And the proper way to deal with it would be to post a remark that this might be offensive.
 
cause we seem to lack anything else to discuss, so we discuss THE FLAGGING OF ALL THE THINGS
 
2:42 PM
I just found out I won the UK National Lottery for 1,316,462.00 million British pounds and I never played the lottery
 
Yeah, let's go back to the wiki thing.
 
@sbi Apparently someone tried to.
43 mins ago, by Etienne de Martel
@LewsTherin Careful with that G word, kid.
 
Als
@TonyTheLion: Darn, Usually with such discussions i would go rep-whore but i dont even answer questions anymore, i have nowhere to go :(
 
This is pretty sophisticated phishing right here
word document too with a watermark
 
@Als lol
 
2:43 PM
@RMartinhoFernandes and I said "My bad"
 
Some years ago I got several mails from an "US bank".
 
sbi
@RMartinhoFernandes No, nobody explained that, and why, this would be offensive. The only thing happening was someone flagging the message without giving any reason.
 
btw..do I really have to sign up with gravatar?
 
I don't know how they target this stuff.
 
@sbi well it's supposed to be anonymous for fear of retribution
 
Als
2:45 PM
Hmm this is spoiling my only left experience
 
sbi
@DeadMG Well, here's something you might want to remember: In the light of the pretentious meta-police, flagging some sentence with the word "gay" in it here will always occur as being flagged for containing the word "gay".
 
the meta-police can think what they want
if they want to know why a message was flagged, they can ask the flagger- i.e., me
 
sbi
@CodeMonkey If you fear to speak up and have your say, then you already have lost your cause.
 
if they come to their own conclusions, then they should be prepared for those conclusions to be wrong
 
2:46 PM
What happens if you try call a function in a constructor
and the function returns
 
Als
@LewsTherin: It gets called
 
A kitten dies.
2
 
Als
what function is it? :P
answer depends on that
 
killacat()
 
sbi
@DeadMG It is not the meta-police that decides about your flag. It is us, and you never had a chance to get us to agree to that without explaining your objection. All you did was annoy us. And now it's us, not the meta-police, and we think of you what we want, and you will not like it.
 
2:48 PM
What if you return from a constructor ?
like just return;
 
sbi
@CatPlusPlus Please do not post a picture.
 
Als
@LewsTherin: A few days ago it might have killed a cat and a tiger but now only the cat is left
@LewsTherin: It returns, constructor is just a function too
 
@sbi why not?
offensive?
 
anyone with a reasonable grasp of English should be able to trivially see the reason that the message was flagged
it wasn't exactly Shakespeare in complexity
 
@Als would the object be created then?
 
sbi
2:49 PM
@TonyTheLion Because a message by me once got flagged for that.
 
@sbi for a dying kitten?
or dead one for that matter
 
Als
@LewsTherin, This might help stackoverflow.com/questions/7016423/…
 
but you're a bonobo, you don't have interest in kittens....
lol
 
sbi
@DeadMG I have already explained several times why this is wrong. Anyone with a minimal grasp of logic should have grokked that. You, genius, seem to still fail.
 
@LewsTherin Yes; either a constructor returns and construction has succeeded or the constructor never returns in the first place (exception, program being aborted...) and no object ever existed.
 
2:51 PM
@Als @LucDanton merci
 
@LewsTherin: It's generally bad practice to call a function inside a constructor - what happens if that throws an exception?
 
@sbi problem with Geniuses is that they generally seem to think they cannot be wrong about things, so for them to admit being wrong, is very hard, cause it would invalidate their genius minds :P
 
Use an Init() method.
 
sbi
@TonyTheLion Yeah. I think @Alf objected to that, and flagged it, and the rest of the chat, seeing a picture of a dead kitten with no context, agreed. (It might hvae taken several hours/days, though, until it had enough votes to get deleted.)
 
@CodeMonkey Then the exception escapes the constructor. What's wrong with that?
 
Als
2:51 PM
An object is fully formed when the constructor body exits normally, either by falling out the bottom or hitting a return. If it leaves by an exception, the object officially never existed.
 
oh I see, ok better not do it then
 
@CodeMonkey I don't understand...why not call a function in a constructor
 
@CodeMonkey No, don't use Init method.
 
what's the point of having one then ?
 
If initialisation can fail, it should fail in the ctor.
 
sbi
2:52 PM
@TonyTheLion No. That is the problem with those who think they are geniusses. Those who actually are geniusses do not have that problem. by definition.
 
let me find where I read it
 
Init methods are stupid and utterly broken workarounds for something that's not a problem.
 
so does this all mean that we have to start being careful what we say in this chat, cause we might be hunted down by flagging police?
@sbi lol
 
i don't like that the person starts intruding and talking and explaining things in this video:
 
If I get banned, good bye lads :(
Was fun xD
 
2:53 PM
where or how can i find version without the intrusion?
 
@LewsTherin you won't get banned, you need a bit more flags for that
 
sbi
@CatPlusPlus Yep. Two-step initialization, if really needed, should be hidden behind an additional level of indirection.
 
@AlfPSteinbach euh, this is a C++ room, not a music lounge :P
 
because the rest of it is very much worth listening to, i think!
 
Als
2:54 PM
@TonyTheLion: Already claimed the fame to get banned so may be him
:P
 
@TonyTheLion that's great :P
 
sbi
@AlfPSteinbach Nice that you post a video here which you don't like. I hope you're not expecting us to look at it.
 
@CodeMonkey Yeah, listen to Java programmers.
 
@Als huh?
 
sbi
@TonyTheLion This is, first and formost, a chatroom. And one called "Lounge" at that. I stringly object to limiting the allowed topics to C++, programming, or even computers.
 
Als
2:55 PM
you might get banned for talking to much sex, same applies to me @TonyTheLion
 
I need to write a cover letter to send to a game dev studio, what the heck do I wrte?
 
@CodeMonkey Even in Java, it's a damn stupid argument: "Constructor Exceptions are Evil because you could write evil code in finalizers and abuse them."
 
@sbi It's Bach's "Air" performed on harmonica with acoustic bass, and silly hammond organ backing. Would be really good except for the intrusion in the middle.
 
Als
@TonyTheLion: write i play games!
 
@sbi oh, objection noted
 
sbi
2:55 PM
@TonyTheLion A cover letter.
 
"Stringly"?
 
@sbi Dear Sir, Here is a cover letter, please find CV underneath. Thanks Tony.
 
The funnest part is "secure coding antipatterns".
 
@Als I enjoy talking about sex, maybe that'll get them interested :P
 
Als
:)
 
2:57 PM
@CatPlusPlus why is that funny?
 
@TonyTheLion what about enjoying sex :P
So I should never call a function in the constructor..but have member init function to do that?
 
Als
@LewsTherin: Oh well that for @TonyTheLion, means playing games with his joystick :P
 
here's a link to the secure coding presentation: makeitfly.co.uk/Presentations/london-securecoding.pdf
 
> The presenters of the session also suggested using a "initialized" field that is set as the last line of the constructor.
 
@Als fap fap fap
 
2:58 PM
@Als lol! That image was so not welcome xD
 
@LewsTherin Constructor is for setting up object, but I wouldn't do any heavy lifting in the constructor.
 
@LewsTherin Where did you get that idea? You can call functions in ctors. Go ahead and do it if you need to.
 
Als
@TonyTheLion: Oh you messed the keyboard!
:P
 
cpx
@LewsTherin You shouldn't call a virtual function in the constructor or destructor.
 
2:59 PM
@LewsTherin No, don't do init methods. Ctor should do whatever is necessary for an object to be in a valid state after it's done.
 
@CatPlusPlus Maybe they prefer that because exceptions are so painful in Java.
 
Als
@RMartinhoFernandes: He can call functions if they are not the virtual member functions of that class.
 

« first day (331 days earlier)      last day (4623 days later) »