←2006-09-04 2006-09-05 2006-09-06→ ↑2006 ↑all
00:01:30 <GregorR> It's a stingray zomg its gonna kill the crocodile hunter
00:02:14 <ihope_> And it's going to cause bad humor all over the internets! OH NOEZ!
00:06:50 <pikhq> *Almost* got it working.
00:06:58 <pikhq> Got an issue with the regexps.
00:07:25 <pikhq> Which seem to hate me.
00:08:14 <Razor-X> Use them well, and they will love you. Use them poorly and your skin will be LASHED OFF.
00:08:27 <ihope_> Aipe!
00:08:31 * pikhq is getting his skin *lashed off*.
00:08:42 <ihope_> I think I won't use regexes at all, then.
00:08:44 <Razor-X> I very rarely get regexps wrong. Dunno why.
00:08:51 <pikhq> Got the regexp matching things I don't want in my macro engine. . .
00:09:46 <Razor-X> Regexps is by far my favorite parsing method.
00:09:55 <pikhq> In retrospect, the rough equivalent of s/$varname/\$$varname/ was probably a bad idea.
00:10:12 <pikhq> Especially when you've got a variable named "y" in your macro called "copy".
00:13:28 <pikhq> Except for that little bug in the macro parsing proc, this thing seems to be solid. . .
00:34:46 <pikhq> T3h fixed.
00:35:24 <pikhq> Now it's more like s/ $varname / \$$varname / s/ $varname/n/ \$$varname/n/
00:35:35 <pikhq> Kludgish? Yeah. Does it work? :)
00:38:20 <fizzie> /\b$varname\b/ is what I'd use.
00:39:15 <pikhq> If it were sed's regexp syntax, then I'd do just that.
00:39:38 <pikhq> Of course, if I knew regexps, I'd do something less kludgish, so. . .
00:41:49 -!- Razor-X has quit (Remote closed the connection).
00:42:22 <fizzie> If you're matching end-of-line in the second one, it should probably be something like "s/ $varname$/ \$$varname/", since '$' is the zero-width "matches at end of line" thing.
00:42:26 -!- Razor-X has joined.
00:42:44 * ihope_ almost types NetHaskell
00:42:46 <fizzie> Of course if you're not using regexps to do the matching, it doesn't much matter. :p
00:42:59 <ihope_> NetHaskell: the best language for programming roguelikes.
00:43:27 <Razor-X> NetHaskell?
00:44:07 <ihope_> NetHack + Haskell = NetHaskell.
00:44:22 <Razor-X> Someone ported Nethack to Haskell?
00:44:29 <fizzie> 10:31:08 <poing> i have more pedestrian aims, like writing nethack in haskell ;P
00:44:29 <ihope_> I don't think so.
00:44:34 <fizzie> Says Google on the subject.
00:44:35 <Razor-X> Oh.
00:45:05 <fizzie> (On #haskell in Freenode. Or is that ##?)
00:45:07 * ihope_ ponders the fact that hitting tab puts "GregorR: " in his box thingy
00:45:23 <ihope_> #haskell, yeah.
00:45:36 * ihope_ wonders what he's doing in #steve-irwin and #stingray
00:45:54 <ihope_> Or am I not in either of those?
01:14:02 * pikhq finally has stuff working. . .
01:15:17 <pikhq> Unfortunately, my standard macros package is broken.
01:15:24 <Razor-X> :P
01:15:42 <Razor-X> T3h b0rb, t3h b0rk, t3h b0rk, b0rk b0rk!
01:16:05 <ihope_> No, it's tëh børk.
01:16:36 <pikhq> Should I go ahead and make a simple spec to go with the simple compiler?
01:17:27 * pikhq loves his very, very simple way of getting the code parsed. . .
01:17:56 <pikhq> I just set up a Tcl slave interpreter, remove it's builtin commands, and replace them with aliases that compile the macro language's commands.
01:18:03 <pikhq> Let Tcl parse for me.
01:18:06 <pikhq> >:D
01:19:00 <ihope_> Thubi might be really good for writing parsers.
01:22:37 <Razor-X> Thubi Dead!
01:23:08 <Razor-X> Wow. Chicken is fast.
01:24:23 <pikhq> Got a tarball.
01:25:15 <pikhq> http://nickv111.is-a-geek.com:8080/~pikhq/bfm.tar.bz2
01:29:21 <pikhq> Thoughts? Comments? "You're a fucking idiot"?
01:56:29 * pikhq is going to take a guess that nobody has looked yet
02:01:35 <Razor-X> You're a fucking idiot.
02:01:42 <Razor-X> ;P
02:01:45 <pikhq> Care to explain? :p
02:01:53 <Razor-X> Nah. No comment yet.
02:02:10 <Razor-X> Hmmm... I wonder what control characters GregorR used.
02:02:28 * pikhq is of the opinion that it kicks ass, but. . .
02:03:27 <pikhq> If nothing else, it makes things nicer because one can operate on variables instead of locations in memory.
02:08:28 <pikhq> Someday, when I'm bored enough, I am going to create *and test* a standard BFM library. . .
02:09:41 <Razor-X> Is there some sort of handy control character to find out the number of lines/columns in your terminal?
02:12:03 <Razor-X> I'll use Ncurses for portability.
02:15:23 <deltab> you can move the cursor into the bottom right corner, then use Cursor Position Report to find out where it is
02:20:33 <Razor-X> Is there a character to move it to the bottom right corner?
02:31:15 <deltab> a character, no, but there is a control sequence
02:31:48 * deltab pulls out a copy of ECMA-48
02:33:11 <deltab> CUP with suitably large values
03:18:17 * pikhq lubs BFM
03:32:23 -!- CakeProphet has quit (Read error: 113 (No route to host)).
03:58:49 -!- calamari has joined.
04:06:03 <pikhq> calamari: Rawr.
04:06:30 <pikhq> http://nickv111.is-a-geek.com:8080/~pikhq/bfm.tar.bz2 Shameless plugging. Wheee.
04:23:33 -!- Arrogant has joined.
04:25:37 <calamari> hi pikhq
04:25:51 <calamari> what is that?
04:59:05 <Razor-X> I wonder if anyone tried to use multiple channels with RawIRC.
05:07:35 <ifndef_GREGOR_H> I use multiple channels with RawIRC.
05:07:57 <ifndef_GREGOR_H> Works fine, though it's not easy to follow :P
05:30:45 <Razor-X> ;P
05:34:06 <Razor-X> 'Tis cool. Chicken has low-level constructs too.
05:34:22 <Razor-X> ...Although I can't really find a use for a pointer in Scheme, except in a BF interpreter.
05:41:06 -!- Arrogant has quit (Read error: 104 (Connection reset by peer)).
05:41:19 -!- Arrogant has joined.
07:17:54 -!- calamari has quit ("Leaving").
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:25:27 <Razor-X> So if you get a ``NOTICE AUTH :*** Found your hostname, welcome back'' from an IRC server, is everything after ``NOTICE '' considered the parameter?
08:26:54 <fizzie> The parameters are separated by spaces, except that the last parameter may be prefixed by a ":", and then it runs to the end of line.
08:27:08 <fizzie> So in your example there are two parameters, "AUTH" and "*** Found ...".
08:27:15 <Razor-X> I was correct then!
08:27:22 <Razor-X> Woohoo ABNF skillz!
08:27:37 <Razor-X> Thanks.
09:53:00 -!- Arrogant has quit ("Leaving").
10:13:04 -!- Sgeo has quit ("Ex-Chat").
11:32:17 <ihope_> ifndef_GREGOR_H: pingities pingities
12:22:05 -!- ivan` has quit (" HydraIRC -> http://www.hydrairc.com <- IRC with a difference").
12:35:36 -!- _Ann_ has joined.
12:36:31 -!- _Ann_ has left (?).
12:40:40 -!- sp3tt has quit (Read error: 104 (Connection reset by peer)).
13:45:31 -!- jix has joined.
14:33:05 -!- sp3tt has joined.
14:42:42 -!- Sgeo has joined.
15:02:54 -!- tgwizard has joined.
15:04:54 -!- Ramza has joined.
15:05:27 <Ramza> Please welcome me to the channel.
15:06:09 <Ramza> What processing time.
15:06:10 -!- Ramza has quit (Client Quit).
15:20:48 <GregorR> SIGIMPT: Impatient User
16:41:23 -!- GregorR-W has joined.
16:46:33 <GregorR-W> !ps d
16:46:36 <EgoBot> 1 EgoBot: daemon cat reload
16:46:38 <EgoBot> 2 EgoBot: daemon EgoBot reload
16:46:40 <EgoBot> 3 GregorR-W: ps
16:46:41 <GregorR-W> !cat in the hat
16:46:44 <EgoBot> in the hat
16:46:53 <GregorR-W> !EgoBot will probably screw this up.
16:46:56 * EgoBot will probably screw this up.
16:47:01 <GregorR-W> Or not :)
16:49:19 -!- lindi- has quit (Read error: 104 (Connection reset by peer)).
16:52:19 -!- lindi- has joined.
16:54:56 <GregorR-W> Right, this beauuuuuuuuutiful stingray is usually totally harmless to humans.
16:55:04 <GregorR-W> But if provoked, its sting can be fatal!
16:55:09 <GregorR-W> So I'm going to poke it with a stick!
16:55:16 <GregorR-W> HEY STINGRAY! HEEEEEEEEEY STI--AUGGGH
16:55:32 <GregorR-W> [RIP Steve Irwin]
17:04:38 -!- GregorR-W has quit (Remote closed the connection).
17:16:46 -!- GregorR-W has joined.
17:17:04 <GregorR-W> Yeah, runlevel randomly and unpredictably dropping, woooh
17:25:07 * pikhq continues making sweet love to BFM
17:25:43 * GregorR-W continues very consciously averting his eyes.
17:26:32 <pikhq> :p
17:37:26 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
18:02:27 -!- _jol_ has joined.
18:42:38 -!- _jol_ has quit ("leaving").
18:58:41 <EgoBot> <CTCP>ACTION cannot write checkpoint image
18:59:49 <GregorR-W> ...
19:00:12 <GregorR-W> O_O
19:00:14 <GregorR-W> My HD is full
19:08:07 <pikhq> o.o
19:13:48 <pikhq> gregor$ rm -rf ~/pron
19:14:54 <pikhq> If that doesn't work, then I'll accuse you of being a prude.
19:17:14 <GregorR-W> Pff, that directory doesn't exist.
19:17:19 <GregorR-W> I have a DVD burner, pikhq.
19:18:30 <pikhq> Ah.
19:18:34 <pikhq> Prude.
19:19:22 <pikhq> if {![file exist ~/pron]} {set Gregor $prude}
19:28:06 -!- ihope_ has quit (Connection timed out).
19:32:26 <GregorR-W> So wait, being able to spell == prude? :P
19:33:53 -!- smokecfh has joined.
19:35:18 -!- kipple_ has joined.
19:40:42 <GregorR-W> 'ello kipple_
19:42:45 -!- ihope__ has joined.
19:42:53 -!- ihope__ has changed nick to ihope.
19:58:26 -!- smokecfh has quit (Remote closed the connection).
20:03:21 -!- |666| has joined.
20:04:57 -!- _jol_ has joined.
20:08:17 -!- EgoBot has quit (Read error: 110 (Connection timed out)).
20:09:36 -!- ifndef_GREGOR_H has quit (Read error: 110 (Connection timed out)).
20:10:45 -!- |666| has quit (Remote closed the connection).
20:11:03 -!- GregorR has quit (Read error: 110 (Connection timed out)).
20:22:34 <kipple_> hello gregor
20:32:33 -!- _jol_ has quit ("leaving").
22:02:33 -!- kipple_ has quit (Read error: 104 (Connection reset by peer)).
22:05:27 -!- jix has joined.
22:09:37 -!- ivan` has joined.
22:10:11 -!- kipple_ has joined.
22:10:22 <kipple_> har rammen din konka?
22:10:24 <kipple_> oops wrong chat
22:10:32 <GregorR-W> ARGGH, TEH NOT ENGLISH
22:11:28 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
22:12:51 -!- tgwizard has quit ("Leaving").
22:52:32 -!- CakeProphet has joined.
22:53:50 -!- CakeProphet has quit (Client Quit).
22:54:17 -!- bsmntbombdood has changed nick to bsmntbombdood_.
23:00:05 <pikhq> GregorR-W: Yes, spelling ability equates to prudeness.
23:09:44 <GregorR-W> Your female parent or guardian is obese to the degree that it is necessary for her to wear clothing as much as five sizes larger than the average for her height, age and gender categories!
23:09:49 <GregorR-W> Oooooooooooooooooooooh, what now bizzich
23:10:17 <pikhq> Not true.
23:10:25 <pikhq> My female *stepparent* is, however.
23:10:34 <GregorR-W> Parent OR GUARDIAN
23:10:58 <pikhq> She's not my guardian, she's a person that I want to hit over the head with a fuckin' baseball bat.
23:11:06 <GregorR-W> Legal term ;)
23:11:06 * pikhq lives with his biological mother. . .
23:11:16 <GregorR-W> Ah
23:12:51 <ihope> So a stepparent is a parent's spouse who is not a parent?
23:13:31 <pikhq> Yeah, that's normally what it means. . .
23:14:29 -!- bsmntbombdood_ has changed nick to bsmntbombdood.
23:14:46 <GregorR-W> Generally it also implies that the marriage happened before the child was 18.
23:14:58 <pikhq> True.
23:16:28 <ihope> What if your parents are married, then your mother dies and your father gets married, then your father dies and your stepmother gets married?
23:16:59 <pikhq> Then she's still your stepmother, I believe. . .
23:17:22 <pikhq> She is also just the same as your actual parent towards the law.
23:17:31 <ihope> What about the person your stepmother married?
23:17:40 <ihope> Is he your stepfather, or your stepstepfather, or what?
23:17:44 <pikhq> Stepfather, I *think*.
23:18:12 * pikhq votes for a much less arbitrary way of stating family relationships
23:18:24 <pikhq> Maybe a simple GED file? :p
23:18:56 <ihope> GED file?
23:19:04 <ihope> Nah, we need notation.
23:19:20 <pikhq> A GED file *is* notation. . .
23:19:30 <pikhq> It's quite nonvague.
23:19:42 <pikhq> In fact, it's sufficient for plotting a full family tree.
23:20:11 <pikhq> It's sufficient for the fuckin' *Mormons* and their polygamy. I *think* it can handle such relatively simple relationship issue. :p
23:21:20 <ihope> F means father, M means mother, S means last spouse, C means last child.
23:21:33 <ihope> PS is second-to-last spouse, PPS is third-to-last spouse, etc.
23:21:40 <ihope> Likewise for PC, PPC, etc.
23:22:07 <pikhq> You've come up with a compressed form of GED, I believe.
23:22:14 <ihope> Then E is "me" or something.
23:22:20 * GregorR-W hates that.
23:22:29 <GregorR-W> Without a P, it should be first.
23:22:39 <GregorR-W> That way you can have more children without rearranging the whole F'ing thing.
23:22:40 <ihope> So I'm E, my dad is FE, his dad is FFE...
23:23:01 <ihope> Okay. C means first child, but S is still last spouse?
23:23:10 <pikhq> Change that, too.
23:23:18 <ihope> Mmh.
23:23:21 <ihope> Okay, they're both first.
23:23:29 <ihope> Then I is a conditional.
23:23:33 -!- CakeProphet has joined.
23:23:42 <pikhq> . . .?!?
23:23:45 <ihope> IC
23:23:47 <ihope> Erm.
23:23:55 <pikhq> Trying to make a Turing complete notation for family relations?
23:24:08 <ihope> ICE12 means "if I have a child, then 1, else 2".
23:24:25 <ihope> And no, this notation won't support recursion.
23:24:52 <ihope> So I123 means if 1 exists then 2 else 3.
23:24:54 <pikhq> IFEE_. :p
23:25:16 <ihope> If I have a father, then me, else _?
23:25:26 <pikhq> Supposed to represent null.
23:25:36 <pikhq> "If I have a father, then me, else nothing."
23:27:57 <ihope> Hmm...
23:27:59 <ihope> That
23:28:01 <ihope> 'd work.
23:28:14 <ihope> But couldn't we call it N?
23:28:20 <pikhq> That'd work.
23:28:24 <pikhq> IFEEN.
23:28:36 <pikhq> Stating, simply, that one cannot exist without a father.
23:28:54 <pikhq> I assume the arguments for this could be grouped to allow for non-vagueness?
23:29:05 <ihope> Grouped?
23:29:06 <pikhq> I(FE,ME)EN, for example?
23:29:16 <ihope> Hmm...
23:29:54 <ihope> If I have a mother and a father then me else nothing?
23:30:08 <ihope> IIFEMENEN.
23:30:31 -!- kipple_ has quit (Read error: 110 (Connection timed out)).
23:30:40 <ihope> If I have if-I-have-a-father-then-my-mother-else-nothing then me else nothing.
23:32:55 <pikhq> Ah.
23:33:52 <ihope> It has an expressiveness corresponding to the ordinal number omega!
23:33:53 <ihope> Wait, what?
23:39:41 <pikhq> macro foo {bar baz} {while baz {add bar 1;subtract baz 1}};@ foo 1;@ bar 0;add foo 50;add bar 20;foo foo bar
23:40:59 <pikhq> . . . Is equivalent to: >++++++++++++++++++++++++++++++++++++++++++++++++++<++++++++++++++++++++[>+<-]
23:43:00 <pikhq> Terrible coding, I admit. It *does* work, though.
←2006-09-04 2006-09-05 2006-09-06→ ↑2006 ↑all