« Return to Thread: New to group

Re: New to group

by Geert Bevin :: Rate this Message:

Reply to Author | View in Thread


Hi Frederic,

I'll look at this later, but I strongly recommend that you try with  
the latest version of RIFE/Continuations, and maybe even one of the  
nightly builds. Most of RIFE's development lately has gone to the  
standalone continuations lib.

Best regards,

Geert

On 02 Nov 2007, at 19:15, Frederick Isaac wrote:

> Hi Geert,
>
> Thanks for your prompt reply. I do have a slightly older version -  
> I think that it is version 1.4 which I downloaded previously and  
> compiled myself. I have not tried the newer version as yet - has  
> there been any major api changes or should the same code work?
>
> I am enclosing the simple example I was trying to run. It actually  
> runs three little tests
>
> first - a simple Tower of Hanoi (no continuations)
> second - a simple pause continuation example
> third - the Hanoi with continuation which does demonstrate the  
> problem under Rife 1.4
>
> I did modify the code from your examples, but is is mostly a juggle  
> around to put the same code in one single object called  
> ContinuationObject. There is a build and run unix script that just  
> need paths setting to build and run.
>
> Thanks very much for any help you may provide.
>
> Cheers
>
>
>
> On 11/2/07, Geert Bevin <gbevin@...> wrote:
> Hi,
>
> first, which version of RIFE/Continuations are you using?
>
> Also, would you mind attaching the actual source code that you're
> using so that it can be run in a very easy fashion. If there is a
> problem, this drastically reduces the time to figure it out.
>
> Thanks,
>
> Geert
>
> On 01 Nov 2007, at 22:29, bonehead wrote:
>
> >
> > Hi,
> >
> > I was trying to use the rife continuations package to develop a  
> simple
> > java example and came across a small problem.
> >
> > I was trying to use a continuation to code a simple  
> recursiveTower of
> > Hanoi program. Something akin to the wki example here
> >
> > http://en.wikipedia.org/wiki/Tower_of_Hanoi.
> >
> > I replaced the move with a pause() to break out of the recursion
> >
> >
> > hanoi(disks,...)
> > {
> >        if(disks > 0)
> >        {
> >            hanoi(disks-1,...);
> >            pause("Moving disk " ...);
> >            hanoi(disks-1, ....);
> >         }
> > }
> >
> >
> > When I do this it breaks out at the continuation, but upon  
> reentry it
> > cauces a stack overflow problem. I am using an older version of the
> > rife continuaitons jar.
> >
> > Any help would be greatly appreciated.
> >
> > Cheers
>
> --
> Geert Bevin
> Terracotta - http://www.terracotta.org
> Uwyn "Use what you need" - http://uwyn.com
> RIFE Java application framework - http://rifers.org
> Music and words - http://gbevin.com
>
>
>
>
> >
> <jcon.jar.gz>

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-dev" group.
To post to this group, send email to rife-dev@...
To unsubscribe from this group, send email to rife-dev-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: New to group

LightInTheBox - Buy quality products at wholesale price
 
 
 
Google
rifers.org web