code logs -> 2010 -> Tue, 04 May 2010< code.20100503.log - code.20100505.log >
--- Log opened Tue May 04 00:00:22 2010
00:01 Alek [omegaboot@Nightstar-c5f3565b.il.comcast.net] has quit [[NS] Quit: beroot...]
00:01 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
00:02 Alek [omegaboot@Nightstar-c5f3565b.il.comcast.net] has joined #code
00:07 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
00:11 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
00:15 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
00:19 You're now known as TheWatcher[T-2]
00:20 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
00:23 You're now known as TheWatcher[zZzZ]
00:24 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
00:28 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
00:32 Reiv[Graduate] [orthianz@Nightstar-44cf0d6f.xnet.co.nz] has quit [Ping timeout: 121 seconds]
00:32 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
00:36 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
00:43 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
00:47 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
00:51 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
00:55 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
01:00 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
01:04 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
01:08 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
01:12 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
01:22 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
01:23 Derakon[AFK] is now known as Derakon
01:26 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
01:30 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
01:35 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
01:35 * ToxicFrog eyes Tarinaky
01:35 * ToxicFrog eyes Taki^, rather
01:36
< Tarinaky>
Aww, I was hoping you were checking me out :p
01:40 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
01:41 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
01:45 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
01:53 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
01:57 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
01:58 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
02:00
<@Namegduf>
Hmm.
02:01
<@Namegduf>
I think I just came to the conclusion that the problem with Java is that the ability to guaranteeably swap out implementations transparently, rather than only sometimes be able to do so, of very small chunks of the program, is not actually a very useful ability.
02:02 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has quit [Ping timeout: 121 seconds]
02:02
<@Namegduf>
As opposed to the holy grail of perfect code.
02:06 Taki^ [jwjw@Nightstar-9b459f81.consolidated.net] has joined #code
02:06
<@ToxicFrog>
I thought the problem with Java is that for any given class it has 20 poorly documented, subtly different classes.
02:07
<@ToxicFrog>
Well, that plus the type system.
02:07
<@ToxicFrog>
Er.
02:07
<@ToxicFrog>
For any given task.
02:08
<@Namegduf>
That too.
02:13 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:15
<@Namegduf>
The type system isn't really so bad, it's the type system plus heavy use of the decorator pattern.
02:15
<@Namegduf>
So everything is a type in a type in a type and argh.
02:15
<@Namegduf>
And of overuse of abstractions leading to extra conversions on its own, too.
02:51
<@ToxicFrog>
I mean more "the type system mixes primitives and complete classes freely and doesn't reliably coerce"
03:13 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
03:52 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
04:07
<@McMartin>
Nah, because that's no worse than everything that came before it.
04:07
<@McMartin>
All counterexamples are secretly "there is no such thing as a primitive that's exposed to the programmer at all, lolz"
04:10 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [[NS] Quit: Leaving]
04:13 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Connection reset by peer]
04:21 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
04:25 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Client closed the connection]
04:27 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
04:32 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
04:35 * Alek shudders.
04:35
< Alek>
http://www.bezbrige.com/images/stories/galerija/09/rusija/only_in_russia_21.jpg
04:36
< Tarinaky>
Alek: Looks like me and my friend's flat.
04:49 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Client closed the connection]
04:56 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
05:27 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Client closed the connection]
05:35 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
05:40 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
05:43 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Client closed the connection]
05:50 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
05:59 cpux is now known as shade_of_cpux
06:02 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Client closed the connection]
06:07
< Rhamphoryncus>
Ugh. It's not a good sign when the editor you're trying out use option files, and buried inside one is an explanation of how to enable gtk1 non-antialiased fonts to boost rendering speed
06:09 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
06:20
< Rhamphoryncus>
medit is better..
06:20
< Rhamphoryncus>
You can configure it for backspace unindents and for showing garbage whitespace
06:21
< Rhamphoryncus>
(I have a lot of garbage thanks to anjuta)
06:21 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Client closed the connection]
06:23
< Rhamphoryncus>
Also lets me select vim's classic syntax highlighting mode, which is nice
06:26 Derakon is now known as Derakon[AFK]
06:29 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has joined #code
06:30
< Rhamphoryncus>
Hey, block commenting/uncommenting. Sweet.
06:33
< Rhamphoryncus>
wee, output window that lets me click on tracebacks to get to source
06:33
< Rhamphoryncus>
I've been deprived for so long x_x
06:36 AnnoDomini [annodomini@Nightstar-c4f20528.adsl.tpnet.pl] has joined #code
06:36 mode/#code [+o AnnoDomini] by Reiver
06:48
< Rhamphoryncus>
Heh Anjuta can search through documentation, such as the Python 2.6 docs.. unfortunately it's only the C API of Python 2.6 ;)
07:10 You're now known as TheWatcher
07:29
< Tarinaky>
Gah. I remember I had an awesome website a few weeks ago but can't remember the URI q.q
07:29
< Tarinaky>
Damnit. It had tons of algorithms on it.
07:29
< Tarinaky>
I thought I'd bookmarked it to :/
07:45
< Tarinaky>
Ahah! Found it.
07:45
< Tarinaky>
Not as useful as I remember it being now I flick through it :/
07:45
< Tarinaky>
Oh well.
08:02 jerith [jerith@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
08:02 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
08:02 mode/#code [+o jerith] by Reiver
08:03
< Rhamphoryncus>
doh, always something stupid. Switching tabs is done with alt-left and alt-right rather than ctrl-pageup and ctrl-pagedown
08:11 You're now known as TheWatcher[afk]
08:28 Vornicus is now known as Vornicus-Latens
09:09 Zed_ [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code
09:12 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has quit [Ping timeout: 121 seconds]
09:30 Reiv[Graduate] [orthianz@Nightstar-fd1d22c2.xnet.co.nz] has quit [Ping timeout: 121 seconds]
10:08 You're now known as TheWatcher
10:32
< Tarinaky>
Any recommendations on books I should try to find in my University library to help with computer game project?
10:33
< Tarinaky>
I was going to try and get the second vol. of The Art of Programming since I know there're some PRNG algorithms in there.
10:34
< Tarinaky>
For context it's a 2D TBS/RPG hybrid.
10:35
< Tarinaky>
Something that helps with my (lack of) knowledge of Game AI would be grand even though the other guy says he's got it covered.
10:51
<@TheWatcher>
If they have the Game PRogramming Gems books, they're definitely worth a look
10:52
<@TheWatcher>
There's a lot in there that won't apply directly, but there's a lot of Food for Thought, and usefull stuff to know
10:53
< Tarinaky>
They do not.
10:53
< Tarinaky>
I already checked.
10:54
< Tarinaky>
I don't believe they have anything directly relating to Game Programming - at least in the title.
10:54
< Tarinaky>
But... well... programming is programming :p
10:55
< Tarinaky>
I take that back. They have "Killer game programming in Java" and "XNA 3.0 game programming recipes : a problem-solving approach"
10:55
<@TheWatcher>
... uh-huh
10:56
< Tarinaky>
Neither of which seem applicable to my needs. (C++)
10:58
< Tarinaky>
But yeah. Art of Programming 1 is just data structures right?
10:58
<@TheWatcher>
And, honestly, programming may be programming, but game programming often involves techniques and concepts you don't find in most other areas
10:58
< Tarinaky>
Oh I agree. But they still crop up in other areas.
10:59
< Tarinaky>
Plus I need some reading material for the summer break anyway >.>
11:00
<@TheWatcher>
absorbing things like the effective C++ books will help you, as will absorbing books on efficient AI programming, but you're likely to not run into a lot of stuff
11:02
< Tarinaky>
Well, they have a ton of copies of effective C++. The downside is they're in the Orange Zone.
11:02
< Tarinaky>
Which is above my security clearance... >.>
11:03
<@TheWatcher>
... wut
11:04
< Tarinaky>
The Orange Zone is for Staff and Postgrads iirc.
11:06
<@TheWatcher>
Huh. I knew Leicester were a bit odd, but sheesh
11:07
<@TheWatcher>
(although, getting your own copy would be a Good Thing anyway, if you can afford it)
11:07
< Tarinaky>
I don't think I'm not allowed to take it out on loan...
11:07
< Tarinaky>
But I certainly can't just walk in and get it.
11:08 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited]
11:12 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has joined #code
11:20
< Tarinaky>
I need to heard off for a lecture now. Later.
13:00 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:07 Orth [orthianz@Nightstar-4540154d.xnet.co.nz] has joined #code
13:07 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has quit [Ping timeout: 122 seconds]
13:45 * gnolam idly wonders if he can get away with a nearly screen buffer-sized cube map.
14:05
< Tarinaky>
Back!
14:05
< Tarinaky>
I was wrong. The Orange zone -wasn't- above my security clearance.
14:06
< Tarinaky>
Turns out I'm an Orange Citizen!
14:06 * Tarinaky changes jumpsuit.
14:06 Orth [orthianz@Nightstar-4540154d.xnet.co.nz] has quit [Client closed the connection]
14:09
<@TheWatcher>
So you have sucessfully negotiated the Enrichment Centre? ¬¬
14:14 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has joined #code
14:14 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has quit [Client closed the connection]
14:16
<@Vornicus-Latens>
gnolam: 2 megacubes mibght be possible, but if you're looking to have it have any depth, it gets ridiculous quickly.
14:22 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has joined #code
14:23
< Tarinaky>
I picked up Effective C++ and Art of Programming 2.
14:23
<@TheWatcher>
\o/
14:26
< gnolam>
Vornicus: depth?
14:29
<@Vornicus-Latens>
Three dimensions, right?
14:31
<@Vornicus-Latens>
your cube map, being the size of the screen, probably has 2 megacubes just from the length and width of the screen. Adding the third dimension makes it worse - a depth of 128 cubes gives 1/4 GB for each byte in your per-cube data.
14:40 You're now known as TheWatcher[afk]
14:52 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
14:58
< gnolam>
Err. Cube map. Not voxels.
15:00
<@Vornicus-Latens>
...not sure of the distinction here?
15:02
< gnolam>
A cube map is a special form of 3D texture, a w x h x 6 texture.
15:02
< gnolam>
Used mostly to simulate reflections.
15:03 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has quit [Ping timeout: 121 seconds]
15:03
<@Vornicus-Latens>
why 6?
15:03 Vornicus-Latens is now known as Vornicus
15:03
< gnolam>
You render from the reflecting object's POV in each of the 6 cardinal directions, corresponding to the cube map's faces.
15:05
<@Vornicus>
aha
15:05
<@Vornicus>
oh, oh, oh, one of those, okay.
15:05
<@Vornicus>
it's a map on a cube. not a map in a cube.
15:06
< gnolam>
So when you render your object in the actual scene, you can then calculate a per-fragment reflection vector and use that as a texture coordinate into the cube map (with some hardware magic that translate's the 3D vector to a 2D coordinate on the proper face).
15:06
< gnolam>
Yes.
15:06
< gnolam>
-'
15:07
< gnolam>
Since you're re-rendering the scene 6 times /per reflecting object/, this obviously gets expensive fast.
15:08
< gnolam>
So you usually keep them quite small - something like 256x256 is quite common.
15:11
< gnolam>
But now that I'm adding a proper night sky, I'm hitting the resolution limit - a 1x1 pixel star in even a 512x512 cube map becomes ridiculously big.
15:16 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
15:26 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has joined #code
15:26 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has quit [Client closed the connection]
15:34 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has joined #code
15:43 Tarinaky [Tarinaky@Nightstar-1a54f1a2.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds]
15:55 * gnolam adjusts his apparent magnitude -> color calculations.
15:56
< gnolam>
There. Common constellations are now recognizable.
15:57 Tarinaky [Tarinaky@Nightstar-9cca177a.adsl.virginmedia.net] has joined #code
16:02 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
16:47 Tarinaky [Tarinaky@Nightstar-9cca177a.adsl.virginmedia.net] has quit [Operation timed out]
17:02 Tarinaky [Tarinaky@Nightstar-79e8e810.adsl.virginmedia.net] has joined #code
17:18 You're now known as TheWatcher
--- Log closed Tue May 04 17:19:31 2010
--- Log opened Tue May 04 17:20:05 2010
17:20 TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
17:20 Irssi: #code: Total of 24 nicks [10 ops, 0 halfops, 0 voices, 14 normal]
17:20 mode/#code [+o TheWatcher] by Reiver
17:20 Irssi: Join to #code was synced in 52 secs
17:31 Derakon[AFK] is now known as Derakon
17:57 aoanla [AndChat@37647E.0002A6.410380.2F56AA] has joined #code
18:01 aoanla [AndChat@37647E.0002A6.410380.2F56AA] has quit [[NS] Quit: ]
19:39 Tarinaky [Tarinaky@Nightstar-79e8e810.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds]
19:51 Tarinaky [Tarinaky@Nightstar-2c1b3479.adsl.virginmedia.net] has joined #code
19:52 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has joined #code
19:57 aoanla [AndChat@Nightstar-ad8ac45e.range81-152.btcentralplus.com] has joined #code
19:57 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has left #code []
20:00 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
20:01 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has joined #code
20:21 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has left #code []
20:22 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has joined #code
20:32 Reiv[Graduate] [orthianz@Nightstar-4540154d.xnet.co.nz] has quit [Ping timeout: 121 seconds]
20:44 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [Ping timeout: 121 seconds]
21:01 AnnoDomini [annodomini@Nightstar-c4f20528.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
21:03 AnnoDomini [annodomini@Nightstar-ce1afe12.adsl.tpnet.pl] has joined #code
21:03 mode/#code [+o AnnoDomini] by Reiver
21:08 aoanla [AndChat@Nightstar-ad8ac45e.range81-152.btcentralplus.com] has quit [[NS] Quit: ]
21:23 shade_of_cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
21:31 * ToxicFrog discovers M-x ansi-term
21:32
< celticminstrel>
Isn't M-x just "call this Lisp function"?
21:34
<@ToxicFrog>
Yes.
21:56 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
22:12
<@ToxicFrog>
What causes python to raise a KeyError?
22:12
< celticminstrel>
I think it's if you try to get a key from a dictionary that doesn't exist.
22:13
< celticminstrel>
x = {'a':'one, 'b':two}; print x['q'];
22:13
< celticminstrel>
^with additional quotes
22:30 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has quit [[NS] Quit: IRcap 8.6 ]
22:31 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has joined #code
22:32 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has quit [[NS] Quit: Ping timeout for c0mmando]
22:33 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has joined #code
23:06 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
23:06 mode/#code [+o Kazriko] by Reiver
23:08 AnnoDomini [annodomini@Nightstar-ce1afe12.adsl.tpnet.pl] has quit [[NS] Quit: Mumble.]
23:27
<@ToxicFrog>
celticminstrel: thank you.
23:31 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has quit [[NS] Quit: IRcap 8.6 ]
23:33 shade_of_cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has joined #code
23:33 shade_of_cpux is now known as cpux
23:37
<@ToxicFrog>
(I'm updating the git-p4 bridge for work. It works in small tests, raises KeyError when I try actually using it on the 5GB repo that takes hours to sync >.<)
23:40 c0mmando [c0mand@Nightstar-bec1add2.dyn.optonline.net] has joined #code
--- Log closed Wed May 05 00:00:52 2010
code logs -> 2010 -> Tue, 04 May 2010< code.20100503.log - code.20100505.log >