00:00:00 --- log: started forth/11.04.20 00:50:41 --- quit: ygrek (Ping timeout: 246 seconds) 01:19:35 --- join: DocPlatypus (~skquinn@dsl253-084-031.hou1.dsl.speakeasy.net) joined #forth 01:58:25 --- join: scj (scj@mycrosoft.us) joined #forth 02:47:29 --- join: Fox78 (~fox@123.118.155.138) joined #forth 03:31:03 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 03:35:59 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 03:51:34 --- quit: ygrek (Ping timeout: 246 seconds) 03:52:21 --- quit: MayDaniel (Read error: Connection reset by peer) 04:44:52 --- part: DocPlatypus left #forth 05:04:16 --- quit: Fox78 (Quit: 暂离) 05:26:02 --- quit: grai (Read error: Connection reset by peer) 05:28:58 --- join: grai (~grai@38.70.70.115.static.exetel.com.au) joined #forth 05:56:38 --- join: wtfness (~dsc@89.211.94.47) joined #forth 05:57:35 --- quit: nixness (Ping timeout: 240 seconds) 06:39:24 --- join: nixness (~dsc@78.101.95.166) joined #forth 06:42:18 --- quit: wtfness (Ping timeout: 246 seconds) 07:15:26 --- join: Monevii (~Monevii@67.224.248.245) joined #forth 08:16:57 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 09:53:06 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 10:02:44 --- join: DocPlatypus (~skquinn@dsl253-084-031.hou1.dsl.speakeasy.net) joined #forth 10:06:08 --- quit: MayDaniel () 10:32:31 --- quit: ygrek (Ping timeout: 246 seconds) 10:35:43 --- part: DocPlatypus left #forth 10:44:04 --- join: crcx (d8012b82@gateway/web/freenode/ip.216.1.43.130) joined #forth 11:25:57 --- join: DocPlatypus (~skquinn@dsl253-084-031.hou1.dsl.speakeasy.net) joined #forth 13:00:25 --- quit: crcx (Quit: Page closed) 13:24:44 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 13:27:41 --- quit: MayDaniel (Read error: Connection reset by peer) 14:12:56 --- part: DocPlatypus left #forth 14:25:25 --- join: foocraft (~dsc@86.36.49.200) joined #forth 14:59:50 --- nick: foocraft -> [1984] 15:25:12 --- join: DocPlatypus (~skquinn@dsl253-084-031.hou1.dsl.speakeasy.net) joined #forth 15:25:36 hmm 15:25:42 anyone here well versed in GNU Forth locals? 15:25:48 err 15:25:52 GNU Forth internals, I mean? 15:27:04 trying to figure out how to add support for larger value-flavored numbers. I have the source to TO in front of me and I'm a bit lost. 15:28:00 doc do it the lispy way 15:28:44 do you mean multiprecision numbers? 15:29:26 Free-man: specific-size larger than double numbers 15:29:30 o 15:29:46 for the moment, triples and quads 15:29:46 (gilda radner says "never mind") 15:29:53 :) 15:30:14 what did you mean by multiprecision? 15:30:34 huge, multi-byte, numbers 15:30:41 peta and beyond 15:30:56 treta actually 15:30:59 :) 15:31:08 you dont know who gilda was, huh? 15:33:04 oh. 15:33:19 no idea who gilda is 15:33:21 or was 15:33:25 ok you're too young 15:33:26 :) 15:33:35 she was an original player on SNL. 15:33:55 oh. 15:34:07 we might be talking about the same thing 15:34:19 ok; review what you're doin then 15:34:23 these are big numbers 15:34:29 bitlen? 15:34:34 but the same way you have a double, I have a triple and quad 15:34:40 k 15:34:51 128bits 15:34:58 yeah on a 32 bit cell system 15:35:00 so, you're using the extended insns of x86? 15:35:44 I've bootstrapped code to add/subtract/multiply/divide with triples and quads from the instructions available in GNU Forth 15:36:00 ok; but i'm disappointed :) 15:36:13 I had written out a whole bunch of this when I got bored, all the way up to octo (8 cell) numbers 15:36:19 nice 15:36:22 when ya gonna share? 15:36:29 I'm putting the finishing touches on it 15:36:35 * ASau did that many years ago. 15:36:42 anyway 15:36:43 /bin/sh: 256: command not found 15:36:46 wow 15:36:49 this code I'm writing uses quads 15:36:50 I don't consider it sensible, though. 15:37:29 It is better to rely on slightly more effective primitives than you can find in standard. 15:37:42 IOW, he's saying machine code :) 15:37:45 I'm reading four cells' worth of random numbers at a time from /dev/urandom 15:37:45 primitives 15:38:36 to do dice rolls 15:38:58 some of these words that I have coded can be rewritten for speed 15:39:05 shoud be :) 15:39:09 they are a tad slow in Forth but usable 15:39:10 or 15:39:20 * ASau doesn't think it is reasonable to use urandom. 15:39:20 ``dont bogart that interpreter'' 15:39:24 nahahaha 15:39:38 ASau: I did the speed tests. /dev/urandom is no slower than a Forth-based RNG 15:39:47 You could just generate it yourself. 15:39:53 With better quality. 15:40:08 maybe 15:40:12 Fast PRNG isn't high-quality one. 15:40:15 why reinvent the wheel 15:40:19 okay 15:40:21 practice 15:40:23 the code I'm writing now 15:40:25 Why do you want PRNG then?? 15:40:44 Programmed repeats not good 15:40:57 is a dice rolling program for backgammon. it generates sets of 36, 36^2 ... rolls 15:41:27 guaranteed to have one of each roll, or sequence of two rolls, in the result. 15:41:48 is it a bit silly? maybe. 15:41:58 negative 15:42:10 there is no silly code that you can learn from 15:42:34 the idea hit me to handle it the same way I did card shuffling code 15:42:42 like the gun, code doenst kill, bad users do 15:42:45 heh 15:43:17 pretend it's a deck of 36 cards (or 1296 cards, 46656 cards, etc) 15:43:33 so I'd init the array with 0...35 etc 15:45:43 then run a do loop 15:46:34 with the random function returning 0 to 35 each time 15:46:55 About five years ago I was interested in all this randomness stuff. 15:47:12 Rewrote many PRNGs in Forth. 15:47:13 and then swapping the contents of the cell pointed to by i with the random one 15:47:33 when I wrote the card shuffling code 15:47:44 Good ones are really not many. :) 15:48:48 the idea hit me instead of drawing *two* sets of random numbers, looping about 100 times, and hoping it was thorough enough... 15:49:15 I could just write "52 0 do ..." etc and swap with a random number for each card in the deck once 15:49:24 skipping the swap if the random number equaled i of course 15:49:43 With backgammon you definitly do not want urandom. 15:50:01 I don't think you're reading what I'm saying 15:50:10 I am not using urandom to generate the dice rolls directly 15:50:56 Composite PRNG isn't necessarily better than simpler one. 15:51:11 It is worse frequently. 15:51:24 the RNG I use will be swappable 15:51:44 I use a deferred word which lets me swap in a better RNG later 15:58:02 wrote it that way in case someone wants to use /dev/random or write their own 15:58:28 --- join: TeruFSX (~quassel@71-210-136-53.mpls.qwest.net) joined #forth 17:05:50 --- quit: Snoopy_1611 () 17:56:39 --- join: roarde (~roarde@pdpc/supporter/active/roarde) joined #forth 18:28:12 --- quit: grai (Read error: Connection reset by peer) 18:28:29 --- join: grai (~grai@38.70.70.115.static.exetel.com.au) joined #forth 20:13:08 --- quit: roarde (Quit: Leaving) 22:32:44 --- join: ygrek (debian-tor@gateway/tor-sasl/ygrek) joined #forth 22:42:50 --- join: qFox (~C00K13S@83.86.178.99) joined #forth 22:51:18 --- quit: [1984] (Quit: Leaving) 23:01:11 --- quit: scj (Read error: Operation timed out) 23:01:16 --- join: scj (scj@mycrosoft.us) joined #forth 23:18:38 --- quit: Monevii (Remote host closed the connection) 23:36:03 --- join: ytnobody (~ytnobody@61-24-229-34.rev.home.ne.jp) joined #forth 23:44:28 --- join: foocraft (~dsc@dyn-86-36-41-74.wv.qatar.cmu.edu) joined #forth 23:44:59 Hello everyone. I'm newbie for Forth. 23:45:21 Now I'm searching an online repository like CPAN of perl (or like gem of Ruby). 23:45:36 If you know such one, please tell me. 23:46:33 http://google.com/ 23:46:38 lol 23:46:57 ok, I try it again :) 23:47:11 thank you. 23:59:59 --- log: ended forth/11.04.20