News for hackers. Stuff that matters.
Re:Plain Text Accounting by gen220 on Tuesday January 12, 2021 @01:09PM (#25750825)
The benefit is mostly for scenarios with a couple more degrees of freedom than what you describe. If you share your finances with N people (family) or N companies (free-lancer/consultant, etc), the path of least resistance to financial sanity is a well-maintained ledger. If you see this stuff coming in your future, your future self will thank your present self for getting started when things were easier to track.

It's also a single source of truth for your entire financial existence. You can use it to track your asset allocation. Which some people in the bracket you describe care a lot about.

Of course, you can pay people to do all of this stuff for you. (Accountant, Investment Broker, etc). But there are well-documented costs to these solutions. Basically, you have to trust them a lot, and if you don't speak their language you can't verify their choices.

Edit: to be clear, I'm not saying that maintaining a ledger is the right choice for everyone. It's a trade-off, like anything else, I just wanted to explicitly observe the variables that were at play in my decision. YMMV

Re:Plain Text Accounting by uryga on Tuesday January 12, 2021 @06:31PM (#25755565)
> If you share your finances with N people (family) or N companies (free-lancer/consultant, etc), the path of least resistance to financial sanity is a well-maintained ledger.

that was it for me! i started using hledger because of:

- tracking irregular payments from a bunch of sources, often outstanding for a while

- tracking how much somebody owes me / i owe them

- being pretty much cash-only for a long while (long story). with cash, if you don't track the expenses manually, you wake up at the end of the month with a whole bunch of money gone and no idea what happened to it

- not knowing how much money i actually have available because it's spread across my wallet / bank account / paypal / piggy bank

hledger really helped me not go crazy with all of this!

PS. another unexpected benefit - tracking expenses can also help with ambient worries like "ugh i spend too much on takeout food". like, if you track it, at the end of the month you can look at how much you spent on it and conclude that it's actually reasonable (within your budget) and stop feeling guilty about it!

Re:Plain Text Accounting by gen220 on Tuesday January 12, 2021 @07:14PM (#25756044)
Everything you described is a great gateway drug for GNUPlot :)

Inspired by your example, here's our rolling monthly sums of food expenses, COVID marked [1].

You can see where we moved (temporarily) to a place with lower food costs, and stopped eating out.

But there's also a dip around the holidays, because we spend a lot of that time with family and our food expenses go down proportionally. That dip happens to be consistent YoY, but we don't realize it because we have other things on our mind.

It's just great fun to have this stuff at your fingerprints.

[1]: https://imgur.com/a/8wb6YLn

Re:Plain Text Accounting by uryga on Tuesday January 12, 2021 @07:57PM (#25756493)
i haven't used gnuplot before, what's your setup for getting these? a monthly-cumulative plot is exactly what i'm missing from hledger-web.
Re:Plain Text Accounting by gen220 on Tuesday January 12, 2021 @11:51PM (#25758312)
I’d never used it before using it for ledger, either!

It’s kind of tricky. I have an AWK script that reads a ledger report to compute the X and Y-value pairs. These are written to a temp file that is read by GNUPlot.

It’s a bit of work to get setup, but I’m able to copy paste the idea around my reports.

I’ve also found the GNUPlot manual to be very easy to read!

I’m away from my laptop now, but I’ll add a gist tomorrow.

Re:Plain Text Accounting by gen220 on Wednesday January 13, 2021 @12:15PM (#25765029)
Here's the pastebin for those interested. (it's three files).

It probably would have been better done in python (I probably wouldn't have needed the zero-inserting hack), but it works pretty well.

https://pastebin.com/mxXDqqTK

Re:Plain Text Accounting by smichael on Wednesday January 13, 2021 @10:45AM (#25763412)
You can use command-line hledger to produce the appropriate balance report data as CSV, suitable for gnuplot (or drag into a spreadsheet and use the charting tools there).