Note taking for a programmer

Apteris

Ars Tribunus Angusticlavius
9,590
Subscriptor
Random text files. In Git if I can be bothered.

A year ago or something I read about this supposedly really good Linux program for note taking, that evidently had very good linking and navigation, with all of the most common operations one keyboard command away. It sounded similar to Vim or less in its UI, only oriented towards note taking and not generic text editing.

I wish I could remember what it was called.
 

fitten

Ars Legatus Legionis
55,635
Subscriptor++
Depends on the notes. If it's for my reference (like some procedure or something) then I usually use Notepad++ or vi (whatever, depends on the platform). One my OneDrive, I have a global documents folder and I have a Projects folder for each project I'm working on (projects I'm no longer working on are moved elsewhere). If the notes are general, like if they're about git, or some other tool, I'll put it in the global documents folder. Anything project specific goes into the specific folder.

Any notes at all about a particular tracking ticket (Jira, whatever) obviously goes into the discussion of those tickets.
 

Ardax

Ars Legatus Legionis
19,795
Subscriptor
The lack of OneNote in the poll is highly disappointing.

I use text files and OneNote both personally and professionally.

At home I also use Google Keep, it's really nice for sharing with the wife.

At work we make extensive use of Wikis. My team uses the functionality built into TFS, another larger product team stood up their own wiki for developers when management refused to give them any good places to share information. The business at large relies on SharePoint.
 

fitten

Ars Legatus Legionis
55,635
Subscriptor++
Yeah, we've used Confluence/Atlassian in the previous project and current one I'm working on. Years ago, I was (and still am) a big proponent of making wiki (type) pages, particularly for support. Back at another job, I would write detailed documentation about tools and such that we wrote and also pages about issues and how support can resolve many of them as first-line and when to escalate so that it came back to us in development, etc.
 
D

Deleted member 43669

Guest
I wrote https://github.com/alexpdp7/markdown_log so I could keep a work log because I like tracking my own time. So I have longish Markdown files with headers for days and periods of time; I take some notes there (from meetings, esp., what I'm doing, etc.). I keep a section at the bottom with random notes (specific TODOs, notes from my next 1:1 with my manager, etc.).

Works well, helps me schedule to make 40hrs/week and I can run commands to get reports on time consumption when I'm curious about that. So time spent on meetings this week:

Code:
$ md_log daily-target log.md --filter Work/MyORG/Meetings --target-hours 0 | tail -4
2021-06-14  1:25:00  - 0:00:00  = + 1:25:00           + ↘ = + 4:10:00
2021-06-15  0:25:00  - 0:00:00  = + 0:25:00           + ↘ = + 2:45:00
2021-06-16  1:05:00  - 0:00:00  = + 1:05:00           + ↘ = + 2:20:00
2021-06-17  1:15:00  - 0:00:00  = + 1:15:00           + ↘ = + 1:15:00
 

Ardax

Ars Legatus Legionis
19,795
Subscriptor
Random text files was winning.
This doesn't surprise me. They're easy and lightweight, you can use Markdown if you want a bit of formatting, you can use just about any editor, you've got all kinds of options for synchronizing them, and you have lots of options for searching them.

They're very much the digital equivalent of random scraps of paper.
 

Lt_Storm

Ars Tribunus Angusticlavius
21,346
Subscriptor++
It's true, random text files are fairly good. The only real problems with them is that it's difficult to embed non-text elements and they typically don't natively support crosslinks and tagging.

Frankly, any ideal system would store most data using them. But, once you have such tools, they aren't exactly random text files anymore, which is the distinction I am hoping to find.

Also, it would be nice to have a reasonable macro / transclusion / template system like MediaWiki or TiddlyWiki provides...
 
It's true, random text files are fairly good. The only real problems with them is that it's difficult to embed non-text elements and they typically don't natively support crosslinks and tagging.

Frankly, any ideal system would store most data using them. But, once you have such tools, they aren't exactly random text files anymore, which is the distinction I am hoping to find.

Also, it would be nice to have a reasonable macro / transclusion / template system like MediaWiki or TiddlyWiki provides...
TiddlyWiki is awesome. I especially love the option to set it in a mode where it's just one monolithic file, and updates are saved back to itself. Super portable self-hosting Wiki :)

As for links, tagging, and richer features in plain text files, you could take a Static Site Generator and tweak it to rip out the HTML aspects. I got to learn Jekyll pretty well because it's what Github Pages uses, and I like Liquid, which is what Jekyll uses as its templating language.
https://jekyllrb.com/
https://shopify.github.io/liquid/
You can also use Markdown if you want.
 

Lt_Storm

Ars Tribunus Angusticlavius
21,346
Subscriptor++
It's true, random text files are fairly good. The only real problems with them is that it's difficult to embed non-text elements and they typically don't natively support crosslinks and tagging.

Frankly, any ideal system would store most data using them. But, once you have such tools, they aren't exactly random text files anymore, which is the distinction I am hoping to find.

Also, it would be nice to have a reasonable macro / transclusion / template system like MediaWiki or TiddlyWiki provides...
TiddlyWiki is awesome. I especially love the option to set it in a mode where it's just one monolithic file, and updates are saved back to itself. Super portable self-hosting Wiki :)

The problems with TiddlyWiki are, first, saving the darn thing (though that seems manageable these days), and second, I want history so, ideally, I would need to convince it to save into multiple files, which it only seems to do if I run the server myself with node... Otherwise, it has every potential.
 
For fleeting thoughts/snippets I use unsaved text files. For collaboration and ideas I might want to come back to down the line I use the work wiki/issue tracker.

When it comes to more general stuff in work and life I have been using WorkFlowy, which is a kind of bullet point based list application that lets you set the focus to any level of "indentation", achieving a kind of fractal list system. I've found it quite useful for getting my ideas down when approaching a new project or problem since I can drill a point down to whatever level of detail and link dumpage, then wrap it all up and move on to the next higher level point of the whole.
 

gregatron5

Ars Legatus Legionis
13,006
Subscriptor++
Random text files. In Git if I can be bothered.

A year ago or something I read about this supposedly really good Linux program for note taking, that evidently had very good linking and navigation, with all of the most common operations one keyboard command away. It sounded similar to Vim or less in its UI, only oriented towards note taking and not generic text editing.

I wish I could remember what it was called.
Sounds like Notational Velocity (or the nvXXX variants it inspired), but that was OS X, not Linux. Maybe Obsidian?

I use Confluence and Notes (macOS) and good old (fountain) pen and paper. I'm tempted to try Workflowy again, though.
 

fitten

Ars Legatus Legionis
55,635
Subscriptor++
I didn't really count it as "note taking" but I do use it for such sometimes. More often, I use it to organize thoughts, plan a feature/project/etc., and make check lists. I've used Mindjet's MindManager for a decade or so now. Some people call them "spider diagrams" but they are really helpful for me to list down the major points of something, then go back to each major point and break it down further into sub-points, then those further, etc. Basically, outlining and organization. I've also used it (many times) to create checklists for major tasks to make sure everything is getting done. You can convert them map to a Word document outline but that's always kinda crappy or you can export to an HTML5 file so others can view it dynamically. At one job, several of us on the team used it and we'd use it to make a map of whatever feature/project we were working on and then when we broke the problem down sufficiently, we'd use the map to directly translate into tracking tickets, including the hierarchy (high level points turned into tickets, it's sub-points turned into dependent tickets, etc.).
 

BlackHex

Ars Tribunus Angusticlavius
9,638
Subscriptor++
It's astounding that after all these years random bits of paper is still in second place... as programmers, you'd have thought we'd have sorted out better tools for ourselves by now. I still dream of cheap, abundant, performant e-ink style paper that I can treat as paper but also get handwriting recognition and digital archiving with (i.e. best of both worlds), but it doesn't seem to be coming :(
 

BlackHex

Ars Tribunus Angusticlavius
9,638
Subscriptor++
Yeah, it's the correct device but 100 times too expensive still. When it's under $10 a device then I'll be able to afford to treat it like paper and have them strewn all over my desk. Until then... it's just another computer.

{edit} Also... I watched the video and the refresh latency is still waaay too high. To replace paper it needs to at least be as quick and convenient to use, if I have the feeling it's lagging then it'll just get tossed on the heap and I'll reach for pen and paper again.
 

papadage

Ars Legatus Legionis
45,007
Subscriptor++
I want back to EverNote for meeting and other notes taken in the moment since it works well with both typed and Apple Pencil modes. It also has an easy to use tagging and organization system, and it aggregates explicit tasks across notes.

I use the latter function to add the tasks after the fact to ClickUp for items that need for follow up.

Anything that requires knowledge management or linking goes into Obsidian.