apgsearch v3.1

For general discussion about Conway's Game of Life.
muzik
Posts: 3522
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: apgsearch v3.1

Post by muzik » July 19th, 2016, 6:18 pm

When can we expect to release this to a really wide audience like Hacker News and increase our searches?

We need to get some of the bugs, like the joint-effort b3478s5678/Day and Night crash, so we don't lose the traffic in an instant.
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

User avatar
Scorbie
Posts: 1439
Joined: December 7th, 2013, 1:05 am

Re: apgsearch v3.1

Post by Scorbie » July 20th, 2016, 7:44 pm

@AppleBottom... Sad... Still, thanks for trying it out... I guess msys2 doesn't fully support some things with the internet, I think :(
Best wishes to you, Scorbie

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

Re: apgsearch v3.1

Post by Apple Bottom » July 21st, 2016, 2:47 am

Scorbie wrote:@AppleBottom... Sad... Still, thanks for trying it out... I guess msys2 doesn't fully support some things with the internet, I think :(
No problem. I think it's down to happyhttp not working in some way, but how and why I couldn't say. Might investigate when I find the time.
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
LegionMammal978
Posts: 14
Joined: July 7th, 2016, 9:37 am

Re: apgsearch v3.1

Post by LegionMammal978 » July 26th, 2016, 11:28 am

Yeah, I've been doing alternate rules for a while. It started when I found the Catagolue, found B3/S01367 at the bottom of the census list, and decided to run it multithreaded on 6 cores. Recently, however, I got bored of that rule and started running other rules (with one, I had to decrease the haul size due to them being rejected), which has led me to now, where I run a different randomly generated rule each day (although breaking the histogram does sound tempting :wink:). Sorry if my input has caused any bugs, just got bored and put my processor to work.

Also, apgmera appears to have problems with GCC 5.3, filed as a bug (to eventually be looked at in a few years).

muzik
Posts: 3522
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: apgsearch v3.1

Post by muzik » July 26th, 2016, 12:57 pm

Well, the faster we find a spaceship in b3s12/C1, the better?

Or a loafer in b3s23/C1 for that matter
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: apgsearch v3.1

Post by Apple Bottom » July 27th, 2016, 6:29 am

LegionMammal978 wrote:Also, apgmera appears to have problems with GCC 5.3, filed as a bug (to eventually be looked at in a few years).
Curious; I'm having no trouble with GCC 5.4.0. Can you post the output you get when you run make? Also, the output of "gcc -v" and "uname -a"?
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!

muzik
Posts: 3522
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: apgsearch v3.1

Post by muzik » July 27th, 2016, 6:48 am

Is there a way to view names and contributions as a list?

Image

Because whatever language this is in, I don't know much of it.
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: apgsearch v3.1

Post by Apple Bottom » July 27th, 2016, 7:41 am

muzik wrote:Is there a way to view names and contributions as a list?
right click->View Page Source
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!

muzik
Posts: 3522
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: apgsearch v3.1

Post by muzik » July 27th, 2016, 9:10 am

Can't do that on a tablet
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

User avatar
LegionMammal978
Posts: 14
Joined: July 7th, 2016, 9:37 am

Re: apgsearch v3.1

Post by LegionMammal978 » July 27th, 2016, 10:55 am

Apple Bottom wrote:Curious; I'm having no trouble with GCC 5.4.0. Can you post the output you get when you run make? Also, the output of "gcc -v" and "uname -a"?
I fixed it by adding #define _GLIBCXX_USE_CXX11_ABI 0 to the start of main.cpp. The output you requested:

Code: Select all

$ make
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP main.cpp -o main.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
main.o: In function `linearlyse[abi:cxx11](lifealgo*, int)':
main.cpp:(.text+0x2f7a): undefined reference to `md5(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
main.o: In function `authenticate[abi:cxx11](char const*, char const*)':
main.cpp:(.text+0x3833): undefined reference to `sha256(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
main.o: In function `SoupSearcher::submitResults(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long long, int)':
main.cpp:(.text._ZN12SoupSearcher13submitResultsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_xi[_ZN12SoupSearcher13submitResultsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_xi]+0x174): undefined reference to `md5(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
collect2: error: ld returned 1 exit status
makefile:45: recipe for target 'apgmera' failed
make: *** [apgmera] Error 1

Code: Select all

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-14ubuntu2.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1)

Code: Select all

$ uname -a
Linux basement 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

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

Re: apgsearch v3.1

Post by Apple Bottom » July 27th, 2016, 11:37 am

LegionMammal978 wrote:I fixed it by adding #define _GLIBCXX_USE_CXX11_ABI 0 to the start of main.cpp. The output you requested: [...]
Hmm. These bits stands out:

Code: Select all

$ make
undefined reference to `md5(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
undefined reference to `sha256(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
undefined reference to `md5(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
[/quote]

My favorite search engine suggests that behind these is likely an ABI mismatch resulting from the calling code and the called code being compiled with (sufficiently) different compilers.

But the md5() and sha256() functions are part of apgmera itself, in includes/[md5|sha256].[h|cpp]. So the only thing I can think of is the object files are stale, somehow.

Did you recently upgrade your system, or did you copy over the apgmera source tree from a different machine? Also, does running "make clean" before "make" make any difference?

(Yes, I know you already solved the problem, but still -- I'm curious what's behind this. )
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
LegionMammal978
Posts: 14
Joined: July 7th, 2016, 9:37 am

Re: apgsearch v3.1

Post by LegionMammal978 » July 27th, 2016, 2:15 pm

Apple Bottom wrote:My favorite search engine suggests that behind these is likely an ABI mismatch resulting from the calling code and the called code being compiled with (sufficiently) different compilers.

But the md5() and sha256() functions are part of apgmera itself, in includes/[md5|sha256].[h|cpp]. So the only thing I can think of is the object files are stale, somehow.

Did you recently upgrade your system, or did you copy over the apgmera source tree from a different machine? Also, does running "make clean" before "make" make any difference?

(Yes, I know you already solved the problem, but still -- I'm curious what's behind this. )
Weird, make clean solved it, it compiles fine now without my patch... Upgraded to Ubuntu 16.04 a few months ago, perhaps that caused the problem.

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

Re: apgsearch v3.1

Post by Apple Bottom » July 27th, 2016, 4:32 pm

LegionMammal978 wrote:Weird, make clean solved it, it compiles fine now without my patch... Upgraded to Ubuntu 16.04 a few months ago, perhaps that caused the problem.
If you had object files left over that had been compiled on the old version (likely if you hadn't explicitely run make clean since then), and if the C++ compiler changed its ABI format in the new version, then yes, I'd say that's it.
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!

muzik
Posts: 3522
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: apgsearch v3.1

Post by muzik » August 9th, 2016, 7:12 am

How can I check how many objects I've contributed?
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: apgsearch v3.1

Post by calcyman » August 9th, 2016, 7:26 am

Code: Select all

curl https://catagolue.appspot.com/census/b3s23/C1 | grep muzik
At the moment, yours is 203 050 735 778, so slightly more objects than the entire Online Life-Like CA Soup Search.
What do you do with ill crystallographers? Take them to the mono-clinic!

muzik
Posts: 3522
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: apgsearch v3.1

Post by muzik » August 9th, 2016, 7:39 am

So that makes me 1/5 of the way to getting a badge?
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: apgsearch v3.1

Post by calcyman » August 9th, 2016, 7:41 am

muzik wrote:So that makes me 1/5 of the way to getting a badge?
Correct.
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Re: apgsearch v3.1

Post by drc » August 9th, 2016, 3:15 pm

calcyman wrote:

Code: Select all

curl https://catagolue.appspot.com/census/b3s23/C1 | grep muzik
You can also use Ctrl+U on the regular census page in Chrome, Ctrl+F, enter your name, then read the "y: ###" tag.
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

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

Re: apgsearch v3.1

Post by Apple Bottom » August 9th, 2016, 6:37 pm

muzik wrote:How can I check how many objects I've contributed?
Isn*t this basically the same question again you asked and received an answer to above?
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
LegionMammal978
Posts: 14
Joined: July 7th, 2016, 9:37 am

Re: apgsearch v3.1

Post by LegionMammal978 » August 19th, 2016, 6:35 pm

The Catagolue seems to once again have some broken graphics...
wat
wat
Screen Shot 2016-08-19 at 18.25.08.png (89.63 KiB) Viewed 10937 times

User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Re: apgsearch v3.1

Post by drc » August 19th, 2016, 6:38 pm

LegionMammal978 wrote:The Catagolue seems to once again have some broken graphics...
That happens whenever somebody submits a really long rulestring (nice siggy btw)

Does anybody know if apgsearch v3.x will ever be non-isotropic supporting? or able to search b0 rules?
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

User avatar
LegionMammal978
Posts: 14
Joined: July 7th, 2016, 9:37 am

Re: apgsearch v3.1

Post by LegionMammal978 » August 20th, 2016, 6:23 am

drc wrote:Does anybody know if apgsearch v3.x will ever be non-isotropic supporting?
As it appears right now, it doesn't even support isotropic rules (or any other non-totalistic rule)...

User avatar
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm
Location: creating useless things in OCA

Re: apgsearch v3.1

Post by drc » August 20th, 2016, 8:52 am

LegionMammal978 wrote:As it appears right now, it doesn't even support isotropic rules (or any other non-totalistic rule)...
I meant stuff like tlife.
This post was brought to you by the letter D, for dishes that Andrew J. Wade won't do. (Also Daniel, which happens to be me.)
Current rule interest: B2ce3-ir4a5y/S2-c3-y

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

Re: apgsearch v3.1

Post by calcyman » August 20th, 2016, 10:14 am

drc wrote:
LegionMammal978 wrote:As it appears right now, it doesn't even support isotropic rules (or any other non-totalistic rule)...
I meant stuff like tlife.
Potentially. I think someone's done the hard work of making qlife (in Golly) capable of supporting isotropic rules, which leaves the task of upgrading rule2asm.py to support isotropic rules. Also pseudo-still-life separation will need to be refined to support non-totalistic rules.
What do you do with ill crystallographers? Take them to the mono-clinic!

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

Re: apgsearch v3.1

Post by Apple Bottom » August 24th, 2016, 8:53 am

drc wrote:
LegionMammal978 wrote:The Catagolue seems to once again have some broken graphics...
That happens whenever somebody submits a really long rulestring (nice siggy btw)
Version 3.6 of the unofficial Opera extension fixes this.
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!

Post Reply