 | | 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)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
Hi, Important clarification: "data stack" free recursion. This is an important significance. It's really only useful for systems with no data stack.... or alternately as an interesting conversation piece. What's usually more clever is using data (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) Actually, he goes on to show that in some cases you can eliminate call stack recursion using simple transforms as well. (...) For example, JVM does this by keeping a frame stack of methods that have been executed. The interpreter main loop (...) (28 years ago, 11-May-99, to lugnet.robotics)
|
| |
 | | charger
|
|
what i am doing is building a battery charger for back-up batteries to be used with the handyboard, so i don't have to wait for the batteries to charge. can i use the schematic that i found in the handy board technical reference manual except (...) (28 years ago, 11-May-99, to lugnet.robotics.handyboard)
|
| |
 | | How is the battery doing?
|
|
Time to start a new thread I think. I eventually got my battery monitor working, constants from Kekoa: : .V BASE @ DECIMAL RCX_POWER [ HEX ] 4001 POWER_GET RCX_POWER @ [ DECIMAL ] 10997 390 */ 0 <# [CHAR] V HOLD # # # [CHAR] . HOLD #S #> TYPE CR (...) (28 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | RE: How is the battery doing?
|
|
(...) You could just format the number to the LCD, maybe when you press a certain combination of buttons on the RCX? Cheers, Ralph Hempel - P.Eng ---...--- The train stops at the train station, The bus stops at the bus station, So why am I sitting (...) (28 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: zxt614,rue250
|
|
(...) A quick check reveals that a replacement part for the polyswitch fuse is 60R250 (Littelfuse) or the Bourns MF-RX250...I'm sure there are others. If you can't find one of these resettable fuses, you could likely use any 5amp fuse and just (...) (28 years ago, 12-May-99, to lugnet.robotics.handyboard)
|
| |
 | | Minissc 2
|
|
(...) (28 years ago, 12-May-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: How is the battery doing?
|
|
Could do, but I'm using the display to debug the DEFCON code at the moment. (28 years ago, 12-May-99, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: recursion (was RE: Would-be hacker queries.)
|
|
(...) Let me say that I have not looked at the algorythm in question, yet, so forgive me if this is their solution... (...) The SmalltalkVM my last company built used much the same idea, however, one might say that it was a truely recursive (...) (28 years ago, 12-May-99, to lugnet.robotics)
|