gnucash-user Digest, Vol 159, Issue 20

Jason Dunham jwdunham at gmail.com
Sat Jun 11 02:45:57 EDT 2016


On Fri, Jun 10, 2016 at 11:12 PM, <gnucash-user-request at gnucash.org> wrote:

> From: Mark Mercer <markm at woodjoint.ca>
> To: Adrien Monteleone <adrien.monteleone at gmail.com>
> Cc: gnucash-user at gnucash.org
> Date: Sat, 11 Jun 2016 00:30:50 -0230
> Subject: Re: External Program
> So yup, that fixed it!  So happy now.
>
> The only issue that comes to mind now is how do I make sure I don't
> generate duplicate guid's.  How does gnucash do it?  it cant be as simple
> as generate random ones and assume that the set is so large that there
> would never be a duplicate.
>
>
Mark, Generating sufficiently random UUIDs is a usually a service provided
by the OS.  There is more information at
https://en.wikipedia.org/wiki/Universally_unique_identifier.

That page says you are more likely to get hit by a meteorite this year than
you are to get a duplicate UUID in 10 trillion tries. 128-bit numbers are
just darn huge.


More information about the gnucash-user mailing list