Page 5 of 11

Re: zfind discussion

Posted: December 24th, 2016, 4:57 pm
by drc
A for awesome wrote:
drc wrote:ntzfind keeps tossing errors
Try running

Code: Select all

g++ ntzfind-setup.cpp -o ntzfind-setup
and tell me what happens. There's probably some error there that isn't getting displayed.
It runs some code and puts me back into typing mode, creating a file called step.c

Re: zfind discussion

Posted: December 24th, 2016, 5:33 pm
by praosylen
drc wrote:
A for awesome wrote:
drc wrote:ntzfind keeps tossing errors
Try running

Code: Select all

g++ ntzfind-setup.cpp -o ntzfind-setup
and tell me what happens. There's probably some error there that isn't getting displayed.
It runs some code and puts me back into typing mode, creating a file called step.c
That makes no sense. Are you sure you're only telling me what happens when you run the one command I told you?

Re: zfind discussion

Posted: December 24th, 2016, 8:00 pm
by Saka
GUYTU6J wrote: I have two questions :cry:
1.How can I know that the zfind is running?
2.I'm using the initial rows generator from the top of the 3rd page of this topic,but it fails...Why?
1. It should be printing outputs and partials
1.5 Your search failed because it's width is 16, remember that the width is the width for each side, as it is searching for symmmetric spaceships. Max width 10
I dunno number 2, I dont use save and load.

Re: zfind discussion

Posted: December 24th, 2016, 8:06 pm
by Saka
drc wrote:ntzfind keeps tossing errors:

Code: Select all

$ ./ntzfind-compile.sh b2i34c/s2-i3
./ntzfind-compile.sh: line 2: ./ntzfind-setup: No such file or directory
ntzfind.c:7:18: fatal error: step.c: No such file or directory
 #include "step.c"

Code: Select all

$ ./ntzfind-setup.cpp b2i34c/s2-i3
./ntzfind-setup.cpp: line 1: //Yes,: No such file or directory
./ntzfind-setup.cpp: line 5: //I: No such file or directory
./ntzfind-setup.cpp: line 6: class: command not found
./ntzfind-setup.cpp: line 7: $'public:\r': command not found
./ntzfind-setup.cpp: line 8: std::string: command not found
./ntzfind-setup.cpp: line 8: $'\r': command not found
./ntzfind-setup.cpp: line 9: syntax error near unexpected token `{}'
'/ntzfind-setup.cpp: line 9: `      Transition(){};

Code: Select all

$ ./ntzfind.c
./ntzfind.c: line 1: //Save: No such file or directory
./ntzfind.c: line 2: $'\r': command not found
./ntzfind.c: line 8: $'\r': command not found
./ntzfind.c: line 10: $'\r': command not found
./ntzfind.c: line 11: int: command not found
./ntzfind.c: line 11: $'\r': command not found
./ntzfind.c: line 12: uint32_t: command not found
./ntzfind.c: line 12: $'\r': command not found
./ntzfind.c: line 13: uint16_t: command not found
./ntzfind.c: line 13: $'\r': command not found
./ntzfind.c: line 14: int: command not found
./ntzfind.c: line 14: $'\r': command not found
./ntzfind.c: line 15: char: command not found
./ntzfind.c: line 15: $'\r': command not found
./ntzfind.c: line 16: $'\r': command not found
./ntzfind.c: line 17: int: command not found
./ntzfind.c: line 17: $'\r': command not found
./ntzfind.c: line 18: $'\r': command not found
./ntzfind.c: line 19: syntax error near unexpected token `('
'/ntzfind.c: line 19: `void plong(long a){
Windows 7, applied patches.
Happened to me too. Fix is to NOT run ntzfind compile. Type in each command exactly
First, compile ntzfind setup

Code: Select all

g++ ntzfind-setup.cpp -o ntzfind-setup
Next,

Code: Select all

./ntzfind-setup b2i34c/s2-i3
It should pause for a second and then return with no errors.

Code: Select all

gcc ntzfind.c -O3 -o ntzfind
Now you can run ntzfind.

Code: Select all

./ntzfind p1337 k193 
And when you want to switch rules just do step 2 and 3

Re: zfind discussion

Posted: December 24th, 2016, 9:25 pm
by GUYTU6J
But my search comes to an end with "Building lookup tables" everytime...
EDIT:That only happens when the width is 10
Here's my first 5 partials

Code: Select all

x = 154, y = 45, rule = B3/S23
16$18b2o3b2o3b2o14bo3b2o3bo16bo3b2o3bo20bo3b2o3bo19bo3b2o3bo$18b3obo2b
ob3o13bobobo2bobobo14bobobo2bobobo18bobobo2bobobo18bo3b2o3bo$17b2o10b
2o12bobobo2bobobo14bobobo2bobobo18bobobo2bobobo18bo3b2o3bo$20bob4obo
15b2o3b2o3b2o15bo3b2o3bo20bo3b2o3bo$16b2o2bob4obo2b2o11b2o8b2o73bo4b2o
4bo$19b2o6b2o13bobo8bobo15bo6bo48b2obo2b2o2bob2o$19b4o2b4o14b4o4b4o14b
2obo4bob2o18b4o4b4o19bo6bo$20b2o4b2o16bo2bo2bo2bo14bo3bo4bo3bo16bo2b3o
2b3o2bo14bo3bo6bo3bo$48b2o19bo2bo4bo2bo45bo2b2ob4ob2o2bo$18bo3bo2bo3bo
11b3ob8ob3o11bob2o6b2obo16b3o3b2o3b3o17bo2b4o2bo$17b2obobo2bobob2o11b
2obobo2bobob2o15b2o4b2o20bo2b6o2bo17b2o8b2o$16b2o3bo4bo3b2o10b3ob6ob3o
45bob4obo22bo4bo$16b3ob2o4b2ob3o10b2o10b2o12b2o3bo2bo3b2o18bo8bo19b2ob
4ob2o$20bo2b2o2bo40b2o2bo4bo2b2o17bo10bo18b3ob2ob3o$17b2o3bo2bo3b2o11b
obob6obobo14bobo4bobo22b2o2b2o25b2o$42b2o10b2o12b2o2b2o2b2o2b2o17b2ob
2o2b2ob2o16bob3o4b3obo$68bobo2bo2bo2bobo16bo12bo15bo2b3o2b3o2bo$97bo
14bo14bo3bo4bo3bo$130b3o2b3o$126bob2o8b2obo$126bo3bo6bo3bo!

Re: zfind discussion

Posted: December 24th, 2016, 9:40 pm
by GUYTU6J
Sokwe wrote: Is initrows.txt in the same folder as zfind.exe?
Yes,but my programme still can't successfully read it.

Re: zfind discussion

Posted: December 24th, 2016, 10:07 pm
by Saka
GUYTU6J wrote:But my search comes to an end with "Building lookup tables" everytime...
EDIT:That only happens when the width is 10
Here's my first 5 partials

Code: Select all

x = 154, y = 45, rule = B3/S23
16$18b2o3b2o3b2o14bo3b2o3bo16bo3b2o3bo20bo3b2o3bo19bo3b2o3bo$18b3obo2b
ob3o13bobobo2bobobo14bobobo2bobobo18bobobo2bobobo18bo3b2o3bo$17b2o10b
2o12bobobo2bobobo14bobobo2bobobo18bobobo2bobobo18bo3b2o3bo$20bob4obo
15b2o3b2o3b2o15bo3b2o3bo20bo3b2o3bo$16b2o2bob4obo2b2o11b2o8b2o73bo4b2o
4bo$19b2o6b2o13bobo8bobo15bo6bo48b2obo2b2o2bob2o$19b4o2b4o14b4o4b4o14b
2obo4bob2o18b4o4b4o19bo6bo$20b2o4b2o16bo2bo2bo2bo14bo3bo4bo3bo16bo2b3o
2b3o2bo14bo3bo6bo3bo$48b2o19bo2bo4bo2bo45bo2b2ob4ob2o2bo$18bo3bo2bo3bo
11b3ob8ob3o11bob2o6b2obo16b3o3b2o3b3o17bo2b4o2bo$17b2obobo2bobob2o11b
2obobo2bobob2o15b2o4b2o20bo2b6o2bo17b2o8b2o$16b2o3bo4bo3b2o10b3ob6ob3o
45bob4obo22bo4bo$16b3ob2o4b2ob3o10b2o10b2o12b2o3bo2bo3b2o18bo8bo19b2ob
4ob2o$20bo2b2o2bo40b2o2bo4bo2b2o17bo10bo18b3ob2ob3o$17b2o3bo2bo3b2o11b
obob6obobo14bobo4bobo22b2o2b2o25b2o$42b2o10b2o12b2o2b2o2b2o2b2o17b2ob
2o2b2ob2o16bob3o4b3obo$68bobo2bo2bo2bobo16bo12bo15bo2b3o2b3o2bo$97bo
14bo14bo3bo4bo3bo$130b3o2b3o$126bob2o8b2obo$126bo3bo6bo3bo!
Wait, shouldn't lookup tables be for ntzfind only? Use normal zfind for life! I suggest not doing width 10, do something like 6 or 7.

Re: zfind discussion

Posted: December 24th, 2016, 10:14 pm
by GUYTU6J
Saka wrote: Wait, shouldn't lookup tables be for ntzfind only? Use normal zfind for life! I suggest not doing width 10, do something like 6 or 7.
I'm using zfind 2.0.Which is the newest version of "normal zfind"?

Re: zfind discussion

Posted: December 24th, 2016, 10:15 pm
by Saka
GUYTU6J wrote:
Saka wrote: Wait, shouldn't lookup tables be for ntzfind only? Use normal zfind for life! I suggest not doing width 10, do something like 6 or 7.
I'm using zfind 2.0.Which is the newest version of "normal zfind"?
Reduce width then. 6 or 7

Re: zfind discussion

Posted: December 24th, 2016, 10:20 pm
by GUYTU6J
Saka wrote: Reduce width then. 6 or 7
You mean search on width 6 or 7?But how about the version of programme?

Re: zfind discussion

Posted: December 24th, 2016, 10:24 pm
by GUYTU6J
singleline.png
singleline.png (10.32 KiB) Viewed 15540 times
And what are these?

Re: zfind discussion

Posted: December 24th, 2016, 10:51 pm
by Saka
GUYTU6J wrote:
Saka wrote: Reduce width then. 6 or 7
You mean search on width 6 or 7?But how about the version of programme?
Yes. I don't know what you mean by version of the program. Just search on lower widths. For an example, try:

Code: Select all

./zfind p10 k1 w6 l500
It should find the copperhead.
GUYTU6J wrote:
What happens when you search really hard searches
And what are these?
Those are partials, even though they look like sparks, they are still partials. Ignore.

Re: zfind discussion

Posted: December 24th, 2016, 11:07 pm
by GUYTU6J
Saka wrote: Yes. I don't know what you mean by version of the program. Just search on lower widths. For an example, try:

Code: Select all

./zfind p10 k1 w6 l500
It should find the copperhead.
Sorry I don't know the difference between ntzfind and "normal zfind"
And this example can't work because of the lack of symmetry type.


Those short partials are annoying :x

Re: zfind discussion

Posted: December 24th, 2016, 11:12 pm
by Saka
GUYTU6J wrote: Sorry I don't know the difference between ntzfind and "normal zfind"
Oh God
ntzfind is for non-totalistic rules like salad or justfriends

Re: zfind discussion

Posted: December 24th, 2016, 11:14 pm
by Saka
GUYTU6J wrote: And this example can't work because of the lack of symmetry type.
Sorry, wrong.

Code: Select all

./zfind p10 k1 w6 v l500

Re: zfind discussion

Posted: December 24th, 2016, 11:23 pm
by GUYTU6J
Oh I lost some partials before "CPU time: 2006.234375 seconds" because my Command Prompt didn't show it :cry:
The rest

Code: Select all

x = 131, y = 35, rule = B3/S23
7b2o20b2o21b2o21b2o20b2o23b2o$5bo4bo16bo4bo17bo4bo17bo4bo16bo4bo20b4o$
4bo6bo15bo4bo17bo4bo17bo4bo16bo4bo19b6o$3bo8bo14bo4bo17bo4bo17bo4bo16b
o4bo18b2o4b2o$3bo3b2o3bo14bo4bo17bo4bo17bo4bo16bo4bo18b2o4b2o$6bo2bo
15bo2bo2bo2bo13bo2bo2bo2bo13bo2bo2bo2bo12bo2bo2bo2bo$5b2o2b2o14b3ob2ob
3o13b3ob2ob3o13b3ob2ob3o12b3ob2ob3o16b3o2b3o$6bo2bo15bo8bo13bo8bo13bo
8bo12bo8bo15b4o2b4o$4b3o2b3o109bo2bo$4b2ob2ob2o14b2o4b2o15b2o4b2o14bob
o4bobo13b2o4b2o14b2o10b2o$6b4o15bo8bo13bo8bo13b10o12b3o4b3o12bo4bo4bo
4bo$4bo6bo79b2o2bo4bo2b2o11bo12bo$4bo6bo14bob4obo14bo8bo15bo4bo11bo4bo
4bo4bo10bo12bo$2b2obo4bob2o13bob2obo14b2obo4bob2o36bo4bo17b3o4b3o$2b2o
8b2o33b2o3b2o3b2o16b2o19b4o20bo4bo$4bo6bo13b3o4b3o12b12o10bo12bo9bobo
6bobo16b6o$2b3obo2bob3o11bo8bo16b4o13bob2o2bo2bo2b2obo9bo8bo16bo6bo$2b
o3b4o3bo10bo2bo4bo2bo33b3ob2o2b2ob3o12bo4bo18bo6bo$2bo2bo4bo2bo9bobob
2o2b2obobo13bo4bo16bo6bo15bob2obo17bobo4bobo$2b2ob2o2b2ob2o8bo3bo6bo3b
o33b2obo2bob2o13bo6bo17b8o$2bobobo2bobobo8bo4bo4bo4bo11bobo2bobo14bo2b
o2bo2bo11bo2bo4bo2bo15b2o4b2o$3b2obo2bob2o13b2o4b2o14b3o4b3o34bobo6bob
o$3b2obo2bob2o11bo10bo12bo8bo13b2o6b2o12bo8bo16b2o4b2o$bo2bobo2bobo2bo
8b3o8b3o12bo6bo13bob2ob2ob2obo10bo10bo14bob6obo$b2obo6bob2o8b2o10b2o
11b2obo2bob2o12bo2b2o2b2o2bo8bo2bo8bo2bo16b2o$b2o10b2o7b2o12b2o9bo2bo
4bo2bo11b2obo4bob2o12b2o4b2o15bobo2b2o2bobo$2obo8bob2o6b3ob8ob3o8b5o4b
5o11bobo4bobo12b10o14b2obo4bob2o$26b8o12bob2o6b2obo13b2o2b2o13b3o6b3o
11bo3bo2b2o2bo3bo$23b2o3b4o3b2o9bo2b2ob2ob2o2bo9bo3bo4bo3bo7b2ob2o2b2o
2b2ob2o16b2o$24bo10bo9b2obobo4bobob2o9bo2bo4bo2bo33bo2bo8bo2bo$48bo8bo
12bob2o4b2obo8b2o2bo6bo2b2o9b3o4b2o4b3o$47bo2b2o2b2o2bo14b2o2b2o16bo4b
o17b4o2b4o$45b2o2b8o2b2o8b2ob2o4b2ob2o7b3ob3o2b3ob3o9b2o2bobo2bobo2b2o
$96b4o15b2o2b2o4b2o2b2o$94bo6bo17bobo2bobo!

Re: zfind discussion

Posted: December 24th, 2016, 11:35 pm
by Saka
GUYTU6J wrote:Oh I lost some partials before "CPU time: 2006.234375 seconds" because my Command Prompt didn't show it :cry:
The rest

Code: Select all

Partials
Post results somewhere else

Re: zfind discussion

Posted: December 24th, 2016, 11:48 pm
by GUYTU6J
Oh sorry.
The last question:if I want to make this as the head of a c/8 spaceship

Code: Select all

x = 12, y = 4, rule = B3/S23
2bo6bo$bobo4bobo$bobo4bobo$2ob2o2b2ob2o!
I select the left half of the first row and gengerate initrows,then I got this

Code: Select all

..o...
..o...
..o...
..o...
..o...
..o...
..o...
..o...
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
I open my zfind and enter"b3/s23 p8 k1 w6 v 1500 e initrows.txt"
Finally it fails.Why?

Re: zfind discussion

Posted: December 27th, 2016, 8:19 am
by HartmutHolzwart
Could one use zfind to find partial backends?

Re: zfind discussion

Posted: December 27th, 2016, 8:30 am
by wildmyron
GUYTU6J wrote:Oh sorry.
The last question:if I want to make this as the head of a c/8 spaceship

Code: Select all

x = 12, y = 4, rule = B3/S23
2bo6bo$bobo4bobo$bobo4bobo$2ob2o2b2ob2o!
I select the left half of the first row and gengerate initrows,then I got this

Code: Select all

..o...
..o...
..o...
..o...
..o...
..o...
..o...
..o...
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
.o.o..
I open my zfind and enter"b3/s23 p8 k1 w6 v 1500 e initrows.txt"
Finally it fails.Why?
There is absolutely no way that partial could move at c/8. To verify this try putting the first two rows into JLS phase by phase until you get an error, then you will see why it fails. If you want to search for a frontend like this I suggest you use WLS or JLS to generate a partial with this SL as one phase and then once you have a reasonable partial you can try the same process again. Note that you need a certain number of rows in the partial when using the initrow generating script such that the two rows generated are part of a valid partial. For this case you need at least 8 rows if starting with the front row.

Re: zfind discussion

Posted: December 30th, 2016, 10:41 pm
by GUYTU6J
I tried again today.My original partial:

Code: Select all

x = 16, y = 35, rule = B3/S23
7b2o$6b4o$5b6o$4b2o4b2o$4b2o4b2o2$4b3o2b3o$3b4o2b4o$6bo2bo$b2o10b2o$o
4bo4bo4bo$bo12bo$bo12bo$3b3o4b3o$5bo4bo$5b6o$4bo6bo$4bo6bo$3bobo4bobo$
4b8o$4b2o4b2o2$4b2o4b2o$3bob6obo$7b2o$2bobo2b2o2bobo$2b2obo4bob2o$o3bo
2b2o2bo3bo$7b2o$o2bo8bo2bo$3o4b2o4b3o$3b4o2b4o$2o2bobo2bobo2b2o$2o2b2o
4b2o2b2o$4bobo2bobo!
My initial rows:

Code: Select all

.......o
......o.
........
........
........
........
........
......oo
......oo
.....o..
.....o..
........
........
.....o..
.....ooo
.....o..
My input:

Code: Select all

zfind.exe b3/s23 p8 k1 w8
 v 1500 e initrows.txt
It still failed...Does zfind 2.0 support initrows?

Re: zfind discussion

Posted: December 31st, 2016, 12:15 am
by wildmyron
GUYTU6J wrote:I tried again today. My original partial:

Code: Select all

<snip> rle
My initial rows:

Code: Select all

.......o
......o.
........
........
........
........
........
......oo
......oo
.....o..
.....o..
........
........
.....o..
.....ooo
.....o..
My input:

Code: Select all

zfind.exe b3/s23 p8 k1 w8
 v 1500 e initrows.txt
It still failed...Does zfind 2.0 support initrows?
This works as expected for me with zfind 2.0 - the longest partial found is the original partial. In what way does your search fail?

Note that the 1500 is ignored in your command because of a missing 'l' or 'm'.

Re: zfind discussion

Posted: December 31st, 2016, 12:27 am
by GUYTU6J
wildmyron wrote: This works as expected for me with zfind 2.0 - the longest partial found is the original partial. In what way does your search fail?

Note that the 1500 is ignored in your command because of a missing 'l' or 'm'.
It only shows"Load from file initrows.txt failed"
I'm sure my zfind.exe is put into the folder where the initrows.txt is generated.

Re: zfind discussion

Posted: December 31st, 2016, 12:57 am
by wildmyron
GUYTU6J wrote:
wildmyron wrote: This works as expected for me with zfind 2.0 - the longest partial found is the original partial. In what way does your search fail?

Note that the 1500 is ignored in your command because of a missing 'l' or 'm'.
It only shows"Load from file initrows.txt failed"
I'm sure my zfind.exe is put into the folder where the initrows.txt is generated.
This is not strictly required. What is important is that the initrows.txt file is in the current working directory of your shell. (I guess you are using Microsoft cmd console?)

Alternatively you could try specifying the full path to the file, like so if in cmd prompt:

Code: Select all

zfind b3s23 p8 k1 w8 v e "C:\Program Files\Golly dir\My Scripts\initrows.txt"

Re: zfind discussion

Posted: December 31st, 2016, 2:03 am
by GUYTU6J
wildmyron wrote:
This is not strictly required. What is important is that the initrows.txt file is in the current working directory of your shell. (I guess you are using Microsoft cmd console?)

Alternatively you could try specifying the full path to the file, like so if in cmd prompt:

Code: Select all

zfind b3s23 p8 k1 w8 v e "C:\Program Files\Golly dir\My Scripts\initrows.txt"
Wow,that works.Thanks a lot! :D