User talk:CalmoSoft: Difference between revisions

From Rosetta Code
Content added Content deleted
Line 151: Line 151:
<br>'''Find words which odd letters are consonants and which even letters are vowels'''
<br>'''Find words which odd letters are consonants and which even letters are vowels'''
* This would be more interesting if you a) allowed alternating vowels and consonants, so that even-index consonants and odd-index vowels were also allowed, and b) let Y count as either a vowel and a consonant (the word syzygy would be OK). So all of the following would be OK: banana, abacuses, syzygy, zany. But brick, spoon, payment would not be. [[User:Thebigh|Thebigh]] ([[User talk:Thebigh|talk]]) 19:14, 28 December 2020 (UTC)
* This would be more interesting if you a) allowed alternating vowels and consonants, so that even-index consonants and odd-index vowels were also allowed, and b) let Y count as either a vowel and a consonant (the word syzygy would be OK). So all of the following would be OK: banana, abacuses, syzygy, zany. But brick, spoon, payment would not be. [[User:Thebigh|Thebigh]] ([[User talk:Thebigh|talk]]) 19:14, 28 December 2020 (UTC)
:: I would say make it sophisticated enough to help solve crossword clues, so eg second letter is E or A, 7th is is L. Also while 3,6,3 might be "red letter day" so too could 12. "Any length" is less useful in that specific context but any length with constrained first/last is certainly not unusual among word puzzles. In fact, why not make it flexible enough to cater to ''all'' of the "dozens of similar tasks" already posted in one hit? --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 01:15, 29 December 2020 (UTC)

Revision as of 01:16, 29 December 2020

Output

Hi. I've noticed that many of your Ring entries do not show output, even if the task requires it. For instance the Runge-Kutta task explicitly requires output, but the Ring code doesn't even seem to print anything. Output is important because it's often the only easy way we can tell if the code works as the task intended. Fwend (talk) 13:39, 30 March 2016 (UTC)

Hello Fwend,

In the Ring "see" is the output command. See the next line in the "Runge-Kutta method" program:

see "y(" + t + ") = " + y + " error = " + (actual - y) + nl ok

Greetings, Gal Zsolt (~ CalmoSoft ~)

Alright, but it's still necessary to post the output. You can do this using <pre>...</pre> tags. Fwend (talk) 17:07, 30 March 2016 (UTC)

Hello Fwend,

Now I have added the output. Thank you very much for suggestions. In the future I will add the outputs.

Greetings, Gal Zsolt (~ CalmoSoft ~)

Upload an image

Hello Fwend,

It is impossible to upload an image.

Greetings, Gal Zsolt (~ CalmoSoft ~)

Yes, image uploads have been disabled (for security reasons). Fwend (talk) 07:31, 30 June 2017 (UTC)

Hello Fwend,

Please can you upload the next image:

CalmoSoft Fifteen Puzzle Game Image

You'd have to ask an admin. But I don't think they can do it either. Some people use an image hosting service. Fwend (talk) 12:01, 30 June 2017 (UTC)

Hello Fwend,

Can you give me the email address of the admin?

Greetings, Gal Zsolt (~ CalmoSoft ~)

Lisp

Hi,

I just saw two of your recent edits. Please notice that in both cases there are already entries for Category:Common Lisp.

Eoraptor (talk) 10:37, 5 March 2018 (UTC)


CalmoSoft: Which dialect of Lisp are you using to write these examples? They look like Common Lisp to me and every Lisp example you have added already has a Common Lisp entry.

Have you read the Lisp page? The general Lisp category is for archaic versions of Lisp. While it doesn't hurt to have multiple examples showing different ways to do things, it would be better if they were classified correctly. --Thundergnat (talk) 12:35, 9 March 2018 (UTC)

Hi.

I use Allegro CL 10.1

Greetings, Gal Zsolt (~ CalmoSoft ~)

So these should be listed under Common Lisp then. Please move or merge them with the Common Lisp entries. Thanks. --Thundergnat (talk) 20:01, 9 March 2018 (UTC)
Agreed. Gal Zsolt, I moved your Lisp programs in the Common Lisp category, which is the correct place for them. Next time, please do not put Common Lisp code in the Lisp category. Eoraptor (talk) 12:45, 10 March 2018 (UTC)
By the way, your program for the Random numbers task is wrong. See Normal distribution on Wikipedia if you don't understand the task. Your program for Knuth shuffle looks weird, and is probably incorrect too (please notice that it's very easy to make this wrong, and if you differ even slightely from the given algorithm, you will almost certainly end up with an incorrect output. It may look correct (it's a permutation after all), but it won't have the desirable probabilistic properties. Besides, you could make use of basic Common Lisp functions, such as rotatef. Your program for Greatest common divisor is also wrong: it fails for negative b. However, the GCD is still defined (and the other programs I have checked, in C and Python for instance, do it correctly). You could also use the psetf function in the program. Your program for Primality by trial division, while not incorrect per se, is awfully inefficient, as you only need to check 2 and odd numbers up to the square root of n (and you could use the isqrt function). Your program for Palindrome detection is correct, but adds absolutely nothing to the existing solution. Same problem with Even or odd and Factorial. You seem to have completely missed the whole point of the Associative array/Iteration task. Hint: it's not about arrays, the word "associative" is here for something. I'm too lazy to continue analyzing your contributions, but there are probably other "surprises". Eoraptor (talk) 20:28, 10 March 2018 (UTC)

Hello Eoraptor

Thanks for the help.

Greetings, Gal Zsolt (~ CalmoSoft ~)

As I suspected, the Knuth shuffle implementation is wrong. See the message above the program. I suspect you didn't even test it, because it should throw an exception rather often: you pick an index in the range 0-50, but the array has only 5 elements. But there is another mistake anyway. A suggestion too: indent your code to make it readable. Eoraptor (talk) 13:43, 14 March 2018 (UTC)

Semordnilap

Some time ago I have flagged the Ring entry for the Semornilap task as incorrect, but it seems to have escaped your attention. Fwend (talk) 10:11, 15 March 2018 (UTC)

Copying tasks from other sites/Referencing tasks from other sites

Hi, I noticed you created a task that was just a link to a task on leetcode. I am unsure of the copyright or access issues with this, and purely from how the tasks looks on RC, it might be better if the task could stand alone if leetcode access changed.
Could you possibly expand on this task and add your own task definition on RC - same task - but in your own words so there's less chance of being accused of plagiarism?
Thanks. --Paddy3118 (talk) 08:47, 26 April 2018 (UTC)

Calmosoft. You can NOT keep dumping pages on here without doing minimal prerequisites. If you intend it to be a task, you need to add required headers. Check to see if the task doesn't already exist, possibly with a different name before you add it. Also, you can't just use content from other sites without permission. LeetCode specifically reserves copyright to content on their pages. For generic tasks where you modify the titles and descriptions a bit, it probably isn't a big issue, but you haven't been adding anything but a link back to leetcode( if that). I only blocked you for 1 day to get your attention, but if you continue, the blocks will get longer.--Thundergnat (talk) 11:27, 26 April 2018 (UTC)

Copying tasks from other sites

I do not continue copying tasks from other sites.

Greetings, Gal Zsolt (~ CalmoSoft ~)

Well, that has turned out to be less than truthful. You CAN NOT directly copy and paste code/tasks from other sites for which you do not hold the copyright. You have a week. --Thundergnat (talk) 11:55, 28 July 2018 (UTC)

Deep linking to DropBox

Please be aware that DropBox is not accessible for everybody. This is valid for ALL of your DropBox linkings and you did it again on Vibrating_rectangles.

Please publish all of it on RosettaCode.

Thank you.

Adding tasks

If you want to add tasks, you need to do some minimal prerequisites. Have you read the page Rosetta Code:Add a Task? It is a fairly comprehensive guide to what the expectations are.

The only thing I would add to that page is that unless you are absolutely sure of what you are doing, tasks should start out marked as a {{draft task}} to allow commentary and tuning. Once there are several implementations and controversy has dissipated, it can easily be promoted to {{task}}.--Thundergnat (talk) 12:56, 18 July 2018 (UTC)

I'd say always start tasks as draft. Doesn't hurt, and can temper later embarrassment. --Paddy3118 (talk) 07:15, 28 July 2018 (UTC)

Excuse me. Which task is not draft? How can I make a test as draft?

Please don't copy tasks without permission

Just found another task copied from leetcode. If it isn't your wording then please delete the task. You need permission to copy stuff.
Excuse me. I did it because my English is very poor but the codes are mine.

Unfortunately, Someone wrote the original task description. If the site allows copying it without saying where it was copied from then it would be oK, but I could not see that, so decided to replace it with a message as to why the page is replaced. --Paddy3118 (talk) 16:33, 28 July 2018 (UTC)

Terminal control/Preserve screen error

On Terminal_control/Preserve_screen#Ring you have used char(33) which is ! when the 33 should be in octal. Try char(27). Note this only works on Xterm/linux, and the output should be very different to that shown.

the 21 game

I hope you don't mind that I added some rules and (task) requirements to your 21 game that you entered.   A lot of fules (I thought) were obvious, but I don't know what you had in mind.   -- Gerard Schildberger (talk) 09:27, 24 August 2018 (UTC)

DO NOT COPY COPYRIGHTED TASKS VERBATIM FROM OTHER PROGRAMMING SITES

You have been warned before for this. You have been banned before for this. You just earned two weeks. --Thundergnat (talk) 13:43, 25 July 2020 (UTC)

Getting the number of decimals

Hi, Please join in the discusion of the task you started here: http://rosettacode.org/wiki/Talk:Getting_the_number_of_decimals

People are having difficulties and would like clarification. Thanks.--Paddy3118 (talk) 09:44, 16 August 2020 (UTC)

Can I add this task?

Can I add this task:
Find words which odd letters are consonants and which even letters are vowels

  • This would be more interesting if you a) allowed alternating vowels and consonants, so that even-index consonants and odd-index vowels were also allowed, and b) let Y count as either a vowel and a consonant (the word syzygy would be OK). So all of the following would be OK: banana, abacuses, syzygy, zany. But brick, spoon, payment would not be. Thebigh (talk) 19:14, 28 December 2020 (UTC)
I would say make it sophisticated enough to help solve crossword clues, so eg second letter is E or A, 7th is is L. Also while 3,6,3 might be "red letter day" so too could 12. "Any length" is less useful in that specific context but any length with constrained first/last is certainly not unusual among word puzzles. In fact, why not make it flexible enough to cater to all of the "dozens of similar tasks" already posted in one hit? --Pete Lomax (talk) 01:15, 29 December 2020 (UTC)