« first day (978 days earlier)      last day (3970 days later) » 

8:01 PM
lol
Say something interesting
 
something interesting
 
I knew it
 
Xeo
+1 because you managed to cause wrong answers from 10k+ users. — Lightness Races in Orbit 20 mins ago
That's... quite the wrong criteria to give a "+1"
But who cares
 
@Xeo I don't think Tomalak gives a shit.
 
Its funny nevertheless
 
8:05 PM
@Xeo I was being hilarious
@Xeo The question is, in fact, worthy of a +1 regardless
@Xeo Also, you meant "criterion".
 
Criteri.
 
Xeo
German's pulling my leg. I was thinking "criterium", but that sounded wrong in English, so I just went with what sounded best.
Also, who cares if you don't get an implicitly generated one - X(X&&) = default;, yay.
 
"criterium" sounds Latin, whereas "criteri{on,a}" comes from Greek.
 
A criterium, or crit, is a bike race held on a short course (usually less than 1 mile), often run on closed-off city center streets. Race length can be determined by a number of laps or total time, in which case the number of remaining laps is calculated as the race progresses. Generally the event's duration (commonly one hour) is shorter than that of a traditional road race — which can last many hours, sometimes over the course of several days or even weeks, as in a Grand Tour. However, the average speed and intensity are appreciably higher. The winner is the first rider to cross...
 
@Xeo That'll make a good comment on my answer, which I shall then upvote.
 
8:13 PM
In Dutch we also say criterium.
Meaning criterion, not the bike race.
@ScottW I'm crooked.
lol
 
So does Polish "kryterium" --> criterion
 
G++ accepts it without a problem :F
(Yes, I know, my code is bad and I should feel bad.)
 
I'm tired
 
@StackedCrooked, your clang is old and you should feel old.
 
STORM, FINALLY
 
8:25 PM
@Rakkun here, too
 
not here :(
 
@StackedCrooked so yeah, why are you / why is coliru on clang 3.1?
 
installed with apt-get
 
@Rakkun Storm?
 
@ThePhD Yeah because it's been 35°C today and over 30°C for the last few days.
 
8:27 PM
Ah.
Now you're hot and wet~
 
And clang is not an official feature, only GCC. I love this easy cop out.
 
@ThePhD atmospheric disturbance :)
 
@ThePhD ~i always am~
 
@StackedCrooked that's just not good enough! :p
 
@StackedCrooked Just do a svn build, goddammit.
Building clang with libsupc++ based libc++ isn't that hard.
 
8:28 PM
meh, that requires ..effort
 
lol
About 5 minutes of it
 
Hello, is someone here?
 
You know, it manages to compile itself after you type make -j12 && sudo make install in shell.
 
If I can build clang with MSVC, you can do a regular build :p
 
:D
I should finally make a script for building clang.
 
8:29 PM
checkout llvm, checkout clang, configure, make? :p
 
I'm doing it manually every time and doing it by hand every time is irritating.
@melak47 s/configure/cmake/
C'mon, even cmake is better than configure.
 
whatever~
 
~/stacked-crooked/llvm/clang $ { ./checkout-clang.sh && ./rebuild-clang.sh ; } >log 2>&1 & disown
Which is a checkout of this.
So have a little patience.
LLVM & Clang build takes a while though.
 
while (though)
 
lol, fixed
 
8:31 PM
@StackedCrooked It's pretty fast on make -j12 :P
 
My VPS has 4 cores.
And it tends to freeze up if I use all of them.
 
Anyway, seems that awful code of mine is 100% fine, just exceeds clang's default -ftemplate-depth even in that simple test case.
4 cores usually make me make -j6.
Oh, that lame pun.
 
why the parens around each cmd in .sh?
 
@Griwes lol
 
I like even lame puns about make, though.
 
8:33 PM
@LightnessRacesinOrbit To restore current working directory after the command ends.
 
@StackedCrooked ok
good idea will have to remember that
thanks
bbiab
 
It's not needed for the first line though. That one was just for visual consistency :P
 
user142019
Skype.
 
user142019
Y u no close files after sending them.
 
user142019
You motherfucking piece of shit.
 
user142019
8:37 PM
It not only leaks memory, it also leaks file handles!
 
@rightfold Blasphemy
This is madness
 
hmm.. when you call glVertexAttribPointerhow does it know what vertex buffer object you intend this data to come from
 
No need for subshell spawning or directory changes.
@thecoshman This is stored in VAO.
 
lol, I found some old SPARC assembly code of mine :) Any SPARC assembly lovers in the lounge?
 
8:43 PM
@CatPlusPlus yes, but how does the VAO know what VBO to pull the data for the attribute from
the example I am seeing binds some other VBO used for index data, then tells the VAO about where to read this data for position and colour, but I don't see how the VAO knows which VBO to read from
and yes, I know this is ~beginner~ stuff
 
@FredOverflow Is it... is it... is it code in a PDF...?
 
there doesn't seem to be a 'which VBO' parameter in glVertexAttribPointer, and nor does it just use the currently bound VBO
 
@Griwes Yes, I was using it for presentation purposes. I actually printed it on physical slides :)
 
uh
 
I didn't have a laptop back in 2009, so... :)
And physical slides are great, because marking stuff on the slide is very easy.
 
8:47 PM
@thecoshman Attrib pointers don't need a VBO.
VBO is recorded in VAO when you do glBindBuffer AFAIR.
 
Also you can hand out the slides to fans afterwards. Like how drummers throw their sticks into the audience after a show ;)
 
@CatPlusPlus put it this way, if I used one VBO for position, and one VBO for colour, how does the VAO know which VBO to use for which attribute... from what I have gathered, using two VBO's in this way is ok (ideally yes, interleaved, but step by step)
 
Oh, apparently buffer binding is not part of VAO state.
 
Hello
 
@FredOverflow only x86 haters
 
8:50 PM
well, the VAO does record that attribute 'foo' is read <like so> but I don't see how it tracks what VBO to actually read from... and apparently you shouldn't have to bind a VBO to bind a VAO to draw from... the binding is just so you can go from 'CPU/RAM' to 'GPU' (as far as I understand it)
the example code I am looking at doesn't even keep track of the VBO id's, it just tracks the VAO id and in one function sets up that particular VAO for drawing
 
> These functions say that the attribute index index​ will get its attribute data from whatever buffer object is currently bound to GL_ARRAY_BUFFER​.
When you call glVertexAttribPointer
> This is also why GL_ARRAY_BUFFER​ is not VAO state; the actual association between an attribute index and a buffer is made by glVertexAttribPointer​.
 
o_0 but that doesn't make sense... the tutorial I am reading has got a different VBO bound when it uses glVertexAttribPointer
 
@Abyx Well, what's not to hate about x86...
 
@thecoshman That's how it works.
 
...not that anyone cares :)
 
8:54 PM
What tutorial?
 
@CatPlusPlus pow
 
It doesn't rebind the VBO.
@FredOverflow It's in gibberish.
 
oh right lol
 
hmm... well, it binds a second VBO, but binds it for ELEMENT_ARRAY_BUFFER... so does that mean it looks that the currently bound ARRAY_BUFFER
 
8:59 PM
Why is the typename required here? stackoverflow.com/questions/17223446/…
 

« first day (978 days earlier)      last day (3970 days later) »