00:00:00 --- log: started forth/07.01.26 00:14:59 hmm, just wrote a variant of <<< 00:15:02 not quite clean yet. 00:24:00 ASau: http://forth.pastebin.ca/328994 00:24:27 i follow mine better, far from perfect though. try it if you like. not sure whether "get-line" is a worthwhile factoring though. 00:24:38 makes "<<<" a tad easier to read. 00:26:16 stack diagram's a bit fudged too; the convention, anyhow. 00:27:48 but this prints, as you stated it ought to. i looked over the PLEAC code, it seems to be returning a string pair. 00:37:10 --- join: ecraven (n=nex@eutyche.swe.uni-linz.ac.at) joined #forth 00:45:58 zpg: http://forth.pastebin.ca/329001 00:46:06 You have memory leak. 00:46:15 Guten Tag, ecraven. 00:49:11 hey ASau :) 00:49:25 no leak, it's unfinished. 00:50:54 --- quit: gnomon (Remote closed the connection) 00:52:30 My version is finished and working. 00:53:01 It's better to use "0 parse" instead of "parse-word". 00:54:14 http://forth.pastebin.ca/329002 00:55:08 you're using parse-word. 00:55:33 and you've also got a memory leak, it would seem. 00:55:37 It's suboptimal: you have memory allocation and string 00:55:38 copying per line. 00:56:06 I allocate memory only for end marker, which is freed on exit. 00:56:09 --- quit: JasonWoof ("off to bed") 00:57:12 Everything is done in TIB. 00:57:17 there, 00:57:18 : type-until: ( "delimiter" "...<\n"delimiter">" -- ) 00:57:18 parse-word save-mem 00:57:18 begin 0 parse 2over 2over str<> while 00:57:20 type refill if cr then repeat 00:57:24 2drop free-string ; 00:57:55 anyhow, the code has converged, this is nitpicking. 00:58:21 but thanks for catching the extraneous save-mem 00:58:53 I'm doing text preprocessing with similar technique. 00:59:07 i don't like the naming of "<<<" as you might have guessed. 00:59:14 was the earlier paste your previous version of it? 00:59:25 I don't like "<<<" too. 01:00:07 Actually, I implement refill loop and check for 01:00:07 *** preprocessor lines. 01:00:25 I remove standard prefix and "evaluate" the rest of "source". 01:00:48 i see 01:00:52 what do you make of -- 01:00:54 http://forth.pastebin.ca/329003 01:01:04 in use? i quite like the naming of "type-until:" 01:02:06 You have to REFILL before your first "0 PARSE". 01:02:46 works fine here. 01:03:05 Because you print the rest of line after end word: 01:03:21 type-until: end-marker *this is printed* 01:03:27 yeah 01:03:27 *this is printed* 01:03:29 i'm fine with that 01:03:32 end-marker 01:03:46 type-until: BLAHBLAH 01:04:32 this isn't perl, i have no desire to refill all lines excluding the first. once the delimiting word has been stored, i'm fine to start printing straight away. 01:04:51 you can still get your functionality if you want clarity. 01:05:00 I think it's somewhat weird. 01:05:08 But it's a matter of style. 01:05:33 well, i'm not sure i'd ever use this, it's your code. i just found the earlier paste hard to follow so tried my hand at refactoring it. 01:05:49 as i said, there appears to be convergence, so it wasn't in vain. 01:06:47 I got used to this "begin refile while ( condition ) while 01:06:47 *** ( action ) repeat ( clean-up ) then ( clean-up )" construction. 01:08:07 I looks too complex at first glance, but it's a matter of custom, I think. 01:09:53 * zpg nods 01:10:57 have fun, time to head. cheers for now. 01:10:58 --- quit: zpg ("ERC Version 5.1.3 (IRC client for Emacs)") 01:29:09 --- part: Cheery left #forth 01:29:48 --- join: Cheery (n=Cheery@a81-197-54-146.elisa-laajakaista.fi) joined #forth 01:33:09 --- join: ygrek (i=user@gateway/tor/x-5f894fc1f300dbb6) joined #forth 01:39:39 Privet! 01:50:00 aloha 01:50:30 What goes on? 01:51:30 snow goes on. First in this winter. I am happy :) 01:52:48 Don't forget I'm in Russia too. 01:53:07 What goes on in Forth field? 01:54:18 nothing special.. just finished my exams 01:55:21 Tatiana's day? 01:56:00 aha 01:56:29 that too added in evolving my laziness 01:56:30 If it's not secret, what university/institute do you attend? 01:57:02 Kiev Polytechnic 01:58:16 I graduated Moscow State Univ. 01:58:29 cool 01:59:41 Actually it's not as cool as you may think. 02:00:18 Of course there're better and worse higher schools, 02:00:45 but they're approximately equal. 02:00:51 I was always sure it was the strongest in math 02:01:03 maybe. anyway it is cool enough :) 02:01:41 I can't speak for math, there's strong school in topology 02:01:42 *** and diff. eq. in Voronezh. 02:02:57 Physical Dept. of MSU is weaker than MIPT (MFTI). 02:04:30 BTW, I've succeded to find employment where I program Emacs Lisp. 02:10:47 in Russia? 02:11:53 In Moscow. 02:12:10 Almost near Kremlin. 02:13:15 BTW, there's Kiev dept. of this company. 02:13:29 But they're Java men. 02:14:05 And what about Forth programming? I have heard only of few - and all were mostly hardware development 02:14:23 what for do they need Lisp? 02:15:26 We're logged. 02:15:56 join #forth-rus 02:17:12 Actually, it's a big program which is Python + Common Lisp. 02:17:48 Older version was partly in Java. 02:18:08 --- join: gnomon (n=gnomon@CPE0050eb372bdb-CM001692f57b56.cpe.net.cable.rogers.com) joined #forth 02:18:27 Dobry den, gnomon. 02:18:38 Hmm. 03:08:19 --- quit: ecraven ("bbl") 03:15:25 --- join: zpg (n=user@smaug.linux.pwf.cam.ac.uk) joined #forth 03:15:40 hi 03:42:23 --- nick: crest_ -> Crest 03:45:36 wb 03:46:49 thanks; how's it going ASau? 03:47:14 I've just returned from dinner. 03:47:40 good? 03:48:40 Fine. 03:56:04 --- quit: zpg ("...") 04:26:43 --- join: Quartus_ (n=Quartus_@209.167.5.2) joined #forth 04:26:43 --- mode: ChanServ set +o Quartus_ 04:33:29 --- join: zak (n=zak@068.a.001.beg.iprimus.net.au) joined #forth 04:33:51 Good afternoon, zak. 04:34:05 hey 04:39:09 are there any forth gui toolkits that don't use an object system? i'd just like to look into other approaches, if there are any [that work ;)] 04:39:39 Hardly. 04:39:46 Make your own. 04:40:39 well, that's the plan :) but if there are any UI toolkits around that aren't [essentially] OO, i'd like to see how they work 04:41:37 Try find a paper on MS Research pages about using f.p. in graphics. 04:42:12 hmm 04:42:35 http://www.forth.org.ru/~yz/winctl.html 04:42:42 but it is in russian :) 04:43:22 and an example http://www.forth.org.ru/~yz/prog/winlib/calc.f 04:43:47 RuFIG presense on the Net. 04:44:12 - web applications for WinNT 04:44:20 - GUI for WinNT 04:46:08 BAHAHAHA firefox had like, 20 tabs open... suddenly all but two disappear, and the "getting started with firefox" stuff comes up, like when you first install it... gotta love software these days :| 05:03:21 --- join: vatic (n=chatzill@pool-162-84-209-238.ny5030.east.verizon.net) joined #forth 05:10:35 eee - t'was so much better when i were a lad... 05:15:29 you got a sex change? 05:16:36 was offered in response to your 'gotta love software these days' comment 05:17:04 when i were a lad, software was printed in magazines - and you had to type them in to use them 05:17:22 on punch cards 05:18:04 punch card tech was considered too advanced for 10 year olds... 05:18:49 --- join: zpg (n=user@smaug.linux.pwf.cam.ac.uk) joined #forth 05:18:51 when i was a lad, windows xp didn't exist yet... that's all i've got to regret :) [was there ANYTHING else good about the 90's?] 05:18:57 hi. 05:19:05 ehh 05:19:10 regret? wrong word 05:19:16 but i'm too tired to think of a better one 05:19:23 When I was a lad, you had to re-wire the machine. 05:19:58 Raystm2: same... but only because the commodore 64 i got from the tip wasn't working 05:20:12 when i was a lad, i was soldering op amps on to boards to simulate simple calculators 05:21:33 Luxury! 05:22:05 ... waiting for 'the cardboard box in't middle of road' comment... 05:22:28 i got to the point of briefly trying to wire up a Z80... then i realised it wouldn't acheive anything anyway, brushed it aside and smokes some pot 05:22:32 When I was a lad, you had to wait for the 6volt line to heat all of the tubes before you could even think about calculating. :) 05:22:39 *smoked... damn, what's with my typos tonight 05:23:32 Gotta go to work, see ya all from there. :) 05:23:39 later 05:29:30 --- join: zak_ (n=zak@065.a.001.beg.iprimus.net.au) joined #forth 05:39:14 --- quit: zpg (Remote closed the connection) 05:50:55 --- quit: zak (Read error: 110 (Connection timed out)) 05:52:37 --- nick: zak_ -> zak 06:03:06 --- join: timlarson_ (n=timlarso@65.116.199.19) joined #forth 06:15:45 --- join: Ray_work (n=Raystm2@199.227.227.26) joined #forth 06:19:59 --- quit: ygrek (Remote closed the connection) 06:34:39 When I was a lad, you weren't a programmer, you were a data processor. 06:34:48 Only wizards were programmers. 06:35:20 You handed in your deck of cards to the wizard and hoped that he wouldn't chastize you for being an idiot. 06:36:40 oh and if you didn't know.... FRIDAY! 06:41:02 --- nick: Raystm2 -> nanstm 06:43:00 --- quit: Quartus_ (Read error: 104 (Connection reset by peer)) 07:22:58 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 07:29:25 --- join: edrx (n=Eduardo@200.217.105.114) joined #forth 08:02:03 --- quit: virl (Read error: 104 (Connection reset by peer)) 08:08:01 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 08:08:25 lool 08:08:33 i know 08:08:37 weekend :) 08:52:56 :) 08:54:13 --- part: edrx left #forth 09:35:02 --- quit: zak (Read error: 145 (Connection timed out)) 09:48:47 --- quit: madwork (Read error: 104 (Connection reset by peer)) 09:49:03 --- join: madwork (n=foo@204.138.110.15) joined #forth 09:57:33 --- quit: vatic (Remote closed the connection) 10:16:44 --- join: Quartus_ (n=Quartus_@209.167.5.2) joined #forth 10:16:44 --- mode: ChanServ set +o Quartus_ 10:37:20 --- join: JasonWoof (n=jason@c-71-192-30-169.hsd1.ma.comcast.net) joined #forth 10:37:20 --- mode: ChanServ set +o JasonWoof 10:42:56 hrm. is Tessa Celine Bonting another werty ? 11:19:30 --- join: zpg (n=user@90.241.26.221) joined #forth 12:21:21 --- join: neceve (n=Clau@unaffiliated/neceve) joined #forth 12:25:39 --- quit: neceve (Remote closed the connection) 12:36:35 --- join: neceve (n=Clau@unaffiliated/neceve) joined #forth 13:30:37 i got it! i know who werty is! 13:30:40 CLOG is werty! 13:31:42 --- quit: timlarson_ ("Leaving") 13:38:30 lol. whay makes you say that, mark4? 13:49:15 --- quit: zpg ("ERC Version 5.1.3 (IRC client for Emacs)") 14:01:01 http://groups.google.com/group/comp.lang.forth/browse_thread/thread/3a27c0ab654d1c90/a6f0928999405e38?lnk=st&q=comp.lang.forth+werty+eliza&rnum=2#a6f0928999405e38 14:17:20 hey 14:21:50 --- join: edrx (n=Eduardo@201.5.11.148) joined #forth 14:35:48 lol boredom :P 14:37:59 Quartus hey. 14:38:07 mark4 :) 14:40:04 Quartus: mark4: JasonWoof: did I share that link with ya'll about the new software that can take 2d pictures from the internet of an object and turn it into a 3d view? 14:40:45 oh yes, I did with JasonWoof. 14:41:52 --- part: edrx left #forth 14:49:18 haven't looked at it yet. 14:49:47 You may enjoy this one. 14:50:03 last one I gave you was the blue meanie economist. 14:50:06 now wait 14:50:11 yikes 14:50:14 no wait 14:50:20 james burke in the middle of all that. 14:50:30 so i'm batting 666 14:50:42 if you like this one that is. 14:52:32 i think the eliza program was the smarter of the two :) 14:53:24 oh you saw it? 14:53:25 cool. 14:53:26 errr gavino wants to know how to iggy werty lol 14:53:31 ya. that was bad ass. 14:53:37 iggy? 14:53:39 lol 14:53:42 ignore i guess 14:53:49 oh hehe. 14:54:54 i just bought a RO water filter and it came with a tds meter. i measured the tap water here at work at its got 999 ish parts per million of impurities 14:55:09 i measured the filtered water from the coffee machine and its got 1200+ ppm 14:55:36 gavino keeps thinking that if he changes his nick with out changin isp that he can get in here. 14:56:12 yikes 14:56:13 lol 14:57:22 city water? 14:57:38 btw 900 ppm is the worst ive seen anywhere. the phoenix area has the worst water in the country. ive seen places with less than 100 ppm PRE filtered 14:57:45 yes. city water 14:57:58 Colorado river? 14:58:03 thats why i got this RO water filler. 14:58:05 dunno 14:58:10 its possible 14:58:15 I know Yuma is. 14:58:24 are u in AZ ? 14:58:29 Don't blame you. 14:58:49 no, my brother used to clean the colorado before it exited into mexico. 14:58:57 I went there for his wedding. 14:59:07 He lives IN colorado now. :) 14:59:17 --- join: grub_boote1 (n=charlie@d54C37EE9.access.telenet.be) joined #forth 14:59:23 My father-in-law swares by the R-O. 14:59:41 He even puts magnets on the pipes :) 14:59:51 problem wth RO is that it wasts more water than other filtering methods 14:59:59 lol 15:00:24 this filter has pre-filtering filters to remove larger contaminants and chemicals that the RO wont remove 15:00:27 did not know that. 15:00:34 ya 15:02:19 --- join: snoopy_17 (n=snoopy_1@dslb-084-058-174-145.pools.arcor-ip.net) joined #forth 15:04:51 --- quit: grub_boote1 (Read error: 104 (Connection reset by peer)) 15:07:15 * Ray_work looks up reverse osmosis 15:07:47 * Ray_work ends up at Howstuffworks 15:09:32 --- quit: grub_booter (Read error: 110 (Connection timed out)) 15:09:51 bye see ya from la casa 15:10:02 --- quit: Ray_work (Read error: 131 (Connection reset by peer)) 15:10:34 then there's yer Fluoride the Commies put in 15:12:13 Rolol 15:12:52 u think flouride is bad for you ? 15:13:02 I was poppavicing 15:13:07 oh lol 15:13:31 did u see above where i figured out who werty is ? 15:13:48 no 15:13:58 CLOG!!!! 15:14:01 glog is werty! 15:14:04 ah 15:14:17 clog is a bot, werty is a bot 15:14:28 clog has been in here for enough time to learn something of forth 15:14:37 2+2 = 5 ! 15:14:50 ok 15:19:06 --- quit: Snoopy42 (Read error: 110 (Connection timed out)) 15:19:27 --- nick: snoopy_17 -> Snoopy42 15:40:36 --- join: arke_ (n=chris@pD9E05BB3.dip.t-dialin.net) joined #forth 15:42:23 --- quit: fission (".") 15:57:42 --- quit: arke (Connection timed out) 16:01:44 --- quit: Cheery ("Download Gaim: http://gaim.sourceforge.net/") 16:03:00 Quartus: How do I output in binary formated ? 16:03:13 Quartus: I can use %10101 in gforth 16:03:29 but how can I output the result in % ( binary) 16:03:44 is there a way to do this ? 16:04:33 I mean to store the result of an operation in binary on the stack 16:12:34 --- nick: nanstm -> Raystm2 16:13:06 mark4: Quartus: that same father-in-law that uses magnets on his R-O water pipes, He's famous in Kansas for keep floridation out of the water there. He's been fighting it for years and has much compelling evidence. 16:13:58 He's a scientist. He had the grant to study the feasibility of turning ponds into solar collectors, amonst other things. 16:14:27 Not that that qualifies him. :) 16:14:31 Ok I am being ignored big time here :) 16:14:37 Just some background. 16:14:41 nightly? 16:14:58 oh sorry, hadn't got that far down yet. :) 16:15:22 :) 16:15:27 you want binary representation on the stack in gforth? 16:15:35 I guess yes :) 16:15:45 * Raystm2 looks it up cuz i don't know it off top of head. 16:15:54 I went thru the doc 16:15:57 i've never done it. 16:16:00 okay. 16:16:02 but I could not find 16:16:15 now maybe I missed it 16:16:40 * Raystm2 looking... 16:18:45 doh! what about 2 base ! :) 16:20:23 % 16:20:34 file:///C:/Program%20Files/gforth/doc/gforth/Number-Conversion.html#Number%20Conversion 16:20:45 doh! that's a local file sorry . :) 16:21:04 2 base 16:21:06 uhmm ok 16:21:32 %1100 %1111 xor 2 base .s <3> 3 2 672747548 16:22:05 not really what I had in mind for a binary result :) 16:24:22 http://www.ugcs.caltech.edu/manuals/lang/gforth-0.6.2/gforth_120.html#SEC120 16:24:28 gforth manual online ther. 16:24:31 there even. 16:24:54 about number conversion. 16:25:50 does not help me much 16:26:02 I read this 16:26:07 unless I did not understand 16:26:19 this does not tell you how to do what I want to do 16:26:22 does it ? 16:27:55 * Raystm2 reading what it was you wanted to do. 16:27:56 going home 16:28:05 okay, nice weekend! :) 16:28:13 thanks 16:29:21 base @ 5 2 base ! . base ! 16:29:43 or 16:30:32 : print-binary ( n -- binary-n ) base @ swap 2 base ! . base ! ; 16:31:12 untested. but i'll try it now. 16:32:55 doh! that stack comment is really ( n--) 16:33:10 but it works just fine. 16:33:32 leave out the . ( dot ) and check stack = next test. 16:36:20 don't work like that :) 16:40:56 2 base ! 16:41:02 don't forget the ! 16:42:12 %1100 %1111 xor 2 base ! . -> 11 16:43:53 neat. 16:44:04 thanks Neal. I hope nighty- sees. 16:44:42 for . to represent the number in the base you want, you must change the base for the duration of . 16:46:21 then it's recommened to change it back. 16:47:10 base @ do-something base ! 16:47:30 i recommend not messing wtih base unless you absolutely have to 16:47:42 yes. agreed. :) 16:47:57 so, I went and wrote a chess in base 18 :) 16:49:07 why base 18? 16:50:47 12345678(90notUsed)abcdefg 16:50:53 board co-ords 16:51:06 instanly became a subset of the PGN. 16:51:17 just changing base. 16:51:19 oh lol 16:51:22 duh 16:51:26 neat huh? 16:51:54 can it beat gnu chess? 16:51:58 }:) 16:52:13 after reading the MVPforth tutorial and Starting Forth, I had that little inspiration and wrote B18chess for win32 and gforth. 16:52:21 no not yet, no ai yet. 16:52:30 dang :P 16:52:32 I won't quit till it's done or i die trying. 16:52:41 so... stay tuned. 16:52:49 :) 16:52:54 port it to isforth :) 16:53:04 I'll be stealing from 2 chesses i've found online. 16:53:28 I have a tight little version of a chess in retroforth 9+ right now... 16:54:13 http://retroforth.org/projects/darcs/RxChess/RxChess.forth 16:54:39 i cant read retro forth lol 16:56:02 its okay, i've started a standard version. 16:56:49 erm. thats even worse :) 16:56:50 lol 16:56:53 hehe. 16:56:54 ok, i gtg home 16:57:02 k safe trip good weekend! 16:57:13 did you rtfm how RO works ? 16:57:16 u 2 17:00:39 I had it up at work and only briefly browsed the artical but... 17:01:02 It's something like having two liquids separated by a membrain. 17:01:04 e? 17:01:12 e at the end of membraine? 17:01:17 o well. 17:01:37 one liquid draws the other thru the membrane. 17:02:09 wait,. that's osmosis 17:02:20 reverse --- I didn't get quite that far. 17:16:30 --- quit: Zarutian (Read error: 104 (Connection reset by peer)) 17:27:20 --- join: Zarutian (n=Zarutian@194-144-84-110.du.xdsl.is) joined #forth 19:27:05 --- join: TreyB_ (n=trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 19:27:06 --- quit: TreyB (Read error: 104 (Connection reset by peer)) 19:35:55 Hey. 20:11:54 --- quit: segher (Nick collision from services.) 20:12:08 --- join: segher (n=segher@dslb-084-056-181-064.pools.arcor-ip.net) joined #forth 20:35:30 --- nick: TreyB_ -> TreyB 21:00:16 Hey. 21:39:18 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 22:33:40 --- join: crest_ (n=crest@p548968F2.dip.t-dialin.net) joined #forth 22:35:49 --- quit: Crest (Read error: 60 (Operation timed out)) 23:17:32 --- join: grub_booter (n=charlie@d54C37EE9.access.telenet.be) joined #forth 23:59:59 --- log: ended forth/07.01.26