On Apr 22, 5:36 pm, William Stein <wst...@gmail.com> wrote:
> Does anybody here ever use snapshots?

I have never used a snapshot, that I am aware of.  I've lost a cell or
two due to crashes, but I think this was always due to my flaky USB
hard drive setup and not Sage's fault.  And it was always just messing
around while writing lecture notes, or something similarly not too
important.

I like the way the proposed patch wipes the slate fairly clean.  But I
sort of hope it is temporary and at some point a rational autosave
strategy of some sort is implemented.    There was an attempt to not
create a snapshot if there were no changes, but I don't think that
worked as advertised.  And the auto-save interval was more like "save
if there is a trigger and it has been *longer* than the interval"

It would be nice if

(a) autosave, or not, was user-configurable from the notebook settings
by user

(b) autosave interval could be set to *any* integer number of seconds/
minutes (maybe 0 means don't) in notebook settings

(c) There really weren't ever identical snapshots created

(d) William's idea of phased snapshots (fewer as they age) was
implemented since it is a good idea.

Is it problematic to spawn a thread that just sleeps for an interval
and then wakes up to consider making a snapshot?

Anyway, this isn't meant to be a proposal, just the suggestion that if
properly designed, then a useful, unobtrusive backup system should be
possible.

I hope to review William's patch soon, but will let this thread run
its course first.

Rob




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to