Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments by FergusDuniho

LatestLater Reverse Order EarlierEarliest
Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Tue, Mar 23, 2021 12:56 PM UTC in reply to Daniel Zacharias from 05:47 AM:

Okay, I turned on the group write bit for all log and log backup files, and I modified Game Courier to also turn it on. That should fix the problem.


Tags Listing. A listing of the tags used on our pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Tue, Mar 23, 2021 01:34 AM UTC in reply to Greg Strong from Mon Mar 22 10:02 PM:

I'm not sure what you mean. Do you mean connect with SSH and I'll find it in clear text in a mariadb config file?

No, that's not what I mean. I mean a php script that is outside of public_html that gets included in every php script that accesses the database.


🕸📝Fergus Duniho wrote on Mon, Mar 22, 2021 08:51 PM UTC in reply to Greg Strong from 02:33 PM:

Which reminds me - is the table of piece types and their IDs/internal names finalized? If it is, I can start populating the piece<->game mappings. I have the data to populate this for about 135 games in a fairly automatic way.

Okay, sure. I have been sidetracked by other things for a while. The database has a new password, which you can find by logging in and looking it up in the file that contains it.


🕸📝Fergus Duniho wrote on Mon, Mar 22, 2021 04:58 PM UTC in reply to Ben Reiniger from 02:17 PM:

should KRBN-compounds be separate from Man-RBN-compounds?

In Fusion Chess, compounds with the King are royal. So, some distinction might be appropriate. You might be thinking of a game like Sac Chess for the latter, but that game also has Amazons, which Fusion Chess doesn't have. Here are some options:

  • Use Pieces:Chess+Compounds more loosely
  • Same as above but include child tags for variations.
  • Make many fine distinctions in children of Pieces.
  • Just use names of games with certain piece sets, such as Pieces:Carrera's Chess, Pieces:Fusion Chess, Pieces:Sac Chess, etc.
  • A hybrid approach that uses game names for larger sets to avoid making long tags like long German words.

🕸📝Fergus Duniho wrote on Mon, Mar 22, 2021 01:35 PM UTC in reply to Ben Reiniger from Sun Mar 21 10:17 PM:

I don't think individual pieces should be tags. I'd rather that be an explicit database table. But I do think "usual equipment" and "FIDE+compounds" and similar classes of piece sets could be useful as tags.

Yes, tags can't do some things that the database table is intended for, such as keep track of the names used for the same pieces in different games. Instead of using tags for individual pieces, it may make sense to use tags for common sets of pieces with tags like Pieces:Chess, Pieces:Shogi, Pieces:Xiangqi, etc. My issue with Chess+Compounds or FIDE+Compounds is that there are different sets of compounds. Fusion Chess and several related games also include royal compounds. To distinguish these, we might use Pieces:Chess+RBN-Compounds for games with the pieces of Capablanca's Chess and Pieces:Chess+KRBN-Compounds for games with the pieces of Fusion Chess.


🕸📝Fergus Duniho wrote on Sun, Mar 21, 2021 11:27 PM UTC in reply to Ben Reiniger from 10:17 PM:

And yes, I think numerical fields should be kept separate rather than incorporated into tags. That gives us more flexible searching ("at least 90 cells but at most 130"), and I can't imaging a parametrized tag ("#CellCount=x") looking good.

From a search perspective, that makes sense. But from a browsing perspective, I think it makes sense to include tags for sizes we have many variants in.


🕸📝Fergus Duniho wrote on Sun, Mar 21, 2021 11:24 PM UTC in reply to Ben Reiniger from 10:17 PM:

I agree with "Board" because of terrain. Maybe something even more generic like "Playing Field", except that I prefer the brevity of "Board".

I also prefer the brevity of Board. While the word might most literally refer to a contained 2D playing area, Chess variants are classed as board games, and the word is normally used for the playing area in any Chess variant, even if it doesn't follow the planar geometry of a literal board.


🕸📝Fergus Duniho wrote on Sun, Mar 21, 2021 09:20 PM UTC in reply to Greg Strong from 05:33 PM:

I would also personally use 'Geometry' rather than 'Board'. It's a bit more general.

I think Board is a bit more general, because it can also be used for board size, board dimensions, or other board differences like having terrain.

And a game could be both 3-D and Rectangular, or both 3-D and Hexagonal ...

There is no requirement that a page should get only one child tag with a particular parent. A page could be tagged both Board:3D and Board:Hexagonal, for example. I have been tagging some of my own games with multiple Rules: children tags, which is the same principle.

I have also sped up tagging of similar games by including a copyable string of all the tags a user has added to a page. I have been able to copy and modify strings from one game to quickly tag others.


🕸📝Fergus Duniho wrote on Sun, Mar 21, 2021 05:13 PM UTC:

I'm now thinking about how to build tag structures from the ground up. We could have parent tags to designate tags about specific types of features. For example, Board, Piece, Goal, Rules, and Players. These would cover most of the ways in which a variant might differ from Chess. Board could replace UnusualBoard and include its children plus Standard for the 8x8 Chess board. Piece could be used for individual pieces. Goal could be used for differences in how the game is won or drawn. Rules could include children for various common rule deviations. Players would mainly just get a number. One way to think of these is as parameters that the child tag gives specific values to.


🕸📝Fergus Duniho wrote on Sun, Mar 21, 2021 02:11 PM UTC:

One of the quickest ways to populate the tags is to convert categories into tags. However, I don't think that a direct translation of every category into a tag of the same name is the way to go. So, I want to plan things out first by discussing the individual categories:

chess

This category is for pages on Chess, which we have a lot of despite being mainly about variants.

1D, 2D, 3D, 4D

I don't think the 2D category needs to be translated into a tag. 2D is the assumed default, and it is such a large category, I don't think anyone ever browses through it. We currently have a 3DBoard tag, which may be a little more informative than just the tag 3D. I wonder if 3D-Board or 3dBoard would be better, since it will not put a space between two capital letters when displaying the name.

Large, Small

These respectively mean larger and smaller than the 8x8 64 square Chess board. We already have a Large tag. Small would also work. These may have children for various common sizes, particularly for those created for contests for boards of particular sizes. So, based on values for BoardCols, BoardRows, BoardLevels, and BoardCells, it could be given an appropriate child tag instead.

Multiplayer

Seems useful, but it could be combined with the PlayerCount value to create appropriate child tags.

Oriental

This could be a child of Regional, which we already have a tag for. Regional:Oriental might be appropriate for the tag name. However, most of the regional variants are oriental, since we understand Indian and Muslim forms of Chess as historical rather than regional. So, it might be appropriate to just name the region, such as Regional:Chinese, Regional:Japanese, etc.

Historical

Okay.

Dice, Cards

Possibly include as children of Random. So, Random:Dice, Random:Cards.

Wargame

Okay. This is mainly a separate category from Chess variants, and we might not have many here.

Shape

This is it. Shape:Board and Shape:Cells are not categories. Perhaps Shape should be translated to UnusualBoard.

Hexagonal, Round

Can be children of UnusualBoard. Round may be translated to RoundBoard, which we already have a tag for.

IncompleteInfo

Okay. It sort of works how info is an incomplete spelling of information.

Other

Too vague to be useful. It does not need to be translated into a tag.

Usual-Moving, Usual-MovingOpponent, Usual-MultiMove, Usual-BoardRules, Usual-Winning, Usual-Setups, Usual-Capturing, Usual-Other, Usual-Modest

These categories all describe ways in which a variant played with the same equipment as Chess differs from Chess. The last two are not particularly informative. Other means a difference not included by the previous ones, and Modest means a small difference, though it could fit any of the previous differences. What has always bothered me about these categories is that they are not supposed to be used for games played on different boards than Chess. Yet the same things that distinguish games played with the usual equipment from Chess also sometimes distinguish other variants from Chess, and apart from Other, which I dismissed above, we have never had anything like these available as categories for other games.

One possibility is to give these all the same parent name. I prefer the longer UsualEquipment, because it is more informative. We could translate them to UsualEquipment:DifferentPowersOfMovement, UsualEquipment:MovingOpponent'sPieces, UsualEquipment:Multi-Move, UsualEquipment:DifferentRules, UsualEquipment:DifferentObject, UsualEquipment:DifferentSetup, and UsualEquipment:DifferentCapturing.

But I will note that we already have some tags that cover some of these without the usual equipment part. The Goal parent tag can be used for different goals. The Multi-Move tag can be used for any game allowing multiple moves. I also want to create a Piece parent tag for identifying individual pieces in a game. This might replace my attempt to create separate tables for piece information.

Crossover

We already have this as a parent tag, and it is probably more useful that way. It might be better to go through the crossover games and create more informative child tags for them.

Singleplayer

Okay, though probably uncommon. Perhaps renaming the tag Solitaire.

XiangqiBased, ShogiBased

These don't have to be children of Regional or Oriental, because people in the west have sometimes created games based on Xiangqi or Shogi. One problem with Oriental, mentioned above, is that some games based on Xiangqi or Shogi might have been given the Oriental category despite being of western origin.


🕸📝Fergus Duniho wrote on Sun, Mar 21, 2021 02:18 AM UTC:

I corrected a bug that allowed anyone to tag a page without being signed in. I also deleted an anonymous tag. I think it was making Shape:Board a parent of RoundBoard.


🕸📝Fergus Duniho wrote on Sat, Mar 20, 2021 04:29 PM UTC:

When a tag is both the parent and the child of another tag, both of these relations are ignored, and the tag is listed separately as related. I have done this with the Shape and Geometry tags.


🕸📝Fergus Duniho wrote on Sat, Mar 20, 2021 01:07 PM UTC in reply to Fergus Duniho from Fri Mar 19 02:10 PM:

I brought these two ideas together by adding the ability to tag parent tags.

It appears that what I intended and what I programmed were two different things. When I finally looked at my own tags, I saw that the children were the tagged items, but I had expected the parents to be the tagged items. I guess it gets confusing when you're working with tags as tagged items. Nevertheless, this works out. When I view my own tags, it's more logical to see a tag followed by its children than to see it followed by its parents. Tagged pages are like leaves, and tagged tags are like branches.


Round Board[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sat, Mar 20, 2021 12:37 PM UTC in reply to Ben Reiniger from 02:05 AM:

Unlike categories, which are fixed and static, tags can have parent/child relations with each other, forming a tree-like structure that visitors may browse through. If we omitted tags that match categories, this tree-like structure would have gaps in it. If we were to keep just tags or categories, I think it would be better to keep tags. Tags are more organic and fit the nature of Chess variants better than a set of fixed categories do.


Tags Listing. A listing of the tags used on our pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Fri, Mar 19, 2021 09:37 PM UTC:

Editors may now delete relations between tags. I also modified the Tagged Pages section to show up only when there are tagged pages, and I moved the button for deleting the whole tag to the bottom.


🕸📝Fergus Duniho wrote on Fri, Mar 19, 2021 06:50 PM UTC:

I'm working on code to delete individual parent/child relations, but I have commented it out for now, because it seems to be deleting whole tags.


🕸📝Fergus Duniho wrote on Fri, Mar 19, 2021 06:00 PM UTC in reply to Greg Strong from 05:30 PM:

what's to stop a user from making circular references - e.g., two tags that are both parents of each other?

Nothing for now. I could add code to stop this, but if it isn't recursive, it might allow three-way or larger loops.

If you search for games with a tag, does it return games tagged with child tags of the requested tags?

There is presently no searching of tags other than having the tagged pages listed on an individual tag page. This list includes only directly tagged pages.

if you apply a tag to a game, does it also apply the parent tags?

No, tags are not inherited by virtue of parent/child relation.

if the answer to both of these questions is no, what does any of this accomplish?

Links to parent and children tags are provided for further browsing and context. They are not used in any recursive fashion that would result in an infinite loop if two tags were tagged as each other's parent. If two tags do end up that way, editors may decide to delete one relation and better clarify the descriptions or choose to merge the two tags into one if they are too similar in meaning.


🕸📝Fergus Duniho wrote on Fri, Mar 19, 2021 02:10 PM UTC:

After I added the ability to name a parent in a tag using the colon, I saw that there were various tags that should have a parent/child relation based on meaning, and it seemed like it would be awkward to rewrite their names. I was also thinking about adding the ability to tag tags. I brought these two ideas together by adding the ability to tag parent tags. Instead of allowing tagging in the footer, the info page for a tag includes a form for adding a parent. This works the same as the tagging form and uses the same script. This allows anyone to add a parent, and it allows a tag to have multiple parents.


🕸📝Fergus Duniho wrote on Thu, Mar 18, 2021 04:11 PM UTC in reply to Greg Strong from 04:00 PM:

On Windows, neither Firefox nor Edge show the child tag either. Ad blocker enabled or disabled doesn't make any difference.

When I looked at the code for displaying children, it was inside an if (fpdip()) block, which I use for testing code before others are ready to see it. I have now removed that condition. So, it should work for others now.


🕸📝Fergus Duniho wrote on Thu, Mar 18, 2021 01:22 PM UTC in reply to Bn Em from 01:02 AM:

That's really weird, since I created these two tags expressly for testing the ability of a page to show both a parent and children, and that's what I got. When I look at the Parent:Child page, I see both its parent and its child. Under what conditions are you viewing the page, such as browser, OS, desktop or mobile, and ads blocked or not?


🕸📝Fergus Duniho wrote on Wed, Mar 17, 2021 11:08 PM UTC in reply to Bn Em from 08:26 PM:

Parents are listed, but at present children seem to be absent

There are few parent tags, but children are listed for each one of them. Most tags have no children, and for those, no children are listed.


@ Greg Strong[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Mar 17, 2021 04:56 PM UTC:

I have added the ability to post to person information pages. This is a test to see if it will try to send you email.


@ Fergus Duniho[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Mar 17, 2021 04:37 PM UTC:

Testing the ability to post to a user profile page.


Parent: Child[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Mar 17, 2021 01:57 PM UTC:

Testing the ability to post on a tag page.


Apothecary Chess Tournament[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Wed, Mar 17, 2021 12:19 PM UTC in reply to Aurelian Florea from 11:48 AM:

Okay, I've updated the code. Try it again.


25 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.