* No of GG Parents and to find - Query or Plugin?

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
User avatar
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?

Post by Valkrider » 05 Jan 2017 09:17

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
ancestors.jpg
ancestors.jpg (74.16 KiB) Viewed 5165 times
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?

User avatar
DavidNewton
Superstar
Posts: 462
Joined: 25 Mar 2014 11:46
Family Historian: V7

Re: No of GG Parents and to find - Query or Plugin?

Post by DavidNewton » 05 Jan 2017 09:39

Strangely enough, just under one year ago this topic was mentioned.

http://www.fhug.org.uk/forum/viewtopic. ... unt#p58182

David

User avatar
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?

Post by Valkrider » 05 Jan 2017 10:26

David

Thanks for the reminder. It was me that asked before :oops: but I couldn't find the query that Jane wrote or the thread on the forum (much egg on face).

User avatar
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?

Post by Jane » 05 Jan 2017 11:17

A slightly updated version of the plugin is in the store

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."

User avatar
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?

Post by Valkrider » 05 Jan 2017 11:26

Thanks for the updated version Jane, I was looking in my FH install for a query not a plugin :oops: so found it now.

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: No of GG Parents and to find - Query or Plugin?

Post by Gowermick » 08 Jan 2017 15:28

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!
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
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?

Post by tatewise » 08 Jan 2017 16:43

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.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: No of GG Parents and to find - Query or Plugin?

Post by Gowermick » 08 Jan 2017 17:40

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 :D
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

Post Reply