00:00:00 --- log: started forth/02.10.31 01:39:52 --- join: LuckyPhil (~phowlett@CPE-203-45-161-27.qld.bigpond.net.au) joined #forth 01:54:30 --- part: LuckyPhil left #forth 05:10:17 --- quit: slpl (Read error: 110 (Connection timed out)) 05:42:00 --- quit: OrngeTide (card.freenode.net irc.freenode.net) 05:42:01 --- quit: Fractal (card.freenode.net irc.freenode.net) 05:49:31 --- join: OrngeTide (orange@65.19.141.250) joined #forth 05:49:31 --- join: Fractal (zoqe@h24-77-171-228.ok.shawcable.net) joined #forth 06:04:51 --- quit: ChanServ (card.freenode.net irc.freenode.net) 06:04:51 --- quit: Soap` (card.freenode.net irc.freenode.net) 06:04:54 --- quit: onetom (card.freenode.net irc.freenode.net) 06:04:54 --- quit: TreyB (card.freenode.net irc.freenode.net) 06:04:56 --- quit: Robert (card.freenode.net irc.freenode.net) 06:04:57 --- quit: Fractal (card.freenode.net irc.freenode.net) 06:04:58 --- quit: OrngeTide (card.freenode.net irc.freenode.net) 06:04:58 --- quit: ianill (card.freenode.net irc.freenode.net) 06:08:35 --- join: Fractal (hpcdxcs@h24-77-171-228.ok.shawcable.net) joined #forth 06:17:29 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 06:17:29 --- join: TreyB (~trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 06:17:29 --- join: Robert (~Robert@h236n2fls31o965.telia.com) joined #forth 06:17:29 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 06:20:32 --- quit: onetom (card.freenode.net irc.freenode.net) 06:20:32 --- quit: Soap` (card.freenode.net irc.freenode.net) 06:20:32 --- quit: TreyB (card.freenode.net irc.freenode.net) 06:20:32 --- quit: Robert (card.freenode.net irc.freenode.net) 06:20:41 --- join: ChanServ (ChanServ@services.) joined #forth 06:20:41 --- join: ianill (ian@inpuj.net) joined #forth 06:20:41 --- mode: card.freenode.net set +o ChanServ 06:21:08 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 06:21:08 --- join: TreyB (~trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 06:21:08 --- join: Robert (~Robert@h236n2fls31o965.telia.com) joined #forth 06:21:08 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 06:30:21 --- join: Herkamire (~jason@wsip68-15-54-54.ri.ri.cox.net) joined #forth 07:01:21 --- quit: TreyB (Read error: 104 (Connection reset by peer)) 07:11:23 --- join: tathi (~josh@wsip68-15-54-54.ri.ri.cox.net) joined #forth 07:15:41 --- join: XeF4 (xef4@lowfidelity.org) joined #forth 08:47:53 --- join: I440r (~mark4@sdn-ap-006tnnashP0189.dialsprint.net) joined #forth 09:24:35 --- quit: XeF4 ("pois") 09:33:43 --- join: thin (~thin@h68-146-166-145.cg.shawcable.net) joined #forth 09:33:51 howdy all 09:33:53 i440r 09:33:54 robert 09:33:56 check out 09:33:57 http://www.ultratechnology.com/structs.htm 09:38:30 Heyhey 09:39:13 I'll check it later :) 09:39:21 robert: it's high priority 09:39:34 :P 09:39:35 Er...yes. Sure. 09:39:53 * Robert puts thin in a tiny little box and leaves. 09:40:52 hmm 09:41:13 reading it :) 09:41:19 you been having brain problems lately, robert? 09:41:51 The 1980 issue of Byte magazine focusing on Forth was the largest selling issue in its history 09:41:54 i have that :) 09:43:11 the basic message of the article, is that, growing up in a C world, using C operating systems, and being familiar with C concepts, we may ultimately end up trying to use forth like C, we may try to transfer C concepts to forth, and if we do that, we screw up all the advatnages of forth 09:43:21 http://www.ultratechnology.com/essence.htm 09:43:25 also read that :P 09:43:28 fun fun 09:45:47 i like my dog shoots man story :) 09:45:58 reported on cnn :) 09:50:04 yeah, that was yesterday 09:50:22 today, we have dolphin shoots man story 09:52:44 thin i started to do some of that documentation for you :P 09:53:08 when ive got it done ill send it all to you for proof reading and maybe some editing :) 09:54:36 ew 09:54:43 what exactly are you working on? 09:55:10 here's how it's split up 09:55:19 1) documentation 09:55:21 2) helpsystem 09:55:30 1 is split up into several components 09:55:35 1a) introduction 09:55:41 1b) tutorial 09:55:47 1c) manual 09:55:48 ive not realy started 1 09:56:13 helpsystem and manual are somewhat related 09:56:25 manual will be a copy of the helpsystem but with more info 09:56:57 im besically doing a glossery of the words with small descriptions 09:57:24 stating the word name, the word type (variable, defered word, etc) weather or not the word is imediate 09:57:39 and a 1 or 2 sentence descriton of the words funciton 09:57:43 NOT in detail 09:57:54 and lastly thers a "see also" section 09:58:18 hey, i'm emailing jeff fox 09:58:23 here's a section of my email 09:58:24 Are you a hypocrite? Do you rant about people trying to code C in forth, when they have no EASILY ACCESSIBLE role model code & techniques to learn from? 09:58:30 cool 09:58:44 heh, i'm going to light a fire under his ass ;P 09:58:49 heh 10:01:46 --- quit: skylan (Read error: 104 (Connection reset by peer)) 10:01:53 yeah sent dat email! 10:02:13 basically i ragged him about the lack of example code available online 10:02:47 im going to be solving that problem too, but ive got some "bad example" code in there heh 10:03:31 yeah 10:04:06 actually i'm not very happy with your sockets.f code, but i can't really be constructive until i try to code up the sockets stuff myself 10:05:19 whussthis ? 10:05:24 did you hit accept? 10:05:49 it's cleverdra's smudcl.f coded for isforth 10:05:52 it has sockets code 10:07:37 i440r: i uploaded it into /incoming on your ftp 10:08:42 --- join: skylan (sjh@207.164.213.81) joined #forth 10:09:00 ok :) 10:09:02 what is it ? 10:09:05 yes i accepted it 10:09:11 smudcl ? 10:09:13 whats that? 10:09:17 me goes to look :) 10:10:21 erm did you test this ? 10:10:31 no, it's not finished 10:10:36 : connect ; 10:10:41 : socketcall 102 syscall ; is wrong 10:10:45 you do 10:10:55 erm hang on :) 10:10:57 i440r: hey, it's not my code 10:10:59 but it's not wrong 10:11:02 jeez 10:11:11 i looked at your sockets.f 10:11:15 i looked at robert's socket code 10:11:31 it is, "syscall" is a CREATING word and takes TWO parameters 10:11:32 i looked at linuxassembly.org :P 10:11:51 i440r: look at the code again 10:12:00 102 is the correct number for the socketcall syscall, your just doing it wrong for isforth :) 10:12:04 vocabulary net 10:12:04 compiler definitions 10:12:04 : socketcall 102 syscall ; 10:12:04 net definitions 10:12:05 3 1 socketcall 10:12:07 3 3 socketcall 10:12:09 4 9 socketcall 10:12:11 4 10 socketcall 10:12:28 yes but thats WRONG :) 10:12:33 how so? 10:12:39 it's not as ugly as your code! :P 10:13:00 its less optimum 10:13:42 and its WRONG 10:13:47 is the syscall 10:13:53 should be socket 10:13:59 its not a syscall 10:14:06 same for etc 10:14:41 ?? 10:14:41 also with MY code you pass exactly the same number of parameters to each socket function :) 10:15:02 the recv needs one more (an unuzed ZERO) but i inject that at the recv word :) 10:15:07 explain yourself more clearly... 10:15:11 you have to see my latest stuff, im not sure you got that:) 10:15:31 ok. 10:15:40 : socket ; 10:15:43 thats what you mean 10:15:47 my "convention" is to wrap SYSCALL word names in < and > 10:15:48 --- nick: ianill -> ianni 10:15:53 : socket 3 1 ; 10:15:58 yeah 10:15:59 send recv etc are NOT syscalls, they USE the socketcall syscall 10:16:05 yeah 10:16:20 no, that wont work either :) 10:16:23 well his comments say he's using socketcall like syscall and all the other stuff are syscalls :P 10:16:42 syscalls/socketcalls 10:17:00 what's wrong with : socket 3 1 ; 10:17:14 ok watch 10:17:23 2 102 syscall 10:17:30 we now support the socketcall syscall 10:17:43 what's 2? 10:17:45 that was done OUTSIDE a : definition (at compile time, not RUN time 10:18:03 : (sock) ( n1 n2 n3 request --- n4 ) 10:18:20 >r sp@ r> nip nip nip ; 10:18:36 ewww 10:18:41 : (socket) 10:18:43 looks ugly but ill explain 10:18:51 no, (sock) is lame that's all 10:19:00 you pass 2 parameters to the socketcall 10:19:13 the first parameter is the socketcall request (1 2 3... 9) etc 10:19:23 i rename (sock) to (socket) :P 10:19:24 send,recv, etc etc 10:19:42 the second parameter is always a POINTER to a buffer with THREE parameters in it 10:19:55 except on the recv where thers 4 but the 4th is always a zero 10:20:17 im using the stack to buffer that so i need to do an sp@ to get the address of the parameters :) 10:21:58 so i move the request number to the parameter stack then POINT at the buffer of 3 items 10:22:15 i then have to get rid of those 3 items (the realy ugly part) 10:22:29 but it works and it works well 10:22:39 : sock 1 (sock) ; 10:23:00 : connect 16 -rot 3 (sock) ; <-- oopts this one has a 4th parameter too 10:23:10 : send 9 (sock) ; 10:23:27 i could do these as coded definitions as follows 10:23:30 code send 10:23:36 call (sock) 10:23:38 dd 9 10:23:52 which might be more efficitnt 10:24:15 but wont work for those calls that take 4 parameters unfortunatly 10:24:19 so scratch that idea :) 10:24:36 : recv >r 0 -rot r> 10 (sock) nip ; 10:24:48 i didnt code sendto or recvfrom 10:25:23 yet 10:25:42 why call it (sock) when you can call it (socket) 10:25:51 and why call it sock when you can call it socket 10:25:53 too lazy to type :) 10:25:57 : socket 1 (socket) ; 10:26:17 all you realy need to care about with this is that ALL of the socketcall words take 3 parameters from you 10:26:29 a size, a buffer and a socket fd 10:26:32 i think the verbosity is worth it, it can make a difference in whether the code is readable or not to a newbie 10:26:47 and to non-newbies 10:27:03 Good evening. 10:27:08 Hmm.. 10:27:31 * Robert is thinking about taking a neat little 6kb kernel and write a Forth based on it. 10:28:34 robert: before you do any coding, read that ultratechnology structs.htm article :P 10:29:06 Sure ;) 10:29:49 thin think of my code as a libc sockets stuff replacement. dont worry about the internals, just worry about the parameters you need to pass to each call :) 10:29:54 and they are ALL identical :) 10:30:02 thus far 10:30:15 you only care about send, recv, socket, sendto, recvfrom etc 10:30:28 ive simplified YOUR interface to each of those 10:31:20 Good boy :) 10:31:45 http://www.cnn.com/2002/US/Midwest/10/25/offbeat.dog.shot.man.ap/index.html 10:31:49 Now finish the DNS code, make a better editor and conquer the world. 10:32:51 i will, im sort of slowly working on that :) 10:32:56 Yay. 10:33:09 ive almost got it done but ive got bigger worries atm. like... 10:33:22 like dog shoots man! 10:33:31 i was just served with notice that the mortgage company is going to SELL my house 10:33:35 I'm bored++, so I thought I'd either code on IsForth or code my own Forth.. I'm thikning about doing the latter ;) 10:33:41 which i have to put a stop to 10:33:45 :-/ 10:33:46 i440r: ouch 10:33:53 i440r: not current on your payments??? 10:34:28 not worked in over a year. my father is working tho and has been paying the mortgage but the mortgage company is saying we defaulted and is demanding payment in full NOW 10:34:47 i440r: what editor do you use to code your forth code? 10:34:59 joe 10:35:02 i440r: weird 10:35:07 i440r: about the mortgage company 10:36:18 they shouldn't be able to do that 10:36:22 the payments are getting paid 10:36:25 that's all that matters 10:36:38 we are still behind on payments tho 10:37:25 then catch up 10:37:52 sell isforth to multinational corporations for millions! 10:38:09 Hehe. 10:38:19 Sell thin as a sex slave to korea. 10:38:20 good idea 10:38:25 better idea! 10:38:33 i would get more for thin :P 10:38:37 ;) 10:38:50 yeah! you'll get millions of rubles for me! 10:39:04 1 buck = millions of rubles 10:39:39 :) 10:40:14 gtg 10:40:15 --- quit: thin ("later") 11:10:59 --- quit: Herkamire (Read error: 110 (Connection timed out)) 11:21:05 --- join: XeF4 (xef4@lowfidelity.org) joined #forth 11:24:27 53 dd %%link ;cfa -4 points to nfa (yuck) 11:24:32 Erm.. what's NFA? 11:25:53 name field address 11:26:48 its a wast of 4 bytes for every non headerless word but it simplified some things alot 11:31:34 --- quit: XeF4 (card.freenode.net irc.freenode.net) 11:31:34 --- quit: skylan (card.freenode.net irc.freenode.net) 11:31:34 --- quit: I440r (card.freenode.net irc.freenode.net) 11:32:44 --- quit: onetom (card.freenode.net irc.freenode.net) 11:32:44 --- quit: Soap` (card.freenode.net irc.freenode.net) 11:32:44 --- quit: Robert (card.freenode.net irc.freenode.net) 11:32:44 --- quit: tathi (card.freenode.net irc.freenode.net) 11:32:44 --- quit: ianni (card.freenode.net irc.freenode.net) 11:32:44 --- quit: ChanServ (card.freenode.net irc.freenode.net) 15:15:52 --- log: started forth/02.10.31 15:15:52 --- join: clog (nef@bespin.org) joined #forth 15:15:52 --- topic: 'This channel is a support group to help futhin code ;) | x86 Linux Forth coded in asm - http://isforth.clss.net | home of forth - http://www.ultratechnology.com/forth.htm' 15:15:52 --- topic: set by thin on [Tue Oct 29 10:50:37 2002] 15:15:52 --- names: list (clog onetom Herkamire Fractal jammi @ChanServ Robert Soap` I440r skylan cyberclad ianni) 15:16:44 wb clog ;) 15:44:05 --- join: bugslayer (guest@62.77.213.100) joined #forth 15:45:59 did clog miss anything 15:46:08 prolly not 15:46:10 :P 15:48:26 Hi there. 15:48:29 Not much ;) 15:48:55 i was working in the lab, late one night 15:49:03 when my eyes beheld an eerie sight 15:49:13 when my monster from its slab began to rise 15:49:16 * Robert hears bird singing. 15:49:16 dog shoots man! 15:49:21 and suddenly, to my supprise... 15:49:25 it did the mash... 15:49:30 it did the monster mash 15:49:33 heh 15:49:49 yea dog shoots man :) 15:49:51 Neat song ;) 15:50:02 It's November here! 15:50:07 Happy new month ;) 15:50:11 i downloaded it so i could play it to all the kiddies :) 15:50:15 Hah 15:50:21 its not november here yet 15:50:56 robert: you're up past midnight? and you didn't go trick or treating? go to bed! 15:50:57 :P 15:52:39 Heh. 15:52:42 I'm not THAT small. 15:52:49 Besides, we do that on easter in Sweden. 15:52:51 Not halloween. 15:53:00 it should be mandatory, you must go trick or treating until 18 years old or something ;) 15:53:29 We don't even do that. 15:53:39 i440r: jeff fox's response was pretty cool and i typed up a huge email back to him :)) 15:53:43 Little girls dress like witches on easter and ask for candy. 15:53:45 That's it. 15:53:55 on easter ??? 15:53:59 Yup. 15:54:03 easter is for the bunny! 15:54:07 Nah. 15:54:10 No bunnies here. 15:54:11 and teh chocolates hiddeen around the house! 15:54:13 Just witches. 15:54:17 omg!!! 15:54:24 :) 15:54:25 who wants to live in sweden ;) 15:54:35 THE CIVILIZED PEOPLE. 15:54:36 :( 15:54:39 Er 15:54:39 :) 15:54:45 top three countries: 1) norway 2) sweden 3) canada 15:55:00 but clearly canada is the best cause we have easter and halloween 15:55:13 that list of three countries is from the alamanac 15:55:25 therse only 2 things i dont like 15:55:33 Heh. 15:55:34 1: people who hate people from other countries 15:55:37 2: the dutch 15:55:38 :P 15:55:40 :D 15:55:57 * Robert learns Dutch on IRC. ;) 15:56:40 This is so funny, I talked to a pakistani who now lives in Belgium, who said all people from eastern europe are lazy bastards... Not a good thing to say, being an immmigrant yourself. 15:56:58 :) 15:57:17 all people from british columbia are screwed up in the head and practice occult or just generally behave like pscyhos! 15:57:34 i lived in bc for three years :( 15:57:54 thats explains it :) 15:58:09 http://www.infoplease.com/ipa/A0778562.html 15:58:22 gives you a list of the most "livable" countries 15:58:26 and the least 15:58:35 I recently discovered the difference between www.freeos.org and www.free-os.com 15:58:41 but the HDI is fucked in the head anyways 15:58:43 for example 15:58:51 Or maybe it was free-os.org and freeos.com 15:58:51 if you don't have a t.v you rate lower 15:59:03 robert: yeah i've been to those sites 15:59:31 ew 15:59:35 i haven't been to freeos.org 15:59:37 Stupid people putting porn sites at the wrong URLs. 15:59:42 Hehe. 15:59:44 See whta I mean? 15:59:55 useless site 16:00:03 Which? 16:00:12 loll 16:00:17 free-os is the porn one 16:00:25 freeos is the useless one with no links 16:00:32 i'm in a lab! 16:00:35 people all around me! 16:00:40 looking at the pr0n! 16:00:41 The .com page is for free systems, and .org for porn.. Bleh. 16:00:42 on my screen! 16:00:45 la la la 16:00:47 :D 16:00:47 no 16:00:54 freeos.org and free-os.org 16:01:05 Uh. 16:01:10 The OS page also has .com then 16:01:13 freeos.com also exists 16:01:23 freeos.com is much more useful 16:01:38 actually its crap 16:01:41 linux is crap 16:01:43 all oses are crap 16:01:55 whassup i440r 16:02:07 are we gonna code or are we gonna code?! 16:02:10 :DDDDD 16:02:13 That's why I'm writing this new Forth system ;) 16:02:32 make it metacompilable 16:02:39 but first 16:02:52 http://www.ultratechnology.com/structs.htm 16:04:05 robert: did you know there are many web comics online? and they are fabulously funny and entertaining? read them all before you code! 16:04:06 i think i got hit by a virus on win 98 on this machine and on my laptop. i had to totally reinstall the win 98 partition of my laptop 16:04:11 a real coder does that ;) 16:04:13 im doing teh windows update thing there now 16:04:21 i440r: i got my first virus a month a go 16:04:27 it was some vb virus 16:04:31 it renamed files 16:04:37 lol 16:04:37 and moved them around 16:04:43 so i reinstalled windows 16:04:47 cause i'm too lazy to install virus scanner 16:04:57 and because virus scanners feel dirty to me 16:05:32 Don't use Windows, heh. 16:05:55 what? and use a forth os with no irc client ??? 16:06:02 I'm listening to Pink Floyd and some moron in #forth ranting about web comics and VB viruses. :P 16:06:13 :) 16:06:23 first i need a forth os with a) irc client b) image viewer c) basic web browser 16:06:26 bugslayer: I'll construct an IR link, and write an IRC client. 16:06:51 what do you need the infrared link for? what are you writing the system on? 16:07:05 Just kidding, actually. 16:07:11 I'm basing the Forth on DOS. 16:07:20 my hp48g calc has an IR link! 16:07:27 Linux is a bit too big for most of my computers ;) 16:07:29 Hehe. 16:07:30 and there are programs that let it act as a universal remote 16:07:45 so i can control the tv and crap if i wanted to 16:07:48 Yup... I have a doc describing the protocol used. 16:07:58 Make it flood the TV :) 16:08:02 i'm waiting for chuck moore to make the jpeg vierwer for colorforth! :D 16:08:06 Heh. 16:08:13 Write it yourself ;) 16:08:22 bahhh 16:08:27 what part of lazy don't you understand 16:08:29 hmm 16:08:39 i am working on stuff right now too 16:09:16 die lazy! 16:10:25 Die young and die lazy. 16:12:04 robert: do you play any games? 16:12:44 Duke Nukem 3D 16:13:11 is it multiplayer 16:13:21 Yes. 16:14:03 how many hours do you play it per day? 16:14:13 --- join: tathi (~josh@ip68-9-70-231.ri.ri.cox.net) joined #forth 16:14:45 bugslayer: One or two ;) 16:14:51 But that's just this week. 16:14:59 Usually I play games maybe one or two hours per month. 16:15:05 heh 16:15:12 freak! :P 16:15:20 well i'm kidding 16:15:24 i'm a freak too 16:15:29 i hate most games 16:15:42 because they suck 16:15:51 Good reason to hate them. 16:16:42 the settlers ROCKS 16:17:22 yeah, i'm waiting for you to code it up with a better interface (i.e. one that isn't so ugly and hard to figure out) 16:17:48 i play the waiting game! 16:17:49 i'll win! 16:17:59 waiting for jeff fox's email 16:28:06 hm 16:28:07 hum 16:28:10 fe fi fum 16:28:24 jeff fox and chuck moore THINK a lot 16:28:33 and for months and months! 16:28:42 about forth issues 16:28:54 quite intersting 16:29:17 Heh,. 16:29:27 If you see thinking as something exotic and odd... 16:29:31 * Robert gets scared. 16:30:42 um 16:30:45 no, i mean 16:30:49 they are very deep thinkers 16:30:52 ;) 16:31:11 and it's hard not to respect people who think carefully and with great depth 16:31:22 What's your Forth called, bugslayer ? 16:31:49 what are you talking about? 16:32:51 If you haven't written a Forth yet, go on and do it :) Don't just let Chuck and Jeff invent everything :P 16:33:30 you misunderstand me 16:33:50 they think a lot about forth issues such as ANS forth vs forth.. , about people using forth, etc 16:33:56 i'm reading ultratechnology.com right now 16:35:34 Sure. 16:35:41 But you could be a Thinker, too ;) 16:35:54 Just write your own Forth with smart comments about ANS. 16:36:08 uh 16:36:27 when is coding your own forth a requirement to be a thinker? heh 16:36:31 i am a thinker 16:36:41 but am i a doer? 16:36:50 i'm a thinker and i make things happen 16:36:53 but am i a doer? 16:37:24 very few people are thinkers, and very few people make things happen, so it's not like i'm a walking failure 16:37:39 but i could definitely improve myself by becoming a doer :P 16:37:41 You're a sitting failure :P 16:37:54 and it's about time too, what with all my ideas and crap 16:38:00 time to execute em 16:38:03 Actually, writing a simple forth doesn't take long. 16:38:23 I wrote a simple one in 100% Forth in a day or two. 16:38:34 Of course it's useless, but funny ;) 16:39:39 why is it funny 16:39:44 just it talk funny? 16:39:47 does it walk funny? 16:39:51 does it look funny? 16:40:04 can it crack jokes? 16:40:31 01:43 < ctkrohn> At Stanford, they had an entire section of their bookstore devoted to obscure programming languages. 16:40:35 01:43 < ctkrohn> Forth was among them 16:40:37 Haha! 16:41:01 ... 16:41:25 is that a negative thing or a good thing? 16:41:43 Negative. 16:41:48 It should have its own section ;) 16:41:49 lies 16:42:32 it's true that forth is obscure 16:43:59 not a negative thing tho, just a fact 16:44:18 gotta go 16:44:21 Bye 16:44:22 bbl, 3 hours 16:44:24 --- quit: bugslayer ("bye") 17:14:08 --- join: XeF4 (xef4@lowfidelity.org) joined #forth 17:17:12 hi 17:17:50 hi 17:17:58 Hi onetom, XeF4 17:18:25 I have run out of money and for some bizarre reason I came here instead of fetching more 17:18:40 I mean.. there is no good reason I shouldn't be boozing right now besides.. hm 17:19:15 perrrrrkele 17:19:39 miksihan suomen alkoholiverot ovat niin korkeita?!! 17:19:46 miksihän 17:21:18 Hm? 17:21:28 Take that in Swedish ;) 17:21:50 you see.. I was walking from one place to another bar with some woman, we parted company and somehow I ended up here 17:21:56 * XeF4 puzzled over his actions 17:22:13 You came to your _real_ family. 17:22:15 How sweet. 17:25:24 --- quit: Soap` () 17:40:29 --- quit: XeF4 ("pois") 17:47:18 --- join: tcn (tcn@tc2-login2.megatrondata.com) joined #forth 17:53:18 tcn :) 18:01:00 hewy 18:04:44 --- join: I440r_ (~mark4@sdn-ap-008tnnashP0140.dialsprint.net) joined #forth 18:05:23 oh, you got dropped? 18:05:47 yes 18:05:52 did you see my message to you ? 18:05:56 yeah 18:05:58 i think ML does that 18:05:59 couldn't you typ ,y,=foo(blah) to ignore x and z? 18:05:59 except usually you end up with pointers, say struct vector {double x,y,z;} v1,v2,*u; u=cross(v1,v2); 18:06:21 :) 18:06:36 recon it would be worth implementing ??? :) 18:06:43 i've seen some real ML programs and it's godawful 18:07:24 fewer lines of code than any other language for any given program, but those lines are long & cryptic :) 18:08:36 have you ever seen multiple returns in a mathematical function? 18:10:57 i've seen vector, matrix, complex functions but they still return one value 18:11:00 nope :) 18:11:12 but this is not maths :P 18:11:41 it seems like there's a rule "a function returns only one value" for a very good reason 18:12:55 --- join: bugslayer (guest@62.77.213.100) joined #forth 18:13:10 hey bugslayer 18:13:24 lol 18:13:36 forth words OFTEN return more than one :P 18:13:43 without it making things over complex too 18:14:24 well it wouldn't be so confusing if they only returned 1 value.. if they return multiple values it really should be a type, like "string" for address & length 18:14:26 heya 18:15:21 but that's C & co. 18:15:34 derived from centuries of refinement 18:15:49 i440r: as long as the forth word doesn't return more tahn 2 parameters 18:15:56 otherwise, i'd say you are lying!!! 18:16:00 "often" 18:16:59 if it returns more than 2 you'd probably be better off using variables 18:17:18 well there's always the return stack 18:17:36 but those are local 18:17:57 local what 18:18:03 local variable? 18:18:14 yeah.. nevermind 18:18:24 i consider up to 3 parameters fine.. but 2 or less is much better 18:18:29 yeah nevermind :P 18:18:33 so whats up tcn? 18:18:33 --- quit: I440r (Connection timed out) 18:19:00 what's ML? matlab? m-something lisp? machine language? 18:19:02 not much. should I remember you? 18:19:26 i am the stealthy panda! 18:20:36 i think ML stands for meta-language.. kind of an obscure comp sci students' language.. sorta like a cross between c and lisp 18:20:56 ugh 18:21:02 how dare they steal "meta-language" 18:21:11 that could easiy be a verb 18:21:11 it's so generic 18:21:15 or non-noun 18:21:24 non-name anywyas 18:21:41 OCAML isn't so bad.. that's a variant of ML 18:21:57 as a language it's about the same though :) 18:22:10 OCAML isn't lisp? 18:22:25 doesn't look like lisp 18:23:28 heh, i looked at that "most livable countries" thing 18:24:42 heh 18:25:21 the HDI is fucked in the head anyways, so i really wouldn't treat that list as 100% accurate.. more of a rough guess list 18:25:40 if you have running water and electricity and cars that's "livable" 18:25:50 even if you have to work a shit job to pay for it 18:25:54 yeah, but they include t.v. in there as a necessity or something ;) 18:26:05 i can't remember under what condition the t.v. thing is in 18:26:10 and if you get paid to sit on your ass all day that's "livable" 18:26:18 but it's like, if you don't have a t.v you are living in worse than standard living conditions 18:26:29 what's a t.v.? 18:26:36 shh 18:26:38 don't tell him 18:26:53 allright allright 18:26:56 it's a tetanus vaccine 18:27:01 hmm... 18:27:16 doesn't sound like as much fun as a computer ;) 18:27:38 i mean, how many people REALLY die of tetanus? it's not that important to have a t.v. :) 18:27:56 heh 18:28:20 television, you know, the thingie you hook up the commodore 64 to 18:28:30 to play space invaders! 18:28:32 hahahh 18:29:10 ohhh, _that_! gotcha 18:29:58 yeah, it's just like a monitor but it's got a coax input :) 18:30:20 and really lousy resolution 18:30:39 unless you have HDTV 18:31:07 pretty soon you'll be considered "unprivileged" if you only have a regular old TV 18:31:29 bah 18:31:45 bah to TVs! 18:31:51 TW always! 18:31:53 bah humbug 18:31:59 bah scrooge 18:32:07 if I want high resolution I'll just buy apple's biggest flatpanel and a DVD player 18:32:10 :) 18:33:09 how big? 18:33:13 and why apple's? 18:33:31 oh you liven in BC? where'd you move from? 18:34:36 calgary 18:34:47 this is thin, aka futhin 18:35:01 i moved back to calgary for the last 3 years 18:35:09 then i'm moving back to kamloops this winter 18:35:10 oh! 18:35:11 wee 18:35:13 bugslayer: they're 22" viewable, I think, and absolutely gorgeous. 18:35:18 --- nick: bugslayer -> thin 18:35:25 what do they cost? 18:35:27 tathi: how much 18:35:39 yeah, the price for flatpanels goes up sharply once you go above 15" 18:36:34 $4000 US originally, might be down to 3 now... 18:37:05 heh.. forget it 18:37:07 i want to set up a super desktop computer arrangement.. 6 or 8 monitors on the desk, with computers for most of them, and some dual setups 18:37:18 :) 18:37:26 and a tv of course! 18:37:31 and then i can daytrade and code! 18:37:37 ;) 18:37:42 you wouldn't get nothin done 18:37:52 well you don't anyways 18:38:00 i'd get more done 18:38:23 tcn: heh, I was just going to say that 18:38:27 more computers forces you to tinker more 18:38:47 even though i would classify that as "busywork" 18:40:24 I might get one of those mini-itx boards.. use a TV as monitor :) 18:40:46 the res is really crappy tho 18:40:55 unless it's a really big t.v at a distance.. 18:43:28 somebody tell me what HEADERS> and its not putting anything on the stack 18:43:57 so it appears to be different from >HEAD and HEAD> 18:44:57 nevermind 18:47:53 hmm...I think this forth engine has gotten as small as it's going to get... 18:48:47 what is it coded in 18:49:07 PPC assembly language 18:49:43 I'm refactoring it again so I can experiment with different source encodings 18:50:02 and it looks like it's going to be almost exactly the same size as it was before 18:50:27 the only way it can go from here is up! :) 18:51:06 have you tried talking to crowkiller? ;) 18:51:33 yeah 18:51:38 for making it insanely small? ;) 18:51:40 I don't have it so easy 18:52:05 * thin had to go thru the clog logs to remember his name 18:52:38 PPC has fixed length instructions (32-bit) 18:53:12 how big is it now? 18:53:14 my ELF is down to (stripped) about 2K, of which I think around 400 bytes is headers etc. 18:53:35 not bad for a RISC 18:53:39 so that puts me at what, around 400 instructions somewhere? 18:54:16 yeah. colorforth is great for simplicity :) 18:55:16 how many times have you coded your colorforth? 18:55:18 then I'm getting up around 10-15K of forth source on top of that...it's almost useful! :) 18:55:30 third major refactor does the trick ;) 18:55:49 hmm...think this is 5 18:55:56 but it was fine last time 18:56:22 I just want to experiment with different ways of encoding the sources 18:57:55 well when i say "major" i mean MAJOR! :P 19:00:20 omg, check this out for some of the WORST forth code i've ever seen 19:00:21 http://www.ec3.com/Upperized/FORTH.HTM 19:00:37 it's sad because its so long and the guy spent so much effort on it 19:01:03 actually 19:01:12 i'm talking more about the comments 19:01:15 back 19:01:27 he shouldn't need those comments, therefore his code is really lame and poorly factored 19:01:30 sorry had to take doggies to the doggiesitters :) 19:01:30 hey i440r_ 19:03:26 i440r_ in the smudcl.f why are there the additional numbers.. : send 4 9 (socket) ; 19:03:29 hmm, yeah, I'd have to say having a comment for the state of the stack after every word is a bit excessive :) 19:04:23 erm let me look 19:05:43 the 4 and the 9 are the parameters to the socketcall word that creates the word 19:05:56 the 9 is the request type 19:06:01 9 being send 19:06:06 10 being recieev 19:06:16 and the 4 is the number of parameters required by the send 19:06:24 you couldnt figure that out ? 19:06:26 lol 19:07:13 that socketcall word WILL NOT work 19:07:16 hm, didn't notice that, not exactly looking closely 19:07:46 socketcall recieves two parameters 19:07:50 it does NOTHING with them 19:07:52 yeah yeah yeah 19:07:53 --- join: Sulvey (~ask@h24-65-137-230.ed.shawcable.net) joined #forth 19:08:00 hello sulvey 19:08:04 it merely puts another parameter on the stack and calls "syscall" 19:08:07 hello thin, everyone 19:08:13 so the call to syscall has three parameters passed to it here 19:08:14 first time here? :) 19:08:16 and IT uses only 2 19:08:35 i visited once or a twice a long time ago 19:08:46 so every time you invoke teh socketcall creating word your going to be leaving one item on the stack 19:09:26 i told you earlier that the code woruldnt work the way you have it but you wouldnt listen :P 19:09:34 heh 19:09:44 sulvey: under a different nick? 19:10:05 I don't recall actually :) 19:12:46 was anyone else as surprised as me to see the book review on /.? 19:12:59 i diont read /. heh 19:13:05 what was the review about ? 19:13:19 Forth Application Techniques 19:13:21 i440r: what is the socketaddr_in struct passing to connect? is it passing 3 hidden parameters? 19:13:39 its a sockaddr_in structure :P 19:13:44 --- quit: tcn () 19:14:35 you pass it teh IP you want to connect to 19:14:46 the socket family type you want 19:14:51 and the PORT you want to conect to 19:15:06 MY code makes that very easy to do :P 19:15:31 i said what is the _structure_ passing 19:16:01 the structure isnt passing anything 19:16:09 you just pass a pointer TO the structure 19:16:37 and that's what connect wants? 19:16:40 :( 19:16:46 :P 19:17:11 yes. that and the fd 19:18:54 --- quit: Sulvey ("goodnight") 19:20:28 so that's another thing that is wrong about the smudcl 19:22:16 heh 19:22:25 just port it to using my sockets library :P 19:30:19 thin: the structure is: 2 bytes: sin_family (2). 2 bytes: port number (in big endian), 4 bytes: ip address. zero bytes (8 of them I believe) 19:31:53 when the stupid C headers are too much trouble to find a definition in (it took me an hour to find the definition of sockaddr_in in the C headers even with grep -r) try making a local variable of that type, and use the debugger to print the thing out. 19:32:30 herk i reverse engineered a small c program i wrote using each of teh socket functions using IDA Pro 19:32:50 or you could try something really tricky like 'man ip' :) 19:36:29 I440r_: what's ida? 19:37:04 interactive disassembler 19:37:14 costs about $490 :) 19:37:21 screw that :) 19:37:22 and worth EVERY penny 19:37:30 I'll stick to documentation and header files 19:39:02 :) 19:43:24 --- quit: tathi ("leaving") 19:47:52 --- quit: thin ("Leaving") 20:01:47 --- quit: I440r_ ("Reality Strikes Again!") 21:07:29 awesome! I found two new web browsers that are good! w3m seems to be better than lynx (once I got it compiled with lynx keybindings, and got it to stop displaying images). 21:09:08 and skipstone displays with the mozilla engine, and is WAY faster. (like it starts up in about 1 seccond instead of 5.) 21:10:26 --- quit: Herkamire ("goodnight") 21:17:04 --- join: thin (thin@h68-146-166-145.cg.shawcable.net) joined #forth 22:10:59 --- quit: ChanServ (benford.freenode.net irc.freenode.net) 22:11:07 --- join: ChanServ (ChanServ@services.) joined #forth 22:11:07 --- mode: benford.freenode.net set +o ChanServ 23:35:53 --- join: thin_ (thin@h68-146-166-145.cg.shawcable.net) joined #forth 23:35:53 --- quit: thin (Read error: 54 (Connection reset by peer)) 23:36:22 --- nick: thin_ -> thin 23:59:59 --- log: ended forth/02.10.31