kachick / times_kachick

`#times_kachick channel in chat` as a public repository. Personal Note and TODOs
https://github.com/kachick/times_kachick/issues?q=is%3Aissue+is%3Aclosed
6 stars 0 forks source link

2024-02-21 - プロジェクト・オイラー の解答コードの扱い方 #264

Closed kachick closed 7 months ago

kachick commented 7 months ago

https://github.com/kachick/times_kachick/issues/258#issuecomment-1956680088 で private リポジトリのアーカイブしてない物中心にずっと触ってないやつとか眺めてたんだけど、その中にプロジェクト・オイラーの解答があった。 普通に公開している人もいるのは知っているけどこういうのは公開されたら嫌だろうなーととりあえず private にしてた。競技プログラミングとかこういうのは面白そうだなとわっと飛びかかっては基礎がない事もあってすぐに出来なくなりやらなくなってしまうんだけど、とはいえ公開していいなら諸々面倒が減るのでしてしまいたい。

で、だめだろうなーとは思いつつ一応調べてみた。 ここの問題そのものは CC BY-NC-SA 4.0 https://projecteuler.net/copyright でライセンスされてて非営利なら公開出来るみたいなんだけど、自分が書いた解答に関しては他者の喜びを奪うなかれ的にやめてほしいとある

https://projecteuler.net/about

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.

ただ、最初の100問に関してはこの縛りの外なんだとか。そうね、そこまでは誰でもすぐ出来るだろうしね、僕は12問目までで止まってたみたいだが・・・

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.

面白いのはそれ以降で、コードは暗号化して解答を鍵に中を見られるようにしておけば良いんじゃないかというのがあった。管理者も賢いと言ってるし、これは良さそう

https://projecteuler.chat/viewtopic.php?p=56222#p56222

まぁ、そのソリューションをやり出せるまでには再開した上で後90問近く解いてみろという話なんだが・・・

kachick commented 6 months ago

暗号化して解答を鍵に中を見られるようにしておけば良いんじゃないか

この発想って、前に自分が使いたいかはともかく面白いなと思った https://helpfeel.com/masui/%E7%A7%98%E5%AF%86%E6%83%85%E5%A0%B1%E3%82%92%E3%82%B0%E3%82%B0%E3%82%8B-59d14268ebd3c90012586f22 と通じるところがあるやろか

https://episopass.com/ https://github.com/masui/EpisoPass2023