News for hackers. Stuff that matters.
Re:My productivity app for the past 12 years has been a sing... by kabdib on Saturday February 08, 2020 @01:30PM (#22277433)
I use a single text file, have done this for decades. I dump everything into it and don't worry too much about structure, it's an incredible resource for "remembering" minutia, things like "what was that server that i thought might have had some issues last August?" Just a quick control-S and I'm there. My current 7+ year old notes file has about 100K lines in it right now. I can tell you what I was doing last year, or the year before, on this day, in seconds.

I just type

    note (maybe some text here)
and it cracks open Emacs on the notes file, adds a timestamp, appends the optional text, and then I can just type or paste something in. Nearly frictionless, that's key. Great for writing those miserable annual reviews, too (easy answers to "what have I worked on in the past year?")

I use plain old notebooks (simple blank sketchpads, or something bound like a Moleskin/Lecchturm) for meetings, interviews, walking around datacenters and so forth where a keyboard is awkward and anyway, drawings.

I've tried the EverNote/OneNote/etc. apps and none of them were as convenient or as easy to use, or as portable.

Re:My productivity app for the past 12 years has been a sing... by Groxx on Saturday February 08, 2020 @08:24PM (#22279802)
I'll toss in my setup too, which I started semi-recently and has been working well:

In my .bash_profile I essentially just `open --background -e "...$(date +%F).txt" &`.

Since I'm in the CLI daily for work, I get day-stamped files passively opened without having to think about it. It's a nice quiet reminder to keep notes throughout the day, and it all just goes into a folder in dropbox that I can trivially `grep` or add with other tools or add side-files (typically "date - stuff.ext" so they appear next to the day's notes).

Re:My productivity app for the past 12 years has been a sing... by oso2k on Sunday February 09, 2020 @01:31PM (#22283518)
I REALLY like this bash idea! Thanks!
Re:My productivity app for the past 12 years has been a sing... by trunc8 on Saturday February 08, 2020 @05:37PM (#22279049)
Being doing this for years also, occasionally emailing to myself as a backup, mine is at nearly 60k lines.

Top tip is to add meta tags. I suffix them with a colon to help with searching. For example, the section containing my git notes begins with this line: Git notes: / Git: / Git commands: / Github: / Git bash:

And any time I search for something I didn't have a tag for, then I add a new one, even misspellings.

Re:My productivity app for the past 12 years has been a sing... by mejutoco on Saturday February 08, 2020 @07:18PM (#22279562)
Funny how similar this one it is to mine: I use tags surrounded by colons so I can attach a few of them and grep them easily (distinguishing them from normal text contents)

Ex. :label1:label2:labeln:

Re:My productivity app for the past 12 years has been a sing... by tripzilch on Monday February 10, 2020 @04:49AM (#22287703)
Any particular reason not to use hashtags? (except habit)
Re:My productivity app for the past 12 years has been a sing... by progman32 on Monday February 10, 2020 @03:49PM (#22293133)
Was inspired by this, threw together this hack for vim users.

  #! /usr/bin/env bash
  cd ~/share # or wherever
  echo >> notes.txt
  date >> notes.txt
  if [[ $# -ne 0 ]]; then
    echo $@ >> notes.txt
  fi
  vim "+normal Go" +startinsert notes.txt
Enough to see if this will work for me.

I also aliased this to something short so I can quickly view notes starting at the bottom: vim "+normal G" ~/share/notes.txt

Re:My productivity app for the past 12 years has been a sing... by ernie24 on Tuesday February 11, 2020 @04:31PM (#22303102)
I also would like to use something similar but I wish to add new text on the top of the file (so oldest notes go to the bottom). I ended with something like this:

    nvim  -c "+normal ggO# $(date)" -c ':s/$/\r/' -c 'se nohlsearch' notes.md
Would be interested in knowing if I can make this nicer/more efficient.
Re:My productivity app for the past 12 years has been a sing... by geospeck on Sunday February 09, 2020 @08:03AM (#22281887)
> it cracks open Emacs on the notes file, adds a timestamp, appends the optional text

Do you mind sharing how you have setup Emacs to do that? Thanks!

Re:My productivity app for the past 12 years has been a sing... by markc on Sunday February 09, 2020 @10:35PM (#22286244)
This isn't exactly what was asked for, but because I live in emacs I don't get much value being able invoke it from the command line. If that's ok, try this..

  (defvar org-journal-file "~/Dropbox/org/engjournal.org"  
    "Path to OrgMode journal file.")  
  (defvar org-journal-date-format "<%Y-%m-%d %a %I:%M %p>"  
    "Date format string for journal headings.")  

  (defun org-journal-entry ()  
    "Create a new diary entry for today or append to an existing one."  
    (interactive)  
    (switch-to-buffer (find-file org-journal-file))  
    (widen)  
    (let ((today (format-time-string org-journal-date-format)))  
      (beginning-of-buffer)  
      (unless (org-goto-local-search-headings today nil t)  
 ((lambda ()   
    (org-insert-heading)  
    (insert today)  
    (insert " "))))  
      (beginning-of-buffer)  
      (org-show-entry)  
      (org-narrow-to-subtree)  
      (end-of-buffer)))  

  (global-set-key "\C-cj" 'org-journal-entry)
So, C-cj will open the file, create a timestamp entry at the top, and narrow to the subtree. Great for creating timestamped notes. I keep a journal this way (multiple entries per day are fine), but it could be used for any note taking.
Re:My productivity app for the past 12 years has been a sing... by qorrect on Wednesday February 12, 2020 @03:10PM (#22312274)
Love this. Running it outside of the file though is truncating my file though ?
Re:My productivity app for the past 12 years has been a sing... by kabdib on Monday February 10, 2020 @08:20PM (#22295146)
I actually work in Windows, and use an Emacs clone called Epsilon, so my tiny batch file and Eel-language customization probably won't help you. It's really just a few minutes of work in any event.
Re:My productivity app for the past 12 years has been a sing... by giansegato on Sunday February 09, 2020 @08:17AM (#22281935)
Upvoted. Trying to setup that as well
Re:My productivity app for the past 12 years has been a sing... by e19293001 on Sunday February 09, 2020 @09:20PM (#22285884)
I had been following some of the set-up from "Org Mode - Organize Your Life In Plain Text!"[0].

[0] - http://doc.norang.ca/org-mode.html

Re:My productivity app for the past 12 years has been a sing... by war1025 on Saturday February 08, 2020 @04:09PM (#22278366)
I've been doing something similar to track what I do at work for just over a year. I tried keeping a home journal with a similar technique, but it didn't stick.

I have a git repo set up, and I run: "vim `date -I`", which opens a text file named for the current date (2020-02-08 today for example). Then I'll put in notes about what it is I'm currently working on.

I've come up with the convention of separating tasks with three equal signs (===) and separating updates to a single task with (--).

The main thing it's been helpful for to me, which is honestly probably why I've kept up with it, is that I'm bad about doing my daily timesheets. So once a month when our accounting lady gets after me, I'll go back through my notes and fill everything in.

Re:My productivity app for the past 12 years has been a sing... by grifball on Saturday February 08, 2020 @07:50PM (#22279685)
I use vim. Doing files based on timestamps sounds smart so I might steal that.

I used just one big file right now and one thing good about it is that you can search all your notes with one command.

I also use the uuid command to tag/reference sections. Then, I can just put the cursor on the uuid and hit '*' to jump right to that spot in the file.

Re:My productivity app for the past 12 years has been a sing... by war1025 on Saturday February 08, 2020 @10:29PM (#22280220)
Had never used `*` before. Turns out it's search for the word under the cursor. Handy.

I guess that's basically what you wrote, but I had to play with it a bit to understand.

Re:My productivity app for the past 12 years has been a sing... by the_white_oak on Sunday February 09, 2020 @11:22AM (#22282806)
A bit of a tip: while `*` is a search for a word onward, `#` is a reverse -- a search for a word backwards. Might help sometimes
Re:My productivity app for the past 12 years has been a sing... by Amarok on Friday February 14, 2020 @06:43AM (#22325792)
Could you explain a bit more how you tag sections?
Re:My productivity app for the past 12 years has been a sing... by MichaelMoser123 on Saturday February 08, 2020 @10:45PM (#22280267)
i have this function in .vimrc that puts in an entry header with the date + time. (use it as :Entry )

  "======================================================                                                                                                                                       
  "put an entry with the date/time (for keeping plan.txt)                                                                                                                                       
  "======================================================                                                                                                                                       
                                                                                                                                                                                              
  command! -nargs=* Entry call s:RunEntry()                                                                                                                                                     
                                                                                                                                      
  function! s:RunEntry()                                                                                                                                                                        
    let s:tm = "\n---" . strftime("%d/%m/%y %H:%M:%S") . "----------------------\n"                                                                                                             
                                                                                                                                                                                              
    execute "normal! i" . s:tm                                                                                                                                                                  
    " enter insert mode because it's time  to write stuff   now.                                                                                                                                  
    call feedkeys("i")                                                                                                                                                                          
  endfunction
Re:My productivity app for the past 12 years has been a sing... by richajak on Sunday February 09, 2020 @09:41PM (#22285986)
I did this too, with the date and single keyword for future reference. That's said, I have difficulty to recall the topic if I reuse the same keyword.
Re:My productivity app for the past 12 years has been a sing... by timothy-quinn on Sunday February 09, 2020 @01:05AM (#22280648)
That was the ethos behind the app I wrote, https://screwnotes.com - I just wanted a note taking tool that syncs everywhere and I there's only one way to add items. I don't want to wait for a product to load, or to have to make any mental decisions about organisation, due dates, or relationships between items.
Re:My productivity app for the past 12 years has been a sing... by azhenley on Wednesday February 12, 2020 @11:06AM (#22309935)
I like the idea but I wish your website showed me what the app looked like and a rough idea of what features were available before I create an account.
Re:My productivity app for the past 12 years has been a sing... by timothy-quinn on Tuesday February 18, 2020 @07:46PM (#22362012)
Hi, there have been some updates to it and the landing page does have a short explanation, but I agree - something a bit more interactive would probably be better.

The app itself is something tightly coupled to having an account to operate (so no data is lost), but I might try adding in an interactive demo on the landing page so you get that feel of how it works straight away.

Re:My productivity app for the past 12 years has been a sing... by bdamm on Saturday February 08, 2020 @11:02PM (#22280327)
Mine; the filename is today's date:

alias notes='nvim echo ~/notes/notes-$(date +'%Y%m%d').md'

The format being markdown gives a good syntax clue to vim.

Re:My productivity app for the past 12 years has been a sing... by pssdbt on Sunday February 09, 2020 @01:11AM (#22280667)
I'm similar, but with vimwiki. <leader>-w-<leader>-w will open an entry for today's date, so for me ~/vimwiki/diary/2020-02-08.md. `<leader>-w i` will show a list of all entries. Pretty convenient stuff. I have mine start with a template as well, with a few common headers.
Re:My productivity app for the past 12 years has been a sing... by supersrdjan on Sunday February 09, 2020 @08:24AM (#22281966)
I do this too but this article makes me think that it may be better if everything u was one file folding avoids visual clutter anyway
Re:My productivity app for the past 12 years has been a sing... by jvanderbot on Saturday February 08, 2020 @02:38PM (#22277868)
Same, of course. I added some bash aliases to make it much easier to write to the file, and use markdown instead to allow tracking todos easier.

I also added a vim command to push it to github while editing. These just remove barriers to opening and syncing the file, but the concept is the same.

You can see the result here: https://github.com/jodavaho/bashlog

Re:My productivity app for the past 12 years has been a sing... by iscrewyou on Sunday February 09, 2020 @01:54PM (#22283635)
This is the best thing I’ve ever read. The answer has been right in front of my eyes. I’ve been searching for a good note/things to know/knowledge storage app for decades. And a single text file seems like the best option. I’ve already started transferring stuff today to a text file.
Re:My productivity app for the past 12 years has been a sing... by bishalb on Saturday February 08, 2020 @10:27PM (#22280211)
Just a thought but would't creating a new file for each year make it more maintainable? I can't imagine searching a 100k line file or scrolling through it.
Re:My productivity app for the past 12 years has been a sing... by kabdib on Sunday February 09, 2020 @12:17AM (#22280505)
I find it useful to have everything in a single buffer, it makes searching easier. Otherwise I'd have to start issuing 'grep' commands and worry about which file is which, and get clever about regular expressions when all I want is instant, friction-free access with a handful of keystrokes. Opening a file that big doesn't take long on modern hardware.

Honestly, there's not really anything to "maintain". Just a text file and some timestamps. No magic at all. Simple as dirt. That's the magic :-)

Re:My productivity app for the past 12 years has been a sing... by jannotti on Tuesday February 18, 2020 @03:42PM (#22360178)
Searching visually? Yes, 100k would be impossible. But then, even one year's worth would be impossible. So you're surely using your editor's search function, and that's definitely fast enough to not care whether you've got several lifetimes' notes.

A do see a lot of people who are making date stamped files, but I can't understand why. Do you want to switch between using C-s vs dropping to command-line for grep?

Re:My productivity app for the past 12 years has been a sing... by imtringued on Wednesday February 26, 2020 @05:46AM (#22421936)
Most editors allow searching all files in a directory.
Re:My productivity app for the past 12 years has been a sing... by jannotti on Wednesday March 04, 2020 @12:17PM (#22485585)
It's another function though, surely harder to reach for than the normal search. What's the value in bifurcating your searching process? What do you gain?
Re:My productivity app for the past 12 years has been a sing... by ramraj07 on Saturday February 08, 2020 @01:56PM (#22277598)
That sounds quite elegant, but seems this is only possible if you work out of a single machine almost always. Perhaps it could be made into a service? As long as explicit effort is taken that there's absolute minimum extra effort as possible!
Re:My productivity app for the past 12 years has been a sing... by Stevie300 on Saturday February 08, 2020 @02:10PM (#22277695)
I handle this by aliasing `todo` to `vim scp://[my website]/~/todo.txt`.
Re:My productivity app for the past 12 years has been a sing... by dotancohen on Sunday February 09, 2020 @11:56AM (#22283002)
I've found that VIM 8's SCP does not support absolute or realpaths like SCP generally does. Thus to access the remote file at foo:/home/dotan/todo.txt or foo:~/todo.txt I would have to use `vim scp://dotan@foo/todo.txt`. Just a heads-up for anybody who wishes to try this.
Re:My productivity app for the past 12 years has been a sing... by aidos on Saturday February 08, 2020 @05:09PM (#22278794)
Wait, you can use scp as a protocol?!
Re:My productivity app for the past 12 years has been a sing... by d0mine on Saturday February 08, 2020 @11:00PM (#22280321)
Emacs' Tramp supports multiple protocols https://www.gnu.org/software/emacs/manual/html_node/tramp/Qu...

For example, to run a remote command using an inline org-mode source block:

    src_sh[:dir /ssh:host:]{some command}
Or to run code using a remote Jupyter kernel within Org-mode in Emacs:

  #+BEGIN_SRC jupyter-julia :session /ssh:ec2:/run/user/1000/jupyter/kernel-julia-0.6.json
  ...
  #+END_SRC
https://github.com/dzop/emacs-jupyter/blob/master/README.org...
Re:My productivity app for the past 12 years has been a sing... by TeMPOraL on Sunday February 09, 2020 @01:56AM (#22280805)
Oh, that remote execution is a neat trick. Thanks!

To cover the more trivial point for the non-Emacs readers: Tramp in Emacs makes it so that there's almost no difference between opening a file (C-x C-f) like this:

  /home/user/some-file.txt
and like this:

  /ssh:some-machine:/home/user/some-file.txt
and like this, if you need superuser rights:

  /ssh:some-machine|sudo:some-machine:/etc/someconfig
The subsystem in Emacs called Tramp makes this almost transparent; you edit your remote files as if they were local. There are occasional kinks with path translation in corner-case situations, like local Emacs editing remote source files and trying to load them into remote REPL, but those are rare and can be configured away. Dired (directory manager in Emacs) also works transparently over Tramp, so this essentially replaces SCP and graphical SFTP tools for me. You can even run GDB remotely over Tramp, which is a nice trick.
Re:My productivity app for the past 12 years has been a sing... by Izkata on Saturday February 08, 2020 @05:19PM (#22278886)
Re:My productivity app for the past 12 years has been a sing... by fzil on Saturday February 08, 2020 @05:47PM (#22279123)
wow, that's incredible. learn something new everyday.
Re:My productivity app for the past 12 years has been a sing... by war1025 on Saturday February 08, 2020 @04:11PM (#22278380)
I just keep a private git repo that I push the updates to after entering them.

I've gotten to the point that anything important enough to keep around I basically just put in a git repo somewhere.

Re:My productivity app for the past 12 years has been a sing... by duykhoa12t on Monday February 10, 2020 @10:25AM (#22289867)
Same to me. I store the note folder to a private gitlab repo, and write a bashscript function to commit and push the note.
Re:My productivity app for the past 12 years has been a sing... by yoz-y on Saturday February 08, 2020 @02:02PM (#22277630)
Two options would be: 1. put that file on dropbox or another syncing service. 2. have it on a remote server and ssh there first
Re:My productivity app for the past 12 years has been a sing... by freetanga on Saturday February 08, 2020 @02:10PM (#22277692)
I do this, with the machine being a VPS on Linode, plus an IPad 4G connectivity with Blink app to connect via MOSH almost anywhere on earth.

Logitech folio keyboard and Apple Pencil. Drawings also pushed to cloud.

Local backup to my own NAS and a S3 storage.

Works as a charm

Re:My productivity app for the past 12 years has been a sing... by irongeek on Saturday February 08, 2020 @02:19PM (#22277744)
I use text files and have for years. I use Syncthing to keep the text file available on all my machines.
Re:My productivity app for the past 12 years has been a sing... by kajmagnusmobile on Sunday February 09, 2020 @06:23PM (#22285041)
Also on mobile? Which editor do you use on mobile? I like syncthing
Re:My productivity app for the past 12 years has been a sing... by yjftsjthsd-h on Saturday February 08, 2020 @02:52PM (#22277938)
I just put my text files in version control. Push/pull, occasionally merge when I forget.
Re:My productivity app for the past 12 years has been a sing... by treebornfrog on Saturday February 08, 2020 @07:45PM (#22279670)
I save these text files to my desktop, call me old school.
Re:My productivity app for the past 12 years has been a sing... by yjftsjthsd-h on Saturday February 08, 2020 @10:49PM (#22280284)
But then you've only got it locally. The advantage to VCS is that you can trivially have it on multiple machines (desktop, laptop, android with termux). You can even do it between your own machines via ssh if you don't like "cloud" stuff.
Re:My productivity app for the past 12 years has been a sing... by kungtotte on Sunday February 09, 2020 @07:13AM (#22281735)
Using syncthing you can trivially have it everywhere as well, with only a one-time setup and no continuous need to manually commit changes and manually sync them (unless you're using hooks for your VCS to automate that I guess).
Re:My productivity app for the past 12 years has been a sing... by yjftsjthsd-h on Sunday February 09, 2020 @11:46AM (#22282939)
I use syncthing for non-text files, but I keep getting conflict copies. I could probably fix that by having one node always online, but text+VCS means that conflict resolution is built in.
Re:My productivity app for the past 12 years has been a sing... by smcnally on Saturday February 08, 2020 @11:08PM (#22280350)
A repo on github handles TODO.txt files from multiple machines fine, and better than gDrive or Dropbox. VSCode is now my main editor which makes git integration simple. I can also edit the file directly on github, though never do.
Re:My productivity app for the past 12 years has been a sing... by sergioro on Saturday February 08, 2020 @02:10PM (#22277696)
Keeping my notes in a single file has worked great for me too, i can quickly find notes by searching with Vim. i split the file in sections starting with [tag<name>] (e.g. [tagvim]) which makes it easier to move between sections. Each section is a markdown list.
Re:My productivity app for the past 12 years has been a sing... by jwtorres on Saturday February 08, 2020 @03:38PM (#22278180)
Funny that we all resort to the same things. I have an almost identical bash script that appends and timestamps each note, but I push it to my Dropbox account using their REST APIs instead of my local file system.
Re:My productivity app for the past 12 years has been a sing... by zgit on Saturday February 08, 2020 @04:06PM (#22278341)
Can you expand on your system a little bit? Do you use it from the phone too?
Re:My productivity app for the past 12 years has been a sing... by jwtorres on Saturday February 08, 2020 @04:30PM (#22278504)
The bash script I was talking about simply curls the .txt file from Dropbox, edits/appends it, then curls it back up to Dropbox (overwriting the old copy).

Dropbox iOS app allows you to create .txt files if you absolutely need to take a note from your phone. I’m never far from my computer personally.

I also wrote a Chrome extension that does essentially the same thing as my bash script (as well as save bookmarks to Dropbox). Its caching mechanism is very convenient for writing long notes that will be edited over hours or days—if the machine goes down, they’re all stored in Chrome’s local memory the next time I boot.

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.
Re:My productivity app for the past 12 years has been a sing... by jdshaffer on Thursday February 13, 2020 @03:48AM (#22316275)
I'm late to the conversation here as I've been pondering it for a few days. I'm not a very good programmer or a bash user, but I can usually understand a script when I see it.

What script or bash alias are you using to do your "note (maybe some text here)"? I'd love to be able to do something similar.

Re:My productivity app for the past 12 years has been a sing... by OnACoffeeBreak on Saturday February 08, 2020 @05:48PM (#22279132)
How do you handle a file like that on mobile?

I separate my job journal from my personal journal. Job journal starts on a backed up work drive and I don't care to have mobile access to it. I must have access to my personal journal at work, or while I'm out and about and mobile is the only way.

Re:My productivity app for the past 12 years has been a sing... by raziel2p on Saturday February 08, 2020 @05:50PM (#22279148)
not OP but I put this file on Dropbox, their mobile app has an editor that works for markdown or plain text.
Re:My productivity app for the past 12 years has been a sing... by gibspaulding on Saturday February 08, 2020 @06:02PM (#22279213)
I've also had success using syncthing for this if you want something self hosted.
Re:My productivity app for the past 12 years has been a sing... by Yen on Saturday February 08, 2020 @07:15PM (#22279541)
What do you use for editing on mobile, for files synced by syncthing?
Re:My productivity app for the past 12 years has been a sing... by jtsymon on Saturday February 08, 2020 @07:47PM (#22279674)
I use orgzly [1] and configure it to "sync" to Syncthing's local folder [2] (which Syncthing then syncs). This requires write access to Syncthing's data directory though, so I'm not sure it works on stock Android.

[1] http://www.orgzly.com/

[2] e.g. configure a "directory repository" with content://com.android.externalstorage.documents/tree/<device id>%3AAndroid%2Fdata%2Fcom.nutomic.syncthingandroid%2Ffiles%2FSync%2Forg

Re:My productivity app for the past 12 years has been a sing... by scruple on Sunday February 09, 2020 @04:51PM (#22284578)
> I'm not sure it works on stock Android.

I'm running a stock Pixel 2 and I've been using syncthing to sync pictures and videos to my desktop automatically, but didn't know about Orgzly. I just hooked up Orgzly and syncthing and it worked without any issues. Thanks for commenting about orgzly!

Re:My productivity app for the past 12 years has been a sing... by gibspaulding on Thursday February 13, 2020 @08:17AM (#22317448)
I believe I used an app from fdroid called Markor. Mainly because it had a nice widget, so I could keep a to do list on my home screen.

Edit: Fixed a spelling error. Also, here's a link to the app:

https://f-droid.org/en/packages/net.gsantner.markor/

Re:My productivity app for the past 12 years has been a sing... by cactus2093 on Saturday February 08, 2020 @06:38PM (#22279385)
I open drafts in Gmail with no recipient and keep notes there. Super convenient since I usually have it open anyway on the desktop, it works great on mobile too, and gmail search makes it easy to find stuff.
Re:My productivity app for the past 12 years has been a sing... by IggleSniggle on Saturday February 08, 2020 @07:34PM (#22279627)
I've been doing the same for about 15 years, except I actually send the emails to myself and have a special tag for them. Unfortunately, Gmail search has failed to find things for me in recent years that I know are there and know are tagged with a particular key phrase, usually for things that are from the 2009-2013 time period. I've lost faith that they are actually keeping everything, or perhaps that they are keeping everything but their search algorithm may sometimes return "no results" in order to be fast instead of actually falling back to some kind of deep search.
Re:My productivity app for the past 12 years has been a sing... by winter_blue on Saturday February 08, 2020 @07:53PM (#22279695)
The one downside to this is that if you accidentally delete a draft (with a mistaken mouse click on the trash icon), it is impossible to ever recover the draft.
Re:My productivity app for the past 12 years has been a sing... by wj on Saturday February 08, 2020 @08:23PM (#22279799)
The Dropbox web app not having that same functionality is my biggest pet peeve with the product.
Re:My productivity app for the past 12 years has been a sing... by pahn on Saturday February 08, 2020 @09:06PM (#22279932)
this might be archaic but… i use draft mails for that. for years and all my todo lists (about six), works really well for me.
Re:My productivity app for the past 12 years has been a sing... by codesections on Sunday February 09, 2020 @11:54AM (#22282989)
> it cracks open Emacs on the notes file, adds a timestamp, appends the optional text, and then I can just type or paste something in.

Do you do that with a shell script or an elisp function? Either way, I'd be interested in taking a look at your implementation if you don't mind sharing.

Re:My productivity app for the past 12 years has been a sing... by tdhttt on Saturday February 08, 2020 @07:58PM (#22279715)
I just implemented something very similar last week! I store the note in a Raspberry Pi which I can access anywhere. Also with iOS shortcut, I can easily send note to my Pi from my iPhone's clipboard.
Re:My productivity app for the past 12 years has been a sing... by kajmagnusmobile on Sunday February 09, 2020 @06:19PM (#22285022)
How can you access the Pi when you are not at home? It has a static IP?

I've been thinking about this approach .. but was unsure about how access from outside, or if I'm abroad even.

Re:My productivity app for the past 12 years has been a sing... by fadhlika on Tuesday February 11, 2020 @12:33AM (#22296328)
for selfhosted stuff, usually use VPN connected to home IP address using Dynamic DNS
Re:My productivity app for the past 12 years has been a sing... by kajmagnusmobile on Tuesday February 11, 2020 @06:25AM (#22297649)
Thanks, any special dynamic dns provider you like?
Re:My productivity app for the past 12 years has been a sing... by entilzha on Saturday February 08, 2020 @03:15PM (#22278063)
Any thoughts on how to access/modify on mobile without making it too cumbersome? I often think about todo on walk/train, but could see making it a computer only thing.
Re:My productivity app for the past 12 years has been a sing... by kabdib on Saturday February 08, 2020 @03:36PM (#22278168)
Absurdly, comically simple is the way to go. In these situations I usually just send myself an email, or write something down in the current physical notebook.

About 20 years ago I spent a while writing a server to do a bunch of automation and reminding and so forth, and found that I was spending more time on that thing than I was doing real work, so I ditched it, just like I did OneNote and all the other apps. There's no need to fix bugs in a text file, nor do you need to upgrade your version of Python or whatever.

Simple will survive decades with zero effort. Complicated pieces of code (especially ones that use networking or browser tech) will need to be maintained, patched, debugged and ported. Life is short. I'd rather actually be productive than have to spend time keeping some productivity app running, or worrying if the vendor of the online notes app I chose to use is going to be bought by Oracle or something.

Re:My productivity app for the past 12 years has been a sing... by rakoo on Tuesday February 11, 2020 @06:11AM (#22297594)
You're making me think that the even absurder method is to use mail drafts as your files. Everything is synced between all your devices, you have built-in modification date, a full editor in the web version or applications for a more integrated experience, high portability and backup (transferring from IMAP account to IMAP account is easy), labels and/or folders depending on your provider, efficient search, attachments...

Actually in the past I used my email account as my RSS reader. It had integrated read/non read status, mass "mark as read" as needed, was synced on all platforms I cared about without anything to install. I didn't really changed my subscriptions a lot so configuration was not complicated.

Sometimes a webmail is just a good enough UI for text-related things.

Re:My productivity app for the past 12 years has been a sing... by rsync on Saturday February 08, 2020 @03:56PM (#22278279)
Set up an email alias that cats (appends) your note to your org file.

Then, just send your notes (via sms) to the email.

Re:My productivity app for the past 12 years has been a sing... by bachmeier on Saturday February 08, 2020 @03:21PM (#22278098)
If you version control it using Fossil, and it's in markdown, you can access it directly from the repo website.
Re:My productivity app for the past 12 years has been a sing... by justusthane on Sunday February 09, 2020 @10:34AM (#22282559)
You can with Github as well. And make changes to it via the website. Not on mobile though, unless you switch to the desktop site.
Re:My productivity app for the past 12 years has been a sing... by vor0nwe on Saturday February 08, 2020 @06:29PM (#22279349)
But you can't make changes to it online.
Re:My productivity app for the past 12 years has been a sing... by bachmeier on Saturday February 08, 2020 @09:52PM (#22280076)
Depends. You're right if you use a conventional version control approach where you write on your local machine and then push to the server. But that's not the only way to use Fossil to store your notes.

If you're using the wiki (using one or more wiki pages) everything is entered into the browser whether online or using the built-in server running locally. Other options are to create an issue for each note or create a new forum thread for each note. The nice thing about these options is that you get the search and querying power of an sqlite database applied to your notes for free.

Disclaimer: I haven't used this approach because I don't use mobile devices for note taking. Just pointing out that it is possible.

Re:My productivity app for the past 12 years has been a sing... by yoavm on Saturday February 08, 2020 @03:33PM (#22278150)
On Android, I've been using Markor with Syncthing for years now and never had any issues.
Re:My productivity app for the past 12 years has been a sing... by akouri on Monday February 10, 2020 @07:31PM (#22294907)
What do you do for when you're on the go? iOS?
Re:My productivity app for the past 12 years has been a sing... by cfitz on Saturday February 08, 2020 @05:14PM (#22278839)
I’d love to implement a similar command line program for logging various on-computer activities. Thank you for sharing!
Re:My productivity app for the past 12 years has been a sing... by mkarnicki on Sunday February 09, 2020 @02:35AM (#22280909)
I recommend you check out https://jrnl.sh/
Re:My productivity app for the past 12 years has been a sing... by kajmagnusmobile on Sunday February 09, 2020 @06:25PM (#22285053)
What about the drawings or photos -- you have any way to connect them with the relevant daily notes?