OCA talk:LeapLife/Glider syntheses

From LifeWiki
Jump to navigation Jump to search

Formatting

I propose formatting like the upper table, but opinions would be appreciated. --Galoomba (talk) 14:31, 31 May 2023 (UTC)

That depends on whether the page will give examples of cheapest known syntheses, or if the page will only list their costs and link to the corresponding forum post. The upper table doesn't give the syntheses. When I created the page, I just used headerless RLEs since they fit in a single line in the table (although they may be long, so I added them as the last column). I'm not really sure what would be a good formatting for a single-page collection of syntheses for many objects -- feel free to change to something else. Confocal (talk) 15:52, 31 May 2023 (UTC)
Headerless RLEs are probably not a good idea anyway because Golly and LifeViewer both default to B3/S23 when importing them. --Galoomba (talk) 16:00, 31 May 2023 (UTC)
My own way of dealing with this (I actually do this frequently when pasting headerless RLEs into Golly) is to add a single isolated alive cell in the corner of an empty pattern, and set the desired rule (in this case B2n3/S23-q). As long as the pattern was non-empty before "Paste", Golly should keep the rule unchanged when pasting the pattern. But this is basically a workaround, and there may well be something better than tabulated headerless RLEs in wikitables. Confocal (talk) 16:07, 31 May 2023 (UTC)
Two suggestions: (a) split the first table into three tables (oscillators, spaceships, SLs) and remove the "Type" column; (b) merge object name and apgcode into a single column formatted e.g. object_name{{br}}apgcode. Both should reduce table width. Confocal (talk) 05:03, 1 June 2023 (UTC)
I don't like the first suggestion because it's nice to be able to sort all objects by synthesis cost or number of cells. The Type column could be abbreviated (e.g. SL, pn, (x,y)c/n). The second one isn't ideal because it significantly increases table height. I instead propose not showing the whole apgcode if it's too long (the link suffices anyway). --Galoomba (talk) 09:54, 1 June 2023 (UTC)
Re: first suggestion -- understood, but I'm not sure how to abbreviate the type while keeping it easy to read.
Re: second suggestion -- I don't think merging apgcodes with names noticeably increases table height. The first column of the table already contains pictures of many objects, which determine heights of corresponding table rows in most cases. There are relatively few rows where either the name or the apgcode breaks into two or more lines. In other words, table height is determined by the pictures in the first column.
I don't like the idea to abbreviate/hide some apgcodes -- apgcodes make it easier to find a given object without knowing its name beforehand, via browser search feature. If the apgcode is shortened or hidden, then you cannot find by it anymore. Confocal (talk) 10:07, 1 June 2023 (UTC)
> I'm not sure how to abbreviate the type while keeping it easy to read.
Make a legend if it's not obvious.

>I don't think merging apgcodes with names noticeably increases table height. The first column of the table already contains pictures of many objects, which determine heights of corresponding table rows in most cases.
Name + apgcode is taller than a picture, and not all patterns have pictures. Also, the pictures can be made smaller if needed.

> apgcodes make it easier to find a given object without knowing its name beforehand, via browser search feature.
As in a search engine (e.g. google), the wiki's search feature, or ctrl+F? The first two should work regardless because the full apgcode is still in the page's source code, and ctrl+F is possible with abbreviated apgcodes. --Galoomba (talk) 10:26, 1 June 2023 (UTC)

As I said, via browser search feature, i.e. Ctrl+F. If I copy and paste an apgcode from somewhere else, I don't really want to guess where exactly to trim it to be able to find it on the page, but opinions may differ.
Regarding picture size, images are already small enough. If their size is decreased further, then I'm pretty sure that someone will complain that they're too small to see (especially on larger screens) and should be made larger.
My own opinion regarding table height is that the current table height is fine (and will still be fine, even if more pictures are added to rows that currently don't have pictures). Confocal (talk) 10:39, 1 June 2023 (UTC)
I guess the difference is that I tend to type the first few characters manually. Indeed, copy-pasting wouldn't work. --Galoomba (talk) 11:01, 1 June 2023 (UTC)
Seems like patternname doesn't work with style=tabulated in Template:LinkCatagolue, hopefully it can be added without breaking anything (I don't see why it would, given that patternname currently does nothing with style=tabulated). We'll have to ask an admin though because the page is protected. --Galoomba (talk) 10:03, 1 June 2023 (UTC)
The patternname parameter isn't supposed to be used with style=tabulated, per above. In tables, the main purpose of adding apgcodes is to be able to do Ctrl+F search by them. Confocal (talk) 10:07, 1 June 2023 (UTC)
The idea is to include the first 20-30 characters then put an ellipsis. You can easily Ctrl+F with just the first few characters.
Seems like you were the one who removed patternname in the first place. Maybe we should instead put a disclaimer to only use it for abbreviating apgcodes. Or program it to do the ellipsing automatically (as an opt-in toggle), but I don't know if that's possible. --Galoomba (talk) 10:28, 1 June 2023 (UTC)
If there's ever an agreement to abbreviate tabulated apgcodes in some consistent way, then I'd rather do the abbreviation automatically, instead of copying a shortened part of every apgcode in every article. Confocal (talk) 10:39, 1 June 2023 (UTC)
What do you mean by "copying a shortened part of every apgcode in every article"? We're only discussing this specific article, and only unusually long apgcodes (currently, only the longest one or two would be abbreviated). --Galoomba (talk) 11:01, 1 June 2023 (UTC)
By "copying a shortened part of every apgcode in every article", I mean something like this:
{{LinkCatagolue|xp28_y163777736z66w8x8ggy26ceeeec6zy4hzccw2x211y2c6eeee6czy1cossssoc|style=tabulated|rule=b2n3s23-q|patternname=xp28_y163777736z66w8x8ggy26...}}
-- if you allow patternname for tabulated apgcodes, you'll very likely to end up with lots of unnecessary repetition (and lack of overall consistency regarding the question of how exactly to abbreviate, and some typos here and there). If there is ever a consensus to abbreviate tabulated apgcodes, that should be done automatically, not manually. The argument "We're only discussing this specific article" contradicts your proposal to significantly modify a template that is used also in multiple other places. Confocal (talk) 11:10, 1 June 2023 (UTC)
Like I said, it's not "lots", it's only for the biggest patterns, like that p28.

> The argument "We're only discussing this specific article" contradicts your proposal to significantly modify a template that is used also in multiple other places.
It would have no effect on any other page. (Unless you're suggesting that people might use the feature in an unintended way - sure, but that's not a problem with the template, it's just bad formatting.) --Galoomba (talk) 11:38, 1 June 2023 (UTC)

I don't support the proposal to modify the template. If the template {{LinkCatagolue}} is modified to abbreviate long tabulated apgcodes automatically, then that will immediately have effect on all other pages with long tabulated apgcodes. If the template is modified to allow that abbreviation manually, that will lead to lack of consistency, because people will use the feature in an unintended way and with different abbreviation conventions. Also, the distinction between "the biggest patterns" and all other apgcodes should be done automatically, to ensure consistency. Confocal (talk) 11:45, 1 June 2023 (UTC)
Also, putting name and apgcode in the same column makes it harder to read. --Galoomba (talk) 11:01, 1 June 2023 (UTC)
I don't really understand how that could make it harder to read. Both names and apgcodes are variable length, and sometimes can be long. Merging columns decreases table width, which is a good thing and makes the page easier to read, not harder. Confocal (talk) 11:10, 1 June 2023 (UTC)
Yeah, on second thought, I guess it's not that bad. --Galoomba (talk) 11:23, 1 June 2023 (UTC)

Table width

I did provide an explanation.
> 100% makes columns way too wide on most screens --Galoomba (talk) 13:04, 1 June 2023 (UTC)

I think I already fixed that by limiting widths of other columns and letting the name/apgcode column adjust its width. The next edit after that silently reverted my changes. Confocal (talk) 13:08, 1 June 2023 (UTC)
You did not. The name column now takes up two thirds of my entire screen. You have a very small screen so you don't see the difference. --Galoomba (talk) 13:52, 1 June 2023 (UTC)
I see the difference, but I don't agree the proposed variant is better. As far as I can tell, if the "name/apgcode" column takes 2/3 of your screen width, then the whole table in the proposed revision will take about half of available space, with lots of whitespace around it. I think one wide column is better for that screen width as well. Confocal (talk) 14:01, 1 June 2023 (UTC)
Better to have whitespace around the table than inside the table. This format is definitely worse. I'll make it an absolute width, hopefully it works well for you too. Keep in mind that your screen size is an outlier and if you make it look perfect on your screen there's no guarantee that it doesn't look terrible on normal-sized screens. --Galoomba (talk) 14:27, 1 June 2023 (UTC)
The word "Pattern" in the header may have the last letter on a new line in some cases. Otherwise, the version oldid=131893 looks good as far as I can test on my two screens.
One thing that wasn't mentioned is that even on a wide screen, the result may depend on the reader's workflow -- someone may open a sidebar with bookmarks, or not expand the browser window to the full width. Confocal (talk) 15:27, 1 June 2023 (UTC)
The solution in those cases is to just zoom out a bit. If you want to fit many things on one screen, there's no way around that. And the table barely takes up a third of my screen, so that's unlikely to be a problem even with a slightly smaller screen. --Galoomba (talk) 15:34, 1 June 2023 (UTC)