code logs -> 2009 -> Mon, 11 May 2009< code.20090510.log - code.20090512.log >
--- Log opened Mon May 11 00:00:54 2009
00:04
<@Derakon>
From discussion on TASing Castlevania: Portrait of Ruin: "If you write 0xFF into every byte then every skill will be level 8192. Good enough."
00:18 * Derakon eyes the Fix Your Timestep article.
00:19
<@Derakon>
He's passing a pointless argument to the physics update function (pointless =~ invariant)
00:20 AnnoDomini [~farkoff@Nightstar-29616.neoplus.adsl.tpnet.pl] has quit [Quit: There will come a time when diplomacy and tact will prove to be useless and your hand must be raised instead. This challenge prepares you to face another human, look him in the eyes, and know you may have to kill him.]
00:38 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
00:40
<@Derakon>
Hrm...it seems wasteful somehow to have all these entries in my animation configuration that read like this:
00:40
<@Derakon>
'updateFunc' : lambda player : return .25,
00:40
<@Derakon>
In other words, creating functions that return constants.
00:41
<@Derakon>
I have these because I need to have functions that can do more complicated things -- specifically, the running animation for the player needs to advance more quickly as the player speeds up.
00:41
<@Derakon>
Duh, just have two presentation modes, one which uses constants and the other which uses lambdas.
01:07
<@Derakon>
Ahh, now that's pretty.
01:07
<@Derakon>
I get equally smooth results when I'm doing 10 physics updates per second as when I'm doing 100. :)
03:18 Reiv [~82d94c4d@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #Code
03:18 * Reiv drowns in syntax.
03:57 * Vornicus-Latens examines workflow. Decides starting at the beginning is a good idea.
04:03 Reiv [~82d94c4d@Nightstar-29731.dsl.in-addr.zen.co.uk] has quit [Quit: CGI:IRC (EOF)]
04:24 * Derakon eyes this error.
04:24
<@Derakon>
"unbound method getDrawLoc() must be called with Camera instance as first argument (got float instance instead)"
04:24
<@Derakon>
That's calling camera.getDrawLoc(progress) (where progress is a double)
04:24
<@Derakon>
And the signature for getDrawLoc is "def getDrawLoc(self, progress):"
04:25
<@Derakon>
Printing out the value of camera beforehand gives "camera.Camera".
04:26
<@Derakon>
...ohh, when I created the camera variable, I did "cam = camera.Camera" instead of "cam = camera.Camera()". D'oh.
04:56 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
04:57 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
04:58 Syloqs_AFH is now known as Syloqs-AFH
05:04
<@Derakon>
Demonstration of the climbing animation in action, in pretty much the only setup that isn't buggy ATM: http://derakon.dyndns.org/~chriswei/games/jbrl/collision/player11.gif
05:04 mode/#code [-n] by Derakon
05:04 mode/#code [+n] by ChanServ
05:04
<@Derakon>
...whoops.
05:04
<@Derakon>
"/deop #code Derakon" does not do what I wanted it to do.
05:04 mode/#code [-o Derakon] by ChanServ
05:05 mode/#code [+o Derakon] by ChanServ
05:05
<@Derakon>
Demonstration of the climbing animation in action, in pretty much the only setup that isn't buggy ATM: http://derakon.dyndns.org/~chriswei/games/jbrl/collision/player11.gif
05:48 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
05:49 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
05:50 Syloqs_AFH is now known as Syloqs-AFH
06:02 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
07:28 AnnoDomini [~farkoff@Nightstar-29616.neoplus.adsl.tpnet.pl] has joined #Code
07:28 mode/#code [+o AnnoDomini] by ChanServ
07:45 Derakon is now known as Derakon[AFK]
08:43 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
09:16 You're now known as TheWatcher
09:39 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
09:39 mode/#code [+o gnolam] by ChanServ
12:14 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
12:14 mode/#code [+o Attilla] by ChanServ
12:28 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
12:28 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
12:29 mode/#code [+o Attilla] by ChanServ
12:32 Netsplit DeepThought.NY.US.Nightstar.Net <-> Blargh.CA.US.Nightstar.Net quits: @GeekSoldier
12:36 mode/#code [+o GeekSoldier] by ChanServ
12:36 Netsplit over, joins: GeekSoldier
12:49 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
13:02 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
13:02 mode/#code [+o Attilla] by ChanServ
13:05 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
13:07 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
13:07 mode/#code [+o GeekSoldier] by ChanServ
13:13 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
13:32 * gnolam starts grinding his teeth.
13:33
<@gnolam>
float d1 = sqrt (pow(x-floor(x),2) + pow(z-floor(z),2))
13:33
<@gnolam>
There's no end to this guy's WTFs!
13:36
<@gnolam>
// set the clip distance (polygons further away will not be drawn);
13:36
<@gnolam>
glUniform1fARB (glGetUniformLocationARB(shaderProgram, "max_distance"), H_CLIP_DISTANCE);
13:36
<@gnolam>
ARRRRRRRRRRRGHHHHHHHHHHHHHH
14:12 AnnoDomini [~farkoff@Nightstar-29616.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
14:17 AnnoDomini [~farkoff@Nightstar-29015.neoplus.adsl.tpnet.pl] has joined #Code
14:17 mode/#code [+o AnnoDomini] by ChanServ
14:34 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
14:35 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
14:35 mode/#code [+o Attilla] by ChanServ
14:58 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
14:58 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
14:58 mode/#code [+o Attilla] by ChanServ
15:00 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
15:01 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
15:01 mode/#code [+o Attilla] by ChanServ
15:05 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
15:05 Attilla_ [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
15:40 Attilla_ [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
15:40 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
15:40 mode/#code [+o Attilla] by ChanServ
15:50
<@MyCatVerbs>
Re: C, switch(){}.
15:50
<@MyCatVerbs>
Never, ever forget break;
15:50 * MyCatVerbs headdesks like a n00b.
15:51 * TheWatcher patpats
15:58 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
15:58 Attilla_ [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
16:02 Attilla_ [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
16:05 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:05 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
16:05 mode/#code [+o Attilla] by ChanServ
16:06 Syloqs_AFH is now known as Syloqs-AFH
16:06 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
16:07 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
16:07 mode/#code [+o Attilla] by ChanServ
--- Log closed Mon May 11 16:21:06 2009
--- Log opened Mon May 11 16:21:11 2009
16:21 TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
16:21 Irssi: #code: Total of 22 nicks [13 ops, 0 halfops, 1 voices, 8 normal]
16:21 mode/#code [+o TheWatcher] by ChanServ
16:22 Irssi: Join to #code was synced in 52 secs
16:32 Doctor_Nick [~nick@Nightstar-7517.tampfl.dsl-w.verizon.net] has quit [Quit: leaving]
17:13 Derakon[AFK] is now known as Derakon
17:54 Alek [~omegaboot@Nightstar-61.dsl.emhril.sbcglobal.net] has quit [Connection reset by peer]
18:02 Alek [~omegaboot@Nightstar-61.dsl.emhril.sbcglobal.net] has joined #code
18:29 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
18:31 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
18:31 mode/#code [+o Attilla] by ChanServ
19:26 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
19:26 You're now known as TheWatcher[afk]
19:27 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
19:27 mode/#code [+o Attilla] by ChanServ
20:28 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
20:29 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
20:29 mode/#code [+o Attilla] by ChanServ
20:31 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
20:32 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
20:32 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
20:32 mode/#code [+o Attilla] by ChanServ
20:35 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
20:39 Alek [~omegaboot@Nightstar-61.dsl.emhril.sbcglobal.net] has quit [Ping Timeout]
20:45 Alek [~omegaboot@Nightstar-61.dsl.emhril.sbcglobal.net] has joined #code
20:59 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
21:20 You're now known as TheWatcher
21:47
<@Derakon>
Mental note: if you want to check if the player has moved, look for translation greater than epsilon, not less.
21:47 Chi [~omegaboot@Nightstar-61.dsl.emhril.sbcglobal.net] has joined #code
21:49 Alek [~omegaboot@Nightstar-61.dsl.emhril.sbcglobal.net] has quit [Ping Timeout]
21:50 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
21:53 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
21:53 mode/#code [+o Attilla] by ChanServ
21:54 Doctor_Nick [~nick@Nightstar-7517.tampfl.dsl-w.verizon.net] has joined #code
21:54 mode/#code [+o Doctor_Nick] by ChanServ
22:55 You're now known as TheWatcher[T-2]
23:02 You're now known as TheWatcher[zZzZ]
23:22
<@Consul>
Apparently, Oakland U has a policy that students can't declare a minor in a field that is under the same department as their major. Is this normal?
23:23
< simontwo>
it works like that in practice here, too.
23:24
<@Consul>
Well, comp-sci and engineering (which includes my desired major, engineering physics) are the same department.
23:24
<@Consul>
But, it might be that I can get my comp-sci minor if I go for straight physics instead.
23:24
<@Consul>
I'll call about that tomorrow.
23:24
<@Derakon>
Or you might be able to argue that CS and engineering physics actually don't have much to do with each other.
23:25
<@Consul>
I tried, it's the same department, ergo, it's policy.
23:25
<@Derakon>
And that's the final word, huh?
23:25
<@Consul>
I pressed for a reason, but of course, she couldn't think of one.
23:25 * Derakon facepalms.
23:26
<@Consul>
I really didn't want my snarky, rebellious self to come out before I've even started.
23:26
<@Consul>
But this smells like one of those age-old "traditional reasons" that nobody can remember the original purpose of, but the idea continues to perpetuate.
23:28
<@Consul>
But, I've been vacillating between physics and engineering physics anyway. But if going for physics means I can have my desired minor, I'll probably go for it.
23:28
<@Consul>
She did say that I could opt to take a few classes in CS.
23:28
<@Consul>
But I can't declare it as a minor.
23:30 C_tiger [~cheng@Nightstar-5625.hsd1.ca.comcast.net] has quit [Ping Timeout]
23:30
<@Derakon>
Getting credit for the minor is not minor.
23:31 C_tiger [~cheng@Nightstar-5625.hsd1.ca.comcast.net] has joined #code
23:31 mode/#code [+o C_tiger] by ChanServ
23:31
<@Consul>
Well, that's what advisors are supposed to be for.
23:32
<@Consul>
"I want my comp-sci minor. How do I make sure that happens?" If I can't get a straight answer...
23:36
<@Consul>
But I'm probably expecting too much, right?
23:37 * Derakon shrugs. "Depends on the advisor and the administration."
23:55
<@Consul>
I've found I can get pretty far just being a cynical bastard.
--- Log closed Tue May 12 00:00:10 2009
code logs -> 2009 -> Mon, 11 May 2009< code.20090510.log - code.20090512.log >