<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Alien Brains - Medium]]></title>
        <description><![CDATA[A cradle of innovation and creativity where we explore and assist organisations and curious minds through mentoring and developing products. - Medium]]></description>
        <link>https://medium.com/alienbrains?source=rss----d4bdd0480161---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Alien Brains - Medium</title>
            <link>https://medium.com/alienbrains?source=rss----d4bdd0480161---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:03:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/alienbrains" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Accuracy is not a good measure all classification problems?]]></title>
            <link>https://medium.com/alienbrains/why-accuracy-is-not-a-good-measure-all-classification-problems-efd841bb70b6?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/efd841bb70b6</guid>
            <category><![CDATA[confusion-matrix]]></category>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[classification-metrics]]></category>
            <category><![CDATA[imbalanced-data]]></category>
            <dc:creator><![CDATA[Aoishi Das]]></dc:creator>
            <pubDate>Thu, 21 Apr 2022 11:02:27 GMT</pubDate>
            <atom:updated>2022-04-21T11:27:10.496Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why is Accuracy not a good measure for all classification problems in Machine Learning?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*spuISJvBFmm8jLJPjxCbsw.jpeg" /></figure><h3><strong>Hey Guys !!</strong></h3><p>So most of you have solved problems based on classification tasks right? When the model is built what metric do you use often. <strong>ACCURACY</strong> isn’t it? Well we often say the accuracy is 99% so the model must be doing great. However have you ever come across this situation that even after attaining a very high accuracy, your model fails to perform well while giving predictions later on?</p><p>I have faced this problem multiple times and guess what can be the issue? <strong><em>Imbalanced Data !!</em></strong></p><blockquote><strong>What is imbalanced data?</strong></blockquote><p>Let’s take an example of a dataset : Credit Card Fraud Detection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*htu1P_4UJO2Nj1dfjQyurw.png" /><figcaption>Shape of the Dataset : Credit Card Fraud Detection</figcaption></figure><p>If you observe we have 2,84,807 datapoints but out of that only 492 are fraud cases whereas 2,84,315 are genuine cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JAYaY-Q4unlmE3T7CxL_Ng.png" /><figcaption>Imbalanced Data</figcaption></figure><p>This type of datasets are called Imbalanced Datasets where majority of the datapoints belong to one class.</p><blockquote><strong>Why Accuracy isn’t a good measure for Imbalanced Datasets?</strong></blockquote><p>First of all what is ACCURACY ? It basically tells us the number of correct predictions out of all the predictions.</p><p>Now coming back to the original question, let’s say your model fails to classify any of the fraud detections. Still it will have an accuracy of 99.83% (284315/284807). Crazy right? You will think your model is doing extremely well whereas in reality it will perform awful when you test it out. <strong>So accuracy is definitely not a good measure in this situation</strong>. How to solve it?</p><p>Well we do have some other metrics which we can use : <strong>Precision, Recall, F1 scores.</strong></p><p>But before we move on we need to know about <strong><em>Confusion Matrix</em></strong>.</p><blockquote><strong>What is a Confusion Matrix?</strong></blockquote><p>A confusion matrix is a table that summarizes the performance of a classification algorithm. It looks something like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*KHyW5mfJO7Ov17S1arveWg.png" /><figcaption>Confusion Matrix</figcaption></figure><p>It can be used for both <strong><em>binary</em></strong> and <strong><em>multiclass</em></strong> classification. But since we are dealing with a binary problem let’s stick to the example as of now.</p><p>Since here we are doing fraud prediction :</p><p><strong><em>Fraud : Positive class, Genuine : Negative class</em></strong></p><p>There are few terms we need to know :</p><p><strong>True Positive</strong> : Transactions predicted as fraud and are fraud in reality (In this example TP= 65)</p><p><strong>True Negative</strong> : Transactions predicted as genuine and are genuine in reality (In this example TN= 56826)</p><p><strong>False Positive</strong> : Transactions predicted as fraud but are genuine in reality (In this example FP= 32)</p><p><strong>False Negative</strong> : Transactions predicted as genuine but are fraud in reality (In this example FN= 37)</p><blockquote><strong>Accuracy:</strong></blockquote><p>It is basically number of correct predictions out of all the cases. So in this case :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*xczMbjP-RmXcngM5J7zYvA.png" /><figcaption>Accuracy</figcaption></figure><p><strong><em>Accuracy = (56828+65)/(56828+65+37+32) = 0.9987 i.e. 99.87%</em></strong></p><p>However if you observe there are clearly multiple cases where genuine has been classified as fraud and vice versa. Hence just moving ahead with this model as it has a high accuracy is not a great move. Let’s have a look at the other metrics which give information about those wrong predictions too.</p><blockquote><strong>Precision :</strong></blockquote><p>Out of all the predictions that are positive (i.e. fraud) how many are actually positive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*li64AaJx20DvWSuYJMLKmg.png" /><figcaption>Precision</figcaption></figure><p><strong>Precision = 65/(65+32) = 0.67 i.e. 67%</strong></p><blockquote><strong>Recall :</strong></blockquote><p>Out of all the cases that are positive (i.e. fraud) in reality how many have been classified correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*TReBD7vTxHDU-UYyYKyuKQ.png" /><figcaption>Recall</figcaption></figure><p><strong>Recall = 65/(65+37) = 0.6372 i.e. 63.72%</strong></p><p>Now we would definitely want to reduce the False Positive and False Negative cases as much as possible thus increasing the Precision and Recall. We have another metric that combines these two together :</p><blockquote><strong>F1 Score :</strong></blockquote><p>Combines Precision and Recall together as the Harmonic Mean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*H4L-HYNd3xxG1qLT2tOOdg.png" /><figcaption>F1 Score</figcaption></figure><p><strong>F1 Score = (2*0.6372*0.67)/(0.6372+0.67) = 0.6532 i.e. 65.32%</strong></p><p>Thus for such imbalanced datasets Accuracy isn’t a good measure. So instead of just relying on Accuracy we should also check the Precision, Recall and F1 Score and should go ahead with a model when all theses values are high.</p><p>Now if the dataset is imbalanced is there any way to solve that. Well yes. We will talk about it in the next blog. So stay tuned!!</p><p>Feel free to comment down below if you have any doubts..</p><p><strong>All the best and Happy Learning..!!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efd841bb70b6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/why-accuracy-is-not-a-good-measure-all-classification-problems-efd841bb70b6">Why Accuracy is not a good measure all classification problems?</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ISB’S Platform For Leverage]]></title>
            <link>https://medium.com/alienbrains/isbs-platform-for-leverage-fe80e3b820a0?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/fe80e3b820a0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[scholarship]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[study-abroad]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Alien Brains]]></dc:creator>
            <pubDate>Tue, 20 Jul 2021 11:25:49 GMT</pubDate>
            <atom:updated>2021-07-20T11:25:49.695Z</atom:updated>
            <content:encoded><![CDATA[<p>ISB stands for “<strong>India’s Super Brain</strong>”. It is India’s largest competition where students can register for <strong>free</strong>. This competition consists of three technologies i.e. IoT with Machine Learning, Algorithms &amp; Data Structures and Game Development with JS. ISB platform is open for every individual, anyone can be a part of this competition and it doesn’t matter to which educational background he or she belongs. The one who wants to learn new things and has a great grasping power should definitely apply for this unique competition so that they can explore more in their interests and can grab great opportunities which will benefit their career. Recently ISB has collaborated with <strong>Geeks for Geeks</strong> and now it has a tie-up with the “<strong>Leverage Edu”</strong>.</p><figure><img alt="india’s super brain * leverage edu" src="https://cdn-images-1.medium.com/max/820/1*wqei-v1b2BxIvwl6r71mPA.jpeg" /></figure><p><strong>Leverage Edu</strong> is the world’s leading platform that gives expert career guidance for school students, university students, and working professionals. It has more than 2500+ mentors who work closely with you to give a realistic viewpoint about your career goals and enable you to build a successful career. It also gives opportunities such as to study abroad, scholarships, and helps crack Exams like GMAT | GRE | IELTS | TOEFL | PTE | SAT | ACT with proper training which includes-</p><ul><li><strong>200K+ hours of live training delivered</strong></li><li><strong>Live classes with small batches and 24x7 learning support</strong></li><li><strong>Diagnostic tests and periodic evaluations help identify the focus areas</strong></li><li><strong>Real-time interactions with educators using the “Video Call” feature</strong></li><li><strong>It gives opportunities to the students to study Aboard like study in Australia, Canada, the USA, and other destinations like New Zealand, China, Germany, &amp; Russia. It also provides a proper country guide, cost of living and study pattern of the country which we choose to go to.</strong></li></ul><p>ISB 6-weeks program includes two weeks of live hands-on mentorship program from basics to expert level with 40+hours for each topic with an average of 4 hrs per day and in addition, it includes doubt sessions every day which will help the students to compete with the people who are experts on these technologies on high level. Some perks &amp; awards will be given to the students like — Top 100 will get a job opportunity, Rank of 101–500 will get a paid internships opportunity.</p><p>As ISB collaborating with Leverage Edu, it will be a great benefit &amp; full of opportunities for all the students who want to learn new things and explore themselves much more to have a better future ahead &amp; achieve their goals. For the viewers, I&#39;m attaching the links to both websites so that all can explore more about it.</p><p>ISB link - <a href="http://isb.alienbrains.in/">isb.alienbrains.in</a></p><p>Leverage Edu- <a href="https://leverageedu.com/">https://leverageedu.com</a></p><p><strong>Webinar Details:</strong></p><p>Leverage Edu brings to you an EDUCATION ABROAD BOOTCAMP.</p><p>Dr Maina Chawla Singh:<br>An alumnus of American University, Washington DC with over 10 years of experience has addressed over 10+ seminars on cracking competitive exams, career selection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ufeD6GkgViJ2tNBQ5dZ_9Q.jpeg" /></figure><p>Join Leverage Edu on Telegram: <a href="https://t.me/LeverageBeyond">https://t.me/LeverageBeyond</a></p><p>Webinar Registration Link: <a href="https://zoom.us/webinar/register/WN_sQpp_hlASz6oRbNnZ4Hdlw">Zoom</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe80e3b820a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/isbs-platform-for-leverage-fe80e3b820a0">ISB’S Platform For Leverage</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yasya 21: Best in the south west.]]></title>
            <link>https://medium.com/alienbrains/yasya-21-best-in-the-south-west-4d2d4fc8fdb?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/4d2d4fc8fdb</guid>
            <category><![CDATA[kerela]]></category>
            <category><![CDATA[events]]></category>
            <category><![CDATA[college-fest]]></category>
            <category><![CDATA[college]]></category>
            <category><![CDATA[college-life]]></category>
            <dc:creator><![CDATA[Neeraj Kumar]]></dc:creator>
            <pubDate>Fri, 11 Jun 2021 10:34:49 GMT</pubDate>
            <atom:updated>2021-06-11T10:34:49.295Z</atom:updated>
            <content:encoded><![CDATA[<p>Southwest India encompasses the states of Andhra Pradesh, Karnataka, Kerala and Tamil Nadu. The most beautiful aspect of any region is its people. Most of the people in southwest India are attached to their language, track, subculture, food and faith. They recognize and respect every difference while embracing their privateness. This region also has a very rich cultural heritage and history. Southwest India is a major educational and research hub with various institutions in different fields. Puttu and kadala curry, Palada payasam, Banana fritters are the best food dishes in the south west of India. Talking about the best of the south west, we cannot miss talking about Yasya.</p><p>Yasya is the inter-collegiate cultural festival of St Thomas Institute For Science And Technology College which is located in Trivandrum. Yasya was first started in 2014 by the name ‘Exodia’. This is going to be its 7th edition. In its recent editions, Yasya has seen amazing performances by Thaikkudam Bridge, Rapzodia — Gowry Lekshmi and DJ — Arez Armarick. Apart from star performances, there are various events conducted in Yasya which take place on an intercollege and intracollege basis. In the past years, a footfall of 3500 has been experienced in Yasya. This year, intercollege events such as Bottle art, Online Photography Contest Online Reels Contest, Group Dance, Solo Song, Solo Dance, Valorant Tournament, Treasure Hunt, Best Actor are planned. One can register for the same by visiting Yasya website. There are also various intra college events planned.The pre show is planned on 12th June which is a talent show open for students of St Thomas Institute For Science And Technology college.</p><figure><img alt="Yasya 21 Live on Sociana" src="https://cdn-images-1.medium.com/max/1024/1*d0FnojkGHLPqJiOIHb4lcA.jpeg" /></figure><p>The conduction of Yasya wouldn’t be possible without sponsors. We take pride in announcing Sociana as the Event Partner of Yasya’21. Sociana provides a common platform to host all types of events- whether it is a wedding, a conference, a party or a college fests. It uses AI automation to unfold the entire event experience. This feature becomes all the more important during the pandemic where people cannot travel. Sociana has some other amazing features. Firstly, their download is completely free and they have a zero code policy. Secondly, you can create a bond by using Sociana as it supports a new way to enable “within event networking” which is completely secured, friendly and fun! So you can talk to people attending the same event. It also has a feature of location based triggers that send notifications which ensures guest/attendee engagement pre/post events. It even supports customization and hence your event can have the look and feel you want. They take care of all your hospitality hassles, while you relax and focus on other aspects. Once onboard, a ‘premium’ user can also ensure all pilferages can be tightened. In addition to this, it is very manageable and hence guest memories can be secured and managed easily. They even have live Streaming of events in a secured environment. Plus you can send upto 5000+ sms Invites free with every event. Yasya 21’ would not have been possible without <a href="https://www.sociana.com/">Sociana</a>.</p><p>Just as Yasya is the best fest in south west of India, Sociana is the best hosting company throughout India. Come experience Yasya on Sociana this year to be a part of the best of the best.</p><p>To know more about YASYA ’21 <a href="https://linktr.ee/Yasya_21">Click here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d2d4fc8fdb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/yasya-21-best-in-the-south-west-4d2d4fc8fdb">Yasya 21: Best in the south west.</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YASYA 21 -The never ending legacy]]></title>
            <link>https://medium.com/alienbrains/yasya-21-the-never-ending-legacy-14f8c7dee01f?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/14f8c7dee01f</guid>
            <category><![CDATA[college-festival]]></category>
            <category><![CDATA[college-life]]></category>
            <category><![CDATA[college]]></category>
            <category><![CDATA[events]]></category>
            <category><![CDATA[kerela]]></category>
            <dc:creator><![CDATA[Neeraj Kumar]]></dc:creator>
            <pubDate>Fri, 11 Jun 2021 10:24:53 GMT</pubDate>
            <atom:updated>2021-06-11T10:24:53.395Z</atom:updated>
            <content:encoded><![CDATA[<p>St Thomas Institute For Science And Technology hosts an amazing cultural fest known to be the best in Trivandrum! Considering the set back due to Covid since almost the past two years, Yasya didn’t come to fruition last year. But the wait is finally over because YASYA is BACK with a bang with a virtual fest this year! It’s about time to leave all the sore memories and grimes of boredom behind and live life the way it is meant to be lived with exuberance!</p><p><strong>Yasya ’21 Logo Launch</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fv4blYA2VCbg&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dv4blYA2VCbg&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2Fv4blYA2VCbg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ac5169ffb8b7e94c73539f759f0da426/href">https://medium.com/media/ac5169ffb8b7e94c73539f759f0da426/href</a></iframe><p>Let’s take a trip down memory lane to see Yasya’s journey so far.</p><p>Yasya was always filled with a variety of programs and contests which just gradually increased in scale every year. It became one of the best cultural fests in Trivandrum with the dedication and the hard work of the students @ STIST.</p><p>The memories made during Yasya are there to stay with the students when they look back at their college life. Yasya conducted various successful events which saw the presence of famous performers like <strong>DJ Siana Kathrine</strong>, The <strong>Thaikudam Bridge </strong>and <strong>Gowri Lekshmi</strong>. The credit for the consecutive successes of Yasya goes to the hardworking team of students behind it and the audience without whom no fest can truly become magical.</p><p>Yasya also plays an important rule in developing the students’ personality. With over 50 events conducted and over 150 prizes distributed amongst 3500 outstanding participants, Yasya has a legacy to boast of. And we aim to add to it with <strong>Yasya 21!</strong></p><p>Without slipping into anymore nostalgia let’s dive right into the good stuff Yasya’21 is bringing you! YAY!</p><p>Yasya will be conducted on <a href="https://www.sociana.com/">Sociana </a>this year. It provides a great platform for conducting and live streaming such a large scale event. You can also connect with your friends during the festival and enjoy the fest together from the comfort of your own homes.</p><p>So step one would be to download Sociana to be a part of it!</p><p>We have an amazing list of events lined up for you. You name it, we have it. Let’s have a peek a boo:</p><p><a href="https://www.yasyastist.com/online-reels-contest/"><strong>1.</strong> <strong>Acting… Acting…</strong></a></p><p>Let’s face it, we are all addicted to reels! So why don’t we see who does it the best? Unleash the actor and performer within you to create reels and make sure to have fun with it!</p><p><a href="https://www.yasyastist.com/bottle-folio/"><strong>2.</strong> <strong>Bottlefolio</strong></a></p><p>This is the right time and opportunity to bring out that artist within you, only with a twist. Bring out your imagination in a bottle and let’s get creative.</p><p><a href="https://www.yasyastist.com/online-photography-contest/"><strong>3.</strong> <strong>Smile please</strong></a></p><p>Click!Click!Click! Let’s see who beats whom and who captures what!</p><p><a href="https://www.yasyastist.com/treasure-hunt/"><strong>4.</strong> <strong>Jumanji</strong></a></p><p>Besides being obsessed with this movie we sure know how to hide the treasure but do you hold the ability to crack the trick and dig it up? Well, let’s find out!</p><p><a href="https://www.yasyastist.com/solo-song/"><strong>5.</strong> <strong>Metronome</strong></a></p><p>മാധുരമായ meaning melody within you. Let’s open our hearts and sing to celebrate the melody within you!</p><p><a href="https://www.yasyastist.com/group-dance/"><strong>6.</strong> <strong>Quadrille</strong></a></p><p>Teamwork is what defines us and coordination is what makes a group. There is nothing better than a dance troupe that proves it so accurately. Bring back your dance shoes with your amigos!</p><p><a href="https://www.yasyastist.com/best-actor/"><strong>7.</strong> <strong>Start action</strong></a></p><p>The dreams of the big award shows turning into reality is something we have craved since we were 4! And the award for best actor goes to… You?</p><p><a href="https://www.yasyastist.com/solo-dance/"><strong>8.</strong> <strong>Step Up</strong></a></p><p>Dance is the language of your soul and in the times where you need to express yourself the most, let us spring free and let the soul dance with your solo dance!</p><p><a href="https://www.yasyastist.com/valorant/"><strong>9.</strong> <strong>Valorant</strong></a></p><p>“Aye macha, let’s Valo?” is probably the most sent text in every group chat. Let’s do that again and show off ’em skills!</p><p><a href="https://www.yasyastist.com/poker/"><strong>10.</strong> <strong>Poker</strong></a></p><p>Literally the time to put on your poker face and hit it! Do you fold or call or raise? Do you read that face or do you take the risk? Let’s have Full house homies!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XgzTJxTh9tjUh319dOjctQ.jpeg" /></figure><p>‘Could it get any more exciting?’ YES.<a href="https://f924876c-3119-415a-b647-ce1be8056447.filesusr.com/ugd/e534fe_8093ad6a73e940bb8ab5b31f6bfd0e21.pdf"> Check this out</a> for further details. You can register for any event irrespective of the college you are from to experience the thrills and the frills. You can head on to<a href="https://play.google.com/store/apps/details?id=com.alienbrains.sociana&amp;hl=en_IN&amp;gl=US"> Sociana</a> or register yourself at<a href="https://www.yasyastist.com/intercollegeevents/"> YASYA 21</a> ! See you there and here’s hoping you have a great time :))</p><p>To know more about YASYA ’21 <a href="https://linktr.ee/Yasya_21">Click here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14f8c7dee01f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/yasya-21-the-never-ending-legacy-14f8c7dee01f">YASYA 21 -The never ending legacy</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YASYA 21 : Engulfed in luminance]]></title>
            <link>https://medium.com/alienbrains/yasya-21-engulfed-in-luminance-b15d6c291a8c?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/b15d6c291a8c</guid>
            <category><![CDATA[college-life]]></category>
            <category><![CDATA[college]]></category>
            <category><![CDATA[kerela]]></category>
            <category><![CDATA[events]]></category>
            <category><![CDATA[college-fest]]></category>
            <dc:creator><![CDATA[Neeraj Kumar]]></dc:creator>
            <pubDate>Tue, 08 Jun 2021 13:54:20 GMT</pubDate>
            <atom:updated>2021-06-11T10:37:19.108Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>YASYA 21 : Engulfed in luminance</strong></h3><p>Yasya is an inter-cultural festival of St Thomas Institute For Science And Technology which is located in Trivandrum. Yasya was first started in 2014 by the name ‘Exodia’ and this is going to be its 7th edition. Yasya in the past year has seen amazing performances by Thaikkudam Bridge, Rapzodia — Gowry Lekshmi and DJ — Arez Armarick. Along with such stellar performances, there are various events conducted in Yasya which take place on both inter-college as well as intra college levels. Through the years, this fest has grown and expanded itself, witnessing a footfall of more than 3500.</p><p>The theme sets the tone of any fest. Carrying forward the tradition of keeping a new theme every year, this year the theme of Yasya is ‘<strong>Engulfed in Luminance’.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d0FnojkGHLPqJiOIHb4lcA.jpeg" /></figure><p>Everyone faces difficult situations in life. Some problems are personal, some are in public, some across the world. Currently, the entire world is fighting against the pandemic. Covid-19 brought with it some unprecedented times. No one had ever imagined that a time would come where the whole world would come to a halt. Humanity suffered to its peak. The definition of a ‘Normal Life’ changed. The world halted, but did it stop working? No, it did not. The times changed, people around us changed, darkness overpowered us in almost every possible way but humanity did not loose hope. Every cloud has a silver lining and the world found its silver lining. We fought against the problem. Our front line warriors gave this pandemic their everything. The fire burning inside them encouraged others also to fight and help in any possible way, leading to us overcoming the pandemic to some extent. The fire burning within them guided the world through its light.</p><p>This year’s theme, Engulfed in luminance, represents the Yasya team that is here to spread the light of hope to each and everyone to overcome this pandemic. Everyone is doing their bit, so are we. We are here to spread smiles and joy through music, lights and by creating memories of our college life. A pandemic cannot stop us from spreading joy.</p><p>On the foremost, the conduction of Yasya wouldn’t be possible without our sponsors. We would just like to extend our gratitude to our event Partner <a href="https://www.sociana.com/"><strong>Sociana</strong></a><strong>:- </strong>A common platform to host all types of events- Be it a Wedding, a Conference, Party, College Fests, etc. They use AI automation to unfold the entire event experience. This feature is so important during a pandemic where people cannot travel. This app ensures that you do not miss out on any special occasions involving your near and dear ones.</p><p>Sociana has some amazing features. Firstly, their download is completely free and they have a zero-code policy. Secondly, you can create a bond as it supports a new way to enable “within event networking” which is completely secured, friendly and fun! So you can talk to people attending the same event. They even have a feature of location-based triggers that send notifications which ensures guest/attendee engagement pre/post events. They even support customization and hence your event can look like you want. They take care of all your hospitality hassles, while you relax and focus on other aspects. Once onboard, a ‘premium’ user can also ensure all pilferages can be tightened. In addition to this, it is very manageable and hence guest memories can be secured and managed easily. They even have live Streaming of events in a secured environment. Plus you can send up to 5000+ SMS invites free with every event. Yasya’21 would not have been possible without Sociana.</p><p>We would like to invite everyone to join Yasya’21 and help us to spread the luminance. We have various inter-college events planned. To name a few- Bottle art, Online Photography Contest Online Reels Contest, Group Dance, Solo Song, Solo Dance, Valoran Tournament, Poker, Treasure Hunt, Best Actor. You can register for the same by visiting our website. We also have various intra college events planned. The pre-show is planned for 12th June which is a talent show open for students of our college.</p><p>Come and celebrate the fire within each one of us at <a href="https://www.yasyastist.com/">Yasya’21</a>!</p><p>Subscribe to YASYA Youtube Channel</p><p><a href="https://www.youtube.com/c/yasya21">Yasya &#39;21</a></p><p>To know more about YASYA 21 <a href="https://linktr.ee/Yasya_21">Click here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b15d6c291a8c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/yasya-21-engulfed-in-luminance-b15d6c291a8c">YASYA 21 : Engulfed in luminance</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YASYA 21 : Embrace the experience]]></title>
            <link>https://medium.com/alienbrains/yasya-21-embrace-the-experience-b76f65c97a3b?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/b76f65c97a3b</guid>
            <category><![CDATA[kerela]]></category>
            <category><![CDATA[college-life]]></category>
            <category><![CDATA[events]]></category>
            <category><![CDATA[college-fest]]></category>
            <category><![CDATA[college]]></category>
            <dc:creator><![CDATA[Neeraj Kumar]]></dc:creator>
            <pubDate>Tue, 08 Jun 2021 13:32:25 GMT</pubDate>
            <atom:updated>2021-06-08T13:32:25.030Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>YASYA 21 : Embrace the experience</strong></h3><p><strong>“One of the most unique experiences of all time”</strong></p><p>Whenever we hear something like ‘fest’, we get immersed into the thoughts of alluring ​​colorful lights, unrestrained music, grooving to the beats of DJs and VJs, and even delicious food. We often tend to bend our hunches towards competitions, large crowds, and the cultural diversity which indeed provide us a massive gift basket of memories.</p><figure><img alt="Yasya 21 Live on Sociana" src="https://cdn-images-1.medium.com/max/1024/1*XgzTJxTh9tjUh319dOjctQ.jpeg" /></figure><p>Knowing people, working with them and understanding them is the crux of all celebrations. Interacting with different ideological personalities adds a bit more spice to our experience. But we don’t merely get it from a fest, there are a lot of things that one learns while putting himself/herself into a fest.</p><p>So, YASYA-21 has come up with a list of things that you take home apart from memories while participating in this festival.</p><p>You will be learning to get out of your respective comfort zones. Fest means “some steps to find the light” which indeed tell you that fests are a platform where one can improve in socialization and communication skills. If a stage scares you then the only way to get rid of this phobia is to put yourself in a situation or an event that automatically pushes you on the stage. College fest is one such platform.</p><p>Students these days are so heavily reliant on social media that they don’t even have time to explore their real life relationships. Fests on the other hand, motivate us to move out of our digital world and build deeper connections with someone we know little about. Fests encourage us to connect with people nearby by putting down our phones.</p><p>While providing an excellent platform to develop and test leadership skills, fests are always designed to give a bundle of memories to the college students. Not everyone is a born leader but one can always end up being one by scratching the edge.</p><p>The pace of life is increasing day by day. Everyone is hustling and rushing to make money or hoping for growth and development. With such a process, it is difficult for students to build strong relationships and spend some time with each other.</p><p>A fest brings students from different regions under the same roof and gives them the opportunity to compete with each other. Yasya 2021 is a cultural fest organized by <strong>St.Thomas Science and Technology College, Kerala. </strong>This is a cultural fest which includes different genres of performing arts.</p><p>As this year’s edition would be an online one, the festival will offer a variety of events, related to the performing and digital art.</p><p>We are going through some bizarre and bleak times ever since the coronavirus outbreak. Such fests not just keep us away from the grief and sadness all around the world but also uplift our mood while it lasts. During these difficult times, it gives us a reason to be happy and optimistic.</p><p>That is why it is so important to step out of our comfort zone and embrace reality with enthusiasm. Since we all know the restrictions and threats of public gatherings in this pandemic, virtual events have come here to give the same feeling. The virtual event industry is rife with new platforms every day. These events include a variety of tools for planning and managing events held online.</p><p>So, here is introducing a platform that helps to host, manage, assist and organize many events and occasions from a centralized platform. It also enhances the user experience by providing virtual venues for online events such as college fests, parties, corporate events.</p><p>We are proud to announce <a href="https://www.sociana.com/">Sociana </a>as our Event Partner. A powerful platform to manage college fest events seamlessly. It gives the culmination of the event experience managing guests with a secure environment to create memories that lasts forever. Sociana provides additional benefits of sending up to 5000+ SMS invites for free with each event.</p><p>So we hope to see you all at <a href="https://www.yasyastist.com/">Yasya’21</a>!</p><h3>A Glimpse of YASYA 2019</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FgZMyi-3PhjQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgZMyi-3PhjQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FgZMyi-3PhjQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/78f38e9edc5a321a9d9042279205cd12/href">https://medium.com/media/78f38e9edc5a321a9d9042279205cd12/href</a></iframe><p>To know more about YASYA ’21 <a href="https://linktr.ee/Yasya_21">Click here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b76f65c97a3b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/yasya-21-embrace-the-experience-b76f65c97a3b">YASYA 21 : Embrace the experience</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YASYA 21 : Locked Down but the game is on]]></title>
            <link>https://medium.com/alienbrains/yasya-21-locked-down-but-the-game-is-on-89d3c5664231?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/89d3c5664231</guid>
            <category><![CDATA[events]]></category>
            <category><![CDATA[college-life]]></category>
            <category><![CDATA[kerela]]></category>
            <category><![CDATA[college]]></category>
            <category><![CDATA[college-fest]]></category>
            <dc:creator><![CDATA[Neeraj Kumar]]></dc:creator>
            <pubDate>Tue, 08 Jun 2021 11:46:30 GMT</pubDate>
            <atom:updated>2021-06-08T13:34:50.530Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>YASYA 21 : Locked Down but the game is on</strong></h3><p>The history of Yasya is a legacy of love, spirit, and enthusiasm. Every student from St. Thomas Institute of Science and Technology takes pride in the fact that Yasya is their festival. With famous performers like DJ Siana Kathrine, The Thaikudam Bridge, and Gowri Lekshmi having performed on our stage, all eyes are on Yasya’21 to take us back to this world of euphoria.</p><p>And as the lights, music, cheers, and memories of the previous editions of Yasya still stay fresh in our minds, it is already time for <strong>Yasya’21</strong>. That’s right! We might be physically locked down in our homes but we refuse to let that act as a barrier for Yasya’21. This first-ever virtual fiesta is about to blow your mind and give you a memorable experience from the comfort of your home. And we couldn’t be more excited for you to join us to be <strong>Engulfed in Luminance</strong>.</p><figure><img alt="Yasya 21: Live on Sociana" src="https://cdn-images-1.medium.com/max/1024/1*XgzTJxTh9tjUh319dOjctQ.jpeg" /></figure><p>We believe every individual has a fire burning within him or her which drives them to get the best out of every opportunity that life throws at them. In these difficult and seemingly dark times, these burning embers signify the hope residing within each one of us. This fire gives the courage and guts to fight every single day in the hope of engulfing the darkness and winning at life.</p><p>We aim to bring some joy to your lives that have been ravaged by the pandemic. Let us transport you to an exuberant world where you can join in with hundreds of people like yourselves and immerse in the feeling of sheer joy.</p><p>The stage of Yasya’21 is all set. It is awaiting to witness an exhibition of talents from individuals of our college that would no doubt be marvelous. So make your songs pitch-perfect, finesse your dance moves, and power up your karate chops, for the pre-show on 12th June is your time to shine! It is time to showcase your unique skills ranging from acting and stand-up comedy to magic tricks and bike stunts. The floor is open to you to grab this opportunity and make the best out of it.</p><p>The pre-show will be followed by an impressive lineup of<strong> Inter-college events</strong>, namely:</p><ul><li>Bottle Art</li><li>Online photography contest</li><li>Online reels contest</li><li>Group dance</li><li>Solo dance</li><li>Solo singing</li><li>Digital poster making</li><li>Treasure hunt</li><li>Valorant</li><li>Poker</li></ul><p>Registration for these events can be done on our <a href="https://www.yasyastist.com/intercollegeevents/">website</a>.</p><p>The emotion tied with Yasya is well elucidated by its audience. And to ramp up this emotion and the overall experience, we are extremely happy to announce <a href="https://www.sociana.com/">Sociana </a>as our event partner. All events of Yasya’21 will be live-streamed on this platform. With its user-friendly interface and easy management of events, all you have to do is sit back (and preferably also grab something to eat) and enjoy the fest and also share your memories with your friends. It is time to hold your breath and grab a seat because you are about to step into the journey of a lifetime, otherwise known as Yasya.</p><h3>Throwback From Yasya ’19</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FgZMyi-3PhjQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgZMyi-3PhjQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FgZMyi-3PhjQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/78f38e9edc5a321a9d9042279205cd12/href">https://medium.com/media/78f38e9edc5a321a9d9042279205cd12/href</a></iframe><p>To know more about YASYA ’21 <a href="https://linktr.ee/Yasya_21">Click here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89d3c5664231" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/yasya-21-locked-down-but-the-game-is-on-89d3c5664231">YASYA 21 : Locked Down but the game is on</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An idea to bring change, with India’s Super Brain]]></title>
            <link>https://medium.com/alienbrains/an-idea-to-bring-change-with-indias-super-brain-f9ff5ec6bfbf?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/f9ff5ec6bfbf</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[empowerment]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[competition]]></category>
            <dc:creator><![CDATA[Ritika Tamang]]></dc:creator>
            <pubDate>Fri, 14 Aug 2020 05:24:34 GMT</pubDate>
            <atom:updated>2020-08-15T09:30:03.422Z</atom:updated>
            <content:encoded><![CDATA[<h4>Empowering people for a better tomorrow</h4><p>This year came with lots of surprises. From the Australian bush fire to the Amazon wildfire to Corona virus, all came as a big surprise that alarmed the whole world. From economy to social interaction everything has been affected. And the world is not the same anymore.</p><p>We, at <a href="https://www.alienbrains.in/">Alien Brains</a>, were affected too, thinking about the next. But this was not a time to be idle.</p><p>We have always tried to make a difference. In the <a href="https://educations.alienbrains.in/">method of learning</a>, we introduced “<em>Study now and pay later</em>” for all our students to give them a helping hand in this time of need, and this was received well.</p><p>But, we wanted to do more.</p><p>One fine day, we happened to discuss among ourselves, how we ended up working at Alien Brains. When at one point of time, during our respective college days, we weren’t exactly the toppers of the class, but we all were keen to learn. We knew if we had got a chance we would not have let it go.</p><p>Life happened, and we arrived at a position where we could look back and think, what would have helped us more. How we felt the need to bring a change in the system.</p><p>We thought, this is what the country could really use — get mentored first and then appear for a competition. This way, instead of judging someone’s potential on what they know, we will be providing them the opportunity to prove to the world, how well they can grasp new concepts. All they need is a chance, and provided they are given an opportunity, they will leave no stone unturned to make the best out of it.</p><p>And thus, we came to the idea of <a href="https://isb.alienbrains.in/"><strong>India’s Super Brain</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hBdskRpTEhurBxXmQCM-dA.png" /></figure><h3>India’s Super Brain — The Details</h3><p>We are organizing a competition where we look for participants ability to grasp concepts and knowledge. Giving them an equal opportunity to compete and rise themselves. Where they can truly discover what they are made of, in a 4 week long competition.</p><p>We have done everything we possibly could in this lock-down! Right? From art, to reading books, to watching every Netflix series and movies. This competition would set forth a new way to spend the lock-down days. Relax our attention from all the happenings, towards an opportunity to make our self better.</p><p>We do not know when will mother nature calm itself. But we are sure, that this pandemic cannot stop us from learning and enlightening ourselves.</p><h3>Mentored Technologies</h3><p>We will mentor our participants with the latest and the most valued technologies in the market. We picked technologies which will grow more in the future. In a way, this will make our participants ready for the future.</p><p>So these are what we penned down -</p><ol><li>Web development with ReactJS</li><li>Machine Learning</li><li>Cyber Security</li><li>Database Management System</li></ol><p>While going through this we came to our next idea —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*nJv_KD2QikfmIRIr" /><figcaption>Look of people when they are hit with an idea. (Source: https://unsplash.com)</figcaption></figure><p>In today’s century these technologies would enable anyone to bring their ideas to market. It would enable everyone to be a <strong>maker</strong>, and bring out the changes that they desired.</p><p>We know there are many people in non-IT sectors who would love to get their feet wet with these technologies. So we came up with a <strong>Warm up Session</strong>.</p><h3>Warm Up Session</h3><p>While the actual competition would start at a later date, warm up session was added so that non-IT people would get a start off knowing about programming. It would be a <em>complimentary cum optional</em> course from our side to all the participants. In this session we would make them understand how technologies can help them in automating stuffs, with the help of Python.</p><p>We named it — <strong>Automate with Python</strong>. Not bad, eh?</p><p>People, who haven’t had any programming experience before, will be introduced to this world while learning how to write scripts in Python, which can automate many tasks. We made it completely optional, and it is recommended to people with little or no prior programming or scripting experiences.</p><h3><strong><em>Introducing Prizes</em></strong></h3><p>Competition and prizes go hand in hand. As we were all set up to host India’s Super Brain we wanted that these real talents to be prized with something worth it, something that would let them grow more. And what better could be an opportunity to learn and earn at the same time. We realized this very thing was something we all wanted to have during our college life too.</p><p><a href="https://isb.alienbrains.in/surprises">List of prizes</a> that we have stored for our participants:</p><ol><li>Rs 5,000 every week to top 25 ranker’s.</li><li>Top 3 will be interviewed and will be featuring on our post competition e-magazine.</li><li>Winner bags a cash prize of Rs 1,00,000. 1st Runner Up bags a cash prize of Rs 50,000 and 2nd Runner Up bags a cash prize of Rs 25,000.</li><li>4th to 10th Ranker’s bags Rs 15,000 and 11th-25th Ranker’s bags Rs 8000.</li></ol><p>These are not all.</p><ol><li>Top 10 Ranker’s will be directly offered a full time job at Alien Brains.</li><li>Top 11–25 Ranker’s will be offered direct paid internship worth Rs 15,000 Per month for a period of 6 months.</li><li>6 weeks exclusive access to an online club for the top 1000 ranker’s.</li><li>All the top 1000 participants will get exclusive free access to an online club for 6 weeks after the competition, where we decided to call present employees of all big IT giants every Saturday from 5 PM — 8 PM. They will guide them, mentor them, answer their queries, and speak about how they got there.</li></ol><h3>Closure</h3><p>Where there is a will, there is a way!</p><p><em>India’s Super Brain</em> is not just for one nation. It is for all those who wants to learn and bring a change. If you are an enthusiast who thinks alike, we believe these technologies will help you in your journey.</p><p>If you want to join, <a href="https://isb.alienbrains.in/register">you can participate here</a>. Or if you want to know more and have any queries about this initiative, visit our <a href="https://isb.alienbrains.in/">competition site</a>.</p><p>Finally, stay safe and stay healthy!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9ff5ec6bfbf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/an-idea-to-bring-change-with-indias-super-brain-f9ff5ec6bfbf">An idea to bring change, with India’s Super Brain</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Context in React Hooks]]></title>
            <link>https://medium.com/alienbrains/context-in-react-hooks-7e65f5130121?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/7e65f5130121</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[react-hook]]></category>
            <category><![CDATA[react-context]]></category>
            <dc:creator><![CDATA[Debarshi Chaudhuri]]></dc:creator>
            <pubDate>Sat, 25 Jul 2020 05:38:47 GMT</pubDate>
            <atom:updated>2020-07-08T15:54:43.559Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*l03h8fPi_dKmHgWsN4GyZw.jpeg" /></figure><blockquote><a href="https://reactjs.org/docs/context.html#contextprovider">Context</a> provides a way to pass data through the component tree without having to pass props down manually at every level.</blockquote><p>When React version 16.3 came out it had an interesting feature, <strong>Context</strong>. Now, why was it introduced? To understand it let’s take up an example.</p><h3>The Project</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*6mFi1pnWEuaT2ADALtQLJA.gif" /><figcaption>Fig 1: The sample project.</figcaption></figure><p>From Fig1 we can see that Component1 has many sub-components namely, Component2, Component 3, Component 4, and a Button.</p><p>When I click the button, the border-color of Component1 goes from red to black, the border-color of Component4 goes from black to red, and the button whose text was black on white alternates to white on black.</p><p>This change in color is achieved using state. My state is initially false and then at the press of the button, I alternate its value.</p><p>We can see that the button click affects only Component1, Component4, and Button. Component2 and Component3 remain unaffected by it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*pp-3WPVKHBToWS6K0PoQeQ.png" /><figcaption>Fig 2: Component1.</figcaption></figure><p><strong>Component 1</strong></p><p>This component holds the state dark and the function changeToDark using which we can alternate its value. Initially dark is false so the border-color is red in Component1 as you can see in Fig 2.</p><p>Component1 passes the state and the function as props to Component2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*LafBh58W-8cJNvIypX-kxw.png" /><figcaption>Fig 3: Component2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*6600LzIfDJkARRmeOjTD7g.png" /><figcaption>Fig 4: Component3</figcaption></figure><p><strong>Component2 and Component3</strong></p><p>These two components have no functionality other than passing the props from the parent component to the child component. Component2 receives props from Component1 and passes it down to Component3. Component3 receives props from its parent Component2 and passes it down to Component4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*R99AN2lQY5lDf0h-Mxa3lg.png" /><figcaption>Fig 5: Component4</figcaption></figure><p><strong>Component4</strong></p><p>This component receives the props but only uses the dark property to change its border-color. When dark is initially false border-color is black and when we press the button the border-color changes to red as its value changes to true.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*FJPC-K55JGLU8-YG1ug3dQ.png" /><figcaption>Fig 6: Button</figcaption></figure><p><strong>Button</strong></p><p>This component uses the value of dark to change its background-color and color property, and on clicking the button it calls the function changeToDark to alter the value of dark and simultaneously cause changes in the UI.</p><h3>The Problem</h3><p>As you can see from above that at every level we have to pass down the state dark and the function changeToDark associated with it. Now, this is a small project so it doesn’t matter that much to pass them down as props.</p><p>But the question is…</p><p>What if my project had like 30 sub-components in it?</p><p>What if there were multiple states and functionalities that I had to pass down to the sub-components?</p><p>Then it would become quite confusing to tackle so many props. And I had to pass it down through components that may have no use of it, like Component2 and Component3 in my case.</p><p>This problem is known as <strong>Prop Drilling.</strong></p><blockquote><a href="https://kentcdodds.com/blog/prop-drilling">Prop drilling</a> (also called “threading”) refers to the process you have to go through to get data to parts of the React Component tree.</blockquote><p>In this project, dark and changeToDark are the data and they have to reach the bottom-most level of my React Component Tree.</p><h3>The Solution</h3><p>The <strong>ContextAPI</strong> was introduced to overcome this problem regarding <strong>prop drilling.</strong></p><p>For this, we need to create a context object using React.createContext()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*MGLmGniC3cq7kHaGnRgA4Q.png" /><figcaption>Fig 7: MyContext</figcaption></figure><p>The value false is the default value of the context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*0e3woNBkLP1DaG3mGBo9xg.png" /><figcaption>Fig 8: Component1 restructured using Context.</figcaption></figure><p><strong>Component1</strong></p><p>In fig 8, I have imported MyContext in Component1 to use it. Now every Context comes with a Provider React component. As its name suggests it <em>“provides” </em>values to its sub-components. In this case MyContext.Provider has a value which is a property containing the state dark and the function changeToDark as an object. The sub-components when they try and access the value, they use the value which is provided by the nearest context Provider, in this case, which is Component1. We can also see that earlier, we had to pass the data down to Component2 as props but, now we don’t do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*WeP2vf5wa2iJn41CUVQ4_A.png" /><figcaption>Fig 9: Component2 restructured</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*SMhr6QbUkVktvWLJbv3fbA.png" /><figcaption>Fig 10: Component3 restructured</figcaption></figure><p><strong>Component2 and Component3</strong></p><p>Earlier Component2 and Component3 had no use of the props dark and changeToDark but still, we had to pass it down since the components, which are below them in the component tree, require it. But now we have don’t have to do it.</p><p>When we use <strong>Context</strong> we don’t have to pass down the data as props. Hence <strong>Prop Drilling </strong>which was a major disadvantage had been avoided.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*5gdJQCEX3M3freoslK1jKQ.png" /><figcaption>Fig 11: Component4 restructured.</figcaption></figure><p><strong>Component4</strong></p><p>React Hooks provided a function useContext, this function allowed us to access the value which is provided by the <strong>nearest</strong> context provider. In this case, the nearest context provider is Component1 hence the values that are provided by it are used. Since value is an object we can access the state using value.dark and the function using value.changeToDark .</p><p>As the current context value is determined with dark which is my state, whenever it is changed it causes a re-render in all the functions which use it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*fjfBj2kuhZwSQGKmHuoeHA.png" /><figcaption>Fig 12: Button restructured.</figcaption></figure><p><strong>Button</strong></p><p>Similarly, in this case too the function useContext is used to access the value of the nearest context provider and its values are used accordingly.</p><p>The functionality of Button has remained the same, except we have used <strong>Context</strong> now.</p><h3>Conclusion</h3><p>Throughout the entire process, the logic of the code has not changed. Instead, we used a new feature to overcome the problem of <strong>prop drilling</strong> that we were dealing with earlier.</p><p>Similar to <strong>Context, </strong>there is <strong>Redux </strong>which deals with the same problem regarding props. <strong>Context </strong>basically provides us a way to pass down data at different component levels without using props and this is the reason why <strong>Context</strong> Matters.</p><h4>Thanks for reading!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e65f5130121" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/context-in-react-hooks-7e65f5130121">Context in React Hooks</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Open Graph Protocol]]></title>
            <link>https://medium.com/alienbrains/the-open-graph-protocol-3216c15f709?source=rss----d4bdd0480161---4</link>
            <guid isPermaLink="false">https://medium.com/p/3216c15f709</guid>
            <category><![CDATA[link-preview]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[open-graph]]></category>
            <category><![CDATA[twitter-car]]></category>
            <dc:creator><![CDATA[Rohit Mondal]]></dc:creator>
            <pubDate>Sat, 25 Jul 2020 05:38:05 GMT</pubDate>
            <atom:updated>2020-07-15T08:24:27.778Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nSgCOm3fPVXROiaHGLuKbw.jpeg" /><figcaption>Fig.1-Adding an YouTube link on Facebook automatically provides us with the thumbnail as well! (<a href="https://www.youtube.com/watch?v=2l504TZa460&amp;t=181s">Link</a> to my YouTube video on Chrome Extensions)</figcaption></figure><p>Ever wondered that whenever you share a link on Facebook, Whatsapp or other social media sites, how does the thumbnail automatically along with the link? Nothing’s magic!! This is known as Link Preview. There’s always something that’s happening under the hood. In this article, we will be exploring how this happens!</p><h4><strong>This Link Preview is made possible by the </strong><a href="https://ogp.me/"><strong>Open Graph Protocol</strong></a><strong>.</strong></h4><p><em>Lets understand what this really is….</em></p><blockquote>The <strong>Open Graph protocol</strong> was introduced by Facebook. It enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*_IFSSv29d0hLNPYqmYkVkQ.png" /><figcaption>Fig-2:- Open Graph Protocol</figcaption></figure><p>What Open Graph does is this:-</p><ul><li>It works with the metadata that you have provided to your page.</li><li>Once it scrapes the metadata, it turns your web pages into graph objects. This makes it possible for the crawlers in your browser to access the metadata and make it available to other users.</li></ul><blockquote>If you are asked to improve the SEO of your website, you will have to provide specific metadata and other dynamic meta tags for better results. In the modern day scenario, you will always want to increase your website’s click-through rates. Open Graph makes it possible for you by providing this link preview.</blockquote><p>Meta tags are always provided in the head of your webpage. The four required properties for every page are:-</p><ul><li>og:title - The title of your object as it should appear within the graph, e.g., &quot;The Rock&quot;.</li><li>og:type - The <a href="https://ogp.me/#types">type</a> of your object, e.g., &quot;video.movie&quot;. Depending on the type you specify, other properties may also be required.</li><li>og:image - An image URL which should represent your object within the graph.</li><li>og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g.,&quot;http://www.imdb.com/title/tt0117500/&quot;.</li></ul><p>Notice the ‘og’ prefix added to each of them. This ‘og’ is what helps Open Graph protocol know that the developer wants to convert his webpage into a graph object.</p><p>While using modern day applications, people tend to share photos, videos and links among themselves. Whatsapp even has a feature that whenever a video link has been shared, you can directly watch that video in there without navigating to the main application. To make all this possible, a link preview has to be present first and that is where Open Graph comes into action!!</p><p>As shown in the official page, the code block below is the markup for The Rock on IMDB:-</p><pre>&lt;html prefix=&quot;og: http://ogp.me/ns#&quot;&gt;<br>&lt;head&gt;<br>&lt;title&gt;The Rock (1996)&lt;/title&gt;<br>&lt;meta property=&quot;og:title&quot; content=&quot;The Rock&quot; /&gt;<br>&lt;meta property=&quot;og:type&quot; content=&quot;video.movie&quot; /&gt;<br>&lt;meta property=&quot;og:url&quot; content=&quot;http://www.imdb.com/title/tt0117500/&quot; /&gt;<br>&lt;meta property=&quot;og:image&quot; content=&quot;http://ia.media-imdb.com/images/rock.jpg&quot; /&gt;<br>...<br>&lt;/head&gt;<br>...<br>&lt;/html&gt;</pre><p><em>Do you smell what The Rock is cooking? </em>🔥</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*95-cAFBzmdm0PdE4_seLXA.jpeg" /><figcaption>Fig 3:- The Rock (Image by <a href="http://www.wwe.com/">WWE</a>)</figcaption></figure><p>There are a vast number of meta tag options provided to you to help you achieve whatever you want. Have a look at the official page to know more…</p><h4><em>However that’s not all!!!</em></h4><p>If you are a React developer working with CRA or other frameworks providing client-side rendering, try designing a page providing it metadata in the above mentioned way and share it on Facebook. You might find that your link preview isn’t working as expected. Why is it so? Let’s find out…</p><p>Facebook does not read changes through JavaScript. Consequently, whenever you might want your dynamic meta tags to work correctly, it won’t. For example, if you create cards like in Fig 4, and implement individual share buttons on them, you will want to provide <strong><em>dynamic og:image tags. </em></strong>This will then allow you to get your desired link preview whenever you share it socially. However, you might find that you get unexpected images in the thumbnail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*W0_FqP8s8e7E5mmtmisycA.jpeg" /><figcaption>Fig 4:- Sample Cards (Image by <a href="https://dribbble.com/tags/article_card">Dribbble</a>)</figcaption></figure><p>To tackle this, you should either build a server-side rendered website or use <a href="https://prerender.io/"><strong>Prerender.io</strong></a></p><blockquote>The <strong>Prerender.io</strong> middleware that you install on your server will check each request to see if it’s a request from a crawler. If it is a request from a crawler, the middleware will send a request to Prerender.io for the static HTML of that page.</blockquote><p>Your website or webpage must be provided with static HTML content.</p><p>In case of your cards in Fig-4, provide a static link to each of those cards. Facebook will then be able to read the static content for each of those cards and will render your desired image.</p><p>In client side rendered apps, the initial load time is more and consequently, the crawlers are unable to read your dynamically provided data, causing discrepancies. This is tackled well and clear in server side rendered apps.</p><blockquote>Now, other social media sites also are taking advantage of social meta tags. All of the other major platforms, <a href="https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards.html">Twitter</a>, <a href="https://developer.linkedin.com/docs/share-on-linkedin">LinkedIn</a>, and <a href="https://developers.google.com/+/web/snippet/">Google+</a>, recognize Open Graph tags. Twitter actually has its own meta tags for Twitter Cards, but if Twitter robots cannot find any, Twitter uses Open Graph tags instead.</blockquote><h3>Bonus!!!</h3><p>If you are interested in knowing what meta tags are to be used to garner attention and increase your website’s click through rates, you can check out the metatags used by other famous websites.</p><p>For this, we will take the help of the npm library- <strong><em>open-graph-scraper.</em></strong></p><p>Initialise your package.json file with:-</p><pre>npm init</pre><p>Provide whatever name you want your repository to have and then install the express and open-graph-scraper.</p><pre>npm install --save express open-graph-scraper</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*F06J8Z-FUUzu8xDxQenE-w.png" /><figcaption>Fig 5:- package.json</figcaption></figure><p>Create a server.js file:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*1Zhn_XNR4OPSxIZJ5reS6A.png" /><figcaption>Fig 6:- server.js</figcaption></figure><p>error:- This returns true or false; True if there was a error. The error itself is inside the results object.</p><p>result:- This contains all of the Open Graph results.</p><p>response:- This contains the HTML of page.</p><p>In this code, we will have a look at the metadata of the Object page of MDN.</p><p>Run your code:-</p><pre>node server.js </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d5KZOwZOX0QRF91lo3BDrg.png" /><figcaption>Fig 7:- The output obtained</figcaption></figure><p><em>The response object is huge as it is the entire HTML content of the page. Hence it’s not captured here. You can run the code and find the output yourself.</em></p><p>Looking at the result, you will find that both Open Graph and Twitter Cards have been used here. Thus you can add your own meta tags in this fashion to gain more views on your website and also achieve the Link Preview feature.</p><h3><strong>Thank you!!!</strong></h3><h4>&lt;HappyLearning/&gt;</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3216c15f709" width="1" height="1" alt=""><hr><p><a href="https://medium.com/alienbrains/the-open-graph-protocol-3216c15f709">The Open Graph Protocol</a> was originally published in <a href="https://medium.com/alienbrains">Alien Brains</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>