Golly 3.2b1

For general discussion about Conway's Game of Life.
Post Reply
User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Golly 3.2b1

Post by Andrew » May 15th, 2018, 6:54 pm

Golly 3.2b1 is now available for testing:

http://www.trevorrow.com/golly/Golly-3.2b1-Mac.dmg (Mac OS 10.6+)
http://www.trevorrow.com/golly/golly-3. ... -64bit.zip (Windows XP+, 64-bit)
http://www.trevorrow.com/golly/golly-3. ... -32bit.zip (Windows XP+, 32-bit)
http://www.trevorrow.com/golly/golly-3. ... bit.tar.gz (Linux, 64-bit)
http://www.trevorrow.com/golly/golly-3. ... bit.tar.gz (Linux, 32-bit)
http://www.trevorrow.com/golly/golly-3.2b1-src.tar.gz (source code)

Main changes to 3.1:

- Three-dimensional CA can be explored using a new script called 3D.lua. I've created a separate thread in the Scripts forum for all discussion about 3D.lua, so please post your suggestions, bug reports, patterns etc in that thread.

- The Larger than Life algorithm now supports circular neighborhoods. See Help > Algorithms > Larger than Life for details.

- HashLife and the other hash-based algorithms are faster and more responsive.

As always, see Help > Changes for the full list of changes.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
KittyTac
Posts: 535
Joined: December 21st, 2017, 9:58 am

Re: Golly 3.2b1

Post by KittyTac » May 15th, 2018, 10:02 pm

Well, mine didn't go in, but hey, 3D CA! Gotta play around with that! Thank you!

User avatar
gameoflifemaniac
Posts: 1242
Joined: January 22nd, 2017, 11:17 am
Location: There too

Re: Golly 3.2b1

Post by gameoflifemaniac » May 16th, 2018, 9:16 am

When I run 3D.lua, how to change the layer I'm drawing on?
I was so socially awkward in the past and it will haunt me for the rest of my life.

Code: Select all

b4o25bo$o29bo$b3o3b3o2bob2o2bob2o2bo3bobo$4bobo3bob2o2bob2o2bobo3bobo$
4bobo3bobo5bo5bo3bobo$o3bobo3bobo5bo6b4o$b3o3b3o2bo5bo9bobo$24b4o!

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 3.2b1

Post by Andrew » May 16th, 2018, 9:23 am

gameoflifemaniac wrote:When I run 3D.lua, how to change the layer I'm drawing on?
From 3D.lua's help:

To move the active plane to a different position, shift-click anywhere in the active plane and drag the mouse. Or you can hit the "," or "." keys. Hit shift-A to change the active plane's orientation.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

wildmyron
Posts: 1542
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.2b1

Post by wildmyron » May 17th, 2018, 12:23 am

Andrew:

This is an old bug, pretty minor and easy to avoid, but seeing as it's coming up to release of 3.2 I thought I'd mention it now.

Tested on Golly 3.1 and Golly 3.2b1 on Win7 x64. My shortcut for the "Set Rule" dialogue is Shift-R. I can't remember if this is the default.

With the cursor set to "Draw", press Shift-R to open the "Set Rule" dialogue. Shift temporarily changes the cursor (to "Pick" in this case) but when the dialogue opens it switches to a pointer. Click "OK" to close the dialogue.

The cursor will now be set to "Pick", rather than returning to "Draw".

Press Shift briefly - or any other key - and the cursor mode will return to "Draw".

--

Would you care to expand on the improvements to HashLife and RuleLoader? In particular what should we expect in terms of performance improvements and are there any types of patterns where the improvements are likely to be most effective?

Also, are there any plans to incorporate the work Adam and Tom have been doing on CA algorithm performance in to Golly? It seems like lifelib in particular is a promising alternative for high performance CA evolution.
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 3.2b1

Post by Andrew » May 17th, 2018, 1:00 am

wildmyron wrote:With the cursor set to "Draw", press Shift-R to open the "Set Rule" dialogue. Shift temporarily changes the cursor (to "Pick" in this case) but when the dialogue opens it switches to a pointer. Click "OK" to close the dialogue.

The cursor will now be set to "Pick", rather than returning to "Draw".
I can't reproduce the problem on any of my Mac/Win/Linux systems. That pretty much rules out any hope of me finding a solution. Maybe there is some Windows keyboard setting you can change to fix this?
Would you care to expand on the improvements to HashLife and RuleLoader?
Tom did all those changes so best to ask him (golly-test might be a better place -- not sure how often he checks these forums).
Also, are there any plans to incorporate the work Adam and Tom have been doing on CA algorithm performance in to Golly?
Again, best to ask Tom.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

wildmyron
Posts: 1542
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.2b1

Post by wildmyron » May 17th, 2018, 1:08 am

Andrew wrote:
wildmyron wrote:With the cursor set to "Draw", press Shift-R to open the "Set Rule" dialogue. Shift temporarily changes the cursor (to "Pick" in this case) but when the dialogue opens it switches to a pointer. Click "OK" to close the dialogue.

The cursor will now be set to "Pick", rather than returning to "Draw".
I can't reproduce the problem on any of my Mac/Win/Linux systems. That pretty much rules out any hope of me finding a solution. Maybe there is some Windows keyboard setting you can change to fix this?
OK, thank you for looking in to it.
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

User avatar
rowett
Moderator
Posts: 3776
Joined: January 31st, 2013, 2:34 am
Location: UK
Contact:

Re: Golly 3.2b1

Post by rowett » May 17th, 2018, 5:57 am

wildmyron wrote:With the cursor set to "Draw", press Shift-R to open the "Set Rule" dialogue. Shift temporarily changes the cursor (to "Pick" in this case) but when the dialogue opens it switches to a pointer. Click "OK" to close the dialogue.

The cursor will now be set to "Pick", rather than returning to "Draw".
I can reproduce this on my Windows 10 system with Golly 3.2b1. I had to add Key Combination: "Shift-R", Action: Set Rule... in File > Preferences... > Keyboard.

I'll take a look at the code.

Sokwe
Moderator
Posts: 2643
Joined: July 9th, 2009, 2:44 pm

Re: Golly 3.2b1

Post by Sokwe » May 22nd, 2018, 7:00 pm

-Matthias Merzenich

User avatar
dvgrn
Moderator
Posts: 10610
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: Golly 3.2b1

Post by dvgrn » May 22nd, 2018, 9:54 pm

Sokwe wrote:This is missing the recent (minor) pattern collection update.
Yup, sorry, I didn't manage a checkin in time for the beta build. It's definitely on on my official to-do list for the final 3.2 release.

rokicki
Posts: 80
Joined: August 6th, 2009, 12:26 pm

Re: Golly 3.2b1

Post by rokicki » May 24th, 2018, 8:50 pm

Andrew wrote:
Would you care to expand on the improvements to HashLife and RuleLoader?
Tom did all those changes so best to ask him (golly-test might be a better place -- not sure how often he checks these forums).
The hashing algorithms should be somewhat faster (varies). I changed the hashtable code to use power of two hashing and a different hash function for speed (division/modulo is still slow on modern machines) and made a number of additional changes. The improvement is probably between 1.3X and 1.5X so it will probably not be obvious.

More mportantly (to me anyway) I improved the responsiveness of the algorithms especially to things like + and - (speed up and slow down). I did this using several tricks. For instance, I found that doing a GC before rehashing and before changing the increment could usually speed things up, sometimes by a lot.

So there should be fewer times you have to sit and wait while the increment changes.

I also added some random information to the hash info status; not sure if any of it will be of interest to anyone but me.
Andrew wrote:
Also, are there any plans to incorporate the work Adam and Tom have been doing on CA algorithm performance in to Golly?
Again, best to ask Tom.
Oh, how did this get out? At the moment it's unlikely that lifelib algorithms will show up in Golly in the near future, but long-term anything could happen. Among other reasons, they require recompilation for different rules. Nonetheless I am very excited by the performance I am seeing in the various lifelib algorithms and hope to incorporate some of the improvements, if not the actual code, at some point. If you are interested in very high performance life algorithms and don't need real-time display, I encourage you to look at the lifelib code.

wildmyron
Posts: 1542
Joined: August 9th, 2013, 12:45 am
Location: Western Australia

Re: Golly 3.2b1

Post by wildmyron » May 24th, 2018, 11:48 pm

Thank you Tom, for providing details of the HashLife improvements. The improved responsiveness is great, and quite obviously effective when you push the step too high and then try to reel it back in again compared to Golly 3.1.
rokicki wrote:
Andrew wrote:
wildmyron wrote:Also, are there any plans to incorporate the work Adam and Tom have been doing on CA algorithm performance in to Golly?
Again, best to ask Tom.
Oh, how did this get out?
Sorry, that's entirely my fault. In my defense, It did appear to be publicly available.
The 5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on GitHub and contains well over 1,000,000 spaceships.

Semi-active here - recovering from a severe case of LWTDS.

rokicki
Posts: 80
Joined: August 6th, 2009, 12:26 pm

Re: Golly 3.2b1

Post by rokicki » May 25th, 2018, 3:07 am

wildmyron wrote:Sorry, that's entirely my fault. In my defense, It did appear to be publicly available.
It is public, just didn't think anyone would notice it; no worries.

User avatar
muzik
Posts: 5612
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: Golly 3.2b1

Post by muzik » May 26th, 2018, 10:17 am

Are there any plans to support range-extended outer-totalistic rulespaces?
calcyman wrote:
muzik wrote: Seems like a valid next step. The other two main ones I can think of would be B0 non-totalistic and LTL Generations.
In terms of further rule families, the next one I intend to implement is outer-totalistic rules up to range 5.

dani
Posts: 1222
Joined: October 27th, 2017, 3:43 pm

Re: Golly 3.2b1

Post by dani » May 31st, 2018, 3:29 pm

Golly freezes when attempting to load this ruletable (change the 6 on the line below 'XPM' to 5 to make it work)
EDIT: BE CAREFUL, AS THIS CAN LOCK UP GOLLY FOREVER IF IT'S SET TO THE DEFAULT RULE

Code: Select all

@RULE SLBeta

@TABLE

n_states:6
neighborhood:Moore
symmetries:permute

@COLORS
0 0 0 0
1 255 255 255

@ICONS
XPM
"15 60 6 1"
". c #000000"
"S c #888888"
"W c #FFFFFF"
"B c #554433"
"Y c #FFEE22"

"....BBBBBBB...."
"...BYYYYYYYB..."
"..BYYYYYYYYYB.."
".BYYBBYYYBBYYB."
"BYYBYYYYYYYBYYB"
"BYYYYYYYYYYYYYB"
"BYYY..YYY..YYYB"
"BYYYSSYYYSSYYYB"
"BYYYYYYYYYYYYYB"
"BYY.........YYB"
".BYY.WWWWW.YYB."
".BYYY.....YYYB."
"..BYYYYYYYYYB.."
"...BYYYYYYYB..."
"....BBBBBBB...."

"....BBBBBBB...."
"...BYYYYYYYB..."
"..BYYYYYYYYYB.."
".BYYYYYYYYYYYB."
"BYYYYYYYYYYYYYB"
"BYYY..YYY..YYYB"
"BYY.YY.Y.YY.YYB"
"BYYYYYYYYYYYYYB"
"BY...........YB"
"BY.WWWWWWWWW.YB"
".BY.WWWWWWW.YB."
".BYY.WWWWW.YYB."
"..BYY.....YYB.."
"...BYYYYYYYB..."
"....BBBBBBB...."

"....BBBBBBB...."
"...BYYYYYYYB..."
"..BYYYYYYYYYB.."
".BYYYYYYYYYYYB."
"BYYBBBYYYBBBYYB"
"BYBWWWBYBWWWBYB"
"BYBWBWBYBWBWBYB"
"BYBWBWBYBWBWBYB"
"BYYYYYYYYYYYYYB"
"BYYY.......YYYB"
".BY.YYYYYYY.YB."
".BYYYYYYYYYYYB."
"..BYYYYYYYYYB.."
"...BYYYYYYYB..."
"....BBBBBBB...."

"....BBBBBBB...."
"...BYYYYYYYB..."
"..BYYYYYYYYYB.."
".BYBBBYYYBBBYB."
"BYBWWWBYBWWWBYB"
"BYBWBWBYBWBWBYB"
"BYBWBWBYBWBWBYB"
"BYYBYYYYYYYBYYB"
"BYYYYYBBBYYYYYB"
"BYYYYYWWWYYYYYB"
".BYYYY...YYYYB."
".BYYYY...YYYYB."
"..BYYY...YYYB.."
"...BYYYYYYYB..."
"....BBBBBBB...."

"....BBBBBBB...."
"...BYYYYYYYB..."
"..BYYYYYYYYYB.."
".BYYYYYYYYYYYB."
"BYYYBYYYYYBYYYB"
"BYYYYBYYYBYYYYB"
"BYYYYYYYYYYYYYB"
"BYYYBBYYYBBYYYB"
"BYYYYBYYYBYYYYB"
"BYYYYYYYYYYYYYB"
".BYYYBBBBBYYYB."
".BYYBWWWWWBYYB."
"..BYBBBBBBBYB.."
"...BYYYYYYYB..."
"....BBBBBBB...."

User avatar
Redstoneboi
Posts: 429
Joined: May 14th, 2018, 3:57 am

Re: Golly 3.2b1

Post by Redstoneboi » May 31st, 2018, 4:13 pm

are you using mobile or pc?
my mobile golly locks up forever in a black screen if i load an invalid rule.
the annoying thing is instead of throwing a “too few strings” error, it crashes forever.
sometimes i make rule tables using “smart quotes” instead of "ascii quotes" and it warns me about how there are too few strings, so idk the problem
c(>^w^<c)~*
This is 「Fluffy」
「Fluffy」is my sutando.
「Fluffy」has the ability to engineer r e p l i c a t o r s.
「Fluffy」likes to watch spaceship guns in Golly.
「Fluffy」knows Natsuki best girl.

User avatar
Andrew
Moderator
Posts: 919
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly 3.2b1

Post by Andrew » June 4th, 2018, 8:45 pm

danny wrote:Golly freezes when attempting to load this ruletable ...
Fixed in the next 3.2 build -- thanks for reporting. If you're using the Android or iPad version of Golly then it might be a while before you see a fix. A new Android version will hopefully be released soon after the final 3.2 build is available from sourceforge.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

Post Reply