Tutorials/Contributing to Catagolue
So you've decided to contribute to Adam P. Goucher's Catagolue. Excellent!
Generating a Payosha256 key
If you want to contribute anonymously, you can skip this section.
If you want to contribute under your name or a pseudonym, you will have to create a Payosha256 key. (Payosha256 is a protocol based on Adam Back's HashCash proof-of-work system).
In order to generate a Payosha key, you need to be logged into a Google account; create a new one if you don't have one or don't want to use your existing one. If you can't or don't want to do this, you'll not be able to contribute to Catagolue non-anonymously.
Go to Catagolue's Payosha256 page, log in using the login link, and authorize Catagolue. Once you're logged in and back on Catagolue, create a new key/displayed name pair. The key itself can be chosen by you and should be kept safe, the same way a password would. Contributions made using the key will carry the displayed name you provided.
You can create as many keys as you'd like.
The unofficial Twitter bot
Significant discoveries in Conway's Game of Life (B3/S23) are automatically reported on the independently-operated conwaylife Twitter bot account, and credited to you if they're from asymmetric soups. If your displayed name starts with an @ sign, it will be considered a Twitter username.
If your displayed name does not start with an @ sign, codeholic (the maintainer/operator of the Twitter bot) can map your displayed name to your Twitter user name. Send him a PM on the Conway Life forums (or otherwise get in touch with him) to have this done.
Your Catagolue user page
Your Catagolue user page tracks your contributions for B3/S23/C1, awards badges for certain achievements, and displays your findings.
Unlike on the unofficial Twitter bot account, your findings include any of the first 20 occurrences of any oscillator with period greater than 2, and any spaceship or yl pattern. For oscillators with period 2 and "interesting" still lives (above a certain population or precursors of important patterns), only the first occurrence is credited. Other still lives, zz patterns and PATHOLOGICALs are not reported.
The badges are:
- Conchita: Find a soup containing a phoenix
- Gemini: Discover a new twin bees shuttle variant
- Limitless: Observe a new natural infinite-growth pattern
- Monarchist: Discover a new queen bee shuttle variant
- Trillionaire: Contribute one trillion objects
- Voyager: Find one of the first twenty occurrences of a spaceship
Soup-searching
Start by choosing the right version of apgsearch.
- If you want to look at non-totalistic rules, you'll need the hacked version of apgsearch 1.x.
- If your CPU is not x86_64 (all modern Intel/AMD CPUs are), or does not support at least SSE2, you'll need apgsearch 1.x (regular or hacked).
- If you do not have access to Unix-ish command line (Cygwin is fine), or you don't feel comfortable compiling C/C++ code, you'll need apgsearch 1.x (regular or hacked).
- If you want to look at totalistic rules other than B3/S23, you'll need either apgsearch 1.x or apgmera 3.x. apgmera 3.x supports SSE2 (slowest), AVX1 (slightly faster) or AVX2 (faster still), if your CPU supports these, and automatically detects which your CPU supports.
apgnano 2.x is surpassed in every regard by apgmera 3.x; it should never be necessary to use it.
Soup-searching with apgsearch 1.x
You will need:
- Golly
- Python 2.7 (currently 2.7.12)
- apgsearch 1.1.
If you want your contributions attributed to you, be sure to generate a Paoysha256 key (see above).
Install Golly and Python 2.7 if you haven't yet. Newer Python versions (3.x) will NOT work! Be sure to use a 32-bit Python if you're using a 32-bit Golly, and a 64-bit Python if you're using a 64-bit Golly. Also note that Python 2.7.11 is incompatible with Golly.
To install apgsearch, copy it into Golly's scripts/python directory. You may also want to edit the apgsearch script to default to using your Payosha256 key.
To search, simply start Golly and click on the script to run it. The official support thread is at here.
Local logging is enabled by default; on Windows, you'll find logs in %APPDATA%\Golly\apgsearch\progress. On Linux/Unix-like systems, it's likely ~/.golly/apgsearch/progress (or something similar). Logs are named e.g. search_b1838fd357f0b003f985c20d19fd664a.txt.
Soup-searching non-totalistic rules
You will need:
- Golly and Python (as above)
- A for awesome's hacked version of apgsearch (currently at version 0.54+0.21i)
- 3) wildmyron's isotropic-rule.py.
Install everything the same way as above.
To search:
- Choose a rule.
- If you've not searched this rule before, run isotropic-rule.py and enter the rule like this: "B3/S234c". This will create the necessary rule file.
- Run the hacked apgsearch and enter the rule like this: "B3_S234c". This is the name of the rule file, without the ".rule" suffix.
The support thread for the hacked apgsearch is here.
Soup-searching using apgnano 2.x
Consider using apgmera 3.x instead; it's faster and supports a wider variety of rules and symmetries.
If you must use apgnano 2.x, you will need:
- A computer with an x86_64 CPU and a 64-bit OS.
- A Unix-ish command line (Cygwin works if you're on Windows).
- A C/C++ compiler and make tool.
- apgnano 2.x (current version: 2.43).
If you're on Windows, install the 64-bit version (!) of Cygwin. Be sure to select the "gcc-g++" and "make" packages. Include their dependencies when asked to.
When running apgnano, supply the options you want. Note that unlike in apgsearch 1.x, local logging is DISABLED BY DEFAULT. Pass the "-L 1" command line parameter to enable it -- the "1" is mandatory. Logs are named e.g. log.1457867686.n_CAXK9hc99X6x.txt.
You may want to create a wrapper script to call apgnano with your desired options.
Soup-searching using apgmera 3.x
As above, but get apgmera 3.x instead of apgnano (current version: 3.28). Configure/compile like this, substituting your desired rule and symmetry:
$ python rule2asm.py b3678s34678 C1 $ make clean $ make
The resulting binary will support SSE2, AVX1 and AVX2, and use the best instruction set your machine supports.
You must recompile the program each time you want to change the rule or symmetry; it may be advisable to keep different binaries on hand. The program also has the ability to recompile itself as well.
As with apgnano, when running apgmera, supply the options you want and note that local logging is DISABLED BY DEFAULT and must be enabled by passing "-L 1" on the command line; again, the "1" is mandatory. Logs are named e.g. log.1457882181.m_cDbsaQswZHeL.txt.
As above, you may want to create a wrapper script to call apgmera with your desired options.
The official support thread is at here.