« first day (1795 days earlier)      last day (3146 days later) » 

12:00 AM
@Nooble You cannot not like Garrus
 
@jaggedSpire Oh yes, him.
@Borgleader :P
I should make a plugin that changes everyone's names avatar back to what they were before.
Nightcracker...
 
Bah.
I give up.
 
Oh but what I do about Cacadi.
My plans again have been foiled!
Aluminum foiled!
 
12:14 AM
-4
Q: Which language can protect my code on linux?

JasonRight now I have a python script that takes inputs and provides a output. Also collects and pipes off a log file. I'm trying to prevent users who use this script to not be able to reverse engineer it or copy the source code. Rather than obfuscating python I'm wondering if there's a better lang...

@Nooble what?
 
@BartekBanachewicz What about it?
@melak47 No "printscreen" butan v0v
;)
 
@Borgleader Can you see this?
 
@ThePhD that's a lot of code without a readme
 
@orlp vOv
 
@ThePhD what does that even mean?
I can understand this \o/
but vOv makes no sense
 
12:23 AM
Shoulder shrugging
 
@orlp Well, Java and Python can't
 
@ThePhD yes
 
Kinky.
 
@ThePHD classes? really? It's 2015, consider function decomposition: jfeltz.com/posts/…
 
What.
 
12:29 AM
@ThePHD it's a new software architecture technique that I'm working on documenting
 
@Borgleader Well, okay. Not too much strange between what I have an what you have...
> Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4.
Well, I've satisfied all the conditions...
I don't know what this thing wants from me. =/
 
gimme a file name, all entries for vertexattribpointer ar in your inl opengl files
 
@Borgleader Uhm. I think you a word.
@Borgleader And a ltter.
 
ar -> are
and i didnt a word
 
also, for some reason git pull wouldnt download the submodules :(
 
Maybe takes a while for permissions to permeate.
 
@BartekBanachewicz lol, nice
 
@Borgleader FWIW, I'm working on this, and I've taken out all of my abstractions and am working directly with OpenGL to figure out WTF I'm doing wrong.
Right now, I'm just triggering posAttrib, and everything else is -1, and I'm trying to hammer down the proper semantics for those calls.
The whole 2/3 thing is still going on.
Ughgughgughg why is it faaailliing
I'm gonna go get some depression food to drown out the GL...
Question.
If a repo is public,
and I choose to pull VIA SSH,
will it fail?
 
12:57 AM
Why would it
 
I don't know.
Just curious.
"Do not let anyone see your source code"
Guess I can't put my python homework on Github.
 
Yeah, not in a public repo
 
I'm not wasting private repos on my Python Homework. :v
On the harddrive it stays.
 
@набиячлевэлиь lol
 
1:21 AM
sup guise
 
user406009
@ThePhD create one repo for all hw
 
user406009
Or use bitbucket :)
 
@ElimGarak soup
 
user406009
1:25 AM
Hello Elim
 
Mumble is so lonely. There is only me and sehe's work puppet
;~;
 
user406009
Mumble requires a headset
 
user406009
And talking takes energy
 
user406009
Also, chatrooms are less effective than typing for more than 5 people.
 
user406009
1:28 AM
Yay, I have finally got my new toaster oven.
 
user406009
Time for endless grilled cheese sandwiches
 
9:30 I'm hungry af
 
Huh, libstdc++-5 ubuntu system update.
 
is it weekend yet
 
No, but only three days until it's the weekend.
Unless you didn't take Friday off. :3
 
1:31 AM
is it retirement yet
 
I don't know, how much do you have and how much do you spend doing living things?
 
I have nothing and I spend way too much
 
user406009
@AnastasiyaAsadullayeva you can retire to the wilderness at any time.
 
Do you have enough to supply living things until the age where you're guaranteed to be dead
 
I should migrate to europe for FREE WELFARE
@Tony let's migrate to Europe together
 
user406009
1:33 AM
@AnastasiyaAsadullayeva just claim you are 17, but "look older than your real age"
 
user406009
I also want to go to Europe
 
inb4 ageism
 
Discriminate all the childz.
 
> We still have at least two choices: we could let our amplitudes be real numbers, or we could let them be complex numbers. We know the solution God chose: amplitudes in quantum mechanics are complex numbers.
lol I can very well imagine God speccing out the types of the universe
 
lel, and catching shit for every decision he made in Lounge<Divine>
 
1:36 AM
I've never read an article about quantum mechanics with so many mentions of god
 
Probably answers how pointar is formed, then.
 
Even refers to god as female which is discriminatory
 
user406009
@AnastasiyaAsadullayeva looking into fft or something?
 
pls stop leaking your personal beliefs in scientific material thx
@Lalaland sarce
The article itself is interesting and easy to understand
But why would you mention god every 2 paragraphs really
WE GET IT
 
WE GET IT, YOU'RE AFRAID OF DEATH. But salvation comes at 1+ god/paragraph.
 
1:40 AM
I'll do the same when answering CUDA questions now. "So why did God choose to create warp divergence, you ask?"
@ElimGarak that's cheap
> Podcast #68 - A Badger, A Horse, and a Dik-dik (The Documentation Episode)
wtf is a dik-dik
 
@ThePhD I could be wrong but i always thought it was necessary to bind the array buffer after having bound the vertex array.
 
does it involve 2 men
 
although in this case, it might not change anything
 
user406009
Lol, there's an underflow bug fit these crossing indicators. Ticks from 0 to 32.
 
user406009
Glorious Houston traffic engineers.
 
1:44 AM
@ThePhD also your offset might be wrong. I would advance poffset by offsetof rather than sizeof (yknow in case of padding issues)
 
@Borgleader I'll try that.
 
@Borgleader I should follow my own advice
although in my current case i pack my buffers manually so i know exactly what the offsets are
 
glorious hand-buffer-packing race
 
If this is a padding thing I'm gonna sob bitter, cruel tears into a cup.
 
It's going to be padding if your fields are not sorted by decreasing size :3
sorry bub
 
1:52 AM
That's
 
user406009
@ThePhD Make sure to save the tears for Elim. He thrives on the tears of OpenGL users.
 
Horrible. :(
So vector2 vector4 is gonna be shittily padded?
 
user406009
Can you post the entire struct definition?
 
struct vertex { vector2 position; vector4 color; };
typedef float[2] vector2;
typedef float[4] vector4;
Or, uh
Wherever you put the [n]
 
That should have no padding
 
1:56 AM
offsetof doesn't look to be compile-time so I can't static_assert its offset in the struct...
WTB static reflection
struct vertex {
	Vector2 position;
	Vector4 color;
};
static_assert( sizeof( vertex ) == sizeof( float ) * 6, "Fuck" );
No fucks given.
 
wait
you said it worked with 2
but not 3?
 
3
But not 2.
 
hmm
 
user406009
I don't see any alignment issues either.
 
2:00 AM
@ThePhD I do that all the time in my code to make sure vertex sizes are what I expect them to be
 
user406009
Why don't you guys just use offsetof like god intended?
 
Here's the thing: I'm not even using color
It's just extra information that's there.
 
@ThePhD offsetof not compile time? are you kidding
 
user406009
Does OpenGL require certain alignment for it's data?
 
@AnastasiyaAsadullayeva It's a big ol' macro. I thought the stuff wasn't compile-time
 
2:01 AM
#define offsetof(type,member) ((std::size_t) &(((type*)0)->member))
anyway, i have to nops, i didnt have enough last night T_T gl
 
static_assert(sizeof( vertex ) == sizeof( float ) * 6, "Fuck");
static_assert(offsetof( vertex, position ) == 0, "Fuck");
static_assert(offsetof( vertex, color ) == sizeof( float ) * 2, "Fuck");
Says its all A-okay.
@Borgleader Nighty night, sleep tight. ♥
 
can I be nosy and ask what your issue is
 
@Prismatic Things not rendering ont he screen.
 
Do you have a debug tool that lets you see what you're sending to GL?
 
Renderdoc crashes in my app
Albeit I haven't tried it with my stripped-down version.
 
2:06 AM
int64_t vs long long
 
Maybe I can try renderdoc again.
 
int64_t doens't seem very pythonic I must say, and long long is annoying to type
 
Neither is pythonic because you have a type name. :v
 
howtojoke.pdf
 
2:09 AM
 
s64
 
user406009
int64_t for life.
 
s/u[size] is the best way to denote integer types
 
user406009
long long doesn't convey much meaning.
 
user406009
@Prismatic That's how rust does it :P
 
2:11 AM
// modules are a
long long time_away;
 
FOR FUCKS SAKE
RENDERDOC CAN'T EVEN DO NamedBufferData
FUCK these tools.
 
user406009
whispers Visual Studio and Direct3D
 
"We support OpenGL core" Like FUCK you do.
@Lalaland Already ran the code on D3D. It works. :v
 
D3D support was literally done over a year ago.
D3D11, anyways.
D3D10x/9x can go eat a dick.
If I want to run on that hardware I'd want to use OpenGL, because it's shit API necessitates back-compat cruft anyways, so I could get away with using a bunch of functions and then just patching it over to OpenGL 3.3.
 
user406009
2:16 AM
What about D3D12?
 
user406009
Where everything is manual?
 
E_TOO_DIFFERENT
I'll figure it out sometime later.
And when it's available on more than a GTX 950. :v
 
Have any of you tried any of the GPU debugging/profiling tools mobile vendors provide
Like PowerVR, Qualcomm etc
they look so cool
 
I'd like the Visual Studio D3D debugger to work with OpenGL.
The money I'd pay to see that happen.
 
user406009
 
2:23 AM
I'm not interested in a translation layer: my code is already the transporation layer from high-level constructs to the low-level API calls.
While ANGLE or toGL would be cheap to use, it would ultimately tie me to whatever those projects desire (note that ANGLE is not about using the latest OpenGL or even 3.3: it's about GL ES and web browser shenanigans).
 
How does WebGL work on Windows?
Does their internet browser have its own WebGL <--> DX lib
 
Yes. That's what ANGLE is for.
WebGL is essentially OpenGL ES 2.0
ANGLE's goal was to make that happen. They're also working on OpenGL ES 3.0
 
2:47 AM
 
3:03 AM
I can't think of a sane way to bake transforms into my vertex buffers every frame
either I keep an extra copy of the buffer or I recreate the buffer from all of its constituent geometries every frame
OR I unbake the buffer with the inverse transform every frame but I feel like matrix multiplication is expensive and that constantly multiplying things with an inverse matrix to reset their transforms will cause drift
 
user406009
Why are you doing transforms on the CPU side anyways?
 
I dont have uniform buffers
For unbatched geometry I do it on the GPU, but for merged geometry I need to premultiply the transforms before uploading the buffers
 
3:42 AM
std::vector<UPtrBuffer>& list_baked_vx_data
lol
 
 
1 hour later…
4:46 AM
@Prismatic Kinky.
 
5:10 AM
Reading Linux kernel changes list is sometimes rather interesting: trim does not work with Samsung 840 EVO after firmware update (EXT0DB6Q)
 
> As Linux is open source and can be modified by anyone, we do not support Linux. We advise users to disable Queued TRIM in Linux, as doing so will allow Sequential TRIM to run in the OS. .... and have a good day
Brilliant response from Samsung!
 
lolwut
 
@AnastasiyaAsadullayeva The LP bug report's last reply is awesome. I wonder if anybody used it:
> The next time Samsung tech support tells you they don't support Linux, ask them "Isn't that a bit odd, considering Samsung is a member of The Linux Foundation?"
I wanted to buy one of these. Now I am not sure if I should.
 
@wilx Not only that, but they have their on Linux OS in Tizen
 
5:20 AM
lol, C iterators.
@AnastasiyaAsadullayeva Classy.
 
I can't do it...
 
@AnastasiyaAsadullayeva that entire chain of back and forth is hilarious
 
Fucking OpenGL
It draws sometimes, othertimes it just freaks out and nothing shows up, just... I can't.
I fucking can't.
 
And that's why you need graphics debugging tools. :P Black Screen of Death otherwise. :P
 
Renderdoc crashes
 
5:23 AM
Ahahah, epic OGL, too much power for RenderDoc.
 
I can't figure out how to do APITrace or what it'll do for me.
 
You're doing something terribly wrong.
 
I've abandoned all of the OpenGL 4.4 stuff
I'm manually binding and using vertex attribute arrays now
I... I don't know what's wrong anymore.
 
5:24 AM
PhD's moaning is making me do some grafix with OGL 4.5. Might do after work.
 
SOB.
Tears.
VertexAttribPointer SEEMS like its the problem...
But maybe its how the data gets uploaded...?!
But I don't have any tools to inspect the memory once it gets uploaded
I'm just...
... praying it all holds up.
I've got static asserts and offsetof everywhere...
 
So, we can expect a triangle by 2025.? :P
 
It works when I have only Vector2 position in my vertices...
@ElimGarak I had triangles before. Beautiful models. Lighting, shading... I wanted to even make a GBuffer...
I could texture.
But it was all D3D. =/
 
And then OpenGL came and burnt it all to the ground! Killed your family.
 
I have the debug callback setup.
But it's silent. No warnings. No "hey, something's wrong with your attributes"
Nothing. I even have my shaders set to violently throw an exception on failed compilation.
All is quiet. Everything...
 
5:38 AM
> Flutter widgets are built using a functional-reactive framework, which takes inspiration from React.
 
> Flutter is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today’s, and tomorrow’s, mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.
 
mite b cool if its not HTML+CSS+JS
 
gdi assembly T__T
 
That's extreme...
 
5:43 AM
....
HAHAHAHAHAHAHAHAHAAAAAAAAAAAAAAAAA
Maybe.
Maybe OpenGL is taking my y coodinate as a coordinate.
I don't know. Help me. I'm losing it.
 
should I learn dart
 
its so qml like
 
It's discontinued
 
is it really?
 
5:55 AM
...
 
Not yet, but it's going in that direction
 
Is there some, like
silent rule with OpenGL
where 2-floats are converted to 3-floats on the fly or something?
Or 4-floats?
 
@AnastasiyaAsadullayeva Then what's all this Sky / Flutter BS I linked
 
Gargle said they would not integrate Dart into Chrome, then they discontinued the editor, and also said that TypeScript is a better alternative
 
Well Dart replacing JS might be off the table but they seem to be building an app dev framework using it
@ThePhD in GL 2, attributes are padded to 4 component vectors
 
5:57 AM
GL 3? GL 4?
 
@Prismatic iunno
 
No idea. It shouldn't matter though, its done by the shader
 
to me it seems that TS has had much greater success than Dart in a fraction of the time
I don't see Dart going anywhere
Hence why I am saying "no, don't learn Dart"
It is of course merely my opinion
 

« first day (1795 days earlier)      last day (3146 days later) »