Re: v3 installation, testing, docs

2024-07-26 Thread Stefano Zacchiroli
tps://beancount.github.io/ still says: > Version 3 (branch: master): The in-development next version of > Beancount since June 2020. This is unstable and you want to use > version 2 below. The scope of changes is described in this document. Cheers -- Stefano Zacchiroli . z...@upsilo

Re: bean-extract is gone with v3 [Was: Announcement: v3 and git branches]

2024-07-09 Thread Stefano Zacchiroli
rade to the new protocol anyway, as the new warnings are conspicuous enough :-)) In case there is somewhere a migration guide from v2 ingest to v3 beangulp, this ought to be noted down for others. (I would have probably given up myself on this without your help.) Thanks a lot! Cheers --

Re: bean-extract is gone with v3 [Was: Announcement: v3 and git branches]

2024-07-09 Thread Stefano Zacchiroli
ly different wrt the previous version. But I'll send you my example code offlist, as you suggested in previous email. Thanks! Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris,

Re: bean-extract is gone with v3 [Was: Announcement: v3 and git branches]

2024-07-07 Thread Stefano Zacchiroli
rt from scratch using the new csvbase.Importer. But maybe I'm missing something about why the trivial migration that you were suggesting isn't working in my case. Thanks in advance! Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science

Re: How to book loses?

2024-06-30 Thread Stefano Zacchiroli
t names are more difficult to apply/enforce. I'd really love to have a general and ergonomic solution to this problem. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytech

Re: bean-extract is gone with v3 [Was: Announcement: v3 and git branches]

2024-06-18 Thread Stefano Zacchiroli
On Tue, Jun 18, 2024 at 03:36:34PM +0800, Martin Michlmayr wrote: > * Stefano Zacchiroli [2024-06-18 09:27]: > > I welcome migration tips on what's the easiest migration path (to > > beangulp, I guess?) > > Yes. Thanks, although I'm still a bit confused. This document ht

Re: Announcement: v3 and git branches

2024-06-18 Thread Stefano Zacchiroli
is too, but wanted to check with you before proceeding to avoid an upload race. Let me know, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o

bean-extract is gone with v3 [Was: Announcement: v3 and git branches]

2024-06-18 Thread Stefano Zacchiroli
, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o o o <\> Co-founder & CTO Software Heritageo

Re: Announcement: v3 and git branches

2024-06-17 Thread Stefano Zacchiroli
(aside from the Fava incompatibility, which was already known and discussed here in the previous thread). For those using Fava, beware that if you "pip install fava" after "pip install beancount" (with the latest release), that will revert your beancount back to 2.x. Cheers

Re: Is there a language-neutral intermediate representation for a beancount ledger?

2024-06-10 Thread Stefano Zacchiroli
iscussing the incompatibility, so I've just filed one here: https://github.com/beancount/fava/issues/1824 (Cc:-ing you). We can discuss the specific issue with the Fava maintainers there; they are usually quite reactive. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full

Re: Is there a language-neutral intermediate representation for a beancount ledger?

2024-06-10 Thread Stefano Zacchiroli
g syntax errors(!) when executing within Fava queries that work fine with beanquery (split out) and beancount 2.x. Maybe your lower profile plan for a beancount 3.0 release (which I like a lot) can help with that too. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._

Re: Is there a language-neutral intermediate representation for a beancount ledger?

2024-06-10 Thread Stefano Zacchiroli
be a ROADMAP document somewhere, or a pinned issue on GitHub clearly saying so. It won't take a lot of time, but would be really beneficial for the community. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o

Re: [ANN] beangrep - grep-like filter for Beancount

2024-05-21 Thread Stefano Zacchiroli
due to the usual SQL-style problems of generating invalid syntax, possibly involuntary SQL-injections, etc. If OTOH there is an abstract (AST-based?) API to do the same, it would be less of a problem. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professo

Re: [ANN] beangrep - grep-like filter for Beancount

2024-05-15 Thread Stefano Zacchiroli
much further than that without usability issues, but shout if you have other ideas. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o

Re: [ANN] beangrep - grep-like filter for Beancount

2024-05-14 Thread Stefano Zacchiroli
--payee, > and --narration without just turning it into --anywhere. > > On Sunday, May 12, 2024 at 7:35:00 PM UTC+7 Stefano Zacchiroli wrote: > > > Hello beancounters, I've just released a little tool that I've needed > > for quite a while but didn't have[^]: beangrep, a

[ANN] beangrep - grep-like filter for Beancount

2024-05-12 Thread Stefano Zacchiroli
have a roadmap. But I welcome feedback and suggestions for improvements (or, even better, patches!), that I'll be happy to consider. It is also not uploaded to pypi yet, but if that's useful for others I'll be happy to take care of that too. Thanks for all the beans! Cheers -- Stefano Zacchiroli . z

Equity:RoundingError [Was: Cost basis adjustment for average cost booking]

2024-02-14 Thread Stefano Zacchiroli
e from good accounting practices?) I'm using Expenses myself, but it is indeed annoying, because some times one ends up recording negative expenses... Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o

Re: Tools to help sort the beancount file by date

2023-10-24 Thread Stefano Zacchiroli
rifies that entries in your beancount file are ordered by date. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o o o <\> Co-founder &a

Re: ValueError: String too long (66 lines) - why?

2023-08-02 Thread Stefano Zacchiroli
time rejects (arguably) valid inputs like mine. These for me are good arguments for dropping removing the limit entirely. YMMV. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris

ValueError: String too long (66 lines) - why?

2023-08-02 Thread Stefano Zacchiroli
o v3 and make this goes away, as Fava is still on v2. -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o o o <\> Co-founder &

Re: BQL for non-transactions?

2023-05-21 Thread Stefano Zacchiroli
On Sat, May 20, 2023 at 06:02:30PM -0400, Martin Blais wrote: > Here, expand as desired: Thanks! Might be worth a (small) place in the Beancount API. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o

Re: BQL for non-transactions?

2023-05-20 Thread Stefano Zacchiroli
Cheers -- Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o o o <\> Co-founder & CTO Software Heritageo o o o

Re: Beancount grammar for tree-sitter

2023-01-28 Thread Stefano Zacchiroli
itter grammar implementation available under beancount/ on github. The ideal way forward here would be for Daniele and polarmutex to work together into a single project and having that one located at https://github.com/beancount/tree-sitter-something. Just my 0.02 EUR, Cheers -- Stefano Zacchiroli

Re: how to get the number of transactions with BQL

2022-10-22 Thread Stefano Zacchiroli
! User question: will the new #tables be integrated in the documentation at https://beancount.github.io/docs/beancount_query_language.html or should we (users) look somewhere else? I feel like BQL is moving fast and I'm not yet sure where to look for up-to-date doc. TIA! -- Stefano Zacchiro

Re: BQL: filtering on positive/negative amounts

2022-10-19 Thread Stefano Zacchiroli
s I should've searched the code. Thanks for the help :) -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o o o <\> Co-founder &

BQL: filtering on positive/negative amounts

2022-10-19 Thread Stefano Zacchiroli
uery from git master branch). I understand an Amount is not an integer, but a (number, currency) pair. But I don't know how to peak into the number field using BQL. Any suggestion? -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science

Re: autobean.refactor: an ergonomic and lossless beancount editing library

2022-10-06 Thread Stefano Zacchiroli
ething, etc.) - Ensure consistent ordering in metadata postings (e.g., "bank-label" is always first, followed by "author", then "card", etc.). Hope this helps, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of C

Re: Beancount v3 progress

2022-09-09 Thread Stefano Zacchiroli
to wait for Beancount > > v3 would unblock that for me. > > beangulp is now compatible with Beancount v2. That was quick! Awesome, thank you. -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V

Re: Beancount v3 progress

2022-09-08 Thread Stefano Zacchiroli
e than I already did. Being able to jump to beangulp without having to wait for Beancount v3 would unblock that for me. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polyt

Re: Payees, Subaccounts, Channels

2022-07-27 Thread Stefano Zacchiroli
n contain any number of leaf sub-accounts". Anyway, this is totally worth exploring, as it's an annoying problem in the current state of affairs. Thanks for raising this. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science

Re: looking up prices by ISIN [Was: bean-price has now moved to https://github.com/beancount/beanprice]

2022-04-11 Thread Stefano Zacchiroli
is super-useful and following up to old threads helps in preserving contexts for future searches. Thanks a lot! -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic

Re: Google groups spam

2022-02-24 Thread Stefano Zacchiroli
ch Martin did. > That's why you aren't seeing them here. I am aware of this process, but I don't think that's the reason here. Martin reported having deleted only one and not having seen any other similar messages; others (including myself) have seen dozens. -- Stefano Zacchiroli . z..

Re: Google groups spam

2022-02-23 Thread Stefano Zacchiroli
filter than yours, as I routinely receive legitimate messages in Italian, but this still doesn't explain why they do not show up in the group archive. (Unless google groups apply some personalized SPAM filtering based on the user that visits the archive? I have no better explanation.) Very weird.

Re: BQL: Exclude zero sum accounts

2022-01-23 Thread Stefano Zacchiroli
, because I use as extension Fava's auto_commit, and Fava is incompatible with beancount v3, as discussed early on in this thread, but that's an unrelated problem.) Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science o

Re: BQL: Exclude zero sum accounts

2022-01-23 Thread Stefano Zacchiroli
beancount at least as shipped from pypi. What's the recommended way to achieve that with the current split code base? I'm interested too. Thanks! -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Téléc

Re: scripting: Is there a function to get value of an account on a given date?

2021-11-27 Thread Stefano Zacchiroli
TIA, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack _. ^ ._ Full professor of Computer Science o o o \/|V|\/ Télécom Paris, Polytechnic Institute of Paris o o o <\> Co-founder & CTO Software Heritageo o o

Re: Currency exchange rates sources

2021-04-10 Thread Stefano Zacchiroli
Price fetchers available at https://github.com/tarioch/beancounttools This is awesome, thank you ! -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Di

Re: Currency exchange rates sources

2021-04-10 Thread Stefano Zacchiroli
viable alternatives, please shout! Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautology club is

Bazel in Debian [fwd: Google Press Release]

2021-03-04 Thread Stefano Zacchiroli
-packaging - End forwarded message - -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of

Re: Net worth over time examples?

2021-02-14 Thread Stefano Zacchiroli
n tabular form with just BQL (because you can't add/subtract columns to generate other columns, IIRC), but it should be trivial to script from the output of a BQL query that returns Assets and Liabilities GROUP-ed BY the periodicity you want. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilo

Re: Programmatically Rewriting Ledgers

2020-12-01 Thread Stefano Zacchiroli
Cheers [1]: https://github.com/psf/black -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautology

Re: Split beancpunt.el into its own repository

2020-10-11 Thread Stefano Zacchiroli
On Sun, Oct 11, 2020 at 11:06:23AM +0200, Stefano Zacchiroli wrote: > Yeah, that would be `git filter-branch` with the `--tree-filter` for s/tree-filter/subdirectory-filter/ (which is newer and better) -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Scie

Re: Split beancpunt.el into its own repository

2020-10-11 Thread Stefano Zacchiroli
g only the `emacs/` dir, whose content you can them move out of that dir in a final commit. I've (unfortunately for me) had to often merge/separate git repos often, so feel free to ping me offline if you need a hand with that. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . .

Re: Split beancount.el into its own repository

2020-10-07 Thread Stefano Zacchiroli
tag names, but meh... Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautology club is t

Re: Split beancount.el into its own repository

2020-10-07 Thread Stefano Zacchiroli
imilar repos) without having to wait for a Beancount release. In fact, as a user, I don't see why the release processes of the two should be tightly coupled at all. git repositories are cheap. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Pro

Re: Linear git history

2020-08-03 Thread Stefano Zacchiroli
ng one method, we can disable the others. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautolo

looking up prices by ISIN [Was: bean-price has now moved to https://github.com/beancount/beanprice]

2020-07-26 Thread Stefano Zacchiroli
gle Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beancount+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CAK21%2BhO98B71fjdp6RmH5z2e9

Re: Beancount v3

2020-07-14 Thread Stefano Zacchiroli
fact it's inside a comment is a feature. It's Ledger-inherited design (and personal bad practice...) which I don't think Beancount should replicate. But that's a minor point. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software

Re: Beancount v3

2020-07-14 Thread Stefano Zacchiroli
Assets:Checking -47.90 EUR where I want to tag one of the lag has pertaining to my kid (no, he is not actually called Hulk), but not the rest of the transaction. (Yes, I can refactor this using two transactions, but it's annoying.) Cheers -- Stefano Zacchiroli . z...@upsi

Re: Beancount v3

2020-07-07 Thread Stefano Zacchiroli
n they are mixed with tags. If you have such an "opinionated" pretty printer you can do all your changes on the AST and just pretty print your result. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . .

Re: Beancount v3

2020-07-06 Thread Stefano Zacchiroli
ve much to contribute, given my very sporadic track record of contributing to Beancount, but I'll be happy to try if any of these happens. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . .

Re: Beancount v3

2020-07-06 Thread Stefano Zacchiroli
all via pip. I've used pypi to ship weird python code depending on a huge java bundle, and I know it works well. If there is a way to ship (and then select) static binaries for the non-Python parts for multiple architectures (the most popular ones) via pip, I think it'd be totally worth it in terms of us

Re: Beancount v3

2020-07-06 Thread Stefano Zacchiroli
is not in Debian/Ubuntu yet. So for the time being it will be impossible to ship Beancount v3 on those distros (and any other Debian-based distro) until Bazel itself is part of Debian. Work is ongoing (see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782654 ), but I'm unable to guess whe

Re: Beancount Migration to Github

2020-05-24 Thread Stefano Zacchiroli
re and you enabling it. All is good now. Thanks! -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of taut

Re: Beancount Migration to Github

2020-05-23 Thread Stefano Zacchiroli
s" (there's also "Build pushed branches", but that concerns only the people with direct push access). Thanks for considering, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Fo

Re: Beancount Migration to Github

2020-05-23 Thread Stefano Zacchiroli
this happen smoothly. This > wouldn't have happened so quickly without your input. Great work. Thanks a lot to bot you personally and all the people who have helped to make this happen. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor

Re: Beancount issues

2020-04-25 Thread Stefano Zacchiroli
icial now: https://heptapod.host/ the non-payware part for FOSS projects is at: https://foss.heptapod.net/ -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI B

Re: Categorizing transactions automatically on import

2020-04-10 Thread Stefano Zacchiroli
haven't got right without testing, but there's definitely a way along the above lines to make a fully general wrapper that "lifts" any (non-categorizing) importer to one that categorizes as you please. Happy to chat more offline if you want to give this a try. Cheers -- Stefano Zacchi

Re: Categorizing transactions automatically on import

2020-04-09 Thread Stefano Zacchiroli
ll other entries unchanged.) Let me know if it works :-) Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the f

Re: Categorizing transactions automatically on import

2020-04-09 Thread Stefano Zacchiroli
smart" one, that enriches transactions as you please. Is that what you're looking for here? Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI

Re: Beancount issues

2020-03-23 Thread Stefano Zacchiroli
nk you can just create an account here https://foss.heptapod.net/explore and then create a project. (But, again, I haven't tried it myself.) If you want to explore this and encounter troubles, let me know and I can put you in touch with the maintainers. Cheers -- Stefano Zacchiroli . z...@upsi

Re: Beancount issues

2020-03-22 Thread Stefano Zacchiroli
extended with Mercurial software. It's developed and maintained by Mercurial upstream devs, so it should be reasonably well integrated and safe mid-term (not that I've tested it myself though...). I've no idea how to migrate issues from bitbucket to GitLab, but I can ask. Hope this helps, Cheers. --

Re: The end of Mercurial on Bitbucket

2020-02-20 Thread Stefano Zacchiroli
ded where the official Beancount repository is gonna be after that? Thank you in advance for your answer, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI B

Re: Patch for beancount.el

2019-12-18 Thread Stefano Zacchiroli
the date is being inserted. That might be the default date shown in the calendar, as you propose, or just the date directly inserted in the file. My 0.02 EUR, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . .

Re: Documentation is now read-only

2019-08-03 Thread Stefano Zacchiroli
On Fri, Aug 02, 2019 at 02:18:20AM -0700, Kirill Goncharov wrote: > Docs now available at GitHub Pages: https://xuhcc.github.io/beancount-docs/ Thanks a lot for doing this, it's awesome ! -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Profes

Re: load_file omits some entries (balances)

2019-05-17 Thread Stefano Zacchiroli
e too. My typical use case is "fixing the past", e.g., when I refactor the account hierarchy or more generally find a better way to account for something and I want to automate the process of fixing past entries. -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o .

Re: How to fix the income statement so that incomes are positive and expenses are negative?

2019-05-09 Thread Stefano Zacchiroli
ble-entry accounting users. This is a question for the Fava devs though, that usually react quickly to this kind of suggestions via the GitHub issue tracker https://github.com/beancount/fava Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Sof

Re: [Bitbucket] Issue #392: Booking method not applied when used in included file (blais/beancount)

2019-05-06 Thread Stefano Zacchiroli
's what I was referring to with using a "dumb" preprocessor for dealing with includes. It would be the best solution for settling once and for all all include surprises. -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage

Re: Fwd: [Bitbucket] Issue #392: Booking method not applied when used in included file (blais/beancount)

2019-05-05 Thread Stefano Zacchiroli
ard it would be to get that with Beancount (maybe inclusion should just become a purely textual operation, delegated to a "dump" file processor?), but IMHO *that* is what will make file inclusion not confusing at all. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . .

Re: Create a balance from the API

2019-05-05 Thread Stefano Zacchiroli
nal programmer, so I don't need any convincing on the usefulness of immutability :-) -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o

Re: Create a balance from the API

2019-05-04 Thread Stefano Zacchiroli
handled there automatically as well. Python data classes might come in handy here: https://docs.python.org/3/library/dataclasses.html -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian

Re: ledger2beancount

2019-04-23 Thread Stefano Zacchiroli
er Python bindings? If not, please do, then we'll discuss why it's been done this way :-) -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . .

Re: LWN reviews beancount

2019-04-17 Thread Stefano Zacchiroli
t on this list.) Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader . OSI Board Director . . . o o o . . . o . « the first rule of tautology club is the firs

Re: LWN reviews beancount

2019-04-17 Thread Stefano Zacchiroli
mestamped and monitored by the system. This is not to say that Beancount is or isn't suitable for specific use cases (yours or others). I see value in both "low level" accounting tools like Beancount (and I've enjoyed learning more about accounting theory thanks to that) and in highe

Re: Beancount with large journals

2019-04-15 Thread Stefano Zacchiroli
ife scenario with a significant number of transactions. Hope this helps, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o .

Re: Beancount with large journals

2019-04-15 Thread Stefano Zacchiroli
prove performances in that scenario as well. -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader . OSI Board Director . . . o o o . . . o . « the first rule of tautology club

Re: LWN reviews beancount

2019-04-15 Thread Stefano Zacchiroli
rict check on sequentially should allow some sort of override. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the

strict metadata and tags

2019-04-14 Thread Stefano Zacchiroli
[^]: ledger's --strict also requires commodities to be pre-declared, but Beancount is strict by default in that respect, so there is no need to emulate it. -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage

Re: [emacs] using ledger-mode for beancount

2019-03-31 Thread Stefano Zacchiroli
re some time investment. I haven't seen any interested from > Martin about those changes, thus am I reluctant to put that last bit > of work in. Martin: can you comment on this? Many thanks in advance, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer

Re: Beancount with large journals

2019-02-19 Thread Stefano Zacchiroli
ze this kind of feedback is pointless until it turns into actual code, but you seem to be welcoming the discussion, so I bite :-)) Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former De

SELECT [arithmetic_expression] in BQL

2019-02-14 Thread Stefano Zacchiroli
tion)) AS value WHERE account ~ '^Assets:.*Investments' GROUP BY account, currency ORDER BY account, currency " where I'd like to have an extra column showing "value - cost". TIA, Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Sc

Re: Beancount with large journals

2019-02-13 Thread Stefano Zacchiroli
a performance boost? I guess not much, due to either I/O constraints or the GIL lock, right? I'm curious about whether validation, booking, and plugins might be made parallelizable in the future. -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor .

Re: beancount-mode as a major mode

2019-01-23 Thread Stefano Zacchiroli
tantaneous*, but it's still waaaay acceptable. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of t

Re: [emacs] using ledger-mode for beancount

2019-01-20 Thread Stefano Zacchiroli
On Sun, Jan 20, 2019 at 09:32:24AM -0700, Daniele Nicolodi wrote: > (setq beancount-posting-alignment-column 4) Nice :-) -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Proj

Re: [emacs] using ledger-mode for beancount

2019-01-20 Thread Stefano Zacchiroli
people who want TAB to trigger autocompletion when the cursor is in the middle of an account name. But anyway, I'm guessing you'll eventually submit these amazing improvements to Martin B. as PR, so you can also let him be the arbiter of the preferred behavior there. Thanks a lot for all this! Ci

Re: [emacs] using ledger-mode for beancount

2019-01-19 Thread Stefano Zacchiroli
detailed feedback below. > On 04/01/2019 06:25, Stefano Zacchiroli wrote: > > - completion: I'm not sure how that is supposed to work. beancount-tab > > as a function works well for accounts and tags (but not metadata > > key/values, apparently), but if I bind it to TAB I l

Re: Cookbook comment/question

2019-01-10 Thread Stefano Zacchiroli
generally match accounts using regular expression makes this very convenient to do.) But there is no "strong right" or "strong wrong" way of doing it. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software H

Re: [emacs] using ledger-mode for beancount

2019-01-06 Thread Stefano Zacchiroli
Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautology club is the first rule of tautology club

Re: beancount and fava now available in Debian

2019-01-05 Thread Stefano Zacchiroli
t time to properly bake the documentation using the Google Docs -> rst pipeline, but maybe you'd consider shipping a one-off rst export with the upcoming release? Again, nothing blocking, just a nice to have if it's doable with little effort. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . u

Re: [emacs] using ledger-mode for beancount

2019-01-04 Thread Stefano Zacchiroli
expecting it to do things it's not supposed to do, but it's hard to tell. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director .

beancount and fava now available in Debian

2019-01-04 Thread Stefano Zacchiroli
suite pass. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautology club is the first

[emacs] using ledger-mode for beancount

2019-01-02 Thread Stefano Zacchiroli
can point to tips or suitable configuration snippets? If the ledger-mode-for-Beancount user base is non nil we might have chances of adapting it and pushing upstream changes that make it work very well for Beancount. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o

Re: Cumulative sum in bean-query?

2018-11-01 Thread Stefano Zacchiroli
a fully generic running count, but AFAICT is what is used by the BALANCES shorthand query which you cited as initial example. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian

Issue #334: prefix matching when running custom queries (blais/beancount)

2018-09-25 Thread Stefano Zacchiroli
New issue 334: prefix matching when running custom queries https://bitbucket.org/blais/beancount/issues/334/prefix-matching-when-running-custom Stefano Zacchiroli: BQL "run QUERY_NAME" command currently expects a precise match on QUERY_NAME. It would be nice to make it select the

Re: custom SimilarityComparator for bean-extract

2018-09-02 Thread Stefano Zacchiroli
t;hg pull" and me asking about this here, you implemented the solution for a problem I didn't know I had yet :-) Amazing, thank you! (And, in passing, I also like the design a lot.) I'll report back here if it's not flexible enough for my needs, but at first sight it totally fits the bil

custom SimilarityComparator for bean-extract

2018-09-02 Thread Stefano Zacchiroli
, but the configuration API doesn't allow to do so ATM. Would such a generalization be welcome to you, Martin? (as bug report and/or patch) Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former

Re: document organization: unifying statements with everything else

2018-05-06 Thread Stefano Zacchiroli
and make more users use documents associated to transactions, I think. But is of course up to the Fava people to decide if they want to move the plugin over or not. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . .

document organization: unifying statements with everything else

2018-05-04 Thread Stefano Zacchiroli
thoughts / comments on this. Cheers -- Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautology club is the firs

icsv2ledger compatible categorizer for CSV importer

2018-04-23 Thread Stefano Zacchiroli
icsv2ledger maintained mapping DBs and Beancount importers, allowing to share mappings between the Ledger and Beancount worlds. """ __copyright__ = "Copyright (C) 2018 Stefano Zacchiroli" __license__ = "GPL-2.0-or-later" import csv import re from beancount.co

Issue #274: allow single document option to span multiple per-year directories (blais/beancount)

2018-04-08 Thread Stefano Zacchiroli
New issue 274: allow single document option to span multiple per-year directories https://bitbucket.org/blais/beancount/issues/274/allow-single-document-option-to-span Stefano Zacchiroli: As suggested by the documentation, it is handy to split documents like bank statements into per-year sub

  1   2   >