Ask in first time wizard whether to donate disk space#1052
Conversation
|
How easy will it be to reverse whatever decision one made during the first install? I know that I oftentimes do not pay that much attention to stuff in checkboxes when I’m installing something, and I don’t want anybody to have to reinstall, because they don’t know how to change stores or whatever… |
|
They just need to go into core settings as usual and change to salt-hash store. |
If you remove the “just” from this sentence, it sounds like something you would first need to know about in order to actually do it… |
|
Maybe we should add a link to the first time wizard (/wiz) for basic setup? |
|
That sounds… wrong. As long as it’s called “First Time Wizard” I would a) never expect it to be around after it’s been finished, and b) never look for that when wanting to change settings. |
|
If you give the user a RAM only option (which imho is a bad idea), you
should have a nagging banner or message that the user must dismiss on every
startup. Have the message have 2 buttons: "dismiss msg until restart" and
" launch wizard to configure datastore."
…On Wed, Jul 2, 2025, 8:18 AM David Roden ***@***.***> wrote:
*Bombe* left a comment (hyphanet/fred#1052)
<#1052 (comment)>
That sounds… wrong. As long is it’s called “First Time Wizard” I would a)
never expect it to be around after it’s been finished, and b) never look
for that when wanting to change settings.
—
Reply to this email directly, view it on GitHub
<#1052 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAATAMNM2WYYSCG5A3SEV7D3GPEYDAVCNFSM6AAAAAB4K62QZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAMRXGY2TSNZWGI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
|
I wouldn’t want to nag people all the time, because a node without store is still useful to the network (for routing) and this nagging would just cause people to stop running their node. But you’re (all) right that we need to make it easy to switch to a persistent store. ⇒ not yet to merge. |
One possible answer would be to allow the data store to be stored separately from the installation of hyphanet. That way, if you don't want to donate disk space, you can instead put the datastore in the temp directory of your operating system with a one-time self-destructing encryption key. When you reboot your computer, the temp directory would be wiped and the one time self-destructing encryption key would be wiped too. This should be an option because not everyone has lots of ram to spare. |
I’ve heard the argument "I don’t want stuff stored on my disk" so often now that if "it’s only in memory" suffices it may just be worth to have a checkbox "donate disk space?" and if toggled off use a RAM store and cache.
That may reduce the lifetime of files but if in exchange many more people use the network, that’s a net win.
Since at least half the nodes are only online 2 hours per day, it’s likely that caches already provide most of the data, so the effect of more RAM only nodes shouldn’t be too bad.
Besides adding the checkbox I fixed a nasty locking issue that prevented switching from salt-hash to ram and then back to salt-hash. This didn’t hit earlier, because switching to salt-hash required a node restart which masked the locking issue.
Also toggles in the first time wizard can now actually be instant.