thoughtt ...thinking aloud

The Science of Averaging!

A couple of months back, I created an average face of all members of Iran’s Islamic Consultative Assembly. It was a quick 5-minute project and It has been done thousands of times. There was nothing special about this project, but something very interested happened when I started to show the results to people outside the field of Computer Science... Read more

Randomness of Uninitialized Variables

The other day I came across this interesting question on StackOverflow. The OP is merely asking whether it is a good idea to use an Uninitialized Variable (UV) as a random number generator. There are several answers to this question, from the Software Engineering point of view, it might be a terrible idea; because this kind of code introduces ... Read more

I made a game to better understand CNNs

One of my hobbies is to play with pre-trained models to see how good they perform. Almost always it was clear to me that pre-trained models, like DeepLab or MaskRCNN, are not particularly good at detecting some abstract representations of an object. They are to some extends good at detecting (full) silhouettes, but they perform poorly when they ... Read more

A Quest for fixing Recommendation Systems

Do you ever wonder where youtube will take you if you watch 1000 videos in a row, or what happens if you press the Next button for a large number of times? Let say you start watching the trailer of Spider-Man: Far From Home, could we say anything particular about the 1000th video after this one? Is it going to be a Movie trailer or Music Video, ... Read more