Yann Büchau :nixos: · @nobodyinperson
272 followers · 1194 posts · Server fosstodon.org

I am unsure whether to learn :rust: or :haskell: next. (Not that I have time to, but one may dream, right? 😉).

Knowing Haskell would allow me to contribute to some software I deeply care about (, :gitannex: ). Rust on the other hand looks *much* easier to get going with coming from (and embedded / ). Its cargo toolchain and ecosystem also looks nicer, plus easier availability on all architectures (aarch64!).

#rust #haskell #hledger #gitannex #python #c #cpp

Last updated 1 year ago

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 1 year ago

James C :python: · @jamescooke
109 followers · 512 posts · Server fosstodon.org

New post - just something tiny about balance assertions failure messages being nicer than Ledger's : jamescooke.info/hledger-failur

#hledger

Last updated 1 year 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 1 year 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 1 year 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 1 year ago

LisPi · @lispi314
652 followers · 14034 posts · Server mastodon.top

@chickfilla @nytpu If you're an user, you might also enjoy the helpers for it: hledger.org/editors.html#emacs

#ledger #hledger #emacs

Last updated 1 year ago

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

@nobodyinperson There seems to have been some hold up with packaging on Nix recently. Not sure why it would be specific.. does hledger have a much bigger dependency footprint than git-annex ?

#haskell #hledger

Last updated 1 year ago

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

Hm, for it's unfortunately not that easy to build the latest version on :nixos: 🫤

The problem is that hledger's dependencies apparently vary quite a bit between releases (not the case for :gitannex: ? Did I just get lucky above?) so all of its dependencies need to be repackaged as well 🫤

Maybe that's the reason hledger is still at 1.27.1 even on unstable...

gitlab.com/nobodyinperson/nixc

#hledger #nixos #gitannex

Last updated 1 year 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 1 year 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 1 year ago

Yann Büchau :python: · @nobodyinperson
215 followers · 896 posts · Server fosstodon.org

@simonmic I have no idea of , but seeing how robust e.g. , :gitAnnex: and are as a user, it seems to be a good fit for those things. Also for parallelism. Git Annex does it really well.

#haskell #pandoc #gitannex #hledger

Last updated 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

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

@nixos_org Unfortunately, I forgot to record the lightning talk as everything had to go so fast 🫤

And OBS decided to only record a still of the first slide for my workshop 🤦

Let's see what I can harvest from it...

#hledger #gitannex

Last updated 1 year ago