00:00:00 --- log: started forth/02.04.24 00:07:03 --- join: davidw_ (~davidw@ppp-23-36.25-151.libero.it) joined #forth 00:07:39 --- quit: davidw (Remote closed the connection) 00:21:49 --- nick: davidw_ -> davidw 01:35:57 --- join: njd (junk@njd.paradise.net.nz) joined #forth 01:37:32 --- quit: njd (Client Quit) 01:44:09 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 01:44:12 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 01:44:12 --- quit: Frac (carter.openprojects.net irc.openprojects.net) 01:44:12 --- quit: futhin (carter.openprojects.net irc.openprojects.net) 01:44:47 --- join: ChanServ (ChanServ@services.) joined #forth 01:44:47 --- join: Frac (tng@h24-77-171-228.ok.shawcable.net) joined #forth 01:44:47 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 01:44:47 --- join: onetom (tom@adsl52030.vnet.hu) joined #forth 01:44:47 --- mode: carter.openprojects.net set +o ChanServ 01:56:35 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 01:56:35 --- quit: Frac (carter.openprojects.net irc.openprojects.net) 01:56:35 --- quit: futhin (carter.openprojects.net irc.openprojects.net) 01:56:35 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 01:56:59 --- join: ChanServ (ChanServ@services.) joined #forth 01:56:59 --- join: Frac (tng@h24-77-171-228.ok.shawcable.net) joined #forth 01:56:59 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 01:56:59 --- join: onetom (tom@adsl52030.vnet.hu) joined #forth 01:56:59 --- mode: carter.openprojects.net set +o ChanServ 04:11:19 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 04:11:20 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 04:11:20 --- quit: Frac (carter.openprojects.net irc.openprojects.net) 04:11:20 --- quit: futhin (carter.openprojects.net irc.openprojects.net) 04:11:20 --- join: ChanServ (ChanServ@services.) joined #forth 04:11:20 --- join: Frac (tng@h24-77-171-228.ok.shawcable.net) joined #forth 04:11:20 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 04:11:20 --- join: onetom (tom@adsl52030.vnet.hu) joined #forth 04:11:20 --- mode: carter.openprojects.net set +o ChanServ 04:13:02 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 04:13:16 --- join: ChanServ (ChanServ@services.) joined #forth 04:13:16 --- mode: carter.openprojects.net set +o ChanServ 04:16:36 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 04:16:57 --- join: ChanServ (ChanServ@services.) joined #forth 04:16:57 --- mode: carter.openprojects.net set +o ChanServ 05:37:52 --- nick: MrGone -> MrReach 05:37:58 hihi! 05:38:57 futhin: gforth is either direct threaded or indirect threaded, depending on what system it's being compiled on (or for) ... it is not subroutine threaded 05:39:35 also, gforth has the built-in ability to call upon system libraries 05:39:53 it's not very hard to use, but it takes a while to figure out the arguments and their order 06:00:56 how does it do that? 06:01:03 where is a good definition of all this threading business? 06:01:35 the forth wiki has pretty good defs, they're "ok" 06:01:38 just a sec 06:05:47 the problem is that nobody really write to the wiki 06:06:59 where is it? 06:07:14 the tcl dudes are quite enammored of theirs 06:07:26 ok, the wiki itself is at http://www.forth-ev.de/wiki/html/Forth/FrontPage.htm 06:07:32 and the threading stuf ... 06:07:34 is at http://www.forth-ev.de/wiki/html/Forth/ThreadedCode.htm 06:07:46 theirs has a *LOT* of content 06:08:02 and it's written in TCL ... so they have some reason for pride 06:10:28 --- join: rob_ert (~robert@h237n2fls31o965.telia.com) joined #forth 06:11:15 good morning! 06:11:36 good morning, futhin 06:11:38 Morning! 06:12:09 these explanations kind of suck 06:12:16 mrreach: do yu have any code that demonstrates using the system libraries thru gforth? 06:12:40 no, I lost all my gforth stuff with a HD failure 06:12:43 i remember you tried to explain gforth & accessing libraries before, should i go read the logs ? 06:13:00 i don't remember you saying anything specific though.. 06:13:07 however, I'm willing to download the sources and browse through them to recall how it worked 06:13:18 if youi wish 06:13:24 i think xef4 has some source code on it 06:13:31 i'll ask him next time i see him 06:13:45 or maybe i'm thinking of aum? one of those ppl.. 06:14:09 oh, cool, gforth 5.0 is out 06:14:15 when did that happen? 06:14:18 it's been out for awhile :) 06:14:35 i installed it 2-3 months ago.. 06:14:45 sep of 2000? 06:14:58 hm? 06:15:01 that's when it came out? 06:15:29 just a sec ... I haveta reboot 06:15:32 blarg 06:15:50 --- quit: MrReach () 06:21:53 --- join: MrReach (~mrreach@209.181.43.190) joined #forth 06:21:57 wb 06:22:05 thanks 06:22:15 * MrReach goes to get the gforth sources 06:22:27 i grepped the forthlogs and piped it into a textfile.. 06:22:29 what platform are you speaking of, futhin? 06:22:36 after a few minutes, the text file was 250 megs 06:22:36 bah 06:22:46 what did you grep for? 06:22:53 gforrth 06:22:54 gforth 06:22:54 heh 06:22:59 haha! 06:23:09 it's weird tho 06:23:16 because the logs aren't that big.. 6 megs only 06:23:26 er, 8 megs only 06:23:37 i guess grep was looping or something 06:25:03 ugh 06:25:05 if u read the logs 06:25:06 sounds like grep found every line ... might want to recheck your pattern 06:25:10 i repeat the same thing over and over again 06:25:18 i keep saying "do you know how to do sockets in gforth" 06:25:21 over and over 06:25:23 day after day 06:25:25 haha! 06:25:28 because i'm a lazy baster 06:25:30 because i'm a lazy bastard 06:25:55 damn, futhin, give yourself a break 06:25:57 it's funny, because i'm not intending to code the mud for awhile.. so i just keep asking :P 06:27:20 i did code some forth recently 06:27:38 worked on code that displayed hex & ascii of a particular memory address 06:27:44 similar to debug.com 06:27:54 and also worked on code to draw a box 06:28:01 using ascii 06:28:10 |----| 06:28:16 | | 06:28:21 |----| 06:28:29 ugly :D 06:28:29 I wish I440r were in here 06:28:35 why? 06:28:46 I'd like to discuss the pros and cons of using gforth to code a bot 06:28:56 he doesn't like gforth 06:29:04 downloaded it, looked at it for 5 minutes, deleted it 06:29:15 * MrReach throws a brick at futhin, "So what?" 06:31:48 heheh 06:32:00 what about bigforth? or isforth? 06:32:07 ok, scanning for library docs now 06:32:33 gforth is portable. 06:32:33 i'll probably use isforth eventually, once he gets the socket stuff working.. 06:32:42 so is bigforth 06:32:45 ok, the "Binding to System Library" section of docs is still empty 06:32:55 bigforth is available on windows too 06:33:01 futhin: what architectures does it run on? 06:33:09 http://onee.yi.org/ 06:33:12 so I'll unpack the sources and use editplus to grep 06:33:25 some great algorithm page links 06:33:34 bigforth is not really stable on windows 06:33:37 i think bigforth might have better support for attaching to system library.. i think it might be documented :P 06:33:38 (but what is) 06:34:11 heh, in German 06:34:19 * Powerful compiler: bigFORTH is a 32 bit system. The compiler generates optimized native code for the i386. 06:34:31 futhin: u can easily implement sockets in gforth, but, plz, install a linux! its quite high time 2 do so. 06:34:33 "portable - runs on 386, 486, and pentium!" 06:34:50 portable across platforms :P 06:34:52 that last bit is mine, but... really 06:34:54 linux & windows 06:35:11 * davidw has a mac 06:35:15 ah 06:35:57 running linux, but still... 06:36:30 futhin: you have a linuxbox yet? 06:36:47 I'm not sure gforth can bind to libs on windows 06:37:06 no, i won't install linux for a few months.. i'm just using shell accounts 06:37:52 s/i won't install/i won't be installing 06:37:55 to quote someone or another "learning to hack on windows is like learning to dance with a body cast" 06:37:57 --- join: gilbertbsd (~gilbert@m133.max3.dacor.net) joined #forth 06:38:02 hello 06:38:07 goodmorning gilbertbsd 06:38:22 greets, gilbertbsd 06:38:24 I got my hands on 'Starting Forth' at 2am last night. 06:38:25 goodmorning onetom too :P 06:38:36 gilbertbsd: cool.. 2 am? 06:38:36 mornin, futhin 06:38:41 davidw!!! HAHAHA! 06:38:42 yep I had to wait. 06:39:20 I have a quick question... after I am done with the book... 06:39:21 gilbertbsd: umean, u have a real SF book? 06:39:28 Yes :) 06:39:52 how do I gain access to the tcp/ip stack? 06:39:59 :)) 06:40:02 and is there anyway to use curses? 06:40:07 what a common question. 06:40:13 sure 06:40:16 use emit :P 06:40:33 whadya mean? 06:40:39 heh, gilbertbsd, we're working on that right now 06:40:57 we are focused on gforth, at the moment, do you have it installed? 06:40:57 certainly u also need ioctl syscall interface 4 curses 2 06:41:11 yep that is what I have up 06:41:14 futhin: please open "lib.fs" in your favorite editor 06:41:15 gilbertbsd: there is tcpclient & tcpserver that use stdout and stdin, so u can use emit & key with tcpclient to connect to a server, or to run your own server, you could use tcpserver 06:41:37 but, for gods sake, check the sources of bigforth, gilbertbsd & u 2 futhin 06:41:38 speaking of which, I should figure out what is up with eCos... 06:41:45 it always seems to echo keys 06:41:50 anyway... yeah, off to hack 06:42:00 I *USED* to know how to load and call arbitrary libraries ... but have to relearn for futhin's sake 06:42:21 have fun, davidw 06:42:25 futhin where is tcpclient? 06:42:31 heh 06:42:35 is it available for gforth ? 06:42:38 google for it 06:42:45 tcpclient is not specific to forth 06:42:45 :| 06:42:50 ah okay 06:42:52 gilbertbsd: f gforth ?! 06:43:00 yeah I have tile and pfe as well. 06:43:08 but I am using g4th 06:43:16 mrreach: you don't have to relearn it :P i can ask somebody else 06:43:28 you've been asking for months 06:43:38 nobody seems willing to spend the hour to figure it out 06:43:42 futhin: what about askin urself? ;P 06:43:45 heh 06:44:33 mrreach: one guy has some source code that handles it for him.. i was going to get the source off him 06:44:37 also.. 06:44:50 i should check out bigforth & isforth for sockets stuff 06:45:08 but i have lib.fs open right now :P 06:46:43 ok, it appears that to tell the system about a new library, you do ... library glibc: /lib/libc.so.6 06:47:04 this creates a defining word, glibc: 06:47:26 it is used to tell the system about the proceedures to be found within the library 06:47:40 that doesn't look like forth. 06:47:53 beg parden? 06:47:58 which doesn't ??? 06:48:26 glibc 06:48:44 library glibc: /lib/libc.so.6 <-- look at the spaces! it's prolly forth ;) 06:49:05 no library word here... 06:49:06 ah I didn't notice the 'library' part. 06:49:12 I'm detailing how gforth interfaces to arbitrary libraries, in linux in theis case 06:49:20 doh 06:49:22 ah yes. 06:49:38 you could probably use the ABI somehow 06:49:40 forth itself has no method of doing this 06:49:45 although doing stuff like structs could get ugly 06:49:56 although most specific implementations usually have some method 06:50:07 ABI?? 06:50:08 ohh!! i found out why grep made it a 250 meg file.. it started reading into the file that i was piping into 06:51:35 heh 06:52:02 ok, so lets pretend we're going to call a glibc function that takes three arguments and returns an int ... 06:52:04 So to be sure ... when I am done reading Starting Forth, I can boldly crawl towards where other forthers have gone before me? 06:52:24 crawling rules 06:52:33 after that, u get to take babysteps! and fall down many times 06:52:49 so much fun when u are a cute little toddler 06:52:54 sure sure, I am just checking to see if there are other books I should have around me. 06:53:08 3 (int) glibc: ourword nameOfProceedureInLibrary 06:53:33 gilbertbsd: not much books on forth, and not much books specific to some forth compiler, unless you read the electronic manuals that come with the forth compilers 06:53:36 gilbertbsd: yes 06:54:09 ah okay ... I have gforth. 06:54:13 gilbertbsd: thinking forth was kind of a good book.. 06:54:14 the Forth Handbook included with the SwiftForth downloand is pretty good 06:54:29 and may recommend Thinking Forth 06:54:32 the Forth Handbook? ... okay 06:54:45 Yes I shall get thinking forth (Zeus willing) this afternoon. 06:54:57 starting forth is a bit of an easy read, I'm a bit worried. 06:55:07 gilbertbsd: do you have a scanner? ;) 06:55:13 it'll get you started 06:55:14 no. why? 06:55:24 Forth is not a very complex language 06:55:31 we need to scan starting forth & thinking forth for onetom ;) 06:55:50 ah. I wrote to Mr. Brodie ... 06:55:58 did you get a response? 06:55:58 I told him to put his book on the net. 06:56:00 i haven't.. 06:56:01 nope. 06:56:48 * MrReach looks through the GNU libc manuals looking for a simple function to test with. 06:58:09 MrReach: chdir 06:58:12 or something like that 06:58:20 maybe somebody should send documentation to the gforth guy for the "Binding to System Library" section 06:58:27 I'm think putch 06:59:04 gilbertbsd: so you bought Starting Forth or you borrowed it? 06:59:24 inter library loan 06:59:33 ah 06:59:57 putc is a macro 07:00:26 fputc looks good 07:01:33 so ... library glibc: /lib/libc.so.6 2 (int) glibc: fputc fputc 07:02:14 now, the problem with that ... is that fputc is going to have some stuff added to the name in the library, unless I'm mistaken 07:03:02 DAMNIT! Mandrake didn't install gforth 07:03:14 someone got a login I can borrow? 07:03:31 that has gforth installed? 07:08:01 needs lib.fs 07:08:01 library glibc: /lib/libc.so.6 2 (int) glibc: fputc fputc 07:08:12 i've put that into a file.. 07:08:13 what next? :P 07:08:31 needs lib.fs library glibc: /lib/libc.so.6 2 (int) glibc: fputc fputc 07:08:51 ? already did that :P 07:09:10 non existant file lib.fs 07:09:23 did you get that error? 07:09:31 nope 07:09:46 hm.. does he have gforth installed? 07:09:55 try: locate lib.fs 07:10:01 did you cd somewhere before starting gforth? 07:10:15 well, "gforth" works 07:10:47 /home/common/dbc-20011017/sw/forth/gforth-0.5.0/lib.fs 07:10:53 needs /home/common/dbc-20011017/sw/forth/gforth-0.5.0/lib.fs 07:11:12 er.. needs /usr/local/share/gforth/0.5.0/lib.fs 07:11:46 alright, the first one worked 07:12:31 where *IS* that machine? Siberia? 07:13:18 it is prolly a 33.6k 07:13:26 its a pain telnetting to those 07:13:33 I should know too :) 07:13:41 ok, I got the name of the proc wrong 07:13:52 so I need to fish around in the lib file for a minute 07:14:54 no 07:14:58 it's located in hungary 07:15:05 HAHA! 07:15:21 it's a cable connection i imagine 07:16:01 futhin did you scan the book? 07:16:35 needs lib.fs library glibc: /lib/libc.so.6 1 (int) glibc: myout putchar 07:16:41 what are you doing with a shell account in hungary? 07:17:27 futhin: *khm* ... ;) 07:17:51 THERE IT IS! 07:18:10 65 myout A ok 07:18:48 so, futhin, that is how you access libraries in gforth on linux 07:19:05 and I have no idea if you can do that on windows are not 07:19:51 cool, works here too 07:21:28 if you look in lib.fs, you've also got variable args, like you need to call fprintf 07:22:03 futhin: as a further excersize, use this to go create a gtk interface for forth 07:22:18 I'm not going to worry about that right now, though, because I don't intend to use gforth anytime soon 07:22:26 HAHAHA! 07:22:44 davidw: you're the sadistic type, aren't you 07:22:47 davidw: oh trust me, i've got at least 20 different apps that i want to code in forth 07:23:25 MrReach: me also thanks u 4 that lib-stuff 07:23:25 MrReach what do you use instead? 07:23:37 TCL/Tk 07:23:48 are you kidding? 07:23:53 is it anything like forth? 07:23:57 65 myout ok 07:24:07 I generally don't do windowing stuff in forth 07:24:19 ugh weird 07:24:22 if i do it in a file 07:24:26 it doesn't work? 07:24:29 and there is no forth/tk yet is there? 07:24:31 but if i do it while in gforth 07:24:38 if i do 07:24:42 needs lib.fs library glibc: /lib/libc.so.6 1 (int) glibc: myout putchar 07:24:45 in gforth 07:24:47 rather than in a file 07:24:50 it works.. 07:24:53 it's a byte-compiled scripting language with outstanding widget support ... it's incredibly easy to get an app sketched out 07:25:20 * onetom agrees MrReach 07:25:28 gilbertbsd: not that I'm aware of 07:26:40 gilbertbsd: ive seem some pforth<->tcltk bindings on pforths links page 07:27:18 onetom: I used to have a login at one of the mainframes in Novosibersk (sp?) ... t had a lag similar to your machine 07:28:20 mrreach: myout doesn't work correctly if i do the " needs lib.fs library glibc: /lib/libc.so.6 1 (int) glibc: myout putchar" from a file.. why ? 07:28:35 not sure 07:28:39 what error you get? 07:28:52 I can't find pforth tcl/tk 07:29:09 MrReach then you really want python :) 07:29:20 it does everything you said in a more convenient language. 07:29:29 ug 07:29:57 I can't say that python is better or not, more versatile or not 07:30:10 it is quite the language ... 07:30:16 but can say that TCL is convenient and good for what I'm doing 07:30:23 which would be? 07:30:29 Not top secret I hope. 07:30:48 also, a program written in TCL/Tk operates identically on Linux, Windows, and MacOS 07:30:52 no 07:30:59 same with python. 07:31:04 and its pretty easy too. 07:31:23 several projects ... one is the integration of the web server and my household tasks 07:31:44 another is a commercial IRC bot 07:31:46 household tasks? like cooking? 07:32:02 man all those are right up pythons alley. 07:32:10 another is the handling of my data/fax/voice modems 07:32:10 but as long as tcl/tk can do them ... 07:32:33 tasks like contact management/databasing 07:32:34 hmmm so you can write a fax app via tcl/tk ? 07:32:41 yes 07:32:52 voicemail is the more important function to me 07:32:57 does it give you hardware access? 07:33:42 eventually, I'll be able to check my voicemail either by calling in, checking the web page, having it forward to my mailbox, or by having it call my cell phone 07:34:07 my modems are all external, Rockwell/Conextent based 07:34:38 I have an external modem too... a 33.6k somethingorother from USR 07:34:50 and TCL lets me access the serial ports fairly easily 07:35:27 MrReach: 1 question 07:35:38 sure 07:35:59 MrReach: how can i detect that if some*1* picks up the phone 07:36:02 on the other side 07:36:06 after dialing? 07:36:13 right now, I'm trying to figure out how to decode the vender specific format of the sound stream ... so I can convert it to .mp3 format 07:36:18 coz, ATDT 07:36:34 arg ... toughie 07:36:40 wanna try 2 make a connection 07:36:57 generally, yoiu need a modem with "ringback" functionality 07:37:06 and it is only able 2 answer NO CARRIER, BUSY or CONNECT 07:37:40 check the docs for your chipset, and see if there's an obscure command to turn on ringback capability 07:37:58 some modems can do it, some can't 07:38:04 what is that ringback cap? 07:38:22 anyway, i havent found the docs 4 it yet :) 07:38:30 each time it hears the buzzing of the ring on the other end, it will report "ringing" 07:38:51 but, it does it 07:39:01 when you get like 3 secs of silence, you know someone has picked up 07:39:18 2 b more exact, it says RING 07:39:30 ahhaa... 07:39:39 oh, as though someone had called you? 07:39:42 how awkward 07:39:54 but it doesnt say anything after an ATD command 07:39:57 but it'll do the trick 07:40:04 nonono 07:40:10 that isn't what I mean at all 07:40:21 *SOME* modems have a special mode 07:40:27 yup... 07:40:41 that allows them to report that it hears the phone ringing at the other end 07:40:47 mrreach under linux you can access the serial port via /dev/somethingorother no? 07:41:02 after the ATDT command, but before the VOICE answer 07:41:24 VOICE answer ? 07:41:29 . /dev/ttyS0 ... /dev/ttyS3 07:41:43 yeah thats not that hard to do in forth is it? 07:42:04 actually, it's very hard to do with forth 07:42:12 i would also b satisified if the ATD command could answer me w VOICE beside NO CARRIER, BUSY & CONNECT 07:42:23 because you have to set the line discipline and buffering characteristics 07:43:13 hmmm is that the only hard thing to do in forth? 07:43:16 however, I found that with gforth, you can use EXEC to call linux utilities to set the serial port characteristics 07:43:24 gilbertbsd: gforth -e '."ATH" bye' > /dev/modem 07:43:38 that doesn't seem hard! 07:43:54 using EXEC you mean? 07:43:56 ( oops ive missed 1 space ) 07:44:28 you also missed the carriage return ... it won't do anything until it gets it 07:45:06 :) well... yes 07:45:24 gilbertbsd: that example is pointless, if you're just going to echo stuff, might as well use bash scripts 07:45:45 yes I saw that. 07:46:09 echo "ATH" bye > /dev/modem 07:46:11 or something 07:46:13 anyway, I need to shave, shower, and go do some worky type stuff 07:46:20 k, the simley is also missing from the end of the sentence 07:46:38 be well, each of you 07:46:42 --- nick: MrReach -> MrGone 07:46:52 gilbertbsd: hey, "bye" is the quiting word from forth :) 07:47:27 oh that. 07:47:29 ;) 07:47:40 echo "ATH" > /dev/modem 07:47:42 gilbertbsd: but seriously, u can override emit & key 07:48:14 so u can use the standard 4th i/o words 2 07:48:21 communicate w the modem 07:48:28 like . accept .... 07:50:50 but I thought the whole point of forth was to let you gain very quick access to hardware and that kinda thing! 07:55:04 yes & its got a very fast devel time and is a great language 07:55:28 but it needs support.. ppl need to extend it.. code vocabulary for it for graphics, modem handling, whatever 07:59:43 do you know what? if all of us scanned 10 pages each of Starting Forth, we could post it to a server in siberia and access it whenever 08:03:01 me be we shouldn't tell Mr. Brodie about this? 08:16:58 --- join: herkamire (~jason@wsip68-15-54-54.ri.ri.cox.net) joined #forth 08:17:17 hi herkamire 08:17:38 hey :) 08:17:58 have you been having fun with forth? 08:18:28 yes I got a copy of Starting Forth this morning. 08:18:42 and I'm reading through that ... 08:18:49 I also got a copy of SICP so that will be next on my list. 08:19:45 thinking forth comes somewhere in between . 08:19:53 cool :) starting forth looked good. I haven't read it, but tathi was showing me the pictures :) 08:20:04 sounds like it explains things nicely (and simply) 08:20:22 yeah... I asked some guys in the lisp room what book I should read before getting to sicp 08:20:26 and 3 of them said 'starting forth' 08:20:34 :) 08:21:58 --- join: sif (~siforth@ip68-9-58-81.ri.ri.cox.net) joined #forth 08:21:58 Type sif: (or /msg sif to play in private) 08:22:22 gilbertbsd: and you have to try my forth bot :) 08:22:34 is that sif? 08:22:46 sif: 3 2 + 08:22:47 . 08:22:47 gilbertbsd: 08:22:51 the forth system I just wrote 08:22:56 sif: 3 2 + . 08:22:57 gilbertbsd: 5 08:23:00 wow. 08:23:03 did you write sif? 08:23:04 hehe :) 08:23:22 yeah :) I made the fort interpreter (in C) and the bot. 08:23:27 does it create workspaces for every user name? 08:23:53 no, it runs the interpreter from scratcd on each message. it doesn't save anything 08:24:52 so one has to be a true forth guru to write a 1 liner in it. 08:25:09 :) 08:25:14 it's a chat room :) 08:25:37 ah yes. 08:25:56 this is pretty cool... 08:26:10 how did you teach it to add? did you simply use the c stuff? 08:26:18 it would be nice if definitions were persistant, but I haven't thought of a great way to make that work. 08:26:59 yeah, I used C to write the primitive words, and then I've written a bunch more words in forth 08:27:18 sif: 5 0 do emit 42 cr loop ; 08:27:19 gilbertbsd: ˆ 08:27:23 ? 08:27:29 you forgot the colon 08:27:37 sif: : 5 0 do emit 42 cr loop ; 08:27:38 gilbertbsd: 08:27:48 ohh I put a 'cr' in there. 08:27:55 sif : a 5 0 do emit 42 cr loop ; a 08:28:11 and I gave it no name . 08:28:12 silly me. 08:28:22 sif: : a 5 0 do emit 42 cr loop ; a 08:28:23 herkamire: stack underflow 08:28:37 sif: : a 5 0 do 42 emit cr loop ; a 08:28:39 herkamire: * * * * * 08:28:50 fantastic 08:29:43 the bot tranlates cr and lf to two spaces and trunkates output to 50 chars 08:30:15 sif: .s 08:30:17 gilbertbsd: 08:30:47 sif: 5 3 5 .s over 08:30:48 gilbertbsd: 5 3 5 08:30:53 sif: 5 3 5 .s over .s 08:30:54 gilbertbsd: 5 3 5 5 3 5 3 08:31:32 that is pretty darned cool. 08:33:46 herkamire: you there? 08:33:54 sif: ." Herkamire are you there" 08:33:55 :) 08:33:55 gilbertbsd: 08:34:10 sif: .( Herkamire are you there) 08:34:12 futhin: Herkamire are you there 08:34:31 herk: ." " is allowed to work in both interpret & compile modes i think.. 08:34:33 futhin how did you know it was supposed to do that? 08:34:54 gilbertbsd: because i was on before, when everyone was playing around with the bots yesterday 08:35:25 ah yes. 08:35:31 sif: words 08:35:32 gilbertbsd: ." .( : if then do loop repeat until exit ... 08:35:38 thats all? 08:36:05 what about arithmetic and recursion sif? 08:37:09 no recurse yet 08:37:34 arithmetic is there, but it doesn't have room to list all the words in 50 chars :) :) 08:37:41 oh yes ... 08:37:45 I forgot. 08:38:12 herkamire forth does not really behave in a certain way as smalltalk for example .. 08:38:22 so even though arithmetic is RPN ... the rest aren't? 08:38:32 and any thing that needs to work on a number is rpn like ? 08:38:47 forth just executes stuff from left to right. 08:38:54 okay ... 08:39:04 so any number is simply put on the stack ... 08:39:05 the math comes out looking like rpn. 08:39:14 it just happened that way. 08:39:23 herk: you have : but not ; and you have do AND loop ?? 08:39:27 and the functions that deal with numbers read the top two no? 08:39:56 really it's just reading the next word in, executing it (or if it's a number putting it on the stack). It repeats this process untill it runs out of input. 08:40:03 --- join: tathi (~tathi@wsip68-15-54-54.ri.ri.cox.net) joined #forth 08:40:27 hmmm ... 08:40:43 I am thinking of how programs are composed in forth ... 08:40:54 and there is no syntax you say? 08:40:59 gilbertbsd: different words are different. some use just the top number on the stack. some use the top two, some don't use any (like .s) 08:41:17 gilbertbsd: no syntax 08:41:23 what does that really mean? 08:41:35 I only need a few rules to write a WF scheme? 08:41:44 well formed 08:42:00 it means that there is no meaning derived from certain things being arranged in a certain way on a line 08:42:48 so as long as one keeps in mind that it reads from left to right, and sequences things in that kind of order for non looping and non recursive 'things', one should be fine? 08:43:13 most languages will attempt to read in an "expression" or a line or whatever, and then examine it and figure out what all the little parts are (parse it) and then figure out what the expression does/means. 08:43:16 --- join: Soap- (flop@203-96-105-60.dialup.xtra.co.nz) joined #forth 08:44:00 from what I have seen, forth simply looks things up in the dictionary and executes them as needed. 08:44:16 right. 08:44:20 herkamire: the ; is the ending for : and the LOOP is the ending for DO. but WORDS doesn't show ; although it shows LOOP .. 08:44:30 futhin: I know 08:45:09 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 08:45:33 gilbertbsd: right. forth uses two stacks and a dictionary as tools to make the interpreter/sysetem work 08:47:47 you can't really describe how forth code is aranged, because it's not really aranged in a syntax like most languages, it's better to describe what the forth interpreter does with the code 08:48:10 and here's what it does: 08:48:32 1) read in a "word" (read untill we come to some whitespace) 08:48:42 look it up? 08:48:53 if its a number, ask number to pack it on the stack? 08:49:03 2) look up the word in the dictionary 08:49:32 3) if it was not found scip to step 4 08:50:24 --- quit: davidw (Remote closed the connection) 08:50:37 3a) check STATE if it's COMPILE then compile the word for later execution (unless the word is flagged as IMMEDIATE). if it's INTERPRET then execute the word immediately. 08:51:08 3b) go back to 1 08:51:20 --- join: davidw (~davidw@ppp-23-36.25-151.libero.it) joined #forth 08:52:17 4) attempt to convert the word from text to a number. if it's not a number print an error "Word Not Fount" and stop the interpreter. 08:53:24 5) if it's a number then check STATE. if STATE is compile then we compile the number so it comes on the stack when we call the word we are compiling. if STATE is INTERPRET then put the number on the stick immediately 08:53:32 6) go to step 1 08:54:44 does that make sense? that's really all there is to the interpreter 08:55:45 I understand it so far. 08:56:07 there was a cartoon thing in SF that depicted it rather well too. 09:06:14 damn... hrm 09:06:15 --- quit: futhin (Read error: 104 (Connection reset by peer)) 09:06:24 pforth and ficl are both lacking 09:06:36 I wonder if PFE is easy to pare down 09:06:45 pforth kicks ass because it even has its own malloc 09:10:02 how would you do inb outb in forth? 09:10:49 davidw: ive written a patch 4 gforth 09:11:06 so it has inb & outb 4 me 09:11:11 so there is no standard way:-/ 09:11:15 onetom what is inb and outb? 09:11:19 I guess you would do code .... for your system 09:11:31 gilbertbsd: the 386 instructions to send stuff to memory ports 09:11:39 umean, a standard way 2 write 2 ports from 4th? 09:11:41 or io ports or whatever they are 09:12:07 davidw: no, ive patched the sources 09:12:58 hrmph... that sucks 09:13:05 stupid forth... 09:15:31 hey, u r not right! 09:15:59 forth doesnt suppose that u have ioports beside the memory 09:16:34 thats why it doesnt take care about defining standard word name 4 them, eg 09:16:42 &why? 09:17:03 because ioport handling varies from platform 2 platform 09:17:13 hrm, yeah, I guess that's true 09:17:16 stupid hardware 09:17:27 forexamle, pic microcontrollers have 09:17:35 separate data & prg mems 09:18:10 and also the ioports just as the special function registers of the processor 09:18:31 r also mapped into the data memory 09:20:32 --- join: XeF4 (~xef4@dsl-XIV-203.kotikaista.weppi.fi) joined #forth 09:20:35 --- quit: davidw (Read error: 104 (Connection reset by peer)) 09:20:54 hallo 09:21:43 --- join: davidw (~davidw@ppp-23-36.25-151.libero.it) joined #forth 09:21:53 I guess bochs doesn't catch some windowing events. 09:22:24 davidw: heres the gforth port patch 09:22:25 > ioperm u1 u2 f1 -- f2 gforth 09:22:26 > f2 = ioperm(u1, u2, f1); 09:22:26 > 09:22:26 > pc@ u -- c gforth pc_at 09:22:26 > c = inb(u); 09:22:27 > 09:22:29 > pc! c u -- gforth pc_store 09:22:31 > outb(c, u); 09:22:45 these lines should b appended 2 the "prims" file 09:22:49 and 09:22:52 > #include 09:22:53 > #include 09:23:01 to the engine.c 09:23:46 and u have to make the executabe setuid root afterwards 09:23:49 and thats all 09:24:19 hrm 09:24:29 I guess I'll have to figure it out on a system by system basis 09:24:40 I wonder if linux abstracts that stuff at all...hrm 09:25:00 abstracts? 09:25:20 man ioperm will help, anyway 09:25:21 I don't know much about hardware 09:25:41 i learnt these from 09:25:58 port programming mini-howto 09:26:00 or what... 09:26:39 I think linux has readb writeb 09:26:52 or similiar things 09:27:19 also outsb insb and such 09:27:47 for i386 hardware i/o ports? you have inb/outb and /dev/port 09:28:22 and inw/inl/outw/outl 09:29:15 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 09:38:12 --- quit: XeF4 ("pois") 09:51:26 --- join: XeF4_ (xef4@hd5e24739.gavlegardarna.gavle.to) joined #forth 10:30:49 --- quit: gilbertbsd ("xchat exiting..") 10:49:18 XeF4_: /dev/ioports didnt worked 4 me for some strange reasons... :( 10:51:37 and obviously its also slower than using inb/outb what r translated directly to the corresponding in/out machine instructions 10:53:30 onetom: slower, but you can use it without root rights 11:01:38 aha, thats true :) 11:35:47 --- quit: XeF4_ ("pois") 11:52:25 --- join: gilbertbsd (~gilbert@m143.max3.dacor.net) joined #forth 11:52:46 hello 11:59:10 --- quit: davidw (Read error: 113 (No route to host)) 12:25:40 --- quit: gilbertbsd ("xchat exiting..") 12:31:36 --- quit: futhin ("bye") 12:35:33 --- quit: sif (Ping timeout: 14400 seconds) 12:54:49 hmmm... looks like I'll have to teach my bot to respond to pings... 13:04:10 herkamire: why? 13:04:31 autoreconnect? 13:24:30 --- join: sif (~siforth@ip68-9-58-81.ri.ri.cox.net) joined #forth 13:24:30 Type sif: (or /msg sif to play in private) 13:24:41 ping sif 13:25:32 the server dissconnected my bot, because it didn't reply to the irc PING 13:31:03 --- quit: sif (Remote closed the connection) 13:37:39 --- join: sif (~siforth@ip68-9-58-81.ri.ri.cox.net) joined #forth 13:37:39 Type sif: (or /msg sif to play in private) 13:43:37 sif: : panic [char] A begin dup emit 0 until ; panic 13:43:39 herkamire: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 13:44:07 herkamire: ahha, oyc 13:45:59 herkamire: do u have any ideas on infinite loop detection? 13:46:29 herkamire: beside killing after a mere timeout? 13:46:53 your virtual machine could stop after executing a certain number of instructions 13:47:13 I plan to build that in at some point 13:47:28 hmmm, its a similar solution like the timeout 13:48:37 coz the # of executed words * c = execution time 13:48:59 i though about a smarter method 13:49:08 yes, but it could break out to the interpreter like abort" 13:49:14 what is really able to detect endless loops 13:50:14 don't think that's computable 13:50:18 (theoretically speaking) 13:50:22 probably we should find some criterias of inifinite loops 13:50:36 like periodical returnstack content 13:51:01 or limited dictionary usage 13:51:16 there is no way to tell if something is doing something that takes a long time or looping infinitely 13:51:31 even when people like Feynman blather on about turring machines 13:51:34 eg, we can imagine a "thermal view" of the dictionary 13:51:42 do you really want to be spending that much energy checking for infite loops? 13:52:01 just have the thing stop after a while 13:52:03 and every access to the dict could rise the temperature of its environment 13:52:28 tathi: not too much, but its fun 13:52:44 tathi: its worth to think a lil bit about them 13:53:46 we can hack looping constructs eg 13:54:17 so they can build some statistics during their execution 13:55:21 and ceratin states of those statistics can b considered probable endless loops 13:56:54 no 13:57:10 very silly 13:57:47 if you have the code in place to check those statistics after a reasonable amount of time, you might as well kill it at that reasonable amount of time. 13:58:18 well... 13:58:44 it would be good in most cercumstances 13:59:09 in this bot for example, I don't care if its looping infinitely or doing something long-term. I want it dead after one seccond. 13:59:28 uhumm... 13:59:37 ithink i agree 14:00:00 in the bot, each line should be executed in its own thread 14:00:09 MrGone: it is 14:00:14 then the bot can run with its own sockets 14:00:35 MrGone: not forth threads though. 14:00:45 herkamire: ? 14:00:47 right 14:00:52 MrGone: ? 14:01:02 but will it process two commands simultaneously? 14:01:17 MrGone: I don't want the bot to do two things at once ever. I have to make sure it doesn't flood it's self 14:01:21 if it will 14:01:35 deadlock detection comes 2 mind... 14:01:40 that's true 14:02:16 forth bots are tricky animals 14:02:27 herkamire: have u already shared ur 4th w us? 14:02:28 hard to get "right" 14:03:35 to get persistance in here (dictionary and maybe stack preserved between messages) I'd have to build the timeout mechanism into the forth. 14:03:57 onetom: yes :) http://qualdan.com/jason/sif.tar.bz2 14:05:35 herkamire: hmmm, a nice awk script.... :) 14:06:11 herkamire: hey, true is -1 usually 14:06:27 herkamire: does sif handles signed numbers? 14:07:09 no 14:08:02 the bot (which requires sif) is at http://qualdan.com/jason/sif-bot.tar.bz2 14:11:04 all you'd have to is change the typdef for cell to be signed, and hack >number 14:11:23 oh, and . 14:15:16 and true ;) 14:15:26 true works fine 14:16:39 herkamire: sure, but it nonstandard 14:16:46 it should b -1 14:16:55 the standard does not say that true has to be -1 14:17:20 defacto stnd? :) 14:18:02 I didn't make a standard forth :) 14:18:15 how far from standard is it? 14:18:29 search for NONSTANDARD in words.c and you'll find the ones that make a difference 14:19:07 true is defined in ANS as "all bits set" 14:19:49 I changed word, find and >number 14:20:05 other than that, my incompatibilities with ANS are just things that are missing (I think) 14:20:27 ANS does not require all words 14:20:39 MrGone: oh... my mistake 14:21:01 it only require that if you use certain names, they behave in expected manners 14:21:16 how about "else" 14:21:36 oh, and it's case sensative, and all the builtins are lowercase 14:21:53 yes, that is tricky ... 14:22:12 I don't know that it's tricky, I just haven't bothered implementing it yet. 14:22:12 ANS goes out of its way not to say anything about case sensivity 14:22:20 really? 14:22:28 are you sure? 14:22:40 however, it says something like "all ans words are to be found if entered in upper case" 14:22:45 yeah 14:23:06 so case sensitive and lower-case standard words is not ok 14:23:16 or not "standard" or whatever 14:23:31 which implies that the ANS words must be upper case in the dictionary, but that you're particular forth might be able to find them if they are lower case in the input stream 14:24:07 I think that's right, but I would have to reread to be certain 14:24:45 I think you're right, that's what I remember 14:25:33 here it is ... 14:25:44 A string matches a definition name if each character in the string matches the corresponding character in the 14:25:44 string used as the definition name when the definition was created. The case sensitivity (whether or not the 14:25:44 upper-case letters match the lower-case letters) is implementation defined. A system may be either case 14:25:44 sensitive, treating upper- and lower-case letters as different and not matching, or case insensitive, ignoring 14:25:44 differences in case while searching. 14:26:03 . 14:26:11 The matching of upper- and lower-case letters with alphabetic characters in character set extensions such as 14:26:11 accented international characters is implementation defined. 14:26:13 . 14:26:20 A system shall be capable of finding the definition names defined by this Standard when they are spelled 14:26:20 with upper-case letters. 14:26:34 [end] 14:26:47 sif: : tell-a-lie ." MrGone is not here" ; tell-a-lie 14:26:48 rob_ert: MrGone is not here 14:27:44 to quote Alanis Morisette in "hand in my pocket" ... "I'm here but I'm *REALLY* gone" 14:32:17 * rob_ert didn't understand it, but it sounds weird enough to be good. 14:33:18 I think it follows the line "I'm high but I'm grounded" 14:34:10 I guessed so... I'm here. In both possible ways. Hooray for me. 14:46:10 --- join: I440r (~mark4@1Cust172.tnt2.bloomington.in.da.uu.net) joined #forth 14:46:38 sif: ." Mark is here! Aren't we happy now?" 14:46:39 rob_ert: 14:46:43 Bah 14:46:47 Forgot it's a compile-time word 14:46:52 Anyway, hi I440r 14:46:56 :) 14:47:10 lol 14:47:25 sif: : hello ." bleh!" ; 14:47:26 I440r: 14:47:31 sif: hello 14:47:32 I440r: Word not found: hello 14:47:36 bleh 14:47:43 i forgot it disappears right away heh 14:48:10 sif: .( Love me!) 14:48:12 rob_ert: Love me! 14:48:18 * rob_ert pets sif 14:49:38 it's not That sort of bot ;) 14:50:04 Oh :( 14:50:08 herkamire: Are you? :) 14:54:58 Hey, herkamire: Remember that conversation we had about programming sockets and how it was difficult to get into? Forget who we were talking to... 14:54:58 Unveiling... dougnet! www.hcsw.org/downloads/dougnet-0.91.tgz 14:56:05 Alternative API for TCP/IP. 14:56:05 I've still got to work on it a bit, but it's pretty solid. 14:58:02 Frac: I think it was futhin 14:58:09 Right. 14:58:16 It was, come to think of it. 15:01:20 bye 15:04:29 --- quit: rob_ert ("(:") 15:04:33 --- quit: herkamire ("Client Exiting") 15:04:39 --- quit: tathi ("Client Exiting") 15:47:06 --- quit: Soap- (Read error: 104 (Connection reset by peer)) 15:47:07 --- quit: MrGone (Read error: 104 (Connection reset by peer)) 15:47:24 --- join: MrGone (~mrreach@209.181.43.190) joined #forth 15:48:50 --- join: Soap` (flop@203-96-105-60.dialup.xtra.co.nz) joined #forth 15:50:19 MrGone: may i ask a voice modem related question? 16:05:25 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 16:05:27 --- quit: Frac (carter.openprojects.net irc.openprojects.net) 16:05:28 --- quit: MrGone (carter.openprojects.net irc.openprojects.net) 16:05:30 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 16:06:26 --- join: Frac (tng@h24-77-171-228.ok.shawcable.net) joined #forth 16:06:56 --- join: ChanServ (ChanServ@services.) joined #forth 16:06:56 --- mode: carter.openprojects.net set +o ChanServ 16:07:01 --- join: MrGone (~mrreach@209.181.43.190) joined #forth 16:07:01 --- join: onetom (tom@adsl52030.vnet.hu) joined #forth 16:07:26 --- quit: MrGone (Read error: 104 (Connection reset by peer)) 16:10:54 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 16:10:55 --- join: onetom (tom@adsl52030.vnet.hu) joined #forth 16:16:02 --- quit: onetom (carter.openprojects.net irc.openprojects.net) 16:29:12 --- join: MrGone (~mrreach@209.181.43.190) joined #forth 16:29:12 --- join: onetom (tom@adsl52030.vnet.hu) joined #forth 16:31:53 --- nick: MrGone -> MrReach 16:32:02 onetom: go ahead about the modem 16:37:15 remember my voice modem problem? 16:37:42 ive found a connexant modem command reference 16:37:59 and it talks about a +FCLASS AT command 16:38:26 u can switch the modem state via it 16:38:41 ok 16:38:43 2 1 of data fax voice modes 16:38:53 that is correct 16:39:03 so u know about it 16:39:13 what is the constant for voice mode? 16:39:17 yes, although it has been some months since I worked with it 16:39:31 I _think_ it's 7 16:39:42 what does the manual say? 16:39:46 should i switch 2 voice mode if i wanna detect ringback? 16:39:57 the manual says 8 :) 16:40:02 ok 16:40:12 I don't know about your particular modem 16:40:15 but i can query the possible values w 16:40:20 AT+FCLASS=? 16:40:28 mine never had the ringback capability, I don't think 16:40:41 :( 16:40:44 I know that some modems do, though 16:41:04 AT+FCLASS=? 16:41:04 0,1,1.0 16:41:04 OK 16:41:17 my modem answers this 16:41:23 if you search on "ringing" ... "ringback" ... "ring" in that order, yoiu should find the related section 16:41:31 does it really mean its not a voice modem? 16:42:03 ive find only 2 variables talkin about ringback 16:42:13 but nothin else 16:42:13 I don't know, I'd have to go hunt up the manual again, double check the chip IDs numbers 16:42:22 nothin about how 2 use them :( 16:42:48 but what do u think is there any other way 16:42:51 what are the two variables? 16:42:58 2 switch the modem into voice mode? 16:43:10 one is how many times to let ring before picking up 16:43:15 1 is a delay 16:43:21 and the other is a switch 16:43:37 not, not that 1 16:43:45 thats S0 or what 16:43:49 thats more common 16:43:53 ok, does you manual have a seperate section that details all possible result answers??? 16:44:08 yes 16:44:22 is there anything like "ringback" or "ringing" in it? 16:44:27 most results r CONNECT 16:44:43 no ring{ing,back} 16:45:00 but thats not the doc of my modem 16:45:08 heh, what is it, then? 16:45:30 its the doc of a connexant modem 16:45:44 mine is an external noname modem 16:45:50 if you're going to be doing heavy-duty duty modem programming, you'll want to get the docs for your specific chipset 16:46:10 ATI4 reports the chipset, I believe 16:46:24 FM-56SA FOR HUNGARY 11/10/98 16:46:43 what about ATI3 16:46:52 V2.200-K56_DLS 16:47:01 there it is 16:47:02 ATI6 16:47:02 RCV56DPF L8570A R 16:47:02 ev 47.29/47.29 16:47:10 what? where? 16:47:26 RCV is a rockwell chipset 16:48:07 search for "RCV56" in the manual, it should tell you exactly what its capabilities are 16:48:26 or maybe that you've got the wrong manual 16:48:59 in any case, I can't remember off the top of my head how to do the ringback stuff, if I ever knew in the first place 16:49:03 k, let me solve these 16:49:17 it's a sizeable manual, not the sort of thing one memorises 16:50:28 k, thx 4 pushing me a bit toward the solution :) 16:50:48 i will look 4 rcv manuals 16:51:23 got the wrong manual? 16:51:50 sure 16:52:39 rcv requires AT#CLS=8 4 voice mode 16:55:30 --- quit: I440r (Read error: 104 (Connection reset by peer)) 17:10:27 --- quit: MrReach () 17:12:50 --- join: futhin (thin@h24-64-174-2.cg.shawcable.net) joined #forth 17:12:54 hi! 17:13:01 howdy 17:13:10 what's happening? :) 17:13:19 nothin! :) 17:13:36 wow, you are really excited!! :D 17:13:55 yesyes!! reallyreally!!! :) 17:14:03 coz nothin happens 17:14:09 heheh :) 17:14:22 no cool reasons for being excited? :) 17:14:26 so somethin must happen soon ;) 17:14:36 yay! 17:14:39 something must happen! 17:14:48 BOOOING 17:14:51 --- join: MrReach (~mrreach@209.181.43.190) joined #forth 17:14:59 * onetom has fallen of the chair 17:15:02 something has happened! :D 17:15:04 i told u ;) 17:15:09 yes u did! :D 17:15:17 hihi mrreach! ;) 17:15:20 hihi 17:15:29 so, seriously: im playin w me modem 17:15:41 I'm not sure why you're having the libs problem when interpreting a file, futhin 17:15:47 while fallen out of the chair? :) 17:15:53 mrreach: yeah, it seems weird 17:16:03 he was probably bent over trying to look at the back of it 17:16:14 mrreach: if i send all the stuff in the interpreter, it works fine. 65 myout A ok but if i do it in a file, 65 myout ok 17:16:28 futhin: I'd suggest checking to make sure the CR/LF at eol is what it needs to be 17:16:41 and b4 that, i cruised the sources of herks sif 17:16:45 barring that, try manually adding space at the end of the lib name 17:16:48 hm, i did it in pico.. 17:16:58 & ive managed 2 understand his concepts 17:18:34 you are playing with your modem in forth or something else? 17:18:54 what are herkamire's concepts with sif? 17:19:38 hey, futhin! it works on my system 17:19:48 what works? 17:19:50 where did u tried it? 17:19:56 that lib stuff 17:20:08 u can try it 17:20:21 its under www/forth/so-from-4th.fs 17:20:27 needs lib.fs 17:20:27 library glibc: /lib/libc.so.6 2 (int) glibc: myout putchar 17:20:27 65 myout 17:20:33 that's what i put in a textfile 17:20:40 2 (int) ??? 17:20:51 its 1 (int) in my case 17:21:11 hehe 17:21:17 that must b the problem 17:21:32 yes, that did the trick 17:21:33 yep, you'd get stack underflow 17:21:49 RTFM, my friend @:^> 17:21:56 :) 17:21:59 need the URL for the glibc manual? 17:22:05 sure 17:22:09 ok, just a sec 17:22:10 but he did get underflow... thats strange. 17:22:15 the glibc manual has the socket stuff ? 17:22:21 yes it does 17:22:23 sure 17:22:27 but I warn you it's not simple 17:22:34 apt-get install glibc-doc :P 17:22:38 onetom: no, myout just didn't work.. didn't say anything about stack underflow.. 17:22:46 debian is evil!! ;) 17:22:55 MrReach: hey, its simple, just just ... long 17:23:05 futhin: debian is linux!! ;) 17:23:17 futhin: mine either 17:23:19 http://www.gnu.org/manual/glibc-2.2.3/html_chapter/libc_toc.html 17:23:26 i previously used slackware 17:23:39 futhin: thats also good 17:23:43 first installed it at 15 and played with it for 2 years 17:23:44 tho i dont know it much 17:23:48 or 3 years 17:24:05 15 what? 17:24:08 yrs old? 17:24:13 slackware is very simple.. not too much clutter like *shudder* mandrake 17:24:20 yeah 15 yrs old 17:24:39 or 16 yrs 17:24:58 "i was only seventeen, when i fell in love w a gypsy queen"... 17:25:05 oh, thats another story ;) 17:25:18 lies, same story :) 17:27:14 but do u know where it that quote from? 17:27:33 a song or poem .. 17:27:35 probably a song, but I haven't the faintest which 17:27:36 i've heard it before 17:27:51 uriah heep? 17:27:55 rings any bell? 17:28:00 nope 17:28:10 a woman? :P 17:28:32 MrReach: but u r not so young... how come u dont know them? 17:28:38 futhin: haa haa :) 17:28:47 i'm reading up on the brain potential of kids in their first 6 years of life.. check out the picture at http://www.iahp.org/well/index.html 17:29:08 never heard of her, frankly 17:29:16 :) 17:29:37 hey, its not a *her* uriah heep is a band 17:29:42 oh 17:29:52 still haven't heard of them 17:29:59 what did they sing ? 17:30:10 anything that made top 10 or top 40? 17:30:52 oh sure, the "i was only seventeen, when i fell in love w a gypsy queen" did ;P 17:31:08 futhin: that link is funny :))) 17:32:18 http://allmusic.com/ 17:32:52 they play progressive heavy metal 17:33:00 az amg states 17:33:11 onetom: kids have tremendous potential.. the brain is physically growing at any stimulation for their first 6 years. you can teach them to read by 2 years of age, math, multiple languages, etc.. 17:33:13 s/az/as/ 17:33:36 the more stimulation, the better :) 17:33:59 they have an almost unlimited capacity.. we only use a small percentage of the brain's potential.. 17:34:11 yeah, iknew that 17:36:15 as far as i'm concerned, our peak of intelligence is at around 13, after that, it's all downhill :) 17:36:16 MrReach: woman in black, easy living, look at yourself, july morning 17:36:31 probably these r their most famous songs 17:37:04 ihave them ... if .. anybody interested in it... 17:37:49 curious about some ... f.ckin great music from the past hm? 17:38:32 --- join: goshawk` (goshawk@goshawk.dialup.access.net) joined #forth 17:38:44 hihi goshawk :) 17:38:51 hey, how are you? 17:39:07 pretty good 17:39:19 good, I am glad to hear it =) 17:41:41 so goshawk`, you been coding any forth? :) 17:41:57 the last couple weeks? no, not much 17:42:39 i coded some forth code that outputs something similar to the dump that debug.com (the dos program) does 17:43:02 eventually i hope to make an interactive assembler or some such.. 17:43:12 cool 17:43:32 I am curious, I take it your Forth doesn't include such a dump utility or something like it? 17:44:27 oh i wouldn't know if it had one :P 17:44:41 it was just some code to increase my forth skill 17:45:06 and also, the dump output looks almost identical to the debug.com :) 17:45:09 oh, no problem...a couple of the "plumper" Forths I have tried have something like it 17:45:10 my dump 17:45:12 so I was wondering 17:45:15 futhin: thats very important! improving ur skills, imean 17:45:27 onetom: yep, i really need to code forth regularly :) 17:45:33 g'day onetom 17:45:42 futhin: tho, -eg- gforth has DUMP 17:45:48 hello, goshawk` 17:46:14 yeah...PMF has a nice one, too 17:46:17 how are you, onetom? 17:46:21 my dump produces this output: 17:46:23 dump 17:46:23 3E 74 68 69 73 20 69 73-20 61 20 73 74 72 69 6E >this.is.a.strin 17:46:23 67 2C 20 77 68 61 74 20-64 6F 20 79 6F 75 20 74 g,.what.do.you.t 17:46:23 68 69 6E 6B 20 6F 66 20-74 68 69 73 20 63 6F 6F hink.of.this.coo 17:46:23 6C 20 65 6C 69 74 65 20-73 74 72 69 6E 67 3F 20 l.elite.string?. 17:46:24 30 18 1C B 83 64 6F 74-E8 A3 89 E8 FC 00 00 00 0....dot........ 17:46:33 hex & ascii 17:46:39 4th ' see 10 dump 17:46:42 4th: ' see 10 dump 17:46:56 forth isn't on :P 17:46:56 hhmmmm that bot is not here... 17:47:02 how come? 17:47:03 he's in #forthos 17:47:16 oooh 17:47:20 hmmm 17:47:20 so it's similar looking 17:47:29 is that mine? 17:47:35 [02:47] onetom: 4012B428: E8 13 EE F1 C7 00 00 00 - 00 D1 .......... 17:47:51 mine should b named gforth... 17:48:05 that is yours.. 17:48:09 u named the bot "forth" 17:48:11 * onetom cluttered up his robots :/ 17:48:35 but ive changed it 2 gforth after herks bot show up 17:49:07 it was always gforth, after you changed it from shell... 17:49:09 afaik 17:49:15 it was gforth before herks bot showed up i think 17:49:25 goshawk`: dont u know bot programming by chance? especially eggdrop? 17:49:48 no, not really =) 17:50:13 futhin: what do u think, futin, how should we name our 4th bots? 17:50:15 I have configured a few eggdrops for some friends, but never extensively programmed any of them 17:50:34 and how should we ask them 2 responD? 17:50:36 dot_ess 17:50:47 =) 17:51:20 so long "prompts"/prefixes like forth: or sif: r not too lucky 1s... ithink @ least 17:51:21 goshawk`: question for you ... 17:51:38 goshawk`: thats not a problem 17:51:53 onetom: no idea.. maybe name your bot forthbot & let it take input as: " for example, " 1 2 + . 17:52:01 would you be willing to pay $10/mo for a commercial bot that provided bazillions of services? (all of which can be turned on and off) 17:52:11 hey MrR 17:52:16 is that a serious question? 17:52:18 greets, goshawk` 17:52:23 yes, it is 17:52:39 I realize that bots are prob not a big deal for you 17:52:51 but they're still a big pain to keep maintained 17:53:02 depends on how many channels I was servicing, how many people I was servicing, and if I trusted the provider who was offering this service 17:53:11 oh, "big deal" has nothing to do with it 17:53:20 (don't confuse my question with some kind of snobbery) 17:53:23 realy? 17:53:33 what would be at issue for you? 17:53:43 --- join: davidw (~davidw@ppp-160-7.25-151.libero.it) joined #forth 17:53:46 want a list of possible services? 17:54:03 greets, davidw 17:54:07 oh, do you mean if I, personally, would pay for such a bot? 17:54:16 that's what I meant, yes 17:54:34 well, I would normally have no objections if I wasn't having money problems of own 17:55:24 :P 17:55:42 no prob 17:55:48 it's kind of a poll thing 17:55:56 a service I'm thinking of providing 17:56:23 --- join: gforth (guest@adsl52030.vnet.hu) joined #forth 17:56:25 I am surprised you don't try to collect a dollar from each channel member a month =) 17:56:27 unfortunately, I found a private group offering them for free 17:56:33 haha! 17:56:40 define "channel member" 17:57:19 a regular, or anyone else who isn't entirely strapped for cash 17:57:49 if you are going to charge ppl to get on a channel, that channel should have more features than an irc channel :) 17:57:59 there are probs with who is the "authority" in such circumstances 17:58:04 I agree...I meant it half-jokingly =) 17:58:18 nono, I'm charging to provide the services of a good bot 17:58:56 what they do with it is up to the "owner" 17:59:10 they can do anything they wish in "their" channel 17:59:17 but not in any other channel 17:59:57 I'm just wondering if it's worth $10/mo for anybody 18:00:22 if I can occupy 1% of all channels then I can make decent money 18:00:56 that's true 18:01:24 but you are putting a lot of faith and trust in the service provider 18:01:40 but I'll want to write the bot(s) from scratch, proprietary, and I'm not going to spend all that time unless I know that people want it 18:01:52 service providers 18:02:12 mrreach: maybe you should go from channel to channel and ask.. try channels like #teens ;) 18:02:18 15-20 bots, running on 5-10 machines, each connected to all networks 18:03:06 the cost isn't the time you are putting in the software, but the network connections 18:03:10 in = into 18:03:21 and perhaps the machines, if you are hosting them on your own 18:03:40 no, by the time I need more than 3-4 connections, I'll have the revenue to afford it 18:03:44 which especially in the US, is what is going to ultimately cost you if a dialup isn't your idea of "fast" 18:03:52 (DSL isn't reliable...) 18:03:59 during the trial period, I can borrow that many shell accounts 18:04:43 dialup is unacceptable ... 20-40kbs durig heavy load 18:04:56 and WAY easy to DoS kill 18:06:37 any number of providers will sell shells specifically for IRC bots for $10/mo 18:07:13 not to mention the bandwidth neccessary to serve up the web-pages holding the channel logs, for those channels that wish to log 18:07:39 futhin: yes, I will do exactly that 18:08:42 yeah, I know dialup isn't acceptable...I was just saying, they hang you for bandwidth 18:09:26 countries like Korea or Sweden offer higher speed connections much more inexpensively 18:09:41 (companies practically give them away to their employees in Korea) 18:11:08 because starcraft is important to them ;) 18:11:22 haha 18:11:38 ok, dinnertime 18:11:41 --- nick: MrReach -> MrGone 18:11:47 sure thing, sorry I couldn't help out with that 18:12:16 i'm grabbing food too 18:12:22 then gotta code 18:12:29 no problem 18:12:37 I'll be out as well, I guess =) 18:13:19 --- quit: goshawk` ("ShadowIRC 1.1 PPC") 18:16:24 oops, ive missed u all :) 18:16:46 i still dont know why does my bot responds so slow 18:17:57 (dammit, i can get out of the habit using -s-es twice... does ... s >-/) 18:18:45 (and also leaving the negation away :))) so imeant: i cant get .... ) 18:28:56 your writing style is very cute and very refreshing, i wouldn't worry too much about it :) 18:30:16 of course at first i'm like "what the heck is with your typing" but now i'm like "cool" :P 18:30:26 you have a finer grasp of some parts of english than most ppl do 18:31:48 off to coding i go 18:33:54 w my gypsy queen 18:36:00 --- quit: davidw (Read error: 113 (No route to host)) 18:46:22 :> thank u, futhin 18:47:06 :) 18:47:13 it's very refreshing, that's the main thing 18:47:18 :P 18:47:34 :)) k, okay 18:55:55 --- join: I440r (~mark4@1Cust211.tnt2.bloomington.in.da.uu.net) joined #forth 19:03:31 good morning i440r 19:06:39 --- quit: futhin ("irc is too distracting, even when nobody is talking") 19:07:01 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 19:09:07 --- join: tathi (~tathi@ip68-9-58-81.ri.ri.cox.net) joined #forth 19:10:06 --- join: Soap` (flop@210-86-40-73.dialup.xtra.co.nz) joined #forth 19:13:28 --- quit: tathi (Client Quit) 20:16:49 morning ? 20:16:56 its only 10:20 here 20:16:57 lol 21:26:01 --- quit: I440r () 21:43:10 --- quit: sif (Read error: 110 (Connection timed out)) 21:44:20 --- join: goshawk` (goshawk@goshawk.dialup.access.net) joined #forth 21:56:39 --- quit: goshawk` ("brb") 21:59:55 --- join: goshawk` (goshawk@goshawk.dialup.access.net) joined #forth 22:04:05 --- quit: goshawk` (Client Quit) 23:59:59 --- log: ended forth/02.04.24