« first day (642 days earlier)      last day (4292 days later) » 

Ell
12:04 AM
it took me an unbelievable amount of time to learn even little c++ but at least I did. its just dedication I guess
im so cold. I'm so cold. I'm so cold because im covered in aardvark cum
 
..wat
 
Oh wow, this article is cool:
 
is wchar_t also considered to be an int type?
int x = static_cast<int>(mywchar_t); <---- is that valid?
 
^ Warning: seriously hilarious
@TonyTheLion I'd say yes. I suck with standardese though
 
Ell
12:16 AM
that's fast
 
What is?
 
Ell
the fapping
rapping*
 
That guy's awesome.
 
Ell
someone edit that :L
 
12:17 AM
press the up key
 
He's on some kind of challenged device
 
Ell
yeah mí móvil
 
> With the amount of effort that goes into these things, we probably could have cured cancer or something by now.
 
12:33 AM
to eat or not to eat something
 
> Also check out our ALF videos!
lol /cc @Cheersandhth.-Alf
 
those are quite traumatizing
 
@sehe, I found you again:
you're facepalming stupid URL girl
 
Too stupid to own a porn prom dress
 
lol
how can anyone be so fucking stupid, is my question?
stupidity knows no bounds
 
Ell
12:45 AM
I just realised its nor prostitution If you film it
 
a very bad coincidence of link postings:
 
@TonyTheLion erm. perhaps by not being interested in how computers work. At all
@Ell wut
@TonyTheLion ROFL
 
I'm going to hell for posting that last one
 
Ell
like if you want sex with a prostitute and its illegal, just film it and call it porn
 
@sehe probably, but hell, even if you don't have any interest, if you're going to post an image on FB, you should at least know how to do that
@Ell da fuck?
should I post that as my FB status?
and get shit from all my friends?
 
12:50 AM
I've seen people who are computer-retarded but can explain to me the inner workings of Facebook.
 
then they're at least FB literate
not that that means much, if you aren't working there
 
@TonyTheLion You spend to much time on reddit. "I'm going to hell for ..." only works on that site
 
@sehe well, seems like you spend time there too, for knowing that.
 
@TonyTheLion I did. As an experiment. I think about a month ago now. I spent 3 hrs one night, and probably 1 hr the other. I like youtube better for total brain numbing. But I don't like youtube that much
 
@sehe I'm just addicted, that's all
I mind numbingly click every single link
 
12:53 AM
Ow. I'm too. Just not to reddit
 
refresh the front page, and start again
 
user1174868
What the hell is this magic? You no longer have to restart after a video driver install?
 
Ell
its not rape if you want it. i want it.
^ my New saying to girls
@jordan just restart the x server :D
 
I thought I was bad
but this guy @Ell here has taken things to whole new level!
 
hello everyone :)
 
1:00 AM
hello Ninja
 
Ell
evening :)
@tonythelion I am not usually bad, it is just because its so late :L
 
lol
excuses excuses :P
 
we;;
ccording to my, approxermashuns, it has now been 32 hours since I last had a quick doze
so I'mma have to bid you ladies good night
 
good night
 
Ell
nighty night
 
1:12 AM
@DeadMG could be a good plan, considering your typing is somewhat affected
 
since I just watched approximately 50 episodes of Breaking Bad consecutively.
that can't be good for my health
 
Ah. I don't even.
know what Breaking Bad is
 
I recently learned about breaking ball as a baseball term.
 
What, use a glass ball?
 
In baseball, a breaking ball is a pitch that does not travel straight like a fastball as it approaches the batter. A pitcher who uses primarily breaking ball pitches is often referred to as a junkballer. A breaking ball will have some sideways or downward motion on it. Curveballs and sliders are two types of breaking balls. A breaking ball is more difficult than a fastball for a catcher to receive as breaking pitches sometimes hit the ground before making it to the plate (sometimes intentionally, sometimes not). The pitcher must therefore have confidence in the catcher, and the catche...
 
1:16 AM
I fear my kids will one day figure out the meaning of Breaking Bed
 
I learned it all from the Major anime.
 
"Standing on the shoulders of cartoon heroes"
 
Ell
what is breaking bad?
 
It's like breaking, but in a really bad way?
 
its when you get cancer and become a drug dealer to provide for your family, but then you live
 
1:18 AM
oh damn, that's bad.
 
Yeah, that's quite bad.
 
you might even end up killing people
 
But is it breaking?
 
@melak47 Yourself, notably
@StackedCrooked Give me a break
 
A breaking ball?
 
1:19 AM
Ouch
 
A baseball can be quite painful if you get hit at the wrong place.
 
Night all. 2nd attempt
2 hours ago, by sehe
@unNaturhal I'm approaching my bed. Now I have a problem: left side or right side. I hear there are feng shui issues involved
@StackedCrooked Like, Times Square
 
Ell
I think ill sleep too. nighty night all
 
night
 
1:44 AM
Woo, got my new headphones.
 
What kind?
 
HD 449. Sennheiser.
 
2:00 AM
I bought a HD595 six years ago. I'm still using it.
 
2:17 AM
ugh. im so bored >.>
 
2:56 AM
me too. I'm gonna got o bed
 
3:10 AM
ehh, i have work to do >.>
 
// Wiil mFiles be empty after the move call?
std::vector<std::string> result = std::move(mFiles);
assert(mFiles.empty());
 
@StackedCrooked: I don't think that is guaranteed by the standard, but I would expect that to be the case in most implementations. The only requirement is that mFiles's destructor can be called after the value has been moved.
 
list( time for time in when_im_bored )
 
@DavidRodríguez-dribeas I was surprised to find out that the assert actually did get triggered.
Btw, mFiles is also std::vector<std::string>.
 
That is why I said that I would expect it to be the case. The simplest destructible vector is an empty vector. Most implementations don't allocate memory for an (initially) empty vector, which means that the C++03 implementation was already able to handle destruction of a vector with no allocated data. By just making the vector empty() (and capacity()==0) the implementation does not need to track whether it was moved
And yes, I assumed that the source was of the same type, if it wasn't then the original vector might have been left untouched.
 
3:22 AM
@DavidRodríguez-dribeas So if after the move my vector is not empty. In what state is it then?
My object is, in a worker thread, recursively scanning the directory structure for files and stores the path strings in a vector. I also have a method named "stealResults" that can be called from another thread. It's returns (moves out) the list of currently found paths. After this function returns and mutex is unlocked the worker thread can start adding paths again to my vector. However, it isn't empty now..
So I assume I should call mFiles.clear() after the move then?
 
4:16 AM
is there an opengl room?
 
user406009
@iKlsR You should probably open a question on stackoverflow.
 
5:13 AM
@iKlsR Feeling chatty?
 
5:59 AM
Music for the Jilted Generation is the second album by English electronic dance music band The Prodigy. The album was released through XL Recordings in July 1994. The album was re-released in 2008 as More Music for the Jilted Generation, including remastered and bonus tracks. Album information The album is largely a response to the corruption of the rave scene in Britain by its mainstream status as well as Great Britain's Criminal Justice and Public Order Act 1994, which effectively criminalised raves, rave culture, and by implication, rave music itself. The latter is exemplified in t...
^ Anyone else here played this CD a lot during their teens?
 
6:30 AM
stackoverflow.com/questions/11555045/… Hi all. Does anybody know answer? I will be appreciated for help
 
@Sasha omg what a crappy code
 
This is not my=)
 
also it's unrelated to the question, as the EnumDisplayDevices is only for current session.
 
I need some analog for all sesion
This function only for current session... and not return me correct result when i run as service.
 
7:02 AM
84
Q: Why does C# not provide the C++ style 'friend' keyword?

Ashley HendersonThe C++ friend keyword allows a class A to designate class B as its friend. This allows Class B to access the private/protected members of class A. I've never read anything as to why this was left out of C# (and VB.NET). Most answers to this earlier StackOverflow question seem to be saying it i...

^ Whoa, upvote avalanche...
Yay, I've earned the C++11 tag :) Now I belong to the inner C++11ircle :)
 
@FredOverflow Welcome.
 
@MooingDuck I don't think your comment on my answer is very helpful either ;)
 
7:28 AM
@StackedCrooked :)
Maybe I should buy a ticket for the zurich openair.
 
Are they playing, the prodigy?
Never seen them live actually. I wonder if they are today still the same as they used to be.
 
yes
and kraftwerk
and the bloody beetroots
@StackedCrooked pretty much :)
Obj-C for .net devs heh How about ANSI C for .net devs?
 
Right, I've put my language-lawyer question up; let's see if this gets any response.
 
"an rvalue is an expression that does not represent an object occupying some identifiable location in memory" is completely wrong. Every object has a location in memory. It's spelled this. — FredOverflow 14 hours ago
I should really take the time to read @FredOverflow's answer..
 
The quote is true for scalars, though. 5 is not an object. But those are not very interesting regarding move semantics.
 
7:39 AM
@Nils no, object can not have any data, or it can be in CPU register
 
By the way, does "Re: " in an email stand for "Reply" or "Regarding"?
 
Reply, definitely
 
@FredOverflow "reply", IMO
 
should be in a RFC somewhere
> re (the ablative of res 'thing') has been used in English since the 18th century to mean 'in the matter of', 'referring to', or 'about'. In business letters and memoranda, "Re:" may be used instead of "Subject:" to set off the topic.
 
Morning all
can I get some acceptance on my edit please, rather big change, but very much for the better IMO
god damn it! Why can I not get linking right any more?
 
7:48 AM
stackoverflow.com/questions/11555997/… take a look at this please, I think it was wrongfully closed
 
@thecoshman not sure, the language and library might be relevant.
 
morning
 
@ecatmur how? the questions is about how to get 100% CPU usage, apart from when using a VM that will manage usage, it's the same for all languages. And use of library is not going to affect it either
 
It's possible for the behaviour of a library to change between platforms.
 
but how maintain 100% utilisation and why you may not want to aim to always have 100% usage is not dependent on the library
 
8:01 AM
Depends on the library. Suppose it changed from spinlocks to mutexes? Knowing the details might help formulate an answer.
 
@ltjax nope, correctly closed as a duplicate. Your question is asking the same thing in a new way
 
@thecoshman That question just sucks and doesn't provide enough info to make an educated guess imo
 
@ecatmur Not really, It's a generic question, "what can cause 100% usage" I answered it in a generic way. Sure the library might be doing something special, but there is no need for that question to be hung up on the details of the library
 
@thecoshman, the old question only asks what they do for class members and the point really is that char[]is illegal there, the new question is really a lot deeper
hell, I'd like to actually know it
really, I was looking at the prior question to find answers because the new one is actually interesting
there's not an answer to that at all
 
@ltjax 1 sec
@ltjax reopened
 
8:07 AM
weeee
 
this isn't going to end well... I can already here the meta sirens in the distance
 
@thecoshman how so - what are you implying?
 
my company hires an italian girl to translate english and french documents (despite having a mother tongue english speaker right here)
it's brought to her attention that she has made some mistakes, and she gets increasingly stressed, so she storms into my office and says to me, "Seeing how you know so much, why don't you do everything?!"
woman logic, pfff
 
I like the way some guy instantly rolls back an edit of mine, but refuses to take the time to explain his problems with it ¬_¬
 
@Neil Can you blame them?
 
8:19 AM
@Abyx It's not unrelated. It describes exactly what information the OP is looking for. The question explicitely states "Does anybody know some alternative for this code". So, that's rather obvious then.
@Abyx I somewhat agree that the 'C++' sauce on top of the enum API is... interesting. Though arguably the direct API approach isn't any better...
 
@Neil to translate to what what language?
 
@PeeHaa Why yes, I can. It's not my specialty, but I can translate to english afterall
@thecoshman Italian to english, italian to french
 
can you read Italian?
 
I don't know much about this sort of thing, but I do know that it's always best to have a native speaker translate into his or her language
 
Oh god. That awkward moment when you realize, after a while, that your last message from last night is still on the SO chat page even though you're already well under way with your new workday...
 
8:21 AM
@thecoshman Yeah, I've been living in italy for 6 years. I think I'm capable
I wasn't informed of any of this until after she was hired
 
it does make sense, have a native English speaker, who knows the language they are reading from
meh, Italians, when was the last time they did anything sensible?
 
It's not even really her fault.. she's been put in a bad spot
I'm sure she's confident, but not so much to be able to translate like a mother tongue.
Takes a long time to get to that point for a foreigner
 
@Neil Well I don't know you, but I would like to see an Italian girl instead of yu any time of the week
 
@PeeHaa Me too
 
:)
 
8:23 AM
Strange thing is, she's very formal and though I've tried to be more casual with her, she is very formal with everyone
So it's odd that she would then storm into my office and basically say it's my fault she's stressed
She is young though, so I guess that merits mention
 
@Neil Don't you think it makes perfect sense that she thinks "what am I doing here anyway" since you so aptly point out that indeed "she has been put in a bad spot". That's not women logic: it is you who doesn't like to feel her pain, and externalize the source of the discomfort to her.
It wasn't her. In fact, even you play a more active role in making her feel bad....
 
Whoa, where do you arrive at the conclusion that I play an active role in making her feel bad?
 
For the record, you are probably right to do so. But don't be surprised she acts stressed
> it's brought to her attention that she has made some mistakes, and she gets increasingly stressed, so she storms into my office and says to me
 
I don't go around professing my knowledge of english, nor do I normally speak english here on a daily basis
 
^ it's implied
 
8:26 AM
@sehe I didn't bring anything to her attention. Others did that.
Lord knows I really would want to make a few corrections on our web site
She translated "delivery" in italian as "consignment"
Which is technically a word, just rarely used
 
@Neil Well, then. What's the relation of those sentences? Apart from their chronological ordering ...
 
you should organise a casual chat, with a manager, her self, and your self
 
@Neil Well, it depends on what image you want to project. I think consignment is a perfect word for some kinds of service delivery
 
just to get things sorted
 
@sehe Not when your audience is the general public and you want to be clear
In that case, you use delivery
 
8:28 AM
will be better for the company, even if if you just proofread stuff, to make sure it is all sensible. She can then get better as well
of course, this does assume she wants to get better
 
@Neil I hear you the first time :)
 
@thecoshman I'm afraid of undermining her purpose
If I have to check her, it makes it evident that someone high up made a big mistake
 
@Neil you have better things to do then translate (I assume) but you can help her improve
 
I would rather not enter that monstrosity of a company drama
 
or just tell her that you are always free to offer help with translations
 
8:30 AM
@thecoshman True, but that doesn't change the fact that it would probably be extremely humiliating for her
 
@Neil So, you are saying she basically worked out on her own that you were probably of the opinion that her command of English wasn't quite good enough yet? That's hardly rocket science.
 
true, she might take it the wrong way
 
But if you did nothing to prompt that, yeah I can see how it would be very surprising to be on the receiving end of a stress-out like that.
Peace
 
I want what's best for the company, but a higher priority still is that everybody is chill
 
but if her poor work is bringing every one else down, best sort it out
 
8:32 AM
@sehe I think I represent something she envies, for lack of a better word
@thecoshman She's the niece of one of the higher-ups
So yeah, that makes it only that much more complicated
 
@Neil well then your fucked
 
@thecoshman :(
Nobody up to this point has asked me to give her a hand
Including herself
I would just assume do what I'm supposed to do, which isn't translation
Until told otherwise
 
@Neil Actually, not that much. It's just a collegue that you all have to get along with. Remember, you're a team. Even if some members are incompetent, you're still a team. If your manager has any sense, he'll notice the friction, but even if he doesn't, it could still work
 
yeah, I would just leave it be
maybe mention to the boss, how you are a native English speaker who can read Italian
 
That's what my colleagues think as well
Better to let it fizzle out
 
8:37 AM
though, it will probably result in more work for you
 
@thecoshman Not a big fan of that idea, but at this point, it's a minor evil
 
@thecoshman How so?
@Neil The translation was previously done by ... whom?
 
is her poor work affecting you? if not, leave it be
 
@sehe Me, whenever the situation arose
 
@Neil Ah. Perhaps that's what she picked up on? [signed, Cpt. Obvious]
 
8:39 AM
@thecoshman Not worried about her poor work affecting me now as much as later
 
@Neil if her bad works makes your job harder or worse, then speak up right away
 
@sehe Maybe? I don't think that's reason enough to flip out like that.
 
@Neil Hey. Don't fret it. Are a director/stock holder? Otherwise: it is not up to you to decide the desired/required quality of English translation on the web site.
@Neil Well, she did. What else is there to say
 
@thecoshman Nah, just don't want her going to her uncle and claiming I treat her awfully
 
You might just point out that some wording on the site could be improved, whenever it happens.
 
8:41 AM
I think I treat everyone with a certain amount of respect, many of which I'm friends with as well
However, it's difficult for me to wrap my head around people who act irrationally
 
@sehe that code snipped is unrelated because it uses wrong function, it's like "I need X, here is a code which uses foo() which can't do X by documentation".
 
@Abyx Well, just imagine the question without that code. It would be exceptionally unclear what information the OP needs and people would be shouting "Show us what you got" in the loudest voice you can think of. Rightfully
@Neil Hehehe. So you think you act rationally :) Again, I wager it's not that. It's the way it made you feel.
16 mins ago, by sehe
But if you did nothing to prompt that, yeah I can see how it would be very surprising to be on the receiving end of a stress-out like that.
 
@sehe I don't like the feeling I get when someone irrationally talks to me like that, no.
 
@sehe no, the question should be "I want monitors in another session, there is the EnumStuff() but MSDN says it's only for current session, so plz gimme another function" - and no code required.
 
It's only happened one other time in my life that someone flipped and I have no rational explanation for it
3rd year of graduate school, in good standing among my professors, making good grades, etc.
One of my professors asks me to stop by his office after class without explaining why
Which was odd especially because he had never done that before, nor was he known to ask other students to do so
I stopped by, and his face looked like he was trying to hold in a maelstorm
Red in the face, he tells me he wants me to drop the course immediately
I tried to defend myself, but he interrupted me and continued to escalate in volume
Wasn't long before he was shouting at the top of his lungs for me to get the fuck out of his office
I was honestly too frightened to say anything at that point, and I simply left
 
8:52 AM
Huh. What was there to defend?
Why didn't you ask him, after he was done, "Erm, why prof? What happened?"
 
@sehe Why the hell he was acting like that, maybe?
I didn't drop the course in the end and he ended up giving me a C (I consider myself lucky he didn't fail me despite everything)
 
@Neil So you never found out what he was angry about?
 
I don't understand it to this day, and my only explanation is that he confused the actions of another student with mine
@sehe No, and frankly I didn't want to get near him to find out.
He was borderline violent
Never had such problems with other professors
It was a single event too.. nothing similar like that happened before or after
I found out from one of the other students that his daughter was very ill
So maybe he it was in combination with the fact that I'm sure he was very prone to snap
 
you should have gone to some sort of management, that shit's not on
 
@thecoshman With what proof? It would have been my word vs his
Besides I needed that course to graduate
 
8:57 AM
not really, how often do students go claiming they where screamed at for no reason? They would of taken it seriously, if not you would take it even higher
 
@Neil Huh? Why do you need proof? Reports are just that: signals. It's not about solving it for you. It's about letting responsible staff know
 
@sehe Again, I doubt that would have ended up well for my degree
It surely wouldn't have helped. It's my duty and all that jazz, but I look after myself first and foremost
I'm tempted to write him an e-mail demanding for an explanation
I've gotten my degree. I don't have to play nice this time around
 
@Neil There is usually dedicated channels for 'trust matters'. Those are legally bound to be anonymous. If not, your school sucks. In many countries, I'm pretty sure instutions are required to have 'counselors' or 'ombudsman' type staff
@Neil Now imagine you sitting there and receiving that mail. How is that rational? You rationalize not acting all the time, mostly quoting fear. How on earth is that going to make sense to him? If you drop it, drop it.
 
@sehe Fear is not rational, but neither were his actions. I wanted my degree, and that should be rational in of itself.
Asking for a rational explanation is not irrational. Scientists do that every day.
@sehe I should have simply trusted my university for no personal gain? No, thanks.
 
Okay...
 
9:38 AM
I just answered a two-year-old question. *le sigh*
At least it answers the question, because I had the same problem
 
The more I work with this code, the more it feels like it was developed by a C programmer... this is so removed from the notion of OO, classes are basically being used as namespaces. Maybe that is why I don't mind Java that much...
and the notion of refactoring as been completely lost on who ever wrote it
trivial lines of code, are extracted out to a separate function, and wrapped in all sorts of needless logging and try catch blocks, whilst large complex blocks of code are duplicated all over the place
 
Yikes
 
yet another reason why I am (attempting) to look for a new job
 
I don't mind the trivially small methods, because I think ultimately it helps future development
However, only works if you don't dump assertions all over the place
 
yeah, but extracting one line?
and then wrapping it all sorts of 'standard' stuff, because it is a function and thus we need to know when we are entering and exiting it
 
9:50 AM
It allows you to modify that piece of code everytime it's called, rather than in one place at a time
 
oh sure, I get that
but this is ridiculous
 
That's a sure sign of someone who has spent long hours debugging that software
That's the smell of programming frustration right there
 
the worse thing, is the way EVERY function is wrapped in a big fat try/catch block
 
@thecoshman Pardon my saying so, but that's why I prefer Java
At least you know what you're throwing and what you're catching
 
even though we are using AspectJ, so such stupid nonsense could be hidden away, and enabled when needed
 
9:52 AM
You don't have to worry about catching things that may never been thrown
 
this IS Java
 
ouch
 
and some things you do need to worry about, if something throws, you either need to handle it, or also throw it
 
@thecoshman Catching every little exception is fine and good if you're doing different operations according to which exception it is
But sometimes you need to put a big ass try { } catch (Exception e) { }
 
and if you are not going to throw any exceptions, you should handle them. And just a generic catch ALL exceptions and do nothing with them is not the proper way to do it
@Neil that would be the exception, not the norm
 
9:54 AM
Obviously not. If you catch all exceptions, it becomes your responsibility to handle all of them
 
hello everyone
 
Meaning you should display something since you can't anticipate every kind of exception
 
I want to check if my query is running with method ExecuteNonQuery
 
@blankon91 can you read the hints here
 
Better still if you can catch all anticipated exceptions rather than all exceptions like IOException when doing a io-heavy operation
 
9:56 AM
@Neil and if you are not going to handle them, you should not catch them in the first place
 
So you don't catch the exceptions like memory exhausted exceptions
@thecoshman Agreed
 
@thecoshman I'm sorry
 
@blankon91 You should be!
No, actually I'm joking.
 
btw what's the different between ExecuteNonQuery() and ExecuteReader()?
@Neil :(
 
Joking about what a joke you are!
 
9:57 AM
@Neil LOL
 
Actually joking about that too.
 
@blankon91 no worries :D you past the first test, not just re-asking the question :P
@blankon91 that's C#... I care not for C#
 
@thecoshman ops I'm sorry again :p
@thecoshman well, thank you
 
@blankon91 Didn't you know? You're in Lounge<C++>. We don't actually talk about C++ here. :)
2
 
if you get a decent avatar, it tends to help people not rage at you :P
 

« first day (642 days earlier)      last day (4292 days later) »