←back to thread

578 points smusamashah | 3 comments | | HN request time: 0.002s | source
Show context
egeozcan ◴[] No.42463511[source]
This is very cool. BTW, when developing single HTML file apps, instead of localStorage, one can use the HTML as the source of truth, so the user can just save/save-as to persist. I had mentioned my quick and dirty attempt at an image gallery that is a self-contained html file and some really liked the concept, if not the "app" itself: https://news.ycombinator.com/item?id=41877482
replies(6): >>42463631 #>>42464347 #>>42467577 #>>42471918 #>>42476577 #>>42477123 #
xandrius ◴[] No.42463631[source]
Wait, so every time I make a change I need to remember to save or it's all lost? Or am I missing something?
replies(7): >>42463754 #>>42463869 #>>42464221 #>>42464493 #>>42464749 #>>42465571 #>>42469902 #
breakfastduck ◴[] No.42464221[source]
My god this comment made me feel old.

God forbid you have to remember to save your work!

replies(4): >>42464339 #>>42464506 #>>42466436 #>>42474915 #
xandrius ◴[] No.42466436[source]
Do you really long for that?

It's been over 20 year with auto-save being pretty common, one has to adapt to the modern times, especially when it makes things better.

I don't have to "remember to save my work" when I write on my notepad, why should it be different on a computer?

replies(1): >>42469994 #
1. account42 ◴[] No.42469994[source]
> Do you really long for that?

Yes, absoultely. Saving data you don't want saved and overwriting data you want to retain are just as bad as not saving data you want to keep.

Keeping a scratch file to restore from unexpected applications exits (crash, power loss, etc.) is fine but beyond that I expect to be in control of when and where things are saved.

> one has to adapt to the modern times

I expect my computers to adapt to my requirements, not the other way around.

> especially when it makes things better.

Modern rarely equals better.

replies(2): >>42470961 #>>42481327 #
2. xandrius ◴[] No.42470961[source]
Wait until you discover pen and paper.
3. nuancebydefault ◴[] No.42481327[source]
Neither save strategy is 'the better one'. Next step would be that git auto-commits...