Page 10 of 15

Re: apgsearch v3.1

Posted: July 19th, 2016, 6:18 pm
by muzik
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.

Re: apgsearch v3.1

Posted: July 20th, 2016, 7:44 pm
by Scorbie
@AppleBottom... Sad... Still, thanks for trying it out... I guess msys2 doesn't fully support some things with the internet, I think :(

Re: apgsearch v3.1

Posted: July 21st, 2016, 2:47 am
by Apple Bottom
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.

Re: apgsearch v3.1

Posted: July 26th, 2016, 11:28 am
by LegionMammal978
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).

Re: apgsearch v3.1

Posted: July 26th, 2016, 12:57 pm
by muzik
Well, the faster we find a spaceship in b3s12/C1, the better?

Or a loafer in b3s23/C1 for that matter

Re: apgsearch v3.1

Posted: July 27th, 2016, 6:29 am
by Apple Bottom
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"?

Re: apgsearch v3.1

Posted: July 27th, 2016, 6:48 am
by muzik
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.

Re: apgsearch v3.1

Posted: July 27th, 2016, 7:41 am
by Apple Bottom
muzik wrote:Is there a way to view names and contributions as a list?
right click->View Page Source

Re: apgsearch v3.1

Posted: July 27th, 2016, 9:10 am
by muzik
Can't do that on a tablet

Re: apgsearch v3.1

Posted: July 27th, 2016, 10:55 am
by LegionMammal978
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

Re: apgsearch v3.1

Posted: July 27th, 2016, 11:37 am
by Apple Bottom
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. )

Re: apgsearch v3.1

Posted: July 27th, 2016, 2:15 pm
by LegionMammal978
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.

Re: apgsearch v3.1

Posted: July 27th, 2016, 4:32 pm
by Apple Bottom
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.

Re: apgsearch v3.1

Posted: August 9th, 2016, 7:12 am
by muzik
How can I check how many objects I've contributed?

Re: apgsearch v3.1

Posted: August 9th, 2016, 7:26 am
by apg

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.

Re: apgsearch v3.1

Posted: August 9th, 2016, 7:39 am
by muzik
So that makes me 1/5 of the way to getting a badge?

Re: apgsearch v3.1

Posted: August 9th, 2016, 7:41 am
by apg
muzik wrote:So that makes me 1/5 of the way to getting a badge?
Correct.

Re: apgsearch v3.1

Posted: August 9th, 2016, 3:15 pm
by drc
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.

Re: apgsearch v3.1

Posted: August 9th, 2016, 6:37 pm
by Apple Bottom
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?

Re: apgsearch v3.1

Posted: August 19th, 2016, 6:35 pm
by LegionMammal978
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 17393 times

Re: apgsearch v3.1

Posted: August 19th, 2016, 6:38 pm
by drc
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?

Re: apgsearch v3.1

Posted: August 20th, 2016, 6:23 am
by LegionMammal978
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)...

Re: apgsearch v3.1

Posted: August 20th, 2016, 8:52 am
by drc
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.

Re: apgsearch v3.1

Posted: August 20th, 2016, 10:14 am
by apg
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.

Re: apgsearch v3.1

Posted: August 24th, 2016, 8:53 am
by Apple Bottom
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.