News for hackers. Stuff that matters.
Re:Show HN: Jot: Rapid note management for the terminal, ins... by samsquire on Saturday September 24, 2022 @11:46AM (#32963780)
My notes system is established but this tool looks interesting. I essentially create a Github repository and journal computer and software ideas in the open in a README.md with a markdown heading for each note and number the notes.

You can find my journal of 450+ computer software ideas in my profile.

If you're on the fence over what tool to journal with, then I recommend my approach, it just works and it has low barrier to entry, you just need github account, you could even use the web interface to update your journal and edit the README.md.

Whatever tool you use it needs to have low friction so it encourages you to write and you don't forget how to create a post once you set it up.

The important thing about journalling is that it encourages you to write and keep writing which is where the reward comes from.

Re:Show HN: Jot: Rapid note management for the terminal, ins... by araekiel on Saturday September 24, 2022 @12:48PM (#32964356)
Sounds great :) Eventually, Jot will have git integration for cross device sync, maybe then, it could serve as a nice addition to your workflow.
Re:Show HN: Jot: Rapid note management for the terminal, ins... by samsquire on Saturday September 24, 2022 @12:52PM (#32964407)
That's awesome. I sometimes edit my notes in IntelliJ or in GitHub web interface.

At one point I created an autocommit script that commits every second which you can change the commit message by setting it in a file called "current-task"

Could combine this with automatic synchronization with pulling too.

  #!/bin/bash

  while true; do

     sleep 1

     (cd app ; git status -z;
     git add . && git commit -m "autocommit $(cat ../current-task)" ; git push -f app);

  done > autocommit.log 2>&1
Re:Show HN: Jot: Rapid note management for the terminal, ins... by araekiel on Saturday September 24, 2022 @03:01PM (#32965590)
Cool! Just took a screenshot, might need this later. Thanks!

Will add a reference to this comment, if I end up using it. :)

Re:Show HN: Jot: Rapid note management for the terminal, ins... by gunapologist99 on Saturday September 24, 2022 @07:21PM (#32967494)
Consider using inotifywait to commit only on changes, rather than just committing every minute.
Re:Show HN: Jot: Rapid note management for the terminal, ins... by samsquire on Sunday September 25, 2022 @09:43AM (#32971263)
That's the higher quality solution.

Git commits without any changes added are noops, that's the behaviour I rely on.

Re:Show HN: Jot: Rapid note management for the terminal, ins... by dopidopHN on Saturday September 24, 2022 @06:39PM (#32967194)
Oh it’s does not? What happen if the vault happen to be a git repo? I assumed that would allow to synchronize.

( nothing automatic, no concurrency management of course )

Re:Show HN: Jot: Rapid note management for the terminal, ins... by araekiel on Sunday September 25, 2022 @04:45AM (#32969864)
Yes, that would work, requiring a bit more manual work. Git integration within the tool would make that easier & a tad quicker.