* No of GG Parents and to find - Query or Plugin?
- Valkrider
- Megastar
- Posts: 1534
- Joined: 04 Jun 2012 19:03
- Family Historian: V7
- Location: Lincolnshire
- Contact:
No of GG Parents and to find - Query or Plugin?
Following on from a blog post that I read recently I wonder if anyone has a query / plugin to produce the same?
The same what? Please see below
I would think that this just needs a count by generation of Ahnentafel numbers. Any other suggestions on how to achieve this other than by counting manually?
The same what? Please see below
I would think that this just needs a count by generation of Ahnentafel numbers. Any other suggestions on how to achieve this other than by counting manually?
- DavidNewton
- Superstar
- Posts: 462
- Joined: 25 Mar 2014 11:46
- Family Historian: V7
Re: No of GG Parents and to find - Query or Plugin?
Strangely enough, just under one year ago this topic was mentioned.
http://www.fhug.org.uk/forum/viewtopic. ... unt#p58182
David
http://www.fhug.org.uk/forum/viewtopic. ... unt#p58182
David
- Valkrider
- Megastar
- Posts: 1534
- Joined: 04 Jun 2012 19:03
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: No of GG Parents and to find - Query or Plugin?
David
Thanks for the reminder. It was me that asked before
but I couldn't find the query that Jane wrote or the thread on the forum (much egg on face).
Thanks for the reminder. It was me that asked before
- Jane
- Site Admin
- Posts: 8442
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Re: No of GG Parents and to find - Query or Plugin?
A slightly updated version of the plugin is in the store
http://www.family-historian.co.uk/plugi ... try?id=716
http://www.family-historian.co.uk/plugi ... try?id=716
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- Valkrider
- Megastar
- Posts: 1534
- Joined: 04 Jun 2012 19:03
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: No of GG Parents and to find - Query or Plugin?
Thanks for the updated version Jane, I was looking in my FH install for a query not a plugin
so found it now.
Re: No of GG Parents and to find - Query or Plugin?
Jane,
I just ran the plugin, and it showed a minor glitch. If one has more that 30ish generations, it hits a limit when showing no of possibles.
Looking at the source code, you use integers to hold these values, which obviously have hit the maximum possible value in my case. Any idea how to increase the limit, e.g. by using large integers? I thought LUA was type independent!
I just ran the plugin, and it showed a minor glitch. If one has more that 30ish generations, it hits a limit when showing no of possibles.
Looking at the source code, you use integers to hold these values, which obviously have hit the maximum possible value in my case. Any idea how to increase the limit, e.g. by using large integers? I thought LUA was type independent!
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
- tatewise
- Megastar
- Posts: 27089
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: No of GG Parents and to find - Query or Plugin?
It seems that Lua v5.1 may only support 32-bit integers, and since FH is complied as a 32-bit program that may also restrict the maximum integers to 2^31 which explains the limit of 31 generations before the numbers go awry.
Lua may be typeless but is not 'infinite' and bounded by usual computer limits, which are governed by compiler options, i.e. 32-bit or 64-bit numbers.
Lua may be typeless but is not 'infinite' and bounded by usual computer limits, which are governed by compiler options, i.e. 32-bit or 64-bit numbers.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: No of GG Parents and to find - Query or Plugin?
Thanks Mike,
That also explans why FH stops producing Ahnetafel numbers at 31 generations!
I did report this as a bug, but perhaps nothing will change unless Simon recompiles in a 64Bit compiler - I shan't be expecting this resolved anytime soon
That also explans why FH stops producing Ahnetafel numbers at 31 generations!
I did report this as a bug, but perhaps nothing will change unless Simon recompiles in a 64Bit compiler - I shan't be expecting this resolved anytime soon
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com