« first day (1011 days earlier)      last day (3940 days later) » 

11:00 PM
but this can't possibly not work :/
 
What's line 106?
 
recursiveIterate(addVertex, scene->mRootNode, scene.get());
it's traversing the assimp model hierarchy and adds vertices to VBO
 
Impass
p scene
 
pretty nice tuple implementation of unique_ptr
looks like a null pointer allright
but fuck me if I know why
 
You probably didn't configure stdlib printers.
(That's not about nullptr, that's about printing tuple thing)
 
11:05 PM
I figured.
 
Trace the variable.
 
Also it's weird, because I've commented part of the code, and from VS it doesn't crash.
(I mean the ICC build)
 
UB probably.
 
yeah.
well I didn't expect it to work OOTB
it's a refactored setup with an experimental library
 
Look for premature deletes.
 
11:07 PM
s/an experimental library/OpenGL/ trololol
 
@CatPlusPlus Well, I am not doing any deletes by hand. I think I've narrowed down the exact crash place though
urgh
how the fuck sizeof(glm::vec3) == 4
 
Ell
o.O
 
lol that cant be right
 
A pointer.
Probably uses dynamic storage to ensure proper alignment at all times.
When you're on stack you need to propagate alignment manually, see e.g. what Eigen's statically-sized types require.
You wanted low-level, you have low-level.
 
@CatPlusPlus that fucks up my template method then.
1
A: C++: OpenGL, glm and struct padding

Nicol BolasDefine "safe". C++ gives implementations wide latitude to pad structures as they see fit. So as far as ISO C++ is concerned, whether this "works" is implementation-dependent behavior. It will work in general across a number of compilers for desktop platforms. I can't speak for ARM CPUs, but gen...

static_assert(sizeof(glm::vec3) == sizeof(GLfloat) * 3, "Platform doesn't support this directly.");
@CatPlusPlus also wouldn't that break on my is_pod?
 
11:15 PM
vOv
 
yeah, well, debugger shows invalid value there.
I've added auto s = sizeof(T) and it shows it as 12
you can now use that example every time I will preach about VS debugger
ugh found it
I'm so retarded
 
@BartekBanachewicz Don't ever trust the debugger for stuff that involves generic parameters.
 
@R.MartinhoFernandes lesson learned
 
holy fucking shit, I am so sick.
 
Fucking enemies got stuck in the void and now I can't proceed.
 
11:22 PM
THE BLOOM
 
yeah, just wanted to say it's a bloom
 
@R.MartinhoFernandes made by Bethesda?
 
Gearbox
 
@R.MartinhoFernandes none of those icons are familiar to me, what game is that?
 
Borderlands 2.
 
11:24 PM
teehee bloom
damn, this is old.
and GetSingleton :D :D :D
 
I remember freaking out about bloom in HL2
 
@R.MartinhoFernandes I think the most memorable quest in Elder Scrolls Obvlion was where you had to go into a cave and kill all 6 zombies, but when you enter the cave the zombie right in front of the door falls through the floor and so you can't kill him and keep failing the quest.
 
Well, here I can just get out and start the quest over.
But it's a fucking tough one and I was half-way through the last round.
 
@R.MartinhoFernandes same with oblivion. just keep exiting and entering the cave until the zombie doesn't glitch
 
@MooingDuck the worst part is that Oblivion actually uses Havok
they had best tools available and somehow made it suck extremely terribly
Havok should forbid them from putting their logo on it :F
 
11:27 PM
and lose a big ass customer?
 
SHIT!! A massive triangular moth just invaded my office. I'm going to open the windows, (the glass ones), and run away to our bedroom. I hope the thing is gone by morning.
3
 
Also, Salt Meat is best class.
 
Ell
@MartinJames I hate moths!
They are furry nightmare butterflies.
 
@BartekBanachewicz Well nuclear weapons work well against tanks.
 
@CatPlusPlus I'd rather nuke those singletons
 
11:44 PM
1
A: How to parse text for a DSL at compile time?

cv_and_heDisclaimer: I know nothing about metaparse, and very little about proto. The following code is my attempt (mostly via trial and error) to modify this example to do something similar to what you want. The code can be easily divided in several parts: 1. The grammar 1.1 Token definitions type...

^ this answer can you a few (dozen) upvotes :/
 
ok, and now seriously
> That was clearly out of my league for a first encounter.
Well brainfuck machine in Terra is a "helloworld" example :) @sehe
 
@BartekBanachewicz /care (and in soooo...). Anyways, this is real, running, can-haz-today c++ code.
 
The important thing is that I can afford Azure. :toot:
 
@sehe the important question is: why
 
That's not important at all
 
11:47 PM
that's like making computers in minecraft, really
I mean, it's amazing :)
3 mins ago, by Bartek Banachewicz
ok, and now seriously
what I wanted to say is that AMD sucks as fuck
and a few yeard old gDebugger they bought works much better than their CodeXL crap
CodeXL can spend a few seconds opening a shader :/
it's just painful.
and no shader editing.
 
@BartekBanachewicz :)
 
@sehe That article in the comment gives me an error.
 
@Rapptz tweet/ping/email Dave Abrahams. His blog is probably under maintenace, though. I saw it the other day. Link is right
 
@BartekBanachewicz You're saying your employer's competitor sucks? How surprising.
 
I'm shocked. Shocked.
 
11:51 PM
@EtiennedeMartel But not because Carmack said so. At least, not 13 years ago
 
@EtiennedeMartel precisely, they fucked the tool they've bought
It was a good debugger.
And they did everything they could to make it useless.
 
Is it me, or is everyone taking turns to shit on Bartek today?
 
Not on purpose, at least.
 
Time to order pizza
 
11:52 PM
@CatPlusPlus You order pizza at 2am?
 
Sure.
 
@EtiennedeMartel I ignored him earlier and today they seemed to be replying to him a lot. Makes me feel like I'm missing out on something.
 
It's a glorious new age.
Don't ignore Braket, that's mean
 
hmm, my wife likes to travel to other countries, and mine is going bankrupt. Should I move to the UK?
 
why did the standard decide to name is_sorted_until.. is_sorted_until? it should follow the find_* related functions. these sort of things keep me up at night
 
11:54 PM
You need to get out more.
 
@refp what else would it be named?
 
@EtiennedeMartel Aren't we just a nice bunch of people :P
 
@Borgleader We are terribly unkind to fanboys.
 
MSVC is ignoring my code and I don't know why. I added code and step through and it just skips over my additions :(
 
@EtiennedeMartel Fanboys don't deserve kindness
 
11:55 PM
@MooingDuck Maybe you're editing wrong files again.
@EtiennedeMartel Says MLP fanboy.
 
@CatPlusPlus breakpoints are working, it has to be the right file... right?
 
@MooingDuck is_sorted_until implies that it is used to check if the range is indeed sorted up until this point (ie. the name kinda suggest that it's the same as is_sorted). I can't find a good name off the top of my head.. but is_sorted_until sure doesn't sound right to me
 
Also, I'm pretty sure I've finally gotten rid of all the duplicate files
 
@MooingDuck how is that necessary. It'll just appear to break on line X, when it really at line Y of another version/copy
 
Do a clean rebuild.
 
11:56 PM
@CatPlusPlus I am open to criticism about MLP.
I do not see it as an extension of myself.
 
That's a silly thing to do in general.
 
Just, as your true identity, then
 
@sehe dang it
 
@MooingDuck find_sorted_range, even though that implies that it could be used to find a sorted subset of the range (not neccessarily starting at the first element)
 
@refp oh wait, now that I look at the function, you're 100% right. That's wierd
 
11:58 PM
find_sorted_end could be a good name
 
find_new_language
 
if it begins with is_ I expect the return to be a bool, not an iterator
 
@MooingDuck it's the same with is_heap_until
@MooingDuck mhm, exactly
 
Ell
MLP makes you look like a pedophile. Do you think that is a reasonable criticism?
 
@Ell pointers make you look like a pedophile.. playing around with short sticks hoping that it won't end bad, but it certainly will.
 

« first day (1011 days earlier)      last day (3940 days later) »