<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Meggie</title>
    <description>The latest articles on DEV Community by Meggie (@hellomeghna).</description>
    <link>https://dev.to/hellomeghna</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F95053%2Ff9d04579-f72a-4d25-812d-d4677543d04f.jpeg</url>
      <title>DEV Community: Meggie</title>
      <link>https://dev.to/hellomeghna</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hellomeghna"/>
    <language>en</language>
    <item>
      <title>Why do we need HTTPS?</title>
      <dc:creator>Meggie</dc:creator>
      <pubDate>Tue, 26 May 2020 07:12:06 +0000</pubDate>
      <link>https://dev.to/hellomeghna/why-do-we-need-https-548a</link>
      <guid>https://dev.to/hellomeghna/why-do-we-need-https-548a</guid>
      <description>&lt;h1&gt;
  
  
  Hyper Text Transfer Protocol Secure (HTTPS)
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;It is the &lt;code&gt;secure&lt;/code&gt; version of HTTP, the protocol over which data is sent between your browser and the website that you are connected with. The 'S' at the end of HTTPS stands for 'Secure'. Therefore, all communications between your browser and the website are encrypted.&lt;/li&gt;
&lt;li&gt;Also known as ‘HTTP over SSL’, ‘HTTP Secure’, or ‘HTTP over Transport Layer Security’.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Reasons for using HTTPS:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Privacy&lt;/li&gt;
&lt;li&gt;Integrity&lt;/li&gt;
&lt;li&gt;Identification.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Privacy&lt;/p&gt;

&lt;p&gt;It means that no one can &lt;code&gt;eavesdrop&lt;/code&gt; on your messages.&lt;/p&gt;

&lt;p&gt;When server send a message to browser which is not encrypted, i.e. you browse to a website without HTTPS, someone could be eavesdropping on your password or private information.&lt;/p&gt;

&lt;p&gt;The green padlock on the URL bar of your browser tells you that there is no one watching over your message/data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Integrity&lt;/p&gt;

&lt;p&gt;It means that the message is not manipulated on the way to its&lt;br&gt;
destination.&lt;/p&gt;

&lt;p&gt;When the message is not encrypted - before it reaches to the client, someone can intercept the message.&lt;/p&gt;

&lt;p&gt;This is often called a &lt;code&gt;man-in-the-middle attack&lt;/code&gt;. The green padlock make sure that your communication is not being tampered with.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Identification&lt;/p&gt;

&lt;p&gt;It means that you can check that this message is coming from the real server/source.&lt;/p&gt;

&lt;p&gt;A &lt;code&gt;digital signature&lt;/code&gt; attached to a message can identify the sender.&lt;/p&gt;

&lt;p&gt;When you are browsing the web, identification means that the site that you are visiting is indeed the one you think it is.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;HTTPS, via SSL certificates, ensures you are connected exactly with the receiver you would expect.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This SSL certificate is valid and has been issued by a legitimate Certificate Authority.&lt;/p&gt;


&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The article gives a short explanation regarding the purpose of https.&lt;/p&gt;

</description>
      <category>https</category>
      <category>websecurity</category>
      <category>webprotocols</category>
      <category>beginners</category>
    </item>
    <item>
      <title>The First Step After Deciding To Become A Developer</title>
      <dc:creator>Meggie</dc:creator>
      <pubDate>Tue, 17 Sep 2019 12:23:39 +0000</pubDate>
      <link>https://dev.to/hellomeghna/the-first-step-after-deciding-to-become-a-developer-and-get-your-first-job-24g6</link>
      <guid>https://dev.to/hellomeghna/the-first-step-after-deciding-to-become-a-developer-and-get-your-first-job-24g6</guid>
      <description>&lt;p&gt;This post is specifically for anyone who has made their mind to focus on learning programming and sharpen their coding skills to get the first job in tech. Anyone who has made this brave decision to leave their monotonous or low-paying jobs and grab their dream job in tech. Yes, it is possible. It is possible for anyone!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It all sounds great, thanks for motivating but hey who are YOU to guide us?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I am a &lt;b&gt;Dentist turned Software Engineer&lt;/b&gt;. &lt;/p&gt;

&lt;p&gt;I graduated with an Indian degree in Bachelor of Dental Surgery. I studied for 5 long years, mugged fat books. Banged my head preparing dentures for patients. From wax carving the dental anatomy of all the teeth set in a human dentition to doing root canal treatments, tooth extractions, flap surgeries, preparing arch-bar and anchor clasps for the tricky orthodontic patients, to restoring/filling the tooth with dental materials, I did it all. Giving local anesthesia to patients, taking their case histories was like a mundane job to me. It all may sound interesting to some people, and this is what I signed up for when I was 18 and took admission in a dental school.&lt;/p&gt;

&lt;p&gt;Things were going slow and steady. I worked for a few years as a Dentist in various hospitals, wrote medical articles, prepared white papers, associated myself to work as a coordinator with an NGO focusing towards women empowerment. However, things were not going at a fast pace which I was expecting, there were still some constraints which I will share in another post.&lt;/p&gt;

&lt;p&gt;So fastforward I decided to quit my dental career and focus on getting into tech.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;I didn't want to invest money in learning a new skill by going to college for the next couple of years.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I think IT is the only industry which welcomes a self-taught person. Other industries require a relevant degree, for example, management.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;So coming right to the point, I want to share the first steps I took when I really got serious of making a career change. I was very focused on my actions and these are the two foremost advice I want to give to the people who're just entering into the programming journey is -&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;em&gt;Create a Github account&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Push whatever you learn every day.

&lt;ul&gt;
&lt;li&gt;No matter if you can't do it from CLI — create a repository and upload your simple program files.&lt;/li&gt;
&lt;li&gt;What matters is getting the habit of learning and committing those programs every day.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;The chart showing the green boxes shows the hard work and passion. It will represent your documented journey online. The silly projects, the good projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1EUt4tgx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/wupx5vs1yg6en9a911kq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1EUt4tgx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/wupx5vs1yg6en9a911kq.png" alt="Github chart from my account meghna-saxena"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;&lt;em&gt;Make a Twitter account&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Join the #100DaysOfCode #CodeNewbie communities on Twitter.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I can say this with confidence that Twitter plays a big role in my journey. My feed is filled with people I admire, the people who're on the same path I am, or the ones who're just starting out so that I can offer help.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When I started my journey, I chose to go through the self-taught route, and let me be clear that it isn't easy. In Bootcamps, you get more centric guidance, a routine to follow, people you can go up to. But if you're a self-teaching yourself by online resources, you're learning alone.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;There are times when you feel - to quit (or may actually quit), that you don't belong, that nothing is staying in your head. But once you scroll through the Twitter feed, you'll see that it's natural, and it's part of this journey. Some people are able to learn quickly, some take relatively more time. But nobody is going to ask after how many days you learned certain technology to build a particular project. What matters is to pick a concept every day. Try to understand it. Read and practice it from several resources.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Programming isn't easy. It takes time!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Even after getting a job, you need to learn every day because there's just so much to learn. You will only know 10% or maybe 20% of this wide world when you'll get hired, and then you need to keep pushing hard. You should be self-driven and motivated.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Don't be overwhelmed by thinking to cover 100%. Nobody knows everything.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Just focus on limited things, one programming language and that's it!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Build projects on your own, no matter how big or small. Make a portfolio, and apply like crazy.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Getting the first job as a developer is the hardest, but everyone can make it! If I did, so can you.&lt;/p&gt;

&lt;p&gt;Practice, persevere and join the community of people who're following this route, you'll feel less lonely and more optimistic.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>webdev</category>
      <category>100daysofcode</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>Why ads follow us everywhere?</title>
      <dc:creator>Meggie</dc:creator>
      <pubDate>Mon, 16 Sep 2019 20:44:16 +0000</pubDate>
      <link>https://dev.to/hellomeghna/why-ads-follow-us-everywhere-536l</link>
      <guid>https://dev.to/hellomeghna/why-ads-follow-us-everywhere-536l</guid>
      <description>&lt;p&gt;Have you ever wondered how you see the most relevant ads all over the web, whenever you've searched something recently? Let's say, you're searching for a pair of shoes or a nice party dress online and for some reason, you had to leave. However, items matching the products you were looking for keep following you across on other sites like Facebook, or some random site or keep appearing in other apps like search, email.&lt;/p&gt;

&lt;p&gt;All these &lt;code&gt;online targeted advertisements&lt;/code&gt; use data from your browser to make marketing more personalized. Special algorithms then look at your website visits and searches over time to predict your preferences and show ads you may be interested in.&lt;/p&gt;

&lt;p&gt;This week I was searching for a vacation place in Europe and I started seeing - more ads from airline companies and the blogs telling the best places to visit in Europe.&lt;/p&gt;

&lt;p&gt;There are many people who are still unaware of the fact that the social network tracks and records a list of their interests in order to target advertising. So, let's know more about it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is tracking?
&lt;/h2&gt;

&lt;p&gt;Many companies try to track you, but the main culprits are Facebook and Google. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why?
&lt;/h2&gt;

&lt;p&gt;Have you ever wondered how Google and Facebook are generating profits even after offering their app services for free? How do they earn their profits?&lt;/p&gt;

&lt;p&gt;At their core, Google and Facebook are &lt;code&gt;advertising companies&lt;/code&gt; — ads contribute more than 80 percent of their revenues.&lt;/p&gt;

&lt;p&gt;So what will make an ad company attractive to the advertisers? &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Ad clicks!” &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Advertisers love the company which helps them boost their sales. So advertisement companies start showing ads in a patterned manner rather than showing irrelevant ads. This was possible only by tracking users and creating a profile on them. &lt;br&gt;
So gradually &lt;code&gt;we became the product of these companies&lt;/code&gt; even without our approval. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If You're Not Paying For It, You Become The Product!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
  
  
  How targeted ads work
&lt;/h2&gt;

&lt;p&gt;One may expect Facebook to have a profile on you, based on your actions within Facebook. It, in fact, tracks you across the web, on various other websites through the social plugins (the like and share button you see in almost every website).&lt;/p&gt;

&lt;p&gt;Google tracks you easily by the huge google ecosystem deeply embedded in our life. Google knows what you are thinking (chrome, google assistant, google search), where you are headed to (Maps), etc.&lt;/p&gt;

&lt;p&gt;The personalized ads are a result of &lt;code&gt;cookies&lt;/code&gt; and an &lt;code&gt;IP address&lt;/code&gt;. Cookies are text files in your browser that track the information you’ve searched. For example, when you searched for a Nike shoe of size 37, the cookie is stored like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;_amazon_search: c2hvZT1uaWtlO3R5cGU9RjtzaXplPTM3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Here the search value is encoded, it can be decoded to show the final value like this: &lt;code&gt;shoe=nike;type=F;size=37&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Your IP address is kind of like your house address and shows where you are located. The balance between both of them is what gives the information to advertisers.&lt;/p&gt;




&lt;p&gt;There are two ways online ads can target you: through social networks and through your browser.&lt;/p&gt;

&lt;p&gt;On social media sites, there are ads that function based on who logs in. If I log in as Meghna, there is information collected about me that is used to target ads. For example, if I post a lot of pictures of myself coding, or sitting with a laptop, social media networks could then scan the pictures.&lt;/p&gt;

&lt;p&gt;As a result, the next time I log into Facebook, I could see ads for programming courses, or some tech-specific tools to purchase.&lt;/p&gt;

&lt;p&gt;Advertisements also target you through your browser. The cookies and IP address records websites you visit, how long you were on it, etc.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much?
&lt;/h2&gt;

&lt;p&gt;Now we know that companies do track you, but how much do they know? &lt;/p&gt;

&lt;p&gt;Google knows:&lt;/p&gt;

&lt;p&gt;Where you have been, your web activities, all the apps you use, all of your YouTube history, all your calendar activities, email, notes, files in drive and photos stored, even after you have deleted them. So practically, Google knows everything that needs to be known about your digital life.&lt;/p&gt;

&lt;h2&gt;
  
  
  What can you do about it?
&lt;/h2&gt;

&lt;p&gt;You do have the option to ask Google to stop tracking your web and other activities by pausing everything.&lt;/p&gt;

&lt;p&gt;Next step is to stop using the Google search engine. One can start using other search engines like DuckDuckGo, Startpage - they show search results from Google, but it doesn’t let Google know who searched. &lt;/p&gt;

&lt;p&gt;Next backbone of Google in data collection is Chrome. Google Chrome is based on the open-source project Chromium. So you can use other chromium-based browsers such as brave. Mozilla Firefox is also a good privacy-focused browser. &lt;/p&gt;

&lt;p&gt;Install ad, tracking script blockers such as &lt;code&gt;uBlock Origin&lt;/code&gt; and &lt;code&gt;Ghostery&lt;/code&gt; to remove the tracking scripts, Facebook social plug-ins. &lt;/p&gt;

&lt;h2&gt;
  
  
  How to stop targeted ads
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Turn off cookies&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use a browser plug-in to limit data tracking.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Turn off targeted Facebook ads&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go incognito&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Limit site linking: Avoid using the “login with Facebook or Google” feature on websites you visit.&lt;/p&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Once we searched Google, but now Google searches us. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nothing is free in this world, the more data Google gets on you, the more profitable it will be. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;The loop of more data =&amp;gt; more ad clicks =&amp;gt; more profit, ignites the competition in tracking you more.&lt;/code&gt;&lt;/p&gt;




&lt;p&gt;Next up: do you know how content-creators sell space in their website to ad companies? I will cover it in my next post. Stay tuned!&lt;/p&gt;




</description>
      <category>explainlikeiam5</category>
      <category>google</category>
      <category>ads</category>
      <category>tracking</category>
    </item>
    <item>
      <title>ES6 Arrow Functions</title>
      <dc:creator>Meggie</dc:creator>
      <pubDate>Wed, 20 Feb 2019 16:09:10 +0000</pubDate>
      <link>https://dev.to/hellomeghna/es6-arrow-functions-4hf4</link>
      <guid>https://dev.to/hellomeghna/es6-arrow-functions-4hf4</guid>
      <description>&lt;p&gt;They are next-generation JavaScript syntax for creating functions.&lt;/p&gt;

&lt;p&gt;Normal JavaScript function syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function myFunc() {
    ...
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;ES6 fat arrow function syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const myFunc = () =&amp;gt; {
    ...
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h2&gt;
  
  
  Why we prefer ES6 arrow functions?
&lt;/h2&gt;

&lt;p&gt;They can shorten the JavaScript function syntax, since:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Omits &lt;code&gt;function&lt;/code&gt; keyword &lt;/li&gt;
&lt;li&gt;Solves a lot of issue with &lt;code&gt;this&lt;/code&gt; keyword in JavaScript. 

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;this&lt;/code&gt; keyword is important when we add method to an Object. &lt;/li&gt;
&lt;li&gt;Arrow Functions bind their context and not change in runtime so &lt;code&gt;this&lt;/code&gt; actually refers to the
originating context.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Practice time!
&lt;/h2&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function printMyName(name) {
    console.log(name);
}
printMyName('Meggie'); //Meggie
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Rewritten as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const printMyName = (name) =&amp;gt; {
    console.log(name);
}
printMyName('Meggie'); //Meggie
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h3&gt;
  
  
  We can also shorten the syntax more!
&lt;/h3&gt;

&lt;h4&gt;
  
  
  How?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;If we’re passing only one argument, we can omit the parenthesis too to shorten the syntax.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const printMyName = name =&amp;gt; {
  console.log(name);
}
printMyName('Meggie');
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Similarly, see another function -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const multiplyNum = num =&amp;gt; {
    return num*2
}
console.log(multiplyNum(5)); //10
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;If there’s only one line of code returning something, we can omit the curly braces &lt;code&gt;{}&lt;/code&gt; and &lt;code&gt;return&lt;/code&gt; keyword too, and bring the whole code in one line!
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const multiplyNum = num =&amp;gt; num*2;
console.log(multiplyNum(5)); //10
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;ES6 arrow functions are a new cool way to write JavaScript functions in less lines of code.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sG7-DtRq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/http://adage.com/images/bin/image/spongebob_1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sG7-DtRq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/http://adage.com/images/bin/image/spongebob_1.jpg" alt="Happy Comic Face"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>es6</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
