Re: Python Bindings

2014-05-31 Thread Marc Shapiro
Keeping this on the list... That's documentation, of a sort. Not great, but it does pretty much verify that there is nothing in there for handling budget, or future transactions. Since I would need that in order to do a proper forecasting report (Balance Sheet on an arbitrary date in the fut

Re: Python Bindings

2014-05-31 Thread John Ralls
On May 31, 2014, at 11:42 AM, Marc Shapiro wrote: > Keeping this on the list... > > That's documentation, of a sort. Not great, but it does pretty much verify > that there is nothing in there for handling budget, or future transactions. > Since I would need that in order to do a proper forec

Re: Python Bindings

2014-05-31 Thread David Osguthorpe
On Sat, May 31, 2014 at 11:42:14AM -0700, Marc Shapiro wrote: > Keeping this on the list... > > That's documentation, of a sort. Not great, but it does pretty much > verify that there is nothing in there for handling budget, or future > transactions. Since I would need that in order to do a pr

Re: Python Bindings

2014-05-31 Thread David Osguthorpe
On Sat, May 31, 2014 at 12:27:25PM -0700, John Ralls wrote: > > Why not instead add python to the swig files for the API that you need? It's > only one header, gnc-budget.h, and you can use the Guile adapter code in > src/engine/engine.i as a guide. > not quite as simple as this - I added gnc-

Re: Rethinking Numeric

2014-05-31 Thread Christian Stimming
Am Sonntag, 25. Mai 2014, 07:34:14 schrieb John Ralls: > >> If we've reached the point where our int64 rational numbers do not fit > >> our problem requirements anymore, I'd rather look for a different number > >> representation that fits our application domain better. I'm thinking > >> about repla

Re: Python Bindings

2014-05-31 Thread Marc Shapiro
And I did it again! Sorry, John and David. On 05/31/2014 03:14 PM, Marc Shapiro wrote: Ooops! I meant to send this to the list. Marc - All in all it sounds like it would be a lot more work that I am really up to at this time. Of course, learning Scheme/Guile is not really

Re: Rethinking Numeric

2014-05-31 Thread Mike Alexander
--On May 31, 2014 11:19:23 PM +0200 Christian Stimming wrote: But back to your initial question: You said we occasionally "encounter overflow errors". I don't understand (yet) what the actual problem is. With our current rational numbers and int64_t numerator we have approx. 19 decimal digi

Re: Rethinking Numeric

2014-05-31 Thread John Ralls
On May 31, 2014, at 2:19 PM, Christian Stimming wrote: > Am Sonntag, 25. Mai 2014, 07:34:14 schrieb John Ralls: If we've reached the point where our int64 rational numbers do not fit our problem requirements anymore, I'd rather look for a different number representation that fits

Re: Python Bindings

2014-05-31 Thread John Ralls
On May 31, 2014, at 3:14 PM, Marc Shapiro wrote: > Ooops! I meant to send this to the list. > > Marc > > - > > All in all it sounds like it would be a lot more work that I am really up to > at this time. Of course, learning Scheme/Guile is not really any better. > > What I

Re: Rethinking Numeric

2014-05-31 Thread John Ralls
On May 31, 2014, at 3:20 PM, Mike Alexander wrote: > --On May 31, 2014 11:19:23 PM +0200 Christian Stimming > wrote: > >> But back to your initial question: You said we occasionally >> "encounter overflow errors". I don't understand (yet) what the >> actual problem is. With our current rati