I am in the process of creating a project that I would like to make open source for the community.
Ideally, I would like to restrict the use of my code to non-commercial use only. Is this possible?
If not, am I able to specify that if my source code is used for any commercial activities then I am entitled to receive a compensation or would that require I choose a dual-license?