Homework or self-study, it comes down to the same thing - if someone can't show that they have put any effort in solving the problem then they shouldn't expect someone here to just hand them a solution.
You didn't read the rules quite right. We do help with homework problems, but only if the poster shows some effort. We also try to give hints on solving the problem rather them handing out some complete working code. This way the poster might actually learn something from their assignment (aside from how to use ctrl-c ctrl-v). I think it was something like:
"Driving someone somewhere is one thing, but telling them to get a damn drivers license of their own is another"
Homework and selfstudy can be completely different things. Often, people just want to get homework done. Their aim is not to learn the material or even do it well. It's just to complete it so it's satisfactory for whoever checks it.
Selfstudy is trying to learn something yourself for the sake of learning it or to pass an exam. And to pass an exam you need to learn the material. See where I am going?
Also, I wasn't talking about the rules. I was talking about people's attitudes to questions being posted. I think a lot of the posts here are to do with homework but for the ones that are not; I would say they want to understand what, where and how rather than being given a solution or hints that they can't use because they don't have the understanding to use them.