teleren/devto huggingface dataset:
My first experience about #Hacktoberfest2020
Tags: hacktoberfest
Published: 2020-11-03 16:50:09

Hello there, I am Amit Geed a computer science student. I have never contributed to an open source project and I, came to know about Hacktoberfest so i decided to participate in it.

So now I am going tell you about my experience as a first time contributor in Hacktoberfest.


After the registering up for an event. I was good in python, flutter and other few programming languages so, I was started looking for an open source repositories where i can contribute to so after that found few repositories where i have contribute. Initially I completed 4 PRs which is the minimum criteria for completing hacktoberfest challange. Those PRs were successfully merged too. So i feel like i have to contribute more and i have made another 4 PRs which makes me more happy.

After that i was waiting for the 14 days review period to complete after 14 days my all 4 PRs passed the review duration and then i got a mail from that I have completed the hacktoberfest successfully.
Lint, what and why
Tags: lint, testing, productivity
Published: 2020-11-03 15:32:46

**The problem:**

The statement “Time is money” makes more and more sense among programmers, being efficient allows more jobs in less time and you certainly don't want to waste your hours behind a ghost character or a dead code due to a lack of attention during development.

Spending hours developing an application can be exhausting, and it gets worse when we finally test it and "CRASH!". (Let's go back there in the code to resolve this).
After a few more hours it turns out that the problem was the lack of a single character in the code.

Well, the top case is probably the daily life of many developers, and without a doubt it is one of the oldest problems in programming.


**The solution:**

"We are going to write a program that checks the code to find possible syntax errors, infinite loops, dead codes, etc."

In 1978 a computer scientist working for Bell Labs named Stephen C. Johnson created a program for checking static code in C, currently we have Linters for virtually all commercial programming languages, and at development time they point out flaws in our code that could even pass as a structural or logical problem in our application, making us spend hours and hours behind the problems.

**When to use?**
“Prevention is better than cure”, so always, always use Linters in your projects, no matter the size and duration.

But which linter should I use?
The https://github.com/mcandre/linters repository is an extremely useful source for you to find the best one for your language and need.


**Automation:**
Okay, it is useless to use a tool to prevent errors caused many times by lack of attention, but forget to use it.
So there are several ways to automate the code checking process, let's talk about my two favorites.

1. Git Hooks. (My favorite)
During pre-commit, set up a command to perform the inspection of your code using your preferred linter, so the chance of sending broken code to your repository is minimal.


2. CI
If you are using GitFlow, you will probably code your feature in a specific branch for it, and when your work is done if you create a merge request for the development branch, use your Git Host resources (GitHub or GitLab) to set up a CI process that executes a command to check your code before asking another developer to approve it, that way, not only is your time saved, but it helps to save the time of the rest of the team.
Facebook Pushes for Reforms to Section 230 of the Communications Decency Act
Tags: news, facebook, google, twitter
Published: 2020-11-03 16:30:58

---
title: Facebook Pushes for Reforms to Section 230 of the Communications Decency Act
published: true
description: Facebook supports reforms to Section 230 of the Communications Decency Act.
tags: news, facebook, google, twitter
//cover_image: https://direct_url_to_image.jpg
---

From [The Verge](https://www.theverge.com/2020/10/29/21537040/facebook-mark-zuckerberg-section-230-hearing-reform-pact-act-big-tech):

>> Facebook supports rewriting Section 230, and it’s starting to lay out the changes it wants. That’s the big takeaway from a nearly four-hour grilling of Facebook CEO Mark Zuckerberg, Alphabet CEO Sundar Pichai, and Twitter CEO Jack Dorsey. The point was quickly lost in a pre-election political scuffle — but in the coming months, it’ll be one of the most important things to watch.

>> Yesterday, the Senate Commerce Committee held a hearing about Section 230 of the Communications Decency Act, a foundational internet law. The event was supposed to examine whether Section 230 protections — which protect web services and sites of all sizes — “enable Big Tech Bad behavior.” Witnesses came prepared with arguments against that premise. Dorsey cited Twitter’s transparency center and algorithm-free timeline option, Zuckerberg expounded on Facebook’s support for voting and journalism, and Pichai promoted Google’s many free services...

## Read the [full article](https://www.theverge.com/2020/10/29/21537040/facebook-mark-zuckerberg-section-230-hearing-reform-pact-act-big-tech).

What do you think this means for the future of the internet? And aside from tech giants like Google, Twitter, and Facebook — how might this impact smaller tech companies?
Storybook v6 zero-config for custom Webpack configuration
Tags: storybook, react, javascript, frontend
Published: 2020-11-03 16:17:54

Hi everybody, this article is for those who are using a custom Webpack configuration to compile Storybook 6 and want to generate *component's documentation* automatically. 

After the migration of Storybook v5.3 to Storybook v6 ([Check the guide](https://dev.to/ozaytsev86/how-i-migrated-react-storybook-from-v5-3-to-v6-3knc)) I started the investigation of new features which are awesome. The coolest one from my point of view is `@storybook/addon-essentials` which adds a *viewport button* and support for an *auto-documentation generation* among other things. 

In case you haven't read the article I mentioned before, I have a custom Webpack configuration which has taken me to the problem I got with the zero-config.

Let's start, our current configuration is:
```javascript
// .storybook/main.js
const custom = require('./webpack.config.js');

module.exports = {
  stories: ['../src/components/**/*.stories.js'],
  webpackFinal: (config) => {
    return {
      ...config,
      module: {
        ...config.module,
        rules: custom.module.rules, // babel, sass, fonts and images loaders
      },
      resolve: {
        ...config.resolve,
        ...custom.resolve, // custom imports resolvers
      }
    };
  },
};
```
Now we need to install a couple of packages:
* **@storybook/addon-essentials** - cool storybook's addons collection
* **babel-plugin-react-docgen** - allows us to write a propType and component documentation

Run `yarn add -D @storybook/addon-essentials babel-plugin-react-docgen`.
Update your Storybook config file to:
```javascript
// .storybook/main.js
const custom = require('./webpack.config.js');

module.exports = {
  stories: ['../src/components/**/*.stories.js'],
  addons: [
    '@storybook/addon-essentials',
  ],
  webpackFinal: (config) => {
    return {
      ...config,
      module: {
        ...config.module,
        rules: custom.module.rules,
      },
      resolve: {
        ...config.resolve,
        ...custom.resolve,
      }
    };
  },
};
```
Update your .babelrc config to:
```json
{
  "presets": [
    [
      "@babel/preset-env",
      {"modules": "commonjs"}
    ],
    "@babel/react"
  ],
  "plugins": [
    "@babel/plugin-proposal-class-properties",
    "@babel/plugin-proposal-optional-chaining",
    "react-docgen"
  ]
}
```

Super easy when you know what you have to do. I decided to publish it because in my case I spent an entire afternoon looking for a solution and trying a lot of things which had no success. Then I used *@storybook/preset-create-react-app* which worked but I wanted to make it work with my own Webpack config, so a few days after I back to business and made it work.

Hope this article helps you, happy coding, and never give up :muscle:
Thanks for reading, comments are welcome :)

Thanks [Michail Vasilyev](https://unsplash.com/@miklevasilyev) for the picture.
First HacktoberFest
Tags: hacktoberfest, opensource, webdev, beginners
Published: 2020-11-03 16:11:38

I had never contibuted to Hacktoberfest or any open source projects before.So when I came to know about Hacktoberfest for the first time i.e this year,I decided to participate in it.

 

So today I will tell you about my experience as a first time contributor in Hacktoberfest.

I started off by registering up for the event. But the main thing was to find the repositories where you could contribute or solve the issues. I found a section in the official website which was dedicated for first time contributors. There anyone could understand the process of contributing to the hacktoberfest and it's rules. Once I read it ,I started checking out the repositories where I could contribute and since I was good in flutter and few other programming languages, I found few repositories. Initially I completed 4 PRs too which is the minimum criteria for completing hacktoberfest.Those PRs were successfully merged too. I was feeling kinda happy(I dont know why) to contribute to the github repos,so I contributed to more repositories of my interest and did 9 PRs.

After completing the 4 successful PRs,I was very impatient to wait for the 14 day review period.And my PRs passed the review period too. Then finally I recieved the mail that I have completed the hacktoberfest successfully and thus now I will get the cool Hacktoberfest tee too :p

If you found this useful, you know what to do now. Hit that like button and follow me to get more posts and tutorials on your feed.❤❤
On "Dream Jobs"
Tags: career
Published: 2020-11-03 16:03:10

I've frequently re-shared the common advice "apply even if you don't meet all the stated requirements" ... but I'll admit, it's still extremely tough to actually ACT on this advice. I've probably chickened out on more of them than I should. In the coming weeks, I'll probably start loosening my threshold even more!

That said, when I started searching before COVID, my wife asked me "if you could pick anywhere, where would you want to work." We discussed them as though they were real possibilities. Sometimes this discussion made my chances seem more real, sometimes not. But it definitely made me reflect heavily on the "what" and the "why" a job, team, or a mission might be a healthy fit. It definitely shed light on where I observed my experience may be lacking.

This drove me to eventually apply to all of them. I just sent a "cold call" email to recruiting for my final of the 3 "moonshot" shops.

Even if they don't lead to a new job, hopefully this exercise improved my approach to finding a good next fit. Even further, I won't have to wonder how my life might be different if I'd had the nerve to try.
Javascript - Truth and Lies
Tags: javascript, codenewbie, webdev, beginners
Published: 2020-11-03 16:02:37

```js
const isTruthy = input => Boolean(input);

console.log(isTruthy(' ')); // true
console.log(isTruthy('')); // false
console.log(isTruthy(new String(''))); // true

console.log(isTruthy(new Boolean(false))); // true
```

**This post covers some of the truth and lies**
---

**Thanks for reading 💙**  
Follow **@codedrops.tech** for daily posts.  
[Instagram](https://www.instagram.com/codedrops.tech/) ● [Twitter](https://twitter.com/codedrops_tech) ● [Facebook](https://www.facebook.com/codedrops.tech/)

Micro-Learning ● Web Development ● Javascript ● MERN stack ● Javascript  
**[codedrops.tech](https://www.codedrops.tech/)**
First HacktoberFest 2020
Tags: hacktoberfest, opensource, beginners
Published: 2020-11-03 16:02:35

Woohoo, I finally completed my first HacktoberFest challenge! This was a great experience for me, as I not only got to learn more about how to make open-source contributions but also came across some wonderful projects that I had to bookmark.

To all the newbies out there, wondering how can they get started, I would suggest making little contributions to your friends' repositories or your own repos to understand how making a pull request works. But definitely don't lose hope, as getting started with open-source contributions may seem high-techy, but there is always something easy for beginners like you and me. 

I would also suggest you join the discord of HacktoberFest as there you will find the right projects to contribute to. That's a key point as in my case it helped me find the right repos more easily and quickly.
Pretty format numbers
Tags: javascript, webdev, codenewbie, beginners
Published: 2020-11-03 16:00:53

```js
const length = 5;
const amount = [23, 435, 34.34, 234.3];

amount.forEach(num => {
	const paddedNum = String(num).padStart(length, '0');
	console.log(paddedNum);
});

/* 
Output:
00023
00435
34.34
234.3
*/

```

---

**Thanks for reading 💙**  
Follow **@codedrops.tech** for daily posts.  
[Instagram](https://www.instagram.com/codedrops.tech/) ● [Twitter](https://twitter.com/codedrops_tech) ● [Facebook](https://www.facebook.com/codedrops.tech/)

Micro-Learning ● Web Development ● Javascript ● MERN stack ● Javascript  
**[codedrops.tech](https://www.codedrops.tech/)**
Load Balancer Explained – Simplified through Comics
Tags: loadbalancer, aws, azure, cloudskills
Published: 2020-11-03 15:56:19

Load Balancer Explained in 5 minutes!
You might have heard about Load Balancer many times.

Welcome to this Load Balancer tutorial. 

Load Balancing basically means distributing network traffic across multiple servers.

This makes sure that no single server bears all the load on itself.

When the network traffic is balanced, applications run smoothly.

And like always here I’m back with another comic tutorial that will explain Load Balancer in the simplest possible manner.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/tik6ovpttk5m98h5yja7.png)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/rdtlnyc1ohw30oqc64lk.png)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/4tf1gstr2nnto9lfes2q.png)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/orq52r4on65vvj3jb761.png)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/iy3tnexi9hkmjpbgth2q.png)

Cloud providers like AWS and Azure have their own load balancing services like Elastic Load Balancer and Azure Load Balancer.

But before you study those services you need to be clear with your concept of load balancing.

I hope you guys liked this comic tutorial on Load Balancer.

You can find more such comic tutorials on EC2- Explained through Comic and S3- Explained through Comics
 
Let me know in the comments your thoughts on this post.
Git commit message 💬
Tags: discuss, git, beginners, help
Published: 2020-11-03 15:48:54

Hello, there 👋🏼 I hope you are doing well.

As a developer, I know you are well aware of the **Git** version control system.

Just wanted to know: 
> _**How do you write your**_ ▶ ```git commit -m "commit message"```

Do you follow any special rule or something?
Let's discuss in the comment section below 😄
#opensource "magic"




Tags: opensource, github, hacktoberfest
Published: 2020-11-03 15:46:31



There seems to be a weird connection between me and the open-source community. It seems that they always seem to know what I want...


Like, since a few months, I had a desire to make my GitHub more active. #hacktoberfest2020 gave me the perfect opportunity. I wanted to find out about using MongoDB and BOOM, my previous go-to non-SQL library TinyDB made a few version changes, deprecating my old bot, giving me an opportunity to rebuild my discord bot for MongoDB.



I wanted to become part of an org. and well Ig by dumb-luck I stumbled on this random LinkedIn post about a video containing Eddie Jaoude and Aditya Oberai (I followed Aditya a few days ago during a webinar at DSC-Amity). Went to Eddie's org and became part of an amazing community.


Skip to the past 4 days, I made a GitHub action for joe-username(a hf meme on Joe Nash) and made my first action, but was not able to finish it as I didn't know how to use Docker Containers, but again by chance the next day a great contributor [@anubhavcodes](https://github.com/anubhavcodes) opened an issue on my discord bot's repo titled [Dockerize the app for easy development](https://github.com/Vyvy-vi/TearDrops/issues/71). I decided to learn Docker a little bit so that I can review the pr.

The next day the same contributor provided me with a lot of resource links, with which I got an understanding of Docker. After approving pr, I made my first docker deployment for a different app and I decided to pick up GitHub action automation again.

And guess what?


Just an hour ago I saw Eddie Jaoude post this message on discord:-->

![Screenshot 2020-11-03 at 8.34.21 PM](https://dev-to-uploads.s3.amazonaws.com/i/tqfempij2w8zxfa8vmff.png)

Coincidence? NOPE, just #opensource magic

The opensource spirit:  `"seek and you shall receive"`

🤓
What is ReactJs and why it is so popular?
Tags: javascript, react, webdev
Published: 2020-11-03 15:45:51

{%post https://dev.to/sachinchaurasiya/how-much-js-you-need-to-use-react-js-192o %}
In this article, we will be discussing what is ReactJs and why it is so popular among developers. 

Let's get started 

## What is Reactjs?

According to [official website of reactjs](https://reactjs.org/), reactjs is a javascript library that is used for building the user interface.

But from my point of view reactjs is more than just a library because it provides so much flexibility for building the user interface and user experience.

Reactjs is basically working on the concepts of **Components**.

Where **Components** could be anything like *navbar* , *sidebar*, *header*, etc.

In the world of Reactjs, you would hear **Reusable components** frequently.

###But what do Reusable components mean?

**Create once and use anywhere & any number of times**

That means you can create one component for example *a navbar* and use it anywhere and any number of times in your project.

## Why it is so popular?

According to [Stackoverflow survey 2020](https://insights.stackoverflow.com/survey/2020#technology-most-loved-dreaded-and-wanted-web-frameworks-wanted2) **Reactjs** is 2nd most loved and 1st most wanted *library and framework*.

Also, reactjs has a great community where you can find all your answers regarding specific topics.

Reactjs learning curve is easy to compare to other javascript libraries and frameworks.

There are plenty of resources available to learn ReactJs.
I recommend you should first start with [official website of reactjs](https://reactjs.org/). they have very good documentation with a great explanation.

## Conclusion

Reactjs is the most loved and wanted javascript library which let you build your user interface with ease.
And if you want to become a front end developer you must know at least one javascript library/framework. I recommend starting with **Reactjs**.

And that’s it for this topic. Thank you for reading.

## Connect with me
[LinkedIn](https://www.linkedin.com/in/sachin-chaurasiya) | [Twitter](https://twitter.com/sachindotcom)
Node.js Crash Course - Part 5 - NPM
Tags: node
Published: 2020-11-03 15:43:08

NPM is already installed if node is installed.
I believe that what pip is to python, npm is that in node.

Installing nodemon globally: `npm install -g nodemon`
*Globally* means nodemon will be available from anywhere in local machine, not for any particular project only.

**nodemon** enables a live reloading server for development.

To install a external package only for the particular project we've to run, for example to install lodash for a particular project we've to run `npm install lodash`.

#1. package.json file
package.json file keep tracks of the information and most importantly the dependencies of the project.
To keep the track of the dependencies of the project we've to have a package.json file.
To initialize this file the command is `npm init`

During sharing node.js project 'node_modules' folder is not shared generally.
To reinstall the modules we've to run `npm install`.
my first Hacktoberfest...
Tags: hacktoberfest
Published: 2020-11-03 15:19:39



### Hi everyone
My name is Onkar Setia. I am a second-year undergrad in computer science and engineering at the central university of Haryana.I love to code.  
### Background

 I am new to open source but I love to code and open source is where my passion takes me, so I am going with the flow.

### Progress

 I loved hacktoberfest very much. I made around 13 pull requests in total and had an awesome time creating these amazing moments of my life.
Have you made recent changes to your workflow to boost productivity?
Tags: discuss, webdev, codenewbie
Published: 2020-11-03 15:14:42

Hi all,

I'm curious: **have you made recent changes to your workflow to boost productivity?** And if so, what are they?

Lately I've been using [Zapier](https://www.zapier.com) a LOT more heavily to help me manage my daily life (my attention is split between home improvement projects, my side business, and my day job).

Kurt Kemple wrote an excellent article about [using Zapier to automate parts of your workflow](https://theworst.dev/why-you-should-consider-adding-zapier-to-your-workflow/).

What have you changed and why?
Invoking lambda function with AWS SAM
Published: 2020-11-03 15:14:17

---
title: Invoking lambda function with AWS SAM
published: true
description: 
tags: 
//cover_image: https://direct_url_to_image.jpg
---

In this article, I've covered how you can use AWS SAM to debug the Lambda function locally. https://medium.com/cloudyfox/invoking-lambda-functions-locally-with-aws-sam-d406f7bed91a