« first day (861 days earlier)      last day (4093 days later) » 

7:00 PM
@Collin Hey we need our fun
 
> So I was just wondering if you guys had any idea on the codes I should write for the display(), deadOrAlive(), clone () functions.
fuck me
 
Is there somewhere too localized is explained better? I can't seem to separate them very well
 
@BartekBanachewicz That's what Collin was trying to tell you: you seem to get angry very easy these days.
 
i will help some friend with a relocation tomorrow
 
Is it likely to apply to anyone in the future? No? Too localised
 
7:00 PM
Ben Lindley put it very well in comments.
Unless you give a good reason why you cannot use boost, (like licensing restrictions, though that seems irrational since the boost license is pretty liberal), your limitations are arbitrary and unapplicable to the real world, so that's why your question was closed, if you are curious. — Benjamin Lindley 7 mins ago
 
@R.MartinhoFernandes uh. yea, he's certainly right in this one.
 
All shitty "I can't use X because homework or voices in my head forbid me" questions are by definition too localised
11
 
@R.MartinhoFernandes lol funny comment
 
@CatPlusPlus They're not though because there are more than one of them.
 
@R.MartinhoFernandes IMO, taste should be allowed to be a criteria
taste is what drives most programmer projects anyway
and thereby most questions on SO
 
7:02 PM
@Collin No. The meta police refuse to copy the established definitions into a FAQ or the closevote dialog.
 
user142019
BACON<3
 
Taste seems the definition of too localised.
 
Shopping lists are forbidden anyway~
 
@Collin I basically read it as "this can never help anyone else" or "this is a debug-my-code question".
The two usually go hand in hand
 
@LightnessRacesinOrbit What
 
7:03 PM
Taste?
 
I will now watch DSDS
 
@CatPlusPlus What? There are loads of questions on SO that say "I don't want to use Boost", so how in the name of Mary and Joseph are any of them "too localised"? lol
 
@JohannesSchaub-litb lol? are you crazy?
 
Good news: my compile times are super fast now.
Bad news: fucking Linker Errors. ;~;
 
@bamboon lol
 
7:03 PM
@ThePhD Ship it.
 
@ThePhD You removed all the files?
 
user142019
@Zoidberg but pointers are..... nice :) — Ali Alamiri 32 secs ago
 
user142019
lol
 
@JohannesSchaub-litb ^^I hope you are only watching it for the lulz.
 
@CatPlusPlus I'm only including the bare minimum necessary from the engine into the client project.
 
But now I'm getting Linker errors, so I kinda wanna just throw my hands up.
 
@LightnessRacesinOrbit And there are loads of questions about debugging codez, so?
 
@R.MartinhoFernandes There's too much going on. New semester started, I failed two exams, my job is actually pretty hard, so I am constantly tired. I don't have time to neither eat nor sleep regularly, and after all this I get downvoted for posting the only sensible solution. I shouldn't get personal, but as it seems, I find it hard. But that's just extrovertic nature, and while I can try to limit myself, there's still possibility of getting angry.
 
@CatPlusPlus That's different, because each piece of code is different. So there is zero cross-interest.
For an allegedly intelligent guy you're remarkably piss-poor at basic deductive reasoning
 
I find it extremely hilarious that you, protector of ~SO purity~, defend shitty arbitrary prereq questions
 
7:06 PM
@BartekBanachewicz Sorry, I can't really help you there. I am the guy that gets told he doesn't get mad often enough.
 
@CatPlusPlus Oh, no, don't get me wrong - that question is Not Constructive and poorly formed, and I won't be defending it.
@CatPlusPlus But it's not "too localised".
 
@BartekBanachewicz wasting your time here won't make that better ;)
 
boost code is Pro C++. It is a different language than what those "no boost please" people call C++ :)
 
@Xeo I might dabble later tonight.
 
@BartekBanachewicz You don't have time to eat or sleep? You spend 8 hours a day right here, son.
 
7:06 PM
@bamboon that's the only place I can have a sensible conversation
 
Boost is.... okay.
 
I've been exhausted for past few days for some reason
 
Whenever I have a bad day I watch this:
 
So high five @BartekBanachewicz
 
@CatPlusPlus Me too. Since Tuesday :(
 
7:07 PM
Man up all of you.
 
Tiredness is for the wea - okay, I've been pretty tired too. :c
 
Go take a walk, away from your computer screens
 
7:08 PM
You've seen it before. Now let it cheer you up.
 
when I explained boost::bind to my coworker, and explained to him how the 20+ overloads of QtConcurrent::run are utterly unneeded and a single overload suffices, he was all confused
 
get some air, look at the world around you
 
BUT I PERSEVERE IN THE FACE OF EVIL!
 
user142019
I love these answers.
 
user142019
3
A: using delete in overloaded = in derived class

DeadMGThe reason is because the author made a mistake. This is an excellent example of how you should not ever manage your own memory- he should be using std::vector to manage his memory. He didn't, and as a result, his code was very wrong, and that's exactly the way your code is going to go if you imi...

 
7:09 PM
 
@LightnessRacesinOrbit WHAT THE HOLY SHIT
 
@Zoidberg wat? It has to be some old Primer, because the one I have is nice
 
@_______________@ HOW DO THESE PEOPLE SURVIVE?
 
@Zoidberg what? why use std::vector and make programmer errors! just buy a complete product and let others do the work!
 
user142019
@Zoidberg C++ Primer Plus — Ali Alamiri 8 secs ago
 
user142019
7:10 PM
Here you have it.
 
that's how the answer sounds to me. meh
 
@Zoidberg Burn it!!!
this ^^^^
 
This in now retarded YT thread
 
@CatPlusPlus The fuck are you posting this again.
@CatPlusPlus Go back to brandy!
 
@ThePhD This is new to you?!
 
user142019
7:13 PM
@TonyTheLion lul
 
@LightnessRacesinOrbit I don't get out much.
On the internet or elsewhere.
 
@CatPlusPlus the fuck does this have 30 million views???
 
@ThePhD You don't have to "get out" in order to be aware of famous videos on YouTube, sire.
oh okay
CAT BAND
 
Xeo
@TonyTheLion Because people like the cat link it all over.
 
oh gawd save me from the Internet
 
7:14 PM
@TonyTheLion Save yourself lazy-bum
 
@R.MartinhoFernandes @Cicada is absent
@LightnessRacesinOrbit I want the Songify app
 
lol
@Borgleader well, fuck you too
 
@BartekBanachewicz ok get it
 
user142019
Well I'm kinda saddened by all this. Been spending quite some time reading the book. (Try not to cry Ali) — Ali Alamiri 17 secs ago
 
user142019
7:14 PM
LOLZORZ
 
It's not even funny, and "Permabanned" takes a lot less space.
 
@TonyTheLion Doesn't matter. Had a star
 
Hm.
 
Doesn't matter, saw porn.
 
7:18 PM
Looking at the FBX SDK, it only requires you to include the one header.
 
well that was a most random comment
 
I think I'd like my engine to be like that.
 
@ThePhD Just write a convenience header which includes all other stuff
 
don't be unrealistic, unless you're doing pure TMP, then you're going to need multiple headers. Stop kidding yourself.
 
But...
.... But kidding myself is nice... ;~;
 
7:21 PM
I don't understand why you don't just answer the question, but grumble about the book. The grumbling should have been a comment, if at all. "... he should be using std::vector to manage his memory. He didn't, and as a result, his code was very wrong, and that's exactly the way your code is going to go". That's the most funny and sad thing I heard today. Doing your own string for learning purposes is a very good thing. In addition, he uses the seriously outdated self-assignment-check no-longer-an-idiom, and no copy-and-swap. There is nothing wrong with that. The former is not "outdated". — Johannes Schaub - litb 38 secs ago
 
user142019
 
ack
time to rebuild Clang.
 
user142019
Lood guck.
 
gl hf
 
@R.MartinhoFernandes don't listen to these haters
 
Xeo
@DeadMG It isn't as bad, if you continuously rebuild it, from what I found.
 
yeah
it's been about three months since I last pulled and built
 
I used to automate it. I still have the scripts.
 
Xeo
Welp, that will be similar to a full rebuild, I guess.
 
My package manager automates it for me.
 
7:27 PM
true
but I only need to rebuild the LLVM and Clang libraries.
which is not actually that much of the whole thing
 
@StackedCrooked It's $ packer -S clang-svn for me.
 
Never heard of packet.
 
It's an interface for the Arch User Repository.
 
I see.
 
Xeo
By the way just to mention, the book is written by Stephen Prata, not Bullschidt — Ali Alamiri 6 mins ago
 
user142019
7:29 PM
Hmm.
 
user142019
3D textures.
 
@Johannes: self-assignment-check is no longer idiomatic. The grumbling is the answer to the question. The question is "Why does this book contain a defect?" and the answer is "Because it's written by a moron who has no idea what he's doing.". — DeadMG 5 mins ago
lol
 
user142019
Can those be used for voxel rendering?
 
@Zoidberg Yes.
But it can be terribly expensive.
 
user142019
7:30 PM
I can't imagine they're more expensive than using triangles for rendering voxels.
 
Shrug. Usually you could use a point cloud and then expand.
That way your data could be sparse.
But I don't really know anything about Voxels. :3c
 
do C++11 static member variables with an in-class initializer still require out-of-class definitions?
 
Hey, @Borgleader have you made any more progress on the collation stuff? Are you going to? No pressure, I just want to check what I can count on, so I don't duplicate effort.
 
Collation?
 
I've been really busy as of late but I have a week off coming up so I should be able to make some progress.
 
7:40 PM
@ThePhD Assembly of written information into a standard order.
@Borgleader Cool! Thanks a lot, btw.
 
I get tired, What Would Walter White do?
 
Ugh, I messed up.
 
Xeo
Hmpf. Great. I can go up to 900 overloads now. /cc @R.MartinhoFernandes @LucDanton
 
@Xeo o_0
Wat.
 
7:44 PM
@Xeo haha
 
Xeo
On GCC, anyways.
Guess why.
 
-ftemplate-whatever
 
Xeo
Aye
 
WTF normalization tests suddenly started failing.
 
7:46 PM
> A limit on the template instantiation depth is needed to detect endless recursions during template class instantiation. ANSI/ISO C++ conforming programs must not rely on a maximum depth greater than 17.
TIL
 
Xeo
Man, all my fiddling with ICS, for naught. :(
 
lol 17?
How old is that?
 
That might be be a problem when using long tuples .
 
Awww yeah
 
@Rapptz 17 ought to be enough for anybody.
 
Xeo
7:47 PM
The ending was anti-climatic, so to speak.
 
@StackedCrooked not really
 
Can C++ be readily used to collect data off of a website?
 
@user2096518 no
 
@Borgleader Chrollo!
 
user142019
I'm going to experiment with 3D textures.
 
Xeo
7:47 PM
@Rapptz CURL, Asio, etc.
 
@StackedCrooked They're making a HxH movie with an original story. TIL
 
@Xeo I assume by "readily" he meant without external libraries
 
user142019
@user2096518 I suggest you use Perl for that.
 
Thank you @Rapptz
 
@Borgleader Cool. It's one of my favorite anime.
 
7:48 PM
Thank you @Zoidberg
 
@StackedCrooked Same here
 
@StackedCrooked Set the maximum instantiation depth for template classes to n. A limit on the template instantiation depth is needed to detect endless recursions during template class instantiation. ANSI/ISO C++ conforming programs must not rely on a maximum depth greater than 17 (changed to 1024 in C++11). The default value is 900, as the compiler can run out of stack space before hitting 1024 in some situations.
 
Does the compiler use stack space to instantiate templates?
 
Xeo
recursion is best implemented by recursion.
 
Aha.
Silly me.
 
user142019
7:50 PM
There's one thing that confuses me.
 
Xeo
Only one?
 
It's a tuple.
 
user142019
If you have a texture and you want to manipulate one pixel in it, do you have to upload the entire texture to the GPU again?
 
Last commit that changed any of the normalization code was "All official normalization tests pass". However, tests don't pass anymore. WTF did I break.
 
user142019
Or can you upload only that single pixel?
 
user142019
7:51 PM
Assuming OpenGL.
 
Xeo
@R.MartinhoFernandes ahaha
 
@Zoidberg glMapBuffer.
 
I think you have to use transformations.
 
user142019
@R.MartinhoFernandes Oeh that sounds good.
 
@Zoidberg Make sure your buffer has the proper modes.
 
7:53 PM
Rubs face.
D3D. My arch nemesis.
 
what's the problem now?
 
Xeo
Maaah, this sucks. I wanted an intricate and not-so-simple solution to the overload ranking...
 
It's not a problem. Just something I didn't account for.
 
What is it NOW?
 
7:54 PM
@Xeo hahahahahahaha
 
@ThePhD The size of your mom?
 
Xeo
This seriously took the fun out of the whole thing. :(
A bad ending always drags down the story.
 
@Xeo Lol. Not enough wanking in it for ya? :D
@StackedCrooked The number of parameters, actually.
 
user142019
Ohh.
 
user142019
Is glMapBuffer the OpenGL equivalent of ID3D11DeviceContext::Map?
 
7:55 PM
ShaderParameterCollection keeps a list of all ShaderParameters and makes them addressable by name and index.
 
Can someone explain to me why this works? I feel kind of dumb. ideone.com/YoJE2x
 
@Zoidberg Sounds like it.
 
@Rapptz Why wouldn't it?
 
@Zoidberg Yep.
 
user142019
Ohh nice.
 
7:56 PM
@DeadMG I know it should, I just don't know why.
 
user142019
The easier it is to write an abstraction for it. :P
 
Like the technical reason why I guess
 
@Rapptz You declared it virtual in Base. So Base will always do a vtable lookup before calling the function.
 
@Rapptz That's just polymorphism.
 
@Zoidberg Oh gawd, you are writing a game engine too?
 
user142019
7:57 PM
No.
 
@Rapptz The print function is virtual so it is called on the derived object.
 
user142019
I want to experiment with 3D textures.
 
@R.MartinhoFernandes maybe you screwed something when switching to github?
 
user142019
And I want to be able to manipulate them in real-time.
 
@bamboon Nope, bitbucket code fails too.
 
7:58 PM
@R.MartinhoFernandes Maybe it's having a bad day today.
 
I think I need a ShaderParameterProxy =[
 
Code has feelings too.
 
@R.MartinhoFernandes lol, before the edit I was confused.
 
@StackedCrooked Yeah that makes sense, it's what I was thinking in my head but I just thought it was weird.
 
Yeah sorry about that.
 
7:59 PM
Everytime someone does shader->Parameters["Arf"] = arfvalue;, I'll have to do the same lookup I was doing before but set the value across any and all cross-technique, cross-pass, and cross-method ShaderParameter instances that have the name of Arf.
 
@ThePhD Didn't you do that before?
 

« first day (861 days earlier)      last day (4093 days later) »