00:00:00 --- log: started forth/03.09.14 00:07:46 --- join: njd (~melons@njd.paradise.net.nz) joined #forth 00:14:02 --- quit: njd ("( www.nnscript.de :: NoNameScript 3.73 :: www.XLhost.de )") 01:36:59 --- quit: proteusguy (Read error: 110 (Connection timed out)) 03:41:31 --- join: mur (murr@baana-62-165-188-85.phnet.fi) joined #forth 03:44:30 hello 06:13:14 --- join: bashfire_ (~bashfire@pD9EE1E6F.dip.t-dialin.net) joined #forth 06:31:28 --- quit: bashfire (Read error: 110 (Connection timed out)) 06:41:25 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 07:27:03 --- nick: bashfire_ -> bashfire 07:40:27 --- join: ez4 (~ez4@pcp01518726pcs.reding01.pa.comcast.net) joined #forth 08:00:03 --- quit: bashfire (".") 08:26:26 --- quit: fridge ("http://lice.codehack.com") 09:15:29 --- join: schickhj (~schickhj@pD9E5C6B5.dip.t-dialin.net) joined #forth 09:15:55 Hello, is there a way to print the floating point stack, too - like .s? 09:15:59 in gforth? 09:29:41 * arke is back (gone 09:42:26) 09:44:00 gforth has a floating point stack? 09:44:45 yes, but I can't print it 09:45:11 when I enter a number with a decimal point such as: 1.34 it puts this on the stack: 134 0 09:46:48 yes, but when I type 1e34 it should work 09:47:05 see: http://www.public.iastate.edu/~forth/gforth_15.html 09:52:59 is there another forth compiler / interpreter that gforth, which is free (and perhaps better?) 09:56:05 schickhj: wait until i've finished mine :P 09:56:26 ;) how far is your one ;) 09:57:26 not very far at all 09:57:33 schickhj: what os are you runnung? 09:57:38 running* 09:57:44 linux 09:57:56 schickhj: isforth.clss.net 09:58:54 arke: why you have created a new one? 09:59:31 just for fun, and because itll have some nice features a normal forth doesnt have 09:59:56 arke: for example, sounds interesting ;) 10:00:27 hrm 10:00:31 it has lambda 10:00:56 lmbda, what mean lmbda? 10:01:04 my-array ( dup @ dup * swap ! ) map 10:01:10 I'm a beginner in the forth language ;) 10:01:21 forth doesnt have lambda 10:01:33 do you know lisp or scheme or haskell or any ML language? 10:01:45 only some basics 10:01:49 aah 10:01:50 well 10:02:00 lambda is when you create a function on the fly 10:02:19 ahh, ok - know it's clear 10:02:26 schickhj: are you from germany? if yes, i can continue in german if you like :) 10:03:01 yes, I'm from Germany - if this is not a problem agains the channel rules, shur - continue with german 10:03:10 schickhj: 1e 2e f.s <2> 1. 2. ok 10:03:30 --- quit: ez4 () 10:03:47 schickhj: hmm ... bin schon fertig :) 10:03:57 naja 10:04:13 mein forth wird dann auch kons paare und so haben 10:04:38 arke: ich werds nach mal ausprobieren - hoert sich gut an 10:04:54 :) 10:06:35 --- quit: arke ("Reboot, be right back") 10:08:49 arke: ist Dein Forth Programm in Assembler geschrieben, hab es gerade ausgepackt. 10:25:13 --- quit: schickhj (Client Quit) 10:38:40 --- quit: mur ("Murr.") 11:10:34 --- join: arke (~rk@ca-cmrilo-docsis-cmtsj-b-36.vnnyca.adelphia.net) joined #forth 11:30:53 --- join: proteusguy (~username@sgi.scigames.com) joined #forth 11:53:00 --- join: gilbertdeb (~gilbert@fl-nked-ubr2-c3a-37.miamfl.adelphia.net) joined #forth 12:25:19 --- join: gilbertbsd (~gilbert@fl-nked-ubr2-c3a-37.miamfl.adelphia.net) joined #forth 12:26:12 --- quit: gilbertdeb (Nick collision from services.) 12:26:24 --- nick: gilbertbsd -> gilbertdeb 13:28:06 * arke is away: Work -- Juji: I'll be back in about 5 hours, and then I'll finish 14:26:27 --- join: gilbertbsd (~gilbert@fl-nked-ubr2-c3a-37.miamfl.adelphia.net) joined #forth 14:43:16 --- quit: gilbertdeb (Read error: 110 (Connection timed out)) 16:15:54 --- join: njd (~junk@njd.paradise.net.nz) joined #forth 16:17:04 --- part: njd left #forth 16:21:51 --- join: kc5tja (~kc5tja@66-91-231-74.san.rr.com) joined #forth 16:21:52 --- mode: ChanServ set +o kc5tja 16:27:15 --- join: gilbertplan9 (~gilbert@fl-nked-ubr2-c3a-37.miamfl.adelphia.net) joined #forth 16:31:23 re gilbert 16:32:01 * kc5tja is trying to exhaustively search for his bike lock's combination -- none of the combinations I was positive I used works with it. :/ 16:32:08 I'm 75% the way through the search space though. 16:32:44 dammit this thing keeps coughing at me. 16:33:10 75%? 16:33:22 take the zen approach. imagine what it could possible be :) 16:34:04 I am taking the zen approach. I'm imaging it could be any one of 10,000 possibilities. 16:34:07 Hence, I'm trying them all. 16:34:12 hahahaha 16:44:23 --- quit: gilbertbsd (Read error: 110 (Connection timed out)) 16:51:54 aloha 16:51:56 --- part: gilbertplan9 left #forth 17:41:36 --- quit: proteusguy ("Client Exiting") 18:42:38 --- join: ez4 (~ez4@pcp01518726pcs.reding01.pa.comcast.net) joined #forth 18:49:24 --- join: gilbertdeb (~gilbert@fl-nked-ubr2-c3a-37.miamfl.adelphia.net) joined #forth 19:38:29 --- quit: Robert (Read error: 104 (Connection reset by peer)) 19:39:14 --- join: Robert (~snofs@h31n2fls31o965.telia.com) joined #forth 20:18:04 --- quit: gilbertdeb ("Told you I could quit any time!") 20:24:25 back 20:34:18 * arke is back (gone 07:06:12) 20:34:46 kc5tja: y0! 20:35:23 re 20:35:33 Just fooling around with my guitar. 20:35:38 fun :) 20:35:54 kc5tja: decided to ditch the ( ) constructs, and go with : ; instead :) 20:38:06 * kc5tja nods 20:38:16 Man, I've forgotten so much about how to play this guitar. Gahh. 20:38:20 * kc5tja has to get back into it. 20:38:46 :) 20:39:07 guitar is fun 20:39:54 Only when you know how to play. :D 20:40:29 Otherwise, it's merely entertaining (though not necessarily to others :) ). 20:40:43 entertaining = fun .... ? 20:41:41 I suppose. 20:43:35 hmmm. 20:43:40 im writing my compiler ... 20:43:41 and 20:43:47 i suck at parsing 20:45:31 XD 20:46:04 * kc5tja really ought to start hacking on FS/Forth again. 20:46:05 * kc5tja sighs 20:46:20 heh 20:46:30 mine isnt really a Forth, its just a forth compiler 20:46:32 like gcc 20:46:39 written in assembly 20:46:41 :) 20:48:26 :) 20:48:32 Except that GCC wasn't written in assembly. :D 20:48:52 i know. 20:48:56 i dont do assembly 20:49:02 wem 20:49:03 erm 20:49:04 wait 20:49:05 god what a nightmare that would be 20:49:16 i DO do assembly 20:49:25 heh ... nethack in asm 20:49:34 THAT would be a nightmare 20:49:52 i started to get really interested in forth after taking a compilers class 20:49:55 bored the hell out of me 20:50:04 and i liked the idea of languages with no grammar :) 20:50:13 or very simple grammar anytway 20:50:14 -t 20:50:55 forth is easy to parse 20:50:59 but still hard for me 20:51:03 see how much I suck? :P 20:51:54 i just started myself 20:52:30 i need to find a pdf on parsing or something 20:53:17 any compilers book should have a decent amount of information 20:55:00 bah. 20:55:02 irc.bookwarez.net #bw-tech 20:55:03 :) 20:55:05 compiler books are evil 20:55:07 indeed 20:55:11 bw-tech? 20:55:19 technical bookwarez 20:55:26 oh heh 20:56:27 * kc5tja was thinking about his 65816 homebrew PC project. 20:57:19 Strange as it may sound, it might be better for me to build it with a total of 64KB of addressible memory; latching the upper 8 address bus bits threatens to add too much propegation delay to the address decoding logic to run it at 12.5MHz. 20:58:28 :) 21:01:40 --- join: LOOP-HOG (TofuMonste@207.191.240.173) joined #forth 21:03:06 hi 21:03:23 re 21:03:24 y0 21:03:24 arke: really, the only parsing you have to do is read in to the next white-space. it would be best if you would write a function that takes a char as an operand, and reads into the next occurance of that char (and if the char is space, than to any whitespace) 21:03:29 hi LOOP-HOG 21:03:33 :) 21:03:54 WORD 21:04:06 Herkamire: well, forth whitespace can ne CR, LF, space, and tab 21:04:25 kc5tja: I wrote the ascii source encoder for my forth in python (because the perl one was getting hard to maintain) 21:04:29 Herkamire: so, ill have to check for each case 21:04:30 but the python is too slow. 21:04:38 arke: there's only two cases 21:04:49 hm? 21:05:03 can be 8, 10, 13, or 32 21:05:05 arke: what language are you using? 21:05:09 Herkamire: asm 21:05:24 Python can be slow if you do things that involve a lot of string manipulation. 21:05:26 8 is delete 21:05:35 Herkamire: 8 is tab. 21:05:39 ..i think... 21:05:42 9 is tab 21:05:49 8 is backspace 21:05:55 kc5tja=: why's that? 21:06:05 KEY EMIT . 21:06:45 LOOP-HOG: except for the EMIT part... 9 is the winner 21:07:16 oops 21:07:22 i would have caught it the 2nd time 21:07:29 :) 21:07:29 ok 21:07:37 but still, theres 4 cases i have to check for 21:07:39 ianP: Python's bytecode interpretter is horrifically slow and unoptimized (has been for years). Also, it uses reference counting for its primary form of garbage collection; hence any temporary objects are constantly being allocated and deallocated. 21:10:56 kc5tja: does python have some sort of quick hash table for short strings that I could use for my dictionary? 21:11:15 I think that's what made the perl script fast is that I used a hash. 21:11:56 a little late now, I'm already 1/2 done rewriting it in C 21:12:11 I'm sure that it does. 21:12:26 Look around on the http://www.python.org/ site, under documentation, library reference. 21:12:41 python has a 'dictionary' datstructure, though i cant speak for its speed 21:13:12 rpc: I recall that someone wrote a module for Python which mimicks the built-in dictionary type, but uses MUCH faster algorithms for it. 21:13:29 nice 21:20:31 --- join: njd (~melons@njd.paradise.net.nz) joined #forth 21:21:26 the python internals are very clean 21:21:34 refreshing if you've ever looked at perlguts 21:21:39 *shivver* 21:22:27 :P 21:22:59 yup 21:25:14 --- part: ez4 left #forth 21:27:39 whats the EOF character for DOS? 21:28:05 ^Z 21:28:11 (ASCII 26) 21:28:21 sw33t. 21:28:23 thanks 21:28:28 Why?' 21:28:32 Why? even 21:28:41 thats a definite? even when redirecting a file from stdin? 21:28:49 kc5tja: for my compiler :) 21:28:54 No. DOS's file redirection is binary in nature. 21:29:01 well 21:29:28 im using al=0x08 to get redirected characters from stdin 21:29:54 so if i do blah < my_file , would 26 still be the right character? 21:30:31 DOS does not appent 26 to the end of a file. 21:30:44 DOS has Unix-like behavioral characteristics with respect to file redirection. 21:31:17 eh 21:31:21 So if your text editor does not append a ^Z character to the text file, you will never see a ^Z. 21:31:27 ugh,. reading perl 21:31:41 so what does al=0x08 return when the end of file of a redirected file is encountered? 21:31:50 An error. 21:31:59 Carry bit is set, and AL = error code 21:32:24 bah. 21:32:39 ill just use direct file reads, and wont worry about redirection :) 21:32:43 erm 21:32:53 anybody knows how arguments work in DOS asm? 21:33:41 ? 21:33:50 argc and argv in asm 21:33:55 DOS asm, rather 21:34:25 CS:0080h contains the length of the command tail. 21:34:36 CS:0081h is the first character of the command tail (usually a space). 21:34:49 Note that the name of the command proper does NOT appear in this buffer. 21:35:00 hm bah 21:35:06 I'm also assuming CS:0000h points to the program segment prefix structure. 21:35:07 is this for EXE and COM? 21:35:14 COM 21:35:16 or just EXE? 21:35:20 oh 21:35:20 :) 21:35:28 I forget how to find the PSP if you're running as an EXe. 21:35:35 I think there's an INT 21h function to return the current PSP. 21:37:05 DOS arguments suck. 21:37:13 linux is much nicer in that way. 21:37:13 That's your opinion. 21:37:46 well, in DOS, you need an adress, and it takes the amount of characters, not actual args. 21:37:52 in linux, its all on the stack :) 21:38:09 Your definition of argument is strange to me. 21:38:17 Invoking a program is a glorified subroutine call. 21:38:22 DOS passes the command tail as an argument. 21:38:23 system calls arguments typically reside in the registers for linux and bsd 21:38:24 if they can. 21:38:32 The C startup code is supposed to parse that tail and package the arguments accordingly. 21:38:46 rpc: Wrong type of arguments. 21:38:50 ah 21:38:57 command line arguments? 21:39:01 yep 21:39:03 ah 21:45:42 http://www.ctyme.com/intr/rb-2779.htm 21:45:50 can somebody explain to me how this is supposed to work? 21:46:01 all i want to do is open a file with read only permission :) 21:52:54 oh wait 21:52:56 i can redirect 21:53:09 Goodness. I was able to kinda sorta keep up with Robbery, Assault and Battery, by Genesis. I'm pretty pleased with myself. 21:53:11 and itll catch EOF with 26 if i use 0x08 21:53:24 it wouldnt if i were to use 0x01 tho 21:53:29 XD 21:53:56 I think I can actually start to play along with some of these songs if I just practice for an hour or so a day. 21:54:07 It'll probably take me a few months of work though. 21:54:28 "Ripples" is a bit too complex for me at the moment though. :D 21:54:33 12-string guitars always throw me off. 21:55:16 XD 21:55:20 i dont like 12-string 21:56:56 I love the sound of a 12-string. 21:57:11 I wouldn't feel comfortable playing one though. Especially when my 6-string skills aren't quite 1337 yet. 22:03:11 --- quit: Herkamire ("goodnight") 22:03:30 kc5tja: i dont like the sound or feel of a 12-string 22:03:40 12 string = suckage. 22:04:01 You know, you seem to have an awful lot of "opinions" tonight. :D 22:04:25 Well played, a 12-string can give some of the most haunting effects you can get in a song. 22:04:37 c.f. Steve Hackett 22:06:37 * arke is away: sl33333333333p ... zZzZzZ 22:07:14 sleep = suckage. 22:07:26 :P 22:13:41 sleep rocks 22:13:56 now if only i could g et 36 hours of awake and 12 of asleep or something 22:14:13 heheh 22:15:40 Well, that was more fun than I thought it'd be. 22:15:49 * kc5tja is glad he fiddled with the guitar. 22:16:33 I was surprised that I was able to kinda sorta produce sounds that mroe or less sounded like Genesis "Robbery, Assault, and Battery," if you had a sufficiently vivid imagination. 22:16:58 Some other songs I was able to catch certain key chord or melody progressions, but I was hopelessly lost through most of them. :) 22:17:11 That's OK though. 22:17:32 --- join: Serg_Penguin (~z@212.34.52.140) joined #forth 22:17:55 hi ! 22:19:55 kc5tja: did you see my 'terse control words' ? 22:24:31 --- quit: ianP ("Hey! Where'd my controlling terminal go?") 22:29:13 --- join: ianP (ian@inpuj.net) joined #forth 22:42:23 Hi Serg_Penguin 22:43:05 --- join: fridge (~fridge@dsl-203-33-167-52.NSW.netspace.net.au) joined #forth 22:45:15 hi Robert ;)) 22:45:37 do you have a digicam ? 22:45:54 * Serg_Penguin is choosing mobile phone 22:46:05 Yes, I've got one. 22:46:23 what one ? 22:47:06 i seen the sysadmin girl i dated over UNIX forum ;))) 22:47:13 she has Oly Camedia C350 22:47:38 she's mega c00l ;))))) 22:48:06 Hmm.. don't remember the name of it. 22:48:16 Serg_Penguin: Yes, I did. Very nicely written, I think. 22:48:34 kc5tja: tnx 22:48:52 i'll add more later ;)) 22:49:18 Robert: Mpix ? zoom ? 22:52:10 ~4 Mpixels, I think. 3x optical zoom. 22:52:49 wow, kewl ! 22:53:25 Yes, it's pretty decent. http://robert.zizi.org/misc.html <-- threre I have some pictures taken with it. 22:53:54 i'm in doubt between 2M, fix 28mm, ~120$, and 3M,3X - Camedia C350 ? 22:54:30 What's the price of the latter? 22:56:03 OK folks, I have to go to bed. 22:56:11 --- quit: kc5tja ("THX QSO ES 73 DE KC5TJA/6 CL ES QRT AR SK") 22:56:48 Robert: ~270$ 22:56:57 Oh... 22:57:06 too much ? 22:57:07 Well, depends on what you can afford. 22:57:17 Of course.. 22:58:21 1 film+process+print = ~7$ 22:58:35 or 10$ 23:00:14 thinking about money on every trigger hit defeats creativity 23:01:25 Yes. 23:01:57 Robert: it'll be interesting if you'll take pics of everyday life ;)) 23:02:23 You mean, of my computer? 23:02:39 bad joke ;((( 23:02:57 i'm now tearing my head out of the box and getting a life ;)) 23:03:31 girls are much more fun than program bugs ;) 23:04:52 Obviously, the girls don't seem to think I'm much more fun than programming bugs. 23:04:57 Now some school, see you later. 23:05:13 so do become more fun than bugs ! 23:05:22 I am. ;) 23:05:23 bbl 23:05:31 bbl 23:17:32 --- quit: Serg_Penguin () 23:59:59 --- log: ended forth/03.09.14