Raku / examples

Many examples of Raku code

Home Page:https://examples.raku.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only first 100 Project Euler problems should have solutions

jared-march opened this issue · comments

The Project Euler solutions seem to clash with Project Euler's rules, as only solutions from the first 100 problems should be shown. From here:

I learned so much solving problem XXX, so is it okay to publish my solution elsewhere?

It appears that you have answered your own question. There is nothing quite like that "Aha!" moment when you finally beat a problem which you have been working on for some time. It is often through the best of intentions in wishing to share our insights so that others can enjoy that moment too. Sadly, that will rarely be the case for your readers. Real learning is an active process and seeing how it is done is a long way from experiencing that epiphany of discovery. Please do not deny others what you have so richly valued yourself.

However, the rule about sharing solutions outside of Project Euler does not apply to the first one-hundred problems, as long as any discussion clearly aims to instruct methods, not just provide answers, and does not directly threaten to undermine the enjoyment of solving later problems. Problems 1 to 100 provide a wealth of helpful introductory teaching material and if you are able to respect our requirements, then we give permission for those problems and their solutions to be discussed elsewhere.

That being said, this is a great resource, and thank you for your work!

Actually, you seem to be aware of this, so I'll just close this.

Re-opening; Regardless of whether there's a decision to remove all the euler posts, we can remove any > #100 easily ASAP.

Maybe the code could be encrypted with the solution as a symmetric key? Apparently that's what I did for problem 62, though I have no recollection of it.

Maybe the code could be encrypted with the solution as a symmetric key? Apparently that's what I did for problem 62, though I have no recollection of it.

Looking at blogs discussing Euler solutions, they're all open - they often even have the solution printed. They just stick to the first 100. Looking at the language of the notice, I think that's valid (emphasis mine):

However, the rule about sharing solutions outside of Project Euler does not apply to the first one-hundred problems, as long as any discussion clearly aims to instruct methods, not just provide answers, and does not directly threaten to undermine the enjoyment of solving later problems.

So personally, I would say that the solutions under 100 are fine (including, say, @grondilu's solution for 19), and don't need anything fancy.

(Also, I think the solutions should be openly viewable - the point for Raku is to have some example code to read. If anyone was worried about secrecy of the answers or methods, they could post on Project Euler itself, where forums become available as you answer questions.)

(I am in no way affiliated with Project Euler!)

So, can we as a quick stopgap remove all > #100 solutions for now? If someone fancies reintroducing them as encrypted versions later on (and people agree this is a good way forward), that can happen in a separate step.

Will do so this weekend if no one beats me to it.