« first day (1608 days earlier)      last day (3343 days later) » 

1:00 PM
> Down the slide
a child moves backwards
sound of metal
 
-5
Q: which site or book refer for networking and c++?

PaddyHello to all I am fresher to networking. Don't understand which site should I refer suggest me. Thanks in Advanced.

> I am fresher to networking
And I'm trying very hard not to read that last phrase
 
I'm fresh / exciiii - ting
@LightnessRacesinOrbit ROFL
 
@thecoshman I logged in and took a look. Nice.
 
Nope, couldn't help it. Commented.
 
1:03 PM
morning
 
_ -1 sorry but this is just not right — Lightness Races in Orbit 7 secs ago
hello you @Pris
 
You guys ever think that there's an unusual focus on people learning programming in the media these days?
 
@Borgleader I never understood the appeal of haikus.
@Pris Unusual as in unprecedented? Yes.
I think the media downplays how hard programming actually is.
They make it sound like anybody could program the next Facebook.
 
they don't uplay how important it is that we gain more programmers, though.
 
1:09 PM
Aren't we having way too many subpar programmers already?
 
Actually
I just realized my submodule issue would be solved if I had some kind of dependency/package manager
 
Quick poll: should IDEs detect commented-out code and report warnings?
 
@FredOverflow Yeah but with an option to disable the warning
 
@FredOverflow Should IDEs do code review?
 
1:13 PM
@FredOverflow No
 
@sehe Oh right. We should also ban UML tools, so architects don't lose their job ;)
 
Huh. Code review is a job? I thought that was a responsibility
 
I've seen it as a full time job
 
That's the sick part
 
@FredOverflow No.
 
1:15 PM
Anyhoops, if they're making many off programmers leaving in commented code...
 
I think it's ok to have code in comments.
 
I think most of the time it's not ok, but in some situations it could be
 
How about code preview instead of code review? "I see a for loop... it starts with the index 0... the rest is a bit foggy..."
 
lol
 
And IDE would not be able to tell code in comments from commented-out code, though.
 
1:16 PM
Machine Learning, AI, neural networks... I'm sure it can be done.
 
@R.MartinhoFernandes yeah. What about when you have code examples for doxygen or something similar for example?
 
@FredOverflow Integrated Divination Environment
 
Give me 10 years and a team of hot graduate students.
 
@Pris That's "code in comments", as opposed to "commented-out code".
 
> hot
:o
 
1:17 PM
@Jefffrey ergh, time to roll back the server :P
@Jefffrey if ye up for it, could have a good session tonight.
 
@R.MartinhoFernandes I know, I was agreeing with you and providing an example... though I guess it came off as a question
 
@R.MartinhoFernandes Fred's premise was that the IDE would be able to tell them apart, though - somehow.
I think it would be useful if it managed
 
@FredOverflow the question is though, are we just adding more shitty programmers into the mix, or are we exposing more good programmers?
 
Relatively few of the comments I find in our codebase contain code without being commented-out code
 
@AndyProwl I don't. If that is already useful, then perhaps we should should invest in more scrupules, not tools
 
1:19 PM
@sehe What do you mean? Go back in time and make programmers not comment out that code?
 
That's one strange meaning of the word un comment that I was previously not aware of :S — sehe just now
@AndyProwl No that's not what I mean. I mean - have programmers care about the state of code in for review. And have useful reviews
 
> A boy goes to school with a gun. His dad, convicted 28 times, was placed in custody.
28 times
whatthefuck.lzma.torrent
 
'condemned'?
 
@sehe Well, that's certainly a good thing to do, but you may not have control over what other people deliver and still need to cope with the SW they wrote. Also, those people may fail to apply the guideline, because humans. Code reviews are great, but we (for instance) have no capacity for reviewing the whole codebase.
 
@AndyProwl how can a comment that contain code not contain code that is commented out o_0
 
1:23 PM
@thecoshman Commented out: commented to be purposedly disabled (ie, not there for educational/explanatory purposes).
 
@AndyProwl Are you one of the people that solve people issues like this with technocracy? I'm surprised
@AndyProwl And there should be no need.
Just the new/touched code will be fine
After all, if the existing code is used, review is kinda too late. And If it's not, throw it!
 
@ParkYoung-Bae oh... so shit that should have been deleted
 
Exactly
 
@sehe Solving people issue is not my responsibility nor is it in my power, unfortunately
 
@AndyProwl of course not, but no one changes the entire code base in one go.
 
1:25 PM
Though it's not very hard to have a precommit hook detect most instances of commented-out code.
 
@AndyProwl ... Avoids answering
 
A hunk that only changes by adding comment markers is commented-out code.
 
I think most of the changes we make are cleaning up shit that has just been left to fester for far too long
 
@sehe I didn't avoid answering. The answer is that I cannot force my colleagues to write code (including commenting out code or not doing so) the way I think should be done.
 
I may be dumb, but I can't see a lot of wrong with commented out code. Although, I don't fail to delete it on review.
 
1:26 PM
Oh code reviews
 
@AndyProwl you can review it though, and pass judgement...
 
@AndyProwl That avoids the question.
 
Only allow code in doc comments :0
 
> Are you one of the people that solve people issues like this with technocracy?
 
@Dave: From what I remember, being an 'empty student' is a fairly common state. — Lightness Races in Orbit just now
@FredOverflow yes
 
1:27 PM
@LightnessRacesinOrbit Must. Resist. Obvious. Jokes.
 
@sehe for the most part, it's noise. if it's like /* if(list.size() == 0){ */ if(list.empty()){ that comment serves no purpose. It should be removed before the change is accepted.
 
@sehe I thought the answer was clear: in an ideal world, no. In the real world, partially - what's wrong with automated tools that can detect potential issues?
 
Is it normal that I always hate my code?
 
@khajvah Common, yes. Normal, mmm maybe. Good, no.
@thecoshman Speaking less practically, it makes me suspicious of the programmer that wrote it. To what other parts of their design, code, testing, process are they applying such a lack of rigour?
That's the real problem with it.
 
@thecoshman Yeah, I should be able to attend
 
1:29 PM
@thecoshman Yes you can, and as I wrote before, code reviews are great, but they cannot cover the whole codebase - there's no capacity for that. Yet, we have to maintain the whole codebase. I don't see anything wrong with having automated tools that help you, as long as there's a "shut up, automated tool" option
 
It's an implication of other problems more than a problem in and of itself.
 
Do you guys ever think about the fact that we'll never know the origin of the universe?
 
I developed the weird complex, when I get a new task, I am always afraid of adding new stuff the the existing code. I hope this is jsut a beginner problem
 
I mean, not even if there's a God after life. Because, who created God then?
 
@AndyProwl You review changes, not entire codebases. Careful change reviews can take overarching architecture and design into account and, theoretically, allow you to essentially review the codebase by aggregation.
 
1:30 PM
lol dat flag
 
And who created who created God?
 
@Jefffrey I try not to think about it.
@AndyProwl I missed it :(
 
@Jefffrey God did.
God can do that. That's what being omnipotent means.
 
@R.MartinhoFernandes Actually, I didn't
 
recursive God
 
1:31 PM
@Jefffrey Not really because its a fixed unknown
 
And don't get me that recursive crap
 
@LightnessRacesinOrbit We do not have capacity for reviewing every change
 
@thecoshman preaching to the choir
 
@AndyProwl Why not?
 
@R.MartinhoFernandes Who gave him those powers?
 
1:31 PM
@Jefffrey It's Gods all the way down.
 
@Jefffrey God did.
 
@Jefffrey He did.
 
@LightnessRacesinOrbit Something like "Room title changed to IAppStars"
 
God can do that. That's what being omnipotent means.
 
@Jefffrey You're assuming a linear progression in time from the off, which is a big flaw in your reasoning.
 
1:31 PM
I see what you are doing but...
 
But can he create a rock he can't lift?
 
47 secs ago, by Jefffrey
And don't get me that recursive crap
 
28 secs ago, by R. Martinho Fernandes
God can do that. That's what being omnipotent means.
 
@Griwes Yes. He can then lift the rock.
 
God > logic.
3
 
1:32 PM
But can he create a rock he will never be able to lift?
 
Did you cats hear about that Saturn moon with geothermal vents and liquid water
 
@LightnessRacesinOrbit Well... what.
 
@AndyProwl a tool can help yes... but IMO you still need a human eye to review it.
 
People fixate on edge case paradoxes with a strict definition of "omnipotent" in order to "disprove" the existence of God, which is somewhat ludicrous. What you should be doing is questioning the use of the term, and asking what implied constraints there are to the [near-]"omnipotence".
 
1:33 PM
It's like saying that C++ cannot exist because Vlad once said you can do anything with C++ yet I still can't find a decent way to make sandwiches with it
 
@AndyProwl oh. it's just that I've only seen this come with terrible repressive cultures with no freedom. At all. Where literally all code you wrote need 1 or two touch-ups each line, and then several incremental passes to order the damn class members as required, add/remove whitespace lines where required/forbidden. All the while these rules are arbitrary and in reordering the class members you always lose information.
 
We have things like formatting rules and style guides... that sort of stuff we can agree on can enforced before you commit.
 
user3010322
@ParkYoung-Bae Sounds like a good way to sell an IDE.
 
I feel it's funny, me, a Christian, presenting the apparent paradox and you guys defending God. lol
 
1 hour ago, by Borgleader
top kek /cc @Mysticial
 
user3010322
1:34 PM
"It feels more like a World Class Integrated Divination Environment, it's like it knows what I'm thinking!"
 
and many many other quotes about it
:)
 
I'm personally a fan of "SemanticFormatting". Format dense where no information is lurking. Format verbose where information is lurking. Group related implementation details (preferrably in their own class, of course)
 
@LightnessRacesinOrbit We don't have enough people for that. Everyone's very busy maintaining their own part of the codebase, reviewing/understanding other people's code, making notes, discussing stuff, takes a lot of time.
We do that selectively
 
@Griwes I do not discount the existence of intelligence at the beginning of time. I cannot. Plus SGU's got me hooked onto the idea, so...
 
1:34 PM
haha
SGU: used to prove existence of God since 2015
 
Nobody should give a fuck about who you fuck or pray to. Unless you are non-ethero or non-atheist
 
hides
 
What I don't support is blind acceptance of various stories and tales (mostly those which have nothing at all to do with God) used to justify various strange and harmful behaviours
 
@sehe "Detect potential issues" does not mean "enforce formatting rules"
 
1:35 PM
funny how I stumble over that at this moment :D
 
@Jefffrey Nobody should give a fuck about what I give a fuck about
 
@thecoshman And now we do not have the alt text.
 
@LightnessRacesinOrbit yep, that's where I took it. But another close vote was needed.
 
@LightnessRacesinOrbit Unless it's stupid
 
@Jefffrey Except God. God can do that. That's what being omnipotent means.
 
1:36 PM
@Griwes vOV blame xkcd
 
The IDE can simply warn you "hey you have commented out code here" - and you are free to keep that error window hidden or disable the warning or something
 
56 mins ago, by Lightness Races in Orbit
@Borgleader still not closed
;p
@thecoshman No, blame your poor oneboxing skills!
 
@MarcoA. Glad to be of service.
@thecoshman You linked to the image instead of linking to actual XKCD.
 
@Jefffrey Depends on how loudly you do it
 
@AndyProwl It is infeasible for an IDE to detect commented-out code.
 
1:37 PM
@Griwes vOv blame xkcd
 
@MarcoA. Do you know how cc 2.1 warp schedulers work?
 
@AndyProwl If it has an error, is that a code error or was it not code in the first place?
 
@LightnessRacesinOrbit Well, that is probably true, however the premise was that the IDE would be able to do that.
 
@AndyProwl It's a false premise is all I'm saying
So the rest breaks down
 
@AndyProwl Good. I didn't say that either. I asked. And I said that I had not encountered tools like that except in very badly overcontrolled environments
 
1:38 PM
ok
 
@LightnessRacesinOrbit It's a what-if. A boring one, but it's their what-if.
 
@thecoshman Is this true?
 
@khajvah sure
 
-4
Q: I try to solve N-Queen puzzle with C++ but I still can't

nuttdamI try to solve N-Queen problem with C++ but I still can't someone can share a peuso code or a C++ code for me? or explain how to solve N-Queen problem pls. I need to finish this before tmr.

mleh
@R.MartinhoFernandes God could make it less boring.
@R.MartinhoFernandes That's what being omnipotent means.
 
@ParkYoung-Bae nope, I know how warp scheduler are supposed to work but I've never been in the architecture team
 
1:41 PM
I'm asking because the number of cores per SM is not a multiple of the warp size
 
Since your title suggests you're on a spectrum, and waiting for the point where you'll definitely succeed, let me help you from experience: the roads lead to assembly. Solve it in assembly. Either you'll surely succeed then, or you will learn not to try. — sehe 17 secs ago
wth
 
So I'm not sure exactly how warps get executed
 
@LightnessRacesinOrbit Doesn't this make little sense?
 
uh oh
I considerably overfilled my pan
 
@Jefffrey huh yeah you're right - it's not clear what combinations do
 
1:41 PM
@LightnessRacesinOrbit Is it really you? Are there really hot females in computer world?
21
 
@LightnessRacesinOrbit It's a bad sign when the stock assignment is so well-trodden that it has it's own tag
 
@khajvah Yes. Yes. And thank you darling :)
 
@khajvah Yes and yes
 
@R.MartinhoFernandes Yes?
omg the stars
 
1:42 PM
@R.MartinhoFernandes Is it really you?
 
Be aware though that the only thing in this room who hasn't ran over Hotness is a train.
 
a reasonable interpretation of a clock, right now
 
@ParkYoung-Bae warps are the scheduling units, a half-warp threads should be executed together IIRC
 
@Puppy said the duchess to the vicar
 
@MarcoA. I don't think half warps exist on cc > 1.x (ICBWT)
 
1:43 PM
@ParkYoung-Bae What? The train story was untrue?
 
lol 10 stars in a minute
 
@Jefffrey Is it really you? Are there really cartoon shoes in computer world?
(I feel a meme coming on)
 
user3010322
I need to e-mail someone on the DirectX team...
 
user3010322
But I can't find Max McMullen's e-mail.
 
user3010322
Why is this so hard.
5
 
1:43 PM
@LightnessRacesinOrbit Even without considering combinations though.
It seems so arbitrary.
 
Funny how we haven't heard from khajvah in a few minutes. I wonder what he's doing...
 
Guess
 
@Jefffrey You mean the slide or the rules themselves?
@khajvah Oh, brother.
 
@LightnessRacesinOrbit The rules themselves
 
@Jefffrey Yeah I guess so
 
1:44 PM
@ParkYoung-Bae instruction dispatching should still be half-warp
 
Like, why would declaring a move constructor delete the copy constructor?
 
Khajvah Masturbates in Lounge
 
@MarcoA. Oh? And memory requests too?
 
@Jefffrey Hi there and welcome to the Lounge. In here sometimes we talk about C++. C++ is a multi-paradigm pile of crap used across the world to create computer programs. Enjoy your stay!
 
@ParkYoung-Bae I suppose by warp
 
1:45 PM
How can that work
Argh this is why I hate anything < 3.x
 
@LightnessRacesinOrbit I LIKE TEMPLATES
 
user3010322
This is... fucking creepy.
 
@Jefffrey Thanks! Me too.
 
Don't touch those.
 
@Jefffrey The idea is that declaring any special member kills the others.
 
user3010322
1:46 PM
LinkedIn found a contact I never mentioned to anyone and never put on my resume or in any Cover Letter.
 
They are presius litel snofleks
 
haha "snoflokes" that's a new one
 
So it forces you to always write a full set together, i.e., it leads you to the Ro3.
 
@thecoshman I think passionate future programmers will find their way to programming no matter what.
 
@ThePhD "Found"?
 
user3010322
1:47 PM
... Goddamn stars out of context. :(
 
@R.MartinhoFernandes I think I'll ever declare all of those explicitly.
Even if defaulted.
 
user3010322
@LightnessRacesinOrbit It's recommending me contacts of people who have no logical business in my field but I've met in the past.
 
Because I know my memory is terrible.
 
@FredOverflow probably yeah.
 
1:47 PM
The red bits in the slide are supposed to be deleted as well, but for now they are just deprecated.
 
@R.MartinhoFernandes That's so racist
 
user3010322
Seriously, this guy's a lawyer and works in 501-3c nonprofits.
 
@ThePhD Perhaps you have a chain of connections...?
 
user3010322
How the hell did they find him and recommend him to me.
 
user3010322
I worked with him like 6 years ago, BRIEFLY.
 
1:48 PM
Because he knows people who knows people who know you...
This isn't a mystery!
 
@MarcoA. But there's 48 cores and the instruction dispatcher can only issue 2 per issue cycle! That's 16 cores unused?!
 
@khajvah You look pretty hot yourself, though
 
I tried almond milk today. It's very good I wonder how I missed it for so long
 
its a good substitute if you're lactose intolerant
 
@sehe ikr, the blue thing is stunning
 
1:49 PM
Thanks
 
In my case it was a substitute to water
 
Are you water intolerant
 
@khajvah I mean, your face
 
@ParkYoung-Bae I don't know the nitty-gritty details but that should be documented somewhere. I doubt that 16 cores are left unused
 
@sehe are you the god the lounge was looking for?
 
1:50 PM
@ParkYoung-Bae A shaker of whey + water is just insane taste-wise
 
@MarcoA. The docs are surprisingly vague on that one.
 
Is there someone here who likes whiskey?
> Just an XML girl in a JSON world
ahahahah /cc @LightnessRacesinOrbit
 
@Jefffrey The silence speaks for itself (or they don't want to confess?)
 
@Jefffrey Whisky is nice.
 
@Jefffrey I believe he knows
 
1:53 PM
Gin is best.
 
@ParkYoung-Bae I know the feeling :P
 
They say "At every instruction issue time, each scheduler issues: Two independent instructions for devices of compute capability 2.1", on 48 cores.
 
Rum for the win
 
@R.MartinhoFernandes How do you drink whisky?
inb4 in a glass
 
In a glass?
 
1:54 PM
@R.MartinhoFernandes tis but a whores drink!
 
YESSSS
IN YOUR FACE
 
@Jefffrey Pure?
 
So you have 2 warps * 2 instructions, that's 4 instructions executed on 48 cores, so 16 cores have the same instruction, but then you need to repeat one somehow? arg
 
Is that what they call it?
 
Without ice?
 
1:54 PM
@R.MartinhoFernandes straight.
 
fuck me that was hard to spell :(
 
@thecoshman Ah, that.
 
I have no idea how you do that.
 
@R.MartinhoFernandes yes, yes it is the right way to drink it :P
 
1:54 PM
@Jefffrey Don't use Visual Studio if you want your whiskey without ICE
 
You must try Ti'punch
 
Pun Young-Bae indaplace
 
I like brandy more than whiskey though.
 
@ParkYoung-Bae lol
 
@Jefffrey Just pour it and drink? What's the problem?
 
1:55 PM
It's too awful
 
@R.MartinhoFernandes lack of hairs on his chest :P
 
Yeah, I guess I'm a pussy.
 
mix it with lots of pepsi and lots of ice
 
@khajvah Hey do you find me hot too?
 
It's whisky. It tastes like whisky.
 
1:56 PM
@Jefffrey Or like many students you buy cheap whiskey (which is absolutely awful)
 
Does the ice really make it that much more palatable?
 
No, water does.
 
Ice makes it worse
 
@Jefffrey you monster!
 
@Rerito Ah, there's that.
 
1:57 PM
Like 98% water 2% whisky. That would make it bearable.
 
the only thing I have with my whiskey, is more whiskey!
 
Cheap whisky is for coke.
 
Actually, you put few drops of water, it makes whiskey much better
 
Exactly, drinking it straight is just disgusting
 
@R.MartinhoFernandes Cheap whiskey is not for anything
 
1:57 PM
But then, if I'm getting a mixed drink, I'll have gin and tonic.
 
You really need to try Ti'punch
 
Ideally Churchill's Blood Gin and tonic, but that's not gonna happen :(
 
You could fake it with tomato juice.
 
Oh wait
I have something for you robor
 
Currently my favourite.
 
1:59 PM
Or scrape some blood from a random church hill.
 

« first day (1608 days earlier)      last day (3343 days later) »