Yann Büchau :nixos: · @nobodyinperson
270 followers · 1177 posts · Server fosstodon.org

It feels like could be of great use for . PTA tools can output structured data like CSV or JSON, providing an ideal input for Nushell. Might be even simpler than spinning up to do some custom calculations or logic that aren't available natively in the PTA tools.

nushell.sh/

#nushell #plaintextaccounting #python #hledger #ledger #beancount

Last updated 2 years ago

cheese app mogul :astrokurt:🎏 · @kurt
155 followers · 18899 posts · Server social.thiskurt.me

I've started doing not sure yet if I'll mainly use or the journal formats are nearly identical so I can keep it mutually compatible for now.

It'll depend on the differences of the formats and the tools, but maybe the tools aimed at ledger-cli will just work anyway?

#plaintextaccounting #ledgercli #hledger

Last updated 2 years ago

5Ub-Z3r0 · @sbz
39 followers · 699 posts · Server metalhead.club

After the initial shock of re-learning beancount from scratch, I have to say it took me maybe for hours to set everything up again to a good enough state, write the importers I was missing, and import the last ~year or so of stuff.

Now it should be as easy as downloading exports every month and `bean-extract`ing the shit out of them, leaving smart importers to do the bulk of the work.

#plaintextaccounting #beancount

Last updated 2 years ago

Ben Lopatin · @bennylope
60 followers · 297 posts · Server social.benlopatin.com

My tip of the day is to always use `@@` and tabulate the gross commodity value (inferring the price) rather than using `@` with an explicit commodity price.

Not only the is the latter subject to rounding errors, the former makes spot checking transactions against the source much easier.

#plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
142 followers · 112 posts · Server fosstodon.org

Also, PTA tools do much validation of the text files to catch errors, like a programmer's compiler. Another technique is to keep the plain text report output in version control also, providing even more visibility of changes.

#plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
142 followers · 112 posts · Server fosstodon.org

@RL_Dane @nobodyinperson
We (many PTA users, at least) get around that by keeping the text files in version control systems like git or darcs. If there's a killer feature I believe this is it - being able to see every change, roll back to undo, try alternate scenarios, optionally collaborate with others, etc. gives a great feeling of safety and confidence.

#plaintextaccounting

Last updated 2 years ago

ToddZ · @toddz
2 followers · 28 posts · Server social.linux.pizza

@nobodyinperson @RL_Dane @simonmic

This won't help OP, but I've been exploring too and am kinda fascinated with Beancount.

Beancount is similar to Ledger & HLedger, but the author—besides making learning accounting engaging—chooses not to use the confusingly inconsistent presentation of "Debit" & "Credit" in traditional double-entry accounting, and simply focuses on which direction money is flowing.

He details a number of other differences here: beancount.github.io/docs/a_com

#plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
142 followers · 112 posts · Server fosstodon.org

@RL_Dane @nobodyinperson isn't that what hledger-web (and to a lesser extent hledger-ui) is for ?

Or anyway a start on that use case. My non-technical spouse uses it..

#plaintextaccounting #hledger

Last updated 2 years ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1044 posts · Server fosstodon.org

@RL_Dane Very happy with @simonmic's with :

hledger.org

Infinitely customizable, ultra safe data format, git versionable, flexible tagging, budgeting and forecasting capabilities. Great community.

But only if the terminal is your thing. 🙂

@simonmic hands out 100$ if you find a regression, that much they value stability.

#plaintextaccounting #hledger

Last updated 2 years ago

Simon Michael · @simonmic
130 followers · 89 posts · Server fosstodon.org

@nobodyinperson No, there's no support for arithmetic expressions in csv rules files. When you really need that, preprocessing the csv is the way, currently.

#hledger #plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
130 followers · 89 posts · Server fosstodon.org

Rewritten, hopefully clearer:
hledger.org/dev/hledger.html#a ,
on the various ways of setting amounts in CSV rules.

#hledger #plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
118 followers · 77 posts · Server fosstodon.org

I suspect that

- Haskell is currently about the strongest language for prototyping and evolving "tricky" code above a certain size

- You could do a successful close port of hledger to (for example) rust, or typescript, or a fast version of python

- If you keep evolving features, the Haskell codebase would outlive the ports (again, assuming equal funding)

#haskell #programming #plaintextaccounting #hledger

Last updated 2 years ago

Simon Michael · @simonmic
118 followers · 76 posts · Server fosstodon.org

Notes from a dev session:

1. It's amazing how complicated things get with simple-seeming semantics applied to plain text.

2. I am always curious whether these features could be developed/debugged/maintained faster in other languages... or if it's only because of Haskell that they can be shipped at all. I don't mean theoretically, obviously, but pragmatically, assuming equal personpower/funding.

#hledger #haskell #programming #plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
118 followers · 76 posts · Server fosstodon.org

Another rewrite of "Cost reporting" in the hledger manual. This explains the various ways of recording transactions involving costs, how to convert between them, and how to report costs/selling prices.

hledger.org/dev/hledger.html#c

#plaintextaccounting #hledger

Last updated 2 years ago

Simon Michael · @simonmic
118 followers · 69 posts · Server fosstodon.org

So you have defined some reports with just. Now would you like to browse them with fzf, with (cached) output in the preview pane ? I'm collecting such tips at hledger.org/just.html .

#hledger #plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
118 followers · 69 posts · Server fosstodon.org

I converted yesterday's ft and tt scripts to a hledger.org/scripts.html#justf

This is similar to the previous bash scripts, and the Makefile before that, but I think it's much easier to create and maintain, and more cross platform. It requires installing just, but I think it makes this practical for a much larger group of people. An easy task runner / script manager is great for , and seems to have been a missing piece.

#hledger #plaintextaccounting

Last updated 2 years ago

Simon Michael · @simonmic
116 followers · 65 posts · Server fosstodon.org

:
I use two bash "multi-scripts", `ft` and `tt` (via `f` and `t` aliases) to organise my reports and related scripts. Examples of these are now on the hledger.org Scripts page:

hledger.org/scripts.html#ft

#plaintextaccounting #hledger

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
208 followers · 871 posts · Server fosstodon.org
Yann Büchau :python: · @nobodyinperson
198 followers · 859 posts · Server fosstodon.org

Soon I'll give my lightning talk about @simonmic's

#hledger #plaintextaccounting #tubix2023 #tubix

Last updated 2 years ago

Yann Büchau :python: · @nobodyinperson
198 followers · 852 posts · Server fosstodon.org

Finished my slides for the tomorrow in Tübingen:

- File syncing like a pro with @joeyh's :gitannex:
- @OpenSCAD and
- with @simonmic's

I'll try to record the talks. They'll be in German though.

#tubix2023 #tubix #linuxday #gitannex #openscad #pythonsdf #plaintextaccounting #hledger

Last updated 2 years ago