To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 4901 (+100)
  Re: FW: Something else is needed, I think...
 
(...) Those who think Java is a good idea are already discussing using variants. (...) Um, C family languages were obsolete before their introduction. Von Neumann thought that floating point was a bad idea, he was right then and he's right now. If (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) <snip> Mark and John's messages this morning look like the beginnings of two separate developments for the RCX, both of which have the potential to satisfy the needs of many who are dissatisfied with the current firmware. Hopefully both ideas (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Lego Network Protocol questions
 
(...) I'd've thought that collision detection would not be hugely reliable, anyway - I'd guess that your own signal would drown out anything else. This is a completely untested assumption, though! (...) I'm not sure why you think the timing would be (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) I was wondering if any of these projects is thinking in providing enough flexibility that would make possible for anyone smoothly integrate new sensors with the currently supported ones? (Like Dennis Clark's RCX IRPD?) Sorry to return to this, (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) My request to both groups is: don't go 'off-list' until you have a feature spec that was formed with feedback from the whole list. It would be a shame for you to finish development of a tool that no one else uses. -Wes (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: LEGO light sensor schematic
 
Michael, Is your light sensor still in pieces? I was wondering if you could find a moulded Lego part number for the upper half of the brick. -John Van Michael Gasperi <gasperi@alynk.com> wrote in message news:FB614n.JBF@lugnet.com... (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
Oh, I guess I should say hello first. Hello. I've been lurking for months now, but haven't joined in because school has been kicking my butt timewise, hence an inability to build. Wicked, evil university. Anyways, the semester ends next week (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Lego Network Protocol questions
 
(...) This is a possibility I hadn't considered, and it sounds reasonable to expect to see that effect at some point. I never tested how a second source affects echo reception, but it seems easy enough to test. If I get around to testing this I'll (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Absolutely. What I have in mind is that the basic level of access is to the raw sensor value of the A/D converter and whether it is active or passive. The interpretation of that value would be done by other classes. For example, I would like (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Some more comments and suggestions.
 
(...) I concur with this opinion. I realize that the subject may be a bit prevalent right now but the alternative would be to develop a separate list for alternative firmware discussion, and I don't know how viable that would be. What follows is a (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
After thinking about it some more, I think it was silly to develop the OS and the JVM port simultaneously. The initial step should be to get it running under legOS, perhaps single-threaded without GC. After that is working, we can replace the OS (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
So to preface my comments to Mark's message, I should say that even though I point out technical problems with what he proposes, I do not mean to imply that these technical problems cannot be overcome. (...) There are some technical issues that (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) You have reiterated exactly what I expected would be one of the most popular reasons to want to implement a JVM for the RCX. I hope you don't think I'm against what you're attempting to do... it's just that I, like Kekoa, believe that the (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Remember that Java's origins came from Oak, which was intended to operate a Universal remote control. JVM runs on many very tiny computers, and I am certain that a large subset of Java can be made to fit on the RCX and be a usable product. (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Lego Network Protocol questions
 
(...) Sure, but you should be able to get the edge of the stop bit(s) to within 1/16th bit+interrupt latency (which I'd guess is tiny in comparison to the bit timing) which gives you the position of any other bit just as accurately (give or take (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
At 18:22 06-05-1999 Thursday , you wrote: [...] (...) [...] Yes, that's a good idea since CyberMaster does accept a downloadable firmware, you can simply pretend it never existed and use all the CyberMaster specific opcodes as you wish. Laurentino (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Not that I disagree with the elegance of being able to define a class that implements a new way of reading a sensor; however, I thought I'd point out two issues you might want to consider: First, the ROM already contains a significant amount (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Could you explain what you mean by this, exactly? I would have figured that if a new interpreter is designed from scratch, the lengths of the opcodes could be hard-coded into the interpreter in some way. I was not suggesting that any existing (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long) (was: Something else is needed, I think...)
 
Mark Tarrabain wrote in message <3730DE97.EFB3BF9A@l....bc.ca>... (...) It is probably true that a floating-point library cannot (should not?) be built into the firmware. It would probably be better for this to be supported by the compiler(s). But (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: LEGO light sensor schematic
 
(...) Sorry about that, I glued it back together with liquid plastic cement. I don't think it can take another operation and survive. I can't remember seeing a number inside and I was looking in there when you wedge the pc board in place. You might (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Lego Network Protocol questions
 
(...) I was under the impression you wanted to sync a clock to the rhythm of bit arrivals. You cannot do this. You can definitely sync a clock to the rhythm of byte arrivals. I was trying to point out this distinction to you. You must have been (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Unfortunately, the ROM code (as I understand it) does not implement any mechanism other than polling. I would like to do things like block a thread until a sensor value matched some criteria. The only efficient way to do that is to have the (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  FW: Some comments (long)
 
-----Original Message----- From: Ralph Hempel [mailto:rhempel@bmts.com] Sent: Thursday, May 06, 1999 3:25 PM To: John A. Tamplin Subject: RE: Some comments (long) (...) Hmmm, as I understand it, the A/D sampling takes place periodically during the (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Removal of the LED in Light Sensors
 
There is a common operation on LEGO light sensors that involves removal of the LED. The belief is; If the LED is removed, then the sensor works better as an ambient light sensor. I have simulated the LEGO light sensor circuit with and without the (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some more comments and suggestions.
 
(...) That's a good pseudo-question. It would actually be quite easy to set up a focused group/list for this, as has been done for legOS, NQC, and pbFORTH; the viability is only dependent on the interest in having more room to breathe. Anything (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Assuming you use the ROM to receive things, which would be prudent in terms of space but not strictly necessary, the lengths of the opcodes in the message receiving code are determined by the lowest three bits of the opcode: 0 means length 0, (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long) (was: Something else is needed, I think...)
 
Some comments on what Chris Phillips wrote: - as far as I know, you will not be able to implement floating point in byte code, it will be too inefficient (mostly in terms of space) - agreed, current firmware does not support fixed point well, and it (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) What is your point? If you want to make sense of the raw values, and want to leverage the ROM code to process the existing sensor types/modes, you need to call a ROM sensor-processing function every time an a/d completes. That was the point I (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Lego Network Protocol questions
 
(...) That was someone else. I came in in the middle :-) (...) See above. (...) Will it be big enough to matter in the slotted protocol context? (...) No problem at all, I'd guess. Cheers, Ben. -- (URL) grandfather once told me that there are two (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
(...) - I agree there will be two projects - if both projects get off the ground in the first place - Partly I disagree with your characterization of the other project; I do not think the goals are quite as stated. The other group wants to (I think) (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Obviously you have spent much more time deciphering the ROM than I have. I wasn't aware that the ROM supported native threads, only multiplexing the bytecode streams it executed. How can replacement firmware hook into this sensor-processing (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
BTW, we need to thank a LOT of people, people who gave time to reverse engineer stuff.. This is all due to HARD work by a lot of people.. lets not loose sight of how this all was made possible.. Excuse me if this sounded like rambling.. Cause that's (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
(...) Your help will be greatly appreciated. John A. Tamplin Traveller Information Services jat@LiveOnTheNet.COM 2104 West Ferry Way 256/705-7007 - FAX 256/705-7100 Huntsville, AL 35801 -- Did you check the web site first?: (URL) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) I've mislead you. The ROM does not support native threads. The firmware simulates cooperative threads. The firmware selects one of six functions to run based on priority and whether or not a run flag has been set for that function. The run (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) I didn't answer your question with the last message. The ROM does not execute byte codes, the firmware does. The firmware multiplexes between byte codes. I'm not sure what you mean by how can replacement firmware hook into the sensor (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Thanks, I think I understand how it works. John A. Tamplin Traveller Information Services jat@LiveOnTheNet.COM 2104 West Ferry Way 256/705-7007 - FAX 256/705-7100 Huntsville, AL 35801 -- Did you check the web site first?: (URL) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long) (was: Something else is needed, I think...)
 
Kekoa Proudfoot wrote in message ... (...) Do you think it would be possible with improved firmware to support inline H8 code embedded in a user program? For example, a special byte code could indicate that the following code should be executed (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some more comments and suggestions.
 
Well, now that you mention it... lugnet.robotics.rcx.misc might be the best way to go. That seems to have the most consistency with existing groups. If that group's discussion splinters considerably, then new groups could be created in the l.r.r.* (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long) (was: Something else is needed, I think...)
 
(...) Good idea! I like it! The only problem I can see with this is I'm not sure if the H8 supports position independant code or not. If it does, then there's no problem. (...) (28 years ago, 6-May-99, to lugnet.robotics)
 
  Re: Some comments (long) (was: Something else is needed, I think...)
 
(...) You might be able to do this if you were clever about it; you might be able to define an opcode that defines a native subroutine that you can call with another opcode, say, that passes in 16- or 32-bit values in registers and expects you store (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: Some comments (long) (was: Something else is needed, I think...)
 
(...) I should clarify this. The 16-bit software multiply takes two 16-bit numbers and stores their product in a 16-bit number. The 32-bit software multiply takes two 32-bit numbers and stores their product in a 32-bit number. The operations are (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) At the risk of splintering the development efforts here from 2 to three, I've been wondering the same thing. I guess I'm not as concerned with ensuring that my existing OCX code works - I'd rather see any new OS make the RCX "be all that it (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
In message <Pine.A32.3.91.99050...iveonthene t.com>, John A. Tamplin <jat@liveonthenet.com> writes (...) Good for you! If you have an achievable goal then get cracking. I would offer help but my HelloWorld applet skills are not really the ticket. (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
This sounds reasonable. I imagine we'll be using the EmbeddedJava API for this, as this allows us to implement only the parts of Java we need or can support in the RCX. I'm a bit disappointed with the minimal info that java.sun.com provides on what (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) There are no limitations in LegOS at all that I am aware of. The biggest problems with LegOS are the size of and number of tools required work with it and the learning curve for people who don't have any prior programming experience (let alone (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
(...) Actually, we can't do EmbeddedJava since that requires a full JVM including long and double, the Security manager, etc. We aren't going to be able to call it Java, since it won't pass the compatibility suite (we can say it implements a subset (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) For the record, up until recently I agreed with you. However, after hearing further discussions I think it is possible. The biggest hurdle is probably garbage collection since this is what causes Java's propensity to "gobble" memory. The class (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
Aaah, good points. Do we have a preliminary list of packages that we'll need? Actually, it's easier to pick things that aren't needed and then complement it. java.awt is right out, as is java.applet. The same thing can be said for java.beans, (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
(...) Actually, there are some things in java.math that should be there. I would expect we would have two sets of classes -- those which are built into the JVM port (ie, those required for operation like Object, Thread, etc) and those which can be (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Request for new list
 
I request that the discussions of alternate firmware implementation details go into their own newsgroup now. Discussions about features can be crossposted to both lists. There were several requests recently to create a new group for newbies to (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
I was merely ruminating on packages that might provide interesting interfaces/classes, and packages that we can toss out of hand. I wasn't trying to imply (although my post did seem that way) that we should implement ALL of java.io, just that parts (...) (28 years ago, 7-May-99, to lugnet.robotics)
 
  Re: interest in JVM porting effort
 
(...) Ok, that sounds reasonable. John A. Tamplin Traveller Information Services jat@LiveOnTheNet.COM 2104 West Ferry Way 256/705-7007 - FAX 256/705-7100 Huntsville, AL 35801 -- Did you check the web site first?: (URL) (28 years ago, 7-May-99, to lugnet.robotics)
 
  group lugnet.robotics.rcx created
 
[Crossposted to lugnet.robotics & lugnet.announce; followups set to lugnet.robotics & lugnet.robotics.rcx] All right -- better late than never... A new group lugnet.robotics.rcx has been created, and is there now for anyone wants to jump in and use (...) (28 years ago, 7-May-99, to lugnet.robotics, lugnet.announce)
 
  (canceled)
 
 
  Re: Some comments (long)
 
(...) This is FUD. What causes Java to gobble memory is more likely (a) the amount of header overhead it places on objects (more to do with hashing support than gc, I suspect) and (b), to a lesser extent, the fact that objects are never "expanded" (...) (28 years ago, 8-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Java is not particularly space efficient (in typical implementations) for several reasons: 1) value stacks are stored as a union of all the types you can store in a variable, so you eat up at least 32 bits (64 on an implementation supporting (...) (28 years ago, 8-May-99, to lugnet.robotics)
 
  Would-be hacker queries. / Re: Request for new list
 
Hi. Hope I can jump in here and ask where a newby who knows he's in the deep end in computer science discussions, - knows he's taking in water, coughing and spluttering but loving every minute of it - go to ask elementary questions like: What's a (...) (28 years ago, 8-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Sure: one aspect of the "expanded" issue. (...) Well, dynamic loading, not late binding; this stuff would not be on the RCX - presumably almost all of the class loader remains on the host machine, with downloaded code pre-linked and (...) (28 years ago, 8-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries. / Re: Request for new list
 
(...) I'm going out of town and have to run for the bus ayt any moment, so I'm afraid I don't get to answer your questions. But a quick comment to those who are contemplating what the New Environment should be: You see? Not everyone out there wants (...) (28 years ago, 8-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
(...) Hmmm... I guess I have to explain every little word I write so as not to get flamed. People fear Java on a small memory platform because when they run a JVM for any length of time on their Wintel boxes they see it slowly "gobble" more and more (...) (28 years ago, 9-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries. / Re: Request for new list
 
Valid questions, all of them. We do tend to remain in the upper ranks of CS on this list. I'll see if I can take a stab at defining some terms quickly and clearly. BTW, I wouldn't mind adding my knowledge of CS to a FAQ for newbies. Mindstorms will (...) (28 years ago, 9-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries. / Re: Request for new list
 
Hi again. Laurentino was so kind as to give me the definitions of the terms I mentioned. Is it generally agreed that an intelligent newby can ask for definitions of technical terms, as the discussion goes along? If so, I'll try to keep it (...) (28 years ago, 9-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries. / Re: Request for new list
 
Great, Eric! Great answers. Thanks for your help. In cooperation, I think we can compile an awesome programming FAQ. The robots are coming! I'm very excited by the future of robotics in the wake of developments including the RCX. I get the (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  Re: RCX and Java
 
(...) rotation (...) No, java was picked because the company did not wan't to use C++ as it had some bad experience with projects taking way too long to complete. It had used Visual basic (yieek) before but it tended to be slow and the code was not (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries. / Re: Request for new list
 
(...) I have never said that everyone wants or needs Java. I am quite certain that no single platform of any type will please all of the people all the time. As I have said repeatedly here, I think choosing Java minimizes the total work required to (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  Re: Some comments (long)
 
Let's move this discussion to lego-robotics-rcx, since that group was created for discussions like these. (...) Late binding requires the symbol table or some representation of the same thing. For example, you have C inheriting from B inheriting (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  .rcx alternative firmware group/list
 
(...) John and several other people are set up with the new group and successfully posting to it, so this info is for anyone else: lugnet.robotics.rcx is a newsgroup running on the lugnet.com newsserver and it is available via e-mail as (...) (28 years ago, 10-May-99, to lugnet.robotics, lugnet.admin.general)
 
  **wall wart for RCX**
 
Hi all, I was wondering what is the voltage and amps req. for the rcx and what about ac dc polarity? Any help would be very much appreciated. Thanks! -Mike -- Did you check the web site first?: (URL) (28 years ago, 10-May-99, to lugnet.robotics)
 
  Re: **wall wart for RCX**
 
The answer to that question has been on this list several times in the past. Unfortunately we don't have a FAQ yet. The voltage should be from 9-12 volts. It has generally been expressed that a regulated power supply of 12 volts is best but not (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  Printing Program
 
Hi All! Has anyone been able to print out the program using the included software for the RIS? I am trying to teach my students how to program and it would be GREAT if I could show them the code on paper for their notebooks. Thanks in advance! Bill (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  Re: more Mindstorms FAQ
 
(...) based upon the LUGNET directory structure, and will be very receptive to sub-FAQs and other forms of organization. Todd Lehman, myself, and several others are fleshing out the format details in the LUGNET newsgroup lugnet.faq . At this time, I (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries. / Re: Request for new list
 
(...) combining (...) You might want to add the recursive part of this example (namely 6! = 6*(5!), and 5! = 5*(4!), and so on, until you get 1!, which is equal to 1. Then you travel back up the chain, multiplying as you go). Later, Blake. -- Did (...) (28 years ago, 10-May-99, to lugnet.robotics)
 
  Scheme
 
Anyone consider scheme as a "language" to drive RCX? -- Richard Clemens Associate Professor Computer Science Department West Virginia Wesleyan College Buckhannon, West Virginia 26201 clemens@wvwc.edu 304.473.8421 -- Did you check the web site (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  CyberMaster tower unit power
 
Hi, do anybody happen to know if leaving the tower unit connected to the PC at all times drains the battery inside it? Or if there are any other reason to not leave the tower unit connected all the time? And another thing: I've been trying to back (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: CyberMaster tower unit power
 
(...) I connected the CyberMaster tower in November to my PC and never disconnected it ever since. Nowadays still use the *same* battery I installed then. The tower seems to be pretty energy efficient and I'm pretty sure it doesn't spend any energy (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  H8 & unaligned word accesses
 
I discovered an interesting "feature" of the H8 series processors used in the RCX. It will only affect people using raw H8 code on the RCX, such as those of us using LegOS, and perhaps pbforth. The H8 does not support unaligned word accesses. If you (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: H8 & unaligned word accesses
 
(...) Right you are Matt. This created a bit of trouble when I was porting the original pbFORTH code over to the H8. I THINK this is because the H8 core is extensible to a full 16 bit machine - or even 32. The "8" in H8 is a misnomer except at the (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries.
 
(...) problem. (...) You know, I have never really liked the factorial example of recursion. Honestly, how many times have you really needed to generate a factorial in general experience? I feel a better example is building stuff with LEGO. In this (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: Scheme
 
Could you give a brief description of scheme? I've heard that it is a fairly high level language and I know that a compiler or interpreter exists for it on linux. (...) -- Did you check the web site first?: (URL) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries. (fwd)
 
----- Forwarded message from JR Conlin ----- Date: Tue, 11 May 1999 07:46:20 -0700 From: JR Conlin <jrconlin@email.com> Subject: RE: Would-be hacker queries. You know, I have never really liked the factorial example of recursion. Honestly, how many (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries.
 
(...) problem. (...) You know, I have never really liked the factorial example of recursion. Honestly, how many times have you really needed to generate a factorial in general experience? I feel a better example is building stuff with LEGO. In this (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: H8 & unaligned word accesses
 
(...) I am currently using the H8S/2144 processor at work. The above statement is totally correct - the H8 series is directly compatible with the 16-bit H8S series. Because the H8S is a true 16 bit processor, internal memory is always accessed as a (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries.
 
Searching and replacing is a good example of recursion. Suppose that you are editing a document and want to replace every occurrence of the word "the" with the word "then". Here is one way that the program could handle it. Function (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: H8 & unaligned word accesses
 
(...) Brian, how does the rest of the Hitachi H8 line stack up? Up until now, I have been using Motorola exclusively, except for the odd PIC design and even a 4 bit NEC 75000 series design!!! The Hitachi gnu chain seems pretty decent, even the (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: Scheme
 
From: Joel Shafer <joel@connect.net> (...) exists (...) (URL) my view Scheme is the most useful subset of lisp, designed to make a small, elegant, functional language. This is compared to Common Lisp, which is kind of a superset of the various (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries.
 
(...) You are right, but recursion carries a terrible price in terms of stack usage. Most recursion is useful for implementing search and traversal algorithms, but unless the hardware supports DEEP stacks for the worst case, the problem is almost (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries.
 
It's too bad that recursion pays the price of stack usage. Recursion is almost always a more elegant solution and is more easily maintained. But as it is, recursion should only be used when you know that the worst case scenario won't overflow the (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries. / Re: Request for new list
 
Ah, er, right. I forgot that bit. I was sorta in a hurry to get to class and I didn't elaborate my example. My bad. You're quite right. (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  FW: Forward of pbFORTH debug sessions
 
-----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Ralph Hempel Sent: Tuesday, May 11, 1999 12:36 PM To: lugnet.robotics.rcx....lugnet.com Subject: Forward of pbFORTH debug sessions John Cooper (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: Scheme
 
It strikes me that Scheme is largely an academic language. Granted, there are a few Scheme devotees out there who worship the language, but they seem to be all at MIT or Rice. I think they've even written modules for web programming with Scheme, but (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries. (fwd)
 
----- Forwarded message from Joel Shafer ----- Date: Tue, 11 May 1999 10:50:14 -0500 From: Joel Shafer <joel@connect.net> Subject: RE: Would-be hacker queries. Searching and replacing is a good example of recursion. Suppose that you are editing a (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries. (fwd)
 
I'm afraid you are wrong. That is exactly what it does. The result of the first replacement is dependent on the result of the second replacement which is dependant on the result of the third replacement ... It is exactly like the factorial example (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries. (fwd)
 
----- Forwarded message from Joel Shafer ----- Date: Tue, 11 May 1999 12:24:13 -0500 From: Joel Shafer <joel@connect.net> Subject: RE: Would-be hacker queries. (fwd) I'm afraid you are wrong. That is exactly what it does. The result of the first (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries.
 
(...) The factorial is useful for probability. The factorial is a simple, understandable example of recursion, useful to teach the concept; it is lacking only in that it is not very efficient. But when you are first learning, I think concepts are (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries.
 
(...) You know, a 'bot that actually solves a Towers of Hanoi puzzle with real plates and whatnot would be a pretty cool challenge on hardware like the RCX. (ponder, ponder, ponder)... I don't think it's possible with anything less than LegOS or (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  Re: Would-be hacker queries.
 
In article <37389556.ACC65587@lynx.bc.ca>, Mark Tarrabain <markt@lynx.bc.ca> writes (...) I saw one of the early pumas playing hanoi at an exhibition. It must be arout 30 years ago - it's been done before. (28 years ago, 11-May-99, to lugnet.robotics)
 
  Fishing for a tasty linkage/gearing/robotic building thread...
 
Hi all, I've noticed that it's been awhile since there has been good thread concerning the building of robotic elements in Lego. I have nothing against the really neat conversations concerning the RCX - but- computers are what I do for a living, so (...) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries.
 
(...) Don't modern implementations of Lisp/Scheme/Logo automatically convert tail- recursion into iteration? --Todd (28 years ago, 11-May-99, to lugnet.robotics)
 
  recursion (was RE: Would-be hacker queries.)
 
Here is an interesting article on implementing stack free recursion. (...) -- Did you check the web site first?: (URL) (28 years ago, 11-May-99, to lugnet.robotics)
 
  RE: Would-be hacker queries.
 
(...) Yes, as do decent implementations of traditional compiled languages. For example, GCC converts the following: int f(int v) { if(v<2) return v; return f(v-1); } into int f(int v) { while(v>1) { v--; } return v; } Not terribly useful, but (...) (28 years ago, 11-May-99, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more | 100 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR