00:00:00 --- log: started forth/02.09.04 00:05:26 --- quit: proteusguy (Read error: 110 (Connection timed out)) 00:05:37 --- join: proteusguy (~proteusgu@24-197-147-197.charterga.net) joined #forth 01:05:40 --- quit: proteusguy (Read error: 110 (Connection timed out)) 01:06:21 --- join: proteusguy (~proteusgu@24-197-147-197.charterga.net) joined #forth 01:14:53 --- join: Serg_penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 01:19:43 --- quit: Serg_penguin (Client Quit) 02:06:10 --- quit: proteusguy (Read error: 110 (Connection timed out)) 02:06:25 --- join: proteusguy (~proteusgu@24-197-147-197.charterga.net) joined #forth 03:05:47 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 03:05:55 --- quit: proteusguy (Read error: 110 (Connection timed out)) 04:05:22 --- quit: proteus (Read error: 110 (Connection timed out)) 04:06:10 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 04:36:14 --- quit: Soap` (Read error: 54 (Connection reset by peer)) 04:55:47 --- join: Serg_penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 04:56:00 --- quit: Serg_penguin (Client Quit) 05:06:02 --- quit: proteus (Read error: 110 (Connection timed out)) 05:06:22 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 05:32:46 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 05:37:40 --- join: sif (~sifforth@ip68-9-70-120.ri.ri.cox.net) joined #forth 05:37:40 Type sif: (or /msg sif to play in private) 05:56:37 --- join: Serg_penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 05:56:52 --- quit: Serg_penguin (Client Quit) 06:05:23 --- quit: proteus (Connection timed out) 06:05:53 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 06:50:48 sif: ." hi" 06:50:49 ianni: 06:50:51 haha 07:06:00 --- quit: proteus (Read error: 110 (Connection timed out)) 07:06:18 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 07:06:45 --- join: Serg_penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 07:07:09 --- quit: Serg_penguin (Client Quit) 08:05:48 --- quit: proteus (Connection timed out) 08:06:24 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 08:21:55 --- join: onetom_ (~tom@novtan.bio.u-szeged.hu) joined #forth 08:21:55 --- quit: onetom (Read error: 104 (Connection reset by peer)) 08:36:18 --- join: ASau (ASau@158.250.48.197) joined #forth 08:36:53 Good evening! 08:37:22 --- nick: proteus -> proteusguy 09:05:45 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 09:05:47 --- quit: proteusguy (Read error: 110 (Connection timed out)) 09:22:18 --- quit: sif (Read error: 110 (Connection timed out)) 09:27:03 --- quit: proteus (Read error: 110 (Connection timed out)) 09:48:57 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 10:03:02 --- join: tathi (~josh@wsip68-15-54-54.ri.ri.cox.net) joined #forth 10:22:57 --- nick: proteus -> proteusguy 10:36:15 --- quit: thin ("bye") 10:55:25 --- part: ASau left #forth 11:05:52 --- quit: proteusguy (Read error: 110 (Connection timed out)) 11:06:28 --- join: proteusguy (~proteusgu@24-197-147-197.charterga.net) joined #forth 11:36:08 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 11:57:19 --- quit: proteusguy (Read error: 60 (Operation timed out)) 11:57:19 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 12:06:29 --- join: proteusguy (~proteusgu@24-197-147-197.charterga.net) joined #forth 12:18:58 --- quit: tathi ("leaving") 12:52:28 --- join: ASau (ASau@158.250.48.197) joined #forth 12:52:44 Good night! 12:52:58 May I ask you... 12:53:39 If Serg_penguin appears tell him to look in mailbox. 12:54:01 when Serg_penguin appears tell him to look in mailbox... 12:54:34 Thanks in advance. 12:54:36 Bye! 12:54:38 --- part: ASau left #forth 13:05:46 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 13:06:05 --- quit: proteusguy (Read error: 110 (Connection timed out)) 13:36:17 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 13:58:09 --- quit: proteus (Read error: 60 (Operation timed out)) 13:58:10 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 14:01:18 --- join: tcn (tcn@pm1-2.megatrondata.com) joined #forth 14:01:24 hey 14:06:45 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 14:06:53 hello 14:09:38 easy question, how can I pause/sleep in forth 14:12:01 5 sleep 14:12:05 sleeps 5 seconds 14:12:08 thanks tcn 14:12:10 and hello 14:12:34 hrmm 14:12:50 onetom, why do you use &1000 again? 14:12:57 isnt &1000 = 1000 ? 14:12:57 maybe that's 5 microseconds.. 14:13:20 i think so but it might be octal 14:13:27 I think it's hex. 14:13:30 no sleep in gforth 14:13:32 no that's $1000 14:13:37 oh. 14:14:00 i think !1000 is decimal and &1000 is octal 14:14:06 and 'A is 65 14:14:36 I can't find the docs 14:14:38 on this 14:14:41 in gforth manual 14:14:42 heh.. Bernd Paysan entered the ICFP contest with a Forth program 14:14:47 ha 14:14:54 nice 14:15:03 i bet i440r would like to see that.. it has to do networking 14:15:46 it just said it has to do c/s 14:15:48 tho 14:15:54 tho the FAQ said you should use so0ckets 14:16:01 i dont think the provblem ever explicitly said so 14:16:38 you had to use TCP sockets 14:16:46 ah 14:16:51 rough 14:17:35 grrr 14:17:39 I wrote the socket code in C, then I was thinking how to solve mazes and crap and I said, fuck it, i'll write my sound program instead! 14:17:44 so hard to google on shit like "%" and "$" 14:17:52 hehehe 14:17:53 hee heeh 14:18:36 they got almost 200 entries.. tough competition 14:19:29 I figure the problem is designed for languages like ML & Haskell so of course they'd win over C 14:20:20 I bet I could have done a very very good on in java, lightning round too 14:20:26 now if they expected it to run on a microcontroller, that would turn the tables.. 14:20:28 didnt sound like a challenge though 14:20:32 yeah :) 14:20:56 i missed out on a good contest like that when I was in college 14:21:55 they had to build little cars that follow a black line around a track, using 6812's with about 1k RAM 14:24:50 oh, Bernd forgot something important 14:25:07 if there's no packages to deliver his bot kills itself.. 14:25:19 it COULD harass other robots and lower their score :) 14:25:24 hee. 14:25:51 he was in a hurry.. he didn't even put in "fighting" code 14:26:04 i had that all worked out but not the damn mazes :) 14:27:33 mr_smith: You have to use their crappy and illegal implementation of a view 14:28:58 wrong chan 14:30:17 I wonder if any Nethack authors entered the contest 14:30:27 like the people who programmed the monsters :) 14:38:56 heh.. the Java bot looks really lame 14:39:04 I bet. 14:39:14 mine would rock :) 14:39:31 Java is my best language, sadly 14:39:48 would prefer to be fluent in forth 14:43:01 actually that's what this guy said, it's his best language. but I say it's lame because he's naive :) 14:43:33 i mean it doesn't matter what language you use, if you don't have the experience 14:43:41 of course 14:43:53 you could be the best forth coder in the world and make shit programs 14:44:03 well, forth is a bad example, but 14:44:04 :) 14:44:04 heh.. these other people were mostly just as pathetic as me 14:44:20 because of the time limit 14:45:29 whoa 14:45:42 it just dawned on me 14:46:13 If the game was real-time instead of turn-based, we'd have a chance 14:46:42 yeah 14:47:06 problems get less and less real time as technology progresses 14:47:17 i mean, more and more non-real-time maby 14:47:19 maybe 14:47:30 you want to take a whole second doing a 50-MB search tree in LISP, and i'll shove you in the water and deliver all my packages meanwhile :) 14:47:56 :) 14:48:01 hey, we should have our own version of this contest 14:48:40 hehe 14:48:47 nobody'd join 14:49:21 no time limit.. it would be an ongoing tournament.. 14:49:31 thatd be interesting 14:50:21 and it'd be realtime.. and maybe you could move any direction not just horizontally & vertically 14:52:12 i saw another game kinda like this.. the server had a GUI and you'd see the robots running around in circles.. you just had to shoot each other 14:55:52 and pick up "cookies" 14:56:01 Corewar was the best though 14:58:30 later. 14:58:32 --- quit: tcn ("Leaving") 15:01:07 I dont understand this 15:01:07 clearstack utime cr d.s cr .s cr 15:01:07 [ 2 ] 2492832357 240089 15:01:07 <2> -1802134939 240089 15:01:22 wh'ats d.s do? 15:05:55 --- quit: proteus (Read error: 110 (Connection timed out)) 15:06:20 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 15:19:20 --- join: sif (~sifforth@ip68-9-70-120.ri.ri.cox.net) joined #forth 15:19:20 Type sif: (or /msg sif to play in private) 15:36:23 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 15:40:34 Anyone here? 15:41:04 hi 15:41:43 Hi. You familiar with ' and immediate and the subtleties thereof? 15:42:03 no. 15:42:10 I only vaguely know what each is. sorry. 15:42:12 I just started forth. 15:43:10 How do I get 15700000 to be printed as 1.57 ? 15:43:45 --- join: Kiara (~clark@SCF61185.ab.hsia.telus.net) joined #forth 15:43:46 --- quit: Kitanin (Read error: 54 (Connection reset by peer)) 15:43:52 --- nick: Kiara -> Kitanin 15:44:04 Yay. Bouncy freenode. 15:44:09 :) 15:44:12 How do I get 15700000 to be printed as 1.57 ? 15:44:22 s/get/go about getting/ 15:45:51 im a newbie, do I write my own word 15:45:56 or can I use something else. 15:46:07 im in gforth. 15:46:09 brb. 15:50:45 Is 15700000 a single or double-cell value? 15:54:01 single 15:54:26 ive obtained it from d>s'ing two utime results (doubel cells) 15:54:29 and subtracting 15:54:34 Okay. First, `1 M*' to make it a double-cell value. :-) 15:54:36 so now I got a cell I want to parse into seconds. 15:54:53 * ianni takes notes 15:55:10 [aside] You sure that's the right number of zeros, then? 15:55:22 no 15:55:29 679618954 695322267 - . -15703313 ok 15:55:57 those are two utimes ( d>s -ed ) 15:55:57 Okay. :-) (I was expecting four zeros is all.) 15:56:00 hehe. 15:56:16 Okay, now to print the double value: 15:56:41 : Dprint 1 100000 M*/ ( scale appropriately ) 15:57:13 --- quit: proteus (Read error: 60 (Operation timed out)) 15:57:37 [ABORT] Drat. Forgot to check for negative values. Give me a minute. :-) 15:57:43 haha 16:01:04 : Dprint 1 100000 M*/ ( scale appropriately ) 16:01:22 tuck dabs ( save sign, make double value positive ) 16:02:00 why cekc for negative values? 16:02:17 <# # # [CHAR] . hold #S rot sign #> ( generate string ) 16:02:24 type ; ( display the value ) 16:02:51 wow! 16:02:54 Because you have to put a minus sign in front of the text if the value is negative. 16:04:11 hrm 16:04:27 nd I give it a single cell number? 16:04:38 dosent seem to be right runnign it 16:04:48 That function you give a double-cell number to. 16:05:04 15700000 1 M* Dprint 16:05:13 ah. 16:05:14 -> 1.57 16:05:19 Wow. 16:05:24 : Sprint 1 M* Dprint ; 16:05:29 I would have NEVER ever figured that out 16:05:32 That will print single-cell values. 16:05:35 is that ANS forth? 16:05:51 Yep. ANS forth. The whole <# thing does take a while to get used to. :-) 16:06:02 ahhh. 16:06:03 cool 16:06:14 that gives me hope, all I've been reading lately is gforth manual 16:06:16 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 16:06:17 I think I need a better doc source. 16:06:29 this is awesome 16:06:40 soon I will be able to actually start comparing forth to my other programs 16:06:46 and using it for real :) 16:06:52 * Kitanin rampages through the Gforth manual, looking for the right spot for you... 16:07:08 probably under the ANS forth section 16:07:09 heh 16:07:11 whicih i never look at 16:07:15 stupidly 16:08:19 http://www.jwdt.com/~paysan/html/gforth.html#Formatted%20numeric%20output 16:08:35 well 16:08:39 I look silly now, don't I? 16:08:49 ahhhhh ths is current docs 16:08:51 * ianni bookmarks 16:09:27 cheers 16:09:37 and I'm off for the night........... have a good one. 16:10:19 Okay. They explain it in terms of their extensions, but the basic concepts are there. TTYL. 16:10:42 may the 4th be with u 16:12:44 And, of course, you could just use s>d instead of 1 M*... :-) 16:45:54 --- quit: Soap` () 16:45:54 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 16:46:33 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 16:46:50 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 16:46:55 --- part: Kitanin left #forth 16:59:28 --- quit: proteus (Read error: 60 (Operation timed out)) 17:06:47 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 18:06:20 --- quit: proteus (Read error: 110 (Connection timed out)) 18:06:22 --- join: proteus (~proteusgu@24-197-147-197.charterga.net) joined #forth 19:07:47 --- quit: proteus (Connection timed out) 19:07:52 --- join: yeahright (~proteusgu@24-197-147-197.charterga.net) joined #forth 19:49:24 --- quit: yeahright (Read error: 60 (Operation timed out)) 19:59:24 --- join: yeahright (~proteusgu@24-197-147-197.charterga.net) joined #forth 20:20:55 --- join: sbk_ (~kbs@dsl-65-184-98-221.telocity.com) joined #forth 20:41:28 --- quit: Soap` (card.freenode.net irc.freenode.net) 20:41:28 --- quit: onetom_ (card.freenode.net irc.freenode.net) 20:41:28 --- quit: Shain (card.freenode.net irc.freenode.net) 20:43:33 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 20:45:29 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 20:45:29 --- join: Shain (~steve@12-236-220-28.client.attbi.com) joined #forth 20:56:41 --- quit: sbk_ ("Leaving") 21:05:26 --- quit: yeahright (Read error: 110 (Connection timed out)) 21:05:58 --- join: yeahright (~proteusgu@24-197-147-197.charterga.net) joined #forth 21:13:14 --- quit: sif (Read error: 110 (Connection timed out)) 21:59:40 --- quit: yeahright (Read error: 60 (Operation timed out)) 22:06:24 --- join: yeahright (~proteusgu@24-197-147-197.charterga.net) joined #forth 22:57:18 --- quit: yeahright (Read error: 60 (Operation timed out)) 23:06:15 --- join: yeahright (~proteusgu@24-197-147-197.charterga.net) joined #forth 23:33:23 --- quit: skylan (Read error: 110 (Connection timed out)) 23:59:59 --- log: ended forth/02.09.04