W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2000

Re: auto-save periodically, not just at crash time

From: Charles McCathieNevile <charles@w3.org>
Date: Mon, 13 Mar 2000 11:42:39 -0500 (EST)
To: Irene.Vatton@inrialpes.fr
cc: Dan Connolly <connolly@w3.org>, www-amaya@w3.org
Message-ID: <Pine.LNX.4.20.0003131140230.4307-100000@tux.w3.org>
What about writing the internal format of the document every so often? WOuld
that significantly reduce the amout of code called, or just require a whole
lot more to be written?

Also I think every 10 seconds is probably a bit excessive. But ifit had an
autosave periodically that would be helpful. I assume that the power turning
off, which my laptop sometimes does to me, is not going to be caught by the
normal crash-recovery.

cheers

Charles McCN

On Mon, 13 Mar 2000 Irene.Vatton@inrialpes.fr wrote:

  In-reply-to: Your message of Fri, 10 Mar 2000 13:49:25 -0500."
               <38C9435E.D187EA99@w3.org> 
  > I notice that Amaya saves a local copy of my work sometimes
  > when it crashes. But sometimes, the nature of the crash
  > doesn't seem to give Amaya the chance; for example, sometimes
  > it hangs (i.e. goes into an infinite loop) rather than
  > crashing.
  > 
  > How about having it do that local auto-save every 10 seconds
  > or so, crash or no crash? That way, even if it goes into
  > an infinite loop and I have to kill it without giving
  > it a chance to save, I won't lose my work.
  
  Writing the document each 10 seconds is not a guaranty against
  infinite loops because a large part of the code is also used
  during the saving.
  
  The best would be to prevent infinite loops. Could you explain
  what you're doing when Amaya went in an infinite loop.
  
    Irene.
  
  
  

--
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053
Postal: GPO Box 2476V, Melbourne 3001,  Australia 
Received on Monday, 13 March 2000 11:42:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:21 UTC