Thread for your script-related questions
Re: Thread for your script-related questions
What is the best way to terminate apgsearch on linux?
- creeperman7002
- Posts: 301
- Joined: December 4th, 2018, 11:52 pm
Re: Thread for your script-related questions
Is there a program that enumerates still lives in a given rule?
B2n3-jn/S1c23-y is an interesting rule. It has a replicator, a fake glider, an OMOS and SMOS, a wide variety of oscillators, and some signals. Also this rule is omniperiodic.
viewtopic.php?f=11&t=4856
viewtopic.php?f=11&t=4856
Re: Thread for your script-related questions
Suboptimal script to list known life-like rules with discovered gliders, strongly depends on gnuish tools, might not work on osx or bsd:
Code: Select all
awk -F: '/B.*S/&&$0=$3" "$4' gliders.db.txt \
| sort \
| uniq \
| tr / ' ' \
| awk '{for(x=0;x<2;x++){outB="";split($(3+x),a,//);for(n in a){ if($(1+x)~a[n]){outB=outB""a[n]}else{outB=outB"{,"a[n]"}"}};printf(outB);shift;if(x<1){printf("/");}}; print""}' \
| while read i;do eval printf '%s\\n' $i; done \
| sort \
| uniq
# end
-
- Posts: 172
- Joined: January 9th, 2019, 2:44 am
Re: Thread for your script-related questions
How do I apgsearch?
Re: Thread for your script-related questions
Start here and follow the relevant instructions in the Installation section.
-
- Posts: 172
- Joined: January 9th, 2019, 2:44 am
Re: Thread for your script-related questions
-
- Posts: 2200
- Joined: August 5th, 2016, 10:27 am
- Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
- Contact:
Re: Thread for your script-related questions
It is a Windows Subsystem for Linux in Win 10 requiring these supports:
Code: Select all
For x64 systems: Version 1903 or higher, with Build 18362 or higher.
For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
熠熠种花 - Glimmering Garden
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
-
- Posts: 172
- Joined: January 9th, 2019, 2:44 am
Re: Thread for your script-related questions
Well, I have an x64 on build 17134. So can I still apgsearch?GUYTU6J wrote: ↑October 28th, 2021, 5:04 amIt is a Windows Subsystem for Linux in Win 10 requiring these supports:What is the Windows you are using and does it satisfy these? (You can check by entering systeminfo in command prompt.) If yes, later I will post a very brief walkthrough here.Code: Select all
For x64 systems: Version 1903 or higher, with Build 18362 or higher. For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
-
- Posts: 2200
- Joined: August 5th, 2016, 10:27 am
- Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
- Contact:
Re: Thread for your script-related questions
Not using WSL then, given that the build is a bit too old, although you can still use Cygwin as instructed here: Tutorials/Contributing_to_Catagolue#Soup-searching_using_apgluxe_5.xerictom333 wrote: ↑October 28th, 2021, 5:19 amWell, I have an x64 on build 17134. So can I still apgsearch?GUYTU6J wrote: ↑October 28th, 2021, 5:04 amIt is a Windows Subsystem for Linux in Win 10 requiring these supports:What is the Windows you are using and does it satisfy these? (You can check by entering systeminfo in command prompt.) If yes, later I will post a very brief walkthrough here.Code: Select all
For x64 systems: Version 1903 or higher, with Build 18362 or higher. For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
Or maybe you would like to upgrade your Windows 10 ...?
熠熠种花 - Glimmering Garden
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
-
- Posts: 172
- Joined: January 9th, 2019, 2:44 am
Re: Thread for your script-related questions
Is there an easier way to get apgsearch? Why can't it just be a downloadable file?GUYTU6J wrote: ↑October 28th, 2021, 5:39 amNot using WSL then, given that the build is a bit too old, although you can still use Cygwin as instructed here: Tutorials/Contributing_to_Catagolue#Soup-searching_using_apgluxe_5.xerictom333 wrote: ↑October 28th, 2021, 5:19 amWell, I have an x64 on build 17134. So can I still apgsearch?GUYTU6J wrote: ↑October 28th, 2021, 5:04 am
It is a Windows Subsystem for Linux in Win 10 requiring these supports:What is the Windows you are using and does it satisfy these? (You can check by entering systeminfo in command prompt.) If yes, later I will post a very brief walkthrough here.Code: Select all
For x64 systems: Version 1903 or higher, with Build 18362 or higher. For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
Or maybe you would like to upgrade your Windows 10 ...?
Re: Thread for your script-related questions
how do i use ptbsearch to find new u-turner conduits?
- Christopher D'Agostino
adopted father of the U-turner
the U-turner gallery
255P132
B3/S234z (Zlife)
adopted father of the U-turner
Code: Select all
x = 11, y = 15, rule = B3/S23
9bo$8bobo$8bobo$9bo8$b3o$b3o$obo$2o!
255P132
B3/S234z (Zlife)
-
- Posts: 172
- Joined: January 9th, 2019, 2:44 am
Re: Thread for your script-related questions
I can't run Python scripts on Golly because it couldn't load the Python library. I've downloaded the latest version of Python. What do I need to do?
Re: Thread for your script-related questions
Heh, there must be dozens of questions exactly like this on the forums by now. They're almost always missing some of the information that's needed to troubleshoot the problem.erictom333 wrote: ↑November 8th, 2021, 2:23 amI can't run Python scripts on Golly because it couldn't load the Python library. I've downloaded the latest version of Python. What do I need to do?
"Latest version of Python" could be 32-bit or 64-bit, but only 64-bit will work with Golly 4.0. As part of a question like this, please mention the version of Golly (just for the record, no doubt it's Golly 4.0, but if you don't say it, nobody knows for sure), the exact name of the Python executable that you downloaded and installed, and what operating system you're doing all of this on.
Also try working through the instructions in the link above.
We've been hoping that simplifying things by only supporting 64-bit Python and 64-bit Golly as of 4.0, would reduce these kinds of problems to some extent -- but there are still definitely some mysterious things that can happen that are hard to troubleshoot. Mostly they involve different versions of Python getting installed on the same computer, with the wrong version getting added to the PATH environment variable. If something besides that can go wrong, I haven't figured out what it is yet.
-
- Posts: 172
- Joined: January 9th, 2019, 2:44 am
Re: Thread for your script-related questions
I managed to get it working following those instructions. However, there is an error in the apgsearch script I wanted to run (hacked apgsearch 1.0): "ModuleNotFoundError: No module named 'urllib2'".dvgrn wrote: ↑November 8th, 2021, 8:32 amHeh, there must be dozens of questions exactly like this on the forums by now. They're almost always missing some of the information that's needed to troubleshoot the problem.erictom333 wrote: ↑November 8th, 2021, 2:23 amI can't run Python scripts on Golly because it couldn't load the Python library. I've downloaded the latest version of Python. What do I need to do?
"Latest version of Python" could be 32-bit or 64-bit, but only 64-bit will work with Golly 4.0. As part of a question like this, please mention the version of Golly (just for the record, no doubt it's Golly 4.0, but if you don't say it, nobody knows for sure), the exact name of the Python executable that you downloaded and installed, and what operating system you're doing all of this on.
Also try working through the instructions in the link above.
We've been hoping that simplifying things by only supporting 64-bit Python and 64-bit Golly as of 4.0, would reduce these kinds of problems to some extent -- but there are still definitely some mysterious things that can happen that are hard to troubleshoot. Mostly they involve different versions of Python getting installed on the same computer, with the wrong version getting added to the PATH environment variable. If something besides that can go wrong, I haven't figured out what it is yet.
Re: Thread for your script-related questions
apgsearch 0.x and 1.x are for Python 2.x and Golly 3.x only. Modern versions of apgsearch use C++ and Python in a command line however, and there have been no updates of the Golly scripts since.erictom333 wrote: ↑November 8th, 2021, 10:29 pmI managed to get it working following those instructions. However, there is an error in the apgsearch script I wanted to run (hacked apgsearch 1.0): "ModuleNotFoundError: No module named 'urllib2'".
What does the hack do, by the way?
Each day is a hidden opportunity, a frozen waterfall that's waiting to be realised, and one that I'll probably be ignoring
anythingsonata wrote:July 2nd, 2020, 8:33 pmconwaylife signatures are amazing[citation needed]
Re: Thread for your script-related questions
What are the object seperation & stablization detection algorithms used in apgsearch?
\sum_{n=1}^\infty H_n/n^2 = \zeta(3)
How much of current CA technology can I redevelop "on a desert island"?
How much of current CA technology can I redevelop "on a desert island"?
- LaundryPizza03
- Posts: 2324
- Joined: December 15th, 2017, 12:05 am
- Location: Unidentified location "https://en.wikipedia.org/wiki/Texas"
Re: Thread for your script-related questions
The hack allows searching of isotropic non-totalistic rules, which has been supported by apgmera since v4.2 in September 2017.bubblegum wrote: ↑November 8th, 2021, 10:39 pmapgsearch 0.x and 1.x are for Python 2.x and Golly 3.x only. Modern versions of apgsearch use C++ and Python in a command line however, and there have been no updates of the Golly scripts since.erictom333 wrote: ↑November 8th, 2021, 10:29 pmI managed to get it working following those instructions. However, there is an error in the apgsearch script I wanted to run (hacked apgsearch 1.0): "ModuleNotFoundError: No module named 'urllib2'".
What does the hack do, by the way?
Code: Select all
x = 4, y = 3, rule = B3-q4z5y/S234k5j
2b2o$b2o$2o!
-
- Posts: 172
- Joined: January 9th, 2019, 2:44 am
Re: Thread for your script-related questions
Is there a script to enumerate all collisions of any spaceship and any stationary object in any INT rule?
Also, why is apgsearch so hard to download?
Also, why is apgsearch so hard to download?
Re: Thread for your script-related questions
Are there any good programs that can search for spaceships in OCA?
Code: Select all
x = 36, y = 28, rule = TripleLife
17.G$17.3G$20.G$19.2G11$9.EF$8.FG.GD$8.DGAGF$10.DGD5$2.2G$3.G30.2G$3G
25.2G5.G$G27.G.G.3G$21.2G7.G.G$21.2G7.2G!
- yujh
- Posts: 3068
- Joined: February 27th, 2020, 11:23 pm
- Location: I'm not sure where I am, so please tell me if you know
- Contact:
Re: Thread for your script-related questions
Qfind, ntzfind, rlifesrc, ikpx2, or even LSSS for OT rules
Rule modifier
B34kz5e7c8/S23-a4ityz5k
b2n3-q5y6cn7s23-k4c8
B3-kq6cn8/S2-i3-a4ciyz8
B3-kq4z5e7c8/S2-ci3-a4ciq5ek6eik7
Bored of Conway's Game of Life? Try Pedestrian Life -- not pedestrian at all!
B34kz5e7c8/S23-a4ityz5k
b2n3-q5y6cn7s23-k4c8
B3-kq6cn8/S2-i3-a4ciyz8
B3-kq4z5e7c8/S2-ci3-a4ciq5ek6eik7
Bored of Conway's Game of Life? Try Pedestrian Life -- not pedestrian at all!
Re: Thread for your script-related questions
Thank you
Code: Select all
x = 36, y = 28, rule = TripleLife
17.G$17.3G$20.G$19.2G11$9.EF$8.FG.GD$8.DGAGF$10.DGD5$2.2G$3.G30.2G$3G
25.2G5.G$G27.G.G.3G$21.2G7.G.G$21.2G7.2G!
- bibunsekibun
- Posts: 345
- Joined: April 17th, 2021, 7:58 pm
- Location: Japan
Re: Thread for your script-related questions
The Python 2.7.13 download file was msi instead of dll.
How can I load an msi file as Python Libraly?
How can I load an msi file as Python Libraly?
sorry I can only speak Japanese, English is made by machine translation
I'm a fan of methuselahs
I'm a fan of methuselahs
-
- Posts: 2200
- Joined: August 5th, 2016, 10:27 am
- Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
- Contact:
Re: Thread for your script-related questions
Why Python 2.7 instead of the modern Python3, firstly?bibunsekibun wrote: ↑February 13th, 2022, 5:52 amThe Python 2.7.13 download file was msi instead of dll.
How can I load an msi file as Python Libraly?
The .msi file should be an installer for Python, so you will nead to execute it. More related advice can be found here.
熠熠种花 - Glimmering Garden
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
- bibunsekibun
- Posts: 345
- Joined: April 17th, 2021, 7:58 pm
- Location: Japan
Re: Thread for your script-related questions
1. To run hacked apgsearch 0.54 + 0.23i.
2. I did install it, but the 2.7.13 dll wasn't in the location mentioned in that thread.
sorry I can only speak Japanese, English is made by machine translation
I'm a fan of methuselahs
I'm a fan of methuselahs
-
- Posts: 2200
- Joined: August 5th, 2016, 10:27 am
- Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
- Contact:
Re: Thread for your script-related questions
2. The file should be python2.dll, and if it cannot be found, it may be that your python was installed on another disk or somewhere else, so try searching for it.bibunsekibun wrote: ↑February 13th, 2022, 6:39 am1. To run hacked apgsearch 0.54 + 0.23i.
2. I did install it, but the 2.7.13 dll wasn't in the location mentioned in that thread.
1. I remember having answered one of your questions that indicated you had Cygwin - is there something wrong with it, or the apgsearch within?
熠熠种花 - Glimmering Garden
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.