« first day (1014 days earlier)      last day (3933 days later) » 

11:01 PM
:D
 
I mean I probably just need to include something
Christophe added constants recently <3
 
constants?
 
@ThePhD like pi, e, golden ratio etc
and OGLPlus has that amazing curves library
 
user142019
Ugh $(echo '' **/ebin/ | sed 's/ / -pa /g').
 
for bezier stuff etc
and actually when I passed glm vec instead of oglplus vec to template it broke on operators
@ThePhD ah it was my fault, I was trying to use vec3 with doubles
damn, it's pretty amazing
it really creates smooth curves
do want
I totally have to steal all that utility code
 
11:10 PM
@BartekBanachewicz vec2 is for doubles, vec3 is for triples
 
@StackedCrooked teehee
 
I'm the joke jukebox.
 
@StackedCrooked I thought that was my code
 
You code looks like joke jukebox?
 
Yeah you'll laugh at every line
 
Lol when I saw that link I thought he was making an AMA
 
hello all
 
woooo
finally some 3d action
 
user142019
{deps, [
    {cowboy, ".*", {git, "git@github.com:extend/cowboy.git"}},
    {epgsql, ".*", {git, "git@github.com:wg/epgsql.git"}}]}.
 
user142019
11:28 PM
This way of dependency management works so well.
 
@rightfold except when backwards compatibility breaks
 
user142019
You can specify version numbers.
 
user142019
And Git tags.
 
what if GH dies
 
user142019
What if the central dependency host dies?
 
user142019
11:30 PM
It's an issue that can occur no matter how you manage remote dependencies.
 
TIL in the US Tumblr has more active users than Reddit.
 
> The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
lol, so I don't even have to add licence if I distribute binaries
 
Uh, where do you get that from?
Oh.
I read that as "generator" for some reason.
 
user142019
@BartekBanachewicz So if you translate it to machine-executable object code yourself it doesn't apply? That's ridiculous!
 
@rightfold :P
 
11:36 PM
No, you just don't have to reproduce the licensing statement.
 
user142019
I<3ANAL FTFY
 
The licensing terms still apply.
 
anyway I feel kinda depressed
 
11:40 PM
Why so?
 
is that sublime text I see?
 
@ThePhD because GLDR kinda lost its purpose as a standalone library
 
Also anyone living in the US want me to Remote Desktop into their computer for a bit so I can place an order?
 
@ThePhD He just left a high pressure tank.
 
@BartekBanachewicz Er, what?
@StackedCrooked Zing!
 
11:41 PM
@StackedCrooked lol
 
@BartekBanachewicz Well that didn't last long.
Lounge: destroying projects since 2011.
 
@ThePhD @CatPlusPlus thing is I think I'd be much better of forking OGL+ and fixing its interface
 
It was fun while it lasted.
 
@CatPlusPlus no, it's not Lounge. I am just looking realistically at the amount of work that guy put into OGL+
 
My projects are still alive!!!
I haven't died yeeet!
 
11:42 PM
Mine are all dead (note I only had 1)
 
yeah sure they're living their pathetic life in closed cage
 
:lol:
 
Or it could be well cared for in its beautiful dome. <3
 
pfffff
wait, that was.... :laffo:
am I doing this right?
anyway, yeah, to get GLDR to something comparable it would take years. Of pretty much useless work, really.
 
I think so. But Cat is the expert.
 
11:44 PM
and I think that with my ideas for API OGL+ would be much much better
 
Would it really take years to wrap up Open GL?
 
he has been working on OGL+ for 5 years already
go figure.
 
Maybe it's a spare-time project.
 
and?
it's not like I am getting paid for GLDR either
 
Things always take more than you think.
 
11:46 PM
@CatPlusPlus that's why I don't think that GLDR continuing in its way makes sense
 
Though for OGL wrapper I'd say 2-3 months maybe.
 
well, it's much more than a wrapper, really
it has tons of utilities.
 
If it was 1:1 wrapper then it'd take a weekend.
 
Ell
How about er, game engine
 
1 min ago, by Cat Plus Plus
Things always take more than you think.
:)
 
11:47 PM
Well, you, I'm p good at estimating shit.
 
I doubt you would be able to write that in such a short time
 
@Ell Years.
@BartekBanachewicz Codegen.
 
@CatPlusPlus well 1:1 isn't really much more useful than raw C API
 
If it doesn't have void* pointers then it's already much better.
Also typed enums and stuff.
 
that's all fine
but as you said, context, and as I said, global state
 
11:49 PM
The state will be there, whether you want it or not.
 
these are the biggest problems that are actually hard in all this shit
@CatPlusPlus DSA
 
Are void pointers kind of C polymorphism?
 
@Pawnguy7 no, they simply suck
 
void pointers are just type erasure.
Complete type erasure.
 
I heard. I wasn't sure when you would actually want to use them though.
 
11:49 PM
When you want type erasure, duh.
 
When do you want type erasure?
 
lol
 
@CatPlusPlus anyway you can encapsulate and simulate it on systems that don't have DSA
void enableAttributeArray(unsigned index) {
#ifdef GLDR_HAS_DSA
    gl::EnableVertexArrayAttribEXT(id.get(), index);
#else
    auto scope = scopedBind();
    gl::EnableVertexAttribArray(index);
#endif
}
like that.
 
@Pawnguy7 Passing an argument when creating a thread.
 
11:51 PM
@Tuntuni That's a silly example.
 
@CatPlusPlus Silly stuff requires silly examples. :3
 
@Tuntuni more like saving arbitrary userdata using C only
 
You only use void* in C for that because the language is too primitive for anything better.
 
@BartekBanachewicz Sure. This was just an example. :P
 
@BartekBanachewicz I thought you could only find whether or not gl extensions were available at runtime
 
11:51 PM
@CatPlusPlus oww, snap. this.
 
@Tuntuni Why would you want that?
 
@DeadMG that's true, but it was easier to do like that for evaluation phase
 
@DeadMG that was what I was asking...
 
Ell
How about scene graph + mesh loaders + texture loaders
 
oh hi Ell
 
11:52 PM
What about that?
 
@Pawnguy7 Wrong reply.
 
Ell
I mean, what do you estimate for time scale
 
@DeadMG I don't, it was an example.
 
Ell
Hi bartek :)
 
@Ell too broad
@Ell have you seen what I wrote in the other room?
 
11:53 PM
@Tuntuni The question is, "When do you want type erasure", and you reply with a situation when you don't want type erasure?
 
I don't know, just bare loading and structures 2-3 weeks or so maybe.
 
Ell
I only just read thecoshmans message and now Im in bed again :S
 
@Tuntuni is this how it is in <thread>?
 
Depends on the scope of ~~loaders~~
 
ewwww loaders.
 
11:53 PM
@DeadMG Passing a void* when creating a thread isn't an example of type erasure?
 
Graph isn't a very difficult concept, though I bet you'll want to optimise shit.
 
@Pawnguy7 no, because this is C++
@Tuntuni not in C++. I mean that's the most retarded way of creating a thread
 
@BartekBanachewicz Well, it isn't templates, so what is it?
 
@Tuntuni No. The value is opaque, it's not type-erased. From the application's perspective, the type is not erased at all.
 
I thought we were talking about C.
 
11:54 PM
What?
 
@Pawnguy7 how it is not templates
@Tuntuni C doesn't even have fucking threads
 
Ell
Meh, I don't want optimise shit. Pretty much my only factor is ease of use for myself
 
@BartekBanachewicz C11 does.
 
@DeadMG Oh. What would be an example of type erasure then?
 
@DeadMG TIL
@Tuntuni Boost.TypeErasure :P
 
11:55 PM
@BartekBanachewicz T_T
 
or std::function simply
 
Oh, wait. We have, um.... typeof?
 
@BartekBanachewicz Ah, yes, you're right.
 
@BartekBanachewicz One of the reasons why C++11 and C11 don't get along too well is that their primitives differ subtly and can't really have a common implementation.
 
I knew about that one actually. :P
 
11:55 PM
@Ell Don't write an engine.
 
@Tuntuni It's mostly useful to implement things like std::function and std::shared_ptr.
 
Ell
Haha I'm not going to
 
@CatPlusPlus engine != private util base
 
It'll take shitload of time to get any results, and I really don't see how that's fun in any way.
"Util bases" don't get created in vacuum.
 
and very rarely, I use it for trees with dynamic node types, like ASTs.
 
11:57 PM
@CatPlusPlus each of us writes some games or shit
 
mostly shit
 
Use Unity.
 
we're not like the bunch of thephds wanking to closedsource ub code
 
Or UDK. Or whatever.
 
@CatPlusPlus fuck unity
I don't want to make games.
 
11:58 PM
Fuck C++.
:lol:
 
I'm for real.
I want to make renderers.
And actually C++ is plenty good for renderers, whether you like it or not.
 
Is it bad practice to name JPEG files as .jpg?
 
so that would be the thing that powers all that pwetty graphics behind unity or udk or anyshit
 
@Pawnguy7 And not as .jpeg you mean? IMO I don't see why it would be.
 

« first day (1014 days earlier)      last day (3933 days later) »