Quote:
Originally Posted by
rbatte1
I think it would always only report user
oracle too.
Maybe you left these nuggets in for the requester to debug and therefore learn ...?
No, I just tested it with the Oracle user and did not change both places where I had it hard coded.
---------- Post updated at 11:18 AM ---------- Previous update was at 11:14 AM ----------
Quote:
Originally Posted by
bakunin
Gandolf989, as much as i appreciate your contribution, but:
Moderator's Comments:
|
|
there are rules in place and they are there for a reason. I, for one, wouldn't like to have a colleague who - instead of knowing his stuff at the exam - passed it only because of someone knowledgeable fed him his lines. In fact i once had such a colleague and i didn't like doing the work of two alone very much. I assume you wouldn't like to be treated by a physician who needed help to pass his exams, no?
Therefore, please, if someone asks if a certain question is homework, especially if it someone from the moderation team: wait until an answer is given.
For a long time we didn't allow any coursework/homework-related questions at all. At one time and after giving all the pros and cons a lot of considerations we consulted a specialist in this area (a university professor dealing with such issues) and we recognized that there are sometimes classes where the students are not given the necessary information to do their studying.
We created a special forum for homework/coursework questions where we try to answer questions of students in a way so that they are able to work their way to an answer themselves. There needs to be the class and the name of the teacher revealed so that the student has to acknowledge what help he relied on and in which way it was given. We allow students questions only in these special board and only after a proper identification of the course/class is given.
|
|
Furthermore, there might be a problem with your code: consider there would be a user "xyz" and you search for user "xy". How would your script react, hm?
bakunin
That is a valid point. But if the goal is to educate, the one liner showed that you can string together a number of statements and get the answer. Ideally people learn through careful study and practice, but for most people I think they need to see a code example. So my code, although it was initially wrong, demonstrated how to break the problem down into smaller problems that can easily get solved.
Of course if he is really taking a test, he probably did not get what he wanted in time to cheat.