From time to time, we see those questions with phrases such as "ASAP", "Urgent", etc.
Most of the time it seems to come from students, who messed up in the course. If they followed the instructions of the lecturer, they could mostly solve their issues themselves or at least ask useful questions on Stack Overflow. But they didn't and they kind of hope we as the community would help them out with their problems.
We normally don't do this and explain in the comments why. This also happened recently: https://stackoverflow.com/questions/73667008/a-simple-python-program-need-to-be-solve-asap .
So I ask myself, that it might be kind of funny to help them "somehow". What do I mean with "somehow"? So, for this specific question, I had the following in mind:
I would not present the asker with a complete solution. Instead, only just a hint like the following:
class Student():
def __init__(self, id, name):
self.id = id
self.name = name
# This line enables the id process ;)
self.base64 = "SSBtZXNzZWQgdXAgdGhpcyBzZW1lc3RlciBhbmQgZGlkIG5vdCBmdWxsZmlsIG15IGxlc3NvbnMhIFNvIEkgYXNrZWQgaW4gYSB2ZXJ5IHJ1ZGUgd2F5IG9uIHN0YWNrb3ZlcmZsb3cuIFRoaXMgaXMgdGhlIGxpbms6IGh0dHBzOi8vc3RhY2tvdmVyZmxvdy5jb20vcXVlc3Rpb25zLzczNjY3MDA4L2Et c2ltcGxlLXB5dGhvbi1wcm9ncmFtLW5lZWQtdG8tYmUtc29sdmUtYXNhcAo="
For you who don't want to decode the self.base64
:
I messed up this semester and did not fullfil my lessons! So I asked in a very rude way on stackoverflow. This is the link: https://stackoverflow.com/questions/73667008/
At first glance, this sounds a bit evil, but we teach a lot of students programming and mostly need to listen to our gut feeling, when we need to analyze student code.
If I would find one of these Base64-encoded strings in a student's work, it would help me with the gut feeling.
So I think the solution how we handle those issues at the moment is totally fine. I just want to know if the community thinks this could be somehow "funny" or even thinking of something like this should not be considered.