00:11:16 meh 00:11:36 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:02 what are the haps my friends? 04:40:18 not a thing, how goes it RodgerTheGreat 04:40:24 not bad 04:40:59 I have a little backburner project for a boolean logic/ queue based language that's progressing pretty nicely 04:41:23 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:16:56 No. 05:17:35 ? 05:17:46 hi, Sukoshi- how's it going? 05:18:52 No. 05:18:59 :P 05:19:11 Taking a break after a hectic spring vacation of 70+ pages of homework. 05:19:43 And a Chip-8 emulator in a semi-finished state. 05:19:59 ooh, cool! Chip-8 = fun! 05:20:08 Heh. 05:20:13 It's C though. 05:20:23 I'm too tired to bug hunt now. 05:20:24 -!- digital_me has quit ("Lost terminal"). 05:21:08 haha 05:22:28 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:27:42 Sprite collision? 05:28:23 You mean, if there's an already written-to portion of the screen? 05:28:47 yeah 05:29:10 Well, the docs say ``if 1, then flip to 0, if 0, then flip to 1. Use XOR'' 05:29:12 it's actually a really clever way of allowing for "collision" with virtually no code 05:29:35 I know next-to-nothing about game programming. 05:29:39 But I know about processors :P 05:29:51 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 I dabble a bit in game programming... http://rodger.nonlogic.org/games/Neon2 05:30:38 Yeah, VF. 05:30:59 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 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:33:23 hunh 05:34:00 ? 05:35:53 interesting 05:36:06 Aha. 05:36:14 Yeah, I was too lazy to create an opcode. 05:36:17 *opcode parser 05:36:24 **opcode parser proper 05:36:25 Gah. 05:36:35 lol 05:36:45 Plus I wanted this to be as light as I could. Only two opcodes actually use arithmetic operations. 05:36:57 And no subtraction. 05:37:15 *as light as it could. 05:37:39 I'll bet your compiler makes little purring sounds when you feed it your code 05:37:44 ;D 05:37:55 Bit-twiddling is my specialty. It always has. 05:38:04 Darn BCD code made me use arithmetic. Grr. I art angry. 05:38:27 RodgerTheGreat: awesome 05:47:22 zzzzzzz 05:47:44 t? 06:01:46 this is hilarious: http://static.flickr.com/107/291066616_75d02b4dba_o.jpg 06:04:20 of course, this will always be a classic: http://b.armory.com/~relsqui/pictures/misc/stuff.gif 06:07:57 well, good night, folks. 06:09:00 No. 06:09:04 Have a BAD night. 06:09:05 BAAAD. 06:09:58 :'< 06:10:21 * RodgerTheGreat curls into the fetal position 06:15:00 -!- calamari has quit ("Leaving"). 06:15:30 -!- wooby has quit. 06:15:46 Hahahahaha! 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. 16:58:49 good morning, everyone 17:04:02 well hi RodgerTheGreat 17:04:24 nice to meet you, nazgjunk 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 python's inheritance... how do i access a parent? class b(a): ... self.a.? ... ? 22:20:35 super() 22:20:37 i think 22:21:16 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)). 22:21:34 or perhaps not, maybe you just use the name. 22:21:54 self is how you access the object itself 22:22:13 super seems to convert type -> parent of type 22:22:18 which doesn't help self 22:22:48 not that i necessarily need inheritance, i've never really liked it 22:22:57 just wondering, since it seems i'm using it :\ 22:23:01 you can always look up things in a parent class if you know its name. 22:23:26 -!- nazgjunk has joined. 22:23:31 yeah, but i'd like to get the underlying parent object itself off the self 22:23:42 there is none i think 22:23:59 python is not prototype based. 22:24:26 the object contains a reference to the class, but there is no object corresponding to the super-class. 22:24:44 hmm... i'll go around that i guess then 22:24:45 just a reference from the class to its super-classes. 22:25:34 are you maybe asking how to call a constructor? 22:27:40 mm 22:27:52 i have copy() in my superclass 22:28:14 now my child class has copy too, i'd like to call the upper level copy there 22:28:37 right. do superclass(self,...) 22:29:14 any method call x.method(...) is equivalent to class.method(x,...) 22:29:50 *do superclass.copy(self,...) 22:30:14 global name superclass is not defined 22:30:48 by superclass i mean an expression giving you the superclass you want. 22:31:21 which might most simply be its name. 22:31:30 ah, yeah :P 22:31:32 indeed 22:34:03 can i promote a to easily it's child class b if b only adds functionality? 22:34:14 swap easily, to 22:34:33 what do you mean? 22:35:14 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 and the upper level copy() returns the parent 22:35:27 oh. 22:35:28 of course 22:36:13 right that is specific problem with copy. 22:36:40 mm maybe 22:37:15 the simplest might be to just change the class of the object, i think it is possible in python. 22:37:45 prolly, i'm just not familiar with that kind of twiddling 22:38:08 i'm not familiar with anything when it comes to python actually :P 22:38:45 i've learned the language by writing small functions for one-time use and read a quick tutorial 22:39:09 i think possibly the __class__ attribute can simply be set. 22:39:48 haha xD 22:39:51 it worked 22:39:52 :P 22:40:51 hmm... now the hard part 22:40:57 the part i have to do myself :\ 22:49:06 argh! http://www.irregularwebcomic.net/118.html 22:52:06 -!- ShadowHntr has joined. 22:57:07 i constantly run out of windows... 22:58:07 doesn't that hurt? 22:58:13 :D 22:58:34 sounds like the right hobby for me 22:58:37 whiiiii... pof 22:58:40 whiiiiiiiiiii... pof 22:58:43 anyway 22:58:50 i have 70 windows open 22:58:56 and i can't open more -_______- 22:59:42 are all those different programs or maybe you should get something with tabs? 23:00:22 not all of them are different programs 23:00:58 i mean, 70 processes, i only have 25 windows open 23:01:09 oh 23:01:49 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 hmm, i made no sence there 23:02:30 but doesn't matter 23:03:20 i don't like tabs 23:03:24 i can't find anything 23:10:27 -!- Qaz has joined. 23:11:11 -!- Qaz has left (?). 23:13:21 -!- UnrelatedToQaz has joined. 23:14:06 that's better 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.