« first day (901 days earlier)      last day (4052 days later) » 

user1182183
12:00 AM
@Pawnguy7 no but the double-graphics card system is drivin' me crazy
 
@GamErix what is that?
 
user1182183
@Pawnguy7 you know that shit where you have a intel HD graphics for "power safe" mode and a super high tech GPU like a GT630M with 2igs of dedicated video ram
 
Ell
prolly dedicated & power saver
 
user1182183
my old game somehow plays at 25 FPS
 
user1182183
while it should play on 120?
 
user1182183
12:01 AM
and I checked "force nvidia gpu" option yet still lol -.-'
 
I don't know why people think they need more than 60 FPS.
 
user1182183
at lest all the new games work.. ;>
 
user1182183
well 60, ok, but 25, no..
 
user1182183
was just a coparision :P
 
user142019
I'm not going to lie to you: I frequently lie to you.
 
user142019
12:02 AM
LOL
 
user1182183
screen refresh rate isn't higher than 60 hz anyway
 
user1182183
WTF? Microsoft Visual Studio Location Simulation Sensor
 
Ell
I converted my std::vector<Shader*> to iterators and now it no workey :O
 
I have seen that before... @Zoidberg
 
user142019
"LOL"? Me too.
 
user142019
12:04 AM
LOL
 
user1182183
in device manager..
 
I think it was something like "I lie to you. I am telling you the truth." haha
 
Ell
It it = begin;
while(it != end) {
    glAttachShader(glHandle, it->GetHandle());
    it++;
}
 
user142019
Y U NO FOR LOOP.
 
Ell
I'm segfaulting somewhere. Could this be the cause? :3
but you're right. I will for :P
 
user142019
12:09 AM
std::for_each(begin, end, [&] (obj& x) { glAttachShader(glHandle, x.GetHandle()); });
 
user1182183
hm is there a directx 7 to dx9 wrapper ? XD
 
Ell
meh for_each looks icky!
 
user142019
for (auto& x : whatever) glAttachShader(glHandle, x.GetHandle());
 
user142019
If that would work. :v
 
Ell
I'm not sure if it would or not. I guess you could just pass the container
 
user142019
12:10 AM
for (auto& x : range(begin, end)) …; :D
 
In C++11, are arrays supported in foreach? (raw, not std::array)
 
user142019
Yes.
 
user142019
Because std::begin and std::end work on them.
 
user142019
I think first .begin() and .end() are tried, then ADL begin and end. But I'm not sure at all.
 
Ell
Aha I think the problem is destroying the vector of shaders
 
user142019
12:12 AM
Detach the shaders after linking.
 
user142019
glLinkProgram(glHandle);
foreach shader glDetachShader(glHandle, shader.GetHandle());
 
sup all
 
user142019
Nothing.
 
user142019
I'm doing boring homework and helping Ell.
 
Ell
@Zoidberg I am. But I've found the problem now
 
user142019
12:14 AM
Okido.
 
Ell
destroying std::vector<Shader>
I'm just trying to think why that would cause a segfault
 
WOW THIS CHAT ROOM LOOKS MUCH BETTER WITH 'HACKER' ON
except i cant see what i'm typing
 
user142019
@Ell when do you destroy it?
 
Ell
when it goes out of scope :3
 
user142019
What raises the segfault? The destruction itself?
 
Ell
12:15 AM
Yeah
 
asdfasdf
 
user142019
Hmm.
 
Ell
maybe I'm not setting the deleter properly o.O
 
user142019
Run GDB on it.
 
user142019
Compile with -g to add debugging symbols to the executable.
 
Ell
12:16 AM
I have done
ah so ugly. Line 55 is the last line of that function btw. I'll post now
 
user142019
> Jellyot::GlId<void (*)(unsigned int)>::~GlId (this=0x863620, __in_chrg=<optimised out>)
 
user142019
Are you debugging with optimizations turned on? :v
 
everyone see the news that Lucas Arts shut down?
 
user142019
Because that's an extremely bad idea.
 
user142019
@Crowz I don't even know what Lucas Arts is.
 
Ell
12:18 AM
I thought that I was at first, but I did "-O0"
 
@Zoidberg Star Wars
 
Ell
I never put optimizations on anyway so I don't know what's going on
 
user142019
@Crowz Oh. I don't really care.
 
Ell
^that is the init_draw_data
 
they had some awesome visual effects
 
12:19 AM
-2
Q: What kind of statement is this **a = 1 + 2;**?

user2142678What kind of statement is this a = 1 + 2; ? 1- Assignment statement. 2- Action statement. 3- Executes another program. 4- Declaration statement.

^^ lol
its an epic fail statement... — nathan hayfield 15 secs ago
 
user142019
@Ell do you set the handle to zero in the destructor of your OpenGL object RAII class?
 
Ell
Yeah. But I'll double check
 
Jellytots?
 
wow... -7 in real time...
 
@Mysticial wow that's almost as bad as the questions I ask!
 
12:20 AM
@Mysticial 3 closevotes too :D
 
Ell
We're about to SIGSIEV!!!! BAIL BAIL!!
What... we made it?
We're about to SIGSIEV!!!! BAIL BAIL!!
// Hmm. It seems the first shader manages to be destructed but the second doesn't
 
@Doorknob Err.. more now. I tried but too late.
 
lol
 
Ell
wtf. having only one shader in the vector seems to stop the crashing. This sounds like UB or something :P
 
user142019
@Mysticial closed, now delete.
 
12:23 AM
Presented in front of 100 ppl and a ubisoft jury
 
user142019
And ban. And contact teacher.
 
Ell
Because the only moving that is happening is .emplace
 
@Zoidberg We're supposed to wait a few days if it's not spam.
 
user142019
Oh I see.
 
user142019
I will have 20k soon.
 
12:24 AM
me want 10k :P
 
@Ell emplace is a move?
 
user142019
@Ell Uh, you have a fucking segfault. Of course it's UB.
 
78
Q: How can we stop premature deletion?

Shog9 Update: discussion on specific changes to how deletion works is here: Turbocharging the Roomba: solutions for premature deletion This needs to stop: http://stackoverflow.com/posts/15348333/revisions It doesn't help to improve close descriptions or encourage fixing and reopening if clos...

 
user142019
Unless you're silly and sending SIGSEGV. :v
 
@Mysticial I don't care that question needs to be deleted
 
Ell
12:24 AM
Oh yeah of course :L
@MartinJames I thought it was? o.O
 
user142019
:L :O :L
 
@Doorknob lol, and that's exactly why they made that meta post...
 
Premature deletion? Is there not some treatment for it?
 
@Mysticial ...oh yeah. :P
 
The problem is that 20k can delete immediately. But if you delete immediately, the OP never sees what happened the question or why it got delete - hence no chance to improve.
 
Ell
12:28 AM
Hmm. It can never delete the second one. Is it possible that deleting the GlId is deleting the deleter inside of it? o.O
can you even delete a function pointer? o.O
 
user142019
@Ell are you sure you are doing glDetachShader and not glDeleteShader in the ctor of Program?
 
@Mysticial But the OP will never improve that questioN!
 
user142019
@Ell no that's UB.
 
So basically it's coming down to two possible approaches:
1. Allow OPs to see the question after deletion.
2. Remove or limit the 20k insta-delete power.
 
@MartinJames emplace is basically "move if possible, but otherwise copy".
 
Ell
12:28 AM
@Zoidberg 100% sure
 
user142019
You can use delete pointers to objects. Functions are not objects.
 
@Doorknob Don't tell me. I can't do anything. Post your answer on that meta question.
 
@Mysticial Of course, option 1 has been shot down for no good reason. :(
 
user142019
@Ell put breakpoint on glDeleteShader to see when it's called with which arguments.
 
user142019
Not to mention that functions have no destructors, so delete won't even compile.
 
12:30 AM
Really, I think each and every top 10 [status-declined] Q should be done anyway :(
 
@JerryCoffin OK, thanks! My recent C++ knowledge is sadly lacking :((
 
Ell
Right okay I have. And I'm currently stopped at the breakpoint
now to remember how lookup values for shiz
 
user142019
@Ell info, IIRC.
 
@MartinJames Mine too, but I'm slowly working at picking up at least a few bits and pieces.
 
12:31 AM
> Star Wars 1313
err... what?
 
@Borgleader What? It's not like they made any good game recently.
 
Star Wars 1313 looked promising at least
I mean there was a lot of hype around it
and the next gen console are just around the corner why not release it and at least get some return on your investment?
 
what is that even?
1313? some random number?
 
The game takes place on floor/level #1313 of coruscant
 
RFC1313?
 
12:33 AM
hm
 
user142019
@MartinJames heh a 1 April joke.
 
user142019
      Today's Programming for KRFC AM 1313
              Internet Talk Radio
 
Ell
print this.glHandle is 0 for the first time, 1 for the second. That means I'm not debugging properly
I think
 
lol @ std::join proposal
 
@Zoidberg Yeah - I just googled it, but still don't get it, probably 'cos 7 pints of Old Hookey tonite :)
BTW, have I helped @Ell at all? If so, where's my pint?
 
user142019
12:37 AM
0
Q: is there touring machine generator that can generate the code for a touring machine from Java or C#

James AdamsI was wondering if anyone knows of a touring machine generator. Something where i can write a small and simple program in C# or Java and it will show me the equivalent of my code as a touring machine with the states and state transition conditions? thanks in advanced!

 
user142019
> touring machine
 
Ell
@MartinJames You'll get it eventually, when I have a job and can afford it ;)
and also. It turns out 0 and 1 are the right values for glHandle each time. But that really doesn't seem right
 
@Zoid I think I'll buy one of those, move to Hawaii, and get a job
 
user142019
lol
 
user142019
Also, close as off-topic please.
 
12:40 AM
LOL - I suggest A. M. Vanquish.
 
I closed as NARQ
 
I NARQed it too
hm, is NARQ a verb? It should be.
 
It is if you believe in yourself.
 
:P
 
Hmm.. "Such a stupid question , I narqed him out-of-hand". Sounds OK to me.
 
12:41 AM
Lol
@Zoid Y U NO also edit "thanks" out
:P
 
user142019
Because I never care about that.
 
Add to Funk and Wagnalls.
 
that always annoys me
 
Guyz
 
hai
 
12:45 AM
Hiiiyo.
How're you?
 
The doc has woken up.
 
Ell
Okay. It turns out it only crashes if the shaders are in a vector
 
@ThePhD I feel like a lively doorknob! I am ready to be turned and I shall open the door to THE LAND OF TH- errr I mean I'm good, how are you?
 
..and you can carry on throughout the night, (my night - shagged now, sleep). Bye al!
 
user142019
-2
Q: Better REPL than IDLE for Python?

at.My son is learning python 3.3 with IDLE. But IDLE sucks... Is there anything better? I'm used to Ruby REPLs like irb and pry.

 
user142019
12:46 AM
Another bad question that is not constructive and unclear.
 
Ell
gah wtf! This maketh no sense!
 
@Doorknob You can turn for me anyti- Oh, I'm fine.
 
Lol
@Zoid what in the...?
 
Question, to anyone who's worked with animation and skeletal animation before.
Do you store keyframe time values as doubles or as floats ?
 
@ThePhD I don't work with that, but I would think floats. The extra precision isn't really necessary if you're working with time.
what? That REPL question got a +1. :/
I just wrote b._x>c._x&&b._x<c._x+50&&b._y>c._y&&b._y<c._y+50. Why did I do this. Why didn't I use whitespace. I don't understand myself at times
 
12:57 AM
AAGH MY EYES WHAT IS THAT
 
I did it all buster.
I did it all.
 
@ThePhD Lol XD
 
user142019
@Doorknob because you're an idiot?
 
user142019
:>
 
@Zoid good point
 
12:58 AM
Please always insert spaces inside your () and around your || && ^ + - / * = , plx.
 
@Zoid I always forget :P
 
user142019
Also, Python and CoffeeScript for the win.
 
user142019
c._x + 50 >= b._x > c._x and c._y + 50 >= b._y > c._y
 
@Zoid argh :P
@ThePhD that's what I usually do, I really don't understand myself at the moment XD
 

« first day (901 days earlier)      last day (4052 days later) »