apgsearch v3.1

For general discussion about Conway's Game of Life.
User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v3.1

Post by calcyman » April 23rd, 2016, 10:00 am

Kazyan wrote:I'm not sure if this is Calcyman's or Mozilla's doing, but Firefox no longer crawls/breaks when trying to open up oscillator or spaceship pages. :)
Certainly not mine.

By the way, Catagolue now deletes old hauls when updating any non-b3s23 census in order to save memory. (I noticed that there's 21.42 gigabytes of storage occupied by hauls, most of which I imagine is from Day&Night.)
What do you do with ill crystallographers? Take them to the mono-clinic!

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

Re: apgsearch v3.1

Post by muzik » April 24th, 2016, 12:26 pm

Will you ever add the "universal symmetries" page?
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v3.1

Post by calcyman » April 24th, 2016, 12:34 pm

Apple Bottom wrote:EVEN more fun fact: given how much LegionMammal978 has been searching B3/S01367 recently, and given how that rule combines fast searching with a large number of objects (thanks to xs1_1, xs2_12 and xs2_3 in particular), this could conceivably happen given enough time!
*increases number of machines searching b3s23/C1 to prevent Catagolue from breaking*

https://catagolue.appspot.com/user/apgo ... m#barchart
What do you do with ill crystallographers? Take them to the mono-clinic!

thunk
Posts: 170
Joined: October 3rd, 2015, 8:50 pm
Location: Central USA

Re: apgsearch v3.1

Post by thunk » April 24th, 2016, 12:44 pm

calcyman wrote:*increases number of machines searching b3s23/C1 to prevent Catagolue from breaking*
I think Legionmammal is putting through about 100G objects/day, so that's probably overkill.
"What's purple and commutes?
The Evanston Express."

User avatar
Apple Bottom
Posts: 1034
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: apgsearch v3.1

Post by Apple Bottom » May 3rd, 2016, 6:53 am

thunk wrote:I think Legionmammal is putting through about 100G objects/day, so that's probably overkill.
OTOH more C1 search capacity can only be a good thing. Who knows what rare objects we may yet find? Natural Schick engines? Copperheads? Rare oscillators? Objects yet unknown?

b3s23/C1 also received more than 1 trillion objects in a single day on May 1st, largely thanks to Calcyman's increased efforts (apgoucher: 954,241,358,700, everyone else: 95,600,836,794). I think that may be a first!
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

HartmutHolzwart
Posts: 850
Joined: June 27th, 2009, 10:58 am
Location: Germany

Re: apgsearch v3.1

Post by HartmutHolzwart » May 6th, 2016, 1:24 pm

How comes the statistics page doesn't show Coe's ship?

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v3.1

Post by calcyman » May 6th, 2016, 4:32 pm

HartmutHolzwart wrote:How comes the statistics page doesn't show Coe's ship?
It does (search the page for "xq16").

By the way, we've just surpassed 2^46 objects, which means there are now more objects in the Catagolue than there are possible ways for a human to inherit (whole) chromosomes from his or her parents.
What do you do with ill crystallographers? Take them to the mono-clinic!

David
Posts: 212
Joined: November 3rd, 2009, 2:47 am
Location: Daejeon, South Korea

Re: apgsearch v3.1

Post by David » May 8th, 2016, 9:13 am

calcyman wrote:... are possible ways for a human to inherit (whole) chromosomes from his or her parents.
... In standard ways.
Call me "Dannyu NDos" in Forum. Call me "Park Shinhwan"(박신환) in Wiki.

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

Re: apgsearch v3.1

Post by muzik » May 8th, 2016, 9:44 am

To be honest I'm not really a fan of sorting spaceships by their period. I feel like it would be better to sort them by speed and direction instead.
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

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

Re: apgsearch v3.1

Post by muzik » May 8th, 2016, 1:59 pm

I'm a complete noob at programming and stuff. It's just laughable.

I've signed in and created a key. Just need to download everything. Except I don't know what exactly to download.

I've got the right hardware stuff (assuming x64 will work, and since it appears to be greater than x86 I have high hopes).


Just need to be pointed to the right download links and stuff.


EDIT: screw it. I'll use the Python one instead, I'll see if I can get this to work later
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

User avatar
Apple Bottom
Posts: 1034
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: apgsearch v3.1

Post by Apple Bottom » May 8th, 2016, 6:33 pm

muzik wrote:I've signed in and created a key. Just need to download everything. Except I don't know what exactly to download. [...] Just need to be pointed to the right download links and stuff.
You'll want this:

https://gitlab.com/apgoucher/apgmera/re ... ref=master

That's the source (as a convenient ZIP file) for the latest apgmera version.

If you need tips or pointers on how to compile it, just post again.

User avatar
Apple Bottom
Posts: 1034
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: apgsearch v3.1

Post by Apple Bottom » May 10th, 2016, 6:26 pm

Apologies for double-posting -- did the way that discoveries are counted just change? :) I jumped from 151 to 509 (so far); apparently you now get credit for one of the first 20 observations of xp2s and sufficiently large/interesting still lifes, like for higher-period oscillators and spaceships -- not just the first. Sweet!
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

Re: apgsearch v3.1

Post by drc » May 10th, 2016, 6:48 pm

Apple Bottom wrote:Apologies for double-posting -- did the way that discoveries are counted just change? :) I jumped from 151 to 509 (so far); apparently you now get credit for one of the first 20 observations of xp2s and sufficiently large/interesting still lifes, like for higher-period oscillators and spaceships -- not just the first. Sweet!
Yes, it was discussed above. And I like the change too. It makes me happier, seeing all of my contributions.

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

Re: apgsearch v3.1

Post by muzik » May 10th, 2016, 7:02 pm

Apple Bottom wrote:That's the source (as a convenient ZIP file) for the latest apgmera version.

If you need tips or pointers on how to compile it, just post again.
I'm more looking for GCC, I'll probably see if I can download that tomorrow


and also whatever Bash is
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

User avatar
Apple Bottom
Posts: 1034
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: apgsearch v3.1

Post by Apple Bottom » May 11th, 2016, 5:52 am

muzik wrote:I'm more looking for GCC, I'll probably see if I can download that tomorrow


and also whatever Bash is
Your Linux distribution should have packages for GCC available; check your package manager. If you're on Windows, you'll want Cygwin. Be sure to get the 64-bit version, and install the packages for gcc-g++ and make at the very least (plus their dependencies, which will be chosen automatically, plus the defaults of course). You may also have to choose a python package explicitely, I don't know if it's part of the default install. If you're on OS X, I can't help you, sorry.

Bash is the Bourne again shell, and should be there by default. Any shell will do really, though.
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

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

Re: apgsearch v3.1

Post by muzik » May 11th, 2016, 10:57 am

Apple Bottom wrote: If you're on Windows, you'll want Cygwin. Be sure to get the 64-bit version, and install the packages for gcc-g++ and make at the very least (plus their dependencies, which will be chosen automatically, plus the defaults of course). You may also have to choose a python package explicitely, I don't know if it's part of the default install.
I got the installer, but during installation it asks to choose a download site. Which one do I pick for my location?
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

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

Re: apgsearch v3.1

Post by dvgrn » May 11th, 2016, 11:02 am

muzik wrote:I got the installer, but during installation it asks to choose a download site. Which one do I pick for my location?
Doesn't matter, as long as you don't pick one that's halfway around the world from you -- and even that would probably be fine, just a little slower.

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

Re: apgsearch v3.1

Post by muzik » May 11th, 2016, 11:17 am

Apple Bottom wrote:If you need tips or pointers on how to compile it, just post again.
I'm probably gonna need to be walked through the whole process. I know absolutely nothing about compiling c++
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

User avatar
Apple Bottom
Posts: 1034
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: apgsearch v3.1

Post by Apple Bottom » May 11th, 2016, 6:57 pm

muzik wrote:
Apple Bottom wrote:If you need tips or pointers on how to compile it, just post again.
I'm probably gonna need to be walked through the whole process. I know absolutely nothing about compiling c++
That's OK, I can help you out. You'll find the steps below, along with what output they should (roughly) produce. If you get something noticeably different, and/or an error message, let me know.

First of all, make sure that you got all the prerequisities. Run the following commands (the dollar sign indicates the prompt):

Code: Select all

$ make
make: *** No targets specified and no makefile found.  Stop.
$ g++
g++: fatal error: no input files
compilation terminated.
$ unzip
UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.
[...]
$ 
If you get a message such as "-bash: make: command not found" instead, install the relevant package(s).

Unzip the code:

Code: Select all

$ unzip apgmera.zip
Archive:  apgmera.zip
cffe792fb46f8a374578994bfeacbb11b60d55dd
   creating: apgmera-master-cffe792fb46f8a374578994bfeacbb11b60d55dd/
  inflating: apgmera-master-cffe792fb46f8a374578994bfeacbb11b60d55dd/README
[...]
  inflating: apgmera-master-cffe792fb46f8a374578994bfeacbb11b60d55dd/rule2asm.py
  inflating: apgmera-master-cffe792fb46f8a374578994bfeacbb11b60d55dd/vlifetest.cpp
$ 
Compile:

Code: Select all

$ cd apgmera-master-cffe792fb46f8a374578994bfeacbb11b60d55dd/
$ sh recompile.sh
Skipping updates; use --update to update apgmera automatically.
Rule unspecified; assuming b3s23.
Symmetry unspecified; assuming C1.
Configuring rule b3s23; symmetry C1
Valid rulestring: b3s23
Valid symmetry: C1
Rule integer:     6152
Rule circuit:     [-131-124-450-014-672]
Rule integer:     6152
Rule circuit:     [-131-124-450-014-672]
Rule integer:     6152
Rule circuit:     [-131-124-450-014-672]
Success!
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP main.cpp -o main.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP includes/sha256.cpp -o includes/sha256.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP includes/md5.cpp -o includes/md5.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP includes/happyhttp.cpp -o includes/happyhttp.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/bigint.cpp -o gollybase/bigint.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/lifealgo.cpp -o gollybase/lifealgo.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/qlifealgo.cpp -o gollybase/qlifealgo.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/util.cpp -o gollybase/util.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/lifepoll.cpp -o gollybase/lifepoll.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/liferules.cpp -o gollybase/liferules.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/viewport.cpp -o gollybase/viewport.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/readpattern.cpp -o gollybase/readpattern.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP gollybase/qlifedraw.cpp -o gollybase/qlifedraw.o
g++ -fopenmp main.o includes/sha256.o includes/md5.o includes/happyhttp.o gollybase/bigint.o gollybase/lifealgo.o gollybase/qlifealgo.o gollybase/util.o gollybase/lifepoll.o gollybase/liferules.o gollybase/viewport.o gollybase/readpattern.o gollybase/qlifedraw.o -o apgmera
true
true                                                oo o
true                                                oo ooo
true                                                      o
true                                                oo ooo
true                                                 o o
true                                                 o o
true                                                  o
apgmera v3.28: Rule b3s23 is correctly configured.
apgmera v3.28: Symmetry C1 is correctly configured.
$ 
And run it:

Code: Select all

$ ./apgmera -k YOUR_PAYOSHA_KEY_HERE -L 1

Greetings, this is apgmera v3.28, configured for b3s23/C1.

Peer-reviewing hauls:

No more hauls to verify.
No more hauls to verify.
No more hauls to verify.

Peer-review complete; proceeding search.

Using seed m_6kEQaF7iZaXm
Universe created.
Running 10000000 soups per haul:
Instruction set AVX2 supported.
10000 soups completed (1529 soups per second).
[...]
Adjust the options passed to apgmera to your liking. "-L 1" only needs to be specified if you want to save your log files locally in addition to uploading them to the site.
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

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

Re: apgsearch v3.1

Post by muzik » May 11th, 2016, 7:08 pm

Apple Bottom wrote:
That's OK, I can help you out. You'll find the steps below, along with what output they should (roughly) produce. If you get something noticeably different, and/or an error message, let me know.

...

Adjust the options passed to apgmera to your liking. "-L 1" only needs to be specified if you want to save your log files locally in addition to uploading them to the site.
Will do. I need sleep right now, so I'll see what I can do in about 15 hours or so
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

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

Re: apgsearch v3.1

Post by muzik » May 12th, 2016, 11:24 am

Apple Bottom wrote:
If you get a message such as "-bash: make: command not found" instead, install the relevant package(s).
Stuck here. What exact packages do I install? I'm pretty sure I selected the ones dvgrn specified
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

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

Re: apgsearch v3.1

Post by dvgrn » May 12th, 2016, 11:44 am

muzik wrote:
Apple Bottom wrote:If you get a message such as "-bash: make: command not found" instead, install the relevant package(s).
Stuck here. What exact packages do I install? I'm pretty sure I selected the ones dvgrn specified
'gcc-g++', 'git' and 'make', I believe. The instructions for apgnano were a lot clearer about this, and should probably be copied over into the apgmera project:
Install Cygwin64 (from http://cygwin.com), ensuring that 'gcc-g++', 'git' and 'make' are checked in the list of plugins to install. Open a Cygwin terminal, which will behave identically to a Linux terminal but run inside Windows. This reduces your problem to the above case.
Disclaimer: I haven't tried this myself recently. And when I try it, there's usually something totally frustrating that comes up, until I figure out what I was really supposed to do, and then it works and it seems as if it should have been obvious all along. Persistence and (especially) patience are very useful when trying to get compilers to work.

Zen masters would be the best at this kind of troubleshooting -- i.e., try not to care whether it ever works or not, but keep trying anyway, use all the information you can get out of the mysterious error messages, and if possible just pretend that the whole puzzle is very entertaining instead of horribly annoying. If you pretend long enough it can actually become true -- or so I hear.

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

Re: apgsearch v3.1

Post by muzik » May 12th, 2016, 11:52 am

dvgrn wrote: 'gcc-g++', 'git' and 'make', I believe.
A bit late, but I managed to get them to install. I think Unzip is also required

Managed to get up to recompiling it, but then ran into a problem. It says "./apgmera: No such file or directory."

Is ./apgmera supposed to represent something?
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

User avatar
Apple Bottom
Posts: 1034
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: apgsearch v3.1

Post by Apple Bottom » May 12th, 2016, 1:01 pm

muzik wrote:
Apple Bottom wrote:If you get a message such as "-bash: make: command not found" instead, install the relevant package(s).
Stuck here. What exact packages do I install? I'm pretty sure I selected the ones dvgrn specified
Dave's right -- it's the ones I mentioned here. ;) You don't need git unless you want to use the auto-update feature, but you're right (below), unzip's also required, of course. (I'm actually surprised that's not part of the standard Cygwin install; it really should be. Then again the same could be said for such tools as gcc and make.)
muzik wrote:A bit late, but I managed to get them to install. I think Unzip is also required

Managed to get up to recompiling it, but then ran into a problem. It says "./apgmera: No such file or directory."

Is ./apgmera supposed to represent something?
If you can't run apgmera that (probably) means it didn't compile properly. Please try running "make" again and share the output here if it doesn't match what I posted above.

The name "apgmera" refers to the program's chimeric proneness for self-mutation: adapting to different rules, auto-updating, and (generally) recompiling itself. At least that's what I recall Calcyman saying.
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!

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

Re: apgsearch v3.1

Post by muzik » May 12th, 2016, 1:05 pm

Apple Bottom wrote:The name "apgmera" refers to the program's chimeric proneness for self-mutation: adapting to different rules, auto-updating, and (generally) recompiling itself. At least that's what I recall Calcyman saying.
I was meaning that about the ./apgmera command, I already knew about the name. (Isn't Mera also a real name?)


I'll see if I can compile it again. Is there a way to change the name of the zip folder? Typing that cffe-lotsofnumbers is honestly kind of exhausting.


EDIT: In case this is a problem, I didn't run "unzip apgmera.zip", but rather the apgmera-master-thatstupidlineoftext.zip. Inputting the latter allowed the process to continue up to the point I described earlier.

EDIT2: Looks like I shouldn't have gone past that point. Typing the latter by itself doesn't work either, but with the file adress it worked.
Parity Replicator Collection v1.6 is now live - please send all relevant discoveries here.

Post Reply