A place to help you with technology, science and mathematics.
I always wanted to share the beauty of time with everyone. Here is a set of great videos that explain space-time in a very simple yet effective manner. A special thanks to ted-Ed for making such wonderful videos.
Newsbot is a twitter-bot which tweets news headlines from various verified news sources. To increase its reach and engagement I had created a rudimentary version of an auto-hashtag maker. The algorithm is very basic. It just crawls the URL of the article and filters out the stop words (Eg: to,an,a,the..). It then analyses and sorts the words based on their density. It then compares these words with the once already in the headlines and if there is any match, it uses the matched word as the hashtag. Nothing fancy. It did its job of increasing the views per tweet and added some followers too but most of the hashtags were totally hilarious.
As you can see above, the hashtags were not at all informative. But sometimes this method did give an average hashtag...
And sometimes pretty good ones too...
As this algorithm does not take into account the importance of words in shaping the meaning of a sentence, it doesn't make powerful hashtags.
The 2nd version, which the Newsbot now uses, ut…
The robots that I build do not stay for long as I dismantle them and use their parts to build other
projects. Actually I do that to save money and whenever my friends ask me to show some of my robots, I am left with nothing. So I decided to build a permanent robot that I can show to my friends and relatives if they ask me to do so. I wanted to keep the robot as cheap and simple as possible so as to not hamper other projects. I decided to build a simple line follower as line followers, though simple, are very entertaining to watch.
SensorsPhoton had to be cheap so I decided to use LDRs and LEDs to build a line sensor. The principle behind its working is very cheap, white reflects light whereas black not so much. I used white LEDs to allow Photon to follow any colored line on a contrasting surface.
I used geared motors in Photon because they are cheap, provide sufficient torque and draw sufficiently small amounts of current under load.
K nearest neighbors is one of the most popular classification algorithms. I just happened to create my own version of it to understand how it works and ended up with a simplified version of KNN that is easy to use and pretty accurate.