News for hackers. Stuff that matters.
Re:Ask HN: What are your favorite developer-efficiency tips? by afc on Friday May 08, 2020 @08:48PM (#23121139)
I do the same, using the Zettelkasten method. I've found it very useful. I write many small notes as markdown files and link them together, storing them in a git repository.

I wrote a bit about Zettelkästen (and the practices I follow), in case others find it useful: https://github.com/alefore/weblog/blob/master/zettelkasten.m...

Re:Ask HN: What are your favorite developer-efficiency tips? by koolba on Friday May 08, 2020 @09:01PM (#23121211)
That’s amazing!

So the linkages for the visualizations are derived from the notes themselves?

Re:Ask HN: What are your favorite developer-efficiency tips? by afc on Friday May 08, 2020 @09:13PM (#23121271)
Aww, thank you!

Yeah, that entire article is generated from the set of notes. There's one note for each subsection (down to the finest level of granularity) and it just extracts the article directly based on the links. I described this in a set of notes that end up here: https://github.com/alefore/weblog/blob/master/zettelkasten.m...

The images (e.g., distribution of back links per file, semilattice view, etc.) are also just generated programmatically from the repository of notes.

The code that extract it is here: https://github.com/alefore/edge/blob/master/rc/editor_comman... (function zke, which receives the output path, the path to the initial note, and a string listing space separated paths of notes to ignore).

Here's another example of an article generated from my notes (this is way longer and is very incomplete, and probably contains a bunch of mistakes, but you may find it interesting as an example): https://github.com/alefore/weblog/blob/master/software-corre...

Re:Ask HN: What are your favorite developer-efficiency tips? by elliotec on Saturday May 09, 2020 @03:21AM (#23122907)
I love this. I've been wanting something just like this. Thank you!
Re:Ask HN: What are your favorite developer-efficiency tips? by masklinn on Saturday May 09, 2020 @02:51AM (#23122815)
Seems very similar to the structure of Notational Velocity, though I don’t remember whether NV provides easy cross linking between notes.