ChristopherBiscardi / advent-of-code

236 stars 47 forks source link

Update .gitignore to exclude input #10

Closed Adair-GA closed 11 months ago

Adair-GA commented 11 months ago

The owner of the site asked for the inputs not to be published some time ago, also, it might be infringing copyright (post and explanation here)

ChristopherBiscardi commented 11 months ago

The inputs are in this repo because I use the github repo to sync between different computers, such as my mac and windows pc when running benchmarks. If they were not in the repo, I would have to find a different way to do that which is definitely a hassle and reduces the reproducibility of the setup for anyone who is interested in the behavior of the code.

Additionally, I do not see anywhere where it says the inputs can not be in a repo like this.

The owner of the site asked for the inputs not to be published some time ago

This seems inaccurate from the link you shared, they are asking people to not aggregate inputs across users and especially to not redistribute all of the inputs in bulk (ie: cloning the site).

The site author's comments seem to indicate that what I'm doing here is ok. I am not collecting anyone else's inputs here, which means that they are only mine and only what's necessary to run my solutions. I read this as being acceptable under the "a few inputs" portion.

I don't mind having a few of the inputs posted, please don't go on a quest to collect many or all of the inputs for every puzzle.

The FAQ states that streaming and such are acceptable, during which sharing input is required (for example, if I'm looking at my input on screen and debugging why the test input doesn't match the real input).

Can I stream my solution? Please try to avoid giving away the solution while people are competing. If a puzzle's global daily leaderboard isn't full yet and you're likely to get points, please wait to stream/post your solution until after that leaderboard is full. If you are unlikely to get points or the daily leaderboard is already full for the puzzle you're working on, streaming is fine.

The legal section states more information about the "design elements, language, styles, and concept of Advent of Code".

Advent of Code is a registered trademark in the United States. The design elements, language, styles, and concept of Advent of Code are all the sole property of Advent of Code and may not be replicated or used by any other person or entity without express written consent of Advent of Code. Copyright 2015-2023 Advent of Code. All rights reserved.

You may link to or reference puzzles from Advent of Code in discussions, classes, source code, printed material, etc., even in commercial contexts. Advent of Code does not claim ownership or copyright over your solution implementation.

Additionally addressing your comment from youtube:

as I and probably a lot of people are using you repo with the cargo template

This repo is not a template in and of itself. The cargo generate template I use for each day is a sub-section of the repo which does not include any inputs. It would be expected that people are deleting (at least) the days-* directories if they intended to use this repo as a starting place to do their own work.


With all of that in mind, I'm going to close this PR and keep the inputs because it makes my work participating in advent-of-code easier and I'm not aggregating anything.

If there is an official announcement that clarifies this I am happy to revisit it.

Adair-GA commented 10 months ago

As per the offiicial FAQ

Can I copy/redistribute part of Advent of Code? Please don't. Advent of Code is free to use, not free to copy. If you're posting a code repository somewhere, please don't include parts of Advent of Code like the puzzle text or your inputs. If you're making a website, please don't make it look like Advent of Code or name it something similar.