News for hackers. Stuff that matters.
Re:My productivity app for the past 12 years has been a sing... by herpderperator on Saturday February 08, 2020 @11:41PM (#22280425)
Be careful about making a file like that -- one where you have to write the entire contents back to disk when you update it even though you only modified the last line or so -- too large. You're definitely better off splitting to give you more chances at not losing everything in the event that it gets corrupted. But I guess proper backups would also take care of that.
Re:My productivity app for the past 12 years has been a sing... by kabdib on Sunday February 09, 2020 @11:20AM (#22282793)
The "safe save" protocols that editors usually use to write file contents are pretty good. I've never worried about this and I've never lost a file to a mis-save, not in decades.

I don't think it's a concern. And you need to make backups anyway.

Re:My productivity app for the past 12 years has been a sing... by racingmars on Sunday February 09, 2020 @01:02AM (#22280643)
Often the "single text file" organization method is used along with a source control system like git to synchronize the file between different devices. So that helps with the backup/recovery aspect too.