Talk:Shape-Machine

From Rosetta Code
Revision as of 05:46, 6 July 2024 by Gaham (talk | contribs)

Um... So what's the point?

So what's the point of this "task"? How is this operation a "shape machine"? (references? links?) What is the desired precision of the output? Why is this a task and not a draft task? --Thundergnat (talk) 19:52, 5 July 2024 (UTC)

yes -User:Gaham
Yes to what? None of those question could sensibly be answered by "yes". Why is repeat spelled "reapeat"? And previous spelled "previos"? (at least, I assume what those are meant to be...) Why do none of the sentences have ending punctuation? Again: Why is this a task and not a draft task? --Thundergnat (talk) 20:03, 5 July 2024 (UTC)
1. That was supposed to mean that there is not point of the draft task. 2. Whoops -User:Gaham
There seems to be no point whatsoever. What does "after the number stops doing the second step" mean? The number isn't doing any steps. The example Python code loops indefinitely. Which "second step" should we pick? The reference link is just to another wiki which has the same seemingly pointless operation and which was written by you. Again; What makes this operation a shape machine? --Thundergnat (talk) 20:20, 5 July 2024 (UTC)
1.basicly means if the previous digit is the same as the current digit. 2.i can't really phrase that correctly. So I will just change that. 3.the second step on the list of tasks maybe? 4.One shorten word with a another word. OC stuff -User:Gaham
The generated numbers converge on 18.428571... for all the inputs I tried. Maybe that's the point ? --Tigerofdarkness (talk) 23:35, 5 July 2024 (UTC)
I guess that should be the reason -User:Gaham

Towards a clearer and more useful task

To make the solutions to this task more informative, I would suggest modifying the task description so that it has three main parts: (1) writing the generator; (2) showing how the language in question makes it possible to limit the number of items produced by the generator; (3) modifying the generator so that it reports both the first generated value whose truncation is 18, and the index of that value in the stream of generated values. Peak (talk) 03:08, 6 July 2024 (UTC)

idk how to do that -User:Gaham