## Half-bakery reaction with glider

For discussion of specific patterns or specific families of patterns, both newly-discovered and well-known.

### Re: Half-bakery reaction with glider

HartmutHolzwart wrote:Just one question: How fast could HBK ships get?

That's not an easy question. The short summary is that you probably won't ever want to bet on an HBK in a spaceship race, unless it's racing against a bigger HBK (EDIT: or an artificially slowed-down Gemini/Geminoid, I suppose). For current HBK designs, the speed tends to be inversely proportional to the width of the ship, though it's not really quite that simple. It makes a difference what proportion of the ship is taken up by the half-bakery chains, where gliders travel somewhere between c/6 and c/10 on average, and what proportion is mostly empty space where gliders can travel faster.

The current speed and size record, (3,6)c/1165000, can be improved somewhat without changing the design, maybe to around (3/6)c/750000 (but I don't think anyone has really checked my math on that yet).

With significant changes I'm guessing that a period under 250K, and possibly even under 100K, might be achievable -- but that would need a much more complicated design, probably with multiple sets of slow salvos in the pipeline at the same time. In a multi-salvo system it's not clear that it would be trivial to keep Salvo #2 construction gliders from hitting Salvo #1, for example.

Parallel recipes and cheaper 180-degree turner recipes could also help cut things down. But it's not clear that the shortest possible HBK would look all that much different than the current ones... and it still wouldn't win any races against non-HBK spaceships.

dvgrn
Moderator

Posts: 5746
Joined: May 17th, 2009, 11:00 pm

### Re: Half-bakery reaction with glider

Here is a HBK with period 245,912 and bounding box under 33,000 square. It uses all the tricks that I know of:

- Parallel build
- 180 degree turners with correct timing mod 8
- Uses cheap LWSS seed (contortions in order to get correct timing are still reasonably expensive though)
- Supression without using guard gliders
- Compact HB placement

The script produces a nearly working version of the ship but without any supression mechanism. It was only when investigating this at the end that I realised that the suitability of a particular supression mechanism was dependent on the horizontal distance between the input gliders mod 47.

The version of the ship posted here is the same as the output of the script but with the following changes:

Shift entire NW side by (-8,-8).
Shift LWSS targets, 180 degree turners and SE gliders by (8, -8)
Shift all HBs responsible for shooting at the LWSS targets by (-4, 4)

Now that 16 extra squares have been added horizontally between the input gliders, everything is correct mod 47 and
dvgrn's supression mechanism was added by hand.

The script tries to make the shooting range as narrow as possible without causing any collision, except I added an option to give a bit of extra space on the SE side. In the script I have set this value to 50 in order to give enough freedom to shoot the three NW glider pairs with correct timing mod 8. Probably 50 can be reduced and you may end up with a slightly smaller ship. Elsewhere I have tried to fit everything together as tightly as possible but I may have missed a few spots.
Attachments
assemble.py.gz
hbk_245912.mc.gz
chris_c

Posts: 895
Joined: June 28th, 2014, 7:15 am

### Re: Half-bakery reaction with glider

chris_c wrote:Here is a HBK with period 245,912 and bounding box under 33,000 square. It uses all the tricks that I know of:

- Parallel build
- 180 degree turners with correct timing mod 8
- Uses cheap LWSS seed (contortions in order to get correct timing are still reasonably expensive though)
- Supression without using guard gliders
- Compact HB placement

Wow, you got down to below 250K in one jump -- this is quite an improvement! The Gemini knightship is still almost five times faster, so I think my prediction about spaceship races is still safe for the moment, but it's a speed demon compared to the original p2621440 HBK anyway.

I notice the 180-turners stick out quite a bit farther than the LWSS+G mechanisms, even though there are only four of them compared to three LWSS+G. Is there any likelihood that two of the gliders in the SE can be done with the LWSS+G mechanism as well? The two pairs are different colors, so to do all four that way would need a different mechanism... but maybe there's no cheap way to invert that LWSS recipe?

-- Not that that would be any more than icing on the cake, anyway; it's plenty impressive enough as it is. I don't see any other likely quick improvements, and am not particularly inclined to hunt for trivial 1fd optimizations. Congratulations!

EDIT: Oops, I missed one possibility. It looks as if it should be possible to reduce the period of the current design by another 40K ticks -- possibly to as low as about 185K, but that's unwarranted optimism -- without reducing the bounding box. This can be done by shuffling the construction recipes so that return gliders from the 180-turners and LWSS+G are sent on an earlier scan, adjusting the initial targets accordingly.

It looks as if the initial scan is a little over 60K long, so it may just barely be possible to change it around to be the last scan instead. It may end up getting interleaved with the first scan in the next cycle unless the bounding box is made bigger, but there should be lots of spacings where the new-glider constructions shoot right through the trailing end of the previous cycle's NE salvo.

dvgrn
Moderator

Posts: 5746
Joined: May 17th, 2009, 11:00 pm

### Re: Half-bakery reaction with glider

Exciting! It is Lilliputian!
Ivan Fomichev

codeholic
Moderator

Posts: 1142
Joined: September 13th, 2011, 8:23 am
Location: Hamburg, Germany

### Re: Half-bakery reaction with glider

codeholic wrote:Exciting! It is Lilliputian!

It's funny to think that there really isn't all that much new technology in the Half-Baked Knightship. Something like this probably would have been built well over a decade ago, long before the Gemini or even the Caterpillar spaceship -- if someone had only thought of rubbing two half-bakery reactions together with gencols...!

The edge-shooting 180-turners needed a fair amount of searching, too, of course, and maybe that idea was easier to think of after experience on the 31c/240 project. But superslow elbows or *WSS+G reactions would have been decent alternatives.

-- Sometimes I find it amusing to speculate about Conway's Life alternate history; my apologies... I'm just waiting for an archaeologist to discover a Neolithic cave painting of a glider. Or should I hope for something more impressive, like a p30 gun or a loafer? A few hundred thousand years of Stone Age Life enthusiasts playing with pebbles on flat rocks in their spare time could have come up with quite a collection of interesting discoveries.

But maybe what would be really interesting would be an unexpected digital communication found by a SETI search, with a stamp collection of all the best stuff the aliens have discovered -- including/not including a Half-Baked Knightship (delete whichever is inapplicable).

dvgrn
Moderator

Posts: 5746
Joined: May 17th, 2009, 11:00 pm

### Re: Half-bakery reaction with glider

dvgrn wrote:I notice the 180-turners stick out quite a bit farther than the LWSS+G mechanisms, even though there are only four of them compared to three LWSS+G. Is there any likelihood that two of the gliders in the SE can be done with the LWSS+G mechanism as well? The two pairs are different colors, so to do all four that way would need a different mechanism... but maybe there's no cheap way to invert that LWSS recipe?

Yes the 180 turners are quite fat, especially the one named H_180 which is over 100 lanes wide. You've got me thinking about alternatives... once we have one pair of gliders in the SE other gliders can be generated with the usual classic:
`x = 136, y = 32, rule = B3/S23o2bo\$4bo130bo\$o3bo128b2o\$b4o129b2o12\$112bo\$112bobo\$112b2o5b2o\$118bo2bo\$118bobo\$116b2obo\$115bo2bo\$115bobo\$116bo2\$103b2o\$102bo2bo\$102bobo\$100b2obo\$99bo2bo\$99bobo\$100bo!`

Unfortunately the output color is the same as the input color so this reaction is not useful for creating the B gllders from the C gliders.
dvgrn wrote:This can be done by shuffling the construction recipes so that return gliders from the 180-turners and LWSS+G are sent on an earlier scan, adjusting the initial targets accordingly.

I can't quite understand your proposal here. The thinking behind my current design was that the spaceships needed to come after the NW gliders (you can't recreate the boats until the previous boats have been used), and the targets for the 180 turners need to be further away than the targets for the NW gliders (in order to get the two NW gliders for "free"). Unless I am missing something that means the 180-turners need to be triggered before the NW gliders, so I went with the following "scan plan":
`A B C D E F G H I J0 0 0 0 0 0 0 0 0 0. . . . . . 1 1 1 1. . . . . . 2 2 2 2. . . 1 1 1 3 3 3 31 1 1 2 2 2`

(A, B, C are the glider targets, D, E, F, are LWSS targets)

Hmmm, I'm still not seeing how to get around these constraints in a cheaper way.... reads on...
dvgrn wrote:It looks as if the initial scan is a little over 60K long, so it may just barely be possible to change it around to be the last scan instead

Oh I see... interesting idea but very scary! Glider color changes on each iteration so if you want to make the first pass become the last pass of the previous iteration I think you need completely new recipes.
chris_c

Posts: 895
Joined: June 28th, 2014, 7:15 am

### Re: Half-bakery reaction with glider

chris_c wrote:Hmmm, I'm still not seeing how to get around these constraints in a cheaper way.... reads on...
dvgrn wrote:It looks as if the initial scan is a little over 60K long, so it may just barely be possible to change it around to be the last scan instead

Oh I see... interesting idea but very scary! Glider color changes on each iteration so if you want to make the first pass become the last pass of the previous iteration I think you need completely new recipes.

True enough. If we spend a little time hunting for narrower 180-turners, maybe we could keep this idea in mind.

For example, we could we try completing a few more of the known 180-turner recipes, but set them up so that the second scan triggers the return glider, and the third scan does some initial rebuilding. A small collection of swappable 180-turners should make it easier to match turners up with gliders from the shooting range (?).

The key idea is that there are about 40K ticks between when the last glider goes past the first rake in the shooting range, and when the return gliders get there to activate the next cycle. There are about 60K ticks before the beginning of the Cycle #2 slow salvo would actually interfere with the end of the Cycle #1 slow salvo, but it has yet to be proven that Cycle #2 construction can be successfully started while Cycle #1 gliders are still going by. But at least it should be possible to get the 40K down close to zero without anything getting too scary.

dvgrn
Moderator

Posts: 5746
Joined: May 17th, 2009, 11:00 pm

### Re: Half-bakery reaction with glider

dvgrn wrote:For example, we could we try completing a few more of the known 180-turner recipes, but set them up so that the second scan triggers the return glider, and the third scan does some initial rebuilding. A small collection of swappable 180-turners should make it easier to match turners up with gliders from the shooting range (?).

From memory at least a couple of the 180-turners in my design were "close" to being completely done in 3 scans. Given this, I imagine that it is quite possible to find two pairs of compatible 180-turners that work in the way you describe (3 scans to shoot followed by 1 scan to begin clean up). I'm not volunteering to find them at the moment though
chris_c

Posts: 895
Joined: June 28th, 2014, 7:15 am

### Re: Half-bakery reaction with glider

Chris Cain wrote:Here is a HBK with period 245,912 and bounding box under 33,000 square.

Well done!!! That's an efficiently-engineered knightship (henceforth abbreviated to eek!); I think to qualify as `half-baked' it must be cobbled together without any regard to elegance or minimality, as was the case for my HBK.
What do you do with ill crystallographers? Take them to the mono-clinic!

calcyman

Posts: 2072
Joined: June 1st, 2009, 4:32 pm

### Re: Half-bakery reaction with glider

I second the idea of distinguishing a certain spaceship and a class of spaceships, but by my foreign ear these names are too similar. Compare Gemini and Geminoid, for instance, where the difference is on the surface. Also I'm not sure if it is worth to have two distinct articles in the wiki.
Ivan Fomichev

codeholic
Moderator

Posts: 1142
Joined: September 13th, 2011, 8:23 am
Location: Hamburg, Germany

### Re: Half-bakery reaction with glider

codeholic wrote:I second the idea of distinguishing a certain spaceship and a class of spaceships, but by my foreign ear these names are too similar. Compare Gemini and Geminoid, for instance, where the difference is on the surface. Also I'm not sure if it is worth to have two distinct articles in the wiki.

I'm a little worried about that also. I can certainly roll back recent changes if the general feeling is that two separate articles are a bad idea -- or rename Chris' ship (especially if he can come up with a better name, or approve one officially).

On the other hand, I kind of like calling the big awkward ship "half-baked" -- and then not insulting the small parallel-construction version with the same term. The two HBKs are noticeably different in design, even from a distance, so it seems okay to me to include an image of each one on the wiki. Guess I'll just wait for a few more votes to come in.

I tried adding a separate half-bakery knightship page mostly because of the attribution problem. It didn't seem right to leave the HBK family represented by an image of the huge serial-construction model, once a nice efficient parallel version was available. But changing the image and the statistics would mean also changing the discoverer from "Adam P. Goucher" to "Chris Cain", and that seemed sort of okay but not really quite right, either.

I sent a question to Nathaniel about supporting macrocell files as a pattern file type, since the smaller HBK is under 50K in .mc.gz and 112K in plain .mc, smaller than the RLE of some other patterns on the wiki.

dvgrn
Moderator

Posts: 5746
Joined: May 17th, 2009, 11:00 pm

### Re: Half-bakery reaction with glider

dvgrn wrote:I tried adding a separate half-bakery knightship page mostly because of the attribution problem.

I don't really see it as a problem. We can make a dedicated section for each spaceship and put a spaceship infobox inside each section.
Ivan Fomichev

codeholic
Moderator

Posts: 1142
Joined: September 13th, 2011, 8:23 am
Location: Hamburg, Germany

### Re: Half-bakery reaction with glider

codeholic wrote:I don't really see it as a problem. We can make a dedicated section for each spaceship and put a spaceship infobox inside each section.

Yeah, that probably makes more sense. I'll try to find time to rework "half-baked knightship" in a couple of days, if no one else gets to it first, and maybe redirect "half-bakery knightship" to it.

I think I got all the right numbers and links into the Spaceship tables, but it would be good to have some fresh eyes to double-check. I adjusted things a little, so that Gemini 2 and 3 are in the same category as the original Gemini, and the two HBKs are also in the same category, making sixteen spaceships/families in all.

It seems odd that it's still not very easy to find minimum populations for the Gemini variants, by the way. It's a trivial script, but takes too long to run on my no-longer-new laptop. Luckily the HBKs are much more predictable... though it turned out the table wasn't quite right about them, either -- there's a phase of the G+HB collision that goes down to 18 cells.

dvgrn
Moderator

Posts: 5746
Joined: May 17th, 2009, 11:00 pm

### Re: Half-bakery reaction with glider

I was just reviewing this thread and then I realised you have created a new page called "Parallel HBK" on the wiki. That all seems very reasonable to me. Thanks for all of your efforts.
chris_c

Posts: 895
Joined: June 28th, 2014, 7:15 am

### Re: Half-bakery reaction with glider

What if there was a "skipping HBK" where each cycle has 2 or groups of gliders that shift target blocks by (6,12) instead of (3,6)?
c(>^w^<c)~*
This is 「Fluffy」
「Fluffy」is my sutando.
「Fluffy」has the ability to engineer r e p l i c a t o r s.
「Fluffy」likes to watch spaceship guns in Golly.
「Fluffy」knows Natsuki best girl.

Redstoneboi

Posts: 340
Joined: May 14th, 2018, 3:57 am

### Re: Half-bakery reaction with glider

Redstoneboi wrote:What if there was a "skipping HBK" where each cycle has 2 or groups of gliders that shift target blocks by (6,12) instead of (3,6)?

I suppose that would work. Alternatively, the easiest way I can think of to make an HBK with twice the displacement and twice the period would be to make two HBK side rakes and fire the rake gliders at each other in a way that they annihilate each other every two iterations. Something like this maybe (?)

`x = 195, y = 192, rule = LifeHistory.A\$2.A\$3A34\$34.A\$35.A\$33.3A34\$67.A\$68.A\$66.3A34\$100.A\$101.A\$99.3A16\$121.2A\$120.2A2B\$121.BAB\$122.B21\$148.2A\$147.2A2B\$148.BAB\$149.B21\$175.2A\$174.2A2B\$175.BAB\$176.B11\$192.2A\$191.2A2B\$192.BAB\$193.B!`

EDIT: Or can we even do this within the body of a single HBK? I can't remember enough about these HBK's to give a good answer.

EDIT2: This looks like a workable period doubling mechanism. First time through we get a loaf, next time it is destroyed.

`x = 405, y = 425, rule = B3/S23273bobo\$273b2o\$274bo15\$293bo\$291b2o\$292b2o12\$270bo\$270bobo\$270b2o51\$399bo\$397b2o\$398b2o12\$376bo\$376bobo\$376b2o27\$155bobo\$155b2o247bo\$156bo245b2o\$403b2o12\$381bo\$381bobo\$175bo205b2o\$173b2o\$174b2o12\$152bo\$152bobo\$152b2o9\$114b2o\$113bo2bo\$113bobo\$111b2obo\$110bo2bo\$110bobo\$111bo32b2o\$143bo2bo\$143bobo\$141b2obo\$140bo2bo\$140bobo\$141bo2\$128b2o\$127bo2bo\$127bobo\$125b2obo\$124bo2bo\$124bobo\$125bo22\$281bo\$279b2o\$280b2o12\$258bo\$258bobo\$258b2o28\$286bo\$284b2o\$285b2o3\$232b2o\$231bo2bo\$231bobo\$229b2obo\$228bo2bo\$228bobo\$229bo2\$216b2o\$215bo2bo44bo\$215bobo45bobo\$213b2obo46b2o\$212bo2bo\$212bobo\$213bo7\$4b2o\$3bo2bo\$3bobo\$b2obo\$o2bo\$obo252b2o\$bo32b2o218bo2bo\$33bo2bo169b2o46bobo\$33bobo169bo2bo43b2obo\$31b2obo170bobo43bo2bo\$30bo2bo169b2obo44bobo\$30bobo169bo2bo46bo\$31bo170bobo\$203bo35b2o\$18b2o218bo2bo\$17bo2bo217bobo\$17bobo216b2obo\$15b2obo216bo2bo\$14bo2bo217bobo\$14bobo179b2o38bo\$15bo179bo2bo\$195bobo\$193b2obo\$192bo2bo\$192bobo\$193bo6\$186b2o\$185bo2bo\$185bobo\$183b2obo\$182bo2bo\$182bobo\$183bo5\$220b2o\$176b2o41bo2bo\$161b2o12bo2bo40bobo\$160bo2bo11bobo39b2obo\$160bobo10b2obo39bo2bo\$158b2obo10bo2bo40bobo\$157bo2bo11bobo42bo\$157bobo13bo\$158bo4\$210b2o\$209bo2bo\$151b2o56bobo\$150bo2bo53b2obo\$150bobo53bo2bo\$148b2obo54bobo\$147bo2bo56bo\$147bobo\$148bo4\$200b2o\$199bo2bo\$141b2o56bobo\$140bo2bo53b2obo\$140bobo53bo2bo\$138b2obo54bobo\$137bo2bo56bo\$137bobo\$138bo4\$190b2o\$189bo2bo\$131b2o56bobo\$130bo2bo53b2obo\$130bobo53bo2bo\$128b2obo54bobo\$127bo2bo56bo\$127bobo\$128bo3\$165b2o\$164bo2bo12b2o\$164bobo12bo2bo\$162b2obo13bobo\$161bo2bo12b2obo\$161bobo12bo2bo\$162bo13bobo\$177bo3\$122b2o\$121bo2bo\$121bobo31b2o\$119b2obo31bo2bo\$118bo2bo32bobo\$118bobo31b2obo\$119bo31bo2bo\$151bobo\$106b2o44bo\$105bo2bo\$105bobo\$103b2obo\$102bo2bo\$102bobo\$103bo41b2o\$144bo2bo\$144bobo\$142b2obo\$141bo2bo\$141bobo\$142bo6\$135b2o\$134bo2bo\$134bobo\$132b2obo\$131bo2bo\$131bobo\$132bo6\$125b2o\$124bo2bo\$124bobo\$122b2obo\$121bo2bo\$121bobo\$122bo!`
chris_c

Posts: 895
Joined: June 28th, 2014, 7:15 am

### Re: Half-bakery reaction with glider

chris_c wrote:
Redstoneboi wrote:What if there was a "skipping HBK" where each cycle has 2 or groups of gliders that shift target blocks by (6,12) instead of (3,6)?

I suppose that would work. Alternatively, the easiest way I can think of to make an HBK with twice the displacement and twice the period would be to make two HBK side rakes and fire the rake gliders at each other in a way that they annihilate each other every two iterations.

That's certainly simple, but it only produces a very small period-doubled area. To period-double the whole body of the HBK, it might work to duplicate the entire glider-producing length and move the slow-salvo targets out far enough that the second slow salvo gets past the glider-producing area before the first slow salvo's return gliders get back to it. If I remember right, there aren't any dangerous signal crossings except in the main barrel of the HBK.

dvgrn
Moderator

Posts: 5746
Joined: May 17th, 2009, 11:00 pm