--
---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,
I'm strongly considering to switch to some cli-based repo for my
accounting needs,
Of course, for my transactions I regularly have need for 'split' ones.
That's pretty much everything and I wonder if ledger
- which I consider is the richest feature-wise can handle all the tasks?
It seems that hledger which is created in order to be 'little more
simple, usable, installable, documented' might not handle everything -
'historical price records' if that's is required for having record of
exchange rate when conversion between currencies or 'automated
transactions' if that refers to scheduled transactions. I'd also like to
be able to use different (native) display formats, iow. not only
yyyy-mm-dd.
Yesterday I was also reading some docs about Beancount, but must admit
it was not 100% clear to me what is the main reason behind it.
For
hledger, implementation in Haskell also has its justification especially
that there is now work going on ledger-4 in the same language. (Will the
two merge in future?)
On Sat, 6 Sep 2014 10:59:53 -0400
Martin Blais <bl...@furius.ca> wrote:
> What exactly do you mean by a "split transaction"?
It's Gnucash terminology for having transaction with more then two
postings, e.g. when money flows from one asset account into two or more
expenses accounts and I see there is no problem with it.
> That's pretty much everything and I wonder if ledger
> > - which I consider is the richest feature-wise can handle all the
> > tasks?
> >
>
> Out of curiosity, what gives you that impression?
I must say that I was/am not very familiar with Beancount, but assumed
that since Ledger is the original and other are clones running behind
that it is the most complete.
> The reason: command-line double-entry accounting.
That's clear, but the question was/is why another cli when there are
already few ones existing?
> I though I waxed about the topic of "why CLI DE accounting" in the
> following doc than anyone would ever have time for... does this doc
> provide a sufficient explanation?
I read that prior to asking the question, but it does not provide
satisfying answer what Beancount provides over e.g. Ledger?
> I'll guess that what you meant is "why write Beancount when there is
> already Ledger, HLedger, Abandon, etc."
Right.
> Beancount is substantially different in many ways, not only in its
> design and syntax, but even in its most basic operations, i.e., how it
> treats the booking of lots in inventories against each other, how it
> treats cost basis, its rule for balancing of transactions, how it
> handles currency conversions (not at cost), the fact that it enforces
> accounts to be in one of five types and explicitly lacks support
> virtual/unbalancing postings, a guarantee of order independence of its
> declarations, and in the mechanisms it provides for extensibility (via
> Python instead of its own language). It's not just an incompatible
> syntax, it's a very different beast.
Now it's much more clear. Thank you!
First of all, I was not at all aware it's not e.g. compatible with
Ledger (like e.g. hledger) which puts it into somewhat different
perspective when I evaluate option for doing cli accounting.
> I'll write a more detailed comparison doc and share it on this thread
> later, there is a lot of detail on previous discussions from this
> list, but it's probably worth gathering all of it in one place with
> examples.
Yes, I consider it would be worthwhile.
> While their syntaxes are incompatible, it would be very easy to write
> a script to convert from Beancount syntax to Ledger-compatible
> syntax. I intend to build such a thing eventually, so you could use
> both. I'm not sure I will be able to match the semantics, this will
> be an interesting little project in any case.
That would be interesting. Hledger seems to have advantage here since
it's even encouraged to test *.ledger/journal files with both apps.
Lastly, when looking at https://pypi.python.org/pypi/beancount/0.9
Beancount does not look good with last official release more than 5yrs
ago.
Moreover, I do not like that docs are on Google, but that's just
my personal preference -
when I was browsing it, soon I got email that
my request for change (some space) was rejected. :-)
> Beyond generic strengths and weaknesses specific to its language,
> Haskell does not confer any particular advantage to the task of
> solving the simple problems of command-line accounting.
One possible advantage of Haskell might be *less* bugs in the
implementation considering its strong type system and static compilation
which, afaict, can catch bugs at runtime for which one would have to
write unit tests when using dynamic language.
> The only real requirement any language needs to solve the problems
> we're solving is to have handy a speedy and trustable decimal or
> rational number representation; little else.
Do you consider all the Ledger's ports satisfy it?
> I'll write a more detailed comparison doc and share it on this thread
> later, there is a lot of detail on previous discussions from this
> list, but it's probably worth gathering all of it in one place with
> examples.
Yes, I consider it would be worthwhile.It's coming. Need a bit of time.
On Sun, 7 Sep 2014 11:12:26 -0400
Martin Blais <bl...@furius.ca> wrote:
Hello Martin,
> Again, what makes you think that the other softwares are "running
> behind"? In some of the ways that it differs, I view some of the new
> features I implement in Beancount as new and pushing the envelope
> forward.
don't get me wrong...but I use Gnucash for several years and before that
I spent some time whether I should start taking care about my finances
and do bookkeeping. Even then, I was aware of the existance of both
ledger and hledger - it looks I had to go throuugh experience with GC
before considering cli - but never heard about Beancount until 10 days
ago or so.
Hledger clearly says it does not support all the ledger's features,
although it adds some of its own stuff like web ui, some reports etc.,
so, as John confirmed, my impression was that for the 'core' financial
stuff, ledger is the leader.
> I see 2.0beta:
> https://pypi.python.org/pypi/beancount
>
> I've just updated and called it 2.0beta2
> (I'm not very good about updating indexes all around the web.)
I was Googling for Beancount and the link for 0.9 was higher. :-)
Moreover, I run Debian Sid and was able to install (h)ledger with
simple: apt-get install, while I do not see packages for Beancount?
> Aren't they nicely readable and beautifully formatted and available
> on all your devices and in many formats? Isn't this the goal of
> documentation? Why don't you like them?
I like that 'reading' is separate from 'editing'. There was a user in
#ledger yesterday who got the feeling that he needs to have Google
account to be able to read it and he wrote: "I give it up."
Why don't you simply use something like https://readthedocs.org/ which
seems to be popular for Python stuff?
> I just click on the "reject" button to remove those accidental
> suggestions when that happens. Also, I might accept the suggestion but
> reject the specific change and reword things manually to make it
> better; that would also show up as a rejected suggestion. Nothing
> personal.
Nothing personal, don't worry, but it was a bit strange. For me, it's
more natural to use my preferred editor, fix things and then 'pull
request', send a patch etc.
> Furthermore, beyond their capabilities, languages nurture particular
> cultures. In many ways, these cultures subsume the particular
> technical advantages of computer languages. As examples relevant to
> the case in point, despite its inherent looseness in typing and
> glaring performance disadvantages, Python has succeeded in creating a
> uniquely vibrant culture of "making things simple and explicit," with
> great documentation and adherence to well-defined contracts (via
> conventions).
Considering that Hledger is slower than Ledger, I wonder how does
Benacount perform in comparison?
On Sep 10, 2014 5:11 AM, "Gour" <go...@atmarama.net> wrote:
>
> On Mon, 8 Sep 2014 11:37:16 -0400
> Martin Blais <bl...@furius.ca> wrote:
>
> > On this list and in the documents I've shared with you I've argued and
> > shown specific examples how the lack of inventory booking in Ledger's
> > model offers little support for entering a correct replication of
> > investment trades and calculate capital gains incorrectly.
>
> Fair-enough, although inventory booking is not something I'n personally
> interested in.
If you have any investments you do.
>
> > That's just because nobody packaged it for Debian.
>
> OK.
>
> Do you have any estimation about the size of Beancount user base?
No idea. At least 3.
>
> I must say that it makes me curious...running e.g.
>
> $ ledger -M register -f personal.dat Expenses:Auto:Gorivo
>
> to find out about car's expenses for fuel on the file imported from
> Gnucash with the following stats:
>
> $ ledger -f personal.dat stats
> Time period: 10-Oct-31 to 14-Dec-15 (1506 days)
>
> Files these postings came from:
> /home/gour/tmp/ledger/personal.dat
>
> Unique payees: 2159
> Unique accounts: 144
>
> Number of postings: 7240 (4.8 per day)
> Uncleared postings: 0
>
> Days since last post: -96
> Posts in last 7 days: 44
> Posts in last 30 days: 286
> Posts seen this month: 50
>
> (there are few scheduled transactions till the end of the year)
> consumes:
>
> 2.65user 0.00system 0:02.84elapsed 93%CPU (0avgtext+0avgdata 12940maxresident)k
> 6600inputs+0outputs (4major+3952minor)pagefaults 0swaps
>
> on my i7 860 @2.8GHz cpu on the desktop having 16G.
That sounds unexpectedly high.
>
>
>
> Sincerely,
> Gour
>
> --
> As a strong wind sweeps away a boat on the water,
> even one of the roaming senses on which the mind
> focuses can carry away a man's intelligence.
>
>
On Sep 10, 2014 6:58 AM, "Gour" <go...@atmarama.net> wrote:
>
> On Sat, 6 Sep 2014 10:59:53 -0400
> Martin Blais <bl...@furius.ca> wrote:
>
> > While their syntaxes are incompatible, it would be very easy to write
> > a script to convert from Beancount syntax to Ledger-compatible
> > syntax.
>
> There is also no way to import e.g. Gnucash file which means hard to
> start with Beancount in order to migrate from Gnucash.
Write one. Should take the better part of an hour or two to get something basic working using the code someone else just shared on this list.
--
---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.