« first day (1004 days earlier)      last day (3962 days later) » 

12:00 AM
@sehe I was trying to find std::integral_constant, which isn't on the first page of hits
 
I don't know why so much effort is being put into this specific question
 
@Mysticial does branch prediction work on switches too? At which point, does this switch even affect performance?
 
@MooingDuck Huh. "looking for the right spelling of <identifier>" vs. "I was trying to find <other_identifier>". Mind blown. That's not spelling. That's documentation lookup
 
@aaronman Thy're all averagely drunk. I'm absolutely slaughtered, so I won't answer.
 
wow
 
12:01 AM
@sehe yes, well. I couldn't recall the real name close enough for google to tell me the right name :/
@sehe and finding the documentation on it is harder still (without the name)
 
@aaronman Because SO
 
@sehe so this is what's going on behind the scenes at SO
 
@MooingDuck I'd just cppreference type_traits and find on page
@aaronman Nope. It's what goes on on SO. Period
 
@sehe I was looking in the functional header :/
 
@MooingDuck s/functional/dysfunctional/ (why? what made you look there... oh well, you found it :))
 
12:04 AM
I doubt the OP put more than 5 secs of thought as to what is going on in his question
 
The only thing non-runtime annoyingly lurking in functional would be std::ref/std::cref IYAM
 
@sehe It was just the first header that came to mind. If I'd looked at the full header list I might have considered type_traits first.
 
@aaronman Yup, SO, alright
@MooingDuck My reasoning would be: is it static? is it meta programming? -> type_traits.
 
@sehe We're all on std::substances.
 
@sehe std::integral_constant seems pretty static /meta to me
 
12:06 AM
I'm sure he'll be thrilled to see what a commotion his question has caused
 
@aaronman Double 'm' - edit again.
 
@MooingDuck Precisely. Bingo
@aaronman Nope. He'll be scared shitless
 
@sehe oh wait, right. duh. Too distracted by work I guess
 
@Borgleader Depends on how the compiler handles the switch.
 
..and have a large Highland Park on me.
 
12:07 AM
If it does it using branches, then yes branch prediction will matter. Although given the functions that are being called, it probably won't be noticable.
 
@MartinJames not gonna lie I saw the misspelling, couldn't figure it out
 
If the compiler does it using jump-tables, then the burden is moved to the branch target predictor.
 
@aaronman LOL! I'm not normally so pedantic but, at this time of night, (UK), WTF!
 
spelling should mean nothing to computer people
 
@aaronman quite the contrary
 
12:10 AM
@aaronman Yeah, but the compiler...
@aaronman ..and documentation for customers..
 
customers? What's that?
 
I spell all my variable names wrong
couter++
 
The sausage-suckers pull me up on my English, and they're quite often right :((
@sehe The entities that pay.
 
@aaronman that's ok. as long as you're consistent. Can't really be consistent if you don't spot it
 
oh I spot it
 
12:14 AM
6 mins ago, by aaronman
@MartinJames not gonna lie I saw the misspelling, couldn't figure it out
 
exactly
 
wokay
 
What did I do now? After 7 pints of Bishops' Finger, I misspelled something?
I'm shagged - gotta sleep(8*60*60*1000);
 
12:29 AM
Wokay. Since the puppy plays dead, I'm going to dump my beef with him here. I'm sure you'll find it in good health:
@DeadMG I'm disappointed. Puppy user barges in, shouts completely inane stuff about a proper answer and then just leaves. Come on. 80k rep. If you don't have patience to look for more than 2 seconds (which ought to have been enough), don't comment. Don't accuse me of assuming things when you clearly missplaced your goggles. Thank you very much.
And I'm out.
 
Damnit, Dasblinkinglights answered the vtable question faster than i did T_T
 
12:52 AM
LoL wat
 
Interesting.
But what is the use of it?
 
I don't know. But I'd love to see the C++ version of a Ruby program.
 
Is Haskell compiled or interpreted?
 
both
ghc compiles, ghci interprets it
 
Compiled, but has the interpreter?
 
12:56 AM
yes
 
Ah. That is what I thought.
That is useful.
 
Oh that's like Scala
 
$3 for Deus Ex: Human Revolution
 
And the basic idea of learning C by posing specific questions on websites means that the poser, the downvoter and you are morons. — Yatin Saraiya 20 secs ago
wow
@MartinJames, did you noticed the answer has nothing to do with the question before upvoting?
 
Whoever made this is an idiot, John Carmack doesn't make errors
 
1:10 AM
@Jeffrey The question changed...
 
The question used printf inside the code and scanf in the title. What do you give more importance to?
 
Title is supposed to be the question.
Body is supposed to be information for said question.
 
> A WTF, just RTFM
Also this ^
So you guys are saying that an answer like that should stay around?
 
@Jeffrey Doesn't matter. Nobody aswering an inconsistent question should be penalised for an inconsistent answer.
 
I would downvote but I have rep that is a multiple of 5
 
1:13 AM
@Jeffrey I said no such thing
 
@Crowz that game gave me a huge headache :/
 
@MartinJames I penalized it because the answer is basically a link only answer and it contains WTF and RTFM which are too chatty to be on the main site. And also because it does not answer the actual question.
 
when you move there is motion blur or something. just looked funky
 
@Aboutblank what's wrong with it? My save files messed up and made the game super slow
 
A lot of games have motion blur these days
 
1:14 AM
yeah I can't play a lot of fps's because of it, all the light effects on it kill me
 
@MartinJames, Not to mention that the answerer attitude is pretty offensive towards the OP.
 
Vertical sync always seems to mess up my video card
 
how should I flag this..
 
im thinking about vtc for lack of understanding
 
1:17 AM
@Jeffrey The question was inconsistent with the title, so I stand my ground :) You free to downvote if you wish, I have no further argument with it, (esp. at this time of night:).
 
Yatin here, told to click a link. What's up
 
I told you that I discussed that answer here. So that you can read why I downvoted it.
 
Xeo
Holy fucking shit my head hurts.
 
@Xeo My head will hurt tomorow.
 
@Xeo What did you do to it?
 
Xeo
1:19 AM
@Borgleader I got a cold, but somehow my body doesn't appreciate that.
 
Sorry, what does this have to do with me? Too much stuff to read
 
@MartinJames Yeah, just don't call anyone that doesn't agree with you a moron.
 
Xeo
@YatinSaraiya Why do you think this has to do with you?
 
@YatinSaraiya Then I free you to go back to your life.
 
Xeo
Note to self: Try not to sneeze.
 
1:20 AM
Huh?
 
@Xeo Yeah, sneezing when having headache is the worst thing
 
Please explain in small words and sentences. My brain can't take all this weirdness.
 
@Jeffrey Not directed at your comment, merely at OP for inconsistent question.
 
@YatinSaraiya You can GTFO now.
 
I live in the real world.
 
1:21 AM
@YatinSaraiya Why don’t you look up a little and find the context?
 
Xeo
@Jeffrey A sore throat doesn't help either :s
 
Please just tell me straight.
 
Tell you what?
 
Ok now you are just trolling. Badly.
 
Xeo
@YatinSaraiya Click this link
 
1:22 AM
Why was I asked to join this conversation?
 
Who asked you?
 
Someone at StackOverflow.
 
That’s really helpful and unexpected.
 
@minitech I invited him to read what I said about his answer and why it was bad.
 
@minitech Hello :)
 
1:23 AM
I wish I never did.
 
Unexpected?
I'm straight on all fronts.
I tell it like it is and expect to be told like it is.
 
By continuing a discussion in chat, it generally means a new chatroom.
 
@YatinSaraiya It was sarcasm. So apparently you’re here to read; read away.
 
I have no intention of wasting any more time trying to decipher all this stuff. Just tell me what's up.
 
Xeo
@YatinSaraiya Your answer to a question was bad, the badness was discussed here, and someone told you that it was discussed here.
 
1:24 AM
@minitech Don't waste time. He is trolling. Just plonk him and go on.
 
Xeo
@Jeffrey: Next time just drop a link not to the room itself, but to a specific message please. :)
 
@Xeo I surely will after this unexpected disaster.
 
@Jeffrey: If it’s something to do with the answer, no matter how long, just leave it as a comment is probably the best way.
 
lol
 
Yeah I realized my mistake now. I was just too lazy to rewrite that so I thought that linking to the chat was fast and painless.
 
@Borgleader get your shit together! ;-)
 
Xeo
@ThePhD Maybe when my head stops hurting. Also, I'd need to get Dark Souls first.
 
At the time I wrote that the only thing OP said was "I want to copy a sub part of an array"
there was no mention of changing size
 
@Xeo You don't have it? :c
 
Xeo
Nope
 
1:28 AM
so I accounted for both possibilities
 
Xeo
You're likely talking about the "prepare to die edition", right?
 
Yar.
It was on sale before. Dunno anymore...
 
Xeo
It's 15€ right now...
 
@Borgleader it also said that he didn't need the original array after this modification, which implies that the size is going to change
 
Xeo
Well, I still have time until the 22nd, so we'll see.
 
1:31 AM
@Xeo Do you have a gamepad of some sort?
 
Xeo
Ya, Xbox 360 controller
Look who's gone.
 
lol
 
Beat me to it. :(
 
Xeo
I highly recommend not repeating that.
 
1:32 AM
Ok.
 
There's a no gif rule.
 
@AshKetchum here
 
lol
uhoh
 
Xeo
Gotta bin 'em all.
One more and I'll flag for spam.
 
I thought jpeg were allowed!
 
Xeo
1:36 AM
Xeo-chan,

☼ \|  ̄ヘ ̄|/ ☼
PRAISE THE SUN!
The -chan makes me want to decline the gift.
 
AHAHAH @AshKetchum nice one
 
How does this image thing work, anyways?
 
Xeo
@minitech Hm?
 
Xeo
1:37 AM
Are you telling me a mod doesn't know how oneboxing works?
6
 
s=[Number]
 
Wow, that’s silly. I should not have to add &.png.
 
Lol
 
Xeo
@ThePhD: Thank you, though.
 
PRAIIIIIIIIIIIIIIIIIIIIIIIIISE THE SUN
 
Xeo
1:38 AM
Now all that's left is getting rid of my headache
 
@ThePhD All I saw in that was RAIIIIIIIIIIIIIII
 
en.cppreference.com/w/cpp/container/unordered_map/erase this is a typo right? For exception #3
 
Xeo
@Rapptz Why do you think so?
 
typo? where?
 
What is Compare here..?
 
Xeo
1:41 AM
unordered_map<K, V, Hash, Compare>
 
^That
 
They call it KeyEqual
Hence.. typo.
 
Xeo
Ah, yeah.
 
That probably would have been good info to include in the first comment :p
 
Xeo
I guess that was copied from the map page
 
1:42 AM
You know, we're programmers. Lazy programmers.
 
Ah yeah. std::map does use Compare
 
you guys think being lazy is cool?
 
@chris Yeah cppreference's pages are generated kinda.
 
@AshKetchum Yes, that is why @CatPlusPlus is king of the lounge.
 
It's heavily.. templated. Funny I guess considering C++ programmers template a lot in code too.
 
Xeo
1:43 AM
@Borgleader @Tony's not gonna appreciate that.
 
@Borgleader Tony is going to be pissed
 
Xeo
Headache status: Maybe I can sleep now... nope, nevermind.
 
This isn't a jungle.
 
Tony is king of my heart though...
 
@CatPlusPlus is the king of laziness. @TonyTheLion is the king of porn. :D
 
Xeo
1:45 AM
 
@Borgleader Oh haha. That's so true.
 
So.. if I do mymap.erase(invalidkey) nothing happens right?
 
I can't see why not.
 
Xeo
> Removes all elements with the key value key
So ya
 
1:48 AM
@Xeo Am i not getting it, or the GITS sequence is just random
 
Xeo
@Borgleader I just picked the first link, nvm the video.
It's just about the song
 
Yeah, I'm listening to it, I just happen to notice the clip was from GITS
 
Sometimes I get bored of programming a specific project so bad that its not even funny. But then after some time, I have a sudden urge that pushes from the bottom to top deep down low that makes me want to run back on the computer and start working on the project again!
 
@Borgleader you are not discarding (ie. erasing) any values/elements, so no there is no changes of the size in your snippet
 
He wanted to copy a sub-array and discard the original
Wheres the problem with my example? Thats exactly what i do
Awww Blogreader is no longer on the starboard :(
 
1:53 AM
Am I the only one with that feeling?
 
@AshKetchum No.
 
What the heck
 
@AshKetchum It's okay -- everyone has a little @rightfold in them. :D
 
@Borgleader you should hilight me/reply when you message me, I'm doing other stuff than looking at this chat (just a little advice for future reference)
 
@refp ok
:P
 
2:02 AM
@Borgleader anyhow, imagine the data comes from std::cin (as you, yourself, wrote in your snippet), with this imagine that you don't always want to discard the same number of elements. how would a size static container solve this in a decent manner?
 
Is it weird that I know I'm tired only when I start thinking pictures on my screen are moving?
 
@Crowz "start thinking pictures on my screen are moving"? it happens to the best of us.. but they are just gifs.
that will be $250, sincerly; your internet doctor
 
@refp And in that case you would use a vector, my point was not that arrays were good for all use cases, my point was that it was possible that it would fit in some number of them. So I gave both answers.
 
I have internet insurance
To pay for all that webMD symptom searcher
 
@Borgleader well if it really was an answer I would have given you the downboat
 
2:03 AM
"I see little floaty dots in my vision occasionally" "either it's absolutely nothing whatsoever... OR YOU'RE GOING TO DIE"
 
That would be your right
 
@Crowz this can happen to you offline as well.. "sadly" your insurance doesn't cover this and I get some extra money
@Borgleader oh btw just a little something, next time you are facing a problem that your snippet solved; std::partial_sort_copy
 
@refp thanks, i really should go through the std library just to get a feel for everything that exists, Ben Voigt pointed to me out the existence of move iterators just 1-2 days ago
 
there are a lot of stuff in there that is usable but not that well heard of
gonna have another smoke and get me something to drink
gone.
 
There, it's about time I got <myfirstname><mylastname>.com and I finally got around to it.
 
2:15 AM
Morning.
 
Morning
 
What was that? :)
 
A failure at typing Morn.
 
Night
 
Good night.
 
2:20 AM
Niight.
 
day
 
Xeo
Alright, let's try going to sleep again. G'night.
 
hope you get rejected by the Goddess of dreamland crawl back here in 50 mins time
 
Apparently, uncommented isn't a word.
 
@Telkitty猫咪咪 I find it pretty cool, TBH. Like a James Bond logo.
 
3:05 AM
30
Q: What is our policy on strong language in chat used in good humor, and flags on said language?

ManishearthThere are a couple of chatrooms on chat.SE where strong language is considered OK. By this, I mean that room regulars may use possibly offensive language (no racial slurs, just words like f**k) and talk about possibly NSFW stuff (no pictures, just text. Jokes and the like). It's always in good hu...

 
@MarkGarcia like this ?
 
^ Might be good to have someone from here to say something.
 
Yay.
Silver badge!
 
@Telkitty猫咪咪 Since when did DuckDuckGo become a spy? :p
@Rapptz Congrats!
Oh.
 
lol
 
Xeo
3:07 AM
@RichardTingle Defending Java? I challenge you to a duel sir! Pistols at dawn (...or whenever the GC finally runs) — voretaq7 4 hours ago
8
lol
 
LOL I see ... you have already been rejected by the Goddess of Dreamland
I knew you would but I didn't know it would be so soon
 
3:24 AM
Is Meta being horrible about the subject?
Wtf is The Comms Room?
Is that the Tarvern?
 
On Superuser or Serverfault, I think.
 
3:37 AM
Are there any other movies like The Social Network?
 
@AshKetchum I'm sure google has the answer
 
an hour of google searching didn't help me.
 
better still ... amazon
 
@MarkGarcia: And then it said "this was just a test -- you passed"?
 
search the movie on amazon, it will suggest similar movies
 
@Borgleader Yeah I have tried that. Couldn't find an interesting one there though.
Unless it updated recently.
 
@JerryCoffin Hehe. Well, after a long time of not doing some reviews, it feels like doing them is a new thing for me.
 
@MarkGarcia The new old thing. Oh wait, that name's taken.
 
The New Small Thing!
 
@JerryCoffin I had to search that. :)
 
3:49 AM
@MarkGarcia Ah, then I did a good thing -- it's well worth reading.
 
Hmm... 38 minutes of inactivity. And I'm in the mood to answer questions. sigh
 
@MarkGarcia Hang on, "Why has it been so long since there was a question?"
I wonder how many downvotes that would get and how fast it would be closed/deleted.
omg speak of it
steals answer
 
lol lame question
 
@Rapptz Better than the last one.
 
Slumdog Millionaire is on that list. What the heck does that movie have anything to do with The Social Network?
 
3:57 AM
@AshKetchum Both dramas in which the protagonist gets rich.
 
bothare a waste of time haha
 
Yeah, but besides that, it has almost nothing to do with the type of story that The Social Network is.
 
Coffined!
 
lol
 
stop idolize a movie
 
3:59 AM
I am not. The Social Network is about entrepreneurship and startup. Slumdob Millionaire has nothing to do with that.
 

« first day (1004 days earlier)      last day (3962 days later) »