« first day (1005 days earlier)      last day (3961 days later) » 

3:00 PM
What's wrong with it, @LightnessRacesinOrbit? — Joni 7 mins ago
oh god
 
ok, here is a rather retarded question: who is your favourite character in the Harry Potter series?
 
May 13 at 1:49, by Rapptz
If /r/gamedev is a representation of game developers in general then I don't like most of them
 
@LightnessRacesinOrbit I read that as "What is wrong with it? Is it @LightnessRacesinOrbit?".
 
@R.MartinhoFernandes Obviously it's defective.
 
Btw, @Lightness there's a fourth storage duration with C++11.
 
3:01 PM
@LightnessRacesinOrbit You don't like the term "stack vs heap" either?
 
Thread storage duration, aka thread-local storage.
 
@R.MartinhoFernandes That's because you abuse commas.
@R.MartinhoFernandes thread_local?
@Rapptz I invented not liking it.
 
@LightnessRacesinOrbit I just accept that others tend do so.
 
@R.MartinhoFernandes yes but nobody cares about that :)
@R.MartinhoFernandes fair enough
 
Oh I found the comment I was referring to: reddit.com/r/gamedev/comments/1c75i4/…
 
3:03 PM
@LightnessRacesinOrbit I'm not saying you should mention it, just letting you know in case you didn't (since you didn't mention it).
 
omg he fixed his answer
amaze
 
> I find that C++11 and many library features (such as smart pointers) obfuscate the program's logic,
 
@R.MartinhoFernandes OK. for the record, I did.
 
> C++ has a lot of shitty features.
 
I am happy to admit that I'd forgotten all about it, though
 
3:04 PM
soooo, this custom course for my team to get up to speed with all this JEE crap we have to use it missing by a long shot
 
@Rapptz I don't like it either. It is a red herring. It's not about where the objects are; it's about how long they live.
 
@BartekBanachewicz for GLDR, where is binding and stuff going to happen? something like Texture.bind(type::ShaderInput), or more like context.bindShaderInput(Texture)`, or something completely different?
 
@melak47 well, sure, there's a performance impact if the data has to be physically transmitted via another gpu. But it works pretty reliably
 
I am not even going to suggest that there could be no stack or something. The point is that using stack/heap when the relevant idea is the duration, not the location, distracts from the point.
 
@melak47 you don't bind textures to shaders like that
 
3:07 PM
@BartekBanachewicz whatever
 
@melak47 think more like myBufferObject.bind()
 
@melak47 aha, so you asked me about the feature you have no idea about to give you the answer you won't understand?
 
@BartekBanachewicz jeez man
 
I've already told you that using GLDR will require you to know GL
 
@BartekBanachewicz you may have heard of the term "pseudo-code"?
5
 
3:08 PM
@Rapptz I want to go on record here saying that in my view the first four points of that post are excellent. Well, the third point is strictly obsolete. But yeah.
 
I think it's a pretty reasonable question
 
@KonradRudolph Yeah, I think so too.
 
@KonradRudolph this just in Konrad is a dirty racist!
 
@jalf it would be reasonable from a person that understands GL already
I would be explaining OpenGL, not GLDR
well, I can explaing you how OpenGL uses textures @melak47, sure, just perhaps not ATM
 
Deal with it, nigger
 
3:09 PM
@BartekBanachewicz except that the assumption that he doesn't understand GL is entirely yours
 
@thecoshman got what I wanted to know >_>
 
(Let’s see how far I can push it …)
 
@KonradRudolph lol
 
@KonradRudolph Sadly #5 is just silly.
 
gldr is not about hiding what OpenGL does, it's about making it easier to do that.
 
3:09 PM
@jalf he writes using DirectX, and from what I remember doesn't use GL, so well.
what cosh said ^
Also @melak47 for most things there won't be no binds at all.
 
Ok, could we pretend that I asked the question then? I do know OpenGL. Am I permitted to get an answer then?
 
@BartekBanachewicz I didn't want to know how textures are bound to shaders, I wanted to know where the bind functionality would go
 
Why do people say exceptions are unusable?
I always hear this but I've never heard a convincing argument.
 
> this improved the readability of a lot of code: template<typename T> using SP = std::shared_ptr<T>;
My brain shut down at that point.
A thousand creats upon that guy.
 
@jalf eh, you know the answer already :). Binds will be avoided whenever possible, for other things they will use scoped binds, and GLDR only supports one context usage and doesn't differentiate objects from different contexts
 
3:12 PM
he has a good point
that you need to alias to get readable code is sad
 
Imho the code he posted below was perfectly readable
Still shorter than Java, mind you.
 
@BartekBanachewicz Also stupid.
 
@BartekBanachewicz AFAIK gldr not 'only support using one context' it's that if you wish to use more than one, at least for now, you will have manage that, just like you would have had to with out gldr
 
@Rapptz lots of reasons (which may or may not be factually correct). For some, the performance hit (in some implementations) is a factor. For some, the fact that all your code has to be exception-safe (because in general, you don't know if something you call may throw an exception which propagates up through your function), or that it can be difficult to know where to catch an exception or how to handle it when you do (because it is probably far away from where it was thrown)
 
someMethod(Foo& foo, Bar& bar);
TADA!
Beats both options in readability.
That comment thread is a nest of dismissal by ignorance.
 
3:13 PM
@R.MartinhoFernandes It has weird ampersand things all over the place!
 
@R.MartinhoFernandes in short, Reddit
 
Anyways, seeing I can't post anything funny anymore in here, I'm going to go cry in a corner.
 
If I were to fetch but not merge files... what exactly happens/is there?
 
@TonyTheLion haha that's funny!
:p
 
3:14 PM
@jalf I have an issue with the last point a lot
 
@Pawnguy7 what, in git?
 
@jalf yes
 
Anyway, are there any things for memory alignment out there?
 
fetch: grab the commits from a remote repo and insert them into your own repo (but don't change what's checked out)
 
inb4 Boost.Alignment
 
3:15 PM
> The STL, including light use of std::string and the algorithms. std::list is always so much nicer than writing a linked list by hand (...)
 
merge: create a commit with two parents (so it contains the code from two separate commit graphs. Both commits must be in your repo already (fetch + merge == pull)
 
> I'm one of those old-school C-style programmers who like the effects of every line of code to be obvious. I think Java is quite well-designed, if that gives you any idea how delusional I am :P. So, yeah, most of C++'s features really aren't for me, comments or no comments.
 
@BartekBanachewicz std::list
 
it always hurts me when I see it. always
@R.MartinhoFernandes dunno what's worse really
@Rapptz so basically "I'm an idiot"
 
3:16 PM
@Rapptz "I don't like using it, so it's not a feature"?
 
@Rapptz like I said, I'm not arguing that these points are valid. But they are common reasons why people avoid exceptions
 
oh don't harp on about that
 
StL
happy?
 
3:17 PM
Stop Touching @LightnessRacesinOrbit
3
 
What, are you trying to trundle out the "herp derp I get soo confused when people say STL we should exclusively use that name to refer to SGI's obsolete and defunct library because otherwise neuron-impaired people like me don't understand what you mean when you say STL" thing again? Give me a break...
 
STL sounds better than STD
 
/me grumble
 
I don't get why can't just think "STandard Library" when they read STL
 
3:22 PM
@Rapptz very good
@thecoshman Because that's retarded
 
only the most anal retentive person is so hung up in the past that they insist on thinking 'Standard Template Library'
 
because atoi and std::cout are both part of the standard library, but are not very STL-like? :p
 
@thecoshman Thing is, I can, but the problem is that I know when other people say "STL" they think it stands for Standard Template Library. And I just can't stand that.
 
@thecoshman because I hate imprecise terms being used in engineering
 
@LightnessRacesinOrbit and getting hung up on people still saying STL is just idiotic
 
3:22 PM
I think it's fair to distinguish between "the standard library", and "the STL-like parts of the standard library"
 
@thecoshman Nothing wrong with perfectionism in engineering.
3
@thecoshman Your mum is idiotic.
 
but "the STL-like parts must not be called STL because 15 years ago something ELSE was called STL" is just moronic
 
the thing is they don't mean "STL-like parts"
and they don't know the difference
 
and they're generally morons
and eat children
 
lol
 
3:24 PM
@BartekBanachewicz well, I do, and I use the name STL to refer to the STL-like parts. So there :p
 
@BartekBanachewicz how is it imprecise? STL => C++ standard library, seems like a fairly simple one to one mapping to me
 
@thecoshman Because of the fact that it really means Standard Template Library?
 
@thecoshman it's imprecise because other people mean different things by the term. If everyone could agree on that meaning, then I think he would be happy :)
 
@thecoshman Can you make a mapping "red butterfly -> Tomalak's pants"?
 
@Tuntuni Really? Is that in the dictionary?
 
3:25 PM
it's a fairly simple one-to-one mapping to me
 
It "really" means whatever people meaning people use it in
 
@BartekBanachewicz lol, and you're a programmer?
 
@Tuntuni no. it does not. it was once used to mean that.
 
which is not necessarily "the first ever recorded usage of the acronym STL"
 
Programmers overload terms for breakfast.
 
3:25 PM
lol
 
"Oh honey I'm sorry but I overloaded eggs again"
 
@R.MartinhoFernandes The funny thing is I know what you mean, but since you brought it up I have no examples.
 
The only people who still use it to mean the old meaning are awkward fucks trying to be smug that know what it used to be called and can't accept the TLA being used for something else now
 
I hate when that happens
 
@jalf Humpty Dumpty to the rescue!
 
3:27 PM
@Tuntuni The Standard Template Library was a SGI lib that was eventually added, with some changes, into the C++ standard library.
 
If people just moved on and stopped pointing out that it used to mean Standard Template Library no body would ever have a god damn problem using STL to mean standard library
 
The Special Tribunal for Lebanon (STL) is an international criminal tribunal for the prosecution, under international law, of criminal acts of those responsible for the assassination of Rafic Hariri on 14 February 2005. The court is based in Leidschendam, near The Hague, Netherlands and it has a field office in the Lebanese capital, Beirut. The tribunal officially opened on 1 March 2009. There was an initial three-year mandate for the court and there is no fixed timeline for the judicial work to be completed, so the tribunal may be operational for several years. In January 2011, the ...
 
@R.MartinhoFernandes Also.
 
What gets me is how people get their panties in a bunch about it. Really, you've lived for decades on this planet, and you can't cope with a very mild example of ambiguity?
 
Personnally, I use SL.
 
3:28 PM
For Github, the URL I would push to is not the public, readonly clone URL, correct?
 
@jalf Hey, double standards are what makes us humans.
 
@Pawnguy7 pretty obvious, huh?
 
It's nothing but trivia what STL used to mean. Fuck, do you people go around explaining that 'actually, int is short of integer'
 
@Pawnguy7 I push to the SSH url, but I think you can push to the https one too if you like typing passwords.
 
It's just not a big deal. It's generally clear from context which precise "flavor" of STL is meant, and if not, then the distinction probably doesn't matter.
 
3:29 PM
@R.MartinhoFernandes can't you authorize using ssh key over https?
 
@R.MartinhoFernandes or too lazy to sort out ssh keys :D
@BartekBanachewicz o_0
 
If people talk about using the STL's vector, it is pretty safe to assume that they mean std::vector as provided in the standard library, and not SGI's old implementation.
 
@jalf When it does matter the speaker should be painfully precise about it.
 
@EtiennedeMartel s/that/about half of which/
 
@thecoshman But not too lazy to type passwords?
 
3:30 PM
@R.MartinhoFernandes in that very rare use case
 
also, if this causes so much grief, how can we possibly accept the ambiguity of people talking about "C++". Which C++? C++11? C++ with Microsoft's extensions? OMG THE AMBIGUITIES MY HEAD MY HEAD IS ASPLODING
 
@R.MartinhoFernandes it will be easier to sort out tonight from home
 
asplode
I think I'll go cook some dinner
 
@jalf Thank God for tags!
How would we live otherwise
 
@jalf At least from what I've seen, it's generally clear to both the speaker and the listener. Unfortunately, each often has an entirely different idea of what's clear.
 
3:31 PM
Who cares?
 
@thecoshman If int stood for ten different things then, yes, I would.
@TonyTheLion Evidently, everybody going out of their way to partake in the discussion.
 
@Rapptz "floats"
 
@LightnessRacesinOrbit Yea, which isn't me
 
@LightnessRacesinOrbit fyi, it also stands for "I kNew you would be a Twat"
 
@TonyTheLion STFU then
 
3:32 PM
Oi
 
@thecoshman Irritating guy Named Thecoshman
 
@thecoshman i don't recall it being changed to "an int-like type". it still means "integer".
 
@JerryCoffin You've seen cases (not counting willfully stupid people of the "DONT SAY STL" brigade), where people didn't know whether "the STL vector" referred to SGI's vector or the standard library's?
 
@LightnessRacesinOrbit see, we must clarify when people mean 'integer', to many other things it could be
 
3:33 PM
@LightnessRacesinOrbit Well... we have all of these
 
@thecoshman Nope, it means only one thing.
@Rapptz All lexically distinct from int
 
@Tuntuni But does it mean only the type signed, or any integral type?
 
Before a commit, do modified files also need to be added?
 
It usually doesn't matter if the speaker and listener have different definitions of "STL", because the specific conversation is not about "what exactly does STL refer to", but about some functionality present in the standard library
@Pawnguy7 yes
 
@Pawnguy7 Git? Yes.
 
3:34 PM
(but commit -a implicitly adds modified files)
 
@R.MartinhoFernandes yup
 
@Pawnguy7 you don't have to commit every file you changed
 
@Pawnguy7 Not in Mercurial!
This might be a bad thing for some though.
 
@jalf dangerous, it also adds all new files as well iirc
 
3:35 PM
@R.MartinhoFernandes any integral type. if they meant a signed integral type they should explicitly mention it, no?
 
@Aboutblank nah, it adds modified files. New ones have to be explicitly added
 
@Tuntuni but C++ int means signed integral, I think we need to start clarifying exactly what people mean by 'int'
 
anyway, off I go
 
@Tuntuni What about the type named int? (Which is a synonym for the type named signed; I used signed there to be painfully accurate and non-ambiguous)
 
Tin
3:36 PM
Hi guys! I hope, I'm not interrupting! Has any of you experience using std::max with static variables? I'm having some troubles in assigning std::numeric_limits<>::max() to a static variable, as in: paste.ofcode.org/38pPcPCet4n9CWqMjJXAyGZ In line 16
 
@thecoshman No it doesn't. It means the C++ type int with all its well-defined semantics.
 
I got this problem in GUI programming, A have a 2nd level child class that needs to send a Qt signal to the parent, I break encapsulation if I write the signal to the second level child like child1->child2, alternatively I need to write twice as many signals. I am conflicted.
 
@jalf oh your right. I'm thinking of git add -a
 
@LightnessRacesinOrbit oh, what about all the other languages that use 'int', do they also mean C++ type int with it's well-define semantics?
 
@R.MartinhoFernandes i thought he meant in general. if we're talking about c++ then yes, i'd assume he means signed.
 
3:38 PM
of course you don't fucking mean that, because in the context of a C++ question, you mean the C++int type
 
@Pawnguy7 when in doubt, --dry-run
 
@thecoshman We're talking about C++.
@thecoshman "STL" means other things in non-C++ contexts, and I have no quarrel with that, so drop the strawman.
 
@jalf I'm not certain specifically about "the STL vector", but references to just "the STL"? Definitely -- one flamewar that went on for a couple days before one finally came back with: "Oh, you're talking about the standard library. That changes everything."
 
3:41 PM
StdL.
2
Yay!
 
Tin
@R.MartinhoFernandes, mmm, thanks, but in MSVC'10 it's not working :S. The error message are: error C2059: syntax error : '<L_TYPE_raw>', error C2059: syntax error '::'
 
@LightnessRacesinOrbit oh, so we can use this abstraction notion of implied context? except when some one mentions STL? we can't just apply some simple logic that because they are not explicitly talking about the not used in fucking ages SGI they in fact mean the standard library?
 
If we ever get a one-use time machine, don't give it to @Lightness. He'll go back and prevent STL from catching on as a term to refer to the C++ standard library or part of it or whatever. We'll never get Hitler killed before 1933.
 
3:42 PM
@thecoshman Plenty of people use libraries based on the STL rather than the standard library. Your assumption that it's obsolete and thus irrelevant in all discussion is somewhat baseless and rooted in ignorance.
 
@R.MartinhoFernandes hahahahah
 
@R.MartinhoFernandes But what if we kill Hitler and Lightness becomes a dictator instead?
 
@ThePhD Lightness wasn't born in 1933.
 
@LightnessRacesinOrbit it's an edge case that context will clearly point out you where not referring to
 
Could you imagine -- trains and trains of jews English speakers, sent to the worst places on earth because they, like, used a comma in the wrong place?
 
3:43 PM
STD Light.
 
The difference between @LightnessRacesinOrbit and the rest of us, is really that he is racing in orbit and we have our feet on the ground.
 
STLPort's google result still says "A port of the original STL to many platforms. Derived from the SGI implementation, changes are incorporated regularly." However, the actual site content now says "STLport is a multiplatform ANSI C++ Standard Library implementation." It is impossible to know which they really mean.
 
@ThePhD Woa there.
 
@EtiennedeMartel It's like a really bad beer!
 
@ThePhD You mean American beer?
 
3:44 PM
@R.MartinhoFernandes Without Hitler I would not exist, so, yeah!
 
@EtiennedeMartel Yep.
 
@Tin Hmm, I don't see <L_TYPE_raw> anywhere in the code. Either you forgot to paste something, or your compiler is messed up. (Most likely, the first one)
 
(I wager that, without Hitler, most of us would not exist. His influence was too far-reaching for his erasure not to effect the timeline to a degree that alters the circumstances of your conception.)
 
(To be fair, they brew really good beer in Vermont, but that's probably because of how close they are to Quebec)
 
@EtiennedeMartel Would be a case for good wine, because the quebequa are french?
 
3:44 PM
@EtiennedeMartel this beer better live up the hype ಠ_ಠ
 
@thecoshman The Belgian guy here says it's not as good as beer in Belgium.
 
@LightnessRacesinOrbit no, the beer will live the hype
 
@Mikhail Wine is expensive here.
 
3:45 PM
@EtiennedeMartel ofc he does :P
 
@thecoshman He says the same thing about the fries.
 
@ThePhD I dream it!
 
@EtiennedeMartel You need to come visit Belgium, and I'll take you out to try some of our beers. Then you can see for yourself.
 
@LightnessRacesinOrbit I am in the bastard's light-cone, yes.
 
@EtiennedeMartel oh, what a 'chips' in Canada?
 
3:46 PM
potato crisps
 
@thecoshman We use "fries" for what you call "chips", and "chips" for what you call "crisps".
(And in French, it's "frites" and "chips" respectively)
 
@EtiennedeMartel so american names?
 
@thecoshman Yes.
 
> bufferElement* _pbufElement; ARGASGASDGASFDA
 
:D
 
3:47 PM
1 message moved to bin
 
@thecoshman They are, after all, American.
 
@EtiennedeMartel then what you call fries, we do to. as those are the skinny ones. Chips are fat fries
 
affect* fuck
 
Tin
@BartekBanachewicz ?
 
How do I commit with the -a and the message? Says a isn't a path :\
 
3:48 PM
@thecoshman That would explain why those fries at the nearby fish and chips place are so fucking fat.
 
chips and fries are the same thing. they are chips, whether they are fat or thin.
crisps are crisps.
 
@EtiennedeMartel :D
 
@Pawnguy7 ? git commit -a -m "whatever'?
 
git commit -a -m "my message"?
 
Oh. I forgot the qoutes again :D
Sigh.
 
3:49 PM
@LightnessRacesinOrbit you seem to be the first person (and I am not that surprised) who would not agree that fries are skinny and chips are fat.
 
@Mooing_Duck You have the guesses what I was taking about when I tweeted that piece of news.
a rather unfortunate spelling mistake
 
You have the guesses.
 
@thecoshman I've never even heard of that distinction.
 
And you... HAVE THE POOOWEEERRR!
 
@thecoshman You're the first person that I know that has separated them.
 
3:49 PM
Fries are yankie and chips are real
 
@Rapptz your american, you have no idea :P
 
A bit prejudiced don't you think?
 
seriously, fuck me people
lern2engrish!
 
@Rapptz :D
 
@LightnessRacesinOrbit You wish.
 
3:50 PM
@thecoshman is racist towards fat fries; he's marking them and alienating them from their fried brethren.
 
@LightnessRacesinOrbit This is confusing.
 
@R.MartinhoFernandes "The 'Fuck Me' People" are a band. In my imagination.
 
Typo.
 
@Rapptz I believe you.
 
@ThePhD Thin privilege is being called fries instead of chips.
6
 
3:51 PM
@EtiennedeMartel lol
 
@EtiennedeMartel So much thin privilege.
We should blog about it!
 
@ThePhD No, he's racist towards fat chips!
 
@EtiennedeMartel Is that the thing when fat people complain about thin people complaining about people harrassing them about them being thin?
I love that sentence.
 
> Actually, I was. I was in the 96th percentile for body weight when I was born, even though I wasn’t especially tall. So yes, I was born fat and I still am. It’s almost like I was meant to be big!
I was born in the 5th percentile of mathematical intelligence. Guess I'm never gonna be able to add for the rest of my life. =[
 
3:53 PM
@R.MartinhoFernandes I have no fucking idea.
 
> Thin privilege is not getting nasty looks/comments from the vet when your dog is diagnosed as being overweight, because the vet assumes that because you’re fat you must be unhealthy, therefore your pet must be unhealthy for the exact same reason.
 
....
 
@R.MartinhoFernandes It's a blog where fat people think they're oppressed because they're fat, so they take the blame out on thin people.
 
What a dumbass.
 
Oh, so thin privilege is having a vet that is a dumbass?
 
3:55 PM
I think this person has a complex about her weight.
 
@R.MartinhoFernandes Almost 99% of the posts there are made up (just like every SJW tumblr)
 
Thin privilege is where you are privileged to not be a lazy fucking cunt and have people notice this daily.
(Disclaimer: I don't actually believe that all fat people are fat because they are lazy. But it makes for a good Lounge comment.)
 
Five hundred pounds is over 200kg, right?
WTF, man.
 
yeah
 
3:57 PM
Just... WTF
 
almost 227
 
Tumblr sucks.
 
> want to point to myself as an example of a person who is fat ("morbidly obese" according to the BMI) and healthy at the same time.
 
@ThePhD His point was that people claim you’re not born fat. It’s a valid refutation.
 
This is altogether too much.
I advise that we erase the records.
 
3:59 PM
I think that actually worked...
 

« first day (1005 days earlier)      last day (3961 days later) »