←2003-03-09 2003-03-10 2003-03-11→ ↑2003 ↑all
00:49:43 -!- lament has quit (Remote closed the connection).
01:15:32 -!- SamB has quit (Read error: 104 (Connection reset by peer)).
01:56:02 -!- lament has joined.
03:14:57 -!- calamari has joined.
03:15:07 <calamari> hello
03:15:57 <calamari> where can i find those (ensi?) bf rules?
03:16:38 <Taaus> http://esoteric.sange.fi , possibly :)
03:16:49 <calamari> I might need to redo routines for my bfbasic compiler since they assume 8-bit numbers and l-r tape wrapping
03:17:11 <Taaus> Ah.
03:17:32 <calamari> oh.. wait i remember.. on the bf golf page
03:18:27 <Taaus> You know, they _are_ at the link I pasted :)
03:18:43 <calamari> I see one yep.. but it says 0-255
03:18:47 <calamari> is that right?
03:19:13 <calamari> "3. Cells can hold values from 0 to 255" in golf-rules.txt
03:19:19 <Taaus> Well, for BF-golf, it is.
03:20:02 <calamari> does it wrap around from 0 to 255 and 255 to 0?
03:20:34 <Taaus> It says 'No over or underflow allowed'... So I guess the answer is 'no'.
03:21:08 <calamari> oops didnt see that, lol
03:22:12 <calamari> hrm.. that actually makes no sense to have arbitrary limits with no wrapping hehe
03:23:58 <calamari> stiil, if I write it to use that, it should still work on a wrapping compiler/interpreter
03:24:04 <calamari> even a 16-bit one
03:24:09 <Taaus> Yep.
03:26:01 <calamari> how would you compute 3 - 4 = -1 ? +++---- wouldn't cut it
03:26:56 <calamari> i'll hafta think about this.. my 2's complement rules fail me under this system :)
03:27:19 <Taaus> Well... I suppose you'd have to define a new 0 that was larger than the original 0 :)
03:27:51 <Taaus> Or you could allocate two memory blocks to each integer... And make one of them a zero 'bit' ;)
03:28:27 <calamari> thats very evil, but it would be the easiest, i think :)
03:29:15 <calamari> hmm.. but signed char.. that could be fun too hehe
03:29:57 <Taaus> Ouch... Having to initialise all variables to 127 (or is it 128? I forget)
03:30:07 <calamari> yeah.. :(
03:31:24 <Taaus> Oooh... You could map the odd and even numbers to positive and negative numbers respectively. 0 => 0, 1 => 1, 2 => -1, etc... How... Wonderful ;)
03:32:18 <calamari> lol
03:34:40 <Taaus> Hmm... So a number N is really (N+1)/2, if it's odd, or -N/2 if it's even... Neat :)
03:34:52 <calamari> hmm.. this might be the easiest. For each - I can put in a piece of code that if the current value is zero I change it to 255
03:35:19 <Taaus> Ouch... That'll produce a major code bloat, I fear...
03:35:23 <calamari> yeah
03:35:40 -!- lament has quit (Remote closed the connection).
03:36:25 <calamari> screw it
03:36:36 <calamari> if ppl want to run my code they need to make a wrapping compiler :P
03:36:38 <Taaus> And I'm not even sure it'd work... It might clobber some memory locations while incrementing to 255.
03:36:42 <Taaus> Hehe.
03:36:45 <Taaus> That's the spirit!
03:37:19 <calamari> I could accept no wrapping if there was +/- infinity as a range
03:37:57 <calamari> that would be cool too
03:38:11 <calamari> couldn't use [-] blindly .. might need [+]
03:45:20 <calamari> bbl.. thanks for the ideas.. might use em :)
03:45:33 -!- SamB has joined.
03:46:11 <Taaus> Hehe... You're welcome. :)
03:54:05 -!- calamari has quit (Read error: 60 (Operation timed out)).
04:37:29 -!- lament has joined.
05:36:15 -!- lament has changed nick to Rohan.
05:38:30 -!- Rohan has changed nick to lament.
07:53:23 -!- lament has quit ("Did you know that God's name is ERIS, and that He is a girl?").
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
11:41:03 -!- SamB has quit (Read error: 54 (Connection reset by peer)).
13:24:40 -!- dbc has joined.
13:24:58 <dbc> Hey, get this:
13:25:00 <dbc> #!/usr/bin/sh
13:25:00 <dbc> # Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
13:25:00 <dbc> # All Rights Reserved
13:25:00 <dbc> # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
13:25:00 <dbc> # The copyright notice above does not evidence any
13:25:01 <dbc> # actual or intended publication of such source code.
13:25:03 <dbc> #ident "@(#)true.sh 1.6 93/01/11 SMI" /* SVr4.0 1.4 */
13:32:25 <dbc> (This is an entire program. Except there was another blank line between "Reserved" and "THIS", that didn't come through on IRC.)
17:46:31 -!- aard_ has quit (Read error: 60 (Operation timed out)).
17:53:52 -!- SamB has joined.
19:30:47 * SamB is away: dishes
19:33:13 -!- tav has quit (Read error: 104 (Connection reset by peer)).
19:33:18 -!- deltab has quit (Read error: 54 (Connection reset by peer)).
19:47:10 * SamB is back (gone 00:16:22)
22:49:20 -!- deltab has joined.
←2003-03-09 2003-03-10 2003-03-11→ ↑2003 ↑all