The bug only seems to happen when you reset the pattern while you're drawing the cell.confocaloid wrote: December 16th, 2024, 9:58 pm Can you explain the details of how to reproduce the bug? I can't seem to reproduce it either in 4.3b2 or 4.3.
Golly bugs
Re: Golly bugs
Code: Select all
x = 19, y = 37, rule = B3/S23
13b3o$12b4o$11b2obobo$13bobo$15bo12$10b2o$bobo7bobo$o7b2o3b2o$o3bo2b3o
3bo$o6b4obo$o2bo7bo$3o12bobo$18bo$14bo3bo$14bo3bo$18bo$9bo5bo2bo$8b3o
5b3o2$10bo$2bobo4b2o$5bo2b3o$5bo2b3o$2bo2bo2b2obo$3b3o3b3o$10bo!-
fluffykitty
- Posts: 1178
- Joined: June 14th, 2014, 5:03 pm
- Contact:
Re: Golly bugs
In Golly 4.3 icons in the state selector are off-center, and the icons in the file selector are different (and IMO worse). In the screenshot, top is 4.2b1, bottom is 4.3. I'm using MacOS 14.1.
- PiSpaceships
- Posts: 218
- Joined: January 17th, 2025, 12:20 pm
Re: Golly bugs
I tried to run the following rule with 3 states (air, ice, water) in Golly 4.3:
-If air is adjacent to 3 ice cells except the a3 configurations, then it will be an ice in next generation.
-If ice is adjacent to 2 or 3 ice cells, then it stays being ice.
-If water has at least 1 ice neighbor on west, south or east, it will be an ice.
-If non-ice has water on north and non-ice in both upper corners, it will be a water.
-Ice turn into a water which turns into an air by default.
Rule table:
For some reason it doesn't work. The invalid behavour of Golly is presented in the video below. It works in LifeViewer, so I don't know what's going on.
video
-If air is adjacent to 3 ice cells except the a3 configurations, then it will be an ice in next generation.
-If ice is adjacent to 2 or 3 ice cells, then it stays being ice.
-If water has at least 1 ice neighbor on west, south or east, it will be an ice.
-If non-ice has water on north and non-ice in both upper corners, it will be a water.
-Ice turn into a water which turns into an air by default.
Rule table:
Code: Select all
@RULE Ice
@TABLE
n_states:3
neighborhood:Moore
symmetries:reflect_horizontally
var a={0,1,2}
var b=a
var c=a
var d=a
var e=a
var f=a
var g=a
var h=a
var i={0,2}
var j=i
var k=i
var l=i
var m=i
var n=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e,f,1,g,1
#gravity
i,2,j,a,b,c,d,e,k,2
#defaults
i,a,b,c,d,e,f,g,h,0
1,a,b,c,d,e,f,g,h,2
video
INACTIVE
Re: Golly bugs
symmetries:reflect_horizontally is invalid. it should be reflect_horizontal.TBPO wrote: January 13th, 2025, 2:58 pm I tried to run the following rule with 3 states (air, ice, water) in Golly 4.3:For some reason it doesn't work.Code: Select all
@RULE Ice @TABLE n_states:3 neighborhood:Moore symmetries:reflect_horizontally ...
LifeViewer https://lazyslug.com/lifeviewer LifeViewer Pro https://lazyslug.com/lifeviewer/pro
- PiSpaceships
- Posts: 218
- Joined: January 17th, 2025, 12:20 pm
Re: Golly bugs
I fixed it and it still doesn't work.rowett wrote: January 13th, 2025, 5:08 pmsymmetries:reflect_horizontally is invalid. it should be reflect_horizontal.TBPO wrote: January 13th, 2025, 2:58 pm I tried to run the following rule with 3 states (air, ice, water) in Golly 4.3:For some reason it doesn't work.Code: Select all
rule table
INACTIVE
- confocaloid
- Posts: 6697
- Joined: February 8th, 2022, 3:15 pm
- Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms
Re: Golly bugs
Can you provide more details on which patterns don't appear to evolve correctly?
I tested the following pattern in Golly 4.3 and in LifeViewer build 1226. It appears to work the same way in both cases. In particular generation 100 shows population 476 and bounding box 27-by-112. Is that as expected, or it is supposed to evolve differently?
Code: Select all
x = 10, y = 10, rule = Ice
A2.A2.2B.B$.2B.A.A.BA$BA3.B.A2B$3A2.A2BA$.A2.BA$.BA2.2A2B$B.A2.A.A$A.
AB2.B3A$2.BA.A.A.B$A5.BABA!
@RULE Ice
@TABLE
n_states:3
neighborhood:Moore
symmetries:reflect_horizontal
var a={0,1,2}
var b=a
var c=a
var d=a
var e=a
var f=a
var g=a
var h=a
var i={0,2}
var j=i
var k=i
var l=i
var m=i
var n=i
var o={0,1}
#B3-a & S3-a
o,1,1,i,1,j,k,l,m,1
o,1,1,i,j,1,k,l,m,1
o,1,1,i,j,k,1,l,m,1
o,1,1,i,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c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
- PiSpaceships
- Posts: 218
- Joined: January 17th, 2025, 12:20 pm
Re: Golly bugs
In LifeViewer it evolves exactly as I wanted, but it still doesn't evolve correctly in Golly.confocaloid wrote: January 14th, 2025, 12:08 pm I tested the following pattern in Golly 4.3 and in LifeViewer build 1226. It appears to work the same way in both cases. In particular generation 100 shows population 476 and bounding box 27-by-112. Is that as expected, or it is supposed to evolve differently?
Code: Select all
x = 10, y = 10, rule = Ice A2.A2.2B.B$.2B.A.A.BA$BA3.B.A2B$3A2.A2BA$.A2.BA$.BA2.2A2B$B.A2.A.A$A. AB2.B3A$2.BA.A.A.B$A5.BABA! ...
EDIT: I changed the name of the rule to IceB and it works! I think that Golly behaved incorrectly because first version of this rule was incorrect and Golly 'remembered' it, unaware that meanwhile the rule changed. It's still an error to fix.
INACTIVE
- confocaloid
- Posts: 6697
- Joined: February 8th, 2022, 3:15 pm
- Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms
Re: Golly bugs
Which version of Golly you are using?TBPO wrote: January 15th, 2025, 1:22 pm [...] In LifeViewer it evolves exactly as I wanted, but it still doesn't evolve correctly in Golly. [...]
I think this isn't an error. To replace the existing copy of a .rule file, you can simply copy the new version into clipboard and do Ctrl+Shift+O ("Open Clipboard"). It should ask for confirmation before overwriting the existing file.
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
- PiSpaceships
- Posts: 218
- Joined: January 17th, 2025, 12:20 pm
Re: Golly bugs
Golly 4.3.
I didn't know that...confocaloid wrote: January 15th, 2025, 1:29 pm I think this isn't an error. To replace the existing copy of a .rule file, you can simply copy the new version into clipboard and do Ctrl+Shift+O ("Open Clipboard"). It should ask for confirmation before overwriting the existing file.
INACTIVE
- confocaloid
- Posts: 6697
- Joined: February 8th, 2022, 3:15 pm
- Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms
Re: Golly bugs
That feature could be more visible than it is, but then probably some other feature would become less visible/less discoverable.
Some features can be found by looking through the supplied documentation, or looking through the menu items, or looking through the "File -> Preferences" dialog (and asking on the forums or reading an earlier discussion).
Some features can be found by looking through the supplied documentation, or looking through the menu items, or looking through the "File -> Preferences" dialog (and asking on the forums or reading an earlier discussion).
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
- PiSpaceships
- Posts: 218
- Joined: January 17th, 2025, 12:20 pm
Re: Golly bugs
Thank you.confocaloid wrote: January 15th, 2025, 1:49 pm That feature could be more visible than it is, but then probably some other feature would become less visible/less discoverable.
Some features can be found by looking through the supplied documentation, or looking through the menu items, or looking through the "File -> Preferences" dialog (and asking on the forums or reading an earlier discussion).
INACTIVE
- Andrew
- Moderator
- Posts: 1039
- Joined: June 2nd, 2009, 2:08 am
- Location: Melbourne, Australia
- Contact:
Re: Golly bugs
Yep, I see the same issue on my Mac. It looks like a regression due to building Golly with a newer version of wxWidgets, so I'll try to fix it for the next release (probably much later this year).fluffykitty wrote: December 24th, 2024, 10:12 pm In Golly 4.3 icons in the state selector are off-center, and the icons in the file selector are different (and IMO worse).
- b-engine
- Posts: 3762
- Joined: October 26th, 2023, 4:11 am
- Location: Somewhere on where Earth At
- Contact:
Re: Golly bugs
This ruletable works in LifeViewer:
But when pasted into Golly 4.3 (Open clipboard), it shows a Golly warning:
Code: Select all
@RULE Phox
@TABLE
n_states:3
neighborhood:Moore
symmetries:rotate4reflect
var a={0,1,2}
var a1=a
var a2=a
var a3=a
var a4=a
var a5=a
var a6=a
var a7=a
var a8=a
0,0,1,0,0,0,0,0,0,2
0,1,0,0,0,0,0,0,0,1
0,0,2,1,2,0,0,0,0,1
0,2,1,0,0,0,0,0,0,2
0,0,2,1,2,0,2,1,2,1
0,0,2,2,2,2,2,0,0,1
0,2,2,0,1,2,0,0,0,1
0,0,2,1,2,0,0,0,0,1
0,0,2,2,1,0,0,0,0,2
0,1,0,1,0,1,0,1,0,1
0,0,0,0,2,1,0,1,2,2
0,2,1,0,1,2,0,0,0,1
0,0,2,2,2,0,0,0,2,1
1,0,0,0,0,0,0,0,0,1
1,2,2,2,2,2,2,2,2,1
1,2,2,2,2,2,0,0,0,2
1,2,0,0,0,2,0,0,0,2
1,1,2,2,2,1,2,2,2,2
1,2,2,0,2,2,0,0,0,2
1,2,0,2,0,2,0,0,0,2
1,2,0,0,2,2,0,0,0,2
1,0,1,0,1,0,0,2,0,2
2,1,2,2,0,0,0,0,0,2
2,1,2,2,2,2,2,2,2,2
2,2,1,2,2,2,0,0,0,2
2,2,1,2,0,0,0,0,0,2
2,2,2,1,2,2,0,0,0,2
2,1,0,0,0,0,0,0,0,2
2,1,2,0,0,0,0,0,0,2
2,2,1,2,0,1,0,0,0,2
2,1,2,2,a,0,a,2,2,2
2,2,1,0,2,1,0,0,0,2
2,2,2,1,2,2,2,0,0,2
2,2,1,2,0,2,1,2,0,2
2,0,2,0,2,2,0,2,2,1
2,2,0,0,0,2,0,0,0,1
2,0,1,2,1,2,0,0,0,2
2,1,0,2,2,1,2,2,0,2
2,2,1,2,0,2,0,0,0,2
a,a1,a2,a3,a4,a5,a6,a7,a8,0
Code: Select all
The rule file is not valid:
Phox.rule
Try INT Minesweeper
- confocaloid
- Posts: 6697
- Joined: February 8th, 2022, 3:15 pm
- Location: learn to protect yourself against stray gliders and sparks and self-destruct mechanisms
Re: Golly bugs
I think this is caused by the (normally invisible) trailing whitespace in the line '@TABLE '. Try to remove the trailing space and see if it works.
b-engine wrote: March 4th, 2025, 9:53 am This ruletable works in LifeViewer:[...]Code: Select all
@RULE Phox @TABLE n_states:3 neighborhood:Moore symmetries:rotate4reflect
127:1 B3/S234c User:Confocal/R (isotropic CA, incomplete)
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
Unlikely events happen.
My silence does not imply agreement, nor indifference. If I disagreed with something in the past, then please do not construe my silence as something that could change that.
- Andrew
- Moderator
- Posts: 1039
- Joined: June 2nd, 2009, 2:08 am
- Location: Melbourne, Australia
- Contact:
Re: Golly bugs
This can only happen if you use a keyboard shortcut to select Control > Reset while the mouse button is down. In the next version of Golly the Reset will simply be ignored.eRroR_6o6 wrote: December 16th, 2024, 9:50 pm If you try to draw a cell and reset a pattern simultaneously while it's running, it clears the whole layer.
Re: Golly bugs
This does not act as a shifted torus:
Nor does this:
While the bounded grid validation here is incorrect, I'd still very much like to see this behaviour implemented as an actual bounded grid, since there's otherwise no way to simulate a finite cylinder.
Currently the * symbol is only used for Klein bottles and spheres. Perhaps it could be used for torus bounded grids to indicate what sides act as a hard boundary versus what sides are connected? We could have T20,20* and T20*,20, and they would behave as they do above.
We could do the same for the cross-surface to get Mobius strip bounded grids: C20,20* and C20*,20
Code: Select all
x = 5, y = 4, rule = B3/S23:T20,20-2147483648
bo2bo$o$o3bo$4o!Code: Select all
x = 4, y = 5, rule = B3/S23:T20-2147483648,20
obo$3bo$3bo$o2bo$b3o!Currently the * symbol is only used for Klein bottles and spheres. Perhaps it could be used for torus bounded grids to indicate what sides act as a hard boundary versus what sides are connected? We could have T20,20* and T20*,20, and they would behave as they do above.
We could do the same for the cross-surface to get Mobius strip bounded grids: C20,20* and C20*,20
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.
Golly file list colours
Sorry if this is the wrong place to ask!
The file pane down the left side of the Golly v3.3 window has a white background and pale grey text here (Linux Mint Xfce X11) which makes it almost unreadable.
Is there somewhere this can be changed? It's not altered by changes to my system theme (except for the background colour of the selected item), and DeepWiki suggests it's hard-coded.
The file pane down the left side of the Golly v3.3 window has a white background and pale grey text here (Linux Mint Xfce X11) which makes it almost unreadable.
Is there somewhere this can be changed? It's not altered by changes to my system theme (except for the background colour of the selected item), and DeepWiki suggests it's hard-coded.
- LaundryPizza03
- Posts: 2623
- Joined: December 15th, 2017, 12:05 am
- Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"
Re: Golly bugs
On macOS 15.6.1 with Apple M2, Golly occasionally freezes while opening the menu bar. All cores on my system are busy doing other processes, but this doesn't otherwise hurt performance noticeably for normal use.
Code: Select all
x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
-
Disaster16439
- Posts: 327
- Joined: June 30th, 2023, 9:17 am
- Location: Teyvat
Re: Golly bugs
I’m on mobile. Recently, it seems like copying a pattern doesn’t work all of the time (so I copy a pattern, and when I paste, it still pastes the thing that was previously copied.
Code: Select all
x=0,y=0,rule=B34q/S23-k
14b3o$13bo3bo$13b2ob2o9$15bo$15bo$b2o12bo12b2o$obo25bobo$o10b3o3b3o10b
o$obo25bobo$b2o12bo12b2o$15bo$15bo9$13b2ob2o$13bo3bo$14b3o!
[[ LOOP 200 THEME POISON AUTOSTART T 0 PAUSE 0.3 ]]- Andrew
- Moderator
- Posts: 1039
- Joined: June 2nd, 2009, 2:08 am
- Location: Melbourne, Australia
- Contact:
Re: Golly bugs
I'm pretty sure this is a bug in macOS. I've seen the same issue happen occasionally in Terminal.app. Never seen it happen in Golly so far. Let me know if you manage to find steps to reproduce the problem in Golly.LaundryPizza03 wrote: September 5th, 2025, 3:22 pm On macOS 15.6.1 with Apple M2, Golly occasionally freezes while opening the menu bar.
-
Antonin Duda
- Posts: 168
- Joined: October 19th, 2023, 10:23 am
- Location: 404 not found
Re: Golly bugs
Why does copy+pasting this rule to golly not work?
EDIT by dvgrn: Sample pattern to try out in LifeViewer and Golly 5.0:
Code: Select all
@RULE blockylife
@TABLE
n_states:3
neighborhood:Moore
symmetries:permute
var a={1,2}
var a1=a
var a2=a
var a3=a
var a4=a
var a5=a
var a6=a
var a7=a
var b={0,1,2}
var b1=b
var b2=b
var b3=b
var b4=b
var b5=b
var b6=b
var b7=b
var c={0,1}
var c1=c
var c2=c
var c3=c
var c4=c
0,0,0,0,0,0,1,1,1,1
1,0,0,0,0,0,1,1,1,1
1,0,0,0,0,0,0,1,1,1
1,b,b1,1,1,1,1,1,1,2
2,2,2,2,c,c1,c2,c3,c4,2
2,b,b1,b2,b3,b4,b5,b6,b7,0
0,2,b,0,0,0,0,0,0,1
1,b,b1,b2,b3,b4,b5,b6,b7,0Code: Select all
x = 20, y = 7, rule = blockylife
2.A$.A.A14.2A$2A12.A2.2BA$3.A13.2B$.2BA10.2B.A$.2B11.2B$A12.2A!
@RULE blockylife
@TABLE
n_states:3
neighborhood:Moore
symmetries:permute
var a={1,2}
var a1=a
var a2=a
var a3=a
var a4=a
var a5=a
var a6=a
var a7=a
var b={0,1,2}
var b1=b
var b2=b
var b3=b
var b4=b
var b5=b
var b6=b
var b7=b
var c={0,1}
var c1=c
var c2=c
var c3=c
var c4=c
0,0,0,0,0,0,1,1,1,1
1,0,0,0,0,0,1,1,1,1
1,0,0,0,0,0,0,1,1,1
1,b,b1,1,1,1,1,1,1,2
2,2,2,2,c,c1,c2,c3,c4,2
2,b,b1,b2,b3,b4,b5,b6,b7,0
0,2,b,0,0,0,0,0,0,1
1,b,b1,b2,b3,b4,b5,b6,b7,0- Andrew
- Moderator
- Posts: 1039
- Joined: June 2nd, 2009, 2:08 am
- Location: Melbourne, Australia
- Contact:
Re: Golly bugs
Seems to work fine on my system (Golly 5.0 on macOS). What exactly is going wrong?
-
Antonin Duda
- Posts: 168
- Joined: October 19th, 2023, 10:23 am
- Location: 404 not found
Re: Golly bugs
I think my laptop is haunted, i actually have no idea why it doesn't work for me...Andrew wrote: November 6th, 2025, 5:26 pm Seems to work fine on my system (Golly 5.0 on macOS). What exactly is going wrong?
Uhh... it specifically doesn't work when i name the rule "blockylife".
My idea is, my laptop somehow encodes the file "blockylife.rule" incorrectly...
When i remove or change one character from the rule name, it starts working again.
When i first copied+pasted this rule to golly, golly kept telling me "blockylife.rule is not valid", even though there was nothing wrong with it
Re: Golly bugs
If I save this as a .rle file then I can open it in Golly 5.0 on Windows.Antonin Duda wrote: November 6th, 2025, 9:16 am EDIT by dvgrn: Sample pattern to try out in LifeViewer and Golly 5.0:
Code: Select all
x = 20, y = 7, rule = blockylife 2.A$.A.A14.2A$2A12.A2.2BA$3.A13.2B$.2BA10.2B.A$.2B11.2B$A12.2A! @RULE blockylife @TABLE n_states:3 neighborhood:Moore symmetries:permute var a={1,2} var a1=a var a2=a var a3=a var a4=a var a5=a var a6=a var a7=a var b={0,1,2} var b1=b var b2=b var b3=b var b4=b var b5=b var b6=b var b7=b var c={0,1} var c1=c var c2=c var c3=c var c4=c 0,0,0,0,0,0,1,1,1,1 1,0,0,0,0,0,1,1,1,1 1,0,0,0,0,0,0,1,1,1 1,b,b1,1,1,1,1,1,1,2 2,2,2,2,c,c1,c2,c3,c4,2 2,b,b1,b2,b3,b4,b5,b6,b7,0 0,2,b,0,0,0,0,0,0,1 1,b,b1,b2,b3,b4,b5,b6,b7,0
However, if I copy it to the clipboard and then use File>Open Clipboard I get a dialog saying "Golly warning: The first line in blockylife.rule does not start with @RULE. 2B$.2BA10.2B.A$.2B11.2B$A12.2A!"
LifeViewer https://lazyslug.com/lifeviewer LifeViewer Pro https://lazyslug.com/lifeviewer/pro
- Andrew
- Moderator
- Posts: 1039
- Joined: June 2nd, 2009, 2:08 am
- Location: Melbourne, Australia
- Contact:
Re: Golly bugs
Yep, I can reproduce the problem on my Windows system (doesn't happen on macOS or Linux). Turns out ftell doesn't work correctly if you open a file in "rt" mode but the file doesn't use CR+LF as line endings (Golly saves clipboard data using just LF). I've committed a fix that seems to work on various examples I've tested.rowett wrote: November 7th, 2025, 9:25 am However, if I copy it to the clipboard and then use File>Open Clipboard I get a dialog saying "Golly warning: The first line in blockylife.rule does not start with @RULE. 2B$.2BA10.2B.A$.2B11.2B$A12.2A!"