rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: SilentPliz on August 08, 2010, 11:50:40 PM

Title: Suggestion about save options
Post by: SilentPliz on August 08, 2010, 11:50:40 PM
Hi ! :)

I open this topic to make a suggestion to rejetto, and perhaps collect different point of view.

It would not be better than the configuration of HFS whether saved by default in .ini file?
I realize that we often advised users to save options in a file.

I also note a few posts on the forum, indicating the suspicious disappearances/persistence of settings after crash, reboot, and other mysteries (this happened to me as well, there has long... never with options saved to file -hazard ?-).
Often options saved in the registry me more embarrassed than anything else during various tests with HFS.

So my proposal:
- Enable by default: Save options ... to file
  (Saving ini.bak also actived)

Or, as alternative solution (which I like less) ... continue to save the options in the registry by default, but at every saving, save a ini.bak file too.
-----------------------------------------------------------

Ouch! at this point I just Noticed that the ini.bak file no longer seemed created , during the backup options. (#266)
Title: Re: Suggestion about save options
Post by: rejetto on August 09, 2010, 10:57:15 AM
i would rather do it, if it had only pros, but
- saving to file is currently not safe (saving to registry is safe instead, AFAIK)
- saving to file in the same folder as hfs is bad practice since Vista
Title: Re: Suggestion about save options
Post by: maverick on August 13, 2010, 12:52:57 AM
- saving to file is currently not safe (saving to registry is safe instead, AFAIK)

This is the first time I have heard anyone say that "saving to file" is  not safe.  This is now coming from rejetto without any explanation as to why it is not safe.  ???  Please explain yourself.

If there is a security issue by saving to file, I consider this to be a bad bug that has to be fixed.

Comments.
Title: Re: Suggestion about save options
Post by: rejetto on August 13, 2010, 01:14:52 PM
Didn't you notice all the data loss reported in the last 2 years?
I personally never met such problem, and also tried in many ways to remotely workaround the problem.
But from time to time, someone loses a file, while i have no memory about a similar fact on registry stored data.
I wish i knew more about it.
Title: Re: Suggestion about save options
Post by: maverick on August 13, 2010, 02:32:41 PM
rejetto,

As you know I have been running hfs (all versions and the various beta builds) for about 5 years now.  I have never experienced any kind of loss by saving to file and have never saved to the registry.

From what I can recall reading is from new users that have lost their vfs or their ini because they weren't saved even once before shutting hfs down. As nothing was saved they had to start over the next time they re-started hfs.   

Saving to file is doing the job it is supposed to do for me and I also backup the ini with a script.  I don't think saving to file is a cause of data loss.


Title: Re: Suggestion about save options
Post by: rejetto on August 13, 2010, 03:08:52 PM
When the problem happens, files are just filled with "zero" bytes. I got some of them via email.
It's like a problem of the file system, i guess when saving and crashing (or power failure) at the same time.
Some users experienced the problem several times, so i guess is caused by some recurring conditions like habits or environment.
I have truly no idea on what's going on with it, but at the moment i cannot consider it safe.
Title: Re: Suggestion about save options
Post by: Mars on August 13, 2010, 03:48:59 PM
It would be simply more sensible to leave the choice to the user in one dialog box between the register and a file WHEN nobody both is found
Title: Re: Suggestion about save options
Post by: rejetto on August 13, 2010, 03:56:58 PM
every time  nobody both is found

didn't understand this
Title: Re: Suggestion about save options
Post by: Mars on August 13, 2010, 03:59:35 PM
Quote
Quote from: Mars on Today at 17:48:59
every time  nobody both is found


didn't understand this

changed every time by when :D

************

quand aucun des deux n'existe

ni la clé rejetto dans le registre, ni le hfs.ini

 ;)

when hfs start, if he find not the key rejetto in the registry or hfs.ini in his folder, then a dialog box appears to propose the choice.
Title: Re: Suggestion about save options
Post by: r][m on August 13, 2010, 06:05:57 PM
Like maverick I have used HFS for several years, always the betas.
The only time's I recall having a ini or vfs loss is when I failed to save
or did something dumb. I use a separate directory to back up all critical
components. I've never saved to registry, and I don't want to.
There will always be those who have system problems, or just haven't
bothered to read and learn. A bit of common sense on the part of the user
is required, isn't it?
Title: Re: Suggestion about save options
Post by: SilentPliz on August 13, 2010, 07:03:24 PM
...
Perhaps then, offer the choice at user at the first launch of HFS.
With even a small warning, if needed.  :)
Title: Re: Suggestion about save options
Post by: rejetto on August 14, 2010, 12:48:21 PM
Perhaps then, offer the choice at user at the first launch of HFS.
With even a small warning, if needed.  :)

it would confuse most people, not knowing what the registry is.
Title: Re: Suggestion about save options
Post by: SilentPliz on August 14, 2010, 12:50:39 PM
it would confuse most people, not knowing what the registry is.

Here I have nothing to say. I'm speechless. ;D

mode joke on:
They know how to refind the entrance to the nursing home at least?

Otherwise you will be forced to make a version of HFS with very very large buttons. :D