00:00:00 --- log: started forth/04.07.20 00:03:21 hm, gmail doesn't seem to want to accept it. Would DCC work for you? 00:03:44 no 00:03:47 I'd throw up a webserver, but I really don't have anything on this system yet (and, when my MacOSX CDs arrive ANY DAY NOW, I'll destroy it anyway) 00:03:50 i'm behind nat 00:04:52 OK. Maybe later, then. 00:05:05 slava: giving email in plain form is LAME - spambots are on duty 00:06:10 * ayrnieu notices the Factor HTTP server. 00:10:46 Serg, i get enough spam as is from having the email on a web site 00:14:33 * Serg reboots to test NTFSDOS boot floppy 00:14:37 --- quit: Serg () 00:43:07 --- quit: zardon ("leaving") 00:54:58 --- quit: ayrnieu (Read error: 60 (Operation timed out)) 01:12:48 --- join: arke (arke@melrose-251-251.flexabit.net) joined #forth 01:13:09 HI 01:16:33 .... 01:16:35 bleh 01:16:41 talk to me :) 01:16:52 Robert: you should be awake! 01:16:56 I am. 01:17:00 mur: yout too 01:17:06 Robert: well good, then talk to me! 01:17:07 For the first time this summer, though 01:17:11 ...lol 01:17:39 thin should be awake still 01:17:55 and Herkamire too 01:18:02 o.O 01:18:07 gut. 01:18:18 Robert: wie kommt F2 voran? 01:18:38 Robert: du weisst, dass ich dich umbringen muss wenn du immer noch nichts gemacht hast ;) 01:18:42 Well, I've been working (a little...) with an optimizing compiler. 01:18:53 +work 01:19:14 But it's far from done (barely started), so it will be a while. Have other projects and stuff... 01:19:36 standalone compiler? 01:22:35 Yeah. 01:22:54 good boy 01:22:57 :) 01:22:59 uum 01:23:02 yeah 01:23:12 would you be willing to have it c0l0r3d? 01:23:18 * arke is working on CRK4TH/DOS 01:23:29 ...which is a colorforth/pygmyforth hybrid for DOS 01:23:33 and will be for others soon 01:23:35 like 01:23:38 standalone 01:23:39 and 01:23:40 linux 01:23:41 Actually I'm thinking about making the optimizer separate from the language. 01:23:41 and 01:23:43 l33t 01:24:10 Robert: wel, if you're thinking of making this non-STC I hope you know that you're gonna get facepunched 01:24:14 :) 01:27:33 The optimizer will use STC, but its input will probably be some sort of bytecode. 01:29:31 --- quit: arke ("thanks Robert.") 02:21:32 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 02:34:51 Hi qFox 02:46:20 hi 02:47:16 I saw you find some nice problems.. 02:47:54 yes many walls 02:47:55 ' word 4- @ 9 + 02:47:58 but i have good hammer :p 02:48:19 now a bit stuck at trying to get branching to work. lets see where i stopped last night 02:49:05 i did figure out the thinking error i made earlier, mixing up compile and immediate, and all kinds of versions 02:49:26 oh right. it wont fetch the proper target to jump to. 02:49:42 which is quite strange, since literal is working fine, and its the same mechanism. 02:50:49 :/ 02:51:43 can you make a word for F that prints a words name, takes directory adr as argument? 02:51:47 (result by tick) 02:53:46 * Robert asks qFox to guess if the piece of code he just write was random nonsense or not. 02:53:51 wrote* 02:54:34 i dont know. could be for all i know 02:54:56 OK. It's not. 02:55:03 awesome! 02:55:03 :p 02:55:04 It will return the address of the name. 02:55:08 okay 02:55:13 *tests* 02:55:18 I think "print" is defined in F 02:55:24 count type 02:56:21 Yep.. 02:56:23 Heh. 02:56:25 "J. B. Rhine has been able to verify experimentally the reality of psychokinesis, extra-sensory perception, precognition, clairvoyance, and telepathy. Evidence is beginning to accumulate that plants have emotions, that there is a "pool" of vegetable consciousness which functions telepathically across great distances and possesses memory." 02:56:33 Ooookay. 02:56:36 ok that works 02:56:38 :) 02:56:44 uh 02:56:45 Someone has taken too much acid and read too much Asimov 02:56:47 big glob of text 02:56:49 * qFox runs 02:58:26 has there been any prove of telekinesis being possible, or is it safe to say i dont believe in it 03:00:27 Well, do proofs than can only be demonstrated under the influence of 1mg of LSD count? 03:00:57 let me think... NO. 03:01:18 Then no. 03:01:54 i thought of something interesting the other day 03:02:37 Yes? 03:02:38 would it not be possible, with specific equipment, to see sound waves or other type of waves, if they pass you (the equipment) 03:03:14 Sure... 03:03:41 Just have an array of directional microphones, and create a picture of where the sound waves have come from. 03:04:13 nonono, i mean, a .... beam of sound if you will, sound that you would otherwise not hear 03:04:23 that passes you, not "hits" you 03:05:20 Er, what do you mean? 03:05:58 well 03:06:10 you can only hear sound, if it hits you, right? 03:06:23 Yeah? 03:06:35 Oh, you mean sound somewhere else? 03:06:39 Hmmm 03:06:52 yes, say a sound generator of some kind 03:07:05 that specificly sends the sound to somewhere, where you are not in the path 03:07:19 and it doesnt hit anything that could make you hear it either... 03:07:34 Maybe you could use the optic characteristics of air when pressurized by sound waves 03:07:51 Does "hit" include affecting radiation? 03:08:22 hm i dont know. by hit i mean what happens when sound hits an object, it bounces around 03:08:48 (or is absorbed, partially or completely) 03:09:03 OK. 03:09:12 well, i was just thinking about it 03:09:16 :) 03:09:20 dont know why 03:09:27 I think it might be possible to listen using light. 03:09:51 But I don't know if those effects are very notable (compared to random noise) 03:10:31 oh wait i do, i was amazing myself on the fact how my cellphone was able to get a signal, even though there was a heavy thunderstorm going on here 03:10:58 yeah, other sound is probably the major problem 03:11:00 I don't think those produce very much noise on microwave frequencies. 03:36:23 hm. i'm putting in this ugly hack to get branching to work 03:36:32 not confident it'll always work though 03:39:11 hello 03:39:18 hey mu 03:39:18 r 03:44:11 --- join: root (~root@217.16.31.100) joined #forth 03:44:32 Dobryjj den'! 03:44:41 --- nick: root -> asau 03:46:04 privet 03:46:50 --- join: KOHTPA (~root@217.16.31.100) joined #forth 03:47:48 fg 03:48:20 New client --- new problem. 03:48:25 :/ 03:48:31 Terve, mur. 03:49:07 kak dela? bszo kharasho? 03:49:40 Vsjo prekrasno! 03:49:51 ohyeah, mur was ru too, i knew there was somebody else :) 03:49:57 Ishhu mesto pod solncem. 03:50:16 * mur only understand some russian :/ 03:50:32 oh. you're not ru 03:50:34 hm 03:50:36 very nice, you can then understand polish, among dozen other 03:50:36 --- quit: KOHTPA (Client Quit) 03:51:42 alekseij, did that mean, that the place is sunny (sun shines) ? 03:51:50 Polish is hard to read. Its notation is very unusual. 03:52:42 mur, that means I'm looking for the place to live etc. 03:53:19 asau, polish isnt' harder for me than russian, but both are little tricky 03:53:33 whats' solncem? 03:54:07 "Pod solncem" means "under the sun" literally. 03:55:00 mesto is place 03:55:03 hmm 03:55:16 ooh 03:55:24 yeah, tat's why i didn't get it 03:55:36 took it too literally :) 03:55:46 I mean that Cyrillic is much more appropriate to Slavic languages that Latin. 03:56:02 not really 03:56:09 it's all the same 03:56:15 only how you are used to write it 03:56:16 And when Slavic language models its sounds with Latin script it's very hard to read. 03:56:33 if you are not used to 03:56:54 E. g. you have to guess diacritics above "c" and "s". 03:56:58 some finnnish related langauges which are at russia are written with cyrillic letters 03:57:39 Tatars have additional letters for their specific sounds not found in Russian. 03:58:44 there are a lot of additional letters for cyrillic too 04:00:27 BTW, there is common error in transcripting "Dvorak." 04:00:39 There's no "r" in this word. 04:00:59 In Russian it should be written as "Dvor_zh_ak." 04:02:02 When it's written in Latin it's hard to even realize it can be erroneous. 04:07:03 hmm 04:07:05 What do you think is better notation for a^n: "a n pow" or "n a pow"? 04:07:20 a n pow 04:08:01 And what's about name: "power", "pow", "pw"? 04:08:14 Or even "^" or "**"? 04:08:35 i dont know about naming conventions 04:08:57 ^ power and pow are only to seem okay for me 04:11:28 ** is bad. could just as well mean * * 04:12:57 ** is irrelevant 04:13:02 it's somethign else, not power 04:13:14 and pw is not related to it at all 04:13:26 it's among other short abbreviations for temporal usage 04:13:37 pw ng df dx ar ax ah 04:13:38 etc. 04:15:03 I'd go with "pow" 04:15:16 definitely "a n pow" 04:15:49 qFox, mur, reasonable. 04:15:57 I would avoid ^ because it has a different meaning in C (xor iirc) 04:19:07 "Urodina" in Polish means "beauty" (Rus. "krasavica") and in Russian it means quite opposite. So what? 04:31:53 asau, i can't know all the native words, that's what comes when i try understand new languages, be it french, polish or norwegian 04:32:05 i do understand that words but not the language genuine words 04:32:18 indoeuroppean is quite easy to manage 04:32:29 one langauge supports each other in one way 04:34:39 mur, I know. The point is why we should tie ourselves to C? 04:35:02 wrong person :) 04:35:09 anyways i find ^ usable 04:35:36 it's more used than C's bitwise operators 04:35:46 but what about squareroot? 04:35:56 it's the opposite function 04:35:58 So do I. 04:36:05 sqrt is common. 04:36:38 Maybe "a n root"? 04:37:39 i meant that ^ and sqrt are not very associative with each other 04:37:59 but ^ and sqrt are both associative with other references 04:38:23 \/~~~ 04:38:30 but shoudl it reference to general practise of coding or intuitive practise of forth's? 04:38:33 V~~~ 04:38:50 just use sqrt.. 04:39:08 or broken powers (1/2 = sqrt) 04:39:10 /\___ 04:39:20 ascii art is not that nice even it's nice idea :) 04:39:21 ___/\ 04:39:33 might be interesting thouguh 04:39:41 and ou coudl always create aliases 04:39:44 \/~~~ was best. 04:40:03 wasnt there a ascii sign for it though? 04:40:10 or was that a different table 04:40:22 Murr. 04:40:46 It possibly conflicts with alphas. 04:41:05 true 04:41:13 God dag, Robert. 04:41:24 Privet. :) 04:41:51 * Robert thinks about if he should implement floating-point numbers in his Forth. 04:41:58 Need to know how they're stored first, though. 04:41:59 Robert. 04:42:03 mur. 04:42:11 Robert, again. 04:42:26 /\__ might be nice for root :D 04:42:32 as opposing to ^ 04:42:49 hmm 04:42:51 little unhandy 04:42:55 tho 04:43:12 Do US keyboards have any ½ key? 04:43:21 °§ 04:43:27 ups 04:43:45 on mac it's tricky to find 04:43:48 Well, Swedish ones have ½ on their § key. 04:44:02 Better use "ae"/"oe". 04:44:03 Robert, cept on powerbok where there's ° instead of 1/" 04:44:14 I can't even realize what should it mean. 04:44:23 asau, it's 1/2 sign 04:44:26 not umlaut 04:44:45 us kb dont have a key for 1/2 04:44:52 I was just thinking, you could use the 1/2 sign instead of 2/ just to fuck with americans. 04:44:55 Anyway, I can't guess. 04:45:00 Americans* 04:45:05 ^1/2 04:45:10 ;) 04:45:16 ^/2 04:45:20 Just like they did by using keys that are hard to type with Swedish keyboards. 04:45:31 Like ` ör ^ or ~ (worst of all...) 04:45:34 ^1-,5 04:45:40 It is -||- here. 04:45:42 or alias sqrt to 0.5 ^ 04:45:42 ~ = alt gr + ^ + space 04:45:45 ^1-,5 is nice sqertoor 04:46:04 anyone with a bit of math knows how to do roots 04:46:06 with power 04:46:25 : root inverse power ; 04:46:26 and anyone else dont need any other root but 1/2 :p 04:46:26 but not all coders do maths 04:46:36 there are linguistic programmers too, qFox 04:46:46 and i see that forth might gather them more 04:46:49 and they generally dont need other roots 04:46:51 that's why i got itnerested in the first 04:46:52 hand 04:47:27 sqrt is 1/2 anyways. 04:47:43 i like inverse power 04:48:01 it would require a float set though 04:48:10 (then again, so does root) 04:48:13 kinda.. 04:48:21 hmm 04:48:31 you shoudlnt depend on practises 04:48:49 forth is not mainstream language, so it shoudln be required to follow mainstream conventions 04:49:00 but you have possibility and freedom to try do it better 04:49:14 no not required, but i dont see a reason to go against it 04:49:25 there is no way forth could win if it copied used conventions 04:49:36 so only alternative is to try make it in better way 04:49:37 but it would make it easier to understand for a newby 04:49:52 i see great potential in root and power problemacy 04:49:59 lowering the treshhold for somebody to start with forth just a little 04:50:21 qFox, those who are newbies wont stay newbies when they code more 04:50:46 i know, but they are more prone to stay if they understand it faster 04:50:47 it is always possible to create it so that there was normal like library too 04:51:03 qFox, i doubt it's about power 04:51:12 well, yeah, but .. 04:51:12 :) 04:51:25 this has great possibility to win the other language 04:51:26 s 04:51:34 sqrt is 1/2 either way though. square root is a square root. 04:51:40 with creating brilliant sollution 04:51:46 not really a convention, its math. 04:51:49 BTW, I'm translating GNU SL's random number generators. 04:52:04 root should accept 2 arguments though. 04:52:12 Is anyone interested? 04:52:16 qFox, math doesnt use ^ neither sqrt but other conventions 04:52:19 (i'm not sure if that was the problem in the first place..?) 04:52:33 so why would you not use ^ ? 04:52:35 mur, math use ^ convention. 04:52:37 for power i mean 04:52:42 well 04:52:45 you miss the point 04:52:46 See, TeX. 04:52:57 :) 04:53:07 its not about making it harder but better 04:53:27 sq and ^are one function only in theory 04:53:40 having ^ and sqrt creates 2 different worllds 04:53:45 oh but i didnt mean that ^ is per default a sqrt 04:53:50 ^ is a root 04:53:56 doesnt have to be 1/2 04:54:14 eh 04:54:18 i didnt just say that 04:54:19 :\ 04:54:23 ^1/2 for square root? 04:54:28 ^ is power. meh. 04:54:42 ^{1/2} ? 04:54:43 well 04:54:50 a n ^ 04:54:58 and root: a n ^/ 04:55:23 everyone understands there is something between those 2 04:55:50 this is quick suggestion 04:56:06 you shoudlnt force people KNOW more maths 04:56:12 but USE the skills they already have 04:56:32 you could do a 1/2 ^ 04:56:43 but not all people know that squareroot is 1/2 04:56:48 well in all fairness. if they dont know more math, they are happy with SQRT that does 1/2 ^ 04:56:58 : SQRT .5 ^ ; 04:57:08 maybe true 04:57:36 consider linguistic creating some program to approximate vowels 04:57:38 : TRRT 1 3 / ^ ; 04:57:41 or something :p 04:57:55 hmm 04:57:56 this is bad btw, not using float will result in very wrong results 04:58:05 hmm 04:58:11 1 3 / ^ looks quite nice 04:58:20 maybe combining somehow yet to make it shorter? 04:58:28 3 1/ ^? 04:58:30 hmmm no 04:58:39 yeah, but you need to use the float set, or your results will not be close to true 04:58:41 3 /^ ? 04:58:58 3 swap1/^ :p 04:59:10 but that'll not be "obvious" to be a root 04:59:20 Why not "3 root"? 04:59:34 well it's not easy for languagae minded to understand the relation between power and squareroot 04:59:36 : square 2 ; : cubic 3 ; 04:59:40 but it can be made easier 04:59:50 like that trrt once they understand 04:59:56 : root ( n r -- n ) root ; 04:59:58 eh 05:00:21 : root ( n r -- n ) 1 swap / ^ ; 05:00:35 : root inverse power ; 05:00:42 : inverse 1 swap / ; 05:01:35 ok bbl 05:01:44 : root 1 s>f s>f f/ f^ f>s ; 05:01:46 :p 05:02:55 : \/~~~ root ; 05:03:36 \/~ 05:03:45 \/~| 05:04:01 \/~' 05:14:50 hmm 05:14:51 okay 05:14:56 soo.. 05:15:07 1 + 3 is much more brilliant than 1 3 + 05:15:09 but 05:15:21 forth shoudlnt take maths as utter bad that has to be had somehow 05:15:37 but it shoudl think rather better alternatives, how to make 1 3 + a power 05:15:45 rather than how to implement at all 05:16:56 1 +3 is where C for instance wins forth 100-0 05:17:03 but what comes to more complicated functions 05:17:10 the forth maintains the same structures 05:17:15 hah 05:17:22 you should start using ciforth ;) 05:17:25 it has denotations 05:17:36 "4 Squared" sounds much more nicer than "sqrt(4);" 05:17:45 doesnt it? 05:18:03 there you can turn +/*- into a denotation and do 4 *2 and it will execute 4 * 2 (provided, *2 isnt a word) 05:18:24 that'd be fihting against forth basic nature 05:18:28 but rpn is part of forth 05:18:30 it's nice in short clauses 05:18:40 oh i agree. i hated denotations. 05:18:42 but in complicated it woudl only complicate everything 05:19:09 it was nicely embedded in ciforth, and he used it quite nicely, but it went against classic forth imo 05:19:35 it's not importnatn to maintain somethign because it's like it's always been 05:19:47 but if it is basic rule, then it's good to maintain it so that it works better 05:20:11 well, forth is forth. if you want to "drasticly" alter something, it becomes a breed of forth, but no longer forth, imo 05:20:17 C > c++ 05:20:22 but consider this one again: 05:20:31 avg(4,4,2,42,42,42,424); 05:20:46 4 4 5 3 5 35 3 these 7 averaged 05:20:54 forth has potential in this kind of coding 05:21:01 hm 05:21:02 it can't beat in efficiency or traditions 05:21:11 you have the problem of not knowing the number of arguments 05:21:13 but it has a lot linguistic possibilities 05:21:17 unless its static (and it shouldnt be) 05:21:26 so either you need to count the depth of the stack (which is bad) 05:21:31 well 05:21:35 or you need to supply the number of numbers you're supplying (eh.. ;) 05:21:41 for very simple math, C looks better because it more closelely resembles algebra notation 05:21:42 like in previous These 3 = 3 arguments 05:21:46 averaged 05:21:47 function 05:21:58 but for more complex stuff, I preffer the way forth looks. 05:22:51 eg: 100 - ((x + y) * (x + y)) 05:22:53 well, for avg, you could do a check for 0 05:22:59 if 0 end of argument list 05:23:03 forth: 100 x y + dup * - 05:23:04 qFox, you can't 05:23:05 or something like that 05:23:11 would work for me :) 05:23:19 that's stupid:P 05:23:25 it would work 05:23:33 for words like avg 05:23:35 in scientifical maths the values try aim near 0 05:23:49 i know. i'm aware of the problems 05:23:53 otherwise use the largest number 05:23:59 like delta-variation list coudl be 0 ,5 ,004 0 -,3 05:24:00 w/e 05:24:00 etc 05:24:03 aye 05:24:07 well thats float 05:24:12 thats a whole different plane :p 05:24:24 it shoudnlt be 05:24:41 the range of possible numbers in float is 64bit 05:24:45 where as n is 32bit 05:24:50 (asuming 32bit system ofcourse) 05:25:06 floats are 32bits 05:25:10 doubles are 64bits 05:25:16 i see that forth coudl hvae one branch that woudl try aiming easily readable for everyone, like language like 05:25:20 arent floats in forth doubles? 05:25:31 s>d d>f 05:25:40 I'm sure it's not defined 05:25:46 ok 05:25:58 I'm talking about the CPU 05:26:00 and C 05:26:08 we were talking forth 05:26:08 :) 05:26:21 (or well, i was) 05:26:34 yes, and I bet most forths for ppc and x86 do floats in 32 bits 05:26:46 because that's how many bit's in a float 05:26:57 hm ok 05:27:09 i was planning on doing floats in doubles myself 05:27:26 forth has great potential in easily readable natural like programming code 05:27:28 maybe not, I don't know. maybe most use double precicion floats. 05:27:31 you should think of that 05:27:32 but i'm not starting on the float set for a long time so w/e :) 05:27:33 but bbl 05:28:06 right now i cant even hack ELSE :\ 05:28:07 I don't see how it matters much if it's float or double 05:28:17 if you have a seperate floating point stack 05:28:18 precision 05:28:36 (obviously) 05:29:01 putting a double on the stack would create allignment problems 05:29:26 i believe floating point is always a seperate floating point stack 05:30:02 the only other way i could see it work is with minifloats 05:30:05 or something 05:30:30 like 5 bits are reserved for the dot position 05:30:34 32bits is the normal space for floats 05:30:43 most floating point math nowadays is done in 32 bits 05:32:09 i was tempted to attempt to create a 64bit system 05:32:23 but decided not too, as i figured this would be quite a challange to begin with :p 05:32:52 I don't see any point in a 64bit system 05:33:10 oh just for hte fun of it 05:34:07 anyways. i need to fix my else. 05:34:30 else is for sissies 05:34:42 ... yeah whatever 05:35:26 I don't use it :) 05:35:36 well i do 05:35:44 and i see no reason why not to 05:36:34 mur, that reminds me my experiments with "NPX INITIALIZE ROUNDING TO +INF EXCEPTIONS ALL DISABLE" notation. 05:36:44 I don't because it encourages me to factor better 05:36:56 anyway 05:37:00 --- quit: Herkamire ("bed") 06:24:24 ehr. what the hell. i'm defining a word : test if moo else bug then ; 06:24:34 moo prints moooh, bug prints bugg 06:24:42 when i'm looking into the code field 06:25:09 it shows: (branch) moo (0branch) bug ; 06:25:36 even though if and else compile the other way around 06:25:55 (if compiles (0branch), else compiles (branch) ) 06:26:14 Is it (0branch) or (?0branch) ? 06:26:36 it is (0branch), but it inverts 06:26:46 to behave as if should behave 06:27:00 Hm... 06:27:35 i think if is fucked 06:27:47 Looks that way :) 06:27:49 : test2 if moo then ; screws up now 06:28:07 compiles some strange number (looks like -1) instead of (0branch) 06:29:02 if then worked fine before i started on else though... 06:29:04 lets see 06:30:19 huh... when i dont define else it works as it should :s 06:32:17 hrm 06:33:07 and when i define else and change nothing else, the same word : test if moo then ; is suddenly a (branch) 06:33:22 what could cause that :s 06:37:49 oh wait 06:38:00 i think i know why 06:38:05 How do you decompile? 06:38:44 right now i just fetch the code field from F (so outside my own forth) and walk thru that untill i encounter a 0 (means ; in my forth) 06:39:01 sort of a manual SEE 06:39:35 i just noticed what happened. when compiling if it would bump the dea of IF on the stack, but not put it in IF as a literal 06:40:10 so when i only defined IF (as it was also the last definition), the dea of (0BRANCH) was on the stack. 06:40:25 hence when i executed if for the first time, it took (0BRANCH) from the stack 06:40:44 when i defined ELSE later, ELSE put (BRANCH) on the stack, instead of compiling a literal 06:41:03 so when i defined the if else then structure, if took the (BRANCH) off the stack, and else the (0BRANCH) 06:41:13 structure => word 06:45:15 asau, even not everyone woudl understand that you can't just write english and it'd work, making it easier to understand woudl be a valid goal 06:53:59 I know this. 06:54:38 Writing Russian is harder, but I know how to write this (almost) in Russian. 06:55:06 If you're interested, I can explain how it's done. 06:55:59 well i think i'm able to do it myself easily 06:56:15 this is the reason i ever got interested in forth 06:58:17 I don't know how this can be achieved in ANTI. 06:58:45 My solution requires tree-organized dictionary. 06:59:04 MyCHK Checkbox Selected? ( WIntroGuide Window Make It Hidden ) 06:59:53 hmm 07:00:11 MyCHK Checkbox: selected? 07:00:25 ( WIntroGuide Window: Make it Hidden ) 07:01:12 Why not: WIntroGuide window hide 07:01:24 With WMainWindow Window: Do ( 07:01:34 hmm 07:01:41 these are just something i'm thinking outloud now :) 07:01:47 they are not very good ones 07:02:04 better woudl be: Hide WIntroGuide Window 07:02:24 where Hide woudl store value for instruction and Wintroguide refernce to object 07:02:41 and window woudl selecte Wintroguide and 07:02:51 execture Hide because it was set and then clear execute flag 07:04:54 "Hide" may do something to vocabularies. 07:05:06 E.g. swich context. 07:05:15 ...switch... 07:06:10 to be honest, my forth inside knowledge is near 0, but i'm very interested in how the forth can be developed and used in higher level 07:06:37 i'm very interested in Hide My Window kind of code 07:07:05 is there some forth that woudl come with gui support and woudl work on macitosh? :) 07:09:14 Hardly it supports GUI, but what about Gforth? 07:09:37 I mean, hardly you can find such a Forth. 07:09:45 So what about Gforth? 07:10:09 mops forth maybe? 07:11:54 hmm 07:12:07 if i had time and effort it woudl be nice to create libarry to support that 07:12:11 but i dont really have time for that 07:12:16 well time but not erfforyt 07:18:15 --- join: warpzero (~warpzero@mi095.dn191.umontana.edu) joined #forth 07:20:07 Dobryjj vecher, warpzero. 07:20:46 What do you do in University in the summer. 07:20:48 ? 07:21:31 Shouldn't you have vacation? 07:21:58 I VERK 07:22:06 VERK VOR ZE MONEY YA 07:23:39 Why all in caps? 07:23:44 VAX? 07:23:51 lol vax 07:24:01 the ACM club here has a VAX 07:27:39 :) 07:29:29 does , move HERE ? 07:32:32 ahaha 07:32:52 I would think that you didn't know english if I didn't know what you were talking about. 07:33:35 * mur drinks green juice 07:33:45 this looks like washing liquid 07:33:49 tastes like it too 07:33:52 but is not 07:34:08 yuk 07:34:10 no more that one 07:34:14 yuk yuk :) 07:34:16 laters 07:34:19 qFox, : , HERE ! 1 CELLS ALLOT ; 07:35:21 right 07:46:27 7w 13 08:01:30 mur: I think mops might be exactly what you want 08:02:26 hm? 08:35:46 --- quit: chandler (Read error: 113 (No route to host)) 09:39:33 --- join: Astrobe_ (~astrobe@ARouen-106-2-2-82.w193-251.abo.wanadoo.fr) joined #forth 09:42:10 --- part: Astrobe_ left #forth 09:55:06 --- quit: asau (Remote closed the connection) 10:00:15 --- join: asau (~root@217.16.31.100) joined #forth 10:00:37 re 10:37:07 --- join: Serg[GPRS] (~z@193.201.231.126) joined #forth 11:12:40 --- join: asau_ (~root@217.16.31.100) joined #forth 11:12:40 --- quit: asau (Read error: 54 (Connection reset by peer)) 11:15:16 --- join: asau (~root@217.16.31.100) joined #forth 11:22:50 --- quit: Serg[GPRS] (Read error: 60 (Operation timed out)) 11:25:56 --- join: Sonarman (~matt@adsl-64-160-166-28.dsl.snfc21.pacbell.net) joined #forth 11:31:23 --- quit: asau_ (Read error: 60 (Operation timed out)) 11:47:34 --- quit: asau (Read error: 110 (Connection timed out)) 12:34:16 --- join: wossname (wossname@HSE-MTL-ppp61202.qc.sympatico.ca) joined #forth 12:56:00 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 13:00:17 --- join: ASau (~root@217.16.31.100) joined #forth 13:03:54 --- join: madwork_ (~madgarden@derby.metrics.com) joined #forth 13:13:38 --- quit: ASau (Read error: 54 (Connection reset by peer)) 13:21:46 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 13:23:10 --- join: ASau (~root@217.16.31.100) joined #forth 14:10:33 --- quit: tathi ("leaving") 14:27:32 --- quit: ASau (Read error: 110 (Connection timed out)) 15:21:15 wootz0r. i fixed branching :D 15:21:32 or actually. i fixed literal, which in turn fixed the final bugs in branching. 15:53:51 qFox, check out http://cvs.sourceforge.net/viewcvs.py/factor/Factor/Factor/native/stack.c?rev=1.1.1.1&view=auto 15:57:34 --- join: doublec (~doublec@coretech.co.nz) joined #forth 15:57:39 --- quit: wossname ("~") 16:01:47 doublec! 16:01:52 doublec, i'm going to eat dinner, i'll be back later. 16:02:27 --- quit: warpzero ("Tried to warn you about Chino and Daddy Gee, but I can't seem to get to you through the U.S. Mail.") 16:02:27 hi slava. cool. I'll catch up with you later. 16:03:39 dinners not ready yet damn :) 16:04:03 :) 16:04:18 I see on the logs you are working on C sockets. 16:04:52 doublec, well, i'm starting work on C sockets ;) 16:05:07 :) 16:05:11 doublec, i'll add throw/catch to httpd tonight 16:05:34 I've got the continuation based server working with the CVS version of factor now. 16:05:38 the first thing the sockets will enable is telnetd 16:05:42 i think a few things are broken in CVS 16:05:48 does the httpd inspector not work? 16:05:52 :) 16:06:23 A few things had moved into other vocabularies (.s for example) and my word defining functions had to change a bit. 16:06:55 and caught me out. I forgot it now required an item on the stack. 16:07:21 yeah i plan other vocabulary movements :) 16:07:26 i want to get rid of 'builtins'. 16:07:40 and have ifte/call primitives in combinators, for example. 16:07:52 cool. for a scary moment I thought 'apropos' had disappeared then I see it's now 'apropos.' 16:08:30 i also might rename replaca/replacd to set-car/set-cdr 16:08:35 rplaca/rplacd of course 16:08:58 set-car and set-cdr is certainly easier to read 16:09:06 slava> nice :) 16:19:21 slava, I've sent you the latest continuation server code via email 16:20:42 is it normal for a do-loop to have 2 items on the return stack? 16:20:56 just wanna know if i'm doing it ok :) 16:32:07 i'm back 16:32:11 qFox, yes 16:32:22 qFox, in some forths the word 2>R is actually called (DO) 16:32:31 and DO compiles a call 16:32:46 yeah but 2>r is close to useless, i already noticed 16:32:53 hm 16:33:05 well, if your call word puts it on YOUR stack, it is 16:33:35 i guess it could be usefull in my forth, since call puts return adr's on the return stack of F, not my forth 16:33:42 do-loop works btw :D 16:40:16 doublec, i got your email. 16:40:22 doublec, do you want to add your stuff to cvs? 16:42:28 slava, yep. Where should I put it? 'libraries/...' or 'contrib/...'? 16:43:18 doublec, contrib/ is a good idea 16:43:31 doublec, i might move a few of my scripts there too, like the irc bot. 16:45:36 --- join: jDoctor (~rex@pcp08550359pcs.manass01.va.comcast.net) joined #forth 16:45:42 doublec, i'm going to run the to do list in my box here 16:46:44 doublec, for reading/writing the to do list, why don't you turn it into one big list, and write this to a file using 'prettyprint'? 16:46:54 doublec, you have your own adhoc print-quoted words etc... 16:49:54 http://69.198.144.227:8888/todo 16:50:42 click 'register' to make yourself a login/password. 16:50:54 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 16:51:42 doublec, ping 16:51:45 doublec, there's a minor bug 16:52:23 doublec, if you don't have a / at the end of the url, then it tries going to GET /4511839126189418 HTTP/1.1 16:52:28 doublec, see what I mean? 16:53:43 slava, yeah. It's annoying I know. I think the 'inspect' responder does the same iirc. 16:54:08 doublec, i'll fix iti n the httpd 16:54:19 doublec, if user goes to a directory url without trailing /, it just does a 302 redirect 16:54:30 slava, ok, I stand correct. 'inspect' works fine :) 16:54:51 doublec, because it uses an absolute url 16:55:27 slava, I do need to fix the 'todo' words. Especially the save and reading. What I did is a very quick hack so I could get on to the web stuff. 16:55:48 its looking good though. 16:55:58 slava, For example, if the 'todo' has no todo items then saving causes an error due to not being able to write 'f print'. 16:55:59 stuff like the login screen should be a generalized component 16:56:05 yeah, I agree. 16:56:33 ok, so does doublec know the deal with our to-be todo heiarchy? 16:56:44 it isnt so much a list, though can be flattened to one 16:56:50 jDoctor, the ideas we had the other day? 16:56:54 yah 16:56:55 i think doublec was there when we discused them here 16:56:59 cool cool 16:57:13 doublec, what other web framework lets you do http://tawhiti:8888/inspect/global'vocabularies'todo :-) 16:57:29 so check it out, I wouldnt mind using the framework 16:57:33 but after making the shell 16:57:50 cause I'd want many ways to access the shell.. and it's logical to do that 16:57:55 none. It's very cool :) 16:58:03 well, maybe seaside. 16:59:09 I like the way the 'login' process reads in the code: http://69.198.144.227:8888/inspect/global%27vocabularies%27todo%2dexample%27get%2dtodo%2dlist 16:59:23 Basically, get the info from the user. If it's invalid, recall the function. 16:59:38 Continuation based servers make that sort of thing nice to do 16:59:41 http://69.198.144.227:8888/inspect/vocabularies'todo-example'get-login-information <-- this could use some factoring :) 16:59:51 yes 17:00:11 The 'show' should be seperated out and a better way of doing 'layouts'. The table/row thing is a bit verbose. 17:00:23 Note that I use "" write. instead of
. 17:00:34
caused problems, I think because it was picking up
from another vocab. 17:00:43 oh
is gone now :-P 17:00:56 Heh, I saw that. Lots of db stuff vanished on an update. 17:01:09 java factor persistence was way too messy, fragile and inelegant. 17:01:24 Currently 'show' returns an alist. I'll probably change that to a namespace because it's more convenient. I have alist>namespace everywhere. 17:01:30 i like native factor images though. 17:01:37 there's alist>namespace in the core 17:02:40 doublec, i did a very elegant implementatin of HEX: OCT: BIN: parsing words in the new parser 17:02:42 : BASE: ( base -- ) 17:02:42 #! Read a number in a specific base. 17:02:42 "base" get >r "base" set scan number, r> "base" set ; 17:02:42 : HEX: 16 BASE: ; parsing 17:02:43 : DEC: 10 BASE: ; parsing 17:02:45 : OCT: 8 BASE: ; parsing 17:02:49 : BIN: 2 BASE: ; parsing 17:03:14 nice! 17:04:13 bbl. lunch. 17:16:29 --- quit: qFox ("meh ircii's netsplit detection appearantly sux ^^") 17:47:48 back 18:05:34 --- join: tucknip (pickroll@dialup-4.153.70.167.Dial1.Atlanta1.Level3.net) joined #forth 18:18:16 --- part: tucknip left #forth 18:32:09 hey doublec 18:32:31 since slava is at some party, I figured I'd ask you what are cooler goals for this todo-heiarchy shell thing 18:32:48 so tell me when you're not afk 18:32:53 ALL YOUR BASE ARE BELONG TO US 18:32:58 jDoctor, I'm free to discuss now if you want. 18:35:12 k 18:35:15 cool 18:35:18 so check this out 18:35:36 this whole thing started when I was getting obsessed with an interpretor I wanted to make 18:35:57 not necessarily a language, but a place where you type factor, java, or any lang with a call stack 18:36:02 I was calling it the HOW interpretor 18:36:28 let's act like this is just for factor.. 18:36:34 ok 18:36:51 you first get a prompt that represents the word "what?" 18:36:57 maybe ?w: 18:37:09 you type a word of factor that doesnt exist yet 18:37:43 then it says "how?" perhaps like "funcName?h:" 18:38:02 and you keep "howing" it down 18:38:11 lol. a term I couldnt get around 18:38:22 heh 18:38:33 you keep going until you hit prims 18:39:02 so are you saying you type in the definition of the word and it 'hows' the words it doesn't yet know? 18:39:28 the cool thing is that if you say two words as the definition of one word, it prompts you to link them to prims from beginning to end. 18:39:32 yah, it doesnt yet know 18:39:43 so its like backwards coon definitions 18:39:47 colon* 18:40:01 cool. I think I understand. 18:40:25 so, lets saaay you answer the beginning "what?" with hop 18:40:35 ?hop: 18:40:41 jump land 18:40:48 ?jump: 18:40:58 "I jumped" print 18:41:15 !linked yey 18:41:20 ?land: 18:41:27 "I landed" print 18:41:40 !linked again! you are done with how to hop! 18:42:36 if you havent noticed, this doesnt work with control statements unless there was more to it 18:43:01 ok, makes sense. 18:43:24 i tend to develop a little like this. except of course I don't get prompted for the words I need to define. 18:43:24 its all blurry from that point. slava figured it would be a good to-do list 18:43:48 Having a 'todo' list that had the words dynamically added to it as 'things to do' rather than prompting would be quite neat. 18:44:01 Then the todo list would provide a list of words and things that are yet to be developed. 18:44:26 --- quit: tathi ("leaving") 18:44:41 yah. so I was looking for a way to get this prompt working. see, the prompt would be a stdio frontend to the shell. then we can make a webapp that contacts the same shell 18:45:00 yes, that would probably work. 18:45:21 well there are two routes I thought of for a syntax for this shell 18:45:59 (remember, the goal is to make this work for any lang with structure like this, and it prints out text files when you are done or something) 18:46:48 so, one route I thought of is to let the programmer type only the lang they want to type in. like say I am ddoing java. everything I type in the prompt is java compatible. 18:47:07 but then how do you command the shell? 18:47:15 you tell it commands in the comments of the java! 18:47:30 (then you can have the shell parse the comments of the factor you type) 18:47:44 these would be commands like "later" 18:47:58 (later would mean, "I'll finish this branch later) 18:49:13 cool stuff? that's the route I wanna go 18:49:51 the other is to actually make a syntax for the shell 18:50:51 I dont even think that's possible. or else you'd have ?jump: Add "blah blah dup dip duck swap and run" 18:51:16 ( typing the 'add' word alot for this shell's syntax to add a line of your lang to the source file you are on) 18:52:36 man I'm tempted to make this in java. but slava is pushing for cFactor 18:52:55 it certainly sounds possible. Maybe quickly prototype it in Java to try it out while you're waiting for cFactor? 18:53:25 i have to head off for a bit to track some coding problems down. bbl. 18:54:12 k 19:36:11 --- join: tucknip (pickroll@dialup-4.152.99.105.Dial1.Atlanta1.Level3.net) joined #forth 19:49:51 --- join: lalalim (~lalalim@pD95EAF54.dip.t-dialin.net) joined #forth 20:07:36 --- quit: lalalim_ (Read error: 110 (Connection timed out)) 20:25:58 --- join: LOOP-HOG (~jdamisch@sub22-119.member.dsl-only.net) joined #forth 20:26:03 how do 20:26:14 was gonna update the hogspace today and flaked out 20:26:59 what happened 20:27:43 i was lazy 20:28:23 there is always tomorrow 20:28:50 almost always 20:43:59 --- part: tucknip left #forth 21:25:22 --- join: wmg (~weldon@bgp02689673bgs.flrdav01.dc.comcast.net) joined #forth 21:37:05 --- join: kc5tja (~kc5tja@66-74-218-202.san.rr.com) joined #forth 21:37:10 --- mode: ChanServ set +o kc5tja 21:37:11 hi kc5tja :) 21:37:17 Howdy 21:41:43 hi 21:41:52 what's up 21:42:45 It's too hot, I'm too tired, and I'm still trying to think of how to implement a nice, general purpose humane interface. 21:50:23 cli 21:50:49 A CLI does not constitute a humane interface. 21:50:52 you could just give us a regular Forth command line and then let the pleabs sort it out 21:51:21 well, i'm not sure 21:51:37 Jeff Fox said he had a GUI inside of a Mouse, forget the computer 21:51:53 Nonsense. 21:51:54 like a 4K GUI that looks like windows 21:52:01 The mouse *was* the computer. 21:52:01 ask him 21:52:08 that's what i said 21:52:15 the computer was hidden inside of the mouse 21:52:22 A 4K GUI that didn't do a thing, drew completely static windows, etc. 21:52:24 well ash him 21:52:28 It was not anything near Windows. 21:52:41 --- quit: doublec ("Leaving") 21:52:42 i bet that it was tight none the less 21:53:10 LOOP-HOG: You said "Forget the computer." No, the computer is inside the mouse. It cannot be forgotten. 21:53:21 --- part: wmg left #forth 21:53:44 But all this is inconsequential and completely non sequitor to what I'm thinking about. 21:53:53 LOOP-HOG: the details can be found here: http://www.ultratechnology.com/scope.htm 21:54:10 to somebody that didn't know any better it seems like a mouse with an invisable computer, good magic trick, no? 21:54:27 LOOP-HOG: I'm not looking for a magic trick. I'm looking for a humane interface. 21:55:00 (as in Jef Raskin's concept of a humane interface) 21:55:06 I'd just do what Jeff did and expand it to 8K 21:55:20 if you need any more than 8K for your gui, then I want to see one b4 I buy it 21:55:30 Umm..I think you grossly underestimate what it takes to implement a full-featured GUI environment. 21:56:00 I DON'T NEED a full featured environment, i NEED COMPUTATIONAL INDEPENDANCE 21:56:55 OK, seeing as how you and I have been talking about two completely different things (I was under the apparently mistaken assumption that you were trying to see what I was saying, but I guess not), I am now ignoring you for the rest of this evening. Thanks. 21:57:21 sounds good 2 me 21:57:23 I don't like being yelled at for something that is patently not my fault. 21:57:41 infact, I'll check back later, like maybe Thursday, have work tomorrow 21:57:45 sorry 21:57:47 --- quit: LOOP-HOG () 22:06:35 --- join: skylan_ (~sjh@vickesh01-4755.tbaytel.net) joined #forth 22:07:32 kc5tja: I want to talk about what you're actually saying 22:08:05 are you talking about something you'd make for the kestrel? 22:09:27 Yes, but I probably won't limit it to that. I'd like to have one for the PC too. 22:09:59 cool 22:11:00 how similar do you think it will be to the THE project that exists now for Mac? 22:12:16 Due to its nature, it'll probably be rather similar. 22:12:38 However, my personal feeling is to use the Windows keys as LEAP keys, and the MENU key as the Command key. 22:13:04 what would Ctrl and Alt do? 22:13:06 where's the menu key? 22:13:11 (Which actually makes typing the commands a bit difficult; I suppose I can use the CAPS LOCK key as a synonym for the MENU key on the PC keyboards). 22:13:31 Sonarman: Ooh, good point. I could probably use ALT instead. 22:14:06 and Ctrl? :) the same as it's normally used for? 22:15:08 I'd leave CTRL out, since CTRL-chracters are often used for communications programs. 22:16:34 hsnch ntahsch s n sn hs 22:16:37 oops 22:17:12 ok. so Command would do in your environment what Ctrl does in Windows/X programs? 22:17:44 Herkamire: what the hell? :P 22:18:14 sorry, I was experimenting with keys to enter quasi-modes, and hit enter by accident 22:19:50 seems like I have an aweful lot of modifier keys. 22:20:03 five on the left, and four on the right 22:20:49 Sonarman: Yes. This is not nearly so foreign a concept as you might imagine. The Amiga has used its Amiga-keys for this since day one, as does the Macintosh. 22:21:38 caps, shift, control, alt, command 22:24:14 I was thinking of having a quasi-mode where each keypress does something (like holding down the apple key) 22:24:26 that would be like normal-mode in vime 22:24:30 vim 22:25:02 and one for typing commands by name 22:26:05 Caps, Ctrl, shift, alt, windows, and menu (although CAPS and MENU are only on one side of the keyboard). 22:30:32 what do you think of a quasi-mode like normal-mode in vim? 22:31:58 --- quit: skylan (No route to host) 22:36:08 Explain? 22:38:35 Hey, I gotta get to bed. 22:38:50 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR SK") 22:49:58 --- join: Quozl (james@dialup-27.142.220.203.acc01-carr-dub.comindico.com.au) joined #forth 23:03:16 --- quit: Sonarman ("leaving") 23:25:16 --- join: asau (~root@217.16.31.100) joined #forth 23:25:21 Dobre jitro! 23:25:37 --- nick: asau -> KOHTPA 23:25:42 --- nick: KOHTPA -> ASau 23:30:03 --- join: wmg (~weldon@bgp02689673bgs.flrdav01.dc.comcast.net) joined #forth 23:39:57 Doboe utro, wmg! 23:40:30 sijambo, ASau 23:40:43 : native-language australian english ; 23:41:58 (nothing's quite as fun as answering Russian in Swahili...) 23:42:36 Ha! We have internationale here. 23:42:43 Michael Baldwin, Bruce. Michael Baldwin, Bruce. Michael Baldwin, Bruce... 23:43:01 G'day Bruce. 23:43:16 Is your name not Bruce? No, it's Michael. 23:43:40 though I guess this belongs in #python... 23:43:47 te he 23:44:07 I had a philosophy prof from Australia. He got sick of hearing us do that sketch... 23:47:43 forth environment for tandy 102 laptop ... tcp/ip on an 80c85 in 24k ram ... needs lots of work ... http://quozl.linux.org.au/ 23:48:15 --- quit: wmg ("Leaving") 23:51:09 Quozl, what about writing this at http://forthfreak.net/wiki bull. board? 23:59:59 --- log: ended forth/04.07.20