apgsearch v2.2

For general discussion about Conway's Game of Life.
User avatar
Apple Bottom
Posts: 1033
Joined: July 27th, 2015, 2:06 pm
Contact:

Re: apgsearch v2.2

Post by Apple Bottom » March 17th, 2016, 2:44 pm

muzik wrote:what is going on here? server error much?

https://catagolue.appspot.com/census/b36s23/C1

calcyman pls
The same thing's happening e.g. here:

Code: Select all

Error: Server Error

The server encountered an error and could not complete your request.
Please try again in 30 seconds.
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
Posts: 2197
Joined: June 1st, 2009, 4:32 pm

Re: apgsearch v2.2

Post by calcyman » March 17th, 2016, 2:51 pm

muzik wrote:what is going on here? server error much?
Oops! Amended.

Here are the embarrassing error logs for your amusement:

Code: Select all

Uncaught exception from servlet
java.lang.NumberFormatException: For input string: "THOLOGICAL"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:492)
	at java.lang.Integer.valueOf(Integer.java:582)
	at com.cp4space.catagolue.servlets.CensusServlet$1.compare(CensusServlet.java:275)
	at com.cp4space.catagolue.servlets.CensusServlet$1.compare(CensusServlet.java:272)
	at java.util.TreeMap.compare(TreeMap.java:1194)
	at java.util.TreeMap.put(TreeMap.java:537)
	at java.util.TreeSet.add(TreeSet.java:255)
	at com.cp4space.catagolue.servlets.CensusServlet.writeContent(CensusServlet.java:295)
	at com.cp4space.catagolue.servlets.ExampleServlet.doGet(ExampleServlet.java:299)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
	at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:37)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:50)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:260)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
	at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:78)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:148)
	at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:468)
	at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437)
	at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444)
	at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:256)
	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308)
	at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300)
	at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:441)
	at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:235)
	at java.lang.Thread.run(Thread.java:745)
To summarise, I implemented a change whereby tabulations appear in the natural order:

Code: Select all

xs4, xs5, xs6, xs7, xs8, xs9, xs10, xs11, ..., xs38, xs39, xs40, xs41, xs42
instead of lexicographical order:

Code: Select all

xs10, xs11, xs12, ..., xs38, xs39, xs4, xs40, xs41, xs42, xs5, xs6, xs7, xs8, xs9
Unfortunately, I forgot that THOLOGICAL is not a number...
Apple Bottom wrote:The same thing's happening e.g. here
...hopefully not any more. :)
What do you do with ill crystallographers? Take them to the mono-clinic!

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

Re: apgsearch v2.2

Post by Apple Bottom » March 17th, 2016, 2:57 pm

calcyman wrote:...hopefully not any more. :)
Yup, looks like it's fixed! :) And I like that change -- much more natural this way.

(Also, good to see that ov_ and zz_ got headings now.)

EDIT: quoted text trimmed.
Last edited by Apple Bottom on March 17th, 2016, 5:47 pm, edited 1 time in total.
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: 3782
Joined: January 28th, 2016, 2:47 pm
Location: Scotland

Re: apgsearch v2.2

Post by muzik » March 17th, 2016, 3:38 pm

Apple Bottom wrote:(Also, good to see that ov_ and zz_ got headings now.)
I think that was possibly the source of the problem. Both B36/S23 and B368/S23 were giving errors, and they both had replicators in them. So maybe the site glitched out or something.
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: apgsearch v2.2

Post by muzik » March 17th, 2016, 4:05 pm

Why is this called "very^3 longboat" but this called "very very very very long boat"?

Also, I can't seem to find any boats of length longer than very^4. Which makes me assume that it hasn't been named yet on the database. Can a script that automatically names patterns like those, by finding some sort of repetition and checking what the ends are, exist?
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: apgsearch v2.2

Post by Apple Bottom » March 17th, 2016, 5:36 pm

muzik wrote:Also, I can't seem to find any boats of length longer than very^4. Which makes me assume that it hasn't been named yet on the database. Can a script that automatically names patterns like those, by finding some sort of repetition and checking what the ends are, exist?
The 17-bit boat is here, and has indeed not been named as of yet.

(And here's the 19-bit boat, and the 21-bit boat.)
Last edited by Apple Bottom on March 17th, 2016, 5:42 pm, edited 1 time in total.

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

Re: apgsearch v2.2

Post by drc » March 17th, 2016, 5:37 pm

Why is the page broken
\100\97\110\105

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

Re: apgsearch v2.2

Post by muzik » March 18th, 2016, 9:57 am

drc wrote:Why is the page broken
what page.
Apple Bottom wrote:The 17-bit boat is here, and has indeed not been named as of yet.

(And here's the 19-bit boat, and the 21-bit boat.)
The fact there are no other boat lengths kind of surprises me, even if they are ridiculously rare. I mean, we have half a trillion soups already. What about the really long barges and ships?


And what of the boat-detecting code? Here I am again, demonstrating my laughably bad knowledge of code, but here is a possible vessel classifier in mockup script:

Code: Select all

check life

if this stil life consists of two adjacent diagonal lines:

check edge corners

if amount of corners is 0, name barge

if amount of cells is greater than 6, name long barge

if amount of cells is greater than 8, name very long barge

if amount of cells is greater than 10, name very very long barge

if amount of cells is greater than 12, name very^((amount of cells/2)-4) long barge

if amount of corners is 1, name boat

same as above code for barge, except if amount of cells is greater than 13, change to name very^((amount of cells/2 round down)-3) long boat

if amount of corners is 2, name ship

same as barge code, except change the word barge to ship
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

User avatar
Alexey_Nigin
Posts: 323
Joined: August 4th, 2014, 12:33 pm
Location: Ann Arbor, MI
Contact:

Re: apgsearch v2.2

Post by Alexey_Nigin » March 19th, 2016, 4:44 am

An awful lot of spam here.
There are 10 types of people in the world: those who understand binary and those who don't.

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

Re: apgsearch v2.2

Post by muzik » March 19th, 2016, 8:38 am

Alexey_Nigin wrote:An awful lot of spam here.
Can't see any, that must have got removed pretty fast.
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

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

Re: apgsearch v2.2

Post by muzik » March 19th, 2016, 9:50 am

Could there be an option to check for common constellations? (e.g. familiar fours, interchange, honey factory, bi-block, butterfly and teardrop beehive arrangements)
Bored of using the Moore neighbourhood for everything? Introducing the Range-2 von Neumann isotropic non-totalistic rulespace!

FractalFusion
Posts: 40
Joined: March 27th, 2009, 2:07 pm

Re: apgsearch v2.2

Post by FractalFusion » March 19th, 2016, 2:31 pm

Something went wrong with the soups for the pulsar:

https://catagolue.appspot.com/object/xp ... 7401/b3s23

I'm seeing links such as

https://catagolue.appspot.com/hashsoup/ ... 1497/b3s23 , and
https://catagolue.appspot.com/hashsoup/ ... 1272/b3s23

Those links don't work. I think % is supposed to be replaced with pct or something. The links with % in them also appear in other pages.

Also, the page seems to be strangely selective about which soups are saved. The few that are saved are C1, 25pct and 75pct and all other options are ignored.

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

Re: apgsearch v2.2

Post by calcyman » March 19th, 2016, 2:48 pm

FractalFusion wrote:Those links don't work. I think % is supposed to be replaced with pct or something.
Amended.
What do you do with ill crystallographers? Take them to the mono-clinic!

User avatar
testitemqlstudop
Posts: 1362
Joined: July 21st, 2016, 11:45 am
Location: in catagolue
Contact:

Re: apgsearch v2.2

Post by testitemqlstudop » February 19th, 2019, 7:40 pm

Does anyone have a copy of apgnano v2, perchance? It's the only version I know of that is both C++ and forsakes assembly, so it can be easily ported to Wasm.

I know this is ancient but I really needed to ask. The old repository happens to be deleted.

User avatar
cordership3
Posts: 128
Joined: August 23rd, 2016, 8:53 am
Location: haha long boy

Re: apgsearch v2.2

Post by cordership3 » February 19th, 2019, 9:55 pm

Funnily enough, I happen to have a copy on my hands. Reminds me how long I've been obsessing over search programs...
Attachments
apgnano.zip
apgnano v2.43
(407.95 KiB) Downloaded 187 times
fg

User avatar
testitemqlstudop
Posts: 1362
Joined: July 21st, 2016, 11:45 am
Location: in catagolue
Contact:

Re: apgsearch v2.2

Post by testitemqlstudop » February 19th, 2019, 10:14 pm

Thank you very much!

Post Reply