←2006-09-09 2006-09-10 2006-09-11→ ↑2006 ↑all
00:42:06 -!- ihope has changed nick to ihope_.
00:43:51 -!- ihope_ has changed nick to ihope.
01:06:13 -!- smokecfh has quit (Read error: 110 (Connection timed out)).
01:17:31 -!- kipple_ has quit (Read error: 110 (Connection timed out)).
01:32:48 -!- GreyKnight has quit ("Oh, this is still running.").
01:51:37 <pikhq> calamari: We should patch mplayer to handle Brainfuck Audio directly. :p
02:18:23 * pikhq has created a Brainfuck Audio media player
02:18:44 <pikhq> $ egobfi8 play.b < Moby\ -\ Go.bf >| /dev/dsp
02:19:32 <pikhq> AKA "An interpreter for a very small subset of Brainfuck."
02:21:11 <pikhq> Unfortunately, it's very, very slow. . .
02:21:36 <pikhq> Which could be helped by compiling into C. . .
02:23:06 <pikhq> Or just not using it.
02:27:42 -!- bsmntbombdood has quit (Killed by ballard.freenode.net (Nick collision)).
02:28:26 <pikhq> Ah well. Works well with a bit of a delay.
02:29:31 <Razor-X> Congratulations pikhq. You remade one of the failed contest ideas.
02:30:06 <pikhq> It was nothing more than a quick hack, anyways.
02:30:25 <pikhq> Which is probably why it wasn't part of the contest. :p
02:30:32 <Razor-X> :P
02:30:44 <pikhq> http://pikhq.nonlogic.org/play.b http://pikhq.nonlogic.org/play.bfm I cheated, anyways. :p
02:30:54 <Razor-X> Grrr. This Ncurses wrapper is made so badly.
02:31:36 <pikhq> I get way too much fun out of making pointless programs.
02:32:21 -!- bsmntbombdood has joined.
02:34:20 <Razor-X> Is play.b in your macro language thingy?
02:34:31 <pikhq> play.bfm is in my macro language.
02:34:35 <pikhq> play.b is the compiled source.
02:34:38 <Razor-X> Ah.
02:34:46 <pikhq> Lazy. :p
02:35:35 <pikhq> When you strip the comments from the compiled source, it actually isn't terribly inefficient. . .
02:35:43 <pikhq> It just overuses [-], really.
02:36:46 <Razor-X> What does it do?
02:37:10 -!- bsmntbombdood has quit (Remote closed the connection).
02:37:13 <pikhq> play.b? It plays files in calamari's joking Brainfuck Audio format.
02:37:30 <pikhq> Pretty much, it supports a small subset of Brainfuck.
02:37:33 <pikhq> + - .
02:37:36 <pikhq> Trivial.
02:38:08 <Razor-X> BF Audio?
02:38:12 <pikhq> Yes.
02:38:19 <Razor-X> What's that?
02:38:53 <pikhq> Basically, Brainfuck code which outputs valid audio for the format that /dev/dsp uses.
02:38:57 <Razor-X> Because this code seems to simply subtract and add to temp0, temp1, and opcode seemingly randomly.
02:39:13 <Razor-X> Ah. I did no research yet into /dev/dsp.
02:39:26 <pikhq> http://pikhq.nonlogic.org/audio2bf.c
02:39:31 <pikhq> Also, look at the .bfm.
02:39:39 <pikhq> It'll reveal what's going on.
02:40:04 <Razor-X> The 46 -'s was just pathetic.
02:41:12 <pikhq> I haven't written stdcons.bfm yet (which will contain the shortest 2-cell versions of 0-255).
02:41:51 <pikhq> Err. Actually, I haven't written the script that will write it for me. :p
02:42:36 <pikhq> And I'll probably need to make those also do the shortest methods of *subtracting* constants from cells, too. . .
02:43:22 <Razor-X> You really love BF, don'cha? :P
02:43:57 <pikhq> It's a good toy. ;)
02:44:56 <pikhq> Now, have you looked at play.bfm?
02:46:06 <pikhq> According to my logs, you haven't.
02:46:15 <Razor-X> Nope.
02:46:30 <pikhq> It's what generated all of that code. . .
02:46:40 <Razor-X> Yeah, I stilld don't understand.
02:46:42 <Razor-X> *still
02:46:43 <Razor-X> :P
02:46:58 <Razor-X> Those were the comments added into play.b.
02:47:22 <pikhq> . . . Yes. . . That's *also* the code that got compiled into play.b
02:47:38 <pikhq> Higher level still:
02:47:47 <pikhq> opcode=getchar();
02:47:53 <pikhq> while(!eof(stdin)) {
02:48:05 <pikhq> if {opcode == 43} {
02:48:12 <pikhq> cell+=1
02:48:13 <pikhq> }
02:48:24 <pikhq> if (opcode == 45) {
02:48:28 <pikhq> cell-=1
02:48:29 <pikhq> }
02:48:39 <pikhq> if (opcode == 46) {
02:48:45 <pikhq> putchar(cell)
02:48:46 <pikhq> }
02:48:47 <pikhq> }
02:48:54 <Razor-X> .... Is that the /dev/dsp format?
02:48:57 <pikhq> Yes, it's inconsistent psuedo-C. . .
02:49:17 <pikhq> No, that just interprets the subset of Brainfuck that audio2bf.c outputs.
02:49:29 <Razor-X> OH.
02:49:51 <pikhq> The /dev/dsp format is 8000hz 8 bit mono PCM.
02:50:29 <pikhq> Like I said: A quick hack.
02:51:56 <Razor-X> Quicker than even the committee imagined :O
02:52:06 <pikhq> Hahah.
02:54:00 <pikhq> Of course, BFM makes a lot of things that would be hard in Brainfuck on the level of a quick hack. . .
02:54:56 <Razor-X> [/shameless plug]
02:55:24 <pikhq> I've been shamelessly plugging it all week, and I think this is the first time you've looked at it at all. . . :p
02:56:18 <Razor-X> Well BFA and BFC seem like similar things that aren't getting shamelessly plugged because the authors aren't here.
02:56:54 <pikhq> BFC is higher level. . .
02:56:59 <pikhq> And BFA is lower level. . .
02:57:10 <Razor-X> Similar.
02:57:33 <pikhq> Similar in the goal of making a car by taking on stuff to a skateboard, at least. :p
02:57:40 <pikhq> s/taking/tacking/
02:58:15 <pikhq> Mine is implemented in much, much less code. . .
02:58:20 <pikhq> (yay, Tcl!)
03:00:58 <Razor-X> O_O
03:01:09 <Razor-X> Gods be exalted, someone just showed me this:
03:01:17 <Razor-X> http://www.coyotos.org/docs/bitc/spec.html
03:02:52 <pikhq> . . .
03:07:17 <pikhq> Speaking of BFM, I should probably make up another tarball.
03:09:34 <pikhq> http://pikhq.nonlogic.org/bfm.tar.bz2
03:12:15 -!- calamari has quit (Read error: 104 (Connection reset by peer)).
03:12:33 <Razor-X> Just to advertise more?
03:14:17 -!- sekhmet has quit ("back in a jif").
03:14:29 <pikhq> I've fixed the bugs in some of the macros in ./stdlib. . .
03:14:56 <Razor-X> I'm going to shamelessly plug BitC henceforth.
03:15:02 <pikhq> Been fixed in my local tree for days, but the last tarball was made long before that.
03:15:17 <pikhq> Feel free; BitC is actually a kick-ass idea.
03:16:12 <Razor-X> I've been looking for something like this for a long time.
03:17:11 -!- sekhmet has joined.
03:27:56 -!- ihope has quit (Read error: 110 (Connection timed out)).
03:29:12 -!- calamari has joined.
03:36:27 <Razor-X> I wish I kinda sorta worked with events in C.
03:36:40 <Razor-X> Maybe I'd be able to follow the code of rawirc.c then.
03:38:50 -!- CakeProphet has quit (Read error: 104 (Connection reset by peer)).
03:39:54 -!- CakeProphet has joined.
03:40:25 -!- CakeProphet has quit (Connection reset by peer).
03:41:29 -!- CakeProphet has joined.
04:09:06 -!- CakeProphet has quit (Read error: 104 (Connection reset by peer)).
04:12:22 -!- CakeProphet has joined.
04:18:53 -!- bsmntbombdood_ has joined.
04:19:36 -!- bsmntbombdood__ has joined.
04:19:48 -!- bsmntbombdood__ has quit (Read error: 104 (Connection reset by peer)).
04:37:28 -!- bsmntbombdood_ has changed nick to bsmntbombdood.
04:45:52 -!- calamari has quit (Read error: 104 (Connection reset by peer)).
05:02:55 -!- calamari has joined.
05:50:53 -!- Sgeo_ has joined.
06:03:22 -!- Sgeo has quit (Read error: 110 (Connection timed out)).
06:07:26 -!- Razor-X has quit (Read error: 110 (Connection timed out)).
06:32:39 -!- GregorR-L has joined.
07:07:22 -!- calamari has quit ("Leaving").
07:12:29 -!- _jol_ has joined.
07:19:51 -!- Razor-X has joined.
07:36:39 -!- _jol_ has quit ("leaving").
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
09:29:18 -!- GregorR-L has quit (Read error: 110 (Connection timed out)).
09:53:28 * CakeProphet is programming a mud client.
09:59:49 -!- kipple_ has joined.
10:24:50 -!- jix has joined.
11:02:47 -!- tgwizard has joined.
11:04:48 -!- _jol_ has joined.
11:36:11 -!- _jol_ has quit ("temci lo nu citka").
11:42:38 -!- Sgeo_ has quit ("Ex-Chat").
11:46:39 -!- smokecfh has joined.
12:12:14 -!- _jol_ has joined.
12:50:25 -!- _jol_ has quit ("temci lo nu gunka").
13:35:19 -!- GreyKnight has joined.
13:50:26 -!- ihope has joined.
15:44:55 -!- _jol_ has joined.
16:29:01 -!- _jol_ has quit ("leaving").
17:26:58 -!- pikhq has quit (Read error: 104 (Connection reset by peer)).
17:27:38 -!- pikhq has joined.
17:28:20 -!- pikhq has quit (Client Quit).
17:28:56 -!- pikhq has joined.
17:58:44 -!- _jol_ has joined.
18:09:25 -!- GreyKnight has quit (".").
18:33:40 -!- Sgeo has joined.
18:37:04 -!- smokecfh has quit (Read error: 110 (Connection timed out)).
18:49:12 -!- _jol_ has quit ("leaving").
19:53:52 -!- _jol_ has joined.
20:16:40 -!- Ciaran has joined.
20:45:55 -!- _jol_ has quit ("leaving").
21:51:58 -!- tgwizard has quit (Remote closed the connection).
22:27:03 -!- pgimeno has quit (Read error: 104 (Connection reset by peer)).
22:42:24 -!- pgimeno has joined.
23:12:09 -!- jix has quit (niven.freenode.net irc.freenode.net).
23:13:13 -!- jix has joined.
23:14:26 -!- kipple_ has quit (Read error: 110 (Connection timed out)).
23:15:31 -!- ihope_ has joined.
23:20:06 -!- jix has quit (niven.freenode.net irc.freenode.net).
23:20:31 -!- jix has joined.
23:32:22 -!- ihope has quit (Connection timed out).
23:33:23 <pikhq> Anyone else bored?
23:35:31 <W_> what
23:35:51 <W_> bored enough to program in brainfuck, or bored enough to start writing my own language?
23:35:53 <W_> frequently
23:36:02 <W_> (it's all relative, see)
23:36:17 <W_> but now I am going to bed
23:41:07 <pikhq> I'm almost in the mood to code.
23:53:06 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
←2006-09-09 2006-09-10 2006-09-11→ ↑2006 ↑all