« first day (1799 days earlier)      last day (3151 days later) » 

12:00 AM
disgusting
 
user1804599
XD
 
user1804599
@sehe how's your jaw and gums
 
I rarely think this, but that's truly too much information.
 
@elyse hurts
 
May 27 '12 at 13:09, by Cat Plus Plus
room topic changed to Lounge<C++>: Now you can write a programming. [c++] [c++11] [c++-faq]
 
user1804599
12:01 AM
@sehe will you be able to sleep?
 
@sehe what happened?
 
@elyse sure. I always do
 
May 27 '12 at 19:52, by Ethan Steinberg
But those are not permutations of each other.
 
user1804599
Oh, sleeping is a waste of time.
 
@JohanLarsson nothing. this is pretty normal for me
 
12:02 AM
Wait, lalaland?
 
REST IN PEACE, youtube-mp3.com
o7
 
May 27 '12 at 20:57, by Domagoj Pandža
My cat is simply an inspiration to our global effort of procrastination.
 
user1804599
sehe see a dentist
 
@ThePhD what's that
 
12:03 AM
43
A: Comma delimited string from list of items

pdrWould this not suffice? private string ConcatenateCheckBoxListItems() { return string.Join(", ", from item in MyList select item.Value); }

 
@elyse That might work if the dentist was really ugly. Then his eyes would hurt so much he wouldn't notice the pain in his mouth.
 
Smell to wrap a oneliner imo
 
it's not a smell if it gives a meaningful name
which is sadly not the case here
 
user1804599
It should have been called bukkake.
 
@milleniumbug perhaps but the onelinser reads so clearly it does not need a name imo
 
12:06 AM
@elyse twice a year is ok
 
but I understand what you mean and agree
 
@elyse Maybe Jay Bazuzi'z answer should have been named Bakkuke?
 
user1804599
Why I'm lucky: no menstruation, pregnancy, or peeing sitting
 
you can pee sitting, should be the default imo, lounge right there
maybe even lie?
 
I choose between peeing sitting or standing randomly
 
12:10 AM
Welcome to Zipf's law
 
user1804599
Is it considered rape if I trick guys
 
I consider it unwise. And yes, if you proceed after they "revoke" consent...
 
@elyse trick them to what
 
user1804599
@Seehe Duh
 
ok nevermind
well, it's not strictly illegal...
 
user1804599
12:14 AM
What if I just suck their dick and never let them know!
 
...
why would you do that. If you're that desperate, hook up with trans in a safe place
 
user1804599
:P
 
Or just a guy that would do that regardless.
 
user1804599
Like you thephd
 
Uh. Sure.
 
user1804599
12:15 AM
:o
 
user1804599
Time to sleep bye!!!11111<<<<33223
 
Don't fall asleep now
that would be a waste of time
 
@Morwenn belated good night (i was eating fewdz)
 
user1804599
§
 
§
 
user1804599
12:17 AM
 
 
NO CARRIER
 
user1804599
…/—\…
 
@Borgleader Borgleader. ♥
I didn't get to say Welcome home.
 
@sehe what is the name of that guy?
 
12:19 AM
ok I almost managed to get Robot's vimrc working
 
What have I missed?
 
@ThePhD Thanks ♥
 
telkitty drama
 
Did you miss anything? I thought you were here earlier
 
12:19 AM
@milleniumbug i.e. insignificant crap
 
yeah it's insignificant since I have her plonked
ok, gonna stop now
 
yep me too, it kept me from seeing that beheading video she posted a while back (and got banned for)
 
@JonClements Lots of Telkitty drama.
 
@Mysticial was watching that
 
Is it true? She threw a fit, then, basically left.
Jefffrey challenged lounge for a while
 
12:22 AM
And he kinda got steamrolled.
 
@sehe hmm?
 
> E185: Cannot find color scheme 'solarized'
well, what
I think I'm gonna fix this problem by switching to monokai
 
Oh, that's right!
 
@sehe ...and there was much wailing and crying and dirges were sung when she left. Umm...well, maybe not.
 
We forgot
 
12:23 AM
@Borgleader Do you have glm and a debugger on hand, by chance? I needed to test my own ortho matrix against it.
 
@milleniumbug jellybean
 
@Mysticial probably best not to bring it up again :p
 
@ThePhD i do
:25805726 Im not sure what you mean by that
I'm not here much during the week so I miss a lot of stuff
 
I'd keep it that way :|
 
@sehe Dont you like me :(
 
12:28 AM
@Borgleader We do like you. That's exactly why we advise you to stay away as much as you can.
 
I meant the "I missed it". I'd keep it that way
@JerryCoffin That's not what I meant :(
 
@sehe Nice, I'd go with that if I wasn't already used to monokai
 
@sehe My apologies--it was intended purely in an (admittedly lame) attempt at humor.
 
A little experiment to check the impact on performance of vertex attribute formats: http://t.co/wcrYUXttcr
/cc @ElimGarak @ThePhD
 
@Borgleader I can't read that chart.
Is that % over the baseline?
 
12:34 AM
@ThePhD Looks like it's using f32vec4 as the baseline, and comparing others to that.
 
So nearly everything and its mother is worse than f32vec4 with Vertex Attribute Format?
Exception 64bit vec4, apparently.
 
Your mom in particular
 
@ThePhD actually it would make more sense that everything would be better since they take up less space? Its a performance graph, so if f32vec4 is 100% "performance" then uvec8 at 125% performance is 25% faster (it also explains why the f64 one is so low and/or not supported on the other ones)
 
@ThePhD Given that it's claiming to measure performance, I'd guess the opposite (e.g., that "125%" means 25% better performance).
 
12:39 AM
f32vec4 confirmed the devil
... Which is strange, because f32vec4 is the default for everything.
 
This is a fine example of why Twitter sucks, and should be expunged from the face of the earth. They basically prohibit the explanation it needs to be useful and meaningful.
 
Feb 10 at 11:03, by milleniumbug
What about blogs? It's like Twitter except not limited to 140 chars.
cringes at the "It's" typo
 
"It is like Twitter"
What is wrong with that?
 
@milleniumbug There is no typo there. He's using `it's" as a contraction of "it is", which is entirely correct.
 
@JerryCoffin Welp, i tweeted at him asking if he can provide some explanations lets see if he does.
 
12:42 AM
 
Btw, @ThePhD thats the guy who makes glm. Which reminds me, you still havent asked me your matrix thing.
 
Is that fucked up or what ^^
 
[manfully resisting the urge to say: "It's entirely correct."]
 
@JerryCoffin Well, I meant to say "they're" instead of "It's"
 
@Borgleader I'm aware. I e-mailed him once before when asking him about SPIR-V.
 
12:43 AM
@milleniumbug Okay--fair enough.
 
hmmm, the vimrc just doesn't load the plugins it seems
 
> TheDickPicProgram
 
@milleniumbug pathogen (without looking at any vimrc)
 
0.400000006 0.000000000 0.000000000 -1.00000000
0.000000000 0.400000006 0.000000000 -1.00000000
0.000000000 0.000000000 -1.00000000 -0.00000000
0.000000000 0.000000000 0.000000000  1.00000000
@Borgleader That's what I end up with.
with...
ortho(0.0f, 5.0f, 0.0f, 5.0f, -1.0f, 1.0f)
 
user406009
@ʎǝɹɟɟɟǝſ You wanted to work on a game? We can start now, or tomorrow around 8 PM UTC.
 
user406009
12:50 AM
What timezone are you at? I am in US Central time (-5 from UTC)
 
It ends up looking like this abomination:
 
Still better than @Nooble's engine
 
welp, I was indeed dumb
haven't run the vim +PluginInstall +qall line
 
I wonder... is glm header only?
 
@ThePhD it is
@ThePhD It gives me that, but transposed?
 
12:57 AM
@Borgleader Kinky: I didn't know glm works row-major
Do you have to transpose your matrices before sending them to OpenGL with glm?
 
No. When I render the sponza I send:
glm::mat4 model_mat;
glm::mat4 proj_mat = glm::perspective(glm::radians(fov_y), aspect_ratio, 0.1f, 100.0f);
glm::mat4 view_mat = glm::lookAt(glm::vec3(14.29632f, -1.49852f, 8.31521f), glm::vec3(0.0f, 0.0f, 0.0f), glm::vec3(0.0f, 0.0f, 1.0f));
glm::mat4 modelViewProj = proj_mat * view_mat * model_mat;
 
That's... huh.
Have I been working column-major this whole time, and never knew...?
Either way, I'm confus. ortho from glm is telling me its all okay...
 
user406009
@ThePhD That looks like the correct matrix to me.
 
user406009
I tested out a couple of trivial vectors and it appears to do the correct transformation.
 
Uh.
 
user406009
1:04 AM
It also intuitively matches what I would expect.
 
Well.
I managed to integrate glm into my app, and it's saying I'm doing it absolutely wrong.
this is what GLM turns out for me:
 
@ThePhD as i said earlier, thats what you showed earlier but transposed.
I copied the contents of mine into an array of 16 floats
 
@Borgleader My array above shows 0.40000006, not 4
 
user406009
@ThePhD What's the glm call you used to get that?
 
glm::ortho
 
user406009
1:08 AM
What arguments?
 
Matrix projection = CreateOrthographicProjectionOffCenter( 0.0f, 5.0f, 0.0f, 5.0f, -1.0f, 1.0f );
glm::mat4x4 glproj = glm::ortho( 0.0f, 0.5f, 0.5f, 0.0f, -1.0f, 1.0f );
Top one is mine, bottom is GLM.
Don't mind the different in where the second 5 is, mine does top, bottom, but others do bottom, top
This is fuckin' weird, glm does row-major. WTF.
I know it's row-major because I'm transposing before I send it to the graphics card.
 
[0] 0.400000006 [1] 0.000000000 [2] 0.000000000 [3] 0.000000000
[4] 0.000000000	[5] 0.400000006 [6] 0.000000000	[7] 0.000000000
[8] 0.000000000 [9] 0.000000000	[10]-1.00000000 [11]0.000000000
[12]-1.00000000 [13]-1.00000000 [14]-0.000000000[15]1.00000000
I get this
 
....
Wut.
 
from:
auto ortho = glm::ortho(0.0f, 5.0f, 0.0f, 5.0f, -1.0f, 1.0f);
float aaa[16] = { 0.0f };
memcpy(aaa, glm::value_ptr(ortho), sizeof(aaa));
 
user406009
@ThePhD It appears you use 5.0 in the top call and .5 in the bottom.
 
1:11 AM
Woops.
I'm stupid.
 
user406009
Yep, looks like glm does column major.
 
...
column ?
That's row major.
 
> Notice that all matrix types are column-major rather than row-major. Hence the need to pass GL_FALSE to glUniformMatrix4fv.
 
I'm transposing before I send my data to the graphics driver. If that was the case my shit would be all fucked up.
 
user406009
@Borgleader :P
 
1:14 AM
gl_Position = return_position = ViewProjection * position;
That's my mult in the shader
Is that in some special reversed order that's making this work?
 
And here's mine:
gl_Position = modelViewProjMat * vec4(position, 1.0);
but I'm sending the matrix with:
 
Okay, so we're doing the same multiplication order, but you don't have to transpose......
 
GLuint idx = gl::GetUniformBlockIndex(llogl::get_id(basicShaderVsProg), "Matrices");
gl::UniformBlockBinding(llogl::get_id(basicShaderVsProg), idx, 7);
 
I'M SO LOST
 
user406009
Borgleader is doing a transpose.
 
1:16 AM
@Lalaland I am?
 
Where?
 
@ThePhD find / -name 'ThePhD'
 
user406009
NVM, I am an idiot.
 
Where's your glUniform call?
Or are you using Buffer Objects?
... Wait, is your playground repo public?
 
user406009
OpenGL spec:
 
1:17 AM
No repo (yet)
 
user406009
> Each matrix is assumed to be supplied in column major order.
 
sorry for the gold shovel — drigoSkalWalker Jan 11 '13 at 1:15
huh
 
user406009
It appears column major is correct for OpenGL
 
Maybe my transpose is a no-op...?!
 
user406009
That feeling when you've been wrong all along ...
 
1:18 AM
Ok, time for a shower, bbiab
 
Wait
There's nothing TO transpose
So column major / row major doesn't matter here...?!
Or my transpose is just flat out wrong
 
user406009
You want your matrix to be in column major order when you pass it to glUnifromMatix4fv.
 
user406009
You only need to transpose if you want to turn something from row major to column major.
 
yay, I managed to install Robot's vimrc
 
user406009
@milleniumbug How is it?
 
1:20 AM
I have mixed feelings about color scheme, but it's nice in general
I like how it displays line number deltas
also cursor coordinates
 
AAHAAAAAAAAAAAAAAAAAAAAAAA
 
@StackedCrooked any way to programmatically get the command script for a coliru entry? Similar to adding /main.cpp?
 
glm::ortho exhibits the same bad behavior that mine does when I pass it to the shader!
Correctly, that is.
glm::mat4x4 glproj = glm::ortho( 0.0f, 5.0f, 5.0f, 0.0f, -1.0f, 1.0f );
 
user406009
What's the vertex data for your shapes?
 
Figured it out. My matrices are doing some column-major.... something, somewhere, and its ruining everything.
If I transpose the glm matrix, and then let my system transpose it again, everything comes out correct.
(eg., it goes back to column major)
 
user406009
1:24 AM
Sounds about right.
 
So my matrices are in column-major, despite me setting the system to be "row major".
Which means they get transposed once
and then they get sent to the gfx card row-major
and that's why my display is all fucked
Question is, why is my matrix being made column-major.
 
user406009
Where do you think you are making them "row major"?
 
This should have crashed and burned DirectX... but it worked...?!
 
Your matrix is column-major... because you programmed it to be so?
I... don't see another explanation...
 
1:33 AM
Right, I'm trying to find out where I'm doing the derp.
 
user406009
Well, do you use [x + width*y] or [y + height *x]?
 
Neither.
 
user406009
Or [y][x] or [x][y]?
 
I'm directly setting m11 -> m44
 
user406009
[m11 m21 m31 m41 m12 m22 m23 m24 ...] IIRC.
 
1:39 AM
@Lalaland Yeah
 
this is my new favorite thing
 
Have you guys seen this C++ Core Guidelines, edited by Bjarne Stroustrup & Herb Sutter?
11
 
yes
 
user406009
@Borgleader schmoyoho does a better job IMHO.
 
user406009
Sort by most popular for the good ones.
 
1:46 AM
Don't fall asleep now
that would be a waste of time
 
user406009
@sehe Why do you keep posting this?
 
user406009
That guy is long gone.
 
nice
but as far as ads go:
 
2:11 AM
Hey @Borgleader, a question.
Would it be wise to enforce a certain usage when it comes to column major / row major in source code?
 
I would pick one and stick with it.
Is that what you meant?
 
Like
matrix4 m( a, b, c, d,
e, f, g, h,
... );
When you do that
would it be wise to always push the "expectation" that its row-major, and then set it column-major internally (if that's the desired format)?
Or if someone sets the whole system to be column major, would you expect those elements to be placed in a row-major way?
 
if it costs you no performance i would be explicit about it, maybe a helper? matrix4 as_column_major(ze_values);
 
Hrm.
I just want to have it so
matrices aren't suddenly wrong when someone flips the column major bit.
That is, if they've been working row-major, that all the calls remain row-major
 
well like i said, just pick one. I would provide helpers if you want to allow people to specify stuff as row major, but if deep down its column major well as much of the code should be column major, otherwise it'll be a nightmare (imo).
 
2:18 AM
Yeah...
I just have a lot of code that multiplies and works row-major style.
like model * view * projection
And I want to kind of keep the interface to be row-major, but store things column-major when the time comes.
 
user406009
Matrix multiplication order doesn't depend on whether your matrices are row or column major ...
 
Yes it does.
 
user406009
The more important question is whether your vectors are row or column vectors and correspondingly whether you have to pre multiply or post multiply them.
 
user406009
rowVector * matrix vs matrix * columnVector
 
... So it matters.
 
user406009
2:22 AM
But that's a completely different topic than row or column major matrices.
 
view * proj;
row_major_view * proj;
Different results.
 
user406009
No, they have the exact same result.
 
user406009
The problem is more that:
view * proj * columnVector;
rowVector * row_major_view * proj;
 
user406009
Have different results.
 
user406009
And require different matrices.
 
2:35 AM
hello Lounge
did I miss drama by any chance
 
yes
 
user406009
@AndyProwl You might have missed the outing of telkitty.
 
damn
 
user406009
 
any pointer to the transcript?
 
user406009
2:37 AM
13 hours ago, by chmod 711 telkitty
Oo, forgot to mention: that time of the month since yesterday
 
user406009
That's about the start of it.
 
13 hours ago, by chmod 711 telkitty
@R.MartinhoFernandes you f*cking having a slow mental breaking down or what
^^ I believe it started here.
 
lol
thanks guise
I can't even take a few days off and boom
things happen
 
This is my one sentence summary:
10 hours ago, by Mysticial
@orlp Basically what you're seeing right now is the equivalent of Bill Cosby victims coming out all at the same time.
 
user406009
Funniest quote of the event:
 
user406009
2:39 AM
10 hours ago, by Elim Garak
I want you to imagine Telkitty as a rocket with limited fuel which a few years ago wanted to reach a distant asshole planet, at the edge. She dumped all her fuel in the direction of the asshole planet and now she has a huge asshole momentum. Just because she used thrusters to turn retrograde doesn't mean she has any hope of stopping.
 
Domagoj is a KSP guy, I take it
lol it's awesome drama
I wish I didn't know how the story ends
 
She hasn't said a word since. I assume she's trying to lay low to avoid attracting any mod attention.
 
user406009
This room probably has the most drama of all of snackchat.
 
user406009
The other rooms are much calmer.
 
@Lalaland We also have the most fucks so it kinda makes sense.
 
user406009
2:44 AM
@Mysticial Which is sorta ironic, since this is supposed to be the Lounge where we chill.
 
it's a chilli lounge
lol and in the middle of the drama:
13 hours ago, by Columbo
Admittedly, the VS IDE is pretty fucking smooth.
 
user406009
I truthfully didn't really mind telkitty that much.
 
user406009
Other than when she got the mods to take down stargazer.
 
user406009
That was a tad annoying.
 
lol we have to go through our annual telkitty drama eh
boring
 
2:48 AM
Rapptz!
 
hi
 
Rapptz!
 
user406009
Alex!
 
bye
 
Rapptz!
 
2:49 AM
Nooooo..... Rapppppptzz... DOOOOOOOOOOOONNNNNNNN'TTT GOOOOOOOO.......
 
aaand he's gone
the telkitty part was actually pretty short it seems
most of the drama is in the aftermath
 
user406009
Yeah. Everyone here loves drama, despite how much we say we don't.
 
@MarcoA. lol
 
@AndyProwl How's the US? :D
 
@Griwes if I weren't half sick it would be much better, but at least I'm here :P
 
2:53 AM
:D
 
user406009
@AndyProwl That graph is sorta poorly done. The "is harassed by arrow" is in the wrong direction. It should be flopped with the title "harasses"
 
user406009
Oh, yeah, cppcon is starting soon!
 
@Lalaland Why? I think it's ok
I have to fly to Seattle on Sunday and I really hope I won't fuck anything up this time
 
user406009
@AndyProwl It's confusing. The arrows should always point from instigator to target.
 
also I hope the aircon on the plane won't be -25 degrees like on the way here
 
user406009
2:55 AM
Did you try turning off the little air thingy?
 
@Lalaland nah, the direction should simply be consistent with the name
@Lalaland yeah, I turned off mine and bothered also the people next to me to turn off their :D
I was wearing a jacket, a blanket, a winter scarf, a jersey with a hood (hood was on of course), and I was totally cold
oh wait did someone say cock
 
lol -25 degrees
 
let me star that
 
user406009
I really want to go to a cppcon. I guess I can always hope for next year.
 
13 hours ago, by Elim Garak
Jeffrey, it seems to me that you believe that Robot kicked her in some form of abuse of power... You see, if there were a "kick telkitty vote, press F1", F1s being pushed would resonate across the planet in a matter of seconds.
lol
 
2:59 AM
@sehe Not sure what you mean. But you can do this or this.
 

« first day (1799 days earlier)      last day (3151 days later) »