--- Log opened Fri May 11 00:00:18 2007 |
00:03 | <@Vornicus> | pfff |
00:09 | <@ToxicFrog|wr0k> | Pffftftfft |
00:11 | <@Vornicus> | ARG ARG ARG |
00:11 | <@Vornicus> | ONE FUCKING PROJECT AT A TIME |
00:14 | | * Vornicus found himself opening up his folder with Uplink crap in it. |
00:34 | | Vornicus is now known as Vornicus-Latens |
01:05 | | ToxicFrog|wr0k is now known as ToxicFrog |
01:42 | | Syloq [Syloq@Admin.Nightstar.Net] has joined #code |
01:48 | | [0]ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
01:49 | | [0]ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Client exited] |
02:01 | | * ToxicFrog eyes TASvideos |
02:02 | <@ToxicFrog> | Under contstruction: Super Mario 64 CCC - Coinless, Cannonless, Capless |
02:17 | | * ToxicFrog eyes the GPG forums |
02:17 | | * ToxicFrog modifies his .sig to include a link to the Lua manual |
02:20 | | GeekSoldier [~Rob@Nightstar-3635.pools.arcor-ip.net] has left #code [] |
02:30 | | gnopub is now known as gnolam |
03:12 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: Z?] |
03:19 | | Vornicus-Latens is now known as Vornicus |
03:20 | < squeak|afk> | Poke. |
03:20 | | squeak|afk is now known as squeak |
03:24 | < MyCatVerbs> | Shub Nigguarath, the Black Goat with a Thousand Young. |
03:24 | < MyCatVerbs> | Not Cthulhu. ^^ |
03:24 | < MyCatVerbs> | Er, Quake 1, I mean. |
03:25 | <@ToxicFrog> | aie |
03:25 | <@ToxicFrog> | squeak: this project has kind of snowballed, I'm writing an interactive configurator for it now @.@ |
--- Log closed Fri May 11 03:33:12 2007 |
--- Log opened Fri May 11 03:36:28 2007 |
03:36 | | TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
03:36 | | Irssi: #code: Total of 14 nicks [6 ops, 0 halfops, 0 voices, 8 normal] |
03:36 | | Doctor_Nick [~dgsda@12.11.93.ns-3325] has joined #code |
03:36 | | Irssi: Join to #code was synced in 25 secs |
03:37 | < squeak> | I went to IIT for three semesters for computer science, but didn't find it that interesting so I moved onto Industrial Technology at Eastern Illinios. |
03:37 | < squeak> | Just graduated. No job. Decide it's my best interest to break into the gaming industry somehow. I'm hoping I can absorb lua quickly and throw it on my resume. |
03:39 | | * ToxicFrog nods |
03:40 | < squeak> | Now that you know this, as is ritual in my country, we are married. |
03:41 | <@ToxicFrog> | Aah. Well, now that we are married, I am honor bound by the customs of my brood-hive to lay thousands of eggs in your ribcage. |
03:42 | < squeak> | Thousands? I thought you were a real mate! I expected hundreds of thousands! The hendersens have two hundred down the street! |
03:42 | < Doctor_Nick> | squeak: I hear that game industry guys are treated pretty poorly compared to other programmers |
03:43 | < squeak> | And there inlies the dilema. I'm really only productive when I'm doing something I enjoy. I wouldn't last very long doing anything else. |
03:44 | < squeak> | ...two hundred ^thousand down... |
03:44 | < Doctor_Nick> | how do you know that you'll enjoy it? |
03:44 | < Doctor_Nick> | or have you programmed games and such before? |
03:44 | < squeak> | Won't know till I try it! |
03:44 | < Doctor_Nick> | ok then |
03:45 | < Doctor_Nick> | Just know that its a shitton of work just to get hired |
03:45 | < squeak> | Well, I've programmed portals, some java apps, and some xml things. All of which weren't that fun to do. |
03:46 | < Doctor_Nick> | for example, my friend wants to get an internship at EA: The requirements are (he tells me) that he program a game in either OpenGL or DirectX, at least 10 thousand lines of code, and all his work is unpaid |
03:47 | <@ToxicFrog> | That's EA, though. |
03:47 | <@ToxicFrog> | Which treats both its developers and its customers with barely veiled contempt. |
03:47 | < squeak> | Ha. |
03:48 | < squeak> | You know writing a Mod using the HL/HL2 engine probably counts ;) |
03:48 | < squeak> | Or a dozen other FPS engines |
03:48 | < squeak> | Are you guys familiar with Natural Selection, HL mod? |
03:48 | <@ToxicFrog> | Natural Selection rocked so hard until the lamers found out about it. |
03:49 | < squeak> | Heh. I'm pretty involved with that as a playtester and community moderator. |
03:49 | < Doctor_Nick> | ToxicFrog: yeah, so I'm guessing that's worse case scenario |
03:49 | < Doctor_Nick> | but still |
03:49 | < Doctor_Nick> | im betting thats sort of characterstic of the type of stuff you'll face in trying to break in to the gaming industry |
03:50 | < Doctor_Nick> | ok thats way too many qualifiers |
03:50 | < Doctor_Nick> | lets drop "sort of" |
03:50 | < squeak> | My nearest industry giant is Midway Games, so I'm hoping for a Qualtiy Assurance Tester position. Low pay, low respect, but some insight into the industry. |
03:51 | < squeak> | Doctor_Nick, they can do that though. The market is probably saturated with "zomg I want to make game" morons who picked up a learn c++ in 24 hours book and think they know it all. |
03:51 | | Vornicus is now known as IanMusgrave |
03:53 | < Doctor_Nick> | squeak: its not so much how skilled you are |
03:53 | < squeak> | And for the record, I STILL can't get this texture to shadow in game. |
03:53 | < Doctor_Nick> | its how much you're willing to work and suffer |
03:53 | < Doctor_Nick> | what your pain threshold is, basically |
03:53 | < squeak> | Isn't that like marriage ;) |
03:53 | < Doctor_Nick> | its too late to come up with a witty rejoinder |
03:54 | < Doctor_Nick> | so ill just say yes |
03:54 | < squeak> | If I can survive marriage I think I can hack a few geeks working me to the bone ;) |
03:54 | < Doctor_Nick> | i think you should read a few game developer blogs and see what you think |
03:55 | < squeak> | And ruin the surprise? |
03:55 | < Doctor_Nick> | only fools want to surprised |
03:56 | < squeak> | Haha, Ok Doc! I give! Did you have a bad experience working for a game company? |
03:57 | < Doctor_Nick> | No, im just a student |
03:58 | < squeak> | ToxicFrog, do you have a working version yet or are you still adding bells and whistles? |
03:58 | < Doctor_Nick> | but I've read accounts of people working in the industry and they're not pretty |
03:58 | < squeak> | Well for now, I'll take the leap. IF I get in, and IF it's a horrible creature that is sucking the life out of me, I'll just get out :) |
03:59 | < Doctor_Nick> | ok |
04:04 | < squeak> | ToxicFrog, do you have a working example of a shadow fix? |
04:06 | <@ToxicFrog> | What shadow fix? |
04:06 | <@ToxicFrog> | I'm not working on anything of the kind, I haven't been able to come up with a way to fix it. |
04:10 | < squeak> | Do you know of an example of where someone got it to work? I've been messing with the data path file per a few suggestions, and the shortcut /data attribute but so far have been unsuccesful. |
04:10 | | Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, les jouets de me, na?tre Clair enfant voire.] |
04:11 | <@ToxicFrog> | Oh. Yes, that. |
04:11 | <@ToxicFrog> | I've gotten it working myself. |
04:11 | <@ToxicFrog> | How isn't it working for you? |
04:11 | | ReivZzz is now known as Reiver |
04:14 | < squeak> | Ha, if I only knew! |
04:15 | < squeak> | I've created the mod like normal, then added the path name into the SupComDataPath.lua file |
04:16 | <@ToxicFrog> | So it looks something like: |
04:16 | <@ToxicFrog> | path = { |
04:16 | <@ToxicFrog> | '../mods/modname/shadow', |
04:16 | <@ToxicFrog> | '../gamedata/*.scd', |
04:16 | <@ToxicFrog> | '..', |
04:16 | <@ToxicFrog> | } |
04:19 | < squeak> | that's what I've got |
04:19 | < squeak> | I even tried all the way down through the file directory to the file itself |
04:21 | < squeak> | and similiarly using the command line method via the shortcut. |
04:22 | <@ToxicFrog> | Where are your files located? |
04:22 | <@ToxicFrog> | Also, keep in mind that this will not work if they're packed into an SCD. |
04:25 | < squeak> | AH. |
04:25 | < squeak> | AH HA. |
04:26 | < squeak> | Well that may be it. |
04:28 | < squeak> | Well I'll be a sonofabitch. |
04:28 | < squeak> | Works now. |
04:29 | <@ToxicFrog> | Heh. |
04:31 | < squeak> | Wow, that was frustrating. |
04:31 | <@ToxicFrog> | The way it handles SCDs is kind of different, as as you can see from the path{} given - each listed scd is unpacked into the filespace and looked at directly. You can't specify paths inside them. |
04:32 | <@ToxicFrog> | It might have worked if you had put it in mod.scd/ rather than mod.scd/shadow/ and then done something like: |
04:32 | <@ToxicFrog> | { '../gamedata/mod.scd', '../gamedata/*.scd' } |
04:32 | <@ToxicFrog> | But then again possibly not. |
04:34 | < squeak> | wait... if all those files are unpacked anyways what the hell was the point in putting them all in .scd files? |
04:34 | <@ToxicFrog> | Um. |
04:34 | <@ToxicFrog> | Unpacked into memory, I mean. |
04:35 | <@ToxicFrog> | And the point of putting them in .scd files is so that you can easily manipulate and transfer related files as a single object. |
04:35 | < squeak> | Even so, I mean it seems like a wast of cpu cycles |
04:37 | <@IanMusgrave> | File manipulation is - compared to all the other crap it does - incredibly cheap. |
04:37 | <@ToxicFrog> | ...how else does it get at the files inside them? |
04:37 | <@ToxicFrog> | It has to read the SCDs at some point. |
04:37 | <@ToxicFrog> | And this is a one-time cost; it happens when the game loads. |
04:39 | < squeak> | The same way, only they aren't packed up? |
04:40 | <@ToxicFrog> | ...this conversation isn't making a lot of sense. |
04:40 | < squeak> | With magical ferries in the lollipop kingdom. |
04:40 | < squeak> | It just seems, to me, that it isn't neccessary to pack them all up. |
04:41 | < squeak> | Especially from a person who wants to get at them all ;) |
04:41 | <@ToxicFrog> | necessary, no. But it makes things faster, smaller, and easier to move around. |
04:42 | <@ToxicFrog> | The drawback is that it makes it harder to /work/ on, which is why you edit them unpacked and only pack them into SCD form for release. |
04:42 | <@ToxicFrog> | (and yes, faster. Even without mmap(), it's faster to read a single 700MB file than a thousand 700KB files) |
04:43 | < squeak> | All theory here, but what is keeping me from unpacking them all anyways and modifying SupComDataPath.lua to point to the file structure and not the .scd files? |
04:43 | <@ToxicFrog> | Absolutely nothing. |
04:43 | < squeak> | Gotcha. |
04:43 | <@ToxicFrog> | In fact, if you unpacked them to your SupComm main directory and deleted gamedata, everything would just work. |
04:44 | <@ToxicFrog> | That's what the final '..' entry in the list of paths is for. |
04:44 | < squeak> | that's just crazy talk now. |
04:44 | <@ToxicFrog> | It would take up a bit more room and it would load slightly slower, but apart from that you wouldn't see any difference. |
04:45 | < squeak> | So you are telling me it's easier to load a packed file into memory then a directory? |
04:45 | <@IanMusgrave> | (I remember seeing an article many years ago, describing how it was now faster to use compressed files even from the hard drive, because unpacking is cheaper than waiting for data) |
04:45 | < squeak> | I would love to read something on that. |
04:45 | <@IanMusgrave> | (and this was a decade ago. hard drive speed has not improved that much) |
04:46 | <@ToxicFrog> | Easier, usually, although it depends on the filesystem API. Faster, definitely - you don't need to open() and close() large numbers of files, it will all be located at roughly the same region on disk (if the filesystem is decent and/or the defragmenter is working), etc |
04:47 | <@ToxicFrog> | In this case it's not even compressed, so finding a given file in the SCD is basically a matter of searching the table of contents, then calling fseek() and fread() |
04:47 | <@ToxicFrog> | If you're on an OS with mmap(), you don't even need that, it's direct memory access. |
04:49 | < squeak> | So this is what the program you are writing will do, unpack those .scd files to a seperate directory, check for updates on the .scd files and unpack those files as neccessary, and repack mods when you want to publish a mod? |
04:49 | <@ToxicFrog> | It won't do any repacking. |
04:49 | <@ToxicFrog> | What it does is: |
04:49 | <@ToxicFrog> | - check a list of SCD files against the directory contents |
04:49 | <@ToxicFrog> | - if one of the files hasn't been unpacked, or has been updated more recently than it was unpacked, unpack it |
04:50 | <@ToxicFrog> | - provide a convenient interface for searching in the unpacked files |
04:50 | <@ToxicFrog> | The searching is its main focus, the auto-unpack is just a nice side feature. |
04:52 | < squeak> | Gotcha. Well if you want to snowball it some more you might as well go at it! |
04:53 | <@ToxicFrog> | (besides, don't we already have programs for mod management?) |
04:54 | < squeak> | I didn't notice anything for development though. |
04:58 | <@ToxicFrog> | Huh. |
05:01 | < squeak> | Yes there are (2?) mod management programs (enable/disable) but nothing that I've seen that lets you publish a mod. I think I need to look into making a plugin for textpad. |
05:01 | < squeak> | Anyways |
05:02 | < squeak> | On to other things. I'll catch you all later. Nice chatting with you guys. |
05:02 | | squeak [~David@Nightstar-24056.hsd1.il.comcast.net] has quit [Quit: Connection reset by anthrax.] |
05:14 | | Thaqui [~Thaqui@Nightstar-26992.jetstream.xtra.co.nz] has quit [Quit: Leaving] |
05:18 | | Doctor_Nick [~dgsda@12.11.93.ns-3325] has quit [Ping Timeout] |
05:26 | | Reiver is now known as ReivOut |
05:38 | | * ToxicFrog eyes the fuck out of unzip(1) |
05:38 | <@ToxicFrog> | 'unzip' doesn't work |
05:38 | <@ToxicFrog> | '/bin/unzip' doesn't work |
05:38 | <@ToxicFrog> | './unzip' doesn't work |
05:38 | <@ToxicFrog> | '/c/cygwin/msys/home/ben/test/bin/unzip' works |
05:38 | <@ToxicFrog> | Note that these are all the same file. |
05:44 | | * ToxicFrog switches to eyeing the fuck out of mingw, since other programs are doing it too |
05:44 | <@ToxicFrog> | But not, interestingly, programs packaged with mingw. |
06:18 | | IanMusgrave is now known as Vornicus |
06:21 | | MyCatVerbs [~mycatownz@Nightstar-13709.lurkingfox.co.uk] has quit [Ping Timeout] |
06:22 | | MyCatVerbs [~mycatownz@Nightstar-13709.lurkingfox.co.uk] has joined #code |
06:33 | | Syloq [Syloq@NetAdmin.Nightstar.Net] has quit [Connection reset by peer] |
07:58 | | GeekSoldier [~Rob@Nightstar-3635.pools.arcor-ip.net] has joined #code |
08:06 | | ReivOut is now known as Reiver |
08:08 | | MyCatVerbs [~mycatownz@Nightstar-13709.lurkingfox.co.uk] has quit [Operation timed out] |
08:09 | | MyCatVerbs [~mycatownz@Nightstar-13709.lurkingfox.co.uk] has joined #code |
08:45 | | Vornicus is now known as Vornicus-Latens |
08:50 | | KBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has joined #Code |
08:51 | | KarmaBot [~karma.bot@Nightstar-29066.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
08:53 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has joined #Code |
08:53 | | KBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
09:18 | | You're now known as TheWatcher |
10:13 | < TheWatcher> | Hm, anyone know if it's possible to md5sum the files inside a tar archive /without/ unpacking it to the filesystem? |
10:21 | | Chalcedon [~Chalcedon@Nightstar-2310.ue.woosh.co.nz] has quit [Quit: Gone] |
11:11 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
11:11 | | mode/#code [+o gnolam] by ChanServ |
11:13 | | AnnoDomini [~farkoff@Nightstar-28969.neoplus.adsl.tpnet.pl] has joined #Code |
11:13 | | mode/#code [+o AnnoDomini] by ChanServ |
11:38 | | AnnoDomini is now known as YhhuTusehe |
11:38 | | YhhuTusehe is now known as AnnoDomini |
12:01 | <@ToxicFrog> | TheWatcher: not without abusing ramfs, I think |
12:01 | <@ToxicFrog> | That is to say, you still have to unpack them, but you can unpack them into memory if you like. |
12:09 | | Vornicus-Latens [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout] |
12:10 | | MahalGone is now known as Mahal |
12:19 | < TheWatcher> | Well, since the smallest of the tars is 4GB when it's bzipped... I've just been unpacking them :/ |
13:02 | <@AnnoDomini> | I don't suppose any of you folks are familiar with MAX+plus II? |
13:22 | | ToxicFrog is now known as ToxicFrog|wr0k |
13:28 | <@ToxicFrog|wr0k> | TheWatcher: tar tjf file.tar.bz2 | xargs -I__ARG__ bash -c 'cd tmpdir && tar xjvf file.tar.bz2 __ARG__ && md5sum __ARG__ && rm -f __ARG__' |
13:28 | <@ToxicFrog|wr0k> | Put tmpdir on a ramdisk and there you go. |
13:29 | < TheWatcher> | Hm, thanks. |
13:29 | <@ToxicFrog|wr0k> | That may need more tuning, I've never had great luck with bash -c, but that's the basic idea; use tar -t to get a list of the files, then unpack them one by one, md5sum and clean them up afterward. |
13:30 | <@ToxicFrog|wr0k> | Argh, why the hell is HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP defined when I don't have PTHREAD_MUTEX_ROBUST_NP? |
13:32 | | GeekSoldier [~Rob@Nightstar-3635.pools.arcor-ip.net] has quit [Ping Timeout] |
13:32 | | GeekSoldier [~Rob@Nightstar-3635.pools.arcor-ip.net] has joined #code |
13:35 | | Chalain [~chalain@Admin.Nightstar.Net] has joined #Code |
13:35 | | mode/#code [+o Chalain] by ChanServ |
14:24 | | Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has joined #code |
14:24 | | mode/#code [+o Pi] by ChanServ |
14:32 | | Thaqui [~Thaqui@Nightstar-26992.jetstream.xtra.co.nz] has joined #code |
14:32 | | mode/#code [+o Thaqui] by ChanServ |
15:22 | | Thaqui [~Thaqui@Nightstar-26992.jetstream.xtra.co.nz] has left #code [Leaving] |
15:52 | | Thaqui [~Thaqui@Nightstar-26992.jetstream.xtra.co.nz] has joined #code |
15:52 | | mode/#code [+o Thaqui] by ChanServ |
15:55 | | Thaqui [~Thaqui@Nightstar-26992.jetstream.xtra.co.nz] has left #code [Leaving] |
16:20 | | Raif [~corvusign@Nightstar-22484.hsd1.ca.comcast.net] has joined #Code |
16:20 | | mode/#code [+o Raif] by ChanServ |
16:32 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: ] |
16:33 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
16:33 | | mode/#code [+o gnolam] by ChanServ |
16:50 | | Reiver is now known as ReivZzz |
17:19 | | You're now known as TheWatcher[afk] |
17:34 | | Vornicus [~vorn@67.50.40.ns-3674] has joined #code |
17:34 | | mode/#code [+o Vornicus] by ChanServ |
17:36 | | ReivZzz is now known as ReivSLEP |
17:56 | | GeekSoldier_ [~Rob@Nightstar-3430.pools.arcor-ip.net] has joined #code |
17:57 | | GeekSoldier [~Rob@Nightstar-3635.pools.arcor-ip.net] has quit [Ping Timeout] |
--- Log closed Fri May 11 17:59:18 2007 |
--- Log opened Fri May 11 17:59:31 2007 |
17:59 | | TheWatcher[afk] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
17:59 | | Irssi: #code: Total of 15 nicks [9 ops, 0 halfops, 0 voices, 6 normal] |
17:59 | | Irssi: Join to #code was synced in 31 secs |
18:01 | | ReivSLEP is now known as ReivSLEP2 |
--- Log closed Fri May 11 18:03:11 2007 |
--- Log opened Fri May 11 18:05:01 2007 |
18:05 | | TheWatcher[afk] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
18:05 | | Irssi: #code: Total of 15 nicks [9 ops, 0 halfops, 0 voices, 6 normal] |
18:05 | | Irssi: Join to #code was synced in 33 secs |
18:11 | | GeekSoldier_ is now known as GeekSoldier |
18:24 | | jerith_ [~jerith@IRCop.Nightstar.Net] has joined #code |
18:25 | | jerith_ is now known as jerith |
18:33 | | AnnoDomini is now known as Lerhir |
18:36 | | You're now known as TheWatcher |
19:38 | | MyCatVerbs [~mycatownz@Nightstar-13709.lurkingfox.co.uk] has quit [Operation timed out] |
19:38 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
19:38 | | EvilDarkLord [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has quit [Ping Timeout] |
19:38 | | MyCatVerbs [~mycatownz@Nightstar-13709.lurkingfox.co.uk] has joined #code |
19:41 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has joined #Code |
19:41 | | EvilDarkLord [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has joined #code |
19:42 | | EvilDarkLord is now known as NSGuest-1873 |
20:05 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer] |
20:08 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has joined #Code |
20:08 | < MyCatVerbs> | Mmm, anyone sane care to lecture me on whether or not this idea is good OO practice: (always?) declaring your functions to return objects of the most primitive base class that makes sense rather than the specific derived class they actaully return? |
20:08 | < MyCatVerbs> | Er, please? |
20:09 | <@ToxicFrog|wr0k> | ...why would this be useful? |
20:10 | <@ToxicFrog|wr0k> | You want the most specific class that encompasses its entire return set, for better signature matching; you can always upcast in the caller. |
20:11 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
20:11 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has joined #Code |
20:11 | | NSGuest-1873 [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has quit [Ping Timeout] |
20:12 | | EvilDarkLord [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has joined #code |
20:12 | < MyCatVerbs> | Dunno. M'reading this http://www.garshol.priv.no/blog/105.html and I'm trying to work out if the second point is the least bit sane or not. |
20:13 | < MyCatVerbs> | (Or, Heck, have I misunderstood it.) |
20:13 | | EvilDarkLord is now known as NSGuest-1874 |
20:16 | <@ToxicFrog|wr0k> | Aah. Yes. |
20:16 | <@ToxicFrog|wr0k> | This does make sense. |
20:17 | <@ToxicFrog|wr0k> | The idea here is that if you need to return an X, declare that in the signature even if internally all it uses is SpecificTypeOfX. |
20:17 | < MyCatVerbs> | Oookies. |
20:19 | | * ToxicFrog|wr0k really doesn't know how to explain it better than it's already explained |
20:19 | <@ToxicFrog|wr0k> | But it's another aspect of "expose the interface, not the implementation" |
20:19 | <@ToxicFrog|wr0k> | The way I originally read your statement was "always return Object", which is, umm. |
20:19 | < MyCatVerbs> | Thank you. |
20:20 | | NSGuest-1874 [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has quit [Ping Timeout] |
20:20 | < MyCatVerbs> | Ahhh, heehee. I was thinking "return Human instead of Lawyer if all you're writing is SimulateMassiveExplosion, even if Lawyers are your ballistic baseline) |
20:23 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer] |
20:23 | | NSGuest-1875 [~jjlehto3@Nightstar-2194.vipunen.hut.fi] has joined #code |
20:24 | | KarmaBot [~karma.bot@Nightstar-28969.neoplus.adsl.tpnet.pl] has joined #Code |
20:28 | | GeekSoldier is now known as Inquisitor |
20:30 | | Inquisitor is now known as GeekSoldier |
20:57 | | Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #code |
21:04 | | Chalcedon [~Chalcedon@Nightstar-2310.ue.woosh.co.nz] has joined #code |
21:04 | | mode/#code [+o Chalcedon] by ChanServ |
22:01 | | Lerhir is now known as AnnoDomini |
22:36 | | You're now known as TheWatcher[T-2] |
22:40 | | You're now known as TheWatcher[zZzZ] |
22:40 | | McMartin [~mcmartin@Nightstar-6608.dsl.pltn13.sbcglobal.net] has joined #code |
22:40 | | mode/#code [+o McMartin] by ChanServ |
22:41 | | * McMartin comes seeking beta testers |
22:41 | < GeekSoldier> | for what? |
22:41 | < MyCatVerbs> | UQM? SoC? |
22:41 | <@McMartin> | Blorple. A PyGTK-based application for Linux, and more importantly, its installer. |
22:41 | <@McMartin> | It's a browser for IF metadata files. |
22:42 | <@McMartin> | So preferably someone who already has some .zblorb files floating around on their system. |
22:46 | | Thaqui [~Thaqui@Nightstar-26992.jetstream.xtra.co.nz] has joined #code |
22:46 | | mode/#code [+o Thaqui] by ChanServ |
22:46 | <@McMartin> | http://www.stanford.edu/~mcmartin/if/blorple.png <-- screenshot |
22:47 | < GeekSoldier> | ah, in that case, I ho not believe I can help much. |
22:48 | <@ToxicFrog|wr0k> | SoC? |
22:49 | <@McMartin> | I don't think I have a project with that acronym. |
22:49 | <@Vornicus> | I do. |
22:50 | | NSGuest-1875 is now known as EvilDarkLord |
22:50 | <@Vornicus> | (Settlers of Catan) |
22:51 | | * Vornicus has no blorbs, and is not on linux. |
22:51 | <@Vornicus> | But that is quite pretty. |
23:02 | | Forjadon [~Forjadon@Nightstar-2310.ue.woosh.co.nz] has joined #code |
23:02 | | mode/#code [+o Forjadon] by ChanServ |
23:10 | | * ToxicFrog|wr0k , as a result of unrelated research, figures out how to implement curses using nothing but echo and read |
23:10 | <@Vornicus> | madness |
23:10 | <@AnnoDomini> | Interesting. |
23:10 | <@Vornicus> | upon madness. |
23:11 | <@ToxicFrog|wr0k> | I'm not going to actually do so. |
23:11 | <@ToxicFrog|wr0k> | Yet. |
23:11 | <@AnnoDomini> | Madness? THIS IS MUSHROOM KINGDOM! |
23:11 | <@Vornicus> | "yet" he says. |
23:11 | | * AnnoDomini chuckles. |
23:11 | <@McMartin> | TF! Help test Blorple! |
23:12 | <@ToxicFrog|wr0k> | Although, actually, some of these sequences (CHA, DSR) could be of use, in addition to the SGR that I was already researching. |
23:12 | <@ToxicFrog|wr0k> | I have no zblorbs and no pyGTK! |
23:12 | <@McMartin> | That's less curses and more terminfo |
23:12 | <@ToxicFrog|wr0k> | I thought terminfo was just for capabilities analysis? |
23:12 | <@McMartin> | It gives you the control codes, too. |
23:13 | <@McMartin> | nfrotz uses them to h4xx0r the status line. |
23:14 | <@ToxicFrog|wr0k> | There does not seem to be a convenient way to access them from bash other than parsing the terminfo files by hand, though. |
23:16 | <@ToxicFrog|wr0k> | Anyways. Groceries! |
23:18 | | Vornicus is now known as Vornicus-Latens |
23:33 | | * McMartin does a preliminary release of http://blorple.sf.net/ |
23:33 | | * McMartin has no idea how robust that installer script is, though. |
23:34 | < MyCatVerbs> | What dependencies does it have? |
23:36 | <@McMartin> | Python, PyGTK 2.0+. |
23:36 | <@McMartin> | The app itself, that is. |
23:36 | <@McMartin> | The installer should stand on its own |
23:36 | <@McMartin> | Though it checks for the PyGTK modules and ought to bitch if they aren't there. |
23:37 | < MyCatVerbs> | Installing Python 2.4 and Py-GTK2-2.8.6 now. |
23:40 | < MyCatVerbs> | Assuming my internet connection feels like it, that is. |
23:40 | <@McMartin> | You'll also need some .zblorb files so it has something to browse: http://www.inform-fiction.org/I7/About%20IF%20-%20Anthology.html has a number of them. |
23:42 | < MyCatVerbs> | ! Thank you very much. |
23:42 | <@McMartin> | ("blorple {DIR}" will scan that dir and its subdirs for zblorbs.) |
23:42 | <@McMartin> | (Eventually it will keep a proper index of them itself, a la XMMS, but for now it just scans wherever.) |
23:43 | < MyCatVerbs> | Spiffy. |
23:43 | <@McMartin> | Of the ones on that page, Savoir-Faire and Spider&Web are the best. |
23:43 | <@McMartin> | S&W doesn't have coverart, though, so it's not as good for showing off Blorple~ |
23:44 | | * MyCatVerbs reads prior to installi-holy shit. |
23:44 | < MyCatVerbs> | Python really *is* beautiful to read. |
23:44 | <@McMartin> | ? |
23:45 | <@McMartin> | Oh. |
23:47 | <@McMartin> | blorple.py itself is kind of a heinous mess, but. |
23:48 | | * McMartin did a fair amount of programming-by-Ctrl-Y. |
23:48 | < MyCatVerbs> | Installs fine. |
23:48 | < MyCatVerbs> | As for working, um, I'll give you a screenshot. |
23:48 | <@McMartin> | (Any interesting console spam from the app?) |
23:50 | < MyCatVerbs> | Error reading ./Blah.zblorb |
23:51 | <@McMartin> | Hmm. What's its size? |
23:51 | < MyCatVerbs> | It's giving that message for all six zblorbs in the directory. |
23:51 | < MyCatVerbs> | Note that for four of them, it does display pictures. |
23:52 | <@McMartin> | Can you give me name and filesize? |
23:52 | < MyCatVerbs> | -rw-r--r-- 1 mycatownz mycatownz 390K May 11 23:42 Adventure.zblorb |
23:53 | < MyCatVerbs> | And the picture for it is correctly shown, though. Also, I'm (hopefully) DCCing a screenshot to you. Apologies for the file size. |
23:54 | <@McMartin> | Geh, stalled. |
23:54 | <@McMartin> | email it to mcmartin@gmail.com, if you would |
23:54 | < MyCatVerbs> | Good idea. |
23:56 | < MyCatVerbs> | Apologies for the wait, mozilla likes to take its time. |
23:56 | <@McMartin> | Hmm. The error you're getting is in the XML parser. |
23:57 | <@McMartin> | Can you do "grep -l bibliographic *.zblorb" for me? |
23:58 | < MyCatVerbs> | Adventure.zblorb |
23:58 | < MyCatVerbs> | Curses.zblorb |
23:58 | < MyCatVerbs> | ... |
23:58 | < MyCatVerbs> | For all six zblorb files. |
23:58 | <@McMartin> | So, all of them, basically. |
23:58 | <@McMartin> | OK, so much for that theory. |
23:59 | < MyCatVerbs> | Just sent that email. |
--- Log closed Sat May 12 00:00:18 2007 |