00:11:36 <oklopol> to sleep, 24 lines is the best i can do without remaking it --->
00:14:37 -!- nazgjunk has quit ("Leaving").
00:29:25 -!- nooga has quit (Read error: 110 (Connection timed out)).
00:36:56 -!- oerjan has quit ("Sleep!").
00:41:09 -!- cmeme has quit ("Client terminated by server").
00:41:36 -!- cmeme has joined.
00:41:37 -!- nooga has joined.
00:49:20 -!- Shaunaf has left (?).
01:34:25 -!- crathman has joined.
01:36:36 -!- ShadowHntr has joined.
01:54:18 -!- crathman_ has joined.
01:58:13 -!- crathman_ has quit (Client Quit).
02:11:42 -!- crathman has quit (Read error: 110 (Connection timed out)).
02:17:24 -!- bsmntbombdood has changed nick to dbsmntbombdoo.
02:17:47 -!- dbsmntbombdoo has changed nick to odbsmntbombdo.
02:18:15 -!- odbsmntbombdo has changed nick to oodbsmntbombd.
02:19:19 -!- oodbsmntbombd has changed nick to doodbsmntbomb.
02:19:40 -!- doodbsmntbomb has changed nick to bdoodbsmntbom.
02:48:24 -!- bdoodbsmntbom has changed nick to bsmntbombdood.
03:25:10 -!- tgwizard has quit (Remote closed the connection).
03:25:37 -!- Sukoshi has quit (Remote closed the connection).
03:50:15 -!- Sukoshi has joined.
03:56:34 -!- wooby has joined.
04:22:40 -!- ShadowHntr has quit (Client Quit).
04:39:54 -!- RodgerTheGreat has joined.
04:40:18 <wooby> not a thing, how goes it RodgerTheGreat
04:40:59 <RodgerTheGreat> I have a little backburner project for a boolean logic/ queue based language that's progressing pretty nicely
04:41:23 <RodgerTheGreat> I ought to have a finished interpreter in a week or two depending on how much free time I end up having.
04:55:48 -!- wooby has quit.
05:02:44 -!- wooby has joined.
05:14:01 -!- ShadowHntr has joined.
05:19:11 <Sukoshi> Taking a break after a hectic spring vacation of 70+ pages of homework.
05:19:43 <Sukoshi> And a Chip-8 emulator in a semi-finished state.
05:20:23 <Sukoshi> I'm too tired to bug hunt now.
05:20:24 -!- digital_me has quit ("Lost terminal").
05:22:28 <RodgerTheGreat> a friend of mine built a chip-8 emulator a while ago- his major stumbling block was how sprite collision worked. As soon as I explained the whole XOR register-flag-on-flip thing, he managed to get PONG pretty much working
05:28:23 <Sukoshi> You mean, if there's an already written-to portion of the screen?
05:29:10 <Sukoshi> Well, the docs say ``if 1, then flip to 0, if 0, then flip to 1. Use XOR''
05:29:12 <RodgerTheGreat> it's actually a really clever way of allowing for "collision" with virtually no code
05:29:35 <Sukoshi> I know next-to-nothing about game programming.
05:29:39 <Sukoshi> But I know about processors :P
05:29:51 <RodgerTheGreat> yeah, and whenever you write a 1 to a pixel that's already 1, there's a register that's set to "flag" a collision
05:30:21 <RodgerTheGreat> I dabble a bit in game programming... <shameless plug>http://rodger.nonlogic.org/games/Neon2</shameless plug>
05:30:59 <Sukoshi> I thought of a very nice approach to emulating the registers without making a huge case table to decide on the register based on the opcode.
05:31:59 <Sukoshi> I setup a u_int_8 v[0x10]; and then, say we have an opcode 8xnn called opc, v[(opc & 0x0F00) >> 8] = opc & 0x00FF;
05:36:14 <Sukoshi> Yeah, I was too lazy to create an opcode.
05:36:45 <Sukoshi> Plus I wanted this to be as light as I could. Only two opcodes actually use arithmetic operations.
05:37:39 <RodgerTheGreat> I'll bet your compiler makes little purring sounds when you feed it your code
05:37:55 <Sukoshi> Bit-twiddling is my specialty. It always has.
05:38:04 <Sukoshi> Darn BCD code made me use arithmetic. Grr. I art angry.
05:38:27 <wooby> RodgerTheGreat: awesome
06:01:46 <RodgerTheGreat> this is hilarious: http://static.flickr.com/107/291066616_75d02b4dba_o.jpg
06:04:20 <RodgerTheGreat> of course, this will always be a classic: http://b.armory.com/~relsqui/pictures/misc/stuff.gif
06:15:00 -!- calamari has quit ("Leaving").
06:15:30 -!- wooby has quit.
06:44:04 -!- ShadowHntr has quit ("End of line.").
07:28:39 -!- meatmanek has quit (Connection timed out).
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:39:13 -!- meatmanek has joined.
09:06:21 -!- goban has quit (Remote closed the connection).
09:06:54 -!- goban has joined.
09:11:32 -!- sebbu has joined.
09:13:27 -!- goban has quit (zelazny.freenode.net irc.freenode.net).
09:13:27 -!- Sukoshi has quit (zelazny.freenode.net irc.freenode.net).
09:13:27 -!- EgoBot has quit (zelazny.freenode.net irc.freenode.net).
09:13:27 -!- GregorR has quit (zelazny.freenode.net irc.freenode.net).
09:13:27 -!- tokigun has quit (zelazny.freenode.net irc.freenode.net).
09:20:27 -!- goban has joined.
09:23:51 -!- oerjan has joined.
09:30:43 -!- Sukoshi has joined.
09:35:04 -!- GregorR has joined.
09:35:04 -!- tokigun has joined.
09:35:04 -!- EgoBot has joined.
09:46:10 -!- sebbu2 has joined.
09:53:52 -!- sebbu has quit (Read error: 60 (Operation timed out)).
10:08:37 -!- kxspxr has joined.
10:38:12 -!- kxspxr has quit.
12:18:22 -!- oerjan has quit ("leaving").
12:56:29 -!- Ricky has joined.
12:58:20 -!- Ricky has left (?).
13:15:34 -!- Qaz has joined.
13:16:24 -!- Qaz has quit (Client Quit).
14:12:54 -!- nazgjunk has joined.
14:20:05 -!- sebbu2 has quit (Client Quit).
14:22:00 -!- Qaz has joined.
14:22:43 -!- Qaz has left (?).
14:34:34 -!- sebbu has joined.
14:54:38 -!- goban has quit (Remote closed the connection).
14:55:03 -!- goban has joined.
15:16:29 -!- nazgjunk has quit (Read error: 131 (Connection reset by peer)).
15:16:44 -!- nazgjunk has joined.
15:39:43 -!- goban has quit (Connection timed out).
16:40:32 -!- oerjan has joined.
16:54:16 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)).
16:54:49 -!- nazgjunk has joined.
17:05:33 * nazgjunk looks up a polite reply in his dictionary of earth
17:30:33 -!- jix__ has joined.
17:49:26 -!- nazgjunk has quit (zelazny.freenode.net irc.freenode.net).
17:49:26 -!- SimonRC has quit (zelazny.freenode.net irc.freenode.net).
17:49:26 -!- sekhmet has quit (zelazny.freenode.net irc.freenode.net).
17:49:26 -!- NK`divx has quit (zelazny.freenode.net irc.freenode.net).
17:49:26 -!- pgimeno has quit (zelazny.freenode.net irc.freenode.net).
17:49:26 -!- oklopol has quit (zelazny.freenode.net irc.freenode.net).
17:49:46 -!- nazgjunk has joined.
17:49:46 -!- oklopol has joined.
17:49:46 -!- pgimeno has joined.
17:49:46 -!- sekhmet has joined.
17:49:46 -!- NK`divx has joined.
17:49:46 -!- SimonRC has joined.
17:57:04 -!- SimonRC has quit (zelazny.freenode.net irc.freenode.net).
17:57:04 -!- NK`divx has quit (zelazny.freenode.net irc.freenode.net).
17:57:04 -!- sekhmet has quit (zelazny.freenode.net irc.freenode.net).
17:57:04 -!- pgimeno has quit (zelazny.freenode.net irc.freenode.net).
17:57:04 -!- oklopol has quit (zelazny.freenode.net irc.freenode.net).
17:57:04 -!- nazgjunk has quit (zelazny.freenode.net irc.freenode.net).
17:58:12 -!- nazgjunk has joined.
17:58:12 -!- oklopol has joined.
17:58:12 -!- pgimeno has joined.
17:58:12 -!- sekhmet has joined.
17:58:12 -!- NK`divx has joined.
17:58:12 -!- SimonRC has joined.
18:41:30 -!- lament has quit (Read error: 110 (Connection timed out)).
19:17:51 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)).
19:18:08 -!- UpTheDownstair has joined.
19:18:26 -!- UpTheDownstair has changed nick to nazgjunk.
19:41:33 * SimonRC lols http://www.irregularwebcomic.net/comic.php?current=109
19:51:41 -!- EgoBot has quit (zelazny.freenode.net irc.freenode.net).
19:51:41 -!- GregorR has quit (zelazny.freenode.net irc.freenode.net).
19:51:41 -!- tokigun has quit (zelazny.freenode.net irc.freenode.net).
19:53:39 -!- GregorR has joined.
19:53:39 -!- tokigun has joined.
19:53:39 -!- EgoBot has joined.
21:21:33 -!- sebbu2 has joined.
21:40:33 -!- sebbu has quit (Connection timed out).
21:46:56 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)).
21:48:11 -!- nazgjunk has joined.
21:58:31 -!- jix__ has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
22:20:21 <oklopol> python's inheritance... how do i access a parent? class b(a): ... self.a.? ... ?
22:21:16 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)).
22:21:34 <oerjan> or perhaps not, maybe you just use the name.
22:21:54 <oklopol> self is how you access the object itself
22:22:13 <oklopol> super seems to convert type -> parent of type
22:22:48 <oklopol> not that i necessarily need inheritance, i've never really liked it
22:22:57 <oklopol> just wondering, since it seems i'm using it :\
22:23:01 <oerjan> you can always look up things in a parent class if you know its name.
22:23:26 -!- nazgjunk has joined.
22:23:31 <oklopol> yeah, but i'd like to get the underlying parent object itself off the self
22:23:59 <oerjan> python is not prototype based.
22:24:26 <oerjan> the object contains a reference to the class, but there is no object corresponding to the super-class.
22:24:44 <oklopol> hmm... i'll go around that i guess then
22:24:45 <oerjan> just a reference from the class to its super-classes.
22:25:34 <oerjan> are you maybe asking how to call a constructor?
22:27:52 <oklopol> i have copy() in my superclass
22:28:14 <oklopol> now my child class has copy too, i'd like to call the upper level copy there
22:28:37 <oerjan> right. do superclass(self,...)
22:29:14 <oerjan> any method call x.method(...) is equivalent to class.method(x,...)
22:29:50 <oerjan> *do superclass.copy(self,...)
22:30:14 <oklopol> global name superclass is not defined
22:30:48 <oerjan> by superclass i mean an expression giving you the superclass you want.
22:31:21 <oerjan> which might most simply be its name.
22:34:03 <oklopol> can i promote a to easily it's child class b if b only adds functionality?
22:35:14 <oklopol> in the copy constructor i make the upper level copy... i need, however, return from copy() an instance of the child class
22:35:25 <oklopol> and the upper level copy() returns the parent
22:36:13 <oerjan> right that is specific problem with copy.
22:37:15 <oerjan> the simplest might be to just change the class of the object, i think it is possible in python.
22:37:45 <oklopol> prolly, i'm just not familiar with that kind of twiddling
22:38:08 <oklopol> i'm not familiar with anything when it comes to python actually :P
22:38:45 <oklopol> i've learned the language by writing small functions for one-time use and read a quick tutorial
22:39:09 <oerjan> i think possibly the __class__ attribute can simply be set.
22:40:57 <oklopol> the part i have to do myself :\
22:49:06 <oerjan> argh! http://www.irregularwebcomic.net/118.html
22:52:06 -!- ShadowHntr has joined.
22:57:07 <oklopol> i constantly run out of windows...
22:58:34 <oklopol> sounds like the right hobby for me
22:58:56 <oklopol> and i can't open more -_______-
22:59:42 <oerjan> are all those different programs or maybe you should get something with tabs?
23:00:22 <oklopol> not all of them are different programs
23:00:58 <oklopol> i mean, 70 processes, i only have 25 windows open
23:01:49 <oklopol> but maybe 40 channels in irc, 100 seems a weird limit since this machine, from what i've heard, is not that bad
23:02:26 <oklopol> hmm, i made no sence there
23:10:27 -!- Qaz has joined.
23:11:11 -!- Qaz has left (?).
23:13:21 -!- UnrelatedToQaz has joined.
23:15:54 -!- UnrelatedToQaz has left (?).
23:39:08 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)).
23:46:52 -!- wooby has joined.