00:00:00 --- log: started forth/04.05.24 00:25:40 --- quit: kc5tja ("Lost terminal") 00:32:52 Robert, mur: awake? :) 00:36:13 * Serg is asleep at kbd ;) 00:36:59 hmm... 00:37:19 i tryed to use Forth as general purpose parser, but choke on INCLUDE 00:37:37 did one do the task and how ? 00:38:47 i wrote TeXish thing one and gave up w/ the problem, now i need game levels compiler ( txt -> bin ) 00:42:21 Serg: would you like to join my irc bday parrty? :L) 00:43:11 hmm.. i go away soon, work 00:43:36 well, it lasts the entire day :) 00:44:44 * Serg is 25 soon (3 June), i gonna celebrate w/ just ONE person - some of the girls w/ whom i have/had varying degree of romance ;)) 00:53:04 * Serg is gone 00:53:06 --- quit: Serg () 01:26:14 * arke is away: zZzZ 02:26:03 --- quit: [-aXe-] (Read error: 104 (Connection reset by peer)) 02:38:53 --- join: Serg (~z@212.34.52.140) joined #forth 02:39:05 re 02:40:42 ze damn service necromancers did not raise Epson EPL-5700 ;((( 02:42:32 accountants gonna tar, feather and hang me on snot 02:43:13 --- quit: MrReach () 02:52:20 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 02:54:32 hi 03:02:33 hi 03:13:30 did one write general purpose parcers in Forth ? 03:14:06 i choked on TeXie thing, now gonna make little kiddish games, and, therefore, levels for them 04:45:55 Morning 04:47:16 hi 04:47:22 see my Q above ? 04:47:55 I haen't written any parser in Forth 04:47:59 haven't* 04:48:04 brb, shower 04:49:55 just awaken ? well done ! 05:25:23 Hehehe 05:25:25 Yep :) 05:36:13 school sucked this day ? 05:36:20 or no more school ? 05:38:12 No school on mondays :) 05:39:34 "monday" in RU is frequently coined into "hangoverday" ;)) 05:42:06 :D 05:42:12 my mom shown me a newspaper page of mediacal ads, full of the word meaning "many days of compulsive hard drinking" - i looked it up in on-line translator, no such word in ENG, just long explanation 05:42:21 I thought that was saturdays. 05:42:36 And sundays. And mondays, tuesdays, wednesdays, thursdays and fridays. 05:42:44 heh 05:43:24 weekends is often coined to be "night from friday to monday" 05:43:43 Hehe 05:44:19 i gonna take the page to work and shoot it w/ A70 05:44:32 Enjoy >:) 05:46:46 then hang it on web ;)) 05:48:59 btw, i asked in #xml and now have some improvements for my XML engine 05:55:07 [14:39:33] "monday" in RU is frequently coined into "hangoverday" ;)) <-- its not really a ru thing y'know ;) 05:56:03 Is het ook een NL ding? :) 05:57:38 :D 06:00:10 Hrm. Any idea how I in IsForth could redirect standard output to a certain file (after the thing is started, since IsForth will print some stuff I _don't_ want in the file) ? 06:11:06 hack it down ! 06:11:58 dig the src and switch all UI to STDERR 06:12:33 and don't fu..get to slay all bells'n'whistles - i hate them ;)) 06:13:03 u gonna need bare kernel.com 06:13:35 Hehe 06:13:53 Too lazy. :) 06:14:19 i started from kernel.kom and commented out many visual crap 06:14:52 or better yet, add 1) boolean var VERBATIM 06:15:24 2) in every UI word look at it - if raised, no OK, no '>' etc.. 06:17:21 so you can write filters in IsForth 06:17:44 hmm, IIRC it already has some feature like this... dig it ! 06:19:19 I'll bug Mark about it when it returns 06:19:29 Have to write some other code first. :) 06:19:38 what are u writing ? 06:20:42 Forth (cross-)compiler for the PIC chips 06:21:32 nice ! 06:22:13 too far from my interest, though 06:22:24 will it be over-generalized ? 06:23:19 You mean if it will be easy to port to other chips? 06:23:36 yes, and not only chips but full comps 06:24:00 or maybe Java bytecode, macromedia flash etc.. 06:24:30 Not really. It will of cours be possible, but the PIC is so stripped of CISC features so you'll have to modify quite a lot. 06:24:41 If you want good optimization on other chips. 06:25:26 Forth will be stripped, yeah ? no DOES> and self-modding code.. 06:26:56 Correct. 06:27:12 And some other limitations to help optimization. 06:27:37 I'm planning to use this for a system running at 8192 instructions/s. 06:27:57 * Serg thinks of Z80 ;)) 06:30:58 Got one of those, so one day maybe.. ;) 06:31:12 i have emulator only ;) 06:31:31 Well, I only have the chip itself - no computer. 06:31:42 Except an old c128d, but I have no monitor for it. 06:31:51 even wrote little Basic proggie - creep slow ! 06:32:12 nowdays folks use TV-in card for this kind of stuff 06:32:48 someone even made ZX in 5" slot - looks like PC w/ 2 kbd 06:33:32 Hehe, nice. 06:33:40 i missed the word, did he mount 3.5" floppy in the same volume 06:34:43 maybe, RU is the only country where new ZX are made ;)) 06:35:25 but come chips are not made anymore - for AYI, folks cannibalize old toy Yamaha synths ;) 06:35:57 Heh, you crazy people :D 06:37:07 paper-print ZX magazine was running till 1997 - looks like only crisis killed it 06:37:48 i mean industrial printed volume, not "sam-izdat" - this is running even now 06:38:20 i bought some year ago ;)) at demoparty 06:38:55 :D 06:39:47 now i think of making i-national passport and go to big summer party in f-Uckraine 06:41:54 Right, you're not married with that country anymore... 06:41:59 (here we have "inner" (a must) and "outer"(willingly) passports) 06:42:20 Oh, hehe 06:43:03 agro folks in "kolhoz" had no passports at all - kinda like slaves, could not leave their place 06:43:21 now they have right to have passport ;)) 06:43:32 both inner and outer ;)) 06:44:24 Ouch 06:44:42 Can't have been fun 06:44:56 here life is no fun :)) 06:45:37 poor ones who can't afford modern tech, live post-nuke life - collect surviving artifacts and make 1 live out of 2 dead 06:46:20 from camera or bicycle to harvesting machines to trains 06:47:24 Maybe that's why the good hackers come from RU ;) 06:47:36 yeah ;) 06:48:13 my 1st comp was 8086 from Bolgaria - at time of Pentium, coz i could not afford to 06:49:12 game "life" i wrote on it in Turbo Basic is dated 17 may 1997 - just missed anniversary ;)) 06:49:23 Heh :) 06:49:50 Until mom could lease a Pentium from her work, all I had used (in 1996) was an old Amiga at school 06:50:23 i wish i had to use ZX and Amiga ;) 06:50:33 haha 06:50:47 but i had to start rite from x86 06:51:05 Hehe 06:51:25 actually, i used 286 at school, .. 06:51:35 High school or uni? 06:51:35 I don't know what its like to be poor, I doubt it would be much fun =( 06:52:15 * Robert was raised in a ghetto 06:52:29 but the 1st prog i run on "BK-0001" at some guy's home - 16k RAM, soviet CPU designed after PDP-11 06:52:32 But they're pretty OK 06:52:41 hehehe 06:52:48 Robert: no, 11-year school 06:52:52 Serg: Ah, OK 06:52:59 So high school then? 06:53:20 maybe ;) it was maybe in 9 grade 06:59:34 fridge: men are poor coz trash in head, it's real pain 07:00:17 * Serg leaving 07:00:19 --- quit: Serg () 07:10:48 --- quit: I440r ("going to work :)") 07:54:20 --- join: Herkamire (stjohns@h000094d30ba2.ne.client2.attbi.com) joined #forth 07:55:11 --- join: I440r (~mark4@168-215-246-243.gen.twtelecom.net) joined #forth 07:55:24 Hi Herkamire :) 07:55:24 * Robert is coding Forth again. 07:55:24 First time in ages - feels good. 07:56:30 hi Robert :) 07:56:37 that's great you're coding forth again :) 07:58:58 Hey I440r 07:59:10 Good you're here, I need to bug you a bit about IsForth 07:59:55 How do I make its output go to a certain file? 08:11:15 --- join: wossname (wossname@HSE-MTL-ppp61147.qc.sympatico.ca) joined #forth 08:19:58 err open that file 08:20:35 theres an FD (a var) in one of the kernel source files (io.1?) that is for output. 08:20:55 save that, store you output file in that FD and EMIT and TYPE your data 08:21:13 Ah, thanks :) 08:21:32 when your done restore the output fd to its default :) 08:21:33 . also works with that I assume? 08:21:34 or quit 08:21:40 yes 08:21:48 Yeah, thanks :) 08:21:58 * I440r goes back to werk 08:22:05 OK, have fun 09:55:54 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 10:35:08 --- quit: qFox (Read error: 110 (Connection timed out)) 10:38:55 --- quit: wossname (":9") 10:39:28 --- join: crc (~Charles_C@0-1pool88-18.nas48.philadelphia1.pa.us.da.qwest.net) joined #forth 11:12:15 --- quit: Robert (Remote closed the connection) 11:16:00 --- join: proteusguy (~proteusgu@69.79.24.31) joined #forth 11:31:16 --- join: Robert (~snofs@c-bf5a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #forth 12:03:12 --- join: qFox (C00K13S@cp12172-a.roose1.nb.home.nl) joined #forth 12:03:13 --- quit: crc (Read error: 54 (Connection reset by peer)) 12:16:28 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 12:19:06 --- quit: tathi ("leaving") 12:40:41 --- join: proteusguy (~proteusgu@69.79.24.31) joined #forth 12:52:20 any feeling on CUPS vs Foomatic? 12:52:42 my driver works with both. 12:53:25 I'd like to be able to print text files, images, ps... 12:53:53 and I'd like to be able to set it up so the other computer (linux) on my local network can print 12:54:04 hi Herkamire 12:54:07 cups is better 12:54:09 hi slava 12:57:13 how goes herkforth? 12:58:09 slowly 12:58:17 but I'm making progress 12:58:37 today I added a message "ERR not compiled" when you try to execute a word from the command line that has not been compiled yet 12:59:28 why not just compile it automatically? 13:00:30 my editor doesn't know where definitions start and end 13:00:53 it can guess close enough to display defintions, but it's not always right 13:01:35 i see 13:01:54 dammit my database bootstrap code is a mess 13:02:03 parsing words are needed to read entries from the db, but the parsing words themselves are in the db 13:03:13 Herkamire, i have a question 13:03:28 Herkamire, in forth, why are some words defined like this: :noname ... ; IS some-word 13:03:31 instead of : some-word ... ; 13:04:21 dunno, maybe so you can some-word later? (and have all compiled calls to it go to the new definition) 13:04:49 i see 13:27:13 slava it keeps the dictionary clean. you dont get heaps of crufty words in the a given vocabulary and it also gives you a way to HIDE a word 13:27:30 isforth does it slightly differently. you switch into and out of headerless mode 13:28:30 in the above example "some-word" would be a deferred word 13:28:49 * slava curses at his poorly-designed db 13:28:51 i.e. a forward reference. the :noname word is being used to resolve the forward reference 13:29:15 i consider this to be very bad style, forward references are to be avoided where possible 13:29:33 i only have 2 deferred words in my source 13:29:34 i use em occasionally tho :/ 13:29:40 both are mutually recursive words 13:29:46 ive done that too 13:30:14 until yesterday forward references were allowed in my language; it was like an automatic deferred word 13:30:19 i put an end to that though :) 13:33:20 a good example of the TRUE purpose for deferred words would be "emit" or "key" 13:33:27 both are usually deferred 13:33:59 emit is usually deferred to (emit) which emits to stdout. but you can re-vector emit to send the char to the printer, /dev/null or where ever 13:34:20 forward references are taboo - but not disallowed :) 13:34:38 in my language you just change the stdio variable to point to a different stream object 13:34:48 no need to redefine words to do stuff like this... 13:35:16 what if you want emit to send chars to an encryption routine instead 13:35:33 write a stream that encrypts characters written to it 13:35:45 or to multiple files 13:36:05 : new-emit ( c --- ) dup (emit) foo-function ; 13:36:14 ' new-emit is emit 13:36:43 THAT is why deferred words exist. NOT so you can do forward references :) 13:43:05 it is funny, how i know little or nothing about belgium, a country i can literally walk to and reach TODAY (today has 1.25 hours left here), and yet know close to nothing about its jokes or w/e 13:43:28 and belgium speaks partially the same language as us... 13:43:37 --- join: tathi (~josh@pcp02123722pcs.milfrd01.pa.comcast.net) joined #forth 13:43:45 in fact i know more about english/american humor, then belgium... 13:44:05 well, humor, stuff, facts, ppl, y'know.. 13:44:07 Belgium is a swear word in most of the known universe, and where Hercule Poirot is from. 13:44:26 It's 60/40 Fleming/Walloon, or possibly the other way around. 13:44:34 Thus ends the bulk of my knowledge of the country. :) 13:44:39 yar fleming = dutch with a twist 13:44:48 some say its the other way around, i'll leave that in the middle 13:45:15 that part of belgium at some point was part of holland, untill the split a "couple" of years ago :p 13:46:26 i'm watching this show on a belgique (how do you say that... "a show from belgium, a belgium? belgique? ...) network 13:46:32 (serious) quiz 13:46:47 Belgian. 13:46:50 right 13:47:12 and some of the jokes, and stuff they talk about, ppl, places, i dont get/know. i find it kinda strange 13:47:37 not that i know that much about germany, but at least that is a different country :) 13:47:40 ehr 13:47:42 language. 13:47:56 --- join: rO|_ (rO|@pD9545878.dip.t-dialin.net) joined #forth 13:49:01 i blame school and tv. :p 13:50:32 Me too. 14:05:03 --- quit: rO| (Read error: 110 (Connection timed out)) 14:12:40 --- quit: warpzero (Read error: 60 (Operation timed out)) 14:19:34 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 14:23:20 --- join: lalalim_ (~lalalim@pD95EA8C2.dip.t-dialin.net) joined #forth 14:25:14 --- join: warpzero (~warpzero@dsl.142.mt.onewest.net) joined #forth 14:26:54 --- quit: lalalim (Read error: 60 (Operation timed out)) 15:25:14 I don't understand cup 15:25:17 s 15:25:24 I've tried to get it to work before. 15:25:38 cpus expects there to be /dev/usb1lp0 or some such 15:26:15 I don't know why there would be. 15:29:18 --- quit: rO|_ (".") 15:46:20 * arke is away: cake 16:08:23 --- quit: warpzero (Remote closed the connection) 16:10:05 --- join: warpzero (~warpzero@dsl.142.mt.onewest.net) joined #forth 16:13:08 I got a 64MB usb flash stick :) 16:14:36 * arke can't wait until 530pm 16:15:25 Why not? 16:15:56 well, sam gets off work at 5 16:15:56 :) 16:16:38 Oh. Has he promised you candy? 16:16:59 no 16:17:03 I just love talking to him 16:17:06 scratch that 16:17:08 I love him 16:17:17 just not in the pound-in-ass type of way 16:17:22 but in every other way, i do 16:19:40 Uhm. OK. 16:19:51 lol 16:31:51 * slava pounds arke in the ass 16:32:33 * arke watches slava's penis shrivel and break as it hits my invisible titanium Ass-Gate (tm) plate 16:32:40 ok lets stop now 16:32:59 anyone got a URL listing ANSI color escape codes? 16:33:34 slava: if you find something, lemme have it 16:33:42 I had one. 16:33:56 Check my programming links at robert.zizi.org - should be there. 16:34:17 Actually I think I implemented it in Primula. 16:36:21 i'm going to spice up my outer interpreter with some colors 16:36:32 :) 16:36:32 each wordlist will have a diff. color word words in it 16:37:09 slava: http://qualdan.com/misc/escape_codes is my notes on terminal stuff... 16:37:40 thx 16:41:02 ping tathi 16:41:07 ESC[#(;#)*m <-- what does this mean exactly 16:41:51 well i know what ESC is :) 16:42:02 And # is just a number 16:42:10 You can add any number of numbers 16:42:17 Separated by semicolons. 16:42:37 As you need one number to set fg color, one to set bg color, one for other attributes. 16:42:46 what is *m? literal *m? 16:43:03 Nah, multiplication with an integer (I think). 16:43:28 As in an arbitrary number of ;# 16:43:32 ah 16:43:51 So an example would be ESC[1;2;3;4 (and then whatever the end of it is) 16:44:34 yup yup. 16:44:43 are the # digits? 16:44:45 sorry, was busy for a minute there. 16:44:47 or the ASCII code for 37 eg 16:44:51 slava: a number 16:44:57 a number as a string? 16:45:01 you do ESC[ 16:45:03 yes 16:45:09 thanks. 16:45:13 followed by a string of numbers, separated by semicolons 16:45:17 ending with an 'm' 16:46:28 ESC[0m resets to default, ESC[34;43;1m sets blue background, yellow foreground, bold 16:46:32 etc. 16:47:36 thanks 16:47:55 Oh, so that's it. Long time since I messed with that, sorry I confused you :) 16:48:37 np 16:50:12 beautiful 16:58:05 slava: #frapiar 17:16:48 kc5tja will be here soon, yay 17:17:01 Heh. 17:17:15 Did he come over to your place for some petting? 17:17:24 heh 17:17:25 no :) 17:21:51 --- join: Sonarman (~matt@adsl-67-113-234-241.dsl.snfc21.pacbell.net) joined #forth 17:21:52 Sonarman: Hi matt 17:22:00 --- part: Sonarman left #forth 17:22:03 --- join: Sonarman (~matt@adsl-67-113-234-241.dsl.snfc21.pacbell.net) joined #forth 17:22:04 Sonarman: Hi matt 17:22:18 cheater 17:22:24 the first time wasn't :) 17:22:33 :) 17:22:37 --- join: blockhead (default@dialin-221-tnt.nyc.bestweb.net) joined #forth 17:22:44 (btw, I have you on my notify list, thats why) 17:22:50 #frapiar 18:19:26 --- quit: tathi ("leaving") 18:23:15 * arke is away: sushi 18:29:43 --- quit: qFox ("this is mirc's last attempt of communication...") 18:34:29 --- quit: Herkamire ("reboot to try new kernel with USB printing") 18:43:47 --- join: Herkamire (stjohns@h000094d30ba2.ne.client2.attbi.com) joined #forth 18:53:08 --- join: proteusguy (~proteusgu@69.79.24.31) joined #forth 18:56:39 sweeeet. my printer works 18:57:16 sweet 18:57:21 the 2nd page looks kinda crappy 18:57:29 but not bad for free 18:57:43 :F 18:57:45 er 18:57:46 LD 18:57:49 wow 18:57:51 :D 18:59:37 (we checked out a lot of free piles at a local collage the day after graduation 19:00:28 it was missing the power cord and usb cord (had a big fat cord (paralel or PC printer or something, but that's useless to me)) 19:01:09 but I stole the power cord from my playstation, and the usb cord for my old monitor, and after some hastle (had to recompile my kernel with USB Printing enabled) it works :) 19:01:26 aha you sound like me :) 19:01:30 *haha 19:04:23 took me a long time 19:04:34 I looked at the kernel config for USB and didn't see it 19:05:03 so I went for the "whine at my friends about it" aproach, and tathi spotted it in the kernel config 19:07:29 a few months ago i wanted to use Quartus Forth on the palm emulator but i couldn't hotsync the emulator without a unisex 9-pin serial cable, so i searched all over the house and couldn't find one, which drove me crazy. so the next day i bought one at radioshack, but when i tried using it the software didn't work 19:08:02 now that, children, is called "frustration" 19:16:07 --- join: kc5tja (~kc5tja@66-74-218-202.san.rr.com) joined #forth 19:16:11 --- mode: ChanServ set +o kc5tja 19:34:23 you lost me on "hotsync the emulator" 19:34:56 why would you need a physical cable to use an emulator? 19:35:08 because it's screwy :) 19:35:43 do you have to plug it into the computer? ;) 19:35:53 i did :) 19:36:06 what for? 19:36:17 do you have to download the rom off your palm or something? 19:36:34 greetings. 19:36:40 hi kc5tja :) 19:36:44 i connected ttys0 to ttys1 like it said to do, and i jpilot to sync to ttys0 and pose to sync to ttys1 like the instructions said to do, but no luck 19:37:16 god damn, that was a crappily-formed sentence 19:37:36 jpilot never worked smoothely for me 19:37:53 it never worked the first time. 19:38:00 I had to run it, kill it, then run it again 19:38:05 YES! 19:38:18 i kept doing that 19:38:22 I think I wrote a script for it. 19:38:23 I have yet to have **ONE** Palm hot-sync tool actually work under Linux. 19:38:27 jpilot & 19:38:31 sleep 1 19:38:36 killall jpilot 19:38:45 jpilot "$@" 19:38:48 or something 19:39:00 LOL 19:39:19 i had the same experience with the frickin thing 19:39:44 maybe it was the culprit 19:40:18 anyway, at least i have a 9-pin to 9-pin in case i ever need one :) 19:40:20 on top of that, I don't have a USB cradle, so I have to drag out my spare server sometime so I can back up my schedule. 19:40:58 wait... you were supposed to get a cable, and plug one end into COM1 and one the other into COM2? 19:41:03 yep 19:41:05 LOL 19:41:34 to what purpose? 19:41:46 to sync jpilot with the emulator :D 19:41:52 this does not sound like free software 19:41:59 sync it to where? 19:42:12 Herkamire: actually, it does. It sounds perfectly like free software. 19:42:25 it sounds perfectly like _software. 19:42:37 _software_ 19:42:45 these days 19:42:52 Herkamire: Consider all Linux kernels prior to 2.6 -- to use an IDE CD-burner, you MUST install a kernel module to make it LOOK like a SCSI, device, then enable SCSI in the kernel. Go figure. 19:43:31 i wanted to sync jpilot with POSE because i had Quartus Forth on the jpilot Db 19:43:56 oh, speaking of 2.6, would I notice any improvement(s) if I upgraded from 2.4.20 (on PPC) 19:44:15 I have no idea. I'm still using 2.4.2x right now. 19:44:38 anyway, now i need to check whether or not windows has decided to deny me access to my homework 19:45:13 i think it's been a year since i compiled a kernel on this PPC :) 19:45:36 I'm suprised your emulator doesn't let you change the device that it uses for serial 19:46:19 it does, but you can't just set the syncer and the emulator to the same device and expect it to work 19:46:27 I didn't have any luck getting an emulator to work at all... 19:46:43 on PPC? 19:46:59 I run linux on a mac 19:47:05 yeah me too 19:47:20 but the aforementioned fiasco took place on a PC 19:47:55 ok, now i'm going to try to pry myself away again 19:48:12 of course. mac's don't have those serial ports 19:49:19 19:49:19 i could've been using the ol' Performa :) 19:49:29 I wish they did though. That'd be one nice feature to have. 19:49:36 Sonarman: any interest in trying herkforth? 19:49:41 i have! 19:49:51 cool :) whad'ya think? 19:49:56 it's neat 19:50:03 hang on 19:50:19 kc5tja: yes, it would come in handy some time. I was happy to see regular serial and joystick ports on the pegasos 19:52:11 i can't think of the right way to describe what i think of herkforth 19:52:15 i like it though 19:53:07 :) 19:54:00 usability is still coming along 19:54:56 my goal right now is to get it to the point where I'm not tempted or required to use linux for programming on herkforth 19:55:19 i find your highly dense, highly factored coding style a bit strange :) 19:55:39 really? :) 19:55:54 i guess it's just so different from what i'm used to seeing 19:56:05 thanks :) 19:56:17 did you mostly spend time browsing? 19:56:25 yes 19:56:58 did you use the search stuff? 19:57:08 (I don't know what your version had) 19:57:19 yes, it was coo 19:57:21 l 19:57:29 what vesion did you try? 19:57:45 0.3, 0.4, and 0.5 :) 19:57:52 nice :) 19:58:39 hehe :) I've been compiling a list of people that will try it when it boots and/or works on Mac OS X 19:59:06 'nn all 19:59:12 'night blockhead 19:59:21 you can bet your ass i will 19:59:32 --- part: blockhead left #forth 19:59:44 unfortunately, my homework is getting lonely. i have to go 20:01:10 Sonarman: thanks for trying herkforth. I'm very intested in your thoughts (critical or otherwise). Very few people have tried it. 20:01:15 .clear 20:01:16 oops 20:01:50 kc5tja: I thought you used dvorak 20:02:08 I haven't yet taken the time to setup my keyboard mapping. 20:02:20 I'm not at all very fast with Dvorak though. 20:02:49 I'm not super fast, it's just that I'm rediculously slow with QWERTY 20:04:58 Hehhe 20:05:04 I'm pretty fast with QWERTY. 20:05:11 On a good day, with a good keyboard, I can type about 90wpm. 20:06:33 yikes! 20:06:39 I am definitely significantly less than that with Dvorak. 20:06:57 bummer 20:07:10 so it's just an ergonomic consern 20:07:19 Strictly. 20:07:48 I do need to do it at some point though, or have it configurable, so that I use Dvorak when writing documentation, and QWERTY when programming. 20:08:21 why not dvorak for everything? 20:08:42 Because Dvorak + VIM don't really mix. :) 20:08:53 I suppose. 20:09:00 I did remap a lot of vim keys 20:09:08 so ncht move the cursor 20:09:40 Oh, so you don't use a linear string of keys on the home row for movingthe cursor? You use an inverted-T configuration? 20:09:51 yeah 20:09:57 I never got used to anything else 20:10:18 from video games I guess 20:10:28 :) 20:10:46 I like the idea of having the 4 keys under one hand be the 4 directions 20:10:52 especially for video games 20:11:02 Sure. 20:11:13 in x pilot I do considerably better going up and down because I can switch left/right much faster than up/down 20:12:10 s/x pilot/xkobo/ 20:12:26 I haven't played xpilot in years 20:12:26 I'm not familiar with xkobo. 20:12:30 In fact, I never heard of it before. 20:12:36 oh, it's my favorite linux computer game 20:12:40 xtank is my favorite game for X. 20:12:44 dunno why it's not popular 20:12:51 maybe because the graphics are small 20:12:51 Oh, that game is what caused me to flunk a semester at Clarkson University. :) 20:13:27 http://freshmeat.net/projects/xkobo/ 20:13:30 maybe it's time to come out with a newer, more modern version of XTank, and call it, XTank-II. :D 20:15:15 Downloaded. 20:15:18 I'll have to try it. 20:15:37 I have BZF -- that game is great. 20:15:44 it's a nice size if you turn down the resolution on your monitor 20:16:08 Can you resize the window to a larger size and have it scale the pixels? The screen shot made it look like you could. 20:18:34 there is a port to SDL which doubles the size. but that version is not as fun 20:20:01 It's broken. 20:20:12 I follow the installation instructions, and it won't compile. 20:20:15 It doesn't even *try*. 20:20:20 No error messages, nothing. 20:20:30 bash-2.05b$ make 20:20:30 rm -f xkobo._man 20:20:30 cd `dirname xkobo` && \ 20:20:30 ln -s `basename xkobo.man` `basename xkobo._man` 20:20:30 rm -f xkobo.1x.html xkobo.1x-html 20:20:32 rman -f HTML < xkobo._man \ 20:20:34 > xkobo.1x-html && mv -f xkobo.1x-html xkobo.1x.html 20:20:37 bash-2.05b$ ls 20:20:52 crap, that link I gave you is not to the version I like 20:23:09 some of the #($*@ ships don't blow up when you shoot them 20:23:52 Heh 20:24:02 I had to type "make xkobo" to build the game. 20:24:05 Seems interesting. 20:24:11 Also seems rather repetitive too. 20:24:30 My favorite game, however, continues to be Missile Command. :) 20:30:33 kc5tja: hi, how was work? :) 20:31:16 --- quit: Sonarman (Read error: 54 (Connection reset by peer)) 20:31:17 arke: Nice. It's relaxed, but there are a LOT of details to be aware of. 20:31:29 One slip, and a network compromise can happen. 20:31:37 heh 20:31:43 They are tightwads about security, and rightfully so. 20:31:46 I'm sure you'll do fine :) 20:31:50 ^__^ 20:31:51 Oh, I'm sure. 20:31:59 It'll just take me a while to get back into the ISP groove again. 20:32:04 :P 20:33:06 that does it, I'm going to host my own version. 20:33:42 kc5tja: try this one. I had the same build problem with 1.11+w01 20:33:43 http://jason.herkamire.com:5000/xkobo-1.11-jason.tar.bz2 20:34:28 note that you type "make xkobo" not just "make" I edited the README accordingly 20:35:19 w01 worked fine for me. 20:36:32 but it's not as fun... 20:36:56 gimme a second. 20:37:25 w01 has ships that take many shots to kill, and some weird stuff that follows you around that you can't kill at all 20:38:07 the only change I made was to slow down the exploding 2boms and 5bombs 20:41:59 * kc5tja nods 20:42:20 It does change the game play a bit. 20:42:22 hmmm... maybe I didn't with this version 20:43:25 I ran a diff on a couple tarballs I had laying around, and the only differences are trivial variable type stuff that I changed to get it to compile without errors 20:50:24 kc5tja: btw, no trolls in #frapiar --- hint :) 20:50:27 Herkamire: same 21:16:11 --- quit: slava (zelazny.freenode.net irc.freenode.net) 21:16:25 --- join: slava (~slava@CPE00096ba44261-CM000e5cdfda14.cpe.net.cable.rogers.com) joined #forth 21:22:02 --- quit: warpzero (Read error: 60 (Operation timed out)) 21:27:46 kc5tja: hey 21:28:01 kc5tja: for practice, I'm writing VESA code in pygmy :) 21:32:39 Cool 21:32:45 Took a short nap. 21:32:54 I felt like I had the phone ear piece on while napping. :) 21:34:38 :) 21:34:50 kc5tja: how long do usb flash sticks last? forever? 21:36:17 --- join: warpzero (~warpzero@dsl.142.mt.onewest.net) joined #forth 21:48:58 Sinec they're solid state, I would expect around 10 to 20 years. 21:49:05 Since even 21:51:59 YAY! 21:52:00 :) 21:52:16 so i can run pygmy directly off of it 21:53:05 huh. xkobo does have a -doublesize option that works quite well 21:53:13 I feel quite silly that I didn't know that. 21:53:36 I probably did at some point when my graphics drivers were really slow, and didn't use it because it made the framerate bad. but it's good now. 21:56:30 does anybody here happen to know where pygmy defines ; ? 21:58:04 arke: Type in "COMPILER VIEW ;" at the OK prompt. 21:58:08 It'll show the definition of ; 21:58:47 duh 21:58:48 lo 21:58:49 lol 22:03:19 you know how I could implement tail-recurse easily in pygmy 22:04:58 --- join: wmg (~weldon@bgp02689673bgs.flrdav01.dc.comcast.net) joined #forth 22:07:58 --- join: Serg (~z@212.34.52.140) joined #forth 22:08:15 hiya 22:08:22 hi 22:08:46 kc5tja: doesn't do the same for : 22:08:56 oh, found it 22:09:04 That's because : isn't a compiler word. 22:10:13 aah 22:10:13 ok 22:10:16 dammit 22:10:59 I'm trying to get the address of the current word 22:11:11 so that I can have TREC be a JMP, 22:11:14 what file format u suggest for game levels (open terrain): some GIS, TIFF, DEM 22:11:47 i wanna use existing editors to create them ;) 22:11:51 you mean to describe a map? 22:12:00 Serg: No idea. Since you include TIFF there, which is an image format only, I would just use PNG. 22:12:06 lots of games use an ascii map description 22:12:08 But as far as what GIS or DEM are, I have no idea. 22:12:22 GIS has way too much overhead unless you're doing urban RTS games 22:12:28 GIS are Geo-Info Systems 22:12:45 DEM is terrain format from many landscape renderers 22:13:40 but i need not only heightmap, but plants/roads/encounter zones etc.. 22:14:25 kc5tja: do you have any idea? 22:14:31 kc5tja: for tailrecursion? 22:14:48 kc5tja: PNG is out coz lack of ZLIB in Forth 22:14:53 arke: PygmyForth does not use native code compilation. 22:15:03 ... 22:15:20 arke how tail recursion is handled seems like it would depend a lot on how your forth does "next", right? 22:15:38 hi 22:15:45 all i want is CODE TREC CURRENT-WORD-ADDRESS AX MOV, AX JMP ; 22:15:48 since it's not just tr but tail calls in general that's in question here 22:15:48 tail recursion is nice to have 22:15:54 wmg: Yes, it's intimately related. It's also intimately related to how a word's prolog code is implemented too. 22:16:31 arke: Does CURRENT-WORD-ADDRESS refer to a CODE word or a : word? 22:16:52 kc5tja: possibly something inline to find the curent word address 22:16:55 whatever 22:17:02 i just need tailrecursion :) 22:17:18 arke: You did not answer my question. 22:17:36 kc5tja: either one, whichever works best. Or inline too. 22:17:42 it doesn't exist yet 22:17:44 i need it 22:17:50 or something that does its job 22:18:13 You can't get tail-call recursion in PygmyForth. 22:18:21 why not? :( 22:18:24 At least, not for :-definitions. 22:18:33 Because it's not native code. 22:18:33 how come 22:18:40 It's direct-threaded code. 22:18:40 neither is isforth 22:18:51 and mark made a tail-recursion for it 22:19:01 Jumping to the word's address will push a return address on the return stack. 22:19:26 that can be dropped 22:19:31 See the definition of : or CREATE -- both use the (IIRC) HEAD word to create a new word header. 22:19:38 yeah 22:19:55 : : HEAD $E9 C, lit docol HERE 2 + - , SMUDGE ] ; 22:19:58 Well, then you don't need anything funky either. 22:20:05 good old smudge 22:20:07 : FOO RDROP ...code... RECURSE ; 22:20:30 what does smudge do? 22:20:44 arke: It makes the hidden or visible -- it's a toggle. 22:21:05 eh? 22:21:51 : FOO FOO ; <-- "FOO?" (Pygmy can't find FOO because it's not yet visible in the dictionary; ; makes it visible via another call to SMUDGE.) 22:22:23 oh 22:22:24 This might actually work, though: : FOO [ SMUDGE ] FOO [ SMUDGE ] ; 22:22:24 so 22:22:40 why do I want to unsmudge it? 22:22:47 You don't. 22:22:54 Not unless you're writing your own compiler. 22:24:18 : :REC COMPILE : SMUDGE ; 22:24:20 bleh 22:24:21 that won't work 22:24:23 heh 22:24:36 isn't there an easier way? :) 22:25:30 what's the compiler design called that isn't direct or indirect; just every "next" is a CALL? 22:25:52 er 22:25:56 subroutine-threaded? 22:26:02 yeah, thanks 22:26:14 :) 22:26:23 that seems like the best kind of system to do what you're aiming to do in 22:26:23 wmg: Subroutine threaded, but also native code. It depends on how sophisticated the compiler is. 22:26:44 since threading makes the question "what is a word's address" non-trivial 22:27:07 kc5tja: can I get the current word address? 22:27:11 somehow? 22:27:42 IIRC, it's CURRENT @, but I'm not too sure. 22:27:55 It's been at least a year and a half since I last used Pygmy. 22:29:27 no, doesn't know CURRENT 22:30:42 Trace the definition of COMPILE then. 22:30:55 It's gotta be (indirectly) determinable through there. 22:31:18 : compile pop dup @ m cell + push ; 22:31:28 er 22:31:44 : compile pop dup @ , cell + push ; 22:31:45 doesn't "begin" push the current word address, if briefly? 22:32:01 wmg: No. 22:32:17 wmg: BEGIN pushes the current instruction location (usually HERE). 22:32:24 * kc5tja thinks... 22:32:26 oh right 22:32:32 * kc5tja smacks himself 22:32:36 the control stack and I never got along... 22:32:38 arke: Look at the definition of SMUDGE. 22:33:13 : SMUDGE PREVIOUS $20 XOR SWAP C! ; ( flip bit 5 of len byte) 22:33:40 --- quit: proteusguy ("Leaving") 22:33:42 --- part: wmg left #forth 22:34:23 OK, I don't know. I'd have to have a Pygmy session in front of me to tell you. 22:34:28 I know very well there is a way to do it. 22:34:36 --- quit: Herkamire (Read error: 54 (Connection reset by peer)) 22:34:55 PREVIOUS apparently returns the last declared word's length byte. 22:34:59 dosemu and dosbox both emulate pygmy very well :P 22:35:14 arke: I'm not about to spend that kind of time getting it running just to answer this kind of question. 22:35:19 hr. 22:35:22 That's a significant amount of work. 22:35:34 kc5tja: is the PREVIOUS byte updated as it compiles, or only at the end? 22:35:47 Whenever SMUDGE is called, apparently. 22:35:54 What's the definition for ; look like? 22:36:12 \ recursive pop drop compile exit ; 22:36:15 completely weird 22:37:26 Is that what you get from COMPILER VIEW ; ? 22:37:34 yeah 22:37:44 \ is a comment though, right? o.O 22:38:08 --- join: Herkamire (stjohns@h000094d30ba2.ne.client2.attbi.com) joined #forth 22:38:22 Not in Pygmy. 22:38:32 \ is equivalent to [COMPILE] in ANSI Forth. 22:39:11 heh 22:39:27 : RECURSIVE PREVIOUS $0DF AND SWAP C! ; 22:40:14 So the definition of PREVIOUS has something to do with getting the current word being defined. 22:40:47 : PREVIOUS ( - a n ) CONTEXT @ HASH @ 2 + DUP C@ ; 22:41:13 hrm. 22:41:14 OH!! 22:41:17 I GOT IT! 22:41:39 : CUR-WORD PREVIOUS - ; 22:41:58 Or maybe + 22:42:00 er 22:42:02 + rather 22:42:03 yeah 22:42:05 I think it stores the name in front of the word header. 22:42:59 : boobies DUP DROP ; ok 22:42:59 PREVIOUS . . 7 18116 ok 22:42:59 ' boobies . 18124 ok 22:43:35 So, : CUR-WORD PREVIOUS + 1+ ; 22:43:53 awesome 22:44:07 now 22:44:16 how to make a word that compiles a jump to there. 22:46:54 Hmm, just read up on ICE (a small, lightweight CORBA-inspired replacement). 22:47:12 bleh. 22:47:14 It's substantially leaner than CORBA, but it still makes the same critical failures that CORBA makes. 22:47:34 * kc5tja is afraid that COM is still the clear winner for use in Dolphin's application run-time environment. 22:47:38 how could I have a word compile in a constant JMP,? 22:47:49 this is eluding me 22:47:50 it shouldn't 22:47:51 but it is 22:47:59 Um, you can't in a colon definition. 22:48:05 That's what I've been trying to tell you all along. 22:48:10 You can ONLY do it in a CODE word. 22:48:21 hrm. 22:48:29 could I PREVIOUS + 1+ in a codeword? 22:48:32 somehow? 22:48:53 Certainly. CODE words are smudged just like any other word. 22:49:14 how would I do that then? 22:49:18 I'm really at a loss as to why you're trying to shoe-horn tail-call optimization in Pygmy though. 22:49:22 all I need is the compile-time call to PREVIOUS 22:49:36 umm....CUR-WORD JMP, ? 22:49:47 that'll work!? 22:49:50 SWEET! 22:49:54 lemme try 22:50:15 CODE FOO CUR-WORD JMP, END-CODE ought to endlessly loop if executed. 22:51:23 yep 22:51:25 ya 22:51:26 yay 22:51:27 thanls 22:51:49 :) 22:54:04 Man, I just plain need to clean my computer. That's all there is to it. 22:54:20 I a 10GB and a 20GB partition, both of which are over 90% used. 22:54:37 Think about that. Almost 30GB of schtuffe, and I have no idea what 90% of it is. :D 22:54:42 heh 22:54:48 Time to start making use of my CD burner I think... 22:54:54 :) 22:58:11 From 386MB to only 60MB -- I love oggenc. :-) 23:01:47 :) 23:05:01 heh, time to start use /dev/null burner ;)) 23:05:31 i got over 20 gig of music from a friend, and dunno how puff down it's bitrate saving tags ;(( 23:05:52 puff down what? 23:06:08 bitrate, quality, filesize 23:06:09 Serg: For most things, yes. 23:06:30 But, /mnt/orca/home/kc5tja/Documents will be merged with my current /home/kc5tja/Documents directory, etc. 23:06:38 Because there are still important materials I want to keep. 23:06:47 Much duplication too, of course. 23:06:47 --- join: fridge_ (~Jim@CommSecureAustPtyLtd.sb1.optus.net.au) joined #forth 23:07:16 i need a proggie what walks tree and recodes each MP3 file to lower bitrate, keeping ID tags 23:07:20 --- quit: fridge_ (Client Quit) 23:07:35 i asked in alt.music.mp3 - zero result 23:07:54 they adviced me dbpoweramp.com - but it glitches :(((( 23:08:15 and i failed to fix 23:10:04 what a pity - 20G wasted ;(( the music is not very valuable 4 me, so 256 stereo -> 32 mono ;) 23:11:50 20GB of MP3-encoded music is a LLOOTT of music. 23:12:23 I'm looking to save some scratched CDs (about 8), plus a few handfuls of other CDs of mine that I've ripped/Ogg-encoded, on a single CD. 23:17:42 * arke is away: sleep 23:21:03 --- quit: Serg () 23:51:56 my music dir is 2.4GB 23:52:55 more than half of it is mono ogg 23:53:23 well, more than half of the number of files that is 23:53:47 i'm recording at 75% quality lots of stereo songs. 23:54:02 But it'll take something like 20 songs to even approach 1GB of space. 23:54:21 err...sorry, 20 albums. 23:56:09 I've ripped all but a few of my CDs, and the ones I liked from various roommates over the last 5 years 23:56:21 Hehe :) 23:56:45 I just want to archive my current set of CDs, so I don't have to have them taking up space on my desk. 23:56:59 I've never borrowed a CD to take it home and rip it. except from the library a couple times. 23:57:05 If I put all of them, ogg- or mp3-encoded, on a small handful of CD-ROMs, that'd be nearly ideal for me. 23:57:21 I like having them all on my HD 23:57:36 I almost never crawl under my desk to use my CD drive 23:57:49 Yeah, but HDs tend to fail, or you forget about them when installing Linux again, etc. 23:58:06 I did this week to try to play a DVD, and found a CD that must have been sitting in there for well over a month. 23:58:22 I have my data backed up 23:59:08 If I were to get a TV out card and a TV capture card, I would consider making some software to back up the computer to VHS. 23:59:37 :) 23:59:49 how much data can you get on a VHS? 23:59:56 Depends on the tape length. 23:59:59 --- log: ended forth/04.05.24