Safety net: two configs?
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Safety net: two configs?
@Don: i just came from this thread:
http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=6033
Is possible to have a safety net just in case something happens to the config? Like having last two configs?
So everytime i save config, XY saves two configs:
1) Config before saving (last config)
2) Config after saving (latest config)
On next save latest config becomes last config and so on.
http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=6033
Is possible to have a safety net just in case something happens to the config? Like having last two configs?
So everytime i save config, XY saves two configs:
1) Config before saving (last config)
2) Config after saving (latest config)
On next save latest config becomes last config and so on.
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Safety net: two configs?
Sounds like a good idea, and I vaguely recall some other appl that did that (but not enough to know which one)...
It could make it much easier to test/try some features without risking not being able to get back...
Maybe have the older one as a .BAK file which is common for backup/prior vers...
It could make it much easier to test/try some features without risking not being able to get back...
Maybe have the older one as a .BAK file which is common for backup/prior vers...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Safety net: two configs?
Because it takes time and space, it would have to be made optional. And i bet, the people who need this safety net would not use it.serendipity wrote:@Don: i just came from this thread:
http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=6033
Is possible to have a safety net just in case something happens to the config? Like having last two configs?
So everytime i save config, XY saves two configs:
1) Config before saving (last config)
2) Config after saving (latest config)
On next save latest config becomes last config and so on.
FAQ | XY News RSS | XY X
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Safety net: two configs?
I always thought lastini.dat provided this, at least to some degree, is that not the case?
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Safety net: two configs?
No, it just stores the name of the last INI.TheQwerty wrote:I always thought lastini.dat provided this, at least to some degree, is that not the case?
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Safety net: two configs?
Time and space? Huh?admin wrote:Because it takes time and space, it would have to be made optional. And i bet, the people who need this safety net would not use it.
I can't see that this would take more another second or so, if even that, and it's not something that is done all that often, I'd suspect...if others are anything like me, I only save config once every few days, or less as I do it on exit but keep XY running almost 100% of the time...and space? Maybe a few hundred KB, or less, for the most critical file(s) and the benefits would certainly outweigh the downsides, I think...I'd even suggest it be made the default to make sure thae newbies would use it.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: Safety net: two configs?
I would have thought that similar functionality can be achieved with scripting. A UDC/CTB that first copies the config somewhere and then actions a save. Too easy or am I missing something?serendipity wrote:Is possible to have a safety net just in case something happens to the config? Like having last two configs?
So everytime i save config, XY saves two configs:
1) Config before saving (last config)
2) Config after saving (latest config)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Safety net: two configs?
Time: I had been thinking of doing this automatically on each startup; now I read the OP and agree that time is not a factor in this context. Although it will slow down exiting the app because it should be also done on "Save Settings on Exit" as well, of course.j_c_hallgren wrote:Time and space? Huh?admin wrote:Because it takes time and space, it would have to be made optional. And i bet, the people who need this safety net would not use it.![]()
I can't see that this would take more another second or so, if even that, and it's not something that is done all that often, I'd suspect...if others are anything like me, I only save config once every few days, or less as I do it on exit but keep XY running almost 100% of the time...and space? Maybe a few hundred KB, or less, for the most critical file(s) and the benefits would certainly outweigh the downsides, I think...I'd even suggest it be made the default to make sure thae newbies would use it.
Space: tag.dat can easily grow to many many MBs... and soon we will have many tag.dats ...
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Safety net: two configs?
Also done on exit? The only time that I see it being done is when settings are actually saved, whether by user request or auto-on-exit.admin wrote:Time: I had been thinking of doing this automatically on each startup; now I read the OP and agree that time is not a factor in this context. Although it will slow down exiting the app because it should be also done on "Save Settings on Exit" as well, of course.
Well, I personally don't consider tag.dat to be part of config that I would be concerned about...it could be excluded from this...maybe the OP had another view, but to me, it was the INI's as 1st priority, then lastini.dat/ks.dat/udc.dat/fvs.dat/ as 2nd, and catalog.dat/action.dat as maybe 3rd but even those fall into a gray area as I wouldn't really consider them as config for these purposes.Space: tag.dat can easily grow to many many MBs... and soon we will have many tag.dats ...
Because when one does a "save config as", the only file that's saved is the INI, right?
So saving that file by itself would barely take any time or space...and those that I've listed as 2nd shouldn't take much more...I fully agree about tag.dat being large; however, yes, while it technically is part of user settings but if that wasn't saved by this auto-process, I'd still be satisfied because if I'm just experimenting/trying with some color settings or color filters or such, I wouldn't care about tags/comments.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Safety net: two configs?
So the minimal version would mean to add just one step before saving the configuration to XYplorer.ini:j_c_hallgren wrote:Also done on exit? The only time that I see it being done is when settings are actually saved, whether by user request or auto-on-exit.admin wrote:Time: I had been thinking of doing this automatically on each startup; now I read the OP and agree that time is not a factor in this context. Although it will slow down exiting the app because it should be also done on "Save Settings on Exit" as well, of course.Well, I personally don't consider tag.dat to be part of config that I would be concerned about...it could be excluded from this...maybe the OP had another view, but to me, it was the INI's as 1st priority, then lastini.dat/ks.dat/udc.dat/fvs.dat/ as 2nd, and catalog.dat/action.dat as maybe 3rd but even those fall into a gray area as I wouldn't really consider them as config for these purposes.Space: tag.dat can easily grow to many many MBs... and soon we will have many tag.dats ...
Because when one does a "save config as", the only file that's saved is the INI, right?
So saving that file by itself would barely take any time or space...and those that I've listed as 2nd shouldn't take much more...I fully agree about tag.dat being large; however, yes, while it technically is part of user settings but if that wasn't saved by this auto-process, I'd still be satisfied because if I'm just experimenting/trying with some color settings or color filters or such, I wouldn't care about tags/comments.
Save XYplorer.ini as XYplorer.ini.bak
That would be easy to do. Is this what the OP intended?
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Safety net: two configs?
Yes, that precisely was my point.admin wrote:So the minimal version would mean to add just one step before saving the configuration to XYplorer.ini:j_c_hallgren wrote:Also done on exit? The only time that I see it being done is when settings are actually saved, whether by user request or auto-on-exit.admin wrote:Time: I had been thinking of doing this automatically on each startup; now I read the OP and agree that time is not a factor in this context. Although it will slow down exiting the app because it should be also done on "Save Settings on Exit" as well, of course.Well, I personally don't consider tag.dat to be part of config that I would be concerned about...it could be excluded from this...maybe the OP had another view, but to me, it was the INI's as 1st priority, then lastini.dat/ks.dat/udc.dat/fvs.dat/ as 2nd, and catalog.dat/action.dat as maybe 3rd but even those fall into a gray area as I wouldn't really consider them as config for these purposes.Space: tag.dat can easily grow to many many MBs... and soon we will have many tag.dats ...
Because when one does a "save config as", the only file that's saved is the INI, right?
So saving that file by itself would barely take any time or space...and those that I've listed as 2nd shouldn't take much more...I fully agree about tag.dat being large; however, yes, while it technically is part of user settings but if that wasn't saved by this auto-process, I'd still be satisfied because if I'm just experimenting/trying with some color settings or color filters or such, I wouldn't care about tags/comments.
Save XYplorer.ini as XYplorer.ini.bak
That would be easy to do. Is this what the OP intended?
It's especially heart wrenching when someone comes up with a post "I lost all my setting!!".
Now you can say, "Just use your last config".
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Safety net: two configs?
Agree that that simple thing would certainly help a lot! After all, isn't it the INI that Don most often asks be sent to him?serendipity wrote:Yes, that precisely was my point.admin wrote:So the minimal version would mean to add just one step before saving the configuration to XYplorer.ini:j_c_hallgren wrote:maybe the OP had another view, but to me, it was the INI's as 1st priority, then lastini.dat/ks.dat/udc.dat/fvs.dat/ as 2nd, and catalog.dat/action.dat as maybe 3rd
Because when one does a "save config as", the only file that's saved is the INI, right?
So saving that file by itself would barely take any time or space...and those that I've listed as 2nd shouldn't take much more...
Save XYplorer.ini as XYplorer.ini.bak
That would be easy to do. Is this what the OP intended?
It's especially heart wrenching when someone comes up with a post "I lost all my setting!!".
Now you can say, "Just use your last config".
However, at some point, adding a way to similarly do the other typically closely related files (ks/fvs/udc) should be considered. I think as some users may consider that part of config whereas tags is more data.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Safety net: two configs?
But only if he saved only once. Many users who think they lost their settings try several times to open and close the app...serendipity wrote:Yes, that precisely was my point.admin wrote:So the minimal version would mean to add just one step before saving the configuration to XYplorer.ini:j_c_hallgren wrote:Also done on exit? The only time that I see it being done is when settings are actually saved, whether by user request or auto-on-exit.admin wrote:Time: I had been thinking of doing this automatically on each startup; now I read the OP and agree that time is not a factor in this context. Although it will slow down exiting the app because it should be also done on "Save Settings on Exit" as well, of course.Well, I personally don't consider tag.dat to be part of config that I would be concerned about...it could be excluded from this...maybe the OP had another view, but to me, it was the INI's as 1st priority, then lastini.dat/ks.dat/udc.dat/fvs.dat/ as 2nd, and catalog.dat/action.dat as maybe 3rd but even those fall into a gray area as I wouldn't really consider them as config for these purposes.Space: tag.dat can easily grow to many many MBs... and soon we will have many tag.dats ...
Because when one does a "save config as", the only file that's saved is the INI, right?
So saving that file by itself would barely take any time or space...and those that I've listed as 2nd shouldn't take much more...I fully agree about tag.dat being large; however, yes, while it technically is part of user settings but if that wasn't saved by this auto-process, I'd still be satisfied because if I'm just experimenting/trying with some color settings or color filters or such, I wouldn't care about tags/comments.
Save XYplorer.ini as XYplorer.ini.bak
That would be easy to do. Is this what the OP intended?
It's especially heart wrenching when someone comes up with a post "I lost all my setting!!".
Now you can say, "Just use your last config".
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Safety net: two configs?
Yes, that would be a bummer. Only other way i can think of is, if the contents of the ini is not changed then don't overwrite last config.admin wrote:But only if he saved only once. Many users who think they lost their settings try several times to open and close the app...serendipity wrote:Yes, that precisely was my point.admin wrote:So the minimal version would mean to add just one step before saving the configuration to XYplorer.ini:j_c_hallgren wrote:Also done on exit? The only time that I see it being done is when settings are actually saved, whether by user request or auto-on-exit.admin wrote:Time: I had been thinking of doing this automatically on each startup; now I read the OP and agree that time is not a factor in this context. Although it will slow down exiting the app because it should be also done on "Save Settings on Exit" as well, of course.Well, I personally don't consider tag.dat to be part of config that I would be concerned about...it could be excluded from this...maybe the OP had another view, but to me, it was the INI's as 1st priority, then lastini.dat/ks.dat/udc.dat/fvs.dat/ as 2nd, and catalog.dat/action.dat as maybe 3rd but even those fall into a gray area as I wouldn't really consider them as config for these purposes.Space: tag.dat can easily grow to many many MBs... and soon we will have many tag.dats ...
Because when one does a "save config as", the only file that's saved is the INI, right?
So saving that file by itself would barely take any time or space...and those that I've listed as 2nd shouldn't take much more...I fully agree about tag.dat being large; however, yes, while it technically is part of user settings but if that wasn't saved by this auto-process, I'd still be satisfied because if I'm just experimenting/trying with some color settings or color filters or such, I wouldn't care about tags/comments.
Save XYplorer.ini as XYplorer.ini.bak
That would be easy to do. Is this what the OP intended?
It's especially heart wrenching when someone comes up with a post "I lost all my setting!!".
Now you can say, "Just use your last config".
-
admin
- Site Admin
- Posts: 66351
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Safety net: two configs?
Or, don't overwrite if is the same day (modified date), resp. < 24 hours? That way you would always have "Yesterday's INI".serendipity wrote:Yes, that would be a bummer. Only other way i can think of is, if the contents of the ini is not changed then don't overwrite last config.
FAQ | XY News RSS | XY X
XYplorer Beta Club