Page 8 of 36

Re: Thread for your miscellaneous posts and discussions

Posted: February 10th, 2024, 6:32 am
by confocaloid
A post lacking any useful details. (What "is important"? Why "It is important."? etc.)
The poster was not active since that post. Unlikely to be a new Life/CA enthusiast. Unlikely to post anything on-topic on this forum. Likely to be connected to the current wave of SPAM posts.
spam.png
spam.png (36.4 KiB) Viewed 2373 times

Re: Thread for your miscellaneous posts and discussions

Posted: February 10th, 2024, 6:58 am
by Citation needed
Happy Chinese New Year!

Re: Thread for your miscellaneous posts and discussions

Posted: February 10th, 2024, 11:52 am
by yujh
Happy Chinese new year!

Re: Thread for your miscellaneous posts and discussions

Posted: February 11th, 2024, 3:20 am
by yujh
b-engine wrote: February 11th, 2024, 1:34 am Sorry if I'm wrong, but I haven't found a (31,4)c/70 spaceship in the database.
Please read this page. https://conwaylife.com/wiki/LifeWiki:Sm ... fic_Speeds

Re: Thread for your miscellaneous posts and discussions

Posted: February 15th, 2024, 9:15 pm
by b-engine
tommyaweosme wrote: February 15th, 2024, 8:34 pm it makes me so sad when evoloops die :( cant everyone just make evoloops that dont die?
The state 8 cell makes them die. If we remove state 8 then the entire thing is solved.
However, this cause

This is how Evoloop behaves without state 8:

Code: Select all

x = 11, y = 11, rule = EvoloopNSD
.9B$BG.AG.AG.AB$BA7BAB$B.B5.BAB$BGB5.BAB$BAB5.BAB$B.B5.BAB$BGB5.BGB$B
A7B.B$B.GA.DA.DAB$.8BE!

@RULE EvoloopNSD

@TABLE
n_states:8
neighborhood:vonNeumann
symmetries:rotate4
var a={0,2,5}
var b={0,1,2,3,4,5,6,7}
var c={0,1,2,3,4,5,6,7}
var d={1,4,6,7}
var e={1,4}
var f={0,1}
var g={0,1,2,3,4,5,6,7}
var h={0,1,2,3,4,5,6,7}
var i={2,3,4,5,6,7}
var j={0,2,3,5}
var k={0,2,3,4,5,6,7}
var l={4,6,7}
var m={2,5}
var n={0,1}
var o={0,3,5}
var p={2,3,5}
var q={3,5}
var r={2,4,6,7}
var s={0,1}
var t={0,1}
var u={0,1,2,3,4,7}
var v={5,6}
var w={1,6,7}
var x={0,3,5}
var y={0,3,5}
var z={1,3,5}
var A={0,1,3,5}
var B={0,1,3,5}
var C={1,3,5}
var D={1,3,5}
var E={0,1,2,3,4,5}
var F={0,1,2,4,5}
var G={1,2,4}
var H={0,1,3,4,5,6}
var I={0,1,2,3,4,5,6}
var J={1,2,4,6}
var K={0,1,2,4,5,6,7}
var L={0,1,2,3,4,5,7}
var M={1,2,4,6,7}
var N={0,3}
var O={0,1,2,3,5}
var P={0,1,2,3,4}
var Q={0,2,3,5,6}
var R={0,1,3,4,5,6,7}
var S={1,3}
var T={1,2,3,5}
var U={0,1,3,4,5}
var V={0,1,4,5,6}
var W={1,4,6}
var X={2,3,5}
var Y={0,5}
var Z={1,2}
var aa={0,1,5}
var ab={0,2}
var ac={2,3,4,5}
var ad={2,3,4,5,6}
var ae={0,3}
var af={0,3}
var ag={3,7}
var ah={2}
var ai={0,2}
var aj={0}
var ak={0,2}
var al={6}
var am={0,1,4,5,6,7}
var an={0,1,4,5,6,7}
var ao={1,4,6,7}
var ap={1,3,4,5,6,7}
var aq={2,3,5}
var ar={0,1,2,3,4,5,6,7}
var as={0,1,4,6,7}
var at={1,5,6}
var au={4,7}
var av={1,3,4,5,7}
var aw={0,4,5,7}
var ax={1,4,5,6,7}
var ay={0,4,5,7}
var az={1,4,5,6,7}
var aA={0,1,3,5,6,7}
var aB={1,2,3,4,5,7}
var aC={0,1,4,7}
var aD={2,4,6,7}
var aE={3,5,6}
var aF={2,3,5,6}
var aG={2,3,5,6}
var aH={2,3}
var aI={0,1,3,4,7}
var aJ={2,5,6,7}
var aK={1,2,3,4,6,7}
var aL={1,3,4,7}
var aM={0,2,3}
var aN={1,2,4,7}
var aO={3,6}
var aP={1,2,3,4,7}
var aQ={3,4,7}
var aR={1,2,3,4,5,6,7}
var aS={3,4,6,7}
var aT={0,3,6}
var aU={3,4,5,7}
var aV={2,3,6}
var aW={1,2,3,4,5,6,7}
var aX={0}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3,4,5,1
3,0,0,0,aH,2
3,0,0,0,7,4
3,0,0,3,2,2
3,0,0,4,2,1
3,0,1,0,2,1
aS,0,1,2,5,0
3,aC,2,5,2,1
3,0,3,3,2,1
4,aj,aX,aY,ai,1
ba,0,am,M,bb,0
ba,0,ao,o,M,0
ba,0,M,bb,ap,0
bd,0,2,be,M,0
ba,0,2,C,ao,0
4,0,2,aH,2,1
au,0,2,6,2,6
ba,0,3,ao,M,0
ba,0,3,2,ao,0
4,0,3,2,2,1
5,0,0,2,3,2
5,0,2,0,m,2
5,0,2,1,5,2
5,0,3,1,2,0
6,0,0,0,0,0
6,0,2,aC,2,2
al,0,2,aF,2,0
bm,0,3,2,2,0
7,0,2,2,2,1
7,0,2,3,2,0
@COLORS
1 0 0 255
2 255 0 0
3 0 255 0
4 255 255 0
5 255 0 255
6 255 255 255
7 0 255 255

Re: Thread for your miscellaneous posts and discussions

Posted: February 15th, 2024, 9:21 pm
by tommyaweosme
b-engine wrote: February 15th, 2024, 9:15 pm
The state 8 cell makes them die. If we remove state 8 then the entire thing is solved.
However, this cause

This is how Evoloop behaves without state 8:

Code: Select all

x = 11, y = 11, rule = EvoloopNSD
.9B$BG.AG.AG.AB$BA7BAB$B.B5.BAB$BGB5.BAB$BAB5.BAB$B.B5.BAB$BGB5.BGB$B
A7B.B$B.GA.DA.DAB$.8BE!

@RULE EvoloopNSD

@TABLE
n_states:8
neighborhood:vonNeumann
symmetries:rotate4
var a={0,2,5}
var b={0,1,2,3,4,5,6,7}
var c={0,1,2,3,4,5,6,7}
var d={1,4,6,7}
var e={1,4}
var f={0,1}
var g={0,1,2,3,4,5,6,7}
var h={0,1,2,3,4,5,6,7}
var i={2,3,4,5,6,7}
var j={0,2,3,5}
var k={0,2,3,4,5,6,7}
var l={4,6,7}
var m={2,5}
var n={0,1}
var o={0,3,5}
var p={2,3,5}
var q={3,5}
var r={2,4,6,7}
var s={0,1}
var t={0,1}
var u={0,1,2,3,4,7}
var v={5,6}
var w={1,6,7}
var x={0,3,5}
var y={0,3,5}
var z={1,3,5}
var A={0,1,3,5}
var B={0,1,3,5}
var C={1,3,5}
var D={1,3,5}
var E={0,1,2,3,4,5}
var F={0,1,2,4,5}
var G={1,2,4}
var H={0,1,3,4,5,6}
var I={0,1,2,3,4,5,6}
var J={1,2,4,6}
var K={0,1,2,4,5,6,7}
var L={0,1,2,3,4,5,7}
var M={1,2,4,6,7}
var N={0,3}
var O={0,1,2,3,5}
var P={0,1,2,3,4}
var Q={0,2,3,5,6}
var R={0,1,3,4,5,6,7}
var S={1,3}
var T={1,2,3,5}
var U={0,1,3,4,5}
var V={0,1,4,5,6}
var W={1,4,6}
var X={2,3,5}
var Y={0,5}
var Z={1,2}
var aa={0,1,5}
var ab={0,2}
var ac={2,3,4,5}
var ad={2,3,4,5,6}
var ae={0,3}
var af={0,3}
var ag={3,7}
var ah={2}
var ai={0,2}
var aj={0}
var ak={0,2}
var al={6}
var am={0,1,4,5,6,7}
var an={0,1,4,5,6,7}
var ao={1,4,6,7}
var ap={1,3,4,5,6,7}
var aq={2,3,5}
var ar={0,1,2,3,4,5,6,7}
var as={0,1,4,6,7}
var at={1,5,6}
var au={4,7}
var av={1,3,4,5,7}
var aw={0,4,5,7}
var ax={1,4,5,6,7}
var ay={0,4,5,7}
var az={1,4,5,6,7}
var aA={0,1,3,5,6,7}
var aB={1,2,3,4,5,7}
var aC={0,1,4,7}
var aD={2,4,6,7}
var aE={3,5,6}
var aF={2,3,5,6}
var aG={2,3,5,6}
var aH={2,3}
var aI={0,1,3,4,7}
var aJ={2,5,6,7}
var aK={1,2,3,4,6,7}
var aL={1,3,4,7}
var aM={0,2,3}
var aN={1,2,4,7}
var aO={3,6}
var aP={1,2,3,4,7}
var aQ={3,4,7}
var aR={1,2,3,4,5,6,7}
var aS={3,4,6,7}
var aT={0,3,6}
var aU={3,4,5,7}
var aV={2,3,6}
var aW={1,2,3,4,5,6,7}
var aX={0}
var aY={0}
var aZ={4,5,6,7}
var ba={4,6,7}
var b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0,0,3,2,2
3,0,0,4,2,1
3,0,1,0,2,1
aS,0,1,2,5,0
3,aC,2,5,2,1
3,0,3,3,2,1
4,aj,aX,aY,ai,1
ba,0,am,M,bb,0
ba,0,ao,o,M,0
ba,0,M,bb,ap,0
bd,0,2,be,M,0
ba,0,2,C,ao,0
4,0,2,aH,2,1
au,0,2,6,2,6
ba,0,3,ao,M,0
ba,0,3,2,ao,0
4,0,3,2,2,1
5,0,0,2,3,2
5,0,2,0,m,2
5,0,2,1,5,2
5,0,3,1,2,0
6,0,0,0,0,0
6,0,2,aC,2,2
al,0,2,aF,2,0
bm,0,3,2,2,0
7,0,2,2,2,1
7,0,2,3,2,0
@COLORS
1 0 0 255
2 255 0 0
3 0 255 0
4 255 255 0
5 255 0 255
6 255 255 255
7 0 255 255
tysm!! :D
i was looking for a way to make them not die when people do their cursed expirements on it though.

Re: Thread for your miscellaneous posts and discussions

Posted: February 15th, 2024, 9:28 pm
by b-engine
This happens on both any other Evoloop else:

Code: Select all

x = 8, y = 8, rule = EvoloopNSD
.6B$BG.AG.AB$BA4BAB$B.B2.BAB$BGB2.BGB$BA4B.B$B.DA.DAB$.5BE!

Re: Thread for your miscellaneous posts and discussions

Posted: February 16th, 2024, 2:34 pm
by confocaloid
Diagonal c/3 gliders on the hexagonal grid

Code: Select all

x = 19, y = 19, rule = B2o45/S2o45H
4b2o$3bobobo$4b4o$bo3b3o3bo$obo8bobo$4o3bo3b4o$2b2o8b2o$b3obo5bob3o4$
3b3obo5bob3o$5b2o8b2o$4b4o3bo3b4o$5bobo8bobo$7bo3b3o3bo$11b4o$11bobobo
$13b2o!
#C [[ GRID ZOOM 12 ]]
Orthogonal 2c/4 gliders on the hexagonal grid

Code: Select all

x = 19, y = 19, rule = B2o/S2m34H
2b3o$5b2o$3b2o6bo$10bobo$bo9bobo$2o11bo$o13bo$obo$2bo2$16bo$16bobo$4bo
13bo$5bo11b2o$5bobo9bo$6bobo$7bo6b2o$12b2o$14b3o!
#C [[ GRID ZOOM 12 ]]

Re: Thread for your miscellaneous posts and discussions

Posted: February 17th, 2024, 12:02 am
by b-engine
Haycat2009 wrote: February 17th, 2024, 12:00 am Can you please add custom names to the cell types?
But how? I don't know how to add names to cell types, as the tutorial don't tell me how to do so.

Re: Thread for your miscellaneous posts and discussions

Posted: February 17th, 2024, 12:04 am
by Haycat2009
b-engine wrote: February 17th, 2024, 12:02 am
Haycat2009 wrote: February 17th, 2024, 12:00 am Can you please add custom names to the cell types?
But how? I don't know how to add names to cell types, as the tutorial don't tell me how to do so.
See the stateinvestigator rule for how to add those. State 2 is confusing and I do not want to edit your rule.

Re: Thread for your miscellaneous posts and discussions

Posted: February 17th, 2024, 12:08 am
by b-engine
Haycat2009 wrote: February 17th, 2024, 12:04 am See the stateinvestigator rule for how to add those. State 2 is confusing and I do not want to edit your rule.
I didn't see anything that looks like names in the ruletree. Where're them?

Re: Thread for your miscellaneous posts and discussions

Posted: February 17th, 2024, 6:14 am
by hth3
just moved, nothing much

Re: Thread for your miscellaneous posts and discussions

Posted: February 18th, 2024, 3:10 pm
by confocaloid
I suggest that some or all of the following threads be pinned (in their respective subforums):

viewtopic.php?f=11&t=803
viewtopic.php?f=11&t=1971

viewtopic.php?f=12&t=403
viewtopic.php?f=12&t=2589
viewtopic.php?f=12&t=4484
viewtopic.php?f=12&t=3316
viewtopic.php?f=12&t=5730

Code: Select all

Getting search pattern...
Done
Preprocessing...
# debug: (0, 0, 9, 6)
Done
Width: 11
Height: 8
Duration: 2
Number of undetermined cells: 54
Number of variables: 80
Number of clauses: 4018
Unsatisfiable
Total solver time: 739011.2957732677, solutions printed: 142477

Re: Thread for your miscellaneous posts and discussions

Posted: February 20th, 2024, 5:15 pm
by rutabaga

Code: Select all

x = 39, y = 5, rule = B2-a3/S2ik3ai
24b2o8b4o$12b4o7bo2bo6bob2obo$6o6b4o6bo4bo6b4o$12b4o7bo2bo6bob2obo$24b
2o8b4o!
This rule has probably been explored before but I like how this oscillator is a polyomino in two consecutive steps and a polyplet in the two next ones

Re: Thread for your miscellaneous posts and discussions

Posted: February 25th, 2024, 6:10 am
by qqd
Period1GliderGun wrote: February 24th, 2024, 10:48 pm ...
Completion of JP21's p19 wick, meaning that there are now infinitely many p19 oscillators:

Code: Select all

RLE
I looked, but I don't see anything else that it can complete.
You mean infinitely many 'completely-inaccessible-from-outside-like-cribbage' p19 oscillators.
We need to find a sparky p19!

Re: Thread for your miscellaneous posts and discussions

Posted: February 25th, 2024, 6:21 am
by b-engine
I found that most construction arms in most CAs use one of these 3 methods, not sure if anyone knows:

1. Wireless. Signals travel through vacuum, which they require reflectors to turn, and use collisions to do logics. This is what most 2-state isotropic rules uses. Examples: Conway's Life, Dominoplex, Snowflakes.

Code: Select all

x = 16, y = 17, rule = B3/S23
14b2o$13bobo$15bo4$8bo$8b2o$7bobo6$3o$2bo$bo!
2. Inside wires. Signals travels inside wires, which could turn and do logics by bending and shaping the wire. This generally requires multistate to do so. Examples: JvN29, Codd's CA, B-Univ.

Code: Select all

x = 15, y = 3, rule = Codd
.13B$BA.GA.FA.EA.DAB$.13B!
3. Beside wires. Behaves like in wires, but signals travels at side of wires. Signals normally can transfer from a wire to another isolated wire. Small spaceships may exist in this rulespace. Generations and some 2-state INT rules use this. Examples: 1e2-a3-cij4kaijrtz5cnrq/2ce3aejnr4aj5y6a/3 (i.e. Silversmith's rule).

Code: Select all

x = 16, y = 5, rule = 1e2-a3-cij4aijkrtz5cnqr/2ce3aejnr4aj5y6a/3
3.BA.BA.BA.BA$16A$A14.A$16A$BA2.BA2.BA2.BA!

Re: Thread for your miscellaneous posts and discussions

Posted: February 25th, 2024, 6:28 am
by confocaloid
b-engine wrote: February 25th, 2024, 6:21 am[...]
1. Outside wires. Signals travels through vacuum, [...]
I think describing spaceships as drifters is more intuitive and consistent, compared to describing absence of any wire as a wire. Wireless communication is a thing.

Re: Thread for your miscellaneous posts and discussions

Posted: February 25th, 2024, 2:31 pm
by dvgrn
confocaloid wrote: February 25th, 2024, 6:28 am I think describing spaceships as drifters is more intuitive and consistent, compared to describing absence of any wire as a wire. Wireless communication is a thing.
True! I'm not understanding the comparison, though. Nobody in actual conversation has tried describing absence of any wire as a wire, right?

I haven't seen any examples of anyone trying to say "drifter" in conversation when they mean a spaceship, either -- have I missed any? "Spaceship" is usually the word to use when "spaceship" is what is meant.

Re: Thread for your miscellaneous posts and discussions

Posted: February 25th, 2024, 2:47 pm
by confocaloid
dvgrn wrote: February 25th, 2024, 2:31 pmTrue! I'm not understanding the comparison, though. Nobody in actual conversation has tried describing absence of any wire as a wire, right?
The post I quoted was edited after my previous post.
dvgrn wrote: February 25th, 2024, 2:31 pmI haven't seen any examples of anyone trying to say "drifter" in conversation when they mean a spaceship, either -- have I missed any?
That depends on your currently preferred definition of 'spaceship'. In particular, things that are essentially equivalent to spaceships were described as drifters in actual CA-related conversations.

Re: Thread for your miscellaneous posts and discussions

Posted: February 28th, 2024, 7:10 am
by b-engine
iddi01 wrote: February 28th, 2024, 7:01 am Generations rules are asymmetric on black/white reversal, instead becoming the black/white reversal of another kind of CA,
Namely GOBWR (Generations On Black/White Reversal) rules.

The idea of GOBWR rules is that cells can't die within n number of generations since it was born, in which n is the number defined in the Generations rulestring.
....
Unrelated:
b-engine wrote: February 27th, 2024, 5:42 pm Ruletables are easier to create than ruletrees.
Yes, ruletrees are definitely harder to create, but there are numerous scripts to convert ruletables into ruletrees.
Actually what you called "GOBWR" is already named "snoitareneG".

Also did you have any script(s) that converts ruletables to ruletrees? Post them in code tags.

Re: Thread for your miscellaneous posts and discussions

Posted: February 28th, 2024, 7:18 am
by iddi01
b-engine wrote: February 28th, 2024, 7:10 am Actually what you called "GOBWR" is already named "snoitareneG".

Also did you have any script(s) that converts ruletables to ruletrees? Post them in code tags.
Look carefully at the "snoitareneG" definition in its original post:
Saka wrote: cells take time to be born (but still take up space)
And here's the definition of GOBWR rules:
iddi01 wrote: Cells can't die within a certain number of generations since it were born.
It's entirely a different thing!

Also there's one converter included in Golly (called RuleTableToTree.py):

Code: Select all

import golly
import os
from glife.ReadRuleTable import *
from glife.RuleTree import *
from glife.EmulateTriangular import *
from glife.EmulateMargolus import *
from glife.EmulateOneDimensional import *
from glife.EmulateHexagonal import *

# ask user to select .table file
filename = golly.opendialog('Open a rule table to convert:',
                      'Rule tables (*.table)|*.table',
                      golly.getdir('rules'))

if len(filename) == 0: golly.exit()    # user hit Cancel

# add new converters here as they become available:
Converters = {
    "vonNeumann":ConvertRuleTableTransitionsToRuleTree,
    "Moore":ConvertRuleTableTransitionsToRuleTree,
    "triangularVonNeumann":EmulateTriangular,
    "triangularMoore":EmulateTriangular,
    "Margolus":EmulateMargolus,
    "square4_figure8v":EmulateMargolus,
    "square4_figure8h":EmulateMargolus,
    "square4_cyclic":EmulateMargolus,
    "oneDimensional":EmulateOneDimensional,
    "hexagonal":EmulateHexagonal,
}

golly.show("Reading from rule table file...")
n_states, neighborhood, transitions = ReadRuleTable(filename)

if not neighborhood in Converters:
    golly.warn("Unsupported neighborhood: "+neighborhood)
    golly.show('')
    golly.exit()

# all converters now create a .rule file
golly.show("Building rule...")
rule_name = Converters[neighborhood]( neighborhood,
                                      n_states,
                                      transitions,
                                      filename )

golly.new(rule_name+'-demo.rle')
golly.setalgo('RuleLoader')
golly.setrule(rule_name)
golly.show('Created '+rule_name+'.rule and selected that rule.')

Re: Thread for your miscellaneous posts and discussions

Posted: February 28th, 2024, 7:26 am
by b-engine
iddi01 wrote: February 28th, 2024, 7:18 am Look carefully at the "snoitareneG" definition in its original post:
Saka wrote: cells take time to be born (but still take up space)
And here's the definition of GOBWR rules:
iddi01 wrote: Cells can't die within a certain number of generations since it were born.
It's entirely a different thing!
...
Look carefully at this B/W reversal of B37/S/C3, it's not GOBWR:

Code: Select all

x = 0, y = 0, rule = B12345678/S0234678/C3
A!

Re: Thread for your miscellaneous posts and discussions

Posted: February 28th, 2024, 7:37 am
by iddi01
b-engine wrote: February 28th, 2024, 7:26 am Look carefully at this B/W reversal of B37/S/C3, it's not GOBWR:

Code: Select all

x = 0, y = 0, rule = B12345678/S0234678/C3
A!
It actually is. The cell states in that rule is:
Yellow - dead
Dark red - alive and can die
Light red - alive, and always progresses to dark red in the next generation regardless of situation.

Cells are born in light red.

With all this information, watch it in very slow speed, and you'll find out that it does in fact meets the definition.

Re: Thread for your miscellaneous posts and discussions

Posted: February 28th, 2024, 7:41 am
by b-engine
iddi01 wrote: February 28th, 2024, 7:37 am With all this information, watch it in very slow speed, and you'll find out that it does in fact meets the definition.
Actually, what you said and Saka said are synonyms rather than entirely different things - even if they're quite confusing.
In short, the cells take time to born and can't die (which takes space) until they're fully born.

Re: Thread for your miscellaneous posts and discussions

Posted: February 28th, 2024, 8:14 am
by iddi01
There is one major difference:
In GOBWR rules, cells in the process of being born are treated as alive, and counts toward birth and survival.
In "snoitareneG" rules, cells in the process of being born are treated as dead, and does not counts toward birth and survival.

An example: GOBWR_Original (a GOBWR rule) and sgorF (a "snoitareneG" rule) both has the B3i transition,
but if one cell to give birth is in the process of being born, only in the GOBWR rule does the configuration actually works.

Code: Select all

x = 3, y = 1, rule = GOBWR_Original
ABA!
#C [[ AUTOSTART GPS 1 ]]

Code: Select all

x = 2, y = 2, rule = sgorF
ABA!
#C [[ AUTOSTART GPS 1 ]]
(However, in sgorF, the birth still works after all cells to give birth becomes red (which is the color for fully born cells.)