00:00:00 --- log: started forth/06.08.03 00:00:23 But tis working. 00:01:03 well, not any more. :( 00:01:11 : abs dup 0 >; negate ; 00:01:13 But that's the fun part. 00:01:31 : abs dup 0 >=; negate ; 00:05:09 : abs dup 0< tuck xor swap - ; 00:05:19 : abs dup negate 2* over 0< and + ; 00:05:21 Both work. 00:06:09 --- quit: virl ("Verlassend") 00:08:04 Reminds me of the work on sgn a few weeks ago. Came up with : sgn dup 0< swap 0> - ; 00:08:50 cool 00:09:05 wouldnt an xor work in that too? 00:09:15 Try it. 00:12:31 i'm not awake yet 00:12:39 Note for any of the non-IF versions of ABS or SGN to be branchless, their components must not be hiding any branches in the comparison operators. 00:13:22 : abs dup 07f and ; 00:13:51 So you mask off the lower 7 bits and call it abs? 00:13:59 i'm not awake yet 00:14:03 Apparently. 00:14:07 dont be too harsh :) 00:14:15 There's no way to be too harsh about that. 00:14:19 ok 00:17:11 If you have sgn as above, then : abs dup sgn * ; also works. 00:17:39 The * is hardly the fastest possible way to do it, but it works and it's certainly concise. 00:23:03 2* congruent with 2 >> ? or 2 << ? 00:23:17 2* is a left-shift. 00:23:37 Thank you. 00:23:40 ray 2* is x shl 1 00:23:47 ya. 00:23:48 2/ x shr 1 00:23:52 okay 00:23:58 retro = << and >> 00:24:03 yea 00:24:20 The C operators. Never liked'em much. 00:24:22 i like some of the c-isms that are forthy 00:24:39 Look like comparisons to me. 00:24:54 it could but it's mathematical and terse 00:25:51 And C++ overloads << considerably, does it not? 00:26:44 yea, with use of string and file io 00:26:50 s/with/for 00:27:05 cout << "Hello, World!" ; etc. Horribly confusing. 00:27:13 but it's good for forth 00:27:38 It's just as easy to confuse << and < in Forth as it is in C; actually probably easier. 00:28:06 --- quit: Raystm2 (Read error: 104 (Connection reset by peer)) 00:28:10 --- join: Raystm2 (n=NanRay@adsl-69-149-50-102.dsl.rcsntx.swbell.net) joined #forth 00:28:22 i dont think someone who can think in forth would confuse the two language token given that each lang-think is very different 00:28:41 Easy to type one when you mean the other. 00:29:00 That's something C programmers also suffer from, = vs ==. Horrible. 00:29:03 i never had a problem confusing those symbols 00:29:19 well that's a different kind of mistake imo 00:29:38 It's the same problem. < vs << = vs == 00:31:04 If you find yourself looking at a weird definition of ABS that has 1 << in it, you might well be given to wonder if it's 1 < or 1 <<. I see possibility for error there, both in understanding and in editing, that you wouldn't get with LSHIFT. 00:31:41 you're writing about people who gloss code instead of read it 00:32:12 So you agree that the use of << as a name requires more careful reading than would LSHIFT. 00:33:21 all code should be examined closely, not glossed. glossing is a symptom of lack of attention. 00:33:25 so yes 00:33:49 So it follows that there's a greater possibility of error using << instead of LSHIFT. 00:33:50 it's like mistaking "throughly" for "thoroughly" 00:34:15 Well hell, why not make all operators intensely cryptic and similar in order to weed out those who aren't paying enough attention? 00:34:16 the fault, dear brutus, lies in the reader, not the coder - LOL 00:34:54 Plus, I might add, "throughly" isn't a word. 00:35:04 i'm not responsible to someone who misreads my code. 00:35:39 "throughly" is a word, altho it's mistranslated and misread 00:36:04 it's used in the king James translation of one of Paul's letters 00:36:11 it is a word 00:37:52 It's an archaic, obsolete spelling of "thoroughly". It is in no way a current word, but when it was in use at all, it meant exactly the same thing as "thoroughly". It doesn't support your argument. 00:39:19 and yet, the king James work is still published as is. it is a relevant element to my point that (although archaic) the reader must read what is written, not just gloss over text 00:39:52 You can spend all day and night misreading "throughly" as "thoroughly" and vice-versa, and come away with exactly the same meaning no matter which way you screw up. 00:39:59 a writer (coder) writes what they mean; a reader must read the words used without substitution to determine what the writer meant. 00:40:27 ok 00:41:28 If you ask me, somebody setting type on the KJV left out an o, and the error was propogated forward. 00:44:14 sorry, the chosen editors have already departed so there can be no rebuke. 00:51:43 Printing errors in the KJV were corrected for a hundred and fifty-odd years after the original printing. Any they missed after 1769 or so are still there. 00:52:26 ok i wasnt aware of that 00:58:17 The 1631 revision of the KJV left 'not' out of the seventh commandment. 00:58:45 heh 00:59:18 I'm not kidding. "VII. Thou shall commit adultery." 00:59:20 isnt that the version that they used in MASH when the priest brought the book to Potter and showed him that verse? 00:59:23 yea! 00:59:25 rofl 01:01:13 So it's hardly a reach to think they didn't spot a missing 'o' in one word in one of Paul's letters. 01:11:04 Quartus: clever :) you can eliminate the swap like so: : abs dup 0> tuck xor - ; 01:11:41 tuck is still swapping 02:43:46 --- quit: ccfg ("leaving") 03:42:23 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 03:43:00 virl 03:43:10 hmm? 03:43:24 hi 04:07:23 --- join: b3nt_pin (n=brent@stjhnf0112w-142162175192.pppoe-dynamic.nl.aliant.net) joined #forth 04:08:59 --- quit: madgarden (Read error: 104 (Connection reset by peer)) 04:25:13 --- quit: madwork (Read error: 110 (Connection timed out)) 04:48:40 --- quit: Quiznos (Read error: 104 (Connection reset by peer)) 05:56:27 --- join: vatic (n=chatzill@ool-45740b1c.dyn.optonline.net) joined #forth 06:01:22 --- join: timlarson_ (n=timlarso@65.116.199.19) joined #forth 06:09:18 --- join: Ray_work (n=Raystm2@199.227.227.26) joined #forth 06:12:52 hi 06:14:59 Ray_work: hi! when's the trip East? 06:21:25 --- join: PoppaVic (n=pete@0-1pool66-94.nas22.chicago4.il.us.da.qwest.net) joined #forth 06:29:07 15th. How are you today? 06:59:48 --- join: madwork (n=foo@derby.metrics.com) joined #forth 07:01:25 --- join: nighty_ (n=nighty@66-163-28-100.ip.tor.radiant.net) joined #forth 07:01:50 hi :) 07:07:36 hi nighty 07:17:51 Ray_work: HOT. 07:21:39 --- quit: virl (Remote closed the connection) 07:25:41 biab... 07:25:47 --- quit: vatic ("Chatzilla 0.9.74 [Firefox 1.5.0.5/2006072310]") 07:44:39 --- quit: PoppaVic ("Pulls the pin...") 08:55:31 Hi all. 08:56:03 Good morning, Neal. 08:56:10 How are you today? 09:00:53 Not too bad, Ray_work. You? 09:34:31 --- join: vatic (n=charlest@pool-162-83-254-201.ny5030.east.verizon.net) joined #forth 09:45:25 I'm busy, as usual. Tend to stay that way. 09:46:08 End of our physcal month coming up friday. Lots of jobs to try to push out the door. 10:05:36 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 10:09:01 * vatic guesses that explains Ray_work... 10:32:59 The channel just got a lot less mad. 10:33:07 --- part: crc left #forth 10:33:22 Oh wait, that was in the scrollback. It's slightly mad. 10:33:24 Madwork, anyway. 10:34:06 Bwahah. 10:34:55 --- join: crc (n=crc@pool-70-110-183-96.phil.east.verizon.net) joined #forth 10:35:07 --- join: I440r (n=mark4@63.163.143.188) joined #forth 10:39:46 --- join: Quartus_ (n=Quartus_@209.167.5.1) joined #forth 10:55:51 --- join: PoppaVic (n=pete@0-1pool66-209.nas22.chicago4.il.us.da.qwest.net) joined #forth 11:03:09 --- quit: I440r ("brb") 11:07:29 --- join: I440r (n=mark4@63.163.143.188) joined #forth 11:20:05 --- mode: ChanServ set +o I440r 11:21:07 so what's up today? 11:22:46 shhhh im at work 11:22:52 multigoofing 11:22:58 errr i mean multi tasking 11:26:12 I'm at large, running errands. 11:28:32 I'm at work. 11:28:40 Getting ready for a QA hand-off. 11:30:05 sounds exciting. :) 11:31:16 Oh... totally. 11:34:08 QA, UAT, acronyms that never fail to thrill. :) 11:56:17 Hi Quartus :) 11:58:46 hi nighty. How are you? 12:03:48 Planning to give you a call tomorrow, if that is suitable. 12:28:46 yes 12:28:54 Quartus: I am fine thanks :) 12:29:07 Quartus: you can come around tomorrow ? that would be great 12:33:47 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-164-048.pools.arcor-ip.net) joined #forth 12:34:45 nighty, sure, I'll call you in the morning and set it up. 12:36:06 --- quit: Snoopy42 (Nick collision from services.) 12:36:39 --- nick: snoopy_1711 -> Snoopy42 12:51:44 --- quit: vatic ("Chatzilla 0.9.71 [Firefox 1.5.0.5/2006072310]") 13:18:13 --- quit: I440r ("brb") 13:24:50 --- join: I440r (n=mark4@63.163.143.188) joined #forth 13:31:17 ok 13:31:21 got to run 13:31:22 :) 13:31:27 see ya 13:35:18 ciao! 13:40:14 --- quit: nighty_ ("Disappears in a puff of smoke") 13:54:12 --- quit: I440r ("Leaving") 13:54:29 Dr Quartus? Making house calls? Heck, come on by. 13:54:57 heh. 13:55:11 House sit for me will i'm in MA. 13:56:10 OOH internent/irc vacation chain. Every body move over one, and spend your co-ordinated vacation in the house of someone in the chain, while they're on vacation. 14:05:22 --- join: I440r (n=mark4@63.163.143.188) joined #forth 14:16:02 --- quit: I440r ("Leaving") 14:30:41 --- quit: timlarson_ ("Leaving") 14:35:38 --- quit: PoppaVic ("Pulls the pin...") 14:56:51 --- mode: ChanServ set +o crc 15:06:55 --- quit: Ray_work (Read error: 104 (Connection reset by peer)) 15:43:35 --- part: b3nt_pin left #forth 16:01:48 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 16:16:35 --- join: vatic (n=charlest@pool-162-83-254-201.ny5030.east.verizon.net) joined #forth 16:24:46 --- join: madgarden (n=madgarde@Toronto-HSE-ppp3708723.sympatico.ca) joined #forth 16:37:04 --- quit: madgarden (Read error: 104 (Connection reset by peer)) 16:37:57 --- join: madgarden (n=madgarde@Toronto-HSE-ppp3708723.sympatico.ca) joined #forth 16:52:01 --- quit: vatic ("Chatzilla 0.9.71 [Firefox 1.5.0.5/2006072310]") 18:13:17 --- join: nighty_ (n=nighty@CPE00119576a9c5-CM0012c90d36fc.cpe.net.cable.rogers.com) joined #forth 18:14:37 --- quit: virl (Remote closed the connection) 18:53:49 --- quit: Quartus_ ("jmIrc destroyed by the OS") 18:58:13 --- quit: tathi ("leaving") 19:07:15 --- quit: uiuiuiu (Remote closed the connection) 19:07:17 --- join: uiuiuiu (i=ian@dslb-084-056-233-055.pools.arcor-ip.net) joined #forth 20:15:29 --- join: nighty- (n=nighty@CPE00119576a9c5-CM0012c90d36fc.cpe.net.cable.rogers.com) joined #forth 20:42:44 --- quit: nighty_ (Read error: 110 (Connection timed out)) 21:44:31 --- quit: nighty- (Read error: 110 (Connection timed out)) 22:15:36 --- join: ayrnieu (n=julian@pdpc/supporter/sustaining/ayrnieu) joined #forth 23:25:30 --- join: tate (n=segher@dslb-084-056-145-228.pools.arcor-ip.net) joined #forth 23:32:57 --- quit: segher__ (Read error: 110 (Connection timed out)) 23:57:57 --- join: Quiznos (i=1000@69-168-231-199.bflony.adelphia.net) joined #forth 23:59:59 --- log: ended forth/06.08.03