
On Wed, Dec 9, 2020 at 6:14 PM Michael Galea via talk <talk@gtalug.org> wrote:
On 09/12/2020 13.42, Stewart C. Russell via talk wrote:
On 2020-12-08 12:40 p.m., o1bigtenor via talk wrote:
Has anyone found a 'reasonable' system that would effect this less than simple 'idea'?
"Reasonable" is quite subjective. What's reasonable for me might be downright paltry for other people.
snip
laughing, in .bashrc.. I have PROMPT_COMMAND="history -a ~/.bash_history" So I Save each command right after it has been executed, not at the end of the session. This interleaves the history from multiple sessions and prevents loss in the event of crashes.
-- the desktop's indexer (like Tracker, Spotlight, Windows Search). I can't live without this. A system without this isn't one I'd choose to use. Yes, they chew CPU and storage but they remember! everything! for! you!
Maybe my findings aren't worth much, though. I recently found two independent reimplementations of exactly the same project roughly two years apart on my system … as I was about to implement precisely the same thing for the third time.
For me, this translates into not writing code I have already written. To prevent this I: - record the locations where code Ive written resides and index it. I then use a search tool (a la grep) that searches the index. - wrote a curses based script that writes scripts based on checked selections of what code snippets and packaged libraries to include.
This is very much in the direction where I'm headed except your goal is primarily involved with 'text' - - - - yes its programming but its still largely text (of a form anyway) where I need to add a lot of other things. Thanks for the idea though !! Regards