« first day (941 days earlier)      last day (4012 days later) » 

2:00 AM
@Mysticial Yeah. Legal, as in saying someone that his mother's a bitch.
 
ahaha
 
@Mysticial The compiler won't complain, but since most of them (if not all of them) lack virtual destructors which makes them bad candidates for inheritance.
 
user1182183
hm guys, if I have a class with foo1() and foo2(), and I create Class Var; and access Var.foo1() from one thread and Var.foo2() from another thread, will it crash?
 
user1182183
or is that totally safe?
 
no seriously WTF
 
2:02 AM
I just wish she was still looking at me like that. It would have been much easier for me to look and smile. But maybe it was her reducing it that attracted me
 
@ThePet You'll be lucky if it crashes.
 
You should all stop trying to counsel DemCodeLines
It's been three days now
 
user1182183
@MarkGarcia lucky? ; o
 
If he hasn't done it he's not going to do it.
 
@ThePhD I'm just trying to metaphorically slap him in the face...
 
2:04 AM
@ThePet That's one "rule" in multi-threaded programming. Hope it crashes when you've done something wrong.
 
@Jeffrey You're only feeding his apparent neurosis and shyness.
Newsflash: chatting in a chatroom is still chatting, and it's not doing.
 
user1182183
@MarkGarcia hm well I'm designing my classes, and I need to know that, well just to be safe I'll separate the background worker from the user manager and server manager...
 
user1182183
class A{public:A(){}void foo1(){}void foo2(){}};
A a;
void Thread_1(){while(true){a.foo1();}}
void Thread_2(){while(true){a.foo2();}}
 
user1182183
that I wanted but eh
 
@ThePet "...manager". I'm out.
I hate *managers!!!
 
2:05 AM
@DemCodeLines Here's the truth: she never looked at you in any friendly manner, you are making it all up in your mind...
 
user1182183
@MarkGarcia what do I have to do then?
 
Fucking managers!!!
 
user1182183
@MarkGarcia that's the best design I know.. :(
 
@ThePet it depends on what memory foo1 and foo2 use
It shouldn't be any different than other multithreaded stuff
 
@ThePet If you have to do it with managers then do it. I just simply hate managers.
 
user1182183
2:06 AM
@Pubby only their local variables and atomic globals
 
@Jueecy.new Then in what manner did she look at me?
 
@ThePet why are they member variables then?
 
user1182183
@MarkGarcia they just seem so comfortable,.. I like Manager->Server()->FindUser()->blabla
 
Out of disgust? I am not that bad man. Out of weirdness? I talk. I am not that freaky.
 
@DemCodeLines class-mate-like manner. Nothing passionate....
 
user1182183
2:08 AM
@Pubby so I can access them with -> xD I like it :F
 
So she looked at me like that for the entire photography I class last year and then she looked at me like that for almost all of photography II class?
 
@ThePet Managers are centralized. Centralized things are what hinders us having true concurrency.
 
user1182183
@MarkGarcia ah then I can just separate the stuff that needs different threads :f
 
user1182183
I think queries in ODB aren't threaded so I have to make a worker thread which executes queries etc then via a concurrent container passes the results to the main server thread
 
user1182183
that's my idea
 
2:09 AM
@DemCodeLines Hei, everybody look everybody especially in a room full of people. You like her so you focalized on her...
 
So you are telling me I was thinking she was interested in me or curious about me for no reason?
 
"or invent "reasonable" explanations for why neutral actions are a sign of hidden passion in the limerent object" -- I hate to repeat myself, especially when I'm quoting others
 
@DemCodeLines Curiosity is interest. Curiosity is also liking.
 
@DemCodeLines You know what would solve your fucking problem?
Talking to her.
Just once.
AND THEN YOU'LL KNOW WOW IT'S LIKE YOU'RE BEING HUMAN FOR A SECOND.
 
What do you want me to say? Her friends sit right next to her. I don't want gossip behind my back going on, man.
 
2:11 AM
@ThePhD Just once?
 
@DemCodeLines You're a control freak and shy? You're doomed.
 
@DemCodeLines In class? Why don't you do it out of the class then?
 
I don't have any class with her. I see her in the hallways sometimes, but I am clueless as to what you want me to say without it being weird and so random.
 
@DemCodeLines She just looked at you, she didn't blinked her eyes, she didn't invited you to fuck, she didn't even talk to you. Don't you think that in 2 years she would have talked to you if she was that interested?
 
@DemCodeLines "Can I talk to you?". "Well, yeah. Sure.". "Um... your...". Detaches from her friends. Blah blah. - Most likely.
 
2:14 AM
@DemCodeLines Do yourself a favor: don't talk to her. Don't talk to anyone. And whatever you do, don't reproduce.
 
@Jueecy.new I honestly don't know whether you are serious or you are just saying this to get that "liking and staring" pressure off of me so I can freely go and interact.
See getting her attention is not the hard part. The topic to talk about is hard. I randomly go up and start talking about some topic?
 
@DemCodeLines Your a very lucky man to have a girl staring at you, you know.
 
@DemCodeLines I'm seriously telling you to stop. You missed your boat. Your ship has sailed. You lost this time. It's time to find something else do you with your life. Other than waste your time and mine with talking about some girl who looked at you in the past. =
 
For two years.
 
@DemCodeLines I'm just trying to make you realize how dumb this situation is. Because I had the same problem years ago and there was no one telling me how dumb I sounded. And here I am, so you can man the fuck up and move on...
 
2:16 AM
Buddy, you entered the conversation yourself.
So forget her and forget everything right?
 
1 min ago, by Mark Garcia
@DemCodeLines Your a very lucky man to have a girl staring at you, you know.
 
@DemCodeLines No if you like her, and you feel to do so, talk to her and see. Just don't convince yourself she is infatuated as well. Don't build fake stories about romantic hours spent looking at each other.
 
The fuck spelling...
 
@Jeffrey Oh so now you think I was lying that she has been looking at me?
 
Limerence, a term I have been looking for!
 
2:20 AM
@DemCodeLines No, I truly believe you think so.
 
But she has been, I saw her with my own eyes countless times.
 
I recall having something like that for a girl.
We even got to the point where we were kissing.
still tho.
that fucking word.
nailed it, have a good day.
 
> No, I truly believe you think so.
 
Oh, now I get it. So I looked into her eyes, saw that she was looking at me and then realized that I was just thinking.
Great, I came for help. Turns out people who I were asking are doubting me instead.
 
You should literally go talk to her.
 
2:23 AM
About what?
 
about her.
 
@DemCodeLines no, you just realized you had a crush on her and your brain interpreted that look as a "I like you too"...
 
I didn't get the entire story.
is this a person you work with, someone at school?
 
You've got to be kidding me. She was looking at me every single class.
 
the longer you wait to talk to her, the more your mind is going to fabricate things.
 
2:24 AM
No one else but me.
You guys are telling me that I am imagining things. wow
 
yay
 
nah man.
 
blog post down.
 
if she actually looked at you, and you're very certain that she was interested.
then what's the deal.
go talk to her.
 
I'm out. I'm sorry, I can't do it. @DemCodeLines, you are doomed to suffer for this girl.
 
2:25 AM
at the end of the day, that's what needs to happen.
you either talk, find out more about her (this will greatly simplify everything.)
or you do nothing
and you sit and fabricate.
 
@DemCodeLines She's in vicinity?
 
Alright, so if a girl stares at you for two years and acts all surprised when she finds out that you are in her class the second year too, what do you do?
 
Now?
 
2 years?!
 
@Pawnguy7 The lounge turned into O.C meanwhile
 
2:27 AM
@DemCodeLines She talked to you?
 
Once
 
hey, programmers have feelings.
LOLS
 
@DemCodeLines Now?
 
She is in my school so yeah she lives in the same town.
No, last year
 
so
you should go talk to her tomorrow.
sounds good?
 
2:29 AM
He won't anyway
 
at the end of the day, you have to.
it's the same with software
 
lol
 
you can muse about the methods about doing it.
they're a bunch of feelings.
until you actually do it, your brain has an inaccurate picture.
anyway
 
Fuck, I have class in 3 hours
 
@Jueecy.new Whatever. She probably thinks I am stupid, weird, freak, ugly and just an awful person and I am just stupid so my brain imagines that she is looking at me and maybe is curious about me. Happy?
 
2:33 AM
so what, still worth a try.
 
"She probably thinks I am stupid, weird, freak, ugly and just an awful person" -- never said anything like that
It's funny that you brought that out though
 
I don't get it. Did you enter the conversation to help me or make a fool out of me and try to put me down?
 
Haha. He's limerent as hell!
:D
so jokes, I recall the same feelings I use to have.
you gotta do it man, you gotta go up and talk to her.
there's no other discussion here.
 
@DemCodeLines Remember that person that should slap you in the face and wake you up?
 
bye.
 
2:35 AM
What?
 
@DemCodeLines I'm trying to be that person. For your own good. But I just realized you are a lost cause and you won't hear me anyway and that I should have followed the bunch of people that just went out of the chat in the meantime. I wish you all the luck in the world and let's hope I'm wrong.
 
Before you leave, do tell me one thing.
Were you saying that I was imagining things just to get me away from her or did you actually mean it?
 
@DemCodeLines Read "Limerence" on Wikipedia and you'll know. (I meant it)
 
According to that logic, no girl ever really looks at a guy because if the guy sees the girl looking, then he is just imagining things
nah man, you were imagining things
 
I never said you are imaging things. I said that you make a big deal out of a look... and you shouldn't.
 
2:41 AM
@ScottW thanks for trying to mock me.
 
@DemCodeLines That's how you sound, mate
 
@Jueecy.new Well if a girl is looking at you for as long as I told you, there has to be something, right?
 
@DemCodeLines Yes.
 
I was never trying to make it sound a big deal. All I asked initially was what do I talk about, if I go and talk.
 
@DemCodeLines Ask her name.
 
2:45 AM
@DemCodeLines Start with anything stupid, and then you'll figure something out on runtime.
 
Yeah, well I don't swear in front of girls. :D
Anyways I get the point.
 
@DemCodeLines Good luck bro
 
@ScottW Don't be so sexist. Chicks hate that.
 
lol
 
@Jueecy.new haha thanks. Nothing against you dude but somethings you said completely took away some motivation I had to go.
 
2:48 AM
@DemCodeLines Don't worry :)
 
Guys
Where can you legally use ... in C++ code?
 
Can we change Lounge<C++> into Lounge<3?
 
@ThePhD parameter pack, va_list, catch all
 
@Jeffrey what?
 
There's in catch ( ... ) and in va_args from C ( myfunc( int a, int b, ... ) )
Oh, and parameter packs, right
Is it possible to use it in other places?
 
2:50 AM
throw(...)
 
@ScottW lmao
 
Hm.
Well, looks like you all get no magic then.
 
@Pubby Strings, comments, sections of code that have been disabled via #if, #ifdef, etc.
 
Can we change it to The Lounge ?
 
I asked this quiz before, but where can ,, appear?
 
2:51 AM
58 secs ago, by DeadMG
throw(...)
 
@JerryCoffin After preprocessing
 
@Pubby I seem to have provided some answers before you asked!
 
@DemCodeLines No.
 
I can edit too!
 
@Pubby You think strings are removed in preprocessing? Got some news for you...
 
2:53 AM
Night all
 
@Pubby Define preprocessing.
 
@JerryCoffin ,, where each comma are separate tokens
 
@Jeffrey Good night.
 
(let's just say standard litb quiz rules apply)
 
@Jeffrey Niiight.
 
2:54 AM
@Pubby Presumably you mean "where each comma is a separate token"?
 
@JerryCoffin yeah. Here's the answer: pastebin.com/raw.php?i=3hFvuERg
 
I knew that operator, was the answer
just wasn't quite sure how
 
@DeadMG Yeah, the operator, part seemed necessary, but couldn't think how you'd fit that in with an actual use of the comma operator and/or as a function parameter.
@Pubby NIce.
 
man, I love the new Starcraft 2 Global Play
before that, you couldn't get a game of anything at 4am on a work morning
 
@DeadMG ...as opposed to 4 am on a work evening? :-)
 
3:00 AM
true
oh, I finished downloading Spec Ops: The Line
 
3:13 AM
std::rel_ops::operator== should be renamed "Rel Ops: The Two Lines"
 
How do you find out the difference type between two types?
With templates, I mean
If you had T1 and T2, could you do decltype( T2 - T1 ) ?
 
@Pubby No. It's actually four lines.
 
Is "difference type" some mathematical thing or do you just want compile-time arithmetic?
ie int_<2> and int_<1>
 
I just want the type of an operator that gets performed with 2 types
I'm trying (and failing) with:
decltype( declval( T2 ) - declval( T1 ) )
 
decltype(std::declval<T2>() - std::declval<T1>())
 
3:19 AM
Oh.
 
@ScottW Damn.
@ScottW WoW had a pretty solid design.
 
3:35 AM
hi fellow programmers, can someone explain me (shame on me) the joke about Furrovine namespace that it's always cited here
3
 
what?
 
@ThePhD probably knows what Furrovine is
 
lol
 
Ask someone who gives a shit about databases
 
:9393036 Facebook probably only has less than 100 databases, you know.
 
3:41 AM
me neither
think so
 
@vinipsmaker It's ThePhD's project namespace, and he is not very good, so there's lots of garbage in there
 
@DeadMG thanks. I'll reference this namespace in future code that I don't care about. :P
 
Oh shit.
 
@MarkGarcia I believe this should teach you a lesson.
 
@MarkGarcia HOPE THIS TEACHES YOU NOT TO HELP.
 
3:44 AM
@DeadMG @Rapptz This is my initiation...
 
now
 
Hi Mark....
 
beg the Binmaster for help and tell him all of the sexual and financial favours you will do for him
 
niru
 
else he will leave you here to be trolled
 
3:45 AM
 
Huh?
Why was my name mentioned?
 
@nirudyogi I only have managed one database! Please! I don't know replication and duplication, and RAID-5 stuff and... I'm not a DBA!!!
 
@ThePhD Apparently the horrors contained within your namespace are of legend status now
 
@nirudyogi Not to be rude, but you've probably asked the wrong person.
 
Sweet.
 
3:46 AM
@nirudyogi And you've also came to the wrong place.
 
thanks Mark....there is no Database Room....I just jumped here...lol...
 
@nirudyogi No hard feelings, please?
 
unless your problem is "I need a C++ expert to pay lots of money to", this is always the wrong room.
2
 
lol
 
its Ok...guys.....
 
3:47 AM
There is a DBA room but they probably don't want to answer questions there
 
@Pubby There are other rooms other than this? This seems to be the only real room in Stack Overflow.
 
hi guys, I want to recall that usage for (I'm not sure if it was for member functions in general, or constructors) ampersand coming after the signature. Any tips?
 
None of them are as real though
 
Garcia....what is volatile keyword....when it is used....One interviewer asked me today....any Idea???
 
3:50 AM
"keepin' it real"
@chico you mean like foo(int x) &;?
 
@Pubby I'm pretty sure he meants foo(int& x)
 
@DeadMG Wait, how did other people find out about my namespace anyway?
 
@Pubby yeah
 
0 of 0 of my repos are public.
 
Oh no?!
 
3:51 AM
@ThePhD Ask that guy
 
Colour me impressed.
 
@chico It's like const there but allows you to distinguish between lvalue and rvalue this
 
Yeah
 
It's probably that UB question that Domagoj had before he died.
 
3:52 AM
You can also have foo(int x) &&
 
I placed my cowboy_cast in there
 
yeah, that's what I'm talking about
both of them
 
69
Q: What is "rvalue reference for *this"?

ryanerCame across a proposal called "rvalue reference for *this" in clang's C++11 status page. I've read quite a bit about rvalue references and understood them, but I don't think I know about this. I also couldn't find much resources on the web using the terms. There's a link to the proposal paper o...

 
@Rapptz 69...
 
@ThePhD I found cowboy_cast image and I feel the need to spread this idea.
 
3:53 AM
I won't upvote.
 
Works for me~
 
@Rapptz tks
 
The whole world will get to know about cowboy_cast
 
What pubby said is probably the easiest way to think about it
 
@ThePhD how did you come to the word Furrovine?
 
3:56 AM
I got it now, the parallel to const/non-const member functions is nice
 
@vinipsmaker A name handed down.
 
I'm off, bye
 
@jalf Answered by Kate Gregory! I didn't know she was on SO.
 
4:29 AM
I think the following error makes no sense : " OpenMP 'single' directive cannot be directly nested within 'section' directive"
 
@Mikhail of course it makes no sense; you didn't include any context behind it.
 
Makes sense to me, barely knowing OpenMP :/
 
That too!
 
@LucDanton I have the right to serialize my code wherever the hell I want.
 
Isn't a section directive something that potentially introduces a parallel region? I could see why it's prohibited to put a further directive inside that
inb4 complaining about things explained in the documentation
 
4:32 AM
Rage quitting.
 
Lulz.
So
I figured out a cheesy way to do my list comprehension
and to have it in the same order than Haskell specifies.
 
Haskell doesn't specify any order
:S
Not that I know of anyway
 
4:54 AM
If a vector::push_back triggers a reallocation does it move the objects to the new location? Or does it use a copy?
 
@StackedCrooked From what I've experienced so far, moves on movable types and copies on copyable but not movable types.
 
I see. That's what I hoped for.
Modern society :P
 

« first day (941 days earlier)      last day (4012 days later) »