apgsearch v2.2

For general discussion about Conway's Game of Life.
Post Reply
thunk
Posts: 170
Joined: October 3rd, 2015, 8:50 pm
Location: Central USA

Re: apgsearch v2.2

Post by thunk » October 23rd, 2015, 3:22 pm

Freywa wrote:I strongly oppose the addition of badges on Catagolue and here's why. I am one of the staff on another site that has badges, an MLPFIM imageboard called Derpibooru. While some of the badges there are rather reasonable, a few are just plain ridiculous, such as the "Derpibooru Premium" badge which is nothing more than a trolling device (where a fake object is presented to you that purports to give privileges).
I don't think that's seriously going to be the case. conwaylife.com, and by extension, apgsearch, is well below one monkeysphere in size, and the badges are just small nods on userpages (and not forum space). As part of another, slightly larger, distributed computing project with badges/achievements of this sort, it's obvious nobody really pays attention to them that much. As long as this doesn't turn into Achievement Unlocked or something, it'll be fine.
Freywa wrote: The sensible badges there are awarded for actual human effort. Here on Catagolue, the work isn't being done by you, it's being done by the SHA-256 hash and the random number generator, both of which are beyond your control. So if one of the soups you ran contains a very interesting thing, you can't claim to have discovered it. For the same reasons, the person whose machine "found" an object first should not be recorded. Catagolue must be a census of soups and nothing more. 16-by-16 sounds too small now; we should try 32-by-32 soups.
Given >90% of new discoveries in CGoL are made through other automated search programs, it would be rather hypocritical to claim that apgsearch discoveries don't count. Someone ends up having to donate computer time, electricity, and other resources to find stuff with the program.

Also, I'm not sure why you're so hung up on larger soup sizes, but they really don't seem to make that much difference. Soups will either expand to a larger size anyway, collapse into small stable ash, or die out. In terms of censusing, it's irrelvevant. Though I will admit that allowing the apgnano code to handle 32x32 initial setups will make deep symmetric searches possible (which seem more productive in terms of finding new objects).
"What's purple and commutes?
The Evanston Express."

User avatar
Freywa
Posts: 877
Joined: June 23rd, 2011, 3:20 am
Location: Singapore
Contact:

Re: apgsearch v2.2

Post by Freywa » October 23rd, 2015, 10:45 pm

thunk wrote:Given >90% of new discoveries in CGoL are made through other automated search programs, it would be rather hypocritical to claim that apgsearch discoveries don't count. Someone ends up having to donate computer time, electricity, and other resources to find stuff with the program.
You can count discoveries made by Bellman and CatForce because you have to manually input the search parameters. With apgsearch it's just compile-and-run with absolutely no control over soup generation, so how can that count?
I don't think that's seriously going to be the case. conwaylife.com, and by extension, apgsearch, is well below one monkeysphere in size, and the badges are just small nods on userpages (and not forum space). As part of another, slightly larger, distributed computing project with badges/achievements of this sort, it's obvious nobody really pays attention to them that much. As long as this doesn't turn into Achievement Unlocked or something, it'll be fine.
The sad truth is that turning participation into a game only leads to a horrendous society. Derpibooru, in my opinion, is one of the least rational sites on the Internet, partly because of anonymity and partly because the people there are chasing for near-impossible badges. Then again, I was once part of the crowd-sourced protein folding game Foldit, which also has an achievement system, which led me into much insanity and social troubles there (I have Asperger syndrome and I didn't know at that time how to control it). Even more critically, the Chinese government (not Taiwanese) is going to assign a public score to each and every of its 1.4 billion citizens based on how well they obey the terrible regime there – a doublethink situation already.

We cannot let this corruption happen anywhere, not even on a database of experimental mathematics.
Princess of Science, Parcly Taxel

Code: Select all

x = 31, y = 5, rule = B2-a/S12
3bo23bo$2obo4bo13bo4bob2o$3bo4bo13bo4bo$2bo4bobo11bobo4bo$2bo25bo!

M. I. Wright
Posts: 372
Joined: June 13th, 2015, 12:04 pm

Re: apgsearch v2.2

Post by M. I. Wright » October 24th, 2015, 12:06 am

Freywa wrote:
thunk wrote:I don't think that's seriously going to be the case. conwaylife.com, and by extension, apgsearch, is well below one monkeysphere in size, and the badges are just small nods on userpages (and not forum space). As part of another, slightly larger, distributed computing project with badges/achievements of this sort, it's obvious nobody really pays attention to them that much. As long as this doesn't turn into Achievement Unlocked or something, it'll be fine.
The sad truth is that turning participation into a game only leads to a horrendous society. Derpibooru, in my opinion, is one of the least rational sites on the Internet, partly because of anonymity and partly because the people there are chasing for near-impossible badges.
Reread the post you quoted. Seems like you're taking all this wayyy too seriously.
Then again, I was once part of the crowd-sourced protein folding game Foldit, which also has an achievement system, which led me into much insanity and social troubles there (I have Asperger syndrome and I didn't know at that time how to control it).
FoldIt has a really mature and well-developed community, so I don't see (a) how it supports your claim about awards leading to 'horrendous societies', and (b) how you even managed to get in trouble with them in the first place.
Even more critically, the Chinese government (not Taiwanese) is going to assign a public score to each and every of its 1.4 billion citizens based on how well they obey the terrible regime there – a doublethink situation already.

We cannot let this corruption happen anywhere, not even on a database of experimental mathematics.
You lost me... I just don't see how how a fun way to track peoples' participation in a game is in any way comparable to China's situation right now. (An exaggeration, of course - I understand what you're getting at, but it's just so absurd that I can't see how it would transfer to apgsearch.)

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

Re: apgsearch v2.2

Post by Apple Bottom » October 25th, 2015, 9:08 am

Another idea for a badge:
  • Centurion: discovered 100 objects.
But a badge or two for folks who haven't (yet) discovered a lot would be good, too. Reward effort, and dangle carrots to encourage further contributions!
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
Alexey_Nigin
Posts: 326
Joined: August 4th, 2014, 12:33 pm
Location: Ann Arbor, MI
Contact:

Re: apgsearch v2.2

Post by Alexey_Nigin » October 25th, 2015, 3:01 pm

Jeremy Tan wrote:You can count discoveries made by Bellman and CatForce because you have to manually input the search parameters. With apgsearch it's just compile-and-run with absolutely no control over soup generation, so how can that count?
Disagree. If one is going to do an effective search of some weird rules, then he or she should go through the following list of tasks:
  • Find some potentially fruitful rules, maybe by analysing and comparing databases like this one.
  • Make a list of potentially interesting symmetries for each rule.
  • Start the search for the first rule/symmetry combination.
  • Regularly check the state of the search so as to finish it at just the right moment: too late, and you are wasting time and money; too soon, and you don't find the most interesting things.
  • Publish the most interesting results.
  • Remove that rule/symmetry combination from the list and goto 3.
Would you argue that the steps I marked with italic require deep knowledge of CA theory as well as good intuition?

On the other hand, if one is going to use apgnano, where everything is hardcoded, then the aforementioned challenges are no longer relevant. However, throwing one computer at b3s23/C1 is not a particularly good way to really help the search. One should find other ways, which include using supercomputers (like Tom Rokicki, right?), secretly getting control over the school computer lab (Brett Berger), or doing something else (Adam himself).

In all cases there is clear human effort involved.

--------------------------------
Jeremy Tan wrote:Even more critically, the Chinese government (not Taiwanese) is going to assign a public score to each and every of its 1.4 billion citizens based on how well they obey the terrible regime there – a doublethink situation already.
I don't see a connection between the current state of Catagolue and that situation, but OK, let's go to extremes.

The hypothetical extreme situation is, roughly speaking, the Matrix. There is a large group of people who don't see the reality behind the relaxing fabric of badges and achievments. They supply the small group of, in our case, people who live in, and thoroughly understand, real Life. That small group analyses the results of the soup search and moves the CA theory forward. Both groups are happy. Drawbacks?

Well, here are the potential ones.
Jeremy Tan wrote:The sad truth is that turning participation into a game only leads to a horrendous society.
The truth is that, in our hypothetical situation, the folks within the Matrix are not a part of the society.
By 2200, Jeremy Tan might have wrote:It's unfair that all those people are not told the truth of Life!
Well, let's be egoistic. Most of people in the world cannot understand CA, because most of people cannot even understand how to work with fractions (own experience). Most of people who can understand CA are smart enough to compare lots of different distributed computing projects and choose one that seems most appealing, which, given the abundance of such projects, will probably not be apgsearch.

The corollary is that if we want to make a large project, we will in any case have to involve people not understanding what's going on. There are no variants better than the Matrix.

--------------------------------

To conclude, I agree that my hypothetical situation is stupid. Its probability is definitely negligible, although I do not dare not compute its exact value for that I not a gematr. However, it was indeed the worst consequence of badges on Catagolue I could think of. This serves to demonstrate that Adam is going in the right direction.

And if Morpheus is insulted, tell him to take it easy.
There are 10 types of people in the world: those who understand binary and those who don't.

User avatar
gameoflifeboy
Posts: 474
Joined: January 15th, 2015, 2:08 am

Re: apgsearch v2.2

Post by gameoflifeboy » October 27th, 2015, 3:06 am

One trillion soups!
https://catagolue.appspot.com/statistics
And if I'm not mistaken, the trillionth soup was the 13071604th soup from this haul.

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

Re: apgsearch v2.2

Post by thunk » November 8th, 2015, 1:00 am

25 trillion objects (billion if you prefer the long scale).

We now have an Astronomically Large Muck and Ash collection. Keep souping, everybody.
"What's purple and commutes?
The Evanston Express."

User avatar
Kazyan
Posts: 1247
Joined: February 6th, 2014, 11:02 pm

Re: apgsearch v2.2

Post by Kazyan » November 8th, 2015, 2:15 am

thunk wrote:25 trillion objects (billion if you prefer the long scale).

We now have an Astronomically Large Muck and Ash collection. Keep souping, everybody.
I think we have enough blocks to build our secret volcano lair now, but let's collect a few hundred billion more just to make sure. :wink:
Tanner Jacobi
Coldlander, a novel, available in paperback and as an ebook. Now on Amazon.

User avatar
biggiemac
Posts: 515
Joined: September 17th, 2014, 12:21 am
Location: California, USA

Re: apgsearch v2.2

Post by biggiemac » November 9th, 2015, 5:15 am

Woot! I'm surprised I'm still the largest slice of the pie, Adam has been closing in slowly but surely..

Any word on efforts to a) support other B3S23 symmetries or b) incorporate GPU parallelization?
Physics: sophistication from simplicity.

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

Re: apgsearch v2.2

Post by calcyman » November 9th, 2015, 1:44 pm

biggiemac wrote:Woot! I'm surprised I'm still the largest slice of the pie, Adam has been closing in slowly but surely..
Do you intend to stay in the lead (that is to say, resume your hundred unparallelised instances and/or 64-core HPC in order to match my best efforts to overtake)?
biggiemac wrote:Any word on efforts to [...] incorporate GPU parallelization?
I need to learn CUDA first, whence I'll commandeer one of Amazon's g2.2xlarge processors (8 CPU cores and 1536 CUDA cores) and begin experimenting. Initial calculations estimate that this will be able to do roughly 100000 soups per second once I've rewritten the performance-intensive parts of apgsearch to target the GPU. I can imagine that the end result will be something like:
The CPU will spend nearly all of its time handling switch-engines
which are already an embarrassing slowdown (currently accounting for around 10% of apgnano runtime!).

I suspect that the amount of effort required to refactor everything for the GPU is comparable to that involved in the transition from apgsearch 1.x to 2.x (maybe slightly less, since all of the non-critical code can just be copied over from the C++ version). Certainly this will be written from scratch as a version 3.x designed exclusively for GPU-enabled machines. As before, Catagolue's peer-reviewing system means that it will be automatically tested against the previous version (as was the case when 2.x was released).

I should probably sort out the horrible switch-engine slowdown in the comfort of v2.x before embarking on this mission, though. For something that processes 1000 soups per second, it's almost laughable that a block-laying switch-engine costs 2 seconds and a glider-producing switch-engine costs 10 seconds. There's probably something incredibly stupid happening in the code somewhere, so I should really gprof it with an infinite-growth seed and examine the results.
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
biggiemac
Posts: 515
Joined: September 17th, 2014, 12:21 am
Location: California, USA

Re: apgsearch v2.2

Post by biggiemac » November 9th, 2015, 2:31 pm

calcyman wrote:
biggiemac wrote:Woot! I'm surprised I'm still the largest slice of the pie, Adam has been closing in slowly but surely..
Do you intend to stay in the lead (that is to say, resume your hundred unparallelised instances and/or 64-core HPC in order to match my best efforts to overtake)?
I have 16 cores from the HPC running on nice mode, and I think over holiday break I'll also start the unparallelized instances. It just seems that during class sessions they are getting shut down by other users after not much progress, so it hasn't felt worth the half hour of logging in and starting up.
Physics: sophistication from simplicity.

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

Re: apgsearch v2.2

Post by Apple Bottom » November 9th, 2015, 7:17 pm

calcyman wrote:Initial calculations estimate that this will be able to do roughly 100000 soups per second once I've rewritten the performance-intensive parts of apgsearch to target the GPU.
100,000 soups per seconds, that's crazy (in a good way). I take it that's an estimate for a typical off-the-shelf consumer GPU, right?
calcyman wrote:Certainly this will be written from scratch as a version 3.x designed exclusively for GPU-enabled machines.
At this rate 4.x will be running on custom-designed ASIC hardware. ;)
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
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v2.2

Post by calcyman » November 9th, 2015, 9:47 pm

Apple Bottom wrote:
calcyman wrote:Initial calculations estimate that this will be able to do roughly 100000 soups per second once I've rewritten the performance-intensive parts of apgsearch to target the GPU.
100,000 soups per seconds, that's crazy (in a good way). I take it that's an estimate for a typical off-the-shelf consumer GPU, right?
It's my estimate for the Kepler GK104 included with the Amazon g2.2xlarge machines, which I believe is comparable to modern graphics cards.
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
praosylen
Posts: 2449
Joined: September 13th, 2014, 5:36 pm
Location: Pembina University, Home of the Gliders
Contact:

Re: apgsearch v2.2

Post by praosylen » November 9th, 2015, 9:56 pm

Apple Bottom wrote:
calcyman wrote:Certainly this will be written from scratch as a version 3.x designed exclusively for GPU-enabled machines.
At this rate 4.x will be running on custom-designed ASIC hardware. ;)
That would be fun! 1,000,000,000 soups per second!
former username: A for Awesome
praosylen#5847 (Discord)

The only decision I made was made
of flowers, to jump universes to one of springtime in
a land of former winter, where no invisible walls stood,
or could stand for more than a few hours at most...

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

Re: apgsearch v2.2

Post by calcyman » November 10th, 2015, 8:57 pm

Apple Bottom wrote:I take it that's an estimate for a typical off-the-shelf consumer GPU, right?
Ahh, it appears that the GPU included with my g2.2xlarge instance had a launch price of $3600, so maybe exceeds 'typical off-the-shelf consumer GPU'... :lol:

http://www.techpowerup.com/gpudb/2312/grid-k520.html

On a more positive note, I've tested the machine (it works; see https://catagolue.appspot.com/haul/b3s2 ... e14b34345c for example) and installed the nVidia drivers, so should be able to begin experimenting with CUDA after sleeping.
What do you do with ill crystallographers? Take them to the mono-clinic!

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

Re: apgsearch v2.2

Post by Scorbie » November 10th, 2015, 9:16 pm

Speaking of amazon, has anybody experimented apgnano with amazon free tier instances? When I did it before I remember that it seems to exceed the free tier limit. Just wondering if anybody else tried.

User avatar
biggiemac
Posts: 515
Joined: September 17th, 2014, 12:21 am
Location: California, USA

Re: apgsearch v2.2

Post by biggiemac » November 10th, 2015, 11:16 pm

I tried so far as to realize I needed the Linux executable to be able to run it on t2.micro but to make the Linux executable I would need to either make it there or copy a build from a different Linux computer (I use windows). After copying and chmod so that I could run it on the free instance I hit some library error and gave up.

It rations CPU time so I believe you can have one instance running nonstop and you'll be within free tier.. unless they don't enforce the rationing, so by running an intense program you use more than your allotted 20% or so of the CPU, meaning you get more than 1 t2.micro-CPU-second per second. Which would be lame given their description of allowed free tier usage.
Physics: sophistication from simplicity.

User avatar
biggiemac
Posts: 515
Joined: September 17th, 2014, 12:21 am
Location: California, USA

Re: apgsearch v2.2

Post by biggiemac » November 12th, 2015, 7:22 pm

And Adam is now the largest slice of the pie! Well, at the 11-12 23:00 update, at least, we both tie to 3 decimal places. 28.207%. Thought it was neat.
Physics: sophistication from simplicity.

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

Re: apgsearch v2.2

Post by Apple Bottom » November 12th, 2015, 7:59 pm

calcyman wrote:It's my estimate for the Kepler GK104 included with the Amazon g2.2xlarge machines, which I believe is comparable to modern graphics cards.
calcyman wrote:Ahh, it appears that the GPU included with my g2.2xlarge instance had a launch price of $3600, so maybe exceeds 'typical off-the-shelf consumer GPU'... :lol:

http://www.techpowerup.com/gpudb/2312/grid-k520.html
Fair enough, though the GK104 apparently also powers many consumer cards, like my own GTX 660 Ti. Makes you wonder what the price differential stems from; I hope it's not reliability/durability under 24/7 load, since I'd rather not be running apgsearch 3.x only to find out I don't have a GPU anymore some day. I kinda need it. ;)
biggiemac wrote:And Adam is now the largest slice of the pie! Well, at the 11-12 23:00 update, at least, we both tie to 3 decimal places. 28.207%. Thought it was neat.
Indeed, he's ahead of you now, at 7,444,408,256,840 vs. 7,444,204,086,137 objects contributed, giving him a 0.001 percentage point edge. Congrats!

(I remember how when I first started, you had contributed in excess of 80% of the census's objects. Things sure have changed! And then there's Tom Rokicki's meteoric rise. That kid's gonna go far!)
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!

danieldb
Posts: 163
Joined: July 15th, 2015, 4:27 pm

Re: apgsearch v2.2

Post by danieldb » November 20th, 2015, 7:40 pm

Why is LongLife's page broken?

http://catagolue.appspot.com/census/b345s5/C1

User avatar
velcrorex
Posts: 339
Joined: November 1st, 2009, 1:33 pm

Re: apgsearch v2.2

Post by velcrorex » November 20th, 2015, 8:05 pm

danieldb wrote:Why is LongLife's page broken?

http://catagolue.appspot.com/census/b345s5/C1
I think that's what happens when the census upload is too big. Try running fewer soups per upload. Someone correct me if I'm wrong.
-Josh Ball.

User avatar
Billabob
Posts: 158
Joined: April 2nd, 2015, 5:28 pm

Re: apgsearch v2.2

Post by Billabob » November 22nd, 2015, 5:20 pm

10^5 hauls uploaded!
▄▀
▀▀▀

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: apgsearch v2.2

Post by Saka » November 27th, 2015, 5:15 am

When I try to do command "make" on cygwin, I get:

Code: Select all

$ make
make: *** No targets specified and no makefile found. Stop
and when I try make apgnano:

Code: Select all

$ make apgnano
make: Nothing to be done for 'apgnano'.
When I try ./apgnano:

Code: Select all

$ ./apgnano
-bash: ./apgnano: Is a directory
So what should I do?

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

Re: apgsearch v2.2

Post by Scorbie » November 27th, 2015, 5:53 am

You have to run make in the directory where the makefile is in. You seem to be running Cygwin outside the apgnano directory. Go into apgnano directory, navigate to where the source file is in (e.g. if it's in apgnano do "cd apgnano". If it's in apgnano/src, do "cd apgnano/src" ...), and then you can run make.

SuperJedi224
Posts: 25
Joined: November 25th, 2015, 5:26 pm

Re: apgsearch v2.2

Post by SuperJedi224 » November 27th, 2015, 6:41 pm

I'm getting this error at compile-time:
life128.h:1370:183: error: unknown register name ‘xmm14’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm13’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm12’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm11’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm10’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm9’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm8’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm7’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm6’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm5’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm4’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm3’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm2’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm1’ in ‘asm’
life128.h:1370:183: error: unknown register name ‘xmm0’ in ‘asm’

Post Reply