--- Log opened Thu Jul 02 00:00:41 2009 |
00:01 | < Tarinaky> | (I/O,I/O,it's to the bus we go) |
00:02 | | Myst [~Myst@Nightstar-29731.dsl.in-addr.zen.co.uk] has quit [Quit: "Everyone dies, but not everyone lives." -- A. Sachs] |
00:03 | | Consul [~Consul__@Nightstar-13285.dsl.sfldmi.ameritech.net] has joined #code |
00:03 | | mode/#code [+o Consul] by ChanServ |
00:32 | | Tarinaky [~Tarinaky@Nightstar-16638.plus.com] has quit [Client exited] |
01:52 | | Consul [~Consul__@Nightstar-13285.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving] |
02:02 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?] |
02:06 | | Consul [~Consul__@Nightstar-13285.dsl.sfldmi.ameritech.net] has joined #code |
02:06 | | mode/#code [+o Consul] by ChanServ |
03:10 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout] |
03:10 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code |
03:16 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout] |
03:16 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code |
03:39 | | McMartin is now known as McMartin[adventures] |
05:01 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout] |
05:01 | | Vornicus is now known as Vornicus-Latens |
05:02 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code |
05:08 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout] |
05:08 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code |
05:17 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout] |
05:20 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code |
05:30 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout] |
05:30 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code |
06:03 | | Attilla [~The.Attil@92.19.140.ns-11540] has quit [Quit: <Insert Humorous and/or serious exit message here>] |
06:04 | | Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer] |
06:15 | | Thaqui [~Thaqui@121.98.166.ns-22683] has joined #code |
06:15 | | mode/#code [+o Thaqui] by ChanServ |
06:18 | <@ToxicFrog> | This may be a first |
06:18 | <@ToxicFrog> | I'm writing yet another program that downloads web pages and does things do them |
06:18 | <@ToxicFrog> | But this one is written in Lua. |
06:18 | < Derakon> | Heh. |
06:18 | < Derakon> | You've really taken a shine to Lua, haven't you? |
06:21 | <@SmithKurosaki> | TF is pretty guru-tastic. Not like the guru or anything, but he's still shiny |
06:21 | <@ToxicFrog> | Derakon: yeah. I'm not kidding when I say it's my favorite language. |
06:22 | <@ToxicFrog> | I still use bash+friends and C regularly, and Haskell, Erlang and Scheme somewhat less regularly, but Lua is my home language, as it were. |
06:31 | | * Derakon nods. |
06:31 | < Rhamphoryncus> | I count 31 reserved words in python, or 34 if you include None/True/False |
06:32 | < Derakon> | Rhamph: those count, I'd say. |
06:32 | < Derakon> | Did you count builtin functions like range()? |
06:33 | < Rhamphoryncus> | hum, 2.6 doesn't protect assignment to True/False. In the future perhaps (they're still somewhat new) |
06:33 | < Rhamphoryncus> | nope, no builtins |
06:34 | < Derakon> | Today I had to rename a module to range1D after I got conflicts with that builtin. >.< |
06:35 | < Rhamphoryncus> | Although you shouldn't shadow them, I consider it to be a feature that they're not keywords. New builtins are added occasionally, and if they were keywords this'd break code that used their name for a local variable |
06:35 | < Rhamphoryncus> | Trying to use the builtin and the module side by side? |
06:35 | < Derakon> | Yeah. |
06:35 | < Derakon> | "range(1, 10)" gets a complaint that I can't invoke modules that way. |
06:35 | < Rhamphoryncus> | the quick bodge is "import range as range1D" |
06:36 | < Derakon> | Ehh, Range1D was a better class name anyway. |
06:36 | < Rhamphoryncus> | yeah |
06:36 | < Derakon> | Incidentally, I told you I open-sourced my game project? http://code.google.com/p/jetblade/ |
06:36 | < Rhamphoryncus> | yeah |
06:37 | <@ToxicFrog> | Re reserved words: 21 in lua. |
06:37 | < Derakon> | Heh. I bet Perl has tons. |
06:38 | < Rhamphoryncus> | either tons or 0. It is perl after all ;) |
06:39 | <@SmithKurosaki> | (Asking perl person I know) |
06:39 | <@SmithKurosaki> | <Sartak> perl doesn't really have "reserved words" |
06:40 | < Derakon> | Lies! It certainly has "if", "else", "while", "do", etc. |
06:41 | <@SmithKurosaki> | I do not know. He is being cryptic |
06:42 | < Kazriko> | Simplified grammar The new yacc grammar is one half the size of the old one. Many of the arbitrary grammar rules have been regularized. The number of reserved words has been cut by 2/3. Despite this, nearly all old Perl scripts will continue to work unchanged. << change log for perl 5 |
06:44 | < Rhamphoryncus> | My thought is many of the "reserved words" may only be reserved in specific contexts |
06:48 | < Rhamphoryncus> | Derakon: if you've got a beta ubuntu package I'll try it out ;) |
06:49 | < Derakon> | Rhamphoryncus: no packages, but all you need to run it's Python and PyGame. |
06:50 | < Derakon> | Well, and Mercurial to download the source. |
06:50 | < Rhamphoryncus> | Is there an actual game in it yet, or just a map generator? |
06:50 | < Derakon> | Just a map generator and the controls for the player avatar so you can run around in the maps. |
06:52 | <@ToxicFrog> | Cool. |
06:52 | <@ToxicFrog> | I should try it out. |
06:55 | < Rhamphoryncus> | Is there a key for displaying the map? |
06:55 | < Derakon> | If you pass -saveimage as an argument when you generate the map, it'll make a PNG of the result. |
06:55 | < Derakon> | Granted at 1/5th scale, since the images would be huge otherwise. |
06:57 | < Rhamphoryncus> | Found an unreachable area |
06:57 | < Derakon> | Yeah, that happens sometimes. Accessibility is not an exact science here. |
06:58 | < Rhamphoryncus> | why not? :) |
06:58 | < Derakon> | Because programmatically determining which spaces are accessible from a given space is a logistical nightmare. |
06:58 | < Derakon> | So I've settled for just slapping down platforms wherever things look a bit tricky...however, there's some holes with that approach. |
06:58 | < Rhamphoryncus> | oh right, it's hard. I always forget about that |
06:59 | < Derakon> | Heh. |
06:59 | < Rhamphoryncus> | (and usually don't listen anyway) |
07:00 | < Rhamphoryncus> | my problem was a ledge with an overhang btw |
07:00 | | * Derakon nods. |
07:01 | | UndeadAnno [AnnoDomini@Nightstar-29648.neoplus.adsl.tpnet.pl] has joined #Code |
07:01 | | mode/#code [+o UndeadAnno] by ChanServ |
07:01 | < Derakon> | That's one semicommon failure mode; another's simple sparseness of platforms. |
07:02 | <@ToxicFrog> | It's probably easiest to just work out what the most common failure modes are and then give the player abilities that overcome them. |
07:02 | < Derakon> | Or patch the failure modes, yeah. |
07:02 | < Derakon> | The important thing right now is to make every tunnel accessible. I can break accessibility easily enough later, but I need to know that I'm doing so. |
07:03 | < Derakon> | Having a one-way tunnel that the game thinks is two-way is just bad all round. |
07:03 | < Rhamphoryncus> | File "/home/rhamph/src/jetblade/eventmanager.py", line 25, in processEvents |
07:03 | < Rhamphoryncus> | actions.append(Event(constants.ACTION_QUIT)) |
07:03 | < Rhamphoryncus> | AttributeError: 'module' object has no attribute 'ACTION_QUIT' |
07:03 | < Derakon> | ... |
07:04 | < Derakon> | Whoops. |
07:07 | < Rhamphoryncus> | Have you considered the optparse module? |
07:08 | < Derakon> | I didn't know about it, but in hindsight writing my own arguments handler was stupid anyway. |
07:08 | < Derakon> | Argument handling is a Solved Problem in every serious programming language. |
07:09 | < Rhamphoryncus> | well, optparse still sucks in some significant ways |
07:09 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Ping Timeout] |
07:09 | < Rhamphoryncus> | But even then it's a better starting point |
07:09 | | Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code |
07:09 | | * Derakon nods. |
07:09 | < Derakon> | I've marked a todo. Thanks. |
07:10 | < Rhamphoryncus> | Although I tend to skip it for one bodged together argument anyway ;) |
07:10 | < Derakon> | Heh. |
07:10 | < Rhamphoryncus> | The biggest advantage is probably conformance. Both short and long arguments and you respond to --help |
07:16 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has quit [Connection reset by peer] |
07:17 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has joined #code |
07:18 | < Rhamphoryncus> | I hate video drivers |
07:29 | | Derakon is now known as Derakon[AFK] |
09:14 | | Tarinaky [~Tarinaky@Nightstar-16638.plus.com] has joined #code |
09:26 | | You're now known as TheWatcher |
09:39 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has quit [Quit: Rhamphoryncus] |
10:20 | | crem [~moo@Nightstar-28703.adsl.mgts.by] has quit [Ping Timeout] |
10:23 | | crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code |
10:27 | | Alek [~omegaboot@Nightstar-7110.dsl.emhril.sbcglobal.net] has quit [Ping Timeout] |
10:33 | | Alek [~omegaboot@Nightstar-28432.dsl.emhril.sbcglobal.net] has joined #code |
10:43 | | Myst [~Myst@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
10:43 | | mode/#code [+o Myst] by ChanServ |
10:57 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
10:58 | | mode/#code [+o gnolam] by ChanServ |
11:12 | | Attilla [~The.Attil@92.19.140.ns-11540] has joined #code |
11:12 | | mode/#code [+o Attilla] by ChanServ |
12:44 | | * gnolam wanders off to get irradiated. |
12:53 | <@TheWatcher> | wee |
13:47 | | Vornicus-Latens is now known as Vornicus |
13:51 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Quit: Leaving] |
14:10 | | * TheWatcher eyes this person's code |
14:11 | <@TheWatcher> | Is there some advantage to doing (*itor).second -> foo() rather than itor -> second -> foo() that I'm not aware of, or is this just stylistic? |
15:01 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has joined #code |
15:01 | | mode/#code [+o Vornicus] by ChanServ |
15:04 | | * gnolam returns unirradiated (at least according to the dosimeter). |
15:05 | <@TheWatcher> | Bah. How are you supposed to develop superpowers carrying on like that? |
15:05 | <@gnolam> | I don't know. :( |
15:06 | <@gnolam> | I don't think I'm even allowed to bring insects in there. :( |
15:07 | <@TheWatcher> | ! |
15:07 | <@TheWatcher> | Sheeesh |
15:11 | <@gnolam> | Remember the cozy beta crackle from yesterday? |
15:11 | <@gnolam> | Well, now this is radiation SHOULD be like: http://www.lysator.liu.se/~gnolam/temp/beta_OH_SH....wav |
15:16 | <@TheWatcher> | snerk |
15:17 | <@SmithKurosaki> | Nice file name |
15:17 | <@gnolam> | Named For Truth. |
15:18 | <@gnolam> | Phosphorus-33 at a distance of reconsider-getting-children cm. |
15:21 | <@SmithKurosaki> | nice |
16:04 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out] |
16:04 | | SmithKurosaki [~Smith@Nightstar-10853.dsl.teksavvy.com] has quit [Operation timed out] |
16:06 | | Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code |
16:06 | | SmithKurosaki [~Smith@Nightstar-10074.dsl.teksavvy.com] has joined #code |
16:06 | | mode/#code [+o SmithKurosaki] by ChanServ |
16:07 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
16:07 | | mode/#code [+o ToxicFrog] by ChanServ |
16:07 | | Syloqs_AFH is now known as Syloqs-AFH |
17:16 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Quit: Leaving] |
17:24 | | Thaqui [~Thaqui@121.98.166.ns-22683] has quit [Client exited] |
17:29 | | * TheWatcher vaguely ponders just making SDL_mutexP/mutexV failures outright kill the system, as they're only going to happen when things are Very Wrong Indeed. |
17:31 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has joined #code |
17:37 | | Attilla [~The.Attil@92.19.140.ns-11540] has quit [Connection reset by peer] |
17:38 | | Attilla [~The.Attil@92.19.140.ns-11540] has joined #code |
17:38 | | mode/#code [+o Attilla] by ChanServ |
17:47 | | NSGuest-1223 [Vornicus@Admin.Nightstar.Net] has joined #code |
17:48 | | NSGuest-1223 is now known as Vornicus |
17:56 | | Attilla [~The.Attil@92.19.140.ns-11540] has quit [Connection reset by peer] |
17:57 | | Attilla_ [~The.Attil@92.19.140.ns-11540] has joined #code |
17:57 | | Attilla_ [~The.Attil@92.19.140.ns-11540] has quit [Connection reset by peer] |
17:58 | | Attilla [~The.Attil@92.19.140.ns-11540] has joined #code |
17:58 | | mode/#code [+o Attilla] by ChanServ |
18:08 | | Derakon[AFK] is now known as Derakon |
18:40 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has quit [Ping Timeout] |
18:45 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has joined #code |
21:22 | | McMartin[adventures] [~mcmartin@Nightstar-19418.dsl.pltn13.sbcglobal.net] has quit [Operation timed out] |
21:43 | | Namegduf [namegduf@82.25.200.ns-12231] has quit [Quit: Rebooting.] |
22:05 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has quit [Quit: Rhamphoryncus] |
22:26 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has joined #code |
22:58 | | UndeadAnno [AnnoDomini@Nightstar-29648.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
23:05 | | UndeadAnno [AnnoDomini@Nightstar-27958.neoplus.adsl.tpnet.pl] has joined #Code |
23:05 | | mode/#code [+o UndeadAnno] by ChanServ |
23:25 | | Thaqui [~Thaqui@121.98.166.ns-22683] has joined #code |
23:25 | | mode/#code [+o Thaqui] by ChanServ |
--- Log closed Fri Jul 03 00:00:55 2009 |