Wikifunctions:Requests for deletions/Archive/2024/04
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Author suggested deletion (see description of the function). --Ameisenigel (talk) 18:38, 6 April 2024 (UTC)
- Delete as a duplicate. — excarnateSojourner (ta·co) 06:29, 7 April 2024 (UTC)
- Done --DannyS712 (talk) 00:58, 9 April 2024 (UTC)
- This section was archived on a request by: DannyS712 (talk) 00:58, 9 April 2024 (UTC)
Duplicate of nth centered cube number (Z15544). A system glitch seems to have caused the creation of two identical ZObjects when I attempted to create the function. Stevenliuyi (talk) 02:15, 8 April 2024 (UTC)
- Done --Ameisenigel (talk) 19:25, 8 April 2024 (UTC)
- This section was archived on a request by: Ameisenigel (talk) 19:25, 8 April 2024 (UTC)
Z10169 - relies on randomness, see w:Universally unique identifier#Version 4 (random) --DannyS712 (talk) 00:59, 9 April 2024 (UTC)
- @DannyS712 Do we have a policy prohibiting functions that produce random values? — excarnateSojourner (ta·co) 01:32, 9 April 2024 (UTC)
- @ExcarnateSojourner Wikifunctions doesn't support randomness, see e.g. Wikifunctions:Requests for deletions/Archive/2023/09#Functions that rely on randomness and Wikifunctions:Requests for deletions/Archive/2024/01#Z10767 - I don't know if it is an official policy at the moment but it goes against the architecture of Wikifunctions --DannyS712 (talk) 01:47, 9 April 2024 (UTC)
- @DannyS712 In that case we will either need to provide
clock_seq
in Z10168 or delete it as well. — excarnateSojourner (ta·co) 02:00, 9 April 2024 (UTC)
- Could the function take a seed as input to eliminate randomness? Stevenliuyi (talk) 02:10, 9 April 2024 (UTC)
- I didn't see Z10167 - that should probably be deleted too --DannyS712 (talk) 02:45, 9 April 2024 (UTC)
- @Stevenliuyi
uuid4
cannot. From reading the docs I think we can giveuuid1
values to replace the randomness, but it would still be using the current time. I don't know if that counts as "random". — excarnateSojourner (ta·co) 19:58, 10 April 2024 (UTC)- If a function that "returns the current time" is considered unacceptable (as mentioned in the comment below), I suppose we cannot accept uuid1 either, unless we're able to provide a timestamp as an input instead of using the current time? Stevenliuyi (talk) 22:59, 10 April 2024 (UTC)
- I’d say it was pretty official. Wikifunctions:Function model#Non-functional Functions
- “No Z8/Function is allowed to have side effects. All Z8/Functions must be functional. I.e. they must return the same value when being called with the same arguments. This means that Z8/Functions such as “return a random number” or “return the current time” are not possible.
- This might change in the future. This will be handled in a later document.” GrounderUK (talk) 20:14, 10 April 2024 (UTC)
- @DannyS712 In that case we will either need to provide
- @ExcarnateSojourner Wikifunctions doesn't support randomness, see e.g. Wikifunctions:Requests for deletions/Archive/2023/09#Functions that rely on randomness and Wikifunctions:Requests for deletions/Archive/2024/01#Z10767 - I don't know if it is an official policy at the moment but it goes against the architecture of Wikifunctions --DannyS712 (talk) 01:47, 9 April 2024 (UTC)
- Done --Ameisenigel (talk) 15:49, 16 April 2024 (UTC)
- This section was archived on a request by: Ameisenigel (talk) 15:49, 16 April 2024 (UTC)
This function seems to be specific to the word "inhabitant(s)". Surely we don't want to duplicate it for every noun. It also has an implementation that presumably pluralizes the same word but in a different language...? Pinging @Kr.angelov as its creator. — excarnateSojourner (ta·co) 20:05, 10 April 2024 (UTC)
- Done --Ameisenigel (talk) 09:08, 20 April 2024 (UTC)
- This section was archived on a request by: Ameisenigel (talk) 09:08, 20 April 2024 (UTC)