--- Log opened Wed May 21 00:00:57 2008 |
00:03 | | You're now known as TheWatcher[T-2] |
00:05 | | You're now known as TheWatcher[zZzZ] |
01:05 | <@ToxicFrog> | yaye |
01:05 | <@ToxicFrog> | I've successfully done my first merge using git |
01:05 | <@Vornicus> | yaye |
01:07 | <@ToxicFrog> | I've also broken the spellbook with the changes I've merged in~ |
01:08 | <@ToxicFrog> | There we go! |
01:11 | <@Vornicus> | cute |
01:11 | <@McMartin> | Perhaps you should dual-wield the spellbook with SWORD HALBERD. |
01:12 | | * ToxicFrog checks in and commits a version of spellcast that behaves pretty much indistinguishably from the previous version, but lays the groundwork for the fast-spell list and more general handling of spellbooks. |
01:12 | <@McMartin> | Yay! |
01:12 | <@McMartin> | Is the repo publically available? |
01:12 | <@ToxicFrog> | McMartin: congratulations, you've just perpetrated an easter egg~ |
01:13 | <@ToxicFrog> | git://orias.homeip.net/ben/spellcast.git, IIRC |
01:13 | <@ToxicFrog> | Warning: dependencies not included |
01:13 | <@McMartin> | "When will your reign of madness end, death cannon?" |
01:13 | <@ToxicFrog> | But they should be available at util.git and gtk-server.git respectively |
01:15 | <@ToxicFrog> | It was actually quite painless. |
01:15 | <@ToxicFrog> | Well, as far as git itself was concerned. |
01:16 | <@Reiver> | So, uh, how does stabbing people with daggers work? |
01:16 | <@Reiver> | Can ye defend against such trickery? |
01:16 | <@McMartin> | Pointy end goes in the other guy |
01:16 | <@McMartin> | The Shield spell (palm) blocks it. |
01:16 | <@Reiver> | Aah |
01:16 | <@ToxicFrog> | "git pull" said I had conflicts, I hit git-config to see if I could call an external conflict resolver (I could), $ git-config merge.tool meld && git-mergetool |
01:17 | <@ToxicFrog> | Circle of Protection will also work, as will preventing them from stabbing in the first place (Paralysis, Fear, Confusion, Amnesia, Charm Person, etc) |
01:17 | <@ToxicFrog> | Stuff like Counterspell won't, though, since it's not a spell. |
01:17 | <@McMartin> | Right. Anything that stops Physical damage will block it. |
01:17 | <@McMartin> | What does Stab paralyze to? |
01:17 | <@ToxicFrog> | The actual merge was kind of painful, because meld sucks, and I'm now looking for a different merge tool. |
01:18 | <@ToxicFrog> | (and one file had ~40 conflicts) |
01:18 | <@ToxicFrog> | And then once that was done, git commit && git push and it was dealt with. |
01:18 | <@ToxicFrog> | Let's see... |
01:19 | <@ToxicFrog> | Stab paralyzes to stab. |
01:19 | <@ToxicFrog> | So it's useful only if they weren't already stabbing. |
01:20 | <@ToxicFrog> | Or if being stabbed is preferable to, say, letting them finish casting Time Stop. |
01:24 | <@ToxicFrog> | Hmm. I need to figure out how to give GTK hints as to the initial size of a window. |
01:24 | <@Reiver> | I gather Time Stop is a fairly horrifying spell? |
01:26 | <@ToxicFrog> | Gives the target a free turn. No actions they take during this turn are visible (unless they affect the outside world); furthermore, any actions taken while timestopped completely bypass all forms of defence. |
01:26 | <@ToxicFrog> | It's not actually usable for, say, slipping a fireball through someone's shields, unless you combine it with Delayed Effect. |
01:26 | <@ToxicFrog> | It is, however, usable for getting a turn of gestures no-one can see, or letting your pet giant completely bypass an opponent's shields with their next attack. |
01:27 | <@Reiver> | How much is a turns worth? |
01:27 | <@ToxicFrog> | Depends. |
01:28 | <@ToxicFrog> | The main advantage is that no-one can see what gestures you made in that turn. |
01:28 | <@ToxicFrog> | It gives no speed advantage, since casting it takes four turns and five gestures. |
01:28 | <@ToxicFrog> | (although, again, combine with Delayed Effect and trigger it to get an extra turn when you really need it) |
01:29 | <@ToxicFrog> | Sadly, you can't cast Permanent Time Stop; TS is specifically excluded from the list of spells you can cast Permanancy on~ |
01:30 | <@Reiver> | Well, yes |
01:30 | <@Reiver> | It would be a tad broken otherwise :p |
01:30 | <@ToxicFrog> | Permanent Haste, however, is possible. |
01:31 | <@ToxicFrog> | (although it will take 13 gestures and at least 8 turns to pull that off) |
01:32 | <@Reiver> | (And you're likely to be stabbed in the face in the process~) |
01:32 | | * Reiver wonders, idly: Is this a game completely origional to you, TF, or is it based off something previous? |
01:34 | <@Vornicus> | Spellcast was originally created by Andrew Plotkin. |
01:34 | <@Vornicus> | or, actually, no, it was originally programmed by him. |
01:34 | <@ToxicFrog> | It's not "based on", it's pretty much a direct port of http://www.eblong.com/zarf/spellcast.html |
01:35 | <@ToxicFrog> | Spellcast for X11, by Andrew Plotkin. |
01:35 | <@ToxicFrog> | Which, in turn, is a straightforward implementation of the pencil-and-paper game "Spellbinder" by Richard Bartle. |
01:35 | <@Reiver> | Aaah, that was what I was wondering. |
01:35 | <@Reiver> | Cheers. :) |
01:42 | | gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?] |
04:50 | | JeffL [Kaline@Nightstar-1701.dsl.sndg02.pacbell.net] has quit [Connection reset by peer] |
06:02 | | NSGuest-6601 is now known as Doctor_Nick |
06:03 | | Doctor_Nick is now known as NSGuest-6610 |
06:08 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out] |
06:13 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
06:14 | | mode/#code [+o ToxicFrog] by ChanServ |
06:25 | | Thaqui [~Thaqui@Nightstar-711.jetstream.xtra.co.nz] has joined #code |
06:25 | | mode/#code [+o Thaqui] by ChanServ |
06:41 | | AnnoDomini [AnnoDomini@Nightstar-27925.neoplus.adsl.tpnet.pl] has joined #Code |
06:41 | | mode/#code [+o AnnoDomini] by ChanServ |
07:29 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out] |
07:31 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
07:31 | | mode/#code [+o ToxicFrog] by ChanServ |
08:14 | | gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code |
08:14 | | mode/#code [+o gnolam] by ChanServ |
08:28 | | You're now known as TheWatcher |
08:51 | | AnnoDomini [AnnoDomini@Nightstar-27925.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
09:47 | | AnnoDomini [AnnoDomini@Nightstar-29149.neoplus.adsl.tpnet.pl] has joined #Code |
09:47 | | mode/#code [+o AnnoDomini] by ChanServ |
11:01 | | Thaqui [~Thaqui@Nightstar-711.jetstream.xtra.co.nz] has left #code [Leaving] |
11:25 | | Chalcedon [~Chalcy@Nightstar-488.ue.woosh.co.nz] has quit [Quit: Leaving] |
13:12 | | AbuDhabi [AnnoDomini@Nightstar-29026.neoplus.adsl.tpnet.pl] has joined #Code |
13:13 | | AnnoDomini [AnnoDomini@Nightstar-29149.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
13:17 | | AbuDhabi [AnnoDomini@Nightstar-29026.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
13:20 | | AnnoDomini [AnnoDomini@Nightstar-29263.neoplus.adsl.tpnet.pl] has joined #Code |
13:20 | | mode/#code [+o AnnoDomini] by ChanServ |
13:37 | | GeekSoldier [~Rob@Nightstar-8550.dip.t-dialin.net] has quit [Ping Timeout] |
15:09 | | GeekSoldier [~Rob@Nightstar-9885.dip.t-dialin.net] has joined #code |
15:09 | | mode/#code [+o GeekSoldier] by ChanServ |
15:37 | <@gnolam> | There's a makefile... and the guy is still /including/ code? WTF? |
15:37 | <@ToxicFrog> | ? |
15:38 | <@gnolam> | C++ course. |
15:39 | <@gnolam> | I'm starting to have doubts about the exercise designer's sanity. |
16:23 | <@McMartin> | There is only one reason to #include code in C++, and it's for inline functions inside templates. |
16:37 | | C_tiger [~c_wyz@Nightstar-16806.nycmny.east.verizon.net] has left #code [] |
17:14 | | You're now known as TheWatcher[afk] |
17:27 | < jerith> | Don't you still need class defs and such? |
17:32 | <@ToxicFrog> | Code as opposed to declarations. |
17:39 | < jerith> | Ah. |
17:56 | <@McMartin> | That said, inlines are weird and putting them in the .h is the only safe way to do it. |
17:56 | <@McMartin> | Inline non-methods too, but I think those are fairly rare |
17:57 | <@McMartin> | In *C*, #including .c files is one of the ways to fake templates. |
18:02 | <@gnolam> | Fake templates? Explain. |
18:02 | <@gnolam> | I assume you're not just talking about using macros. |
18:03 | <@McMartin> | I am. That's all templates are. You #define a bunch of constants, then #include the .c file that uses token gluing to get function names and arguments out of it. |
18:09 | <@gnolam> | Token gluing? |
18:09 | | AnnoDomini is now known as Pete |
18:11 | <@McMartin> | So that you can define, say, #define list_type char |
18:11 | <@McMartin> | and then set it up so that this will define new_char_list, delete_char_list, add_to_char_list, etc. |
18:12 | <@McMartin> | The hashtable library we looted from somewhere for UQM's hashtables does this. |
18:14 | <@McMartin> | I suppose one could also turn the entire set of function definitions into Individual Macros From Hell but this seems like a bad idea. |
18:16 | <@McMartin> | I forget the precise syntax for gluing, but I think it's something like ##. |
18:16 | <@gnolam> | Ah, concatenation. Now I'm with you. |
18:17 | <@gnolam> | Never come across the phrase "token gluing" before. |
18:19 | | You're now known as TheWatcher |
18:31 | <@Pete> | jerith: You tried m-tunnel.com ? |
18:47 | <@Pete> | It's pretty good for obscuring where you are and who you are. |
18:48 | <@Pete> | Not that I understand what your problem with the forum is, exactly. |
18:58 | < jerith> | Pete: All http traffic goes through Telkom's transparent proxy pool. |
18:59 | < jerith> | Requests from this pool end up looking like they come from a bunch of different IPs. |
18:59 | <@Pete> | Owie. |
18:59 | <@Pete> | Your ISP sucks? |
18:59 | < jerith> | Each request comes from a different IP, essentially. |
18:59 | < jerith> | Our national telecomms monopoly, whos is pretty much everyone's upstream ISP. |
18:59 | < jerith> | *who is |
19:00 | <@ToxicFrog> | So it's not transparent as such. |
19:02 | < jerith> | It's transparent in that all traffic on port 80 is shoveled through it. |
19:02 | < jerith> | The client doesn't need to faff around with proxy settings and such. |
19:04 | <@Pete> | Well, then it looks like you truly need a tunnel through a sane country. |
19:04 | <@MyCatVerbs> | McMartin, gnolam: incidentally, libfftw does this, in order to have both single- and double-precision versions of the libraries without doubling the header sizes. |
19:05 | < jerith> | Pete: It's tricky. I don't want to have to bring up and maintain ssh tunnels every time I want to look at a web page. |
19:05 | <@MyCatVerbs> | Silly jerith. That's what your .xinitrc is for. ;) |
19:06 | < jerith> | MyCatVerbs: And when my net connection falls over? |
19:06 | <@MyCatVerbs> | jerith: start cryin'. :/ |
19:06 | <@Pete> | Coup de grace. |
19:06 | < jerith> | So, several time a day, then. |
19:06 | <@Pete> | Man, your country has a really flimsy ISP. |
19:07 | <@MyCatVerbs> | McMartin, gnolam: the EQ plugin for Gstreamer does it too, by the way, to generate appropriate microcode for working on streams of different precision (int16_t, float, etc) from one big ol' macro. |
19:07 | <@MyCatVerbs> | Pete: yes, that's the problem itself. |
19:07 | <@MyCatVerbs> | Pete: y'know how videos of MIT's SICP lectures are available free online? |
19:07 | <@ToxicFrog> | jerith: well, if your net connection falls over, you aren't browsing anyways |
19:07 | <@ToxicFrog> | so it's moot |
19:08 | <@MyCatVerbs> | ToxicFrog: yeah, it's just that that kills my stupid idea of establishing things in .xinitrc. |
19:08 | < jerith> | ToxicFrog: But it comes back up and I have to restart my tunnel. |
19:08 | <@MyCatVerbs> | Pete: all in all, there's about 12-ish gigabytes of video files there. |
19:08 | < jerith> | Meanwhile, all my pages have been killed. |
19:08 | <@ToxicFrog> | Well, if you use something like NX or xdetach or the like, your session is still running |
19:09 | < jerith> | With shortish blips (which we often have), things usually just take a bit longer rather than being reset. |
19:09 | <@ToxicFrog> | So then it's just a matter of rigging things to automatically reconnect to it |
19:09 | <@MyCatVerbs> | Pete: it was quicker for me to download them all from Bristol University in the UK, burn them to DVDs, put'm in the post and mail them to South Africa (on a cheap shipping rate, too) than it would've been for jerith to retrieve them himself. :) |
19:10 | <@MyCatVerbs> | Pete: that is not the mark of a good ISP, y'know? |
19:10 | <@ToxicFrog> | I have also observed that SSH can tolerate up to two minutes of total packet loss without dropping the connection. |
19:10 | < jerith> | MyCatVerbs: Orders of magnitude cheaper, too. |
19:10 | <@ToxicFrog> | So, you'd pretty much the same effect, except that the thing taking a bit longer would be the UI responding rather than the pages loading. |
19:10 | < jerith> | ToxicFrog: No, it's just the web proxy on the other end of the tunnel, not X. |
19:11 | <@MyCatVerbs> | jerith: hrmn. Four pounds and eight pence, if we include the cost for the DVDs. ;) |
19:11 | <@ToxicFrog> | jerith: I don't follow. |
19:11 | < jerith> | At abot 5 quid per gig for bandwidth... |
19:11 | <@MyCatVerbs> | ToxicFrog: aaaack, that would not be fun, though. Imagine X forwarding with as little bandwidth as jerith has available. Nicht so gut. |
19:11 | <@MyCatVerbs> | jerith: bloody Hell. |
19:12 | <@ToxicFrog> | you said the problem is that the connection routinely drops periodically. |
19:12 | <@MyCatVerbs> | jerith: tellya what, need anything else, gimme a yell. :P |
19:12 | <@ToxicFrog> | MyCatVerbs: so we use NX, which is wtfcompressible. |
19:12 | <@ToxicFrog> | Works even over dialup. |
19:12 | <@ToxicFrog> | And yes I have personally verified this. |
19:12 | <@MyCatVerbs> | ToxicFrog: that comes hand-in-hand with other things, like expensiveness and thinness of the connection. |
19:12 | < jerith> | ToxicFrog: Then I have to deal with 500+ms latency on everything. |
19:12 | <@ToxicFrog> | You're the one who originally suggested X forwarding! |
19:13 | < jerith> | It's barely tolerable on ssh. |
19:13 | <@MyCatVerbs> | ToxicFrog: no, you are. ;) |
19:13 | < jerith> | I didn't. |
19:13 | < jerith> | I suggested an ssh tunnel to a web proxy to bypass the Telkom crap. |
19:13 | <@MyCatVerbs> | ToxicFrog: jerith suggested forwarding the HTTP connections over SSH, not the X11. |
19:13 | < jerith> | I think you misunderstood. I wasn't all that clear. |
19:14 | <@ToxicFrog> | Aah. |
19:14 | <@ToxicFrog> | In that case I definitely don't see the problem. |
19:14 | <@ToxicFrog> | If the connection drops, either trust SSH's insane persistence, or put it in a while true loop. |
19:15 | <@ToxicFrog> | { while true; do ssh -L 8080:localhost:8080 user@proxy-host; done; } & |
19:16 | < jerith> | ToxicFrog: Mostly, it's not worth the hassle. |
19:16 | < jerith> | Except when it is. |
19:18 | | GeekSoldier [~Rob@Nightstar-9885.dip.t-dialin.net] has quit [Ping Timeout] |
19:22 | | GeekSoldier [~Rob@Nightstar-9913.dip.t-dialin.net] has joined #code |
19:22 | | mode/#code [+o GeekSoldier] by ChanServ |
20:50 | | JeffL [~JPL@Nightstar-798.dsl.sndg02.pacbell.net] has joined #code |
22:49 | | Pete is now known as AnnoDomini |
23:09 | | AnnoDomini [AnnoDomini@Nightstar-29263.neoplus.adsl.tpnet.pl] has quit [Quit: Death is always at your back, for all return to the earth from which they came, the fire of life is at the births to come, the tears of a mourning woman are at your left, and the wind blows forth from your right.] |
23:22 | <@ToxicFrog> | struct now supports repetition. |
23:22 | <@ToxicFrog> | I am now confident in saying that read support is feature-complete and has only bugfixes left. |
23:22 | <@ToxicFrog> | (write support is missing) |
--- Log closed Thu May 22 00:00:03 2008 |