Re:Show HN: Using mkdir to track financial transactions
by ttyprintk on Monday October 16, 2023 @09:27PM
(#37909174)
Two advantages to this:
- muscle memory is easy to change
- format is easy to migrate
One migration would be sqlite, which has advantages:
- found everywhere with Python
- A custom command to slot in for mkdir would be maybe 10 lines
- sharing is straightforward
- if kept simple-enough, two unrelated databases can be manually merged offline with two `sqlite dump` text files. I do the manual merge all the time within vim:
autocmd FileType sql let &makeprg='sqlite3 %:r:s/-[0-9]*//:S.db ".read %:S"'
This will feed your vim buffer into a probably-new database
- muscle memory is easy to change
- format is easy to migrate
One migration would be sqlite, which has advantages:
- found everywhere with Python
- A custom command to slot in for mkdir would be maybe 10 lines
- sharing is straightforward
- if kept simple-enough, two unrelated databases can be manually merged offline with two `sqlite dump` text files. I do the manual merge all the time within vim:
This will feed your vim buffer into a probably-new database