Skip to main content
Topic: [Change v6.2] Centralised Search (Read 4044 times) previous topic - next topic

[Change v6.2] Centralised Search

James,

I have made some changes to the centralised search system. Especially, currently ongoing refresh will no longer be discarded and restarted when players add/remove halts. This is useful in the forthcoming network mode, where many players may add/remove halts at the same time. If refresh has to be restarted every time the networked players add/remove halts, search may never complete and paths may never get updated.

Incidentally, I have already had a short discussion with Prissi on network mode. Judging from what he told me about the network mode, synchronisation of centralised search is necessary to keep all networked clients in sync. Prissi said synchronisation is possible, but since he hasn't completed the network mode yet, we will have to wait.

Knightly

Re: [Change v6.2] Centralised Search

Reply #1
Knightly,

thank you very much for updating the code - I am very grateful. Incidentally, why have you changed the text from "find eligible routes" to "sieve eligible routes"? Thank you very much for discussing the network implementation with Prissi - that is extremely helpful. I should very much like to get Simutrans-Experimental working over a network if and when Simutrans-Standard can do that.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: [Change v6.2] Centralised Search

Reply #2
James,

Incidentally, why have you changed the text from "find eligible routes" to "sieve eligible routes"?

Should be "sieve eligible halts". I change the verb "find" to "sieve", because I want to extract a short but representative word from each phase's name and display it in the status line -- "find" is not unique enough (may confuse with other phases) but "eligible" is rather long. Detailing the refresh status will help in debugging as well as future coding work to bring centralised search compatible with network mode.

Knightly

Re: [Change v6.2] Centralised Search

Reply #3
I don't think that the word "sieve" here is very clear: it refers to a culinary implement! It is generally better to change the translation texts rather than change the base texts, though, as changing the base texts means that every translation is immediately invalidated.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: [Change v6.2] Centralised Search

Reply #4
James,

I also know that "sieve" as a noun is a culinary tool. But sieve is also a verb which is used to describe filtering something, and I think there is nothing wrong to use it figuratively here. In fact, in my native language Chinese, we use the Chinese character for "sieve" regularly and commonly to describe filtering and selecting things in the general sense and not limited to culinary activities.

The name of the phases are not meant for players. They are for debugging and development purposes. I don't think the name of that phase is important enough to merit further discussion, as long as the name is not misleading or confusing -- no one will expect we are talking about culinary activties in a transportation simulation game. Besides, I can't see them in Simutranslator -- probably you also consider them irrelevant to players so that you don't bother to upload those text strings. If you have already uploaded those texts, I would not have changed the base texts.

Knightly


Re: [Change v6.2] Centralised Search

Reply #5
I am not aware of "sieve" being used commonly in that way in English. If I have not included translation texts for those items on Simutranslator, that is an accidental omission, which I shall remedy. Perhaps "sieve" can be changed to "filter"?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: [Change v6.2] Centralised Search

Reply #6
James,

Is it really that important to change it?

Okay, I will change "sieve" to "filter" now, and upload the commit right away. Please wait for 5~10 mins.

Knightly

 

Re: [Change v6.2] Centralised Search

Reply #7
Ahh, I'm a bit of a perfectionist with language and the UI :-) Thank you for your effort.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: [Change v6.2] Centralised Search

Reply #8
James,

You are an English native speaker, and you come from Shakespeare's home country, so obviously I should trust your judgement regarding English usage. :)

Knightly