00:00:00 --- log: started forth/05.09.14 01:31:45 --- quit: Amanita_Virosa ("Soooo very tired.") 02:02:33 --- quit: Quartus (Remote closed the connection) 04:27:41 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 05:21:51 --- join: amca (n=plump@as-bri-3-137.ozonline.com.au) joined #forth 05:48:31 --- join: Quartus (n=trailer@ansuz.pair.com) joined #forth 05:55:47 --- join: aardvarx (n=folajimi@shell2.sea5.speakeasy.net) joined #forth 05:56:10 Good day, all. 06:14:07 --- join: PoppaVic (n=pete@0-1pool46-170.nas30.chicago4.il.us.da.qwest.net) joined #forth 06:14:44 Howdy-doody 06:15:46 --- quit: tathi ("playing taxi...") 06:30:33 Hello 06:30:58 Good morning 06:32:01 Good evening :) 06:32:02 amca: per request yesterday, I threw a post to Quartus' Wiki 06:32:19 http://quartus.net/cgi-bin/twiki/view/Main/ForthishCvm 06:32:53 thanks 06:37:27 PoppaVic: Looks good. Pretty much what I was asking, thanks :) 06:37:36 welcome 06:38:00 trying to beat the headers some today... Codifying expectations and extensibility better. 06:38:24 hehe 06:39:02 well, as I've mentioned.. a lot of ideas are jammed in my head, and then I have to reconcile brains to structs and such. 06:39:09 hehe yep 06:39:41 Does converting you r head ideas into comments and then headers and then code work? 06:39:43 I felt bad yesterday, it took me forever to realize that Quartus was unaware that I was trying for offset/relative "compiling" 06:40:08 it always has for me Sorta' a top-down and then bottom-up design-process 06:40:50 until I have some ideas to work within, I don't like writing code. If the code gets gnarly, I then review the structs for any needed changes and recycle. 06:41:16 I understand the top-down bit, but I dont think Ive gotten the 'bottom up' bit properly. How would you describe the bottom up bit? 06:41:55 bottom-up programming tends to imply slamming out code w/o an api in mind - like starting with assembly and working toward perl or something 06:42:02 :/ 06:42:14 But how does that fit in with top down design? 06:42:50 however, if you have an API (headers/structs) and such with which towork (top-down), then you can start writing code (bottom-up) that tries to stay within the universe 06:43:15 So you sort of write towards the middle? 06:43:18 yes 06:43:25 Ah 06:43:40 What is wrong with just totally writing top down? 06:43:40 ..and, if something is obviously WRONG, you can usually make a few middlin' changes and not cry too much 06:44:15 well, totally top-down generally means "This is the absolute API, just do what I asked and submit the code" 06:45:06 from the view of a group-project, it prolly IS efficient, because no one guy is stuck rewriting the universe 06:45:10 I was thinkiig more of complete top down. Start with general design, then refine, refine, refine, until the final refinement is actual code 06:45:58 stepwise-refinement: sure, that works as well. My system simply makes my programming more fun and sufferable, since I often have to learn/relearn/find-limitations "on-the-fly" 06:46:39 * amca nods 06:47:03 I tend to do stuff object oriented/abstract data structures like. 06:47:14 Or try to :) 06:47:35 sure. or, as I show in fovm.h: context-passing code 06:49:36 As in code that has its functions operated on a reference to a particular context/data structure instance all the time? 06:49:45 right 06:49:49 FOVM *fovm being the context? 06:50:06 and, if the struct can point at a vtable, yer even better off 06:50:12 rightright 06:50:37 vtable? 06:51:42 a vtable is a vector-table or struct/array of func-ptrs. For even better efficiency, struct->vtable->fptr[etc] 06:51:50 as in a table of functions to do the particular standard operations on a particular context? 06:51:56 right 06:52:01 Do you know anything about the linux kernel? 06:52:27 and, by using a ptr-to-vtable, you savespace per struct, and with funcptrs, you can change behaviors 06:52:38 I avoid the kernel like plaque 06:52:42 or plague 06:53:35 hehe. For each FS device driver, the device driver has to provide its own functions for file operations such as 'open', otherwise the default file operation is used. So would that be a vtable? 06:54:49 --- join: JasonWoof (n=jason@pdpc/supporter/student/Herkamire) joined #forth 06:54:49 --- mode: ChanServ set +o JasonWoof 06:55:05 PoppaVic: Ill find the url for it. 06:55:19 back again. 06:55:36 amca: sure, like dbopen works 06:56:25 dbopen? For opening genric databases in a particular C library? 06:56:34 ioctls now.. Never sure how they'd be best implemented. But, with a vtable of ptrs and ioctls, yer cookin' 06:56:41 amca: sure - see the manpage 06:57:21 PoppaVic: I really need to get Linux In A Nutshell and read through all the manpages 06:57:32 not me. Not even interested 06:58:20 the linux kernel/system - all of *nix - needs a moritorium on features and a generational-merge and rewrite 06:59:04 PoppaVic: With what end? 06:59:29 cleaner code, better portability, etc. Too many monkeys with keyboards 06:59:51 hehe 07:00:35 50,000 monkeys with 50,000 keyboards canrt be wrong ;) "It was the best of times, it was the *blurst* of times?!" 07:01:31 something like that... A horrendous number of monkeys with horrendous mixes and masses of code just keep making the whole thing a teetering giant. 07:03:11 But isnt that the open source mechanism? 07:04:27 I suppose. But, the idea of stop/review-rewrite-release/begin seems to be foreign. 07:05:54 I suppose that is up to the project leader. So it would be Linus's fault for the kernel fugliness 07:06:15 yep 07:06:51 At this point, I would have to question wether tis even POSSIBLE for him to do so. 07:07:48 Without dissenring forks in the code appearing? Possibly not 07:08:33 http://lxr.linux.no/source/include/linux/fs.h#L922 <-- the struct is a vtable, right? 07:08:58 s/struct/struct file_operations/ 07:09:20 ewww, shit that is ugly! Yeah, that's a vtable 07:10:22 hehe 07:10:56 Are you able to say what you find ugly about it? 07:11:21 yes. I'd have used typedefs for every single type of function in the table. 07:11:32 I HATE embedded funcptr-proto 07:12:46 so it would be more like struct file_ops { open_func open, release_func release ... ? 07:13:14 sure - something like that is MUCH more readable, and you-too can use a ptr to the 'type' 07:13:56 --- join: virl (n=hmpf@chello062178085149.1.12.vie.surfer.at) joined #forth 07:14:21 so what would the typedef of open_func look like? (Im not saavy with pointers to functions) 07:14:49 typedef FOVM* (*fffp)(FOVM*); 07:15:04 struct gluon_ 07:15:04 { 07:15:04 fffp *glue; /* Array-ptr: all ops */ 07:15:04 #if defined(FOVM_DEBUG) 07:15:04 char *ID; /* string, member: identity */ 07:15:07 #endif 07:15:09 }; 07:15:19 in fact, just 'glue' - not "*glue" 07:15:44 * PoppaVic has been reorganizing a bit - and that is not a list-ptr anymore 07:15:54 so open_func would be: 07:16:48 same as they do, but a typedef - switch in open_func for their var; and then use "open_func ;" 07:16:50 typedef open_func* (*int) (struct inode *, struct file *) 07:16:51 " 07:16:58 ? 07:17:09 no. see the typedef above 07:17:47 typedef (*)(); 07:18:03 then, " ;" 07:18:09 ah 07:18:48 so 'typedef int (*open_func)(struct inode *, struct file *)' 07:19:08 yah 07:19:15 I was confused as to where the return type and typedef identifier went 07:19:44 and, of course, it is always advisable to use ~3-chars of 'prefix_' for a "namespace" thing. 07:19:57 PoppaVic, in all fairness to the kernel developers, I don't think that they intend to churn out garbage; I would have to imagine that handling a project of that magnitude is no small feat. 07:20:07 aardvarx: I agree 07:20:27 They probably have a review process in place. 07:20:29 so it would be sensible to call it fs_open_func then? 07:20:40 I just wish they'd halt for awhile and do their goddamnedest to rewrite/organize and INSURE we get something that can permeate the universe ;-) 07:20:48 It may not seem like it because it's not perfect; 07:21:00 amca: how about just fs_open ? ;-) 07:21:28 You just wait until Metabuilder blows up; then you'll see what it's like to have an outsider heckle you! 07:21:35 PoppaVic: I thought about that for a sec... :) 07:22:06 amca: even fs_op## would work fine 07:22:24 (just not as readable to humans) 07:22:29 op##? 07:22:38 op01, 02, etc 07:22:43 ah 07:22:46 Nasty 07:23:04 well, whatever makes for the easiest mnemonic and typing 07:23:13 * amca nods 07:24:07 how about: ... FSFP("open", "op00") 07:24:08 hehe 07:24:25 use the pasting-macro 07:24:28 FSFP representing? 07:24:43 As in the acronym represents? 07:24:48 File System ...? 07:24:51 Where can I find the logs for yesterday's conversations? 07:24:54 Function Pointer? 07:25:16 #define FSFP(t,n) fs_##t fs_##n 07:25:26 Are there logs of #forth online? 07:25:45 not sure, aardvarx - but that wiki is "ready" - although I'll have to edit the header-pastes today 07:26:11 There was something important I asked you to include yesterday... I think you forgot 07:26:17 ... and so did I :( 07:26:22 lol 07:26:28 damn. Actually, it'd be: FSFP(open, op00); 07:26:57 aardvarx: I'm not suprised, I was a cat on a hot-tin-roof - dancing around my code, the channel and the wiki 07:28:21 :( 07:28:41 thinfu, are records of irc logs available? 07:28:55 never fear, one of the guys can point you to the log and you can post to wiki whenever you find it. 07:28:55 aardvarx: You dont log your irc chats? 07:29:07 amca: too damn much drive-waste 07:29:34 PoppaVic: Depends how big a drive you have 07:29:38 How do you even log irc messages? 07:29:41 waste is waste 07:29:46 lol 07:29:53 you generally set a flag and point to a dir 07:30:26 [amca@anakin tmp]$ du -sh ~/xchatlogs/ 07:30:26 I've done such for very important sideline-discussions 07:30:26 56M /home/amca/xchatlogs/ 07:30:37 That doesnt look like too much for me 07:30:39 :) 07:30:43 PoppaVic, you mean thinfu ? 07:30:49 amca - great, so you can grep for aardvarx ;-) 07:31:10 Well I need to know what time aardvarx was asking the Q 07:31:19 aardvarx: What client do you use? 07:31:34 huh? No. I meant, occasionally I might create & close a channel, invite a few guys to debate a few issues, and save THAT log so we all can get back to coding "with notes" 07:32:19 PoppaVic: When my chatlogs dir starts getting larger than the pr0n dir, *that's* when I start being concerned about disk space ;) 07:32:26 I don't normally log, because I tend to chat in ##C, #forth and sometimes #asm 07:32:55 amca, I use irssi; the question I believe was asked between 08:00 and 09:00 07:33:01 amca: as I don't "porn", I don't worry - although, I did have some decent pinups on the other machine for "wallpaper" ;-) 07:33:32 hehe 07:33:33 I could be wrong, but I think PoppaVic's comments of interest were at 08:53 07:33:45 aardvarx: Ill have a look to see if I was online 07:34:23 * aardvarx crosses fingers... 07:34:33 amca: well, on this laptop - I occasionally place it in my mothers lap so she can email other relatives.. I submit that her seeing some FINE rump might just jar her into a stroke. 07:35:02 aardvarx: did you check the quartus-site and see if they had the logs? 07:35:29 G'morning men! 07:35:35 aardvarx: I just realised we are in different time zones. How many hours ago was 8:53? 07:35:37 lo, ray 07:35:50 hehe 07:35:56 PoppaVic: Does she have any money ;) 07:35:59 Hi Ray 07:36:28 amca: Umm.. unfunny - initiate punishment level 2 for 5 minutes. 07:37:39 * amca ouches 07:38:59 Losing dad, drying mom out, and nursing gramp before losing him sorta' colors yer view about family. 07:39:15 Drying? 07:39:30 although - mind you - there are days you want to throttle folks. 07:39:38 amca, Twenty-three hours ago. 07:39:56 amca: as in the local equiv of "Betty Ford Clinic" 07:40:03 PoppaVic: Sorry. I have a morbid sense of humour. Even when it comes to my close family members dying. Ill be more mindfull 07:40:28 s'ok - np. Just be a bit more considerate for other folks ;-) 07:41:00 Insulting their dogs works; and (of course) I still feel "Married with Children" is classic. ;-) 07:43:07 aardvarx: Any idea what the important Q had to do with at all? I cant see anything that looks like an important Q that PoppaVic will get back to you about. 07:43:50 It wasn't a question; it was an answer to a question I asked about the purpose of what PoppaVic is doing (I think.) 07:44:02 aardvarx: can you recall after seeing the wiki? I know we had a huge poppa/q discussion later that culminating in Q understanding I was thinking relocatable pcode 07:44:22 I'm reading the wiki now... 07:44:28 ok 07:44:31 I think I was offline then, looking at the logs :/ 07:44:48 yeah, amca - I think you had left 07:44:57 lol 07:45:03 PoppaVic, it was something elementary, probably nothing you'd think much of. 07:45:07 in about 15, I'll need the horn - and then return for awhile 07:45:19 wish my parrents would dry out. :( 07:45:25 PoppaVic: Is that because you were actually starting to enjoy the chat at that time? ;) 07:45:28 aardvarx: well, I will answer as I can, and listen to suggestions in any event 07:45:57 amca: not in the least, I just recall a drop-off in activity. 07:46:10 PoppaVic: i read your wiki entry yesterday, I think I have a better idea what you are `going for' . 07:46:25 Ray_work: they have to decide for themselves. In our case, Ma' woulda' died very, very soon. 07:46:34 Well, why do you need a VM? Is XEN not the kind of VM you're speaking of? 07:46:47 Ray_work: cool. I tried to gather together a lot of random ideas 07:47:02 aardvarx: think of it as a "bytecode engine" 07:47:39 Is fovm_map for IO mmapping? 07:48:07 umm... oh. No, it's based on tathi's mmap ideas 07:48:20 I'm not even sure I'll worry about it overly. 07:48:33 Is it like JVM or MS-VM? 07:48:49 * aardvarx watches for anyone who draws a weapon... 07:48:53 What is it mapping to memory? 07:48:57 I don't do M$ at all, and I never (deliberately) run java 07:49:23 aardvarx: Somewhat. Both are stack based vms, but the relation between them is probably thin 07:49:23 amca: you get a space for file-access. I'm not sure I'd bother with it there 07:49:42 So it is for IO mmapping :P 07:49:46 Quartus, do you have logs of the conversation we had yesterday? 07:50:05 amca: yeah, I've never used mmap - and I'm not sure we need it there 07:50:15 Like a BLOCK thing 07:50:33 PoppaVic: You always used a seperate IO space? 07:50:41 Or just stayed away from h/ware? 07:50:48 amca: no. more like... well, I keep thinking it's not much better than just a large malloc'd buffer 07:51:29 Arnet BLOCK stuff in Forth just file buffers? 07:51:34 I've not even focussed on the i/o wordset/opset - I've been tinkering with structs and such 07:51:42 forget BLOCK. 07:51:54 think of "working-spaces" 07:52:18 as in "No. You cannot access all RAM or leave yer area-of-operations" 07:52:33 hmmm...unless I dont understand BLOCK accessing enough, it sounds the same to me 07:52:43 and maybe "Herein is the loaded image plus any space for extension" 07:53:07 historically, BLOCK access is 1K chunks. 07:53:30 I have no idea what spaces I will need at this time - I can merely make guesses. 07:54:17 Now, looking at those func-proto.... Imagine fovm_ctor and the mapping stuff comes first; or you fovm_load an image 07:54:36 ctor means what again? 07:54:45 constructor 07:54:48 ah 07:54:58 ..it'd malloc and preset the struct 07:55:32 preset meaning spaces, bases, etc 07:55:42 mapped/buffered into the VMs memory space? 07:55:57 yes, that is what mmap would do. 07:56:07 brb... lemme make that call.... 07:56:08 --- quit: PoppaVic ("Pulls the pin...") 07:56:43 I need to ask a lot of questions, but I don't want to wear down the channel... 07:57:05 aardvarx: Try one for me. Lets see how bad my brain is right now 07:57:11 perhaps a FAQ for ninnies would help. 07:57:34 Okay, what is the purpose of this VM? 07:57:47 --- quit: saon_ (Remote closed the connection) 07:58:05 Let me re-read the page again, but I guess either just as an exercise, or for platform independance 07:59:07 Very well. 08:00:41 Looks like it is meant as a generic VM, rather than specifically built for a specific application, although it looks like PoppaVic's Metacompiler project is going to use it in the future 08:02:08 --- quit: saon (Read error: 104 (Connection reset by peer)) 08:02:20 Have you heard about bootstrapping compilers? 08:05:39 --- join: PoppaVic (n=pete@0-2pool238-217.nas24.chicago4.il.us.da.qwest.net) joined #forth 08:05:40 --- join: saon (i=1000@c-24-129-89-116.hsd1.fl.comcast.net) joined #forth 08:05:45 --- join: saon_ (i=1000@c-24-129-89-116.hsd1.fl.comcast.net) joined #forth 08:05:54 wb 08:06:01 OK, no companytoday ;-/ 08:06:08 t'anks 08:06:11 :) 08:06:37 Weather is too ugly to think of much other than a scope-mounting - so we passed on a confab. 08:07:02 PoppaVic: I told aardvarx "Looks like it is meant as a generic VM, rather than specifically built for a specific application, although it looks like PoppaVic's Metacompiler project is going to use it in the future" when he asked what the VM was for. Is that accurate? 08:08:17 Close enough, yeah.. I always call it a vm or engine. I adopted the bytecode idea from tathi and JasonWoof - It's going to be used by Metabuilder and the assorted tools. And, I think it might offer some interesting uses across the board. 08:09:08 PoppaVic, can I have a FAQ? 08:09:09 I hesitate to suggest (anymore) that it is a "synthetic-assembler", because folks get really bent. 08:09:20 aardvarx: huh??? 08:09:37 A FAQ section on the wiki; can I have one? 08:09:53 oh, sure - feel free to add one in. 08:10:03 I never have gotten comfortable with wikis 08:10:07 lol. Why do ppl get bent at that? 08:10:14 ..I used yapp and picospan for too many years 08:10:38 amca: they get angry and hot and just don't show interest. 08:11:05 O_o Any idea why? 08:11:11 "Looks like it is meant as a generic 08:11:11 VM, rather than specifically built for a specific application, 08:11:11 although it looks like PoppaVic's Metacompiler project is going 08:11:17 oops! 08:11:20 I think it "threatens" their specialization 08:11:21 soorryy! 08:11:26 hehe 08:11:31 I was trying to copy. 08:11:33 So it is ASM ppl who fire up? 08:11:54 amca: and, of course, they never seem to realize that it would simplify porting to native and foreign formats 08:12:00 aardvarx: np 08:12:18 amca: those folks get upset for a LOT of reasons. 08:12:34 PoppaVic: But that is an abstraction above bare-metal! Heresy! ;) 08:12:40 ..it's also akin to lispers berating forth or C 08:13:10 yes, I know - I like the minimal abstraction. They seem to feel it more useful to defend their "turf" 08:13:37 What do lispers berate Forth or C for? Not being enough abstract? 08:15:05 What happens to my registeration information for the wiki? 08:15:17 In particular, name and email address. 08:15:18 no idea 08:15:41 aardvarx: It gets sent to the CIA and then you are hunted down and shot for terrorism. 08:15:46 I have no probs, aardvarx - I just used my first name and such. Nothing looked dangerous to me 08:16:34 amca: lispers and such just scream about cs issues like "continuations" and whatnot. I never try to follow it very far. 08:17:59 What I see for this 'engine' (vm) is: it won't matter if you port C or ASM - we don't CARE. We just mandate structures, steppers/interp, etc - same as forth itself. 08:18:35 steppers? 08:25:46 PTI, but how do I find what I've saved? 08:26:16 http://quartus.net/cgi-bin/twiki/view/Main/FAQ 08:26:31 I can't find that URL anywhere on the domain. 08:26:34 --- quit: PoppaVic (Nick collision from services.) 08:26:46 --- join: PoppaVic (n=pete@0-1pool47-75.nas30.chicago4.il.us.da.qwest.net) joined #forth 08:26:48 aardvarx: http://quartus.net/cgi-bin/twiki/view/Main/FAQ works for me 08:26:56 god DAMN the isp 08:27:08 I need identd to do something usefule, I sweat 08:27:15 sear 08:27:18 swEAR 08:27:38 Apparently some woman named her son "god" with a lowercase 'g' so he would be humble. 08:27:40 I can't even paste wtf I last wrote now 08:28:15 amca, it's just that I don't know how to find it without the URL. 08:28:29 I officially despise the macOSX/X11 interface 08:28:50 What are we seekingnow? 08:29:57 aardvarx: You could put a link to it under 'My links' in http://quartus.net/cgi-bin/twiki/view/Main/JimiA 08:30:41 what did I miss and wherein are the issues? 08:31:25 amca, thanks! 08:32:22 Am I speaking to myself or something? I already know the isp went nuts and freenode was just as bad for a few. 08:32:55 sorry - brain half dead 08:33:04 PTI, but how do I find what I've saved? 08:33:05 http://quartus.net/cgi-bin/twiki/view/Main/FAQ 08:33:05 I can't find that URL anywhere on the domain 08:33:24 and 08:33:26 What I see for this 'engine' (vm) is: it won't matter if you port C or ASM - we don't CARE. We just mandate structures, steppers/interp, etc - same as forth itself. 08:33:27 steppers? 08:34:00 holy christ - over 3 sec to ping 08:34:00 goddamned update process 08:34:12 (the powerbook is installing a java update - not my fault) 08:34:39 steppers... the routines that can interpret the bytecodes/data and step along. 08:35:35 Ah. As in debuggers stepping through the code type thing 08:35:40 I was always anti-java mostly because their idea for "bytecodes" seemed nuts 08:35:51 Such as? 08:35:58 not really: as in "update the vm-struct and move along" 08:36:28 amca: too much, too low, with too many hand-holding issues. 08:37:03 remember, I see C as a super-asm (BAD ABI! BAD LLAMA!) and the bytecode above that, not in competition. 08:37:54 (BAD ABI! BAD LLAMA!)? 08:39:20 yeah, C and such doesn't convey sufficient info for a decent ABI 08:40:03 now.. Here is where you change yer headspace... Think of the vm/engine as a "synthetic cpu"; the opcodes as "synthetic assembler". 08:40:03 Ah. In the language specs? 08:40:35 What would be the most generic Vm that you know of? 08:40:41 yeah, to learn about the platform you need to suffer autoshit-hell or keep kernel-source (configured) around, etc. 08:41:03 this one would be "most generic". 08:41:40 What we end up with is: an API (includes structs) "spec", and part of the spec is size-info. 08:41:48 --- quit: virsys (Read error: 110 (Connection timed out)) 08:41:59 :) Ill show you the specs of my Simple VM when I get them done 08:42:26 we also specify MANDATORY "opcodes" and "registers", and how to ADD more of either. 08:42:53 ...After that, we could generally care less - folks comply with forms and sizes, or they burn in hell. 08:43:16 hehe 08:43:31 What is the word size of it again? 32 bits isnt it? 08:43:52 the vm/engine is then akin to an "emulator" - and the opcodes/funcs are then akin to true opcodes and bios-calls. 08:44:22 Yeah, I had to agree with tathi: 32-bit is OK. But, nothing sez you can't xlate shit up or down LOCALLY 08:44:30 (or cross-compile) 08:44:55 We need one, definitive tool. 08:45:04 So fvom will run on a z80 then? ;) 08:45:08 We can then cross-compile, metacompile or whatever 08:45:35 amca: I see no reason why it would not - if someone wrote the clear cross-compile/builder. 08:45:49 What does FVOM stand for again? 08:46:01 F* Virtual * Machine ? 08:46:05 amca, sorry to bother you, are you saying that you can see what I wrote from the "My Links" section? 08:46:18 FOVM is a twist from tathi's source (forth virtual machine), I believe 08:46:43 Ah 08:46:56 I was hoping to find a simple way to get to my page from 'Main', but I can't seem to find the proper links to my home, (not to mention the FAQ). 08:46:57 aardvarx: Ill look for you 08:47:02 Thanks. 08:47:06 ..and, of course I am easy: I can global search-and-replace anytime we get a better mnemonic 08:47:15 Ive closed the tab - what is the URL again? 08:47:26 what are we loading? 08:47:35 http://quartus.net/cgi-bin/twiki/view/Main/FAQ 08:47:52 PoppaVic, I'm setting up a FAQ page for me. 08:48:03 ahhhh 08:48:59 aardvarx: U looking for http://quartus.net/cgi-bin/twiki/view/Main/JimiA ? 08:49:25 aardvarx: There isnt a simple way it seems to get from the Main page to yours 08:49:44 I'd stick the FAQ under the topic I added, but ok. 08:50:18 PoppaVic, that's what I am trying to do. 08:50:36 oh.. well, welcome to the joys of wiki-editing ;-) 08:51:06 I musta' saved/previewed and <== a dozen times yesterday 08:51:20 I guess this is not supposed to be easy... 08:51:44 no, it IS supposed to be "easy" - but it isn't really intuitive 08:51:53 I'm confuzzled. 08:52:54 you have to create a funkyLink that doesn't exist, save, then click on the supertext '?' to edit the addition 08:53:20 save THAT, and the wiki saves a real link and the new info 08:53:49 * aardvarx gets dizzy... 08:54:01 aardvarx: Edit the http://quartus.net/cgi-bin/twiki/view/Main/ForthishCvm page to add a FAQ link 08:54:13 This particular wiki demands c99ish/c++ "NamingSchemes" to add a new link 08:54:52 then save, and click the '?' after that name as it reloads. Now edit the new "page" 08:55:10 Whenever the wiki sees a multi capitalised word, it assumes it is a link to a wiki page. 08:55:37 right - and can tell if the link is broken/forward 08:56:08 I can create a link if you want. 08:56:08 Can you see my addition? 08:56:09 lol : "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offence." 08:56:18 Then you can finish it off 08:56:38 amca: and cobol is like perl 08:57:12 verbose and overly english-like with really sad twists 08:57:24 aardvarx: It would be better if you added it as a link in the main body text rather than as a comment, and make sure you are logged in when you do it - it came up as done by a guest 08:57:29 dBIII and such had those issues 08:57:43 How do I log in? 08:57:50 I thought I did already. 08:58:00 No idea sorry 08:58:01 create an account? Mine seems to automagically login 08:58:25 PoppaVic: Any idea why Grace made COBOL so fugly? 08:58:56 no idea - I managed to skip cobol 08:59:57 I encountered cobol after a few years of fortran - and I nuked everything related to them in my home. 09:00:20 hehe 09:00:23 dont blame you 09:00:59 aardvarx: load the page; edit it; save it - the FAQ ref should be broken with '?'. click the ? and edit the subpage; save. 09:01:26 wiki are NOT as friendly as simple bbs 09:01:38 they are just more attractive after-the-fact 09:02:25 * amca has never really seen a BBS 09:02:41 amca: dBASE was anothe mess.. There comes a point where the stupidity of trying to "speak english" is just not a programming-language "plus" 09:03:13 grex and mnet both still retain yapp/pico bbs software. It's entertaining some days. 09:03:18 Well coding is a cros between instructions and maths anyhow 09:03:34 so is english 09:03:47 it's the forms. 09:03:52 or "semantics" 09:04:51 I recall an author - Heinlein? - that referenced "loglan" in his works. You'd need a subset of englishwith a formal semantic. English can't play, but forthish might. 09:05:00 english isnt really as much of a mathematical expression language as comp langs 09:05:04 PoppaVic, what should be pasted to the subpage? The same content? 09:05:27 PoppaVic: Have you heard of Fith? 09:05:29 sure, then you can clean up the droppings in the higher-page and resave it. 09:05:51 amca: no. I never really seek more languages anymore - too old to adapt well anymore 09:07:58 Fith is a play human language that has a postfix structure like Forth. As Fourth is to Forth, Fifth is to Fith. :) 09:08:22 In it's own way, both C and forth will let you screw yerself and blow off a foot quite well. 09:09:57 ..and, knowing how humans can't communicate well, I'd prefer not to talk to a comp that way. 09:10:15 lol 09:10:41 hell, we can't even trust the voice-mode in macosx/powerbooks 09:12:12 As reliable as Newton hand writing recognition? 09:12:12 I certainly think english is a good language to LEARN - it leaves so damned many flexible gaps. But, written english is a painful mess and comps can do well w/o puns and double-entendre' 09:12:47 I think I broke something. 09:12:55 amca: never experienced - I do know that OCR-scanning is bullshit 09:13:05 aardvarx: save the world and let me into it. 09:13:26 I uploaded the file and edited it. 09:14:16 huh! cute.. if yer not locking anything, lemme' at it 09:14:27 PoppaVic: I only know of Newton by rep 09:14:40 http://quartus.net/twiki/pub/Main/ForthishCvm/z 09:15:22 I need to get a bite... bbs... 09:16:22 "One cute [bug] was when the Multics swapper-out process swapped out the swapper-in process. (recall that all of the Multics OS was swappable)" 09:23:01 --- join: amca_ (n=plump@as-bri-3-104.ozonline.com.au) joined #forth 09:23:25 Did I miss anything? 09:23:53 editing - wait a sec 09:30:03 OK. done - fuck. I can't clear his stupid attachment, but the rest is set. 09:30:16 heh 09:30:38 maybe Quartus can edit local and wax the attachment 09:31:00 His FAQ is emplaced, though 09:37:12 shit.. according to the help-docs, Quartus will HAVE to wax it locally, because the fucking things otherwise can NEVER be deleted. 09:37:50 damn it, aardvarx *sigh* 09:38:09 :/ 09:38:37 anyay, try the url and see if it all wants to play now 09:39:30 and, then - where the hell were we? 09:40:12 We have the Q repeated twice - Ill fix it 09:40:28 I cant - I have to be registered 09:42:06 soo? register - it's harmless 09:42:26 what url has it twice?? 09:42:47 --- quit: amca (Read error: 113 (No route to host)) 09:42:53 * PoppaVic is just not sure that wiki's are very portable/friendly 09:43:14 http://quartus.net/cgi-bin/twiki/view/Main/FAQ 09:43:48 It is right in VmFAQ 09:43:59 goddamnit - I got it 09:46:06 howzat? 09:46:33 ohhhhh - FORGET that url - it needs deletion 09:46:41 ..he mucked "the system" 09:47:28 http://quartus.net/cgi-bin/twiki/view/Main/ForthishCvm 09:50:09 Im pretty sure there are ways in a Wiki of not showing the file attachments of a page 09:50:44 I'm also sure Q can patch it 09:50:47 Is this the part where I get banned/kicked from te channel? 09:50:54 *the* 09:51:08 huh? Why? 09:51:28 PoppaVic: For violations to Wiki I guess ;) 09:52:27 Perhaps I can just send you my revisions? 09:52:37 aardvarx: just load up the home, and nestle down and in: it's all set up 09:54:06 http://quartus.net/cgi-bin/twiki/view/Main/ForthishCvm 09:57:11 Like I said: I fixed the mess best I could. NOW, you need to beg Q 09:57:32 Quartus, ping. 09:58:02 mind you: I already perverted the most I can/should. 09:58:21 ? 09:58:54 I "tweaked" it to dump guest, use you, and got it into the heirarchy 09:59:29 we need that stupid attachment nuked 10:00:35 if you log to that wiki page, as you, you can now add new Q&A as you see fit. 10:01:00 Yeah, assuming that I can figure out how to log in :( 10:01:19 well, a decent browser helps (d'OH!) 10:01:57 I just let macosx Safari log me ala' keychains. Mozilla also never really faulted me 10:02:19 I'm using FF. 10:02:26 aardvarx: maybe ask Q to add a 'login/logout' linage> 10:02:31 FF means dick. 10:02:44 Mozilla Firefox 10:02:49 "linage>" := "linkage" 10:03:00 Quartus, ping! 10:03:08 well, that's yer fault - I've never yet heard any good about firefox 10:03:20 PoppaVic: It is good. Better than IE 10:03:25 Hearsay, hearsay... 10:03:34 amca_: which explains why it is busted? 10:03:42 PoppaVic: Busted? How? 10:03:56 well, look at him and what he has said 10:03:58 amca_, PoppaVic is trash-talking. 10:04:05 nope 10:04:16 Yes. 10:04:22 I just disagree with bleeding-edge/softa crap 10:04:49 You're just a regular flame-thrower, aren't ya? 10:04:50 meanwhile, I assure you: yes, Q needs a login/logout|broke connect linkage 10:04:55 PoppaVic: It is the functionality, not the fact that it is "bleeding edge" that I like Forefox for 10:04:58 damn. 10:05:10 PoppaVic: As well as its extendability 10:05:35 Ok, fine. I am evil for pointing out that everyone I know has "issues" with it. Mea Culpa. Talk to Q 10:06:16 How come this channel does not have a bot? I thought every channel has a bot. 10:06:22 Meanwhile, leave yer browsers and stuff outta' it ;-) What can we discuss? 10:06:22 PoppaVic: No, Im not saying you are evil. I am saying I have had a different experience that the ppl you have talkied to 10:06:40 amca_: it may well be platform/systemic 10:07:19 PoppaVic: Well I use Firefox in Linux. I dont know how it goes in Windows, but I know when I go into windows and Use IE, I get the shits 10:07:52 it might well be a linux-partial program. I'd never suffer IE 10:09:26 PoppaVic: U use Macs dont you? 10:10:10 --- nick: amca_ -> amca 10:10:39 firefox crap? what the hell? 10:12:41 amca: I lived in debian for years. THis powerbook is all I turn on anymore... I still run a lot of the apps I used to: moz, xchat, gcc, joe, etc. 10:13:12 and it's "YOU" 10:13:19 I hate that aolism-shit 10:14:00 I think firefox is one of the best browsers around the earth. 10:14:11 "You" has 2 too many letters 10:14:18 I've never had a mac-desktop, and I hated apple][ and such 10:14:27 sorry, suffer the two 10:14:48 If I get too much IM/aolish, I ignore the folks. 10:15:00 ..my dad degenerated that way 10:15:04 Seeing that we are now OT... 10:15:16 overtime? 10:15:55 ohh.. "off topic" 10:15:55 Off Topic. 10:16:11 Now, how is the VM going to help Metabuilder? 10:16:15 well, not really. But, I can agree 10:16:45 I won't touch the wiki until Quartus makes it "sailor-proof" 10:16:55 aardvarx: I already know one major problem is the lack of one single, portable "shell" 10:16:58 In the meantime, I'll keep my own notes. 10:17:27 PoppaVic, I don't understand. 10:17:46 the shell I have decided upon should act like much of make and sh - and forthish code is the best way - and it needs a vm 10:18:06 First of all, I need you to explain why Metabuilder should exist. 10:18:38 It will exist because autoshit is not worth learning... 10:19:22 to use autoshit well, you need to learn m4, sh, perl, sed, awk, grep, autoconfig, automake, make and a pile of other issues 10:19:39 ..oh: and then whatever the language was originally. 10:20:17 in fact: you'd also need to learn about platform/fhs differences 10:21:28 So.. From the start (the top), Metabuilder should "make" configuring and building, installing and uninstalling easier. 10:21:30 Before you go any further, I think it's only fair for you to know that Google does not have a definition for *autoshit* which is formal. 10:21:52 I know: autoshit implies "GNU Autotools" 10:22:17 ..there are about 6 or 12 - no idea anymore 10:22:30 You might want to add that to the Glossary of the wiki. 10:22:56 That final-prupose is quite a personal issue I will agree may not matter to a few folks. 10:23:13 so, duck down at least a layer or 3 10:24:45 I'll even admit that C has become Yet Another teetering-mess, 10:25:05 * PoppaVic typos: macosx is stealing time for install - apologies 10:26:31 I'm a whole lot less concerned about "why" folks would chose to implement this mess than the fact that every other alternative covers more, worse and more ugly. 10:27:41 I've heard too many crap-doodle arguments AGAINST forthish for years. They can be anything from asm/C/perl/lisp proponents - doesn't matter. 10:28:51 When you say "implement this mess" what are you referring to? 10:28:54 You won't find much better at picking out 'words' than forth or lex. And, the latter takes a LOT of overhead. Doing something intermediate or immediate is the prime issue 10:29:15 this vm project 10:30:04 I often believe that the "KISS Principle" is either no longer taught, or folks think they are too good for it. 10:30:28 There are alternatives besides GNU Autotools? 10:33:14 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 10:33:35 I would like for you to indulge me for a moment; what sort of arguments exist against "this mess" 10:33:39 ? 10:34:25 Quartus, ping!! 10:34:55 several, but autoshit is almost invasive. 10:35:36 Forget about that; let's talk about *YOU* 10:36:03 hey, now... Let's not get personal! 10:36:17 meanwhile, I just got drafted. 10:36:18 No I'm not! I'm curious to know what the naysayers have to say about what you are trying to do. 10:36:32 * amca naysays ;) 10:36:41 Naysayers can be quite distracting. 10:36:50 it varies, but it's never really sensible. 10:37:14 Ignoring them without having reasonable arguments for what you are trying to do is a bad idea IMHO. 10:37:16 anyway, #2 son needs me to race off and give him a hand. I'll have to pick this up tomorrow 10:37:25 Okay. 10:37:30 TTFN. 10:37:33 stay well, post well ;-) Be back in the AM 10:37:37 --- quit: PoppaVic ("Pulls the pin...") 10:39:47 aardvarx: AFAICT he objects to autoconf trying to coexist happily with *any* shell. He wants to provide a single portable "shell" to build autotools-like stuff on top of. 10:40:40 Actually, it sounds to me like he tried autotools briefly, had a bad experience, and just wrote the whole thing off as a piece of crap. 10:41:48 I've heard folks say that automake is the ugly one -- that autoconf is just fine. 10:42:35 And the autoconf manual makes it look fairly easy, though I've never actually tried using it. :) 10:42:54 heh 10:43:58 Though, to be fair, PoppaVic also seems to want some stuff that's much lower-level than autoconf provides, so... 10:47:19 But I don't think you can automatically detect details of the ABI -- there might be no way to do that sort of thing other than hard-coding it for each system... 10:47:26 which is of course a huge mess :) 10:51:59 tathi, this is very helpful. 10:52:40 I do thank you for taking the time to explain this. 10:52:51 no problem. 10:53:18 I think there are other elements involved as well, so it's often hard to sort out what exactly he wants. 10:54:12 Although I have a manpage for autoconf, I could not find one for autmake not to mention autotools. Could you explain the difference between the three? 10:54:47 Autotools = autoconf + automake + m4 + ... ? 10:55:55 Like I said, I've never used any of them, but... 10:56:21 autoconf is a package that helps you check for the existence of various features (include files, libraries and versions of libraries, etc.) 10:56:49 "automake" is the name of the package that installed automake on my computer 10:56:59 maybe you don't have it installed? 10:57:04 automake (I think) is to help you manage the Makefiles for a complex build process (i.e. with source code in subdirectories or whatnot). 10:57:32 "GNU autotools" is a generic term used to refer to all the GNU tools for helping build projects. 10:57:48 i.e. autoconf, automake, libtool, ... (don't know what else) 10:58:00 make? 10:58:33 Are you saying that Metabuilder will create Makefiles? 10:59:04 hmm...I seem to recall PoppaVic dissing 'make' as well, so he might want to just do his own dependency stuff. 10:59:18 O_o 10:59:24 wtf is wrong with make? 10:59:36 amca: it doesn't handle sub-directories well 10:59:43 appart from that it seems perfectly good to me 10:59:51 * amca shrugs 10:59:58 It is a little bit annoying for complicated things. 11:00:30 It's impossible to do full dependencies (i.e. if your Makefile changes, you can either rebuild everything or nothing -- not just the things that NEED to be rebuilt). 11:00:39 Yeah, I don't know that I'd want to mess with make. It seems to me that fixing the problem will be better than the more expensive alternative: Deep Six. 11:00:40 --- quit: Pepe_Le_Pew (Read error: 104 (Connection reset by peer)) 11:01:08 I have run into the limitations of Make 11:01:29 bit for simple things it's a very useful tool 11:01:33 JasonWoof, are the technical limitations intentional, or just oversight? 11:01:34 s/bit/but/ 11:01:40 and I mostly do simple things =) 11:01:50 aardvarx: I don't know 11:02:25 I was just wondering if it does not handle subdirectories well on purpose. 11:02:53 dunno. don't really think so 11:03:10 my personal guess is that they just designed it to be able to do some stuff 11:03:17 At any rate I guess the question is whether or not the limitation will make or break (pardon the pun) the use of Make. 11:03:20 and then people used it to do more and more complex things 11:03:21 I think it has just been around forever, and no-one wants to break things, so it's hard to improve it. 11:03:56 yeah, my impression is that it works well enough, so nobody bothers making something better 11:04:06 also... projects start small 11:04:14 so when you're starting out make is great 11:04:23 and it's easy enough to add stuff into the makefile 11:04:42 and by the time you start wishing you had something else, your project is big enough that it would be a pain to switch 11:04:48 on top of the pain of writing something better... 11:05:08 FWIW, I know there's cmake, dmake, omake and pmake. 11:05:15 It seems like a fair number of people are starting to switch to SCons and similar... 11:05:24 huh. I didn't know about any of those. 11:06:29 cmake: cross-platform make; dmake: improved make; omake: make replacement 11:07:12 pmake is Debian's version of NetBSD's make. 11:08:52 Anyway...it seems like there are enough variants that there must be *something* wrong with make. :) 11:09:21 tathi, do you know of any *objective* comparisons for SCons to Make? 11:09:46 I've never looked. 11:10:00 They aren't trying to solve the same problems though. 11:10:34 Make just has dependency rules and runs commands for you...SCons also includes autoconf-like feature tests for you. 11:10:58 aardvarx: have you used Make much? 11:11:40 tathi, besides when I compile packages, no. 11:12:27 I'm not knocking either one; I was just wondering if there is a list of Pros and Cons somewhere. 11:14:58 did you find that article at freshmeat? 11:14:59 http://freshmeat.net/articles/view/1715/ 11:17:41 Nope. 11:17:51 tathi, thanks for sharing that, though. 11:18:41 heh. I just googled; it was the first thing up, and it looked somewhat interesting... 11:23:21 How did you all get so knowledgeable about this? Are you CS students? 11:24:24 Just been programming for a while. 11:24:53 How long, and what sort of programming? 11:25:27 Let's see, since August 1992 (when my family got our first computer), so 13 years? 11:26:38 Played with QBASIC under DOS for a while, then discovered Eric Isaacson's a86 assembler, and did x86 assembly language for a while. 11:26:53 STOP! 11:27:02 lol 11:27:08 You taught yourself assembly??? 11:27:22 O_O 11:27:22 sure, why not? 11:27:25 O_O 11:27:27 aardvarx: Lots of ppl do 11:27:30 O_O 11:27:40 aardvarx: Do you know about debug? 11:27:46 (the DOS program) 11:27:53 No. 11:28:00 ok 11:28:11 tathi: Have you? 11:28:22 I think every programmer should learn a little bit of some kind of assembly language -- it's a good way to learn how computers actually work. 11:28:36 (as opposed to just understanding the abstractions that your particular programming language presents) 11:28:43 I guess Forth does not count. 11:28:44 amca: yeah, sure, that's how I started. 11:29:10 aardvarx: actually, I think Forth might give a good picture of how computers work too. 11:29:19 tathi: Did you use its assembler to write small com files? 11:29:29 I enjoy learning about stacks. 11:29:30 amca: you bet :) 11:30:14 So, you think it's better to learn assembly first? 11:30:43 I think an interpreted lang like Python is best to learn first myself 11:30:44 It has its drawbacks -- you tend to get involved with nitty-gritty details, and that mindset can be hard to throw off. 11:30:59 I still have a tendency to do premature optimization, for instance... 11:31:03 And then learn asm to understand how a computer works 11:31:20 tathi: I only wrote a couple of "Hello world" programs in it. What porgs did you write in it? 11:31:32 I learnt QBASIC first, then C... 11:32:02 Well QBasic is an alternative (antiquated these days) approach 11:32:08 amca: I wrote some simple 320x280x8 graphics stuff as well. 11:32:21 tathi: In debug or a86? 11:32:26 in debug 11:32:30 I wrote some bigger stuff in a86 11:32:34 Im impressed :) 11:32:58 aardvarx: Have you used varptr etc to look at how Qbasic stores integers and strings etc? 11:33:03 I started on DR-DOS, then was annoyed that MS-DOS didn't have a 2-column dir listing, so I wrote one of those. 11:33:09 amca, nope. 11:33:11 hehe sweet 11:33:17 tathi: May I ask how old you are? 11:33:56 aardvarx: Might wanna give it a try if you like poking around in computer program innards ;) 11:34:19 My masterpiece was the start of a game rendered as a random-dot stereogram. Top down view, 4-way scrolling, you flew a ship around. 11:34:30 I'm 25 years old. 11:34:31 holy shit 11:34:40 Im 30 11:34:55 I never got around to adding bad guys 'cause I couldn't get it to go fast enough on that 286-10MHz 11:35:00 hehe 11:35:07 If I'd had a 486-66 or something it would have been great :) 11:35:07 shit, uyou had old hardware 11:35:23 You are much more computer genius than me 11:35:26 yeah, my family was a late adopter -- it was one of my grandfather's cast-offs. 11:36:18 Well, I was very lucky -- my parents decided to homeschool us right from the beginning, and they did a really good job of giving us the attitude that we could do or learn anything. :) 11:36:23 Our families first computer was an obscure CP/M system, and our first PC was a 386 SX 16 MHz 11:36:27 nice 11:36:31 Excellant :) 11:36:43 My parents encouraged us to learn 11:36:59 Yeah, I always feel left out when people talk about the old Apples and Commodores and Amigas and such :) 11:37:03 you can learn or do anything! 11:37:16 That's encouraging. 11:37:20 hehe me too. A friend of mine got a C=64 and I was jealous 11:37:21 yeah, I wish I grew up with an amiga 11:37:28 Sux being in a poor family 11:37:47 But recently I got my hands on a Amstrad CPC-464 11:37:47 :( 11:37:50 I'm wondering if it's too late to learn assembly now. 11:38:01 now you can get an old computer for next to nothing 11:38:08 So that got me back into retro to make up for my computer less '80s ;) 11:38:20 aardvarx: it's never too late 11:38:24 JasonWoof: We talking PC or 8 bit? 11:38:33 amca: huh? 11:38:44 JasonWoof: Cheap computers 11:38:57 I mean old windoze compatibles 11:39:07 * amca nods 11:39:24 I think C=64's etc come in under antiques or such and so are expesive 11:39:44 I happened to see an 0ld 8086 last year. 11:39:50 just a couple days ago I saw something sell that could run linux quite well go for about $75 on ebay 11:39:52 I was shocked 11:39:54 might have even been a laptop 11:40:12 I'm trying to get myself an Alpha... 11:40:22 get something like that, install linux, learn assembly, write your own OS 11:40:25 Wish there were $20 computers 11:40:34 or install menuetos 11:40:41 JasonWoof, is that all there is to it? 11:41:00 amca: for those you have to talk to people. You can often get old computers for free if you ask around 11:41:07 amca: at that price it's not worth putting on shelves 11:41:12 * amca nods 11:41:28 aardvarx: you have to have an attitude :) 11:43:52 bordering on opsession helps 11:43:52 aardvarx: And patiendce and persistance 11:43:52 Teach Yourself Programming in Ten Years: http://www.norvig.com/21-days.html 11:43:52 aardvarx: I wouldn't go overboard with asm. I just think it's good to get a feel for what operations the computer actually can do. 11:43:52 And what operations are your compiler doing all kinds of complicated things for you. :) 11:43:52 I don't even know enough to know that I don't know. 11:43:52 hehe 11:43:52 asm is definitely an eye opener 11:43:52 I learned asm after programming in C for a few years 11:43:52 found out I had no idea how computers worked 11:48:18 I was disappointed at first when I found out that computers were just glorified calculators 11:48:18 So, not knowing automake from autoconf is not an issue? 11:48:18 aardvarx: who cares about autoconf/automake? 11:48:18 yeah that's high-level junk, who cares? ;) 11:48:18 I've never had a need for them 11:48:18 you don't need them until/unless your project get's big and complex 11:48:18 yeah, well a few times I've tried to use apps that used them, and usually didn't work 11:48:18 aardvarx: hey, everybody has to start somewhere 11:48:18 and even then, it depends on what libs you use 11:48:18 amca: like calculators... but you can program them! 11:48:18 already made configure scripts are fine, but making the user create their own doesn't always work 11:48:18 --- quit: thinfu (Remote closed the connection) 11:48:18 --- join: thinfu (i=thin@bespin.org) joined #forth 11:48:18 --- mode: ChanServ set +o thinfu 11:48:18 JasonWoof, thank you ver much for the link. It is very insightful. 11:48:18 tathi, I agree. 11:52:50 JasonWoof: I have a programmable calculator, but it isnt graphing, and you cant asm on it :( 11:53:08 Never despise small beginnings, I guess. 12:02:09 JasonWoof, you mentioned "write your own OS" ... what does that involve? 12:02:30 heh 12:02:41 Hell? 12:04:06 actually, if you have somewhat standard hardware, there's that OSKit project. I think there are others too. 12:04:29 I'm always surprised by the number of people who have written something that boots... 12:04:57 I have to start somewhere ;) 12:05:13 Wasn't there a "Teach your self LISP in fixnum days" once? 12:05:26 Ray_work, HA! 12:05:29 Scheme I thought 12:05:44 I guess you missed what JasonWoof mentioned earlier! 12:05:46 amca: what can you program it to do? 12:06:05 JasonWoof: Program what? 12:06:39 amca: your calculator 12:06:58 also I don't see the connection between asm and graphs 12:07:19 JasonWoof: Basically you can have it execute functions and loops and if's and put results into array/variables 12:08:00 aardvarx: writing your own OS is a bit advanced... you should definitely write some other stuff first. 12:08:09 JasonWoof, of course. 12:08:16 amca: oh, that's cool. what sort of display does it have? 12:08:20 I was just wondering where to start from. 12:08:24 aardvarx: Practice asm a heap first Id recommend 12:08:32 JasonWoof: Non graphing. 12:08:42 amca, nasm + ald ? 12:08:43 aardvarx: you could use a kit as tathi mentioned, or you can read about how your bios/hardware works, and write stuff to run on it directly 12:08:47 JasonWoof: Want me to tell you the model? 12:08:52 aardvarx: ald? 12:09:03 ald is a debugger 12:09:18 >.> 12:09:22 * amca hasnt heard of it 12:09:28 amca: I'm wondering what the display is. is it like 13 numbers and a couple status things? 12:09:35 aardvarx: you running Windows? 12:09:41 Gentoo. 12:09:59 aardvarx: masm comes with a nice asm tutorial. also Randal Hydes "Art of Assembler programming" is good ( online) for newbies like us :) 12:10:05 aardvarx: good boy :) 12:10:11 :) 12:10:40 linux... it's not that you don't waste time fiddling with and fixing your system, it's just that when you do, you usually learn something 12:10:46 oh well then you wont want masm :) 12:11:04 JasonWoof: It is a Casio fx-4500P. It has a "Dot Matrix LCD" as well as the usual 7 segment number lcd display 12:11:13 JasonWoof: I bought it in about 95 or so 12:11:16 amca: cool 12:11:19 learning something is always a waste of time, when you can afford to hire experts :) 12:11:33 amca: sounds like you could do some decent programming on it 12:11:51 JasonWoof: The only major programing Ive done on it is to fiund primes 12:12:00 cool 12:12:16 JasonWoof: I havent thought of anything else I could code for it 12:12:47 graph a ship on it. boat in a bottle kind of thing. drawing is fun on great calcs. 12:13:05 Ray_work: It isnt a graphing calc :( 12:13:15 Ray_work, the resource you recommended is still applicable, though. 12:13:17 sorry, missed that. 12:13:30 It has Linux-related info. 12:13:34 aardvarx: and I assume you've found linuxassembly.org ... 12:14:08 I did four years ago, when I was crazy... 12:14:33 I thought it was possible to have useful OS built from assembly. 12:14:46 "have a useful" 12:15:02 like retroforth :) 12:15:28 JasonWoof: Any ideas of what sorta stuff I could code on it? 12:16:02 I guess I'm crazy enough now to believe it. 12:16:27 menuetOS. 12:16:32 fasm seems to be a nice macro assembler, based somewhat on turbo assembler 12:16:41 though personally I think it would make much more sense to base an OS on Forth 12:17:08 Ray_work, wow! 12:17:19 You think I can really write drivers? 12:17:24 Awesome!!! 12:17:26 :P 12:17:46 I thought you'd need to be a CS major for that! 12:19:04 aardvarx? 12:20:25 aardvarx: there is at least one fairly complete os in assembly: menuetos 12:21:22 you don't need to be a genious to write drivers 12:21:34 you just need to know asm and spend time reading specs 12:22:11 I think the actual coding part isn't so hard, it's finding out what to do 12:22:48 I think large programs/systems usually aren't written in straight assembler 12:23:02 eg I've only used assembler to implement forth 12:23:04 Portability issues? 12:23:17 aardvarx: I don't know why 12:23:30 aardvarx: It's probably a lot because people who like assembly like to do their own thing 12:23:34 much like forth... 12:24:56 JasonWoof: Debugging the code would be the hard part with device drivers wouldnt it? 12:25:45 amca, I did not realize that debugging could be easy :P 12:27:30 amca: yeah, that's tricky too 12:27:49 amca: but once you get to the point where your system can give you feedback, it's not so bad 12:28:06 * amca nods. 12:28:07 and on x86 there are many many examples 12:28:27 It is the part where you only get a blank screen that would be wiggy 12:28:36 right 12:28:54 but there are so many little OSes for x86 many of which you can look at and even use the source code to 12:28:54 one you can have print statements, much better 12:29:01 * amca nods 12:29:02 amca: exactly 12:29:25 just being able to print numbers is fine 12:30:22 What about being able to print ascii pr0n though? 12:30:41 amca: all in due time 12:30:57 I just nuked that attachment. It's the [manage] button, say 'hide from normal view'. 12:31:17 amca: in the meantime you'll have to keep using linux 12:31:36 JasonWoof: or my CPC :) 12:31:52 export SDL_VIDEODRIVER=aalib 12:31:59 mplayer -vo sdl *.mpg 12:32:40 hehe 12:33:18 aalib is pretty cool 12:34:20 JasonWoof: You see my Q about what to code on my programmable calc? 12:59:23 MulTIOS is a multi-threaded operating system for the TI-83 Plus Silver Edition and TI-84 Plus calculators. 13:10:34 --- quit: amca ("d34d") 13:17:09 --- join: amca (n=plump@as-bri-4-1-33.ozonline.com.au) joined #forth 13:27:14 JasonWoof, do you know where the #Forth logs are stored? 13:28:20 http://tunes.org/~nef/logs/forth/yy.mm.dd 13:28:25 see /whois clog 13:35:35 --- join: Pepe_Le_Pew (n=User@201008242045.user.veloxzone.com.br) joined #forth 13:39:24 tathi, thanks! 13:42:34 Does anyone know if Forth has been ported to TI calculators? 13:43:09 no idea 13:43:22 * tathi didn't know about Forth back when he was playing with TI calculators 13:43:27 Google didnt seem to come up with anything 13:43:42 oh, actually...I think there are a couple of Forths in Z80 assembly language. 13:43:52 But I don't think any of them have been ported to run on the calculators. 13:44:06 >:) hehe 13:47:04 amca: what to program on the calculator... If you're looking for silly fun things to do, you could do the fibbinocci squence 13:47:14 Guess My Number 13:47:20 Mastermind 13:47:45 Chuckbot chess :) hehe 13:49:25 PoppaVic said the following yesterday: "I am interested in [building an] api/lib and system to add forthish-concepts and interface with at least C." 13:49:32 JasonWoof: That would be easier than finding primes 13:49:38 Can anyone translate that? 13:49:42 chuckbot chess? 13:49:52 amca: yeah, fib should be easier than primes 13:49:52 "Guess my number" I could try 13:50:15 amca: can you make brickout? 13:50:33 JasonWoof: As in break out? 13:50:39 (Breakout) 13:50:54 of course you would have to display an output like... 5379b735/11111111/0/0/0/0/22222222/648ac846 13:50:59 who thinks that PoppaVic's ideas are good or useful? 13:51:09 Ray_work: WTF is chuckbot chess? 13:51:16 :) 13:51:34 I forget the other names for it. single player Pong where you try to bink the boxes out of existence by hitting them with the ball 13:51:54 |. 13:51:58 colorforth ChuckBot = Pascal's Karel the Robot or Python's Guido von Robot. Chess is one of Chuckbots applications. 13:52:08 JasonWoof: Sounds like Breakout. Non with a non-graphing calc. But I wanna buy a TI-84 13:52:29 Ray_work: Chuckbot teaches or plays chess? 13:52:29 I guess that's a question for PoppaVic... 13:52:35 amca: do you have a pixel-based display? I thought you said you did 13:53:03 JasonWoof: Dot Matrix LCD - just displays numbers and letters. One line. 13:53:05 amca ChuckBot teaches Programming. It does both, teach and play. 13:53:17 amca: oh. ok, I get it 13:53:26 amca: no pong then 13:53:32 JasonWoof: Yeah. Nope 13:53:34 :( 13:53:56 * JasonWoof tries to think of a nice 1D game 13:54:04 Have to be console type games 13:54:24 Cant realtime manipulate the pixel display either - buffered 13:54:44 you can do pong, but the ball only every moves l-r :) 13:54:55 amca: is it possible to set pixels? or just letters/numbers? 13:55:00 like a eye on a cylon 13:55:32 JasonWoof: It is just an input area. All output is on the 7 seg LCD (unless it is a prompt) 13:55:51 Not much OI can do with it but type in numbers and press return 13:56:22 you can spell stuff with numbers like SHELLOIL 13:56:38 lol 13:56:44 or dead babe in hex 13:56:48 :) 13:57:03 boob babe 14:10:00 How about "forthish"; does anyone know what that is? 14:12:10 grrr...stupid buggy GNU assembler... 14:12:28 aardvarx: "similar to forth"; "like forth", etc... 14:13:59 translation: "an API/library and system based on concepts from forth and capable of interfacing with C (and possibly other programming languages)." 14:14:02 how's that? 14:17:14 aardvarx, it comes from 'to understand forth you must to speak it', forthers think it's a normal language sometimes... 14:18:32 : forthish like forth ; 14:18:50 tathi, I guess I'm just trying to interpret what PoppaVic said yesterday... 14:19:18 aardvarx: we all try, few succeed 14:19:34 JasonWoof, allow me to rephrase. 14:19:34 I wouldn't spend too much time trying to understand PoppaVic 14:19:39 lol 14:19:58 several of us have put time into that effort 14:19:58 lol.. 14:19:59 we can all have our own interpretation, our own doctrines, and still be of the same faith 14:20:03 well, for one thing, he's mostly just trying on ideas at this point. 14:20:07 yes, me to. 14:20:24 someone should say him, that he waste his time. 14:20:39 virl: I'm sure lots of people have 14:21:01 JasonWoof, it's just that miscommunication may bring more trouble than it's worth. 14:21:34 I mean, if Quartus, tathi and JasonWoof don't understand, that is is a problem. 14:25:17 aardvarx: you probably have better things to do with your time than trying to understand the stuff he says. 14:25:32 AFAICT he doesn't have a clear goal, it's all fuzzy. 14:25:56 so he is just trying out ideas and attempting to follow them and see where they lead him. 14:26:51 some of the problems he is trying to solve are probably not things he can solve (i.e. it would involve rewriting the whole gcc suite). 14:27:07 (or a comparable amount of effort) 14:28:33 there may be useful ideas in there, but IMO there are easier ways to understand them than trying to decipher PoppaVic's conversation. 14:29:22 tathi: Ive found that the Bible Code helps me understand Forth. ;) 14:30:11 the Bible Code? 14:30:27 (book by Michael Drosnin?) 14:32:08 The one where the author picks a random pattern and claims it reveals secrets 14:32:18 (random pattern in the bible text) 14:32:20 heh 14:32:24 haven't read it. 14:33:03 Neither have I 14:33:16 only know it by reputation and skeptics laughing at it 14:33:16 lol 14:34:03 And so it is. 14:34:24 I'm cashin' out. 14:35:01 grrr...I really dislike this assembler sometimes... 14:35:20 this=? 14:35:31 tathi: Oooh. I just read some of the "Unic Man Code", and apparently you are going to put a large amount of mney in my bank account soon. You dont wanna play with fate now, do you. ;) 14:35:37 GNU assembler (PPC) 14:36:45 amca: that would be a good trick, seeing as I know almost nothing about you except that you're probably in Australia 14:36:48 :) 14:37:47 tathi: Well I fear fate, so you better give me your C/C details :) 14:38:47 grr...it spits out an error, but if I run it with -Z it gives perfectly correct output... 14:39:31 yup, passes my (rather sparse) tests and everything. 14:39:43 What does -Z do? 14:40:21 keep going even if errors. 14:40:33 ah 14:40:51 So there must be some error that doesnt effect your current output? 14:42:08 it should _affect_ my output. 14:42:19 ./words/vars.a:6: Error: non-constant expression in ".if" statement 14:42:19 words.a:14: Warning: 2 errors, 0 warnings, generating bad object file 14:42:36 hmm 14:42:37 odd 14:43:04 how about disassembling the object file with and without -Z and diffing them? 14:43:37 no, -Z just means "Generate Object File in Spite of Errors". 14:43:46 if you don't pass -Z it doesn't generate any output. 14:43:52 silly me. sorry 14:44:06 it's just the assembler's macro facility being buggy. 14:44:21 if I comment out some stuff before it, or rearrange the code a little, it works fine. 14:44:24 try disassembling it and look how it asm's that section of code? 14:44:28 odd 14:44:55 No unterminated things? 14:45:46 don't think so. 14:46:35 Maybe the macro thing has a bug where it thinks there is? 14:46:37 meh 14:47:04 it's like this. 14:47:16 usually I upgrade binutils and they've fixed the bug, but not this time :( 14:47:30 the macro facility looks like it was written by a 5-year-old. 14:47:34 it's horrible. 14:47:58 eew 14:48:02 but...the GNU assembler's primary purpose is to be a back-end for the C compiler, so nobody cares. 14:48:20 * amca nods 14:48:25 as or gas? 14:49:12 umm...looks like gentoo installed it as 'as', not 'gas'. I don't see why it matters though... 14:49:25 gas is made more for ppl to use 14:49:36 as is made more for machines to use 14:49:39 I think anyway 14:50:21 sounds fishy to me 14:51:50 hmm. I may be wrong 14:52:45 Nope, Im wrong 14:56:29 tathi: Can I ask what you are coding in asm? 15:00:47 Fairwell 15:01:01 --- quit: amca ("d34d") 15:14:11 Thanks all, I hope to meet with you all again soon. 15:14:18 --- quit: aardvarx ("Cheers.") 15:21:04 oops, I missed amca. 15:25:29 hrm...one of these years I'm going to write a PPC assembler... 15:34:27 --- join: virsys (n=virsys@or-65-40-177-162.dyn.sprint-hsd.net) joined #forth 15:36:56 --- quit: saon_ ("leaving") 15:52:31 --- join: saon_ (n=saon@c-24-129-89-116.hsd1.fl.comcast.net) joined #forth 16:00:15 hi all 16:03:56 hey crc 16:03:58 hi crc 16:04:12 what's up? 16:04:51 not much 16:05:16 I've been working on libretro (a version of RetroForth for embedding in C programs) 16:05:41 * saon_ needs to get into some more coding 16:05:50 i've all but lost my skill entirely 16:06:04 what little i had 16:10:37 Hey all. 16:10:47 hey quartus 16:19:57 hi Quartus 16:27:38 crud. 16:28:05 I think Gentoo just screwed up my binutils... 16:44:52 that would suck 16:45:01 yeah. 16:45:21 I was trying to update, and it removed the old version, but then failed to put the new version in place. 16:46:49 hopefully if I get Jason to give me a binary package I'll be able to install that and get things working again... 17:32:55 --- join: Amanita_Virosa (n=jenni@CPE0000e812679b-CM000a7362da55.cpe.net.cable.rogers.com) joined #forth 17:50:26 I've made a reference document for Quartus Forth, in the style of the one I did for the Standard the other day: http://quartus.net/files/PalmOS/Forth/Docs/q4th20ref.pdf 17:50:58 hi 17:51:19 Hi. 17:51:29 what program did you use to make this? 17:52:02 OpenOffice.org. 17:59:02 Why do you ask? 17:59:16 just curious 18:04:28 Ok. Thought maybe there was a problem with the pdf. 18:05:12 no, i'm thinking of making a reference card for factor 18:05:49 A spreadsheet may be a better tool for formatting columns this way. 18:27:31 Quartus, do you find that Regsoft suits your purposes well? 18:39:01 Thus far, yes. 18:39:47 Lots of shareware sellers to pick from out there. 18:41:45 RegSoft has never missed a payment, never messed up an order. 18:41:55 Never reversed a sale. 18:42:02 Sounds great. 18:42:27 I can only speak for myself, but they've never given me any trouble. 18:43:18 I'd like to try my hand at some shareware in the near future. 18:43:34 By the by, I found myself a native Russian speaker to aid me in the Russian translation of Quartus Forth. 18:43:34 a game, perhaps? 18:44:19 slava, yes, a game or two or three. I've some other ideas as well. Always lots of ideas. Too many ideas. ;) 18:44:31 well, let's work together :) 18:45:05 i wrote a pretty big game once, but never finished it. 18:45:12 Ahh, it was a GTA-like thing, right? 18:45:16 mostly got bored of working in java 18:45:17 yes. 18:45:30 I work in C with Allegro right now. 18:49:49 --- quit: virl (Remote closed the connection) 19:20:27 --- quit: Amanita_Virosa ("Hrm. Stuff to do. Wow.") 19:20:27 Today I wrote an extension to add Gforth's number-prefix capability to Quartus Forth. $4D, %10101, that sort of thing. 19:20:27 Smart delimiters? 19:20:27 No, a simple extension to >NUMBER should the original attempt fail. 19:20:27 Four prefixes: $ % & and '. The last one is for ASCII. 19:20:27 Aha. 19:20:27 I reproduced the Gforth requirement that a negative sign, if any, goes in front. -$4D for instance. 19:20:27 Curiously -'a also works, producing -97. 19:20:37 and %1011.1001 works, but not 'ab.c (it treats . like a base-256 digit). 19:21:47 --- join: thinfu_ (i=thin@bespin.org) joined #forth 19:21:52 That is to say, 'ab.c works, but doesn't produce a double-cell value. 19:22:16 . makes a double-cell value? 19:22:27 In a Standard system, yes. 19:22:34 --- quit: virsys ("bah") 19:22:37 what about floating point literals? 19:22:41 They have an E in them. 19:22:48 weird 19:22:56 Historically consistent. 19:23:18 The precedent for double-cell integer math predates floating-point in Forth by quite a few years. 19:25:01 huh. So the dot breaks between cells? 19:25:07 I thought you just put it at the end... 19:25:55 It only *has* to be recognized at the end. It doesn't break between cells, but on most systems that support having the dot anywhere in the number, you can retrieve the dot's position, and use it in fixed-point calculations. 19:26:25 Ah. That makes sense. 19:28:31 --- quit: thinfu (Read error: 113 (No route to host)) 19:28:56 --- join: snoopy_16 (i=snoopy_1@dsl-084-058-139-155.arcor-ip.net) joined #forth 19:35:21 --- join: virsys (n=virsys@or-65-40-181-32.dyn.sprint-hsd.net) joined #forth 19:37:19 For the curious, it's here: http://quartus.net/files/PalmOS/Forth/Candidate/prefix.txt 19:37:36 Quartus Forth-specific, but it should track ok. 19:38:42 The defer/action-of/is are from the new Forth 200x proposal. 19:39:53 Forth 200x proposal grew (in part) out of that discussion a while back on comp.lang.forth about defer/etc. ? 19:40:36 I thought it started before that, but I became aware of it around that time. 19:41:06 (the defer/action-of/is thing sounded familiar) 19:42:05 Five words in the DEFER extension. I added "deferred?". 19:42:48 Quartus Forth has two kinds of deferred words, kernel and user. 19:43:49 What's the difference? 19:45:22 Kernel defers are implemented more efficiently, but can't be changed in a turnkey app. User defers are less efficient, but can be changed in a turnkey app. I've got a 'redefer' facility to turn a kernel-deferred word into a user-deferred word as required, so it isn't a hard limit. 19:47:14 The other difference between the two is that kernel-deferred words automatically relocate into a turnkey image; user-deferred words don't, and have to be initialized by the application. 19:47:35 --- quit: Snoopy42 (Read error: 110 (Connection timed out)) 19:47:42 --- nick: snoopy_16 -> Snoopy42 19:48:35 These are some of the small sacrifices made to keep the turnkey compiler one-pass, and as fast as possible, since it's running on a Palm. 19:48:53 Yeah, that makes sense. 19:50:18 I have had thoughts of revamping the whole thing so that the difference is truly transparent, but it's likely not worth doing. 19:51:19 It'd involve making all deferred words use the same mechanism (each with a cell in dataspace with an xt in it), linked in a list so they can be relocated at turnkey time. 19:51:50 Twice the dataspace usage per deferred word, but conceptually similar. I'm mulling it over. 19:53:59 --- quit: virsys ("bah") 19:54:04 The 'redefer' facility would still be useful, as it can turn almost any kernel word into a defer even if it isn't already. 19:57:13 I don't know. I'd have to update MARKER, the MakePRC turnkey facility, and probably a few other things; not sure the limitations are onerous enough to warrant it. 19:58:42 --- join: snoopy_16 (i=snoopy_1@dsl-084-058-128-069.arcor-ip.net) joined #forth 20:17:10 --- quit: Snoopy42 (Read error: 110 (Connection timed out)) 20:17:15 Hmm...I think someone has been working on GNU as's macro facility. 20:17:24 This code doesn't look half as bad as I remember. 20:17:29 --- nick: snoopy_16 -> Snoopy42 20:33:30 --- quit: tathi ("foo!") 21:51:29 --- quit: OrngeTid1 ("trying again") 21:51:45 --- join: OrngeTid1 (i=orange@orangetide.com) joined #forth 21:52:52 --- quit: OrngeTid1 (Client Quit) 21:53:13 --- join: OrngeTid1 (i=orange@orangetide.com) joined #forth 21:53:19 --- quit: OrngeTid1 (Client Quit) 21:54:32 --- join: OrngeTid1 (i=orange@orangetide.com) joined #forth 21:54:53 --- quit: OrngeTid1 (Client Quit) 21:56:50 --- join: OrngeTid1 (i=orange@orangetide.com) joined #forth 22:11:09 --- join: virsys (n=virsys@or-65-40-181-238.dyn.sprint-hsd.net) joined #forth 22:19:37 --- quit: OrngeTid1 ("leaving") 22:19:48 --- join: OrngeTide (i=orange@orangetide.com) joined #forth 22:28:35 --- part: slava left #forth 22:29:06 --- join: amca (n=plump@as-bri-3-19.ozonline.com.au) joined #forth 22:32:15 Hey amca. 22:32:39 Gday Quartus. How goes it? 22:32:53 It goes. What's new with you? 22:34:03 Ive decided to dip into my savings and buy a TI-83 22:34:55 That's a calculator with a superiority complex, isn't it? 22:34:58 So I can do coding on the run (with a keypad rather than a stulus like PDA) 22:35:11 Well hell, man, what you need is a Palm with a wireless keyboard. 22:35:15 And Quartus Forth! 22:35:21 Graphing, programmable, with z80 asm ability 22:35:30 I think that would cost a heap more 22:35:43 I don't know. What's the TI-83 worth? 22:35:50 AUD$230 for the TI-83 22:35:57 So about US$115 22:36:46 Well, yes. About twice as much, with the keyboard. But worth it. 22:38:04 Well techically, I cant really afford the TI-83 now, but a 200 odd dollar expense I can squeeze out of my concionce, since my current programmable, non-graphinbg calc is 10 years old 22:38:43 There are quite a few programmable calculators available for the Palm, including emulations of others. 22:39:02 Also, Palms are a lot more complicated than TI-83s 22:39:21 Id actually prefer an Altair 8080 I can fit into the palm of my hand 22:39:22 I'm not so sure. 68K rather than Z80, but it's not so different. 22:39:42 You want a 2K Altair? With the front-panel switches? Or with the paper-tape upgrade? 22:39:47 They have a more complex OS than the TI-83 I think 22:39:55 Front panel switches 22:40:06 The whole blinken lights experience 22:40:20 Not my idea of fun. 22:40:54 Yes, I seem to be strange. 22:41:27 Ppl I talk to it about are like "but why bother with that when you can use a Palm with such and such facilities" 22:41:38 TI-83 ius a close comprimise 22:41:58 Is there even a Forth for it? 22:42:49 Not that I know of. :D So I can try to implement one. 22:43:05 But it has plenty of games and coding resources 22:44:02 I looked at it once a while back. I remember some BASIC-like language. 22:44:30 yep 22:44:53 You can develop for it on a PC or inline asm I beleive 22:45:10 I did search for Forth for it but came up nada :/ 22:45:48 And it's monochrome, right? What's the resolution? 22:46:34 yep 22:46:39 Let me check 22:51:09 screen: 96x64 pixels, 16x8 characters 22:51:13 Tiny. 22:51:17 So suitably minimalistic 22:51:18 And a very small keyboard. 22:51:44 very small keyboard? It is normal calc size 22:51:49 http://www.ticalc.org/basics/calculators/ti-84plus.html 22:52:26 Too small for any serious work for me. 22:53:44 But it isnt for serious work, (apart from actually using it as a calculator), it is for me to do play coding on it. 22:54:27 Its the whole "doing something because it can be done" thing 22:54:43 I don't mean 'serious work' in that way. I mean for any amount of data input. 22:54:47 Or coding. 22:55:05 I've used a TI-92, and the keyboard drives me batty. 22:55:36 Well when I find the TI-83 too limiting Ill probably switch to Palm coding 22:56:17 I can't remember the TI-92's resolution, but I'm pretty sure it was bigger than 96x64. 22:56:27 * amca nods 22:56:47 Ill probably start by coding simple games like Breakout/pong 22:59:02 then try to tackle implementing Forth 22:59:27 But before I consider the latter I will need more Forth experience 22:59:40 And more patience than I would have, on that tiny screen. 23:00:14 hehe :). Imagine a Forth on an Altair 23:01:46 There was a Tiny BASIC. Slow. 23:02:24 Someone has made a wolfenstein 3d for TI calcs. That will be interesting to see how slow it is 23:03:20 For about a minute. 23:03:36 hehe 23:03:38 probably 23:05:26 Quartus: So, is anything new with you? 23:05:33 What have you been working on as late? 23:06:26 Added Gforth-style numeric prefixes to Quartus Forth. 23:06:36 Made a quick-reference sheet for Quartus Forth-specific words. 23:06:57 Numeric prefixes? 23:07:07 Yes -- such as $4d and %10101100 23:07:39 Ah. Now I get you 23:07:42 $ for hex, & for decimal, % for binary, ' for ASCII 23:08:02 I was thinking you had created words like 2+ for a moment and got confused :) 23:08:32 Those are easier. 23:08:43 hehe 23:08:48 I would think so. 23:09:19 Numeric prefixes would be adding complexity to the numeric parser as opposed to the dictionary wouldnt it? 23:10:01 Right. 23:10:27 It's an optional module, entirely in source. 23:10:30 What is the numeric parser coded in? Forth? 23:10:51 In native-code Forth, hand-optimized. 23:11:07 Native-code Forth? 23:11:20 as in inlined asm? 23:11:50 Right, generally speaking. 23:12:03 But in a Forth context of course 23:12:16 What processors does Quartus Forth work on? 23:12:48 It's 68K code, written for the Palm OS, but it'll run on the ARM Palm devices also. 23:13:02 the ARM will emulate the 68k? 23:13:09 Right. The ARM devices have a 68K emulator. 23:13:14 Or is there an onboard 68k? 23:13:18 ah I see 23:14:14 There's an ARM assembler in Quartus Forth for writing native routines. 23:14:17 gives me warm fuzzies to think that hand held devices powerful enough to emulate 80's PC CPUs 23:14:31 cool. So you can write a version of each 23:15:30 I wouldn't bother; writing for 68K means staying compatible all the way back to Palm OS 1. I might optimize a bottleneck, but that suggests the sort of heavy computing that isn't what you'd normally use a Palm for. 23:15:58 But it's an option. 23:16:04 yep 23:16:22 Is the Quick-ref sheet you did online? 23:16:30 The PalmOS is in ARM on those devices, so everything runs faster; the 68K is effectively a VM there. 23:16:45 http://quartus.net/files/PalmOS/Forth/Docs/q4th20ref.pdf 23:17:00 The ANS one is http://quartus.net/files/PalmOS/Forth/Docs/stdref.pdf 23:17:26 tnx :) 23:18:15 Which OS do you use? 23:18:24 What do you mean? 23:19:00 For your desktop, sorry 23:19:09 This box is Win2K. 23:19:35 Does it have job control in its shell? / 23:20:06 What exactly do you mean by "job control"? 23:20:53 like in bash. having '&', ';', 'fg', 'bg' etc 23:22:23 You can get bash for Win2k, if you want it. The built-in cmd shell has start, which optionally can spawn a separate task. 23:23:03 ah 23:36:04 How far have you gotten with the numeric prefix's? 23:38:45 It's done. 23:38:55 I've posted it for review. 23:39:17 cool 23:39:23 It's only a few lines of code, really. http://quartus.net/files/PalmOS/Forth/Candidate 23:42:37 Somewhat cryptic, makes use of deferred words that the kernel provides. 23:43:02 Ah 23:43:40 The >prefix-number part should be clear enough; it's the heart of it. 23:43:55 yep 23:43:57 er, ">prefixed-number" that is 23:44:26 overall the basic code stuff doesnt look brain twisting to look at. 23:47:04 One thing Ive been wondering about in Forth implementation, is where Forth stores the LOOP limit. I know that the current I value is on the R stack, buit I cant think of where the limit would be stored apart from in some stack Ive never seen mentioned 23:47:39 Typically it's on the return stack just above I. 23:48:00 what about the J limit? 23:48:17 In the loop parameters for the surrounding loop, if any, higher up on the stack. 23:49:18 So the stack would be <2> limit I ? 23:49:44 That's the idea, yes. 23:49:48 ah 23:50:25 and to access it test it, it performs a 2dup and '<' operations? 23:50:29 (on the R stack 23:50:30 ) 23:50:49 You'll need to rephrase that for me. 23:51:54 Does it perform 2dup and and less than operations on the Return stack, or does it copy the first 2 elements to the operations stack and evaluate the less-than there? 23:53:38 --- quit: Quartus (Remote closed the connection) 23:53:43 --- join: Quartus (n=trailer@ansuz.pair.com) joined #forth 23:53:52 Sorry. You were saying something about 2dup and Does it perform 2dup and and less than operations on the Return stack, or does it copy the first 2 elements to the operations stack and evaluate the less-than there? 23:54:22 (Get that?) 23:54:36 (As in "does the loop perform" 23:54:37 ) 23:58:20 --- quit: Quartus (Remote closed the connection) 23:58:24 --- join: Quartus (n=trailer@ansuz.pair.com) joined #forth 23:58:34 Sorry, some problem here. Did you get what I said about the guts of LOOP being a code word? 23:58:37 Second try? 23:58:41 no 23:59:01 I said I've never implemented the guts of LOOP in Forth. It's got to be a primitive in code, for speed. 23:59:51 I see 23:59:56 fair enough 23:59:59 --- log: ended forth/05.09.14