Re: Resetting cash assets (recommendations welcome)

2018-04-03 Thread Zhuoyun Wei
Hi, I would recommend this: 1. Make a transfer from Assets:Bank to Assets:Cash every time you withdraw from ATM; 2. Count your money in you wallet from time to time (say, monthly) and use "balance" directive to assert how many money in your wallet; 3. Insert a "pad" directive one day before the "

Re: Resetting cash assets (recommendations welcome)

2018-04-03 Thread Metin Akat
Yes, IMO this is a much better workflow, as it actually allows you to track something at all :). Otherwise, why do we bother do do our own, personal accounting. On Tue, Apr 3, 2018 at 10:06 AM, Zhuoyun Wei wrote: > Hi, > > I would recommend this: > > 1. Make a transfer from Assets:Bank to Assets

Re: uncomment-region in beancount emacs (minor) mode

2018-04-03 Thread Stefan Monnier
Martin Blais writes: > This is a known bug in the Emacs config. > It's getting on own nerves regularly actually, just haven't had time to dig > into fixing this. Try to add this to beancount-mode: ;; Org-mode sets both of these to `org-comment-or-uncomment-region', ;; which doesn't know

Re: Reports

2018-04-03 Thread Daniel Clemente
I use bean-report for a few commands, mainly to get the price database, and all balances. For most operations I use bean-query or the web interface, which is fast and reliable. I don't use Fava and I feel it adds too much complexity. It depends on a lot of external code that I don't have time to r

Re: Reports

2018-04-03 Thread Mattijs Hoitink
hmm, that is unfortunate but makes sense if it's broken. I hadn't noticed any issues (yet) On Monday, April 2, 2018 at 10:26:20 PM UTC-7, Dominik Aumayr wrote: > > > Fava has become even easier to use now that it has an electron shell. > > Please note that the Electron shell will go away in the

Re: Issue #257: Create a section classifier for new transactions (blais/beancount)

2018-04-03 Thread 'Patrick Ruckstuhl' via Beancount
I think the date might actually have a meaning. E.g. if you split files by year you might have one marker in one file and another in the other and based on the date of the transaction it should go to the right one. On March 31, 2018 5:59:40 AM GMT+02:00, Martin Blais wrote: >On Fri, Mar 30, 201

Re: CI [Was: moving to GitHub?]

2018-04-03 Thread Jakob Schnitzer
I think one thing CI adds is a certain reproducibility. I can remember having the full Beancount test suite pass exactly once (after I submitted a PR fixing some broken tests). Having a test suite that doesn't fully pass (fully passing on just the main developer's computer doesn't count IMHO),

Re: Issue #257: Create a section classifier for new transactions (blais/beancount)

2018-04-03 Thread Jakob Schnitzer
On Fri, Mar 30, 2018 at 11:59:40PM -0400, Martin Blais wrote: On Fri, Mar 30, 2018 at 8:22 AM, Dominik Aumayr wrote: I think that could be very useful. I think there needs to be some discussion about the syntax before you start implementing. Would it look like this? ```beancount 2018-03-30

Issue #268: 'pushtag' does not work with include (blais/beancount)

2018-04-03 Thread Carbo Kuo
New issue 268: 'pushtag' does not work with include https://bitbucket.org/blais/beancount/issues/268/pushtag-does-not-work-with-include Carbo Kuo: For example: ``` #!yaml pushtag #tag1 include 'another_file' poptag #tag1 ``` Expected behavior: all transactions in 'another_file' are tagged with

Re: Resetting cash assets (recommendations welcome)

2018-04-03 Thread Mattijs Hoitink
Thank you for this suggestion, it makes total sense and works perfectly for my situation. On Tuesday, April 3, 2018 at 12:06:32 AM UTC-7, Zhuoyun Wei wrote: > > Hi, > > I would recommend this: > > 1. Make a transfer from Assets:Bank to Assets:Cash every time you > withdraw from ATM; > 2. Coun

Re: Resetting cash assets (recommendations welcome)

2018-04-03 Thread Mattijs Hoitink
> > Otherwise, why do we bother do do our own, personal accounting. > That's a very broad statement. I do 99% of my transactions using bank or credit cards so that is the reason I'm interested in personal accounting. I'm interested in the money leaving my bank and entering my wallet but not re

Re: fava in a public server

2018-04-03 Thread Martin Michlmayr
* Jason Chu [2017-12-06 17:03]: > I still have a document to write that explains how I set all this stuff up, > but as was pointed out by yegle, I use oauth2_proxy and letsencrypt to > protect access to my publicly addressable fava instance. Did you ever got around to documenting this? -- Marti

Re: fava in a public server

2018-04-03 Thread Jason Chu
I never ended up documenting it. I still mean to, but I wish things weren't held up on me, given how little free time I have. On Tue, Apr 3, 2018 at 2:55 PM Martin Michlmayr wrote: > * Jason Chu [2017-12-06 17:03]: > > I still have a document to write that explains how I set all this stuff > up

Re: uncomment-region in beancount emacs (minor) mode

2018-04-03 Thread Martin Blais
Thanks Stefan, https://bitbucket.org/blais/beancount/commits/3213755b4bfc2cd2d1891fd0edb17b 141c1d3173 On Tue, Apr 3, 2018 at 8:09 AM, Stefan Monnier wrote: > Martin Blais writes: > > > This is a known bug in the Emacs config. > > It's getting on own nerves regularly actually, just haven't ha

Re: CI [Was: moving to GitHub?]

2018-04-03 Thread Martin Blais
I love CI. CI is good. I'll try enabling Atlassian's pipelines thing, see if it works. In the past I've worked with buildbot. We should indeed have a working build status on a minimal Docker install somewhere. On Sat, Mar 31, 2018 at 1:46 PM, Jakob Schnitzer wrote: > I think one thing CI adds i

Issue #269: Enable a CI solution; try Atlassian's Pipelines (blais/beancount)

2018-04-03 Thread Martin Blais
New issue 269: Enable a CI solution; try Atlassian's Pipelines https://bitbucket.org/blais/beancount/issues/269/enable-a-ci-solution-try-atlassians Martin Blais: Enable a CI solution; try Atlassian's Pipelines Responsible: blais -- You received this message because you are subscribed to the Go

Re: CI [Was: moving to GitHub?]

2018-04-03 Thread Martin Blais
https://bitbucket.org/blais/beancount/issues/269/enable-a-ci-solution-try-atlassians On Tue, Apr 3, 2018 at 8:35 PM, Martin Blais wrote: > I love CI. CI is good. I'll try enabling Atlassian's pipelines thing, see > if it works. In the past I've worked with buildbot. We should indeed have a > wor

Re: Reports

2018-04-03 Thread Martin Blais
On Tue, Apr 3, 2018 at 12:10 AM, Mattijs Hoitink wrote: > I used bean-report for some simple stuff but never used bean-web, I went > straight for fava. Fava has become even easier to use now that it has an > electron shell. > > I am interested in a more powerful query language because I'm explori

New importers for Yahoo, IEX and Quandl are live

2018-04-03 Thread Martin Blais
Dear Beancounterers, I've been busy attending to user tickets lately. https://bitbucket.org/blais/beancount/src/4a3995617e7df5ffa3377711382c7ad2f9d8935b/CHANGES?at=default&fileviewer=file-view-default In the process I fixed the importer situation: - I rewrote the Yahoo price source to the v7/v8 A

Re: Implicit rounding of inferred numbers

2018-04-03 Thread Martin Blais
This is correct. First, the PRINT command of the shell (which is what I believe you're using) will render the numbers at their stored precision: https://bitbucket.org/blais/beancount/src/4a3995617e7df5ffa3377711382c7ad2f9d8935b/beancount/query/query_execute.py?at=default&fileviewer=file-view-defau

Issue #270: bean-doctor context renders precision not like PRINT (blais/beancount)

2018-04-03 Thread Martin Blais
New issue 270: bean-doctor context renders precision not like PRINT https://bitbucket.org/blais/beancount/issues/270/bean-doctor-context-renders-precision-not Martin Blais: PRINT uses the natural precision for the digits bean-doctor context does not (but it presents the total after a comment) I

Re: Reports

2018-04-03 Thread Dominik Aumayr
> In fact, I would expect that Fava would eventually integrate some of that > functionality, e.g., adding a page with a query at the top and doing a > generic rendering of the results. Fava does this already, see the "Query" page in the sidebar. > Am 04.04.2018 um 02:46 schrieb Martin Blais :

Re: fava in a public server

2018-04-03 Thread Stefano Zacchiroli
On Tue, Apr 03, 2018 at 10:35:26PM +, Jason Chu wrote: > I never ended up documenting it. I still mean to, but I wish things weren't > held up on me, given how little free time I have. FTR the documentation which I contributed to setup Fava with ReverseProxy with Apache was removed from Fava b

Re: Implicit rounding of inferred numbers

2018-04-03 Thread Zhuoyun Wei
Thanks for explaination. It seems that the implicit rounding occurs not only in "PRINT", but also has effect on balance calculation: 1970-01-01 open Assets:Cash 1970-01-01 open Assets:Positions 1970-01-01 open Expenses:Financial:Commissions 2018-03-29 * "Buy 10 BILI" Assets:Cash Assets:Posi

Re: Implicit rounding of inferred numbers

2018-04-03 Thread Martin Blais
On Wed, Apr 4, 2018 at 2:45 AM, Zhuoyun Wei wrote: > Thanks for explaination. > > It seems that the implicit rounding occurs not only in "PRINT", but also > has effect on balance calculation: > > > 1970-01-01 open Assets:Cash > 1970-01-01 open Assets:Positions > 1970-01-01 open Expenses:Financial

Re: Resetting cash assets (recommendations welcome)

2018-04-03 Thread Martin Blais
That's exactly what I do and would recommend. (Personally I try to track only non-food receipts, so I book the "disappeared" cash to food.) In practice I'm too lazy to insert the cash balance regularly, so I'd like to eventually create a plugin that distributes it evenly over time (say, each Frida