00:00:00 --- log: started forth/06.05.08 00:47:27 --- quit: neceve (Read error: 110 (Connection timed out)) 00:58:45 --- join: neceve (n=Clau@unaffiliated/neceve) joined #forth 02:34:42 --- join: amca (n=plump@as-bri-2-34.ozonline.com.au) joined #forth 03:44:21 --- join: nighty_ (n=nighty@maki.rural-networks.com) joined #forth 04:09:02 --- quit: amca (Read error: 113 (No route to host)) 04:30:10 --- join: Cheery (i=Henri@a81-197-22-81.elisa-laajakaista.fi) joined #forth 05:12:53 --- quit: neceve (Read error: 110 (Connection timed out)) 05:30:34 --- join: PoppaVic (n=pete@0-1pool67-26.nas22.chicago4.il.us.da.qwest.net) joined #forth 05:41:08 hello :) 05:41:34 what do people call a 'turnkey' app in forth ? 05:41:41 something like a standalone app ? 05:41:45 a turnkey app 05:42:08 PoppaVic: ? 05:42:19 THat's what it is called 05:42:43 PoppaVic: no that is the question I asked 05:42:58 Typically, it's also an entire forth-system, but reset and saved to run the app on startup. 05:43:16 I see 05:43:41 I think I see 05:43:42 :) 05:44:02 There are supposed to be a few freeware systems that actually strip the image to basics, too - but I think that's more typical of commercial products. 05:44:28 I am talking about some retroforth 05:44:30 thing 05:44:31 I read 05:45:03 PoppaVic: do you use retroforth ? 05:45:14 no.. I use macosx - no go. 05:45:25 PoppaVic: what do you use then ? 05:45:43 I've Gforth, Ficl 4+, and pfe around.. 05:45:57 PoppaVic: Ficl 4+ I don't know this 05:45:58 I use C regular, and tinker in the first two 05:46:20 PoppaVic: oh so you are a C programmer 05:46:22 PoppaVic: ? 05:46:28 Forth Inspired Command Language - Ficl is C source that you can embed that runs like a forth variant 05:46:42 yup, C for decades. 05:47:02 PoppaVic: forth no good ? 05:47:40 I generally tinker with libs and such, and forth doesn't do .o and .a/.so/.dynlib 05:48:17 PoppaVic: oh 05:48:30 PoppaVic: would there be a way to make it do this ? 05:48:34 I used FIG-Forth long, long ago - but I keep her around for diddling and tinkering interactively. 05:48:46 make what do which? 05:49:34 PoppaVic: make forth produce static lib and dynamic lib ? 05:49:56 As far as I know, none of the latest crop of variants do either, 05:50:53 FICL would embed in C, so it'd be useful in that way.. I can't recall if pfe or Gforth can use a dll. 05:51:18 Gforth I think can do this 05:51:41 I think I read about it while searching about the different forth 05:51:53 I think you are correct - I believe what I mean is.. None of them can write an object or lib. 05:52:26 maybe also retroforth can do this ? 05:52:51 using external dll ? 05:53:02 I have to ask crc about this 05:53:52 I've bemoaned the fact I can't find a libobjbuild module for a long while. 05:58:57 :) 05:59:30 PoppaVic: maybe it is difficult to do ? 05:59:33 ..mostly because I have zero interest in learning to generate (manually) .o or shared-libs. 05:59:56 nighty_: It looks tedious, but not really difficult. 06:00:12 PoppaVic: well these are specific to each architecture 06:00:16 PoppaVic: I believe 06:00:19 yeppers 06:00:33 ..and a lot of info that we generally are not privvy to 06:01:01 PoppaVic: uhmm on opensource , it is easy to find this information 06:01:10 PoppaVic: read the source :) 06:01:35 PoppaVic: however GCC is quite some piece of software 06:01:36 umm... No. Not unless you fight thru the assembler sources, and then the compiler sources, 06:01:44 PoppaVic: at least it is to me :) 06:02:00 My life is too short to puzzle out the source and voodoo in either. 06:02:07 :) 06:11:24 --- join: timlarson_ (n=timlarso@65.116.199.19) joined #forth 06:54:38 hi 06:56:36 howdy - what I miss? 07:16:55 hi nighty_, timlarson_ :) 07:17:05 hi 07:17:31 another fine morning in paradise :) 07:17:55 Sorta' 07:18:02 what's the coolest thing you've ever seen, done or made in forth? 07:18:31 I've never seen an APP that made me wet myself. 07:18:41 interfaces? Yeah. 07:18:45 tt.fs :-) 07:19:08 truetype? 07:20:53 tetris 07:21:05 Maybe PostSCript ;-> 07:22:30 :) 07:22:41 for isforth? 07:22:56 tt.fs is ANS 07:23:03 no, I meant "postscript" - the language and tool ;-) 07:23:16 cool 07:25:14 Forth lends itself to merely tools, unfortunately. 07:25:52 ..a bastard might say "scripts" 07:39:02 JasonWoof: morning ? 07:39:21 JasonWoof: where are you located ? :) 07:39:40 It ain't even 1100 07:40:42 PoppaVic: you don't one could make a Web GUI with Forth ? 07:40:51 PoppaVic: too much of a pain to do it ? 07:41:34 I don't waste much time with the web, and I almost never write a GUI. The former is a mess, the latter is broken. 07:41:47 PoppaVic: first we'd have to have a descent http server :) 07:41:56 otoh, I live on the desktop and use apps, but live in termwin 07:42:04 PoppaVic: well I agree, but hey customer require it :) 07:42:44 it has nothing to do with "a decent http server" - the whole paradigm is broken because folks forgot the intent and limits. 07:43:13 PoppaVic: well I personnaly do not care for the web in its present state either 07:43:17 customers are morons, this is why there are sales-staff. 07:43:27 PoppaVic: right :) 07:43:52 PoppaVic: but It goes Customers --> Sales --> Engineering 07:44:10 PoppaVic: Engineering then has to do it :( 07:44:16 There is nothing in the universe that sez you can't reimplement http, and add a whole layer beyond it that gets past the mess. 07:44:32 en-gi-neers are not on my guest-list 07:44:43 PoppaVic: what do you mean ? 07:44:59 PoppaVic: not on your guest list ? 07:45:09 engineers are as fubar as customers, but in a different direction 07:45:18 PoppaVic: sorry I am not a native speaker , so I don't get your drifts 07:45:36 so'k - I'm old, mean annd dealt with the lot. 07:46:03 PoppaVic: so what are you ? 07:46:07 PoppaVic: you are not a customer 07:46:15 not an engineer 07:46:20 not a sales persons 07:46:28 that would make you ? 07:46:46 I'm just an oldfart that has been around for decades - my taste in code is like my tastes in music or art or literature 07:46:52 nighty_: I'm in western mass 07:47:08 JasonWoof: ok :) 07:47:35 I've got code to do web scripting in forth 07:47:45 JasonWoof: really ? 07:47:47 I made a shopping cart demo with it 07:47:50 Most folks prolly do 07:48:01 and an irc log viewer 07:48:07 cool :) 07:48:16 Forth is no more irksome that using perl or sh or whatever 07:48:25 and a dead-simple payment calculator on my business site 07:48:35 :) 07:48:44 JasonWoof: what is your business site ? 07:48:47 JasonWoof: url ? 07:48:51 jasonwoof.com 07:48:56 lol :) 07:49:04 I could have guessed :) 07:49:06 jasonwoof.com/pay.fs?amount=100 07:49:17 :) 07:49:31 jasonwoof.com/filb.fs is the log viewer 07:50:07 here's the info on the source code: http://jasonwoof.org/gforthcgi 07:50:49 I'm going to improve the log viewer so it combines multiple days together, because that channel often has several days in a row with no content 07:51:39 what http server you are using ? 07:51:43 I did not check 07:52:20 apache 07:52:29 but it's just hooked in as a standard CGI script 07:52:32 should work with any server 07:52:41 oddly, there is nothing stopping forth from acting AS the "server" ;-) 07:53:14 JasonWoof: does it manage sessions ? 07:53:35 JasonWoof: I mean the gforthcgi 07:53:56 PoppaVic: I know I saw some code sample 07:54:23 had no idea they had a CGI - but that was NOT what I meant 07:54:24 PoppaVic: however , there are differences between a http server , and a good http server 07:54:35 * PoppaVic sighs 07:54:42 PoppaVic: even more so , between a http server and a secure http server :) 07:55:35 PoppaVic: I saw some code sample for a http server in gforth 07:56:23 PoppaVic: some basic one 07:59:41 JasonWoof: why don't you write a bot in forth instead of using the one in PERL ? 08:04:01 nighty_: there is some code for doing sessions 08:04:04 no cookies though 08:04:31 I probably didn't write the bot in forth because I didn't know how 08:04:48 or I didn't know about the buffering stuff 08:04:58 I need to be able to read/write fd 6 and 7 08:06:10 and be able to try reading for a set period of time (don't think gforth can do this) 08:06:59 the shopping cart demo I made uses the session handling stuff 08:40:10 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 09:15:59 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-096-202.pools.arcor-ip.net) joined #forth 09:21:42 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 09:22:05 --- nick: snoopy_1711 -> Snoopy42 09:29:33 --- quit: PoppaVic ("Pulls the pin...") 09:35:39 --- join: peejey (n=peejey@85.17.2.131) joined #forth 09:35:44 --- nick: peejey -> micropal 09:52:05 --- nick: Raystm2 -> nanstm 10:28:31 --- join: oxygene (n=oxygene@khepri.openbios.org) joined #forth 10:33:39 --- join: Ray_work (n=Raystm2@adsl-68-89-124-38.dsl.rcsntx.swbell.net) joined #forth 10:33:39 --- quit: Ray-work (Read error: 104 (Connection reset by peer)) 10:34:26 --- join: segher_ (n=segher@dslb-084-056-190-121.pools.arcor-ip.net) joined #forth 10:42:28 JasonWoof: I see 10:42:50 JasonWoof: retroforth can not do this ? 10:43:26 JasonWoof: what is fd 6 and 7 ? 10:43:43 JasonWoof: I know fd is filedescriptor 10:43:58 --- quit: segher (Read error: 110 (Connection timed out)) 10:47:45 JasonWoof: could make a tarball for me ? 10:48:02 JasonWoof: I don't know how to use svn 10:48:46 JasonWoof: Also I think there should be a way to make automatic package retrieval using forth 10:48:56 JasonWoof: a la PERL or Ruby 10:49:15 JasonWoof: that would make Forth a lot more attractive for newcomers 10:49:21 JasonWoof: like me :) 10:49:43 JasonWoof: when I understand more about forth I think I'll make such a package 10:50:03 JasonWoof: hopefully other will make use of it 10:50:09 JasonWoof: at that time :) 10:50:39 for now I need a tutor :) to teach me basic Forth :) 10:50:51 to get on the fast track 11:20:58 nighty_: I take it you're new to Forth? 11:29:05 tathi: yes 11:29:13 tathi: I am a n00b 11:29:21 :) 11:35:37 what were you asking about retroforth there? 11:36:55 tathi: I should not be asking about retroforth here ? 11:37:28 it's fine 11:37:52 but you said "retroforth can not do this ?" and I wondered what you were asking about 11:38:12 JasonWoof nighty_: there is some code for doing sessions 11:38:13 JasonWoof no cookies though 11:38:13 JasonWoof I probably didn't write the bot in forth because I didn't know how 11:38:13 JasonWoof or d what I asked ? 11:40:06 yeah 11:40:13 I need to do sessions with a forth cgi 11:40:38 although right now I know nothing about FORTH :) 11:40:43 or very little 11:41:08 fd 6 and 7 are used to pass data to/from tcpserver IIRC 11:42:46 Jason's code might be adaptable for your purposes, though it's not documented well 11:45:41 http://qualdan.com/forth/gforthcgi.tar.gz 11:45:44 there's a tarball 11:56:18 thanks :) 11:56:49 what about the period of time thing 11:58:25 no idea what that's about 12:00:04 maybe he wanted to be able to time out if something went screwy with the connection? 12:16:58 tathi: no 12:17:13 tathi I think he just wants to timeout cookies 12:17:28 tathi: like with any session system (web) 12:18:10 tathi: you make a cookie and when someone accesses the url you request the cookie of the client and compare it 12:18:28 tathi: with the cookie and the cookie lifelimit 12:19:01 tathi: if there are not timestamp and time and date functions in forth 12:19:09 tathi: you have a problem :) 12:31:49 I know how cookies work 12:31:56 I thought he was talking about the bot there 12:37:03 --- join: Al2O3 (n=Al2O3@pool-71-240-167-202.dllstx.fios.verizon.net) joined #forth 12:45:59 --- quit: Cheery ("Leaving") 12:52:15 --- quit: tathi ("laters") 12:53:58 tathi no he was not , he was at the beginning then switched to answer my second question:) 12:54:04 oops 12:56:27 --- quit: neceve ("Bye people, I'm leaving") 12:58:34 --- join: madwork_ (n=foo@204.138.110.11) joined #forth 12:59:23 --- quit: madwork (Read error: 110 (Connection timed out)) 13:00:14 the time stuff and fd business I was talking about has nothing to do with gforchcgi 13:00:19 those are requirements for writing an IRC bot 13:01:06 you need the timing business because sometimes the irc server will drop your connection and never tell you (this tcpserver sits and waits forever) 13:03:03 I've never done anything with cookies in any language 13:03:13 JasonWoof: ohh 13:03:20 JasonWoof: ok 13:03:34 JasonWoof: well for cookies you also need time functions :) 13:03:37 gforthcgi has functionaly to generate a session key, and store random data associated with it 13:03:51 and it makes it easy to incorperate that session key into links and forms 13:03:57 but it doesn't store it in a cookie 13:04:48 JasonWoof: I am talking over my head here anyway , as I don't know about forth (yet) 13:04:57 the reason I was blabbing on about timing and fd 6 and 7 is that you asked why I didn't code the bot in forth. The simple answer is that I don't have a forth with the capabilities required 13:05:15 JasonWoof: and you are using gforth ? 13:05:35 --- quit: Al2O3 ("Leaving") 13:05:57 I'm using gforth 13:06:06 sorry I missed all your questions above, I thought it was a paste 13:06:30 retroforth probably has good networking stuff. I'm sure you could write an irc bot with it 13:06:48 ok 13:06:55 I don't think gforth does networking at all 13:08:01 I don't think I've said anything forth-specific here 13:08:16 except that gforth isn't suitable for direct networking 13:08:42 it's fine for CGI though because the webserver handles the networking stuff 13:13:09 yes :) 13:13:27 except if you want to write your own http server :) 13:13:45 I think you can so some networking stuff in gforth 13:13:53 I saw some sample code 13:13:58 in the examples files 13:18:34 ok 13:19:26 gforth does have a ffi 13:19:46 so you could use that to do networking if there isn't any built in 13:20:01 do you want to write an http server? 13:25:27 I might have to 13:25:50 right now I need to assess the possibilities of forth 13:26:35 the capabilities (is more correct) 13:27:06 right now I am looking at retroforth 13:27:41 but I can't even figure out how to run a forth program using it :) 13:28:01 I feel really dum 13:28:06 maybe it is because I am :) 13:30:04 --- quit: timlarson_ ("Leaving") 13:30:38 rf file.rf 13:30:45 or maybe: rf < file.rf 13:32:40 JasonWoof: the 1st one does not work 13:32:50 JasonWoof: I'll try the second on e) 13:33:18 --- quit: madwork_ (Read error: 110 (Connection timed out)) 13:36:00 nighty_: if the seccond doesn't work either let me know what error messages you get 13:37:36 JasonWoof: the first one seems to work 13:37:43 JasonWoof: the second one does not 13:37:58 TOKEN0: Unable to find or convert the specified token to 13:37:58 a number. The token passed was: irc.f 13:37:58 13:38:21 I tried to use crc's irc.f file 13:38:34 modified some parameters only 13:39:11 I think it's because it might need the generic version of the retroforth 13:43:42 uhmm no 13:51:08 --- join: madwork (n=foo@derby.metrics.com) joined #forth 14:07:31 --- quit: nighty_ (Read error: 104 (Connection reset by peer)) 14:07:47 --- join: nighty_ (n=nighty@maki.rural-networks.com) joined #forth 14:11:41 the first time you said the first one didn't work... 14:11:58 I'm confused 14:12:40 oh! my laptop is x86, I should install rf 14:12:50 kinda busy atm though 14:18:18 JasonWoof: crc helped me 14:18:38 JasonWoof: it was rf-freebsd -f 14:18:46 JasonWoof: but it cores dump :) 14:28:09 heh 14:28:20 porting is tough 14:33:02 I think bsd networking is different than linux networking 15:16:26 yes it is better :) 16:21:09 --- join: crc (i=crc@pdpc/supporter/active/crc) joined #forth 16:21:09 --- mode: ChanServ set +o crc 16:41:19 --- quit: nighty_ ("Disappears in a puff of smoke") 17:20:25 --- nick: nanstm -> Raystm2 18:41:46 --- quit: uiuiuiu (Remote closed the connection) 18:41:47 --- join: uiuiuiu (i=ian@dslb-084-056-225-175.pools.arcor-ip.net) joined #forth 20:15:04 --- join: snowrichard (n=richard@adsl-69-155-177-154.dsl.lgvwtx.swbell.net) joined #forth 20:15:30 hi 20:34:01 --- quit: snowrichard ("Leaving") 20:39:03 --- quit: clog (^C) 20:39:03 --- log: stopped forth/06.05.08 20:39:25 --- log: started forth/06.05.08 20:39:25 --- join: clog (n=nef@bespin.org) joined #forth 20:39:25 --- topic: 'Welcome to #forth. We discuss the Forth programming language, simplicity, and a variety of technical subjects. The rules are simple: don't spam, don't troll, and please speak English.' 20:39:25 --- topic: set by Quartus on [Sat Jan 21 17:32:55 2006] 20:39:25 --- names: list (clog uiuiuiu @crc madwork segher_ Ray_work oxygene micropal Snoopy42 @JasonWoof madgarden Quartus arke Zymurgy Raystm2 Jim7J1AJH Hobart warpzero ohub ccfg) 21:51:53 --- join: Cheery (i=Henri@a81-197-22-81.elisa-laajakaista.fi) joined #forth 23:59:59 --- log: ended forth/06.05.08