teleren/devto huggingface dataset:
React-Redux Learning Resources
Tags: react, redux
Published: 2020-08-28 15:46:45

Resources link recommended by documentation of [Redux](https://redux.js.org/ ). These are very good resources to learn Redux from scratch.
* [Getting Started with Redux](https://egghead.io/courses/getting-started-with-redux)
* [Building React Applications with Idiomatic Redux](https://egghead.io/courses/building-react-applications-with-idiomatic-redux)
* [Live React: Hot Reloading and Time Travel](https://www.youtube.com/watch?v=xsSnOQynTHs)
* [Redux Crash Course With React](https://www.youtube.com/watch?v=93p3LxR9xfM)
* [A Cartoon Guide to Redux](https://code-cartoons.com/a-cartoon-intro-to-redux-3afb775501a6)
* [Leveling Up with React: Redux](https://css-tricks.com/learning-react-redux/)
* [Redux Tutorial](https://github.com/pshrmn/notes/blob/master/redux/redux.md)
* [DevGuides: Introduction to Redux](http://devguides.io/redux/)

_Keep Learning!!_
Maximum Bipartite Graph
Tags: codenewbie, computerscience, devops, codequality
Published: 2020-08-28 15:37:28

This is the most famous question in graph theory, where you have to find the maximum number of dots in the first set, to be connected with dots in the second set, with a condition that no two nodes can be connected from first to second and vice-versa.

Let me first give a brief intro about the problem statement.
There are <b>M</b> number of job applicants, applying for <b>N</b> number of jobs. Each job opening can only accept one applicant and a job applicant can be appointed for only one job.

The <b>Bruteforce Method</b> is to give the job to the applicant, that is on their first priority, if there occurs any conflict, then move on to its second-most priority, and so on.
But from this approach, we won't be able to get the maximum number of jobs to be given to the applicants.

## Optimised Approach
We are given a 2-D matrix, in which, if the job applicant has applied for a particular job, then it equals to 1 otherwise 0.
First of all, we will make matchR[] array of size N(number of total jobs available) and initialize it with -1 as follows:



![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/774sr3pyjqxww2orxr5d.png)



Now, loop through the job applicants, and initialize another boolean array with false, named seen, it will keep track if the same job is not given to two applicants.



![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/hrdpm4iy99vy16peb50c.png)



Now call the function <b>bpm</b>




![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/spxit2s9i1bs4qqxxhn5.PNG)



It will check the first priority of the first applicant, it will normally assign that job to him. Then we will send the second job applicant, it will check it's the first priority if his first priority is the same as that given to the previous applicant, then we will recursively call the function again and check if
the second priority of the previous one is available,
if is available {
then it would be assigned to him, and our present applicant can get his first priority job.}
otherwise {
check for the next priority job of the same previous job applicant.
}
Now consider, if the previous applicant doesn't have second priority, then we don't give the job to the <b>present</b> job applicant and will return false, and move on to next one.

In this way, we can get the maximum number of jobs that can be given to the applicants.
That's all.
Keep reading :)
Keep coding :)
What was your win this week?
Tags: discuss, weeklyretro
Published: 2020-08-28 15:35:11

---
title: What was your win this week?
published: true
description: Got to all your meetings on time? Started a new project? Fixed a tricky bug?
tags: discuss, weeklyretro
cover_image: https://cl.ly/188e843c2985/download/Image%202019-02-15%20at%202.36.37%20PM.png
---

👋👋👋👋

Looking back on your week — what was something you're proud of?

All wins count — big or small 🎉

Examples of 'wins' include:

- Getting a promotion!
- Starting a new project
- Fixing a tricky bug
- Cleaning your house...or whatever else that may spark joy 😄


**Have a great weekend!**

![Friday](https://media.giphy.com/media/3oKIPBd2yl2Tyk0hoI/giphy.gif)
Let's Grow DEV's Cloud & DevOps Content! ☁️
Tags: cloud, aws, devops, beginners
Published: 2020-08-28 15:31:48

---
title: Let's Grow DEV's Cloud & DevOps Content! ☁️
published: true
description: DEV is an awesome place for web dev content, but it is a little lacking in other areas of tech
tags: #cloud, #aws, #devops #beginners 
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/680sy6kjzqaja1otlhsr.jpg
---

#### Why?

I love reading the awesome content here on topics like general web dev, JavaScript, React, CSS, etc. But I am also passionate about what powers the web, like cloud infrastructure, DevOps, architecture, automation, networking, databases, and many others.

After the apparent demise of Medium, there does not seem to be a central hub for such content. 

So today **I would like to announce an initiative**: let's make DEV the best place on the internet for not only web dev content, but cloud and DevOps content as well. 

#### Current Status

Here is a quick overview of some popular tags and corresponding number of posts:

* webdev: 19797 Posts Published
* javascript: 27897 Posts Published
* react: 10194 Posts Published

On the other hand, check out these:

* devops: 4342 Posts Published
* cloud: 822 Posts Published
* aws: 2729 Posts Published 

The content in the second group of tags is tiny when compared to the first group.

#### How to Do This 

_First_, let's acknowledge the existing contributors in that space here. I am looking at you @andrewbrown, @david_j_eddy, @helenanders26, @tlakomy, @david_ojeda, @flippedcoding, @softchris, @adnanrahic, and so many others (sorry if I missed mentioning you). You guys have been creating amazing content that has been so helpful and inspiring for others, including me.

_Second_, we need to find and reach out to creators and bloggers in that space and invite them to join us here. Many have their own blogs and websites but they can share their content here. In return, they will get higher readership and will be able to make a much bigger positive impact by sharing their knowledge. It is a win-win!

#### Call to Action

So help me out here. Can you comment below on who you think would make a good contributor, and maybe we can reach out to them and invite them to join us?

Let's invite those awesome bloggers and thought-leaders in that space (as well as beginners and learners of course) and encourage them to be active on DEV, and hopefully they'll bring their readers/followers as well.

Together we can grow the community. Who's on board?
Mid Meet Py - Ep.20 - Interview with Bojan Miletic
Tags: python, community, talkshow, chat
Published: 2020-08-28 15:19:42

---
title: Mid Meet Py - Ep.20 - Interview with Bojan Miletic
published: true
description: We meet in the middle of the day, in the middle of the week to chat about Python. This week we have Bojan Miletic with us.
tags: Python, community, talkshow, chat
---
PyChat
    PyCon Italy [cancelled](https://pycon.it/en/blog/pycon-11-cancelled/)
    [Pyjamas CfP workshop](https://pyjamas.live/blog/ask-me-anything) August 27th & 28th
    Ticket sale to [PyData Global](https://global.pydata.org//) starts tomorrow (27th Aug)
    [Data Science and Business Analytics with Python course](https://www.skillshare.com/classes/Data-Science-and-Business-Analytics-with-Python/1489151284/projects?via=search-layout-grid) - Jesper Dramsch
    [CircuitPython day](https://circuitpython.org) - Sept 9th - Adafruit [newsletter](https://www.adafruitdaily.com/2020/08/25/python-on-microcontrollers-newsletter-usb-midi-host-8000-thanks-projects-and-more-python-adafruit-circuitpython-circuitpython-micropython-thepsf/)
    Nadia’s [new book on Open Source](https://twitter.com/nayafia/status/1273304859387719680) - Guido’s [tweet](https://twitter.com/gvanrossum/status/1297043394712092672)

Mid Meet - Hall of Fame
    Bojan Miletic - Python developer
    Follow Bojan on [Twitter](https://twitter.com/mrBoyan)
    [Virtual Coffee](https://calendly.com/bojan-miletic/virtual-coffee)
    [Website](https://www.softerrific.com/)

PyPI highlights
    [Pytest-docker-compose](https://github.com/pytest-docker-compose/pytest-docker-compose)

[Listen to MidMeetPy podcast](https://anchor.fm/midmeetpy)
How long does it take to become a fullstack developer? Fredrik Christenson
Tags: javascript, css, html, node
Published: 2020-08-28 15:06:08

{% youtube 0lj-myjpOT0 %}

## Hey guys, today I reached 1k+ views on dev.to with 17 posts

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/xk1cbuljt3xolnbfv6fl.png)

### Note: I'm doing this to document things along with my coding journey

#### I share things which I find useful for others like
* coding solution
* other videos
* tutorial
* concepts
* projects
* experience and much more
HOW TO JOIN? WHY IMAGINE CUP ?
Tags: msftlearnstudentambassadors, imaginecup
Published: 2020-08-28 14:49:47

With over 2 Million student competitors in over 100 countries, imagine cup is the place where your ideas and solutions come to life.
Do You want to make an impact and get inspired while you are at it?, then Imagine Cup is the place.

It all starts with an idea. **"DREAM IT, LIVE IT ,BUILD IT" .**
The whole idea is that you come up with a project that is going to make an impact and use technology to implement it.
Projects are generally themed around how technology can solve the world's toughest problems. The competition is global.


   **HOW TO JOIN**
Register  [here](https://imaginecup.microsoft.com/). 
After you register you form a team of one to three people, come up with a project idea, use Azure for students to build your solution, and submit it to the online semi-finals.
  
 
**The key Phases of the Competition are** 
**The regionals**  
  1. Online Semifinals
  2. In Personal Regional Finals  (which might change due to the current state of the world)
**The   World Championship**

For the Regional finals and world championship Microsoft gives a mentor to coach the teams with pitches and presentation skills,
an opportunity to learn from the best of the best. If that is not reason enough to register, then I don't know what is.




**WHY IMAGINE CUP?**
1. Imagine Cup opens you up to a world of opportunities. A chance to showcase that you participated in your resume, it becomes a talking point with recruiters.
2. You get to improve if not perfect on your ability to present and pitch. It allows you to practice your presentation skills as you get to pitch to industry professionals (necessarily not tech).
3. There are also prices to be taken away such as Azure credits, cash prizes, and a mentoring session with Microsoft CEO  Satya Nadella.

Check Out these amazing teams for some inspirations
[Get Inspired](https://techcommunity.microsoft.com/t5/student-developer-blog/meet-the-2020-imagine-cup-world-champion-team-hollo-from-hong/ba-p/1400674)

  
Charity Nyanchera
Microsoft Learn Student Ambassador
take a break!
Tags: productivity, healthydebate, codenewbie
Published: 2020-08-28 14:44:45

We often hear advice such as work hard, sleep a little and advice similar to this, but little talk about breaks. We become like machines, and we only run for work and if we take a break we feel guilty. So let's talk a little bit about your break!

I decided to write this article because last week it was a little difficult. Last week I felt very frustrated, I lost the desire to do anything, I was feeling a lot of pressure in my brain, I was about to take over and quit learning programming that I had started 5 months ago, learning every day without stopping, I deprived myself of almost everything except for learning programming, I did not watch any movies, I did not go out for a walk, I did not meet my friends, I reduced my sleep hours significantly, I even shut down social networking sites and forbade myself from taking a break because I thought it was just a waste of time. The result was that during the past week I was feeling close to depression, so I finally decided to take a break, and this was the best decision. After the break, I went back to learning programming with more focus and more energy.

### why breaks is so important?

break is not just entertainment, it has many more benefits than you can imagine. Here are some benefits of taking a break:

- Breaks help you to process and retain information

- You’ll get a better sense of the bigger picture

- You’ll be more creative

- Breaks can help you cultivate healthier habits

- Taking regular breaks helps you be more productive

you can read more details about this benefits on this article : https://www.ciphr.com/advice/taking-breaks/


### Plan your breaks time as well as you plan your work time:

When you plan for tomorrow, set times for breaks and do what you love in your breaks, watching a movie, spending quality time with your family, going for a walk, and in your breaks time forget everything related to work Just have fun. we are humans and not machines and we deserve some breaks.
CICD in 5 steps with circle CI & helm
Tags: kubernetes, circleci, docker, devops
Published: 2020-08-28 14:38:15

CICD itself is enormous, so we just cover those section which is 
sufficient to maintain the production deployment of a basic application.

CICD is the process of continuous integration and continuous delivery which means automating all the steps involved right from merging the code to updating the running environment with that code.

This setup was created to manage the deployments of my first side project and after completing and implementing the pipeline I just realized that the setup is a short and effective solution which makes me motivates to write a blog.

#### The series has 5 steps which are interlinked with each other.

- [Gcloud](https://cloud.google.com/sdk/gcloud) setup :cloud:
- [Docker](https://www.docker.com/) setup :ship:
- Automatic build docker and push to [google container registry](https://gcr.io/).
- Deploy [helm](https://helm.sh/) charts :clipboard:
- Automate the update deployment process :computer:

***

#### **Setup gcloud** 

##### *Important points*

- Cloud is free for a year:free:
- Google Kubernetes Engine automatically creates VM instances.:computer:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/pz304i2t4aoncd3foyqq.JPG)

Google Cloud projects form the basis for creating, enabling, and using all Google Cloud services including managing APIs, enabling billing, adding and removing collaborators, and managing permissions for Google Cloud resources.

Creating a cluster is the primary step inside the project.
Cluster is the set of one master node and multiple worker nodes that run the containerized applications.



Master node runs the core resource controllers and inside the worker nodes, pod runs the containers which can be 1 or more that one.

While setting up the cluster, one step will be of a machine set up in which OS image, CPU performance, and resource allocation have to be selected.



![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5b7i9j0mscf84a8ntcqj.JPG)



Once the cluster's setup is completed the cloud is ready to deploy applications.



![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/hku80v435yk703ejuqpv.JPG)

> *The best feature of gcloud is that it provides the shell terminal in its UI, so no need to connect separately with puTTY.*

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/i86eea33y4wilcr1s0gz.JPG)


```gcloud init``` and ```gcloud auth login``` are the basic commands and reference video is attached for more details.

{% youtube A-3yY594Oko %}



TO BE CONTINUE...
🚀10 Trending projects on GitHub for web developers - 28th August 2020
Tags: react, javascript, css, webdev
Published: 2020-08-28 14:26:37

Trending Projects is available as a weekly newsletter please sign up at [www.iainfreestone.com](https://www.iainfreestone.com) to ensure you never miss an issue.

### 1. Umami

Umami is a simple, fast, website analytics alternative to Google Analytics.

{% github mikecao/umami %}

---

### 2. Markdown Here

Markdown Here is a Google Chrome, Firefox, Safari, Opera, and Thunderbird extension that lets you write email in Markdown and render them before sending.

{% github adam-p/markdown-here %}

---

### 3. Recoil

Recoil is an experimental set of utilities for state management with React.

{% github facebookexperimental/Recoil %}

---

### 4. Summernote

Super simple WYSIWYG Editor. Summernote is a JavaScript library that helps you create WYSIWYG editors online.

{% github summernote/summernote %}

---

### 5. Carbon Design System

Carbon is an open-source design system built by IBM. With the IBM Design Language as its foundation, the system consists of working code, design tools and resources, human interface guidelines, and a vibrant community of contributors.

{% github carbon-design-system/carbon %}

---

### 6. Ice

A universal framework based on React.js

{% github alibaba/ice %}

---

### 7. Electron Builder

A complete solution to package and build a ready for distribution Electron, Proton Native app for macOS, Windows and Linux with “auto update” support out of the box.

{% github electron-userland/electron-builder %}

---

### 8. Blitz 

The Fullstack React Framework. Includes everything you need for production apps. Everything end-to-end from the database to the frontend. Brings back the simplicity and conventions of frameworks like Ruby on Rails while preserving everything we love about React.

{% github blitz-js/blitz %}

---

### 9. Prime React 

Build Better Apps with React. The ultimate collection of design-agnostic, flexible and accessible React UI Components.

{% github primefaces/primereact %}

---

### 10. Primer CSS

The CSS implementation of GitHub's Primer Design System

{% github primer/css %}

---

Trending Projects is available as a weekly newsletter please sign up at [www.iainfreestone.com](https://www.iainfreestone.com) to ensure you never miss an issue.

If you enjoyed this article you can [follow me](https://twitter.com/iain_freestone) on Twitter where I regularly post bite size tips relating to HTML, CSS and JavaScript.
Dealing With Rejection As A Developer
Tags: devrel, productivity, startup, motivation
Published: 2020-08-28 14:19:52

Hi everyone,
We have all been in that dilemma of getting rejection mails after applying for jobs at various companies. 
Sometimes these companies might even "ghost" you. Well, this can really make a developer feel depressed and questions if he/she is good enough to get the job.

Before you start applying for jobs, you need to have this in mind that if you plan there are chances that you will either be approached by the company for an interview or be rejected. Doing this allows you to know that there are options for you to explore.

Getting ghosted by a company doesn't mean they don't like you or they have rejected you automatically, there is a possibility that they haven't seen your application or worst case , they have seen it but they haven't gotten enough time to give you a reply.

When a company sends you a rejection mail or letter, it simply means that you didn't  fit the role and the experience they were looking for. Put your self in the company's shoes, if you were looking for a developer with 5 years experience to handle a specific task and a developer with 2 years experience apply for the position, would you offer him a position ?
I'm guess you will say no, because you want someone that can deliver the task at hand.

More so, a lot of people would have applied for that same position and some might be qualified than you who are a good fit for the position.
In order to avoid cases like that, avoid applying for jobs that supersedes your experience , look for the right one and if you found it but you got rejected. Move on!!

I have gotten countless of rejection mails for various companies but yet I continue pushing it.
Learning to use rejection to your advantage is a tool in developing your skills. Rejection in the tech world means learn and strive to achieve more. If you keep pushing surely you will get to your destination.

If you are a fresher or a developer looking for your first developer role, don't be afraid of getting rejected because if you are then you are gradually falling into a state where you will constantly doubt yourself in anything you do. Think of it as the company telling you that, they are impressed with your talent but you need to improve your skills. Improving your skills will benefit you a lot.

But if you have a sufficient amount of experience and have worked at various companies and you still get rejected is a sign that the company isn't for you. Some of the reasons may include :
* They might not be able to meet your salary demand.
* The company feels that the role isn't for you.
* They don't have a good environment where you will find comfortable.

But if you can be able to bring yourself down to them, then you can be able to land the jobs even after being rejected.

Another thing to keep in mind is to embrace failure. Failure is one of the keys to unlocking the doors of success. Getting rejected isn't the end of the world, it is the world telling you to to get up and strive harder.


Here's one final note:
Fail today, Succeed tomorrow!!

Thanks for reading
Dead Links? No more!
Tags: actionshackathon
Published: 2020-08-28 14:13:02

[Instructions]: # (To submit to the GitHub Actions x DEV Hackathon, please fill out all sections.)


### My Workflow
[Note]: # (Make sure to include the name of your GitHub Action and share where it's being used!)

My workflow checks for dead links in all markdown files in the repository and creates an issue if any are found. I've set it up to run weekly. This helps make sure links are up to date, especially if you have a large number of them.

![YAML](https://dev-to-uploads.s3.amazonaws.com/i/1ponw7u3s44rku9hq558.png)


### Submission Category:
[Note]: # (Maintainer Must-Haves, DIY Deployments, Interesting IoT, Phone Friendly, or Wacky Wildcards)

Maintainer Must-Haves


### Yaml File or Link to Code
[Note]: # (Our markdown editor supports pretty embeds. Try this syntax: `{% github link_to_your_repo %}` to share a GitHub repository)

{% github https://github.com/lefthandeddev/bookmarks %}
Spring security with JWT based login [Without OAuth]
Tags: tutorial, java, security, beginners
Published: 2020-08-28 14:11:27

The blog is originally published on my blog [jsblogs.github.io](https://jsblogs.github.io/spring/2020/08/28/Spring-security-with-JWT-token-based-login-Without-OAuth)

---

* [Introduction](#intro)
* [Video Tutorial](#video-link)
* [Source Code](#source-code)

## Introduction <a name="intro"></a>
This blog post will demonstrate the spring-security with JWT token based login without using OAuth. In some use-cases where you require stateless/token based login
 but doesn't want to go with OAuth for any reason, the JWT based login is useful.
 
## Video Tutorial<a name="video-link"></a>

{% youtube -h9jdXfP9Zc %}

## Source Code<a name="source-code"></a>

The source code for tutorial can be found [here](https://github.com/jeetmp3/tutorials/tree/master/spring-security-jwt-login).
DEV's UI decision-making - A question...
Tags: ux, webdev, discuss
Published: 2020-08-28 14:09:01

Hi {% user ben %} I'm interested in why the new(ish) DEV (desktop) interface invites you to 'Add Comment' when there are no comments yet on a post. Does this suggest you should write a comment without reading the content?

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/awm8r6161v31jqk8hdut.png)

An alternative that seems more natural to me would be to simply invite you to read the post...

What was the thought process in this case?

The mobile view just tells you there are none:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5wzmaocpokt0g05tse55.png)