--- Log opened Thu Jan 29 00:00:12 2009 |
00:16 | < Tarinaky> | I;m so fucking drunk I can;t see the C on the Drunk. |
00:22 | < Derakon> | Hrm. I want to take a list ['a', 'b', 'c', 'd', 'e'] and turn it into "ab\ncd\ne". Any ideas? |
00:25 | <@Vornicus> | Python? |
00:25 | < Derakon> | Yes. |
00:26 | < Derakon> | Actually, what I want to do is turn it into [['ab],['cd'],['e']]. |
00:26 | < Derakon> | Whoops. |
00:26 | < Derakon> | That should be fairly straightforward. |
00:27 | <@Vornicus> | ...hm. |
00:32 | <@Vornicus> | target = [[a + b] for a, b in zip(lst[::2],lst[1::2])]; if len(lst) % 2: target.append([lst[-1]]) |
00:32 | <@Vornicus> | Unless you /really/ mean ['ab','cd','e'] |
00:32 | < Derakon> | I got it sorted out, but thanks. |
00:33 | < Derakon> | My solution is longer, mind you. |
00:35 | <@Vornicus> | I'm not pleased with mine; I don't think it should take that long. |
00:38 | < Derakon> | In any event, I now have a rudimentary UI with mouse support. Next I can implement the "configure controls" page. |
00:39 | < Derakon> | The green brackets highlight when you mouse over them. |
00:39 | < Derakon> | ...that didn't work. A moment. |
00:39 | | mode/#code [+o Derakon] by ChanServ |
00:39 | <@Derakon> | http://derakon.dyndns.org/~chriswei/temp/bulletmlscreen9.png |
01:21 | | Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>] |
01:32 | <@Derakon> | Opinion time -- I have a class that handles the controls file, and another class that handles the main menu and help page. |
01:33 | <@Derakon> | Which of these should handle the controls configuration page? |
02:09 | <@gnolam> | The latter, but using the former. |
02:12 | <@Derakon> | Ha ha HA! Controls are now configurable through the UI! |
02:23 | | * Derakon uploads alpha-11. http://derakon.dyndns.org/~chriswei/temp/bulletml11.tgz |
02:26 | <@McMartin> | How close do you think you are to beta-freeze? |
02:28 | <@Derakon> | I need a new name, maybe some sound effects (thoughts?), and a bunch of spit and polish for the UI. |
02:28 | <@Derakon> | And of course I'm open to suggestions for other features to add. |
02:28 | <@Derakon> | Oh, and OS-dependent config/scorefiles. |
02:28 | | * McMartin will take a look shortly. |
02:28 | <@McMartin> | I'm at 63% downloaded |
02:29 | <@Derakon> | Sorry about all the extra cruft~ |
02:30 | <@ToxicFrog> | MyCatVerbs: re reliable UDP: if you need reliability, use TCP. UDP is for use when losing a few packets here and there is acceptable. |
02:32 | <@McMartin> | OK, bug 1: controls DFW. |
02:32 | <@McMartin> | Configuring them seems to, but the ship does not react. |
02:32 | <@Derakon> | Interesting. |
02:32 | <@McMartin> | .app file is living on my desktop. |
02:32 | <@Derakon> | Oh, hey, and there's some logging I forgot to turn down to debug. Whoops. |
02:33 | <@McMartin> | I think it's time I headed home. |
02:33 | <@Derakon> | Okay, I reproed it. Dunno why I didn't notice this before... |
02:33 | <@Derakon> | Thanks. |
02:38 | <@Derakon> | Stupid string-int inequality. Line 518 of managers.py should be "self.controls[action] = str(key)" not "self.controls[action] = key" |
02:44 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?] |
06:03 | | Syloqs-AFH [Syloq@NetAdmin.Nightstar.Net] has quit [Connection reset by peer] |
06:09 | | UndeadAnno [~farkoff@Nightstar-29762.neoplus.adsl.tpnet.pl] has joined #Code |
06:09 | | mode/#code [+o UndeadAnno] by ChanServ |
06:20 | | Alek is now known as Alek|gone |
06:48 | | Derakon is now known as Derakon[AFK] |
08:13 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out] |
08:16 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
08:16 | | mode/#code [+o ToxicFrog] by ChanServ |
08:33 | | Vornicus [~vorn@Admin.Nightstar.Net] has quit [Quit: ] |
09:07 | | Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code |
09:07 | | mode/#code [+o Attilla] by ChanServ |
--- Log closed Thu Jan 29 09:29:19 2009 |
--- Log opened Thu Jan 29 09:31:54 2009 |
09:31 | | TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
09:31 | | Irssi: #code: Total of 23 nicks [15 ops, 0 halfops, 0 voices, 8 normal] |
09:31 | | mode/#code [+o TheWatcher[zZzZ]] by ChanServ |
09:32 | | Irssi: Join to #code was synced in 49 secs |
10:02 | | You're now known as TheWatcher |
--- Log closed Thu Jan 29 10:18:44 2009 |
--- Log opened Thu Jan 29 10:18:49 2009 |
10:18 | | TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
10:18 | | Irssi: #code: Total of 23 nicks [14 ops, 0 halfops, 0 voices, 9 normal] |
10:18 | | mode/#code [+o TheWatcher] by ChanServ |
10:19 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
10:19 | | mode/#code [+o gnolam] by ChanServ |
10:19 | | Irssi: Join to #code was synced in 49 secs |
11:10 | | Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus] |
11:50 | <@MyCatVerbs> | ToxicFrog: it *is* acceptable for a few packets to get lost here and there. You ever wanna play an FPS where it wasn't? |
12:46 | <@TheWatcher> | I think is point is that you shouldn't /care/ whether the clients have got it |
12:47 | <@TheWatcher> | Sorting out that should be their end of the issue |
12:47 | <@TheWatcher> | You just send the packets, and let the client deal with missing packets, out of order packets and all the other nastiness that udp introduces |
12:48 | <@TheWatcher> | If you're waiting for a client to acknowledge that it received a given packet before sending any more, you may as well just use tcp |
12:48 | <@TheWatcher> | because you're just going to end up reinventing it anyway, going down that road. |
13:22 | <@MyCatVerbs> | Nah. I'ma end up reinventing about half of it. |
13:47 | <@Reiver> | Derakon[AFK]: If/when you get a windows version up, I'll happily beta test it |
14:27 | < simontwo> | MyCatVerbs, are you going to save significant bandwidth that way? |
15:06 | | * gnolam stabs Vista's sound system again and again and AGAIN. |
15:27 | | Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Connection reset by peer] |
15:28 | | Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code |
15:28 | | mode/#code [+o Attilla] by ChanServ |
16:10 | | Vornicus [~vorn@Admin.Nightstar.Net] has joined #code |
16:10 | | mode/#code [+o Vornicus] by ChanServ |
16:29 | | Gruber [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
16:30 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Ping Timeout] |
16:30 | | Gruber is now known as gnolam |
16:37 | | KBot [AnnoDomini@Nightstar-29755.neoplus.adsl.tpnet.pl] has joined #Code |
16:39 | | KarmaBot [AnnoDomini@Nightstar-29762.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
16:39 | | UndeadAnno [~farkoff@Nightstar-29762.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
16:41 | | KBot is now known as KarmaBot |
16:46 | | UndeadAnno [~farkoff@Nightstar-29755.neoplus.adsl.tpnet.pl] has joined #Code |
16:46 | | mode/#code [+o UndeadAnno] by ChanServ |
17:12 | | You're now known as TheWatcher[afk] |
17:42 | | Derakon[AFK] is now known as Derakon |
18:05 | | Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code |
18:06 | | _power_turk_ [~k@85.108.28.ns-12754] has joined #Code |
18:07 | | _power_turk_ [~k@85.108.28.ns-12754] has left #Code [] |
18:26 | | You're now known as TheWatcher |
20:22 | <@MyCatVerbs> | simontwo: Bandwidth? No difference whatsoever, of course. |
20:23 | <@Derakon> | Dammit, now I want to add music to the game. >.< |
20:45 | < simontwo> | MyCatVerbs, well, if you implement TCP partially, it's not so as to ensure that packages arrive, and if not, retransmit them? |
20:55 | <@UndeadAnno> | Argh and argh. How exactly does one do a vector product? |
20:56 | <@UndeadAnno> | I mean the thingie you're supposed to use to get a normal vector to some set of vectors. |
20:56 | <@Derakon> | Multiply the vector components. |
20:56 | <@Derakon> | Oh. |
20:56 | <@Derakon> | Cross product? |
20:56 | <@UndeadAnno> | Maybe. I don't know the English name. |
20:56 | <@Derakon> | http://en.wikipedia.org/wiki/Cross_product |
20:58 | <@UndeadAnno> | This seems to be the thing I'm after. Thanks. |
20:58 | <@Derakon> | NP. |
21:14 | < gnolam> | Make sure to learn the Rule of Sarrus while you're at it. |
21:15 | <@UndeadAnno> | Which is? |
21:22 | <@UndeadAnno> | Nevermind. I know what it is. |
21:26 | <@UndeadAnno> | I think I understand this thing now. |
22:05 | | Derakon is now known as Derakon[AFK] |
23:02 | | UndeadAnno [~farkoff@Nightstar-29755.neoplus.adsl.tpnet.pl] has quit [Quit: I'm sick of it all! Morning sun, vanquish me!!] |
23:37 | | Derakon[AFK] is now known as Derakon |
--- Log closed Fri Jan 30 00:00:24 2009 |