00:00:00 --- log: started forth/01.02.16 01:30:34 --- join: Fare (fare@ppp16-net1-idf2-bas1.isdnet.net) joined #forth 02:12:24 --- quit: adu (BitchX-75p1 -- just do it.) 02:36:13 --- part: Talia` left #forth 03:07:57 --- quit: Fare (Ping timeout for Fare[ppp16-net1-idf2-bas1.isdnet.net]) 05:05:30 --- join: Fare (fare@ppp16-net1-idf2-bas1.isdnet.net) joined #forth 06:50:13 --- join: demoncrat (darius@shell.accesscom.com) joined #forth 08:45:14 --- join: I440r (mark4@purplecoder.com) joined #forth 08:45:27 fare tell tcn i need him to email me his latest isforth sources 08:45:32 ive been waiting grrr :P 08:45:45 i gtg... work dont like me here 08:45:46 :) 08:45:58 --- quit: I440r (argh ni irc for me!) 10:43:36 --- quit: demoncrat (Leaving) 13:53:09 --- join: JohanRussouw (JRussouw@cisap5-d-130.pop.co.za) joined #forth 13:53:32 hi Fare 13:55:38 hi 14:11:03 how r u? 14:11:26 sorry i took 9 min to answer 14:11:31 Fare i am back 14:12:32 hi 14:12:40 just got my Lisp Machine today 14:12:49 installing it 15:06:53 what is that? 15:07:06 Fare a Lisp machine ? 15:07:43 http://fare.tunes.org/LispM.html 15:07:54 specs or website or anyhting , is it hardware or software , i deduced hardwarfe 15:08:12 i am going there 15:08:22 is that your site 15:09:12 yup 15:15:54 i have read that page at high speed (really mean low retention) 15:16:05 i like the idea 15:16:13 of a lisp machine 15:16:22 but i do not have the money 15:17:24 i would like to ask u questions or discuss my ideas fro contributing to word of computers but that will take time whcih most people do not have 15:17:27 Fare 15:17:43 btw i cannot spell 15:17:55 i am gonna read the rest of your site 15:18:08 and maybe if u do not answer follow some links 15:18:23 which is always a good idea right 15:22:26 sorry, I'm busy on lots of windows, only have little attention on this one 15:36:49 no problem i just read your page again from the start , which links so i follow to get a usefull feel of what u have , i think i have this card u talked about etc , is it working whats the status , r u having problems , how i can i help , i think the best thing i can do to help u is to keep quiet and not bother u and go away peacefully , i have beeb a programmer for 20 years and my first real experience was on forth , and i still love it 15:39:43 i never had any real experince with lisp , although i wrote a caclculus teaching program in muLisp and muMath and it was very good but i never could get that software again so its all lost to me and so many things take up my time that i do not have time for playing with anthing new and out of the ordinary which requires first of all money of which i have very little and secondly time which is also in short supply so u take and care and god bles 15:40:49 RPN was my discovery of a high-level FORTH 15:40:52 I still love RPN 15:41:01 a RPL 15:41:02 and god bless u and if u do not believe in god , then i hope your computer system my be kind to you and give u all the pleasure and co operation 15:41:06 I mean HP28 RPL 15:41:35 yes and ty for answering my questions 15:41:49 i had a hp48 also 15:43:52 --- join: adu (andrew@adsl-63-201-90-133.dsl.snfc21.pacbell.net) joined #forth 15:44:02 i bought a texas ti59 3 weeks before the hp41 (error o meant hp41) was released , i was so upset cause i could not afford to buy the hp41 after spending all my money on the ti59 , i was in the army (compulsory defence force callup very low pay almost not existent 15:44:09 hi all 15:44:24 hello adu , i am having a one side conversration with Fare 15:44:48 really? 15:44:52 he's not listening? 15:44:59 or he's not responding? or do you know? 15:45:21 he is insatlling his LispM machine and have many windows open (He say -- i do not believe him at all 15:45:31 you wouldn't know how to retrieve a variable's value in forth would you? 15:45:49 yes of course i know 15:45:52 "70 variable dude ... dude @" doesn't work 15:45:54 with @ 15:46:03 why not 15:46:12 what does it say 15:46:23 it should work 15:46:28 because it putsit puts a xero on the stack 15:46:59 o maybe the variable declaration does not store a value 15:47:24 try 70 variable dude 70 dude ! dude @ , 15:47:29 @ . i mean 15:47:42 maybe i should just do "variable dude ... 70 dude !" then 15:47:56 ya 15:48:12 because if i am not mistaken my old forth variable did not take anyhting on the stack 15:48:19 YEY! 15:48:21 check your documentation 15:48:21 it worked 15:48:36 thanx 15:48:42 u r very silly i am laughing my head off at u 15:48:47 hahaha 15:48:57 now u have to stay and talk to me 4 10 min 15:49:13 you wanna know what i'm doing? 15:49:22 :) 15:49:23 otherwise other things are also gonna stop working 15:49:33 like what? 15:49:37 of course silly i would why else would i be here 15:49:54 ok i'll tell you 15:49:55 i'm trying to implement the python VM in forth 15:50:08 which is actually not turning out that bad 15:50:15 well maybe u will say 10 constant ten and when u type ten it will put 0 on the stack 15:50:18 my first word i'm working on is exec-pyc 15:50:26 it just executes a single pyc instruction 15:50:32 liie execute 15:50:36 like 15:50:46 yes i c u are very very silly 15:51:03 because i would ever want to do something like that? 15:51:16 i am onlu kidding 15:51:20 o ok 15:51:37 only 15:51:40 its turning out pretty damn easy, but then again i haven't tested it yet 15:51:43 :{ 15:51:50 i do not know python at all 15:52:02 i wanna learn it 15:52:10 but do not have a book 15:52:20 i lyke to learn from books 15:52:34 you don't really haveto it's VM is stack oriented, and has a few instructions for loading files and such, but nothing that can't be implemented in forth i beleive 15:52:46 books are nice 15:52:50 and they are to expensive i cannot afford them and lyke i said i cannot type either 15:53:21 yes they are warm and cuddly and make nice noises when u stroke them sure they are nice 15:53:30 i think python is what a language should be: SIMPLE 15:53:48 hahahahaha 15:53:53 how old are you? 15:54:16 btw i apolize 2 u 15:54:40 huh? 15:54:46 i am 5 10 + 15 - 39 + . 15:54:49 for what? 15:54:54 i misread your statement 15:55:09 i though u wanna do a forth in pyhton 15:55:13 what statement? 15:55:21 oic 15:55:36 and u wanna do python in forth 15:55:42 ya i want to implement python VM in forth 15:55:48 btw i wanna do all langauges in forth 15:56:31 you see before it executes python scripts it compiles them into an intermediate format .pyc sometimes it stores files too that way, and it uses the python VM's instructions to do that 15:57:09 but i wanna write a program that will analize the program code and source and defines me a like super langauge of the the cpu 15:57:28 like whats going at transmeta and linus etc 15:57:42 15 - 15 + 39? 15:57:54 yes 39 15:58:04 ic 15:58:05 just playing a forth game 15:58:18 ya 15:58:31 i am like 39-15 years emotional and socially 15:58:49 thats why i have so little money 15:58:55 i'm trying to implement an easy to access language combo so that forth can generate its own code. 15:59:10 and i lost 10 years to mental illness 15:59:17 and i don't want it to generate forth code, thats too dangerous 15:59:22 ouch 15:59:44 explain 2 y dangerous 15:59:48 2 me 16:00:12 adu age? 16:00:33 18 16:00:50 o i c that good 4 u and bad 4 me 16:01:01 u have life ahead of u 16:01:01 because i want it to generate it it a way that it doesn't know anything about it in the beginning. 16:01:33 i'm trying to create primitive AI, and i think Lisp is a bunch of crap 16:01:36 bad 4 me because we have programmers generation gap 16:01:54 o well, we might be able to talk about some things 16:02:28 i've covered an unbeleivable about of ground over the past year 16:02:44 yes i am more flexable then u , because i am older , i will adapt 2 u and assist u to get to know u better etc etc 16:02:47 i got Linux Feb 2000, and that changed alot :) 16:03:10 yes i have only one question for u 16:03:14 what? 16:03:36 how r u gonna support yourself fancially 16:03:45 i cannot spell 16:03:45 i don't know that yet 16:03:57 r u still at home 16:04:00 ya 16:04:05 u must be if u 18 16:04:09 i'm in college now 16:04:19 r u married or planning on getting married soon 16:04:20 when i'm out of college i'll decide 16:04:25 not at all 16:04:26 what r u studying 16:04:43 i'm taking prereq courses at a community college 16:04:49 not really studying anything 16:04:56 all the courses i'm taking i already know 16:05:09 math/eng/cis/music 16:05:24 the music is an intermediate piano couse, and i've been playing piano for 10 years 16:05:51 do u have girlfriend or planning u have one soon 16:05:55 CIS is a INTROductory computer science course and we're learning how to use QBasic 16:06:08 i STARTED programming QBasic when i was 8 years old 16:06:21 yes r u planning on getting a degree 16:06:23 Johan: so you don't believe me? 16:06:28 if so in what? 16:06:29 adu: how is LISP "crap" ? 16:06:33 i have lots of girls, just not sure if any are my "Girlfriend" 16:06:37 of course i believe u 16:06:52 honest 16:06:52 Fare he is young he does not know Lisp 16:07:09 he had no-one to show him the power of it 16:07:30 lisp just seems to big 16:08:13 the parentheses don't really bother be 16:08:21 yes u r right about that adu but its a very good designed language 16:08:33 yes i like its design 16:08:57 but i don't think its right for the intentions i have in mind 16:09:16 so do not scorn the langauge or its users , just state what u do not like about it 16:09:23 sorry 16:09:28 i had to think about it for awhile 16:09:50 no is ok i am not offended i normally offend people 16:09:59 hehe 16:10:06 k u wanna write a AI program right 16:10:11 you see i'm trying to create a very simple mimicing machine 16:10:13 so did i since 1982 16:10:22 thats when i was born 16:10:31 not AI per se 16:10:45 but i could not afford the hardware 16:10:50 just something that will try to duplicate the results that it gets as imput 16:11:13 and when i got univesarity to get the hardware 16:11:26 i was to busy with like u said a lot of crap 16:11:31 ic 16:11:35 JR: 1982? 16:11:37 wow 16:11:46 yes i am 39 16:11:57 although my first contact with a machine was around 1982, too (Apple ][) 16:12:05 i was at varsity from 1981-1985 16:12:18 my first contact was when i was 6 i think 16:12:29 we got a 286 16:12:32 my first contact was a pocket calculator 16:12:32 :) 16:12:55 then it was ti59 programmable calculator 16:12:58 my dad bought the HP41C, but I was too young to understand anything about it 16:13:01 then a sharp basic 16:13:10 my dad loved all these gadgets 16:13:18 then big jump ibm370 mainframe 16:15:44 did u people go priv chat or am in talking to myself 16:16:05 hmm 16:16:09 not sure 16:19:50 --- join: Echap (t@ANeuilly-101-2-1-82.abo.wanadoo.fr) joined #forth 16:20:04 --- part: Echap left #forth 16:20:19 r u not sure wheter i am talking to myself 16:20:20 370? what did you program with 16:20:49 r u sure u are here 16:21:22 in pl/1 fortran pascal and later asm370 16:21:50 started with the batch langauge 16:21:59 then pl/i took a course 16:22:07 then fortran took a course 16:22:29 then pirated a pascal compiler onto it 16:23:04 then write a dis-assembler for the ibm370 16:23:54 and successfully disas- re-assembled the flist program , which i like norton commander or mifnight commander or windows commander 16:24:30 interesting 16:25:17 i like bz2 much better 16:25:23 sorry, wong window 16:32:32 what percisely is bz2 as far as i know bz2 is a compression standard and has nothing to do with file manager or the like or them etc 16:32:43 o sorry i c the sorry 16:33:28 Fare u still here looking in and looking out 16:34:09 yes, but not very active 16:35:24 i know that 16:38:46 is okay when can we have a meaningfull conversation or tell me if that smalltalk whatever system i read about is any good or is it gonna give me bad taste in my mouth and totally made me forget the joyi had messing with smalltalk 286 on floppy before reality checked in and i had to start working on the robotic projects that was critical and doing my studies so that i could get my degree etc 16:39:13 so i am going back to your page to get the link to that smalltalk thingy 16:44:16 i like smalltalk 16:49:56 me 2 16:55:29 Fare i am downloading that squesk smalltalk 16:56:39 i want to leave 16:56:49 squeak is awsome 16:56:56 it has its own desktop 16:57:00 very cool 16:57:32 hey 16:57:43 ok i have the exec in a series of these: 16:57:58 tell me if this looks ok, its within a case...endcase 16:58:00 dup py#sub = of drop py-sub endof 16:58:00 \ dup py#subi = of drop py-sub endof 16:58:00 dup py#swap = of drop swap endof 16:58:00 \ dup py#xor = of drop xor endof 16:58:00 \ dup py#xori = of drop xor endof 16:59:03 ? 16:59:05 hello? 17:02:16 yes i am here 17:02:37 " tell me if this looks ok" 17:03:01 i have not used case statement in forth very long time ago anf this looks okay 17:03:08 test it 17:03:10 alright 17:03:15 i'm afraid to 17:03:15 that the beauty of forth 17:03:26 what is? 17:03:30 testing? 17:03:38 u do not compile link edit 17:03:41 :) 17:03:47 yes 17:03:53 k 17:03:54 yes u test and write at same time 17:04:03 i've never actually loaded from a file in forth 17:04:21 is it like load filename.fth? 17:04:24 so its not that easy 17:04:47 how? 17:04:52 depends on the distro / version etc 17:05:04 what r u using 17:05:17 r u on linux or windows 17:05:24 etc 17:05:31 which forth etc 17:05:53 theres an extention set called filefind/fth 17:06:00 pForth 17:06:07 on Macintosh 17:06:20 i c 17:06:30 i have never used pforth 17:06:38 file-position 17:06:38 file-size 17:06:38 file? 17:06:38 fill 17:06:38 find 17:06:39 find&compile 17:06:39 so i have no clue 17:06:41 find.body 17:06:43 findnfa 17:06:45 findnfa.from 17:06:49 any of these words looke like a loader? 17:06:55 the most elemteray docs will tell how 17:07:01 ok 17:07:09 i could only find the README 17:07:14 i'll look some more i guess 17:07:22 try load 17:07:28 look for load 17:07:47 loadsys? 17:08:06 no 17:08:12 something like load 17:08:29 can u do a vlist or words or some such 17:08:46 that tells u which words is in vocab 17:15:45 'include' thats it 17:16:21 i'll put some sample values on the stack and then play around with it 17:18:32 --- join: TheBlueWizard (TheBlueWiz@216.25.205.176) joined #forth 17:18:33 --- mode: ChanServ set mode: +o TheBlueWizard 17:18:39 hiya all 17:19:04 hi TheBlueWizard how r u 17:19:26 pretty good...you? 17:19:39 also good 17:19:46 whats up with u 17:19:59 Fare got his lispM amchine 17:20:04 machine 17:20:12 he is like ignore me 17:20:24 at the moment, relaxin', chattin', reading emails, reading /. postings :) 17:20:51 adu is writing a python interpreter also ignoring me now 17:20:54 * Fare has got one CRT to share between the lispm and the linux box 17:21:23 sounds n34t 17:21:47 wierd 17:21:48 tell me who was the one with the dope (weed whatever) the other night when i was here 17:21:51 it does nothing 17:21:57 isn't it supposed to do SOMETHING? 17:22:21 like what adu 17:22:48 i'm not ignoring tou 17:22:58 i think my case is setup wrong 17:23:04 * Fare switches back to the LispM 17:23:07 does pforth have a debugger 17:23:11 --- nick: Fare -> FareAwayLispM 17:23:18 yes it is most properly 17:23:36 i do not have pforth on my machine 17:23:51 : exec-pyc ( [arg] op -- [arg] ) 17:23:51 case 17:23:51 dup py#and = of drop and endof 17:23:51 dup py#andi = of drop and endof 17:23:51 ... 17:23:52 endcase ; 17:24:00 and the constants work fine 17:24:13 py#and puts 0x40 on the stack 17:24:28 u know silly u have design error 17:24:40 no errors 17:24:45 it just didn't do anything 17:25:00 johan what design errors? 17:25:02 u now what a logical error is 17:25:08 no 17:25:13 a design flaw 17:25:24 how could it be better? 17:25:49 give the whole code again 17:25:58 or i will scroll up 17:26:45 i'm trying to make it do this ( arg arg op -- ret ) 17:27:02 for most of the binary operators 17:27:12 ok one thing do u realise whats on top of the stack when u do the operation 17:27:29 what u should do is this 17:27:30 yes, the python operator 17:27:57 look at it step by step 17:28:18 tbw: am i doing the cases right? 17:28:25 11 12 dup 17:29:05 u have to take the operator of the stack after the 17:29:05 7 14 py#and exec-pyc 17:29:09 check 17:29:13 should make 6 17:29:31 do this 17:29:34 i did 17:29:55 dup py#and = of drop and endof thats what the "drop" is for 17:30:13 dup py#and = of DROP and endof 17:30:25 maybe 17:30:30 maybe i'm stupid 17:30:34 no no no 17:30:37 ok take the dup away 17:30:40 that wouldn't work 17:30:51 and also the drop 17:30:54 but won't that leave no value for the other comparisons? 17:31:04 as case handle that auto 17:31:11 really? 17:31:13 o 17:31:25 and case does not work on a boolean 17:31:36 it works of a single value 17:31:39 only =? 17:31:53 so your code should look like this perhaps 17:31:54 so do i haveto have a value at the top before case? 17:32:13 i haven't been able to find much documentation on case..endcase 17:32:29 case 17:32:29 py#and = of and endof 17:32:29 ... 17:32:29 endcase 17:32:32 maybe? 17:32:32 try search on "Eaker case" in Google 17:32:38 ok 17:32:43 : eee case dup_x of dup endof and_f of and enof 17:33:20 u see case take care of the stack for u 17:33:36 I think I have some Eaker case code floating somewhere in my vast universe :) 17:33:44 u should read the docs for the case statement in pforth 17:34:08 ooooo nice 17:34:54 : CASE ?COMP CSP @ !CSP 4 ; IMMEDIATE 17:34:54 : OF 4 ?PAIRS COMPILE OVER COMPILE = COMPILE OBRANCH HERE 0 , COMPILE DROP 5 ; IMMEDIATE 17:34:54 : ENDOF 5 ?PAIRS COMPILE BRANCH HERE 0 , SWAP 2 [COMPILE] ENDIF 4 ; IMMEDIATE 17:34:54 : ENDCASE 4 ?PAIRS COMPILE DROP BEGIN SP@ CSP @ = 0= WHILE 2 [COMPILE ENDIF REPEAT CSP ! ; IMMEDIATE 17:35:18 that does look like Eaker code alright! 17:35:48 its hard to read 17:35:53 i like lowercase forth 17:36:10 heh 17:36:39 good thing my text editor has a nifty change-case feature 17:37:45 um...so you're trying to understand how the case....end-case syntax should be? 17:38:01 ya 17:38:09 whould i put a variable before case? 17:38:14 or does it work on the stack? 17:39:05 ah...ok....I'm recalling...(mental gears a-whirring...) 17:40:03 --- quit: FareAwayLispM (Connection reset by pear) 17:40:18 * adu 's ears start vibrating 17:40:30 whir-whir-whir 17:40:43 do this like i told u 17:40:49 ok i'l try 17:41:19 : eeee case token of axtion endof 17:41:26 etc etc 17:41:29 endcase 17:42:03 because any decent case should take care of stack for u 17:42:06 YEY! 17:42:09 it worked 17:42:17 dude that was cool 17:42:23 so i not so stupid 17:42:42 i have only done this like 10 years ago 17:42:47 9 14 7 17:42:48 ok 17:42:48 Stack<10> 9 14 7 17:42:48 py#and exec-pyc 17:42:48 ok 17:42:48 Stack<10> 9 6 17:43:10 :) 17:43:36 --- join: aaronl (aaronl@vitelus.com) joined #forth 17:43:42 hey aaronl 17:43:55 hi aaronl 17:44:03 JohanRussouw: thanx 17:44:27 u remember asking me to write a high level find 17:44:38 well i did long ago 17:44:56 and i left the book at work when i saw u again 17:45:22 so when u deem 2 talk 2 lowly mortals like us i might tell u 17:45:30 lol jk 17:45:46 aaronl: you wouldn't beleive how happy i am 17:45:56 this is the first time i've gotten forth to work for me 17:46:03 kewl 17:46:04 :) 17:46:27 k i will type it in here 17:47:00 then u could mess around with it , maybe later i might test it as i wrote it at wrok where there no forth 17:47:13 * JohanRussouw looking for book 17:48:08 is like this 17:49:49 : ?match 0 swap dup c@ tib c@ = if tib c@ 0 do dup i + c@ tib i + c@ = 0= if swap 1+ swap then loop drop ; 17:51:26 : -find lastword begin @ dup nfa-cfa ?match until nfa-cfa dup C@ + ; 17:51:37 somehting like that will work 17:51:50 one day i might test it 17:53:23 ok...syntax of CASE ... END-CASE: ( n ) CASE ( any expr to compare with ) OF ( do something ) ENDOF (any expr to compare with ) OF .... ENDOF ( etc. ) ENDCASE 17:53:30 example: 17:53:45 TheBlueWizard i told him that already 17:53:49 he got it working 17:54:24 KEY CASE 65 OF ." It is an A!" CR ENDOF 66 OF ." It's a B!" ENDOF ....ENDCASE 17:55:13 nite all its 3:51am here and i am going to bed 17:55:24 bye JohanRussouw 17:55:57 but if theres a value already on the stack then you you need 'n case' 17:56:31 so does 'key' wait for a keypress? 17:57:01 yes 17:57:24 ?key tell u if a key is pressed 17:57:29 it reads a keystroke (the implementation is slightly implementation dependent) 17:57:51 ya, in forth you haveto press enter 17:57:55 pforth that is 17:58:49 "implementation is slightly implementation dependent" 17:58:52 thats interesting 17:59:07 ?key seems to be a nonstandard word....?terminal lets you checks to see if a key is pressed without waiting 17:59:18 i wonder how many words can only be defined by themselves? 17:59:33 adu: oops...hehe...my brain is kinda half-dead tonite 17:59:39 hehe 17:59:41 thats ok 18:00:10 i'm not sure if i want to write an entire python interpreter, but i want to start out with the VM 18:00:37 implementing a Forth emulator in Python should be real easy.... 18:00:48 but does ?key wait until a key is pressed? 18:00:54 use Python dictionary for word lookup 18:00:57 --- quit: JohanRussouw () 18:01:07 tbw: really? why? because its python? (hehe) 18:01:22 o dict ya 18:02:30 i'm wondering how to implement the 'variant' type 18:02:43 variant? what for? 18:02:55 because thats what the pythonVM uses 18:03:07 its only been refered that way in VBScript tho 18:03:13 but python uses a similar type 18:03:21 it just has a genaric Number type 18:03:30 then a genaric List type 18:03:44 oh...by the way, you have to watch out for Forthish assumption that there is a memory arranged as array of cells...you may have to rearchitect the Forth language a bit to fit into Python "architecture" :) 18:04:11 maybe 18:04:21 i haven't come upon that assumption yet tho 18:04:30 oh, by variant you mean typelessness? 18:04:36 yup 18:04:51 VBScript uses variant to mean everything tho 18:04:56 * TheBlueWizard nods re: not hitting the assumption...but watch out for , and such 18:05:03 Number/Array/String/Reference 18:05:28 the funny thing is i've never programed in vbscript 18:05:48 I have....only at my boss's gunpoint :( 18:05:52 ouch 18:06:37 i'm not doing to bad tho 18:06:53 i got some binary operator instructions to work 18:06:56 yeah...my boss insists on using vbscript....he forbade Python and other non-M$ stuff 18:07:14 the hard part will be the coersions and slicings i think 18:07:49 and i think i need to learn about python more 18:07:57 i don't know what a map is 18:08:28 tbw: i'm sorry, thats too bad 18:08:42 and you may need to enforce some typings on the operands...like + expects two numbers, not a number and a string 18:09:08 does UNARY_POSITIVE actually do anything? 18:09:16 * TheBlueWizard shrugs...he works in a mgmt-loves-M$ workshop 18:09:45 i haven't been able to find this out 18:10:13 the only examples it gave were >>>x=-6 \ >>>x \ -6 18:10:29 and >>>x=+6 \ >>>x \ 6 18:10:34 and thats like DUH! 18:10:47 but is it at all like abs()? 18:11:08 or does it just do nothing? if it does then why make it an opcode? 18:11:57 you can optimize away the unary_positive....I guess it is there for decompilability.... 18:12:07 and for formality 18:12:25 maybe 18:13:16 oh wait! not useless after all! there is a __unary_PLUS__ thing (don't remember how it is spelled here), but that would get called for an object 18:13:27 e.g. 18:13:32 class silly: 18:13:58 def __unary_plus__(self): # don't remember how it is called 18:14:00 or maybe thats they're noop 18:14:04 blah blah 18:14:17 then x=silly() 18:14:41 +x would be compiled to x __unary_plus__ code sequence 18:14:46 and there yoa go! 18:14:50 ya even 18:15:45 does that make sense now 18:15:47 ? 18:15:50 no 18:16:09 i don't undeerstand how x=silly() has +x in it 18:16:17 do you know about those __xxx__ stuff, like __add__, for example? 18:16:30 no 18:16:41 i know the opcodes thats all 18:17:05 i've programed a bit in python trying to make a card game, but didn't get very far 18:17:17 hmm! you better learn a bit about classes, OOP stuff, and those __xxx__....they're cool in Python! 18:17:24 i never got comfortable with Tkiner 18:17:36 i know __main__ 18:17:37 only a bit? I see....you got a LOT to learn then hehe 18:17:55 heh 18:18:06 where can i find them then? 18:18:14 are they in the docs online? 18:19:06 these are documented, yes....though Python 1.5.x docs aren't quite good on the __xxx__ stuff....but Python 2.0 doc is good! 18:19:26 you can also browse the docs online at http://www.python.org 18:19:44 ya, thats what i usually do 18:19:50 heh 18:19:51 is it in Lang Ref or Lib Ref? 18:20:04 lemme check 18:23:24 * TheBlueWizard is on slow modem...be patient 18:30:08 ok....it is in the index section in Lang Ref ... http://www.python.org/doc/current/ref/genindex.html at the very top it shows all sorts of __xxx__ calls/methods. By the way, unary minus is mapped to __neg__ and unary plus is mapped to __pos__ 18:31:23 grr 18:31:32 hmm? 18:31:50 n/m 18:32:05 i'm being lactured 18:32:22 lactured? you mean lectured? by me? 18:40:19 no by my mom 18:40:21 she's gone now 18:40:23 phew 18:40:33 i got pulled over by a cop awhile ago 18:40:43 and my car insurance company is screwing me 18:41:17 yikes!!!! now I can understand why you're being l;ectured....if I were your mom I would LECTURE you :> 18:41:17 that pretty cool that you can redefine methods for numeric types 18:41:29 hahaha 18:41:52 provides the variables are objects, yes, you can redefine add etc 18:41:58 and i'm still reading about python... hehe 18:42:04 example: 18:42:10 class Matrix: 18:42:25 so if you decided to make a new numeric type say.. SpelledType 18:42:28 def __init__(self, dim): 18:42:37 then you could define operations on them with those 18:42:59 so >>>SpelledType "two" * "three" 18:43:05 would make "six" 18:43:06 self._data = dim*[dim*[0]] 18:43:06 :) 18:43:23 def __add__(self,another_matrix): 18:43:43 woa 18:43:51 i have no idea what that does but it looks cool 18:44:09 # cvhecks to make sure self and another_matrix dims are same 18:44:45 new_matrix = Matrix(self._dim) # _dim should be created in __init__ hehe 18:44:50 you mean like a mathmatical matrix? 18:45:03 # some loop summing up the entries...a nice exercise 18:45:05 isn't that just implementable with a 2-dimantionall array? 18:45:41 then I can have two matrices x and y and I can just type x+y...a matrix addition! it actually calls __add__ 18:45:50 yes, yes, yes 18:46:02 oic 18:46:03 n/m 18:46:15 i'm going for a walk 18:46:20 i'm getting pissed 18:46:33 i think caffe baci is still open 18:46:38 :) 18:46:41 i love coffee 18:47:15 * TheBlueWizard bans coffee 18:47:32 hmm 18:47:47 i'll talk wid you later about python some more 18:47:56 i'm glad you know so much about it 18:48:40 I've been coding in Python for about 2 and half years now 18:49:25 cool 18:49:46 so you understand how cool pythonVM in forth is? 18:51:29 yeah.....and did you know about JPython? 18:51:37 yup 18:51:50 it's also cool! 18:52:00 even cooler than Java IMHO 18:52:04 i'm thinking of looking at it's sounces to see if theres an easy way to implement python 18:52:08 hahaha 18:52:20 now it's called Jython 18:52:22 ha ha ha 18:52:37 it is 18:53:20 Jython? Never heard of *that* one.... 18:53:27 ts the same thing 18:53:31 they just renamed it 18:53:41 i think 18:53:55 i'm really going for a walk now 18:54:15 hmm...I wasn't aware it got renamed.... 18:54:23 and igt get some HW done for the mid term or something 19:14:25 --- quit: adu (i meant it, i'm really going this time) 19:50:30 --- join: Fare (fare@ppp16-net1-idf2-bas1.isdnet.net) joined #forth 20:35:50 gotta sleep....bye all 20:35:57 --- part: TheBlueWizard left #forth 20:46:05 --- join: adu (andrew@adsl-63-201-90-133.dsl.snfc21.pacbell.net) joined #forth 21:57:45 --- join: edrx_ (edrx@200.222.134.204) joined #forth 21:58:04 adu: ni! 22:02:53 ni 22:02:54 hehe 22:07:59 hey i'm making use of that 22:08:10 i'm building a pythonVM in forth 22:08:14 :) 22:08:25 its for a very specific pourpose 22:08:38 o ok 22:08:55 o ok -- delete that....wrong window 22:34:36 --- join: Talia` (goshawk@206-136.dialup.cloud9.net) joined #forth 22:36:04 =) 22:36:55 Hello 22:37:19 hello aaron, how are you? 22:37:28 great 22:37:35 i'm on vacation :) 22:37:40 I am glad to hear it =) 22:37:45 hah, cool....where? 22:37:58 at home :) 22:38:02 vacation from school for 9 days 22:38:29 been reading about Taoism, it reminded me of you... 22:38:31 oh, cool 22:38:38 :D 22:38:50 seriously? 22:38:53 why? =) 22:40:34 it talks a lot about the uselessnes of teaching, and experiencing life and stuff 22:40:46 pretty interesting actually 22:43:40 cool 22:43:49 I am not sure if I embody any of the best traits of Taoism 22:44:04 but I'll take it as a compliment =) 22:44:17 a taoist would say that you don't have to ;-) 22:44:28 that's true =) 22:44:41 have you been studying the classic literature or other sources? 22:45:12 i just started tonight reading both the classic book and a modern introduction 22:45:41 that's wicked 22:45:50 on your own whims? 22:46:03 yeah. now that i have time off 22:46:19 i'll need to get to some coding 22:47:28 cool 22:47:35 back to your projects? 22:47:46 maybe a hike too if i can get off my ass =) 22:48:04 yeah, whatever projects i can find right now 22:48:11 i don't have many long-term interests 22:48:15 cool, any night hiking? 22:48:38 probably not 22:48:42 that would be fun though 22:48:54 yeah, it really is 22:49:13 are you located in a place with an abundance of snow during the winter? 22:49:35 no, i'm in silicon valley 22:49:41 too bad :P 22:49:44 the mountains are a 4 hour drive, which is pretty resonable 22:50:12 if you ever get the chance....wait until 5-10 days around the full moon, and if you can get a lot of snow on the ground the better 22:50:15 it's damn surreal =) 22:50:18 hehe 22:50:48 i'd need appropriate music to go with that :) 22:51:07 hah =) 22:53:17 I am investigating the possibility of setting up a machine with polyForth 22:53:32 the machine isn't expensive, but polyForth is 22:53:47 commercial? 22:53:51 but, if I can find the time with all my other objectives to work a lot with it, it would be extremely powerful 22:53:52 yes 22:54:11 what do you plan to do with it? 22:54:40 what I would like to do is construct a direct serial or parallel MIDI interface for the machine 22:55:33 and then proceed to port portions of HMSL over, and actually use polyForth to respond to MIDI actions taken by the controller keyboards and respond by acting as a second or third pair of hand in controlling envelopes for destinations 22:55:57 it would be also useful if I ever get any of my ideas of HRTF's into some workable software form 22:56:23 amazing 22:56:46 i would never think that forth would be good for sound editing 22:56:53 yeah 22:57:01 what would spring to mind for me would be scheme or something... 22:57:15 i guess forth would be good if you'd find it usefull 22:57:24 but more than anything, I believe Forth's power in a real-time control context for the synthesist is amazing 22:57:35 ...it doesnt remove creative control when used like that? 22:57:48 no, it shouldn't 22:58:26 because what I'd like it do is be able to preprogram the Forth system to respond in some fashion (either by a lookup table or an algorithm) and adjust the settings over time 22:58:38 ok 22:58:42 that's all way over my head :) 22:58:56 for example, using HRTF's it would be very easy to give the impression that the sound is panning a circle around the listener's head 22:59:21 nice! 22:59:25 playing very softly might send say, low velocity values via MIDI to the Forth system which takes those values and can make a small circle 22:59:36 do you render stuff to 5.1 channel crazy format? 22:59:36 by playing increasingly louder 22:59:43 does midi even support surround? 22:59:53 the Forth system could respond making ever larger circles around the listener's head 23:00:05 well, no...this is something that would also have to calculated on the fly 23:00:13 and done directly to the audio hardware 23:00:24 so it would be an illusion 23:00:24 but the Forth system would do most of the calculation and input 23:01:14 well....all MIDI is as you know is merely a protocol for allowing machines of different manufacturers to communicate and act accordingly in a master-slave system (even when patchbay's and isolators are used) 23:01:34 yeah 23:01:37 so, basically the HRTF calculation would be modifications to the spectra and being piped out of the audio hardware 23:02:08 * aaronl thinks that good ideas and music are more important than auditory effects, but maybe that's just him 23:02:16 regardless of whether the Forth system actually did the calculations or not, is not as important as the fact as that the Forth system could certainly direct the audio hardware where to place the sound over time in real-time 23:02:22 well, I agree 23:02:48 but, I think however one can push the envelope (no pun intended) of music synthesis and provide a more immersive effect is definitely called for 23:03:02 because I think a lot of what synthesis is, is painting with sound 23:03:32 and when one can do away with painting on a single dot or a single long line (mono and stereo respectively), and paint anywhere in space 23:03:41 it becomes much more real 23:04:05 these are effects that one begins to think less about listening to music then actually standing in it 23:04:08 like a concert hall 23:04:14 i guess 23:04:20 except do-able from almost any modest hi-fi setup 23:04:23 but if there's little substance, it doesn't matter 23:04:36 that's true! 23:04:52 all these ideas I have kind of ride on the fact that the music is good and worth doing this to 23:05:04 which is certainly a big 'if' =) 23:05:45 because, I think of synthesizers as not just a way of fabricating sound but the tip of an iceburg of new dimensions of freedom in the development of timbres, tuning, etc. 23:05:55 why not add auditory localization to that list? 23:06:05 yeah, sure 23:06:12 sound processing is awesome 23:06:18 since we are here and going to great pains to create, why not go all the way and control ever factor worth controlling 23:07:37 yeah, and to be honest I think it is about ten years behind video in its practice 23:07:52 the fact is that the capability is there, and has been for a long time 23:08:12 and no one seems to investigate and take a litte time and a little of their profit margin to push the art 23:08:50 the way most professionals work with synthesizers, most of them buy pre-programmed sounds or buy modules full of them 23:08:54 * aaronl nudges his fader dial 23:09:01 and then squeeze what little they started with out of those 23:09:08 paying no attention to the more interesting things out there 23:09:17 since it is more an act of commercialism than anything else 23:10:10 so, oh well 23:10:17 I'll shut up now 23:10:23 since I get carried away 23:10:29 yeah, get hacking :) 23:10:47 a sort of PostScript for sound would be interesting 23:10:51 if that's not what MOD is 23:11:32 so, in short...I think a dedicated machine for polyForth would allow me the control of these systems in real-time with proper thought beforehand and without multitracking the hell out of it 23:11:34 yeah, it's a good idea 23:11:41 but unfortunately, fidelity is the first thing to go 23:11:46 yaeh 23:12:04 although, I have to admit MOD's sound pretty damn, considering that many of the samples are at 8 KHz (!!) 23:12:10 damn = damn good 23:12:34 riht 23:12:37 right 23:12:53 they sound digital 23:13:03 but amazingly good for the sample quality anyway 23:13:20 for some reason mixing 8khz samples sounds much better than sampling at 8khz 23:13:40 what do you mean? 23:14:16 record a bunch of 8khz samples, mix them to form a song; it sometimes sounds good 23:14:32 sample the whole song as one recording at 8khz; it sounds like crap 23:14:33 oh, yes, sorry 23:14:50 what is the sample quality of the overall mix of 8KHz samples? 23:15:20 well, for example....I have a sampler called the Emulator II+ 23:15:43 it's basically a slightly improved version of the Emulator II in that adds an additional 512K memory and an extra 5.25" floppy drive 23:15:49 other than that, it is identical 23:16:04 it samples at about 22KHz, and 12-bit (which is ultimately converted to 8-bit) 23:16:21 they use an analogue filter, strangely enough 23:16:25 hehe 23:16:59 and it gives it a quality that actually gives the overall system a warm grainy quality 23:17:23 pretty cool for a machine that was produced 1984-1986 =) 23:19:19 I think the real key to lo-fi sampling is just knowing what you can and can't do with that 23:19:45 I mean, as it is if any note steps above 4 KHz in pitch, you begin to alias 23:20:11 and even with a proper lo-pass filter, you lost way too much 23:20:15 so, you have to put up with the aliasing 23:20:48 the nyquist frequency can be a mixed blessing, but most of the time is quite bad if you aren't paying attention 23:23:27 one of my favourite synthesizers, called the Kawai K5000, aliases all of the time when you start treading above C4 23:23:43 but, it is quite easy to compensate and make the aliasing part of the character of the sound 23:24:09 it's the only synthesizer possibly cool enough to make the sounds of aliasing actually desireable at times 23:29:17 oh sorry, haven't been paying attention 23:29:31 not a problem =) 23:29:47 kawai... my dad has a kawai baby-grand 23:29:54 how does he like it? 23:30:23 it's great 23:32:55 --- quit: Talia` (Ping timeout for Talia`[206-136.dialup.cloud9.net]) 23:34:19 * aaronl is away: quake 23:35:11 --- join: Talia` (goshawk@206-136.dialup.cloud9.net) joined #forth 23:35:17 sorry about that 23:35:19 froze up 23:35:31 missed anything you said after I asked the question 23:40:31 I don't know anything about Kawai's other products 23:40:41 but I enjoy some of their synthesizers every so often 23:41:06 they are often quirky with a very harshly bright sound 23:41:12 but if you find the right one, they can be a real blast 23:59:18 --- quit: edrx_ ([x]chat) 23:59:59 --- log: ended forth/01.02.16