Another thing that has been repeated several times is that recasing the clock was behaviour that should be encouraged, I don't completely agree with this. Yes, curiosity and experimentation should be encouraged, but playing with mains voltage electrical equipment and bypassing the most basic safety feature (the insulating case) without making any attempt to make it safe? The first teacher should have confiscated it and had a talk with him on the safety basis alone. The clock was a fire and electrical shock risk.
As regards electrical safety, true. However, that's not really what is at issue here. Again, making unsafe electrical devices does not usually result in handcuffs.
I think a lot of what happened here is that there is a strong element of "He doesn't deserve all this praise......"
Despite the attention, and the monetary value in some cases, it isn't real praise in any real sense. It's sticking up for the little guy. The kid shouldn't have been arrested. When people saw that picture of him in handcuffs, some pretty prominent guys jumped in on his side. One of those in particular is the kind of person that, when he praises someone, others feel they have to attack whoever has been praised. It's important that if Obama says something is good, others have to say it's bad, or that Obama shouldn't be saying it, or that Obama has nothing to do with it. Suddenly, it's all about Obama.
Ahmed got really lucky on this one.
So yes, the next time someone walks in with that sort of device, I do want someone to inspect it for safety and say, "That's great, but......" But I won't condemn the little scoundrel for not complying with UL codes.
As to your point about fake bombs, I keep going back to the idea that he said it was a clock.
Aha, some have said. That doesn't mean anything....and they have explained why, and have given examples that don't fit.
There's no indication that anyone felt threatened. There's no indication that he tried to make anyone feel threatened. At most, he might have possibly been wanting to demonstrate that there was pervasive Islamophobia, and to do that he would craft a device that was obviously safe, and would tell everyone it was obviously safe, and watch them freak out anyway. At most, he was trolling. If that's what he was doing, it worked. Well played, son. Maybe you won't be an engineer someday. Have you considered being an investigative reporter?
ETA: And, I said "it worked" which would suggest that it proved Islamophobia. That isn't necessarily true. I am not 100% certain that Islamophobia was at work here. It fits the data, but it could be coincidence. Regardless of whether or not it is true, a lot of people think it's true. If he was trying to make points in the field of public opinion, he succeeded beyond his wildest dreams.