teleren/devto huggingface dataset:
Which Linux Exist for What reason?
Tags: linux, ubuntu, archlinux, operations
Published: 2020-12-08 20:28:13

Hello Folks, I was wondering that there are almost 1000 Linux distributions around us and Dammm! I just know a few of them. That was really demotivating for the first 10 seconds then I thought wait wait wait are they even used? or just developed for fun. After a deep research, I found that most of them are just started as a side project or a solution to a personal problem but some of them really makes difference and have a stand in this fast-moving world. So let's not talk and let me give a brief to you : 

#### Ubuntu 
This is a Debian based Linux which proved to give best known simplistic user experience + support, and Yessss! I also felt the same.
Points to note are: 
* It is providing a solid desktop (and server) experience, and it isn’t afraid to build its own custom technology to do it.
* Rich of Repositories and not so fancy yet powerful at the same time

#### Linux Mint
Mint is built on top of Ubuntu and known for having the best media support at that time but I think now we have software like VLC to do the job. Sooooo, goodbye mint👋 We need to break up 🙈

#### Fedora, RedHat and CentOS
Fedora is started as a university project (as I mentioned🤭) with the aim to serve bleeding-edge software and support at the enterprise level and RedHat named community also supported the cause. But after a period of time in 2003 RedHat got divided into two entities Redhat Enterprise Linux(RHEL) and Fedora. They are still the same OS but RHEL adds extra support to companies to make some money and keep the purpose alive. But in August 2008 several Fedora servers were compromised ad that's where the boosted rise of RHEL happened. CentOS is just a copy of RHEL but it's just RHEL with less/no support.
In short, they are Linux for the enterprise.

#### openSUSE / SUSE linux Eterprise
Basically, openSUSE aimed to provide the best UI + powerful enterprise-level features and it is once known for its best Linux UI but eventually, Ubuntu took the crown. SUSE Linux Enterprise is the enterprise version of openSUSE. 

#### Arch Linux
Linux known for its deep roots. That means it's once the barest and grounded Linux where you have to manually configure everything but at the same time, you have the power to do everything. And at present, if you want a User experience near to MacOS then go for it.

#### Kali Linux
As we already heard, Kali Linux is known for its supercool 600 preinstalled hacking tools and a super awesome UI. It is actually a **K**ernal **A**uditing **LI**nux but often misunderstood by Hindu goddess name "kali" mata. It actually became famous when actors used it multiple times in "Mr.Robot" t.v. series.

*As I mentioned there are thousands of Linux-based OS but I think every OS is there for solving a particular problem so before installing any OS just find your use case. And if you think I left something then comment it down below and Don't forget to show some love in the comments down below.*

> Good Luck, Happy Coding!
Tylekeo-soikeoio
Tags: soikeo
Published: 2020-12-08 20:34:28

Trang thong tin keo nha cai Soikeo.io cung cap nhung thong tin nhanh nhat, tin cay nhat.  Dac biet voi chuyen muc Ty le keo, cac ban se cap nhat nhanh nhat duoc ti le keo nha cai trong tung tran dau cua cac giai dau lon nhu: World Cup; Asian Cup, Premier League, Euro, Copa America, Serie A, La Liga,…nham som danh gia va dua ra duoc ty le cuoc chuan xac nhat. Thuc su day la ben do ly tuong dap ung duoc nhu cau giai tri chung cua moi nguoi, nhat la nhung ai say me voi mon the thao vua,
Lien he chung toi qua thong tin:
Dia chi: 279 Kim Ma, Ba Dinh, Ha Noi
Website: https://soikeo.io/ty-le-keo/
Email: ads.soikeoio@gmail.com
Social: https://twitter.com/soikeoio
Hastag: #soikeoio #keonhacai #soikeobongda #tylekeo
How I achieved clean inbox on Slack
Tags: lifehacks, slack, productivity, messaging
Published: 2020-12-08 20:30:58

*Title image Credit: Helpscout (https://www.helpscout.com)*

We've all heard of the inbox zero. It sounds like a distant dream, an empty screen signalling that all that you had needed to attend to, has been attended to. It's the logical equivalent to the 😌 emoji. It also, if guides and blogs are to be believed, takes a lot of effort, a logical equivalent of the 😫 emoji.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ohl39xrv55grtzagx0pl.png)*Credit: Slack (https://www.slack.com)*

While that may be true for emails, I was able to achieve an Inbox zero (almost) in Slack, and I feel the bliss that comes along with it. Like the discovery of the X-rays, this discovery was too, accidental. Here's the algorithm that I follow:
1. Slack now supports sections, which are logical groups that you can make for your chats. More details here.
2. Group up your channels however you'd like (I have 6 categories).
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ekdp53pvkhdov5lgqclq.png)
*The emojis really give the sections some character 😅*
3.Important: Make sure that one of the sections is called 'Noise'
4. Fill up those channels in 'Noise', which have a lot of messages coming in per hour (these are usually channels with bot(s)) and messages which are not that important.
5.Important: Collapse all your sections so that your sidebar looks really neat 🧹 ✨
6. Now, expand the sections one-by-one and go through the unread channels. Collapse the section as soon as all the unread channels have been read.
7. Voila!
8. Go through the 'Noise' channel once every 2 hours or with a lesser frequency using the 'All unread' section. This allows you to skim through really quickly.

*Note: Do not forget to collapse the sections once you're done reading the channels within.*

## Why this works (for me):

Seeing 6 sections, a subset of which is highlighted is much less daunting than seeing a multitude of highlighted channels.

Additionally, the power of categorization lies within your hands, which allows you to group channels in terms of priority. For example, I have a section called 'Priority', and it becomes imperative that I check that section before anything else.

Happy Inbox 0!
Fullstack Angular with NestJS Update
Tags: typescript, javascript, angular
Published: 2020-12-08 20:24:39

# Previous Post
Hello, in a previous post I mentioned a course that I am working on. I have officially completed the first two sections of the course. As of right now the layout of the course is as follows:

## Section 1: Environment Setup
This section, as the title says is all about getting your environment setup by installing the necessary tools and software for the project.

## Section 2: Intro to TypeScript
This section will introduce you to the nuances of the TypeScript language as you build a pretty cool todo list CLI application. This app shows you how to use the type system that makes TypeScript so useful.

## Section 3: NestJS
This section will see the start of the backend development for our e-commerce application. We will use the CLI that comes with NestJS to bootstrap our application as well as generate majority of the files and structure of the application. We will also test our endpoints using Insomnia. I will have a bonus lecture for using Postman as well. I know both tools are pretty popular so I wanted to go ahead and show how to setup and use both.

## Section 4: MongoDB
This section will see the introduction of MongoDB. We will use the services that we set up in the beginning to create a test MongoDB to make sure that everything is running properly. Starting with the mongo shell we will create a test database then from there we will populate that database and then open our GUI tool (Studio 3T) to view the documents we created for the database before we create our project database. The purpose of this section is to better familiarize yourself with MongoDB as well as the mongo shell for quickly accessing mongo for testing your database without needing to open any GUI 

## Section 5: Angular
This is the section I am sure a lot of people will be looking forward to. This is where we will be building our frontend portion of the application. It will be a lot of fun hooking into our database and making the calls to our backend. At the end of this section we will have a fully functioning app.

## Section 6: Deployment
In this section we will begin the deployment phase of your application. I have decided to wait until the end to do deployment but, if you know what you are doing or have a particular place you like to deploy websites and apps to that differ from the one I choose then feel free to deploy in between each section. 

# Conclusion
That's it for the course. If anyone has any suggestions or questions please feel free to reach out. The course is going to take a little while to finish. I had some things going on previously which is why this post took a little while to write but the course should be back to recording shortly and I am hoping to have it finished soon. As always happy coding.
Two reasons why you should add a return type in your functions in Kotlin
Tags: cleancode, kotlin
Published: 2020-12-08 20:17:05

---
title: Two reasons why you should add a return type in your functions in Kotlin
published: true
date: 2020-12-08 20:14:51 UTC
tags: cleancode,kotlin
canonical_url: https://le0nidas.gr/2020/12/08/two-reasons-why-you-should-add-a-return-type-in-your-functions-in-kotlin/
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/laiiui88s79zaeom9e99.png
---

Kotlin’s compiler is clever enough to figure out on its own what is the return type of a function but this does not mean that we should over use it and here is why:

#### Help the compiler to help as

By adding a return type in a function we instruct the compiler to expect and force that type (by a compiler error). On the other hand if we allow the compiler to infer the type, if something changes in the function’s body and the return type is not the one intended by the author, the compiler will follow along thinking that we know what we are doing!

#### Help the reader [to help as]

We write something once but it gets read multiple times. So it is our responsibility to make it as readable, explicit and quick in the eye as we can. In every case that we omit a return type the reader of our code has to do the calculations and extract the type on her own which, depending on the complexity, will take time and effort. You might say that a few seconds is not a big deal but in comparison with the zero seconds of having a type it is a lot.

Also not all reading takes place in an IDE that provides hints and colorful help. Our PR reviewers will probably read out code directly from GitHub or GitLab. By making them change context to figure something out we break their flow and concentration.

#### So, when should we use it

~~Never!~~ In my humble opinion the only valid place is in small (one line), private methods that either construct something, so the use of the constructor along side the `=` sign trick the mind:

{% gist https://gist.github.com/le0nidas/ebad9d5cfca4fc34a6e3eac1cdde0851 %}

or the return type is clearly obvious:

{% gist https://gist.github.com/le0nidas/ec4ae3de528169ba83c740133666e151 %}
Python String Methods
Tags: python
Published: 2020-12-08 20:02:46

Python has many build-in methods, these methods belong to a data-type now i will to explain the most common string methods

**capitalize** = this method returns some string but with the first character in uppercase.

```python
my_string = 'random word'
capitalize_word = my_string.capitalize()
print(capitalize_word)

output : 'Random word'

```
**lower** = this method returns a copy of the string with all characters in lowercase.

```python
my_string = 'Random WORD'
lower_word = my_string.lower()
print(lower_word)

output : 'random word'

```
**upper** = this method returns a copy of the string with all characters in uppercase.

```python
my_string = 'Random WORD'
upper_word = my_string.upper()
print(upper_word)

output : 'RANDOM WORD'

```
**swapcase()** = this method change the characters , if the character is uppercase change for lowercase, does the same for the opposite case.
```python
my_string = 'RANDOM word'
swap_word = my_string.swapcase()
print(swap_word)

output : 'random WORD'

```
P5.JS: Polar Mandalas
Tags: javascript, showdev, webdev, programming
Published: 2020-12-08 19:50:30

Hi there 👋! In this unplanned series about P5JS projects I had archived I now present to you: Polar Mandalas!

The code uses the concept of **polar coordinates** to make beautiful and colorful lines across your page. All the magic happens on the **Body** class, it has the following attributes:

- **radius**: It's the distance between a single body and the center of the page (by convention, the cartesian plane for the canvas has its origin in the top-left corner of the page, here I've translated to the center to reduce the complexity of calculations). The variation of the radius it's what makes the drawings. Its initial value it's given as an argument for the constructor.

- **velocity**: The velocity at which the body moves.

- **angle**: It's the angle at which the body is respect to the x-axis. It increments proportional to the velocity, that is, the more velocity the body has, the more curved the lines will be. The angle grows indefinitely and its initial value it's given as an argument for the constructor.

- **alpha, beta**: Constants values defined randomly at construction. It defines the ratio at which the radius varies according to the following function: _alpha + cos(beta * angle)_.

- **clr**: The color of the body and therefore the color of the trace (the line it draws).

- **history**: An array of previous points that the code uses to draw the trace itself.

You can interact with the code right here (press enter to create a new set of bodies):

{% codepen https://codepen.io/Dev_Tony/pen/eYdzqBN %}

This project was based on a [coding challenge](https://www.youtube.com/watch?v=f5QBExMNB1I) made by **Daniel Shiffman** about Mathematical Rose Patterns.

I hope you liked it! If you have questions or suggestions to make please leave them down below. Thanks 👏!
How to View Your Live Localhost From Your Laptop on Your Mobile Device
Tags: webdev, android, mobile, vscode
Published: 2020-12-08 19:34:29

## Make sure your project is responsive by viewing it live on your mobile device. 
--------------

Before you get started with this tutorial you should have VSCode installed as well as the live server extension. There are tutorials online just ask google or check out [@sasha.codes](https://www.instagram.com/p/CIgls16Aihg/) Instagram post with a mini-tutorial on how to install and use it. 

### 1. First, start your live server through VSCode 

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

### 2. Then look up your IP address. 

If you are on a mac. You can go to your 'system preferences' and then 'network' and there you will find your IP address. 

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

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

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

If you are on a Windows go to your taskbar open the wi-fi network you are connected to and there you should find the IP address (If this doesn't work try a google search since every computer is a bit different your IP address might be located somewhere else)

### 3. Make sure your laptop and mobile device are connected to the same wifi and that your mobile data is turned off. 

### 4. Input URL into your phone's browser
http://YOUR IP ADDRESS:YOUR PORT NUMBER/YOUR FILE NAME

for example, mine would be: 
http://196.168.0.166:5500/index.html

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

### 5. Enjoy
You should be all set. Every time you make a change to the HTML file and save it you should be able to see the live version on your laptop and mobile device. If it does not show try reloading the page. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/8d56hufiyqz7yioh17qe.png)
                             *On my laptop*

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/teleimzs0hjw448bc5ny.jpg)
                             *On my mobile device*

*If you are even a bit intrigued and are interested in learning to code [lets connect](https://www.instagram.com/brendamichellle/)! I would love to help in any way I can.*

<span>Photo by <a href="https://unsplash.com/@tvick?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Taylor Vick</a> on <a href="https://unsplash.com/s/photos/server?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>
Most Loved Languages 2020: Go(lang) Ranks #5
Published: 2020-12-08 19:32:57

Just thought this might be interesting since my recent [article about my introduction to Go (here on Dev.To)](https://dev.to/raddevus/why-am-i-learning-go-i39) inspired people to let me know how much they hate Go.

## StackOverflow Devs Rank Go #5
You can see the details of the [ranked languages at stackoverflow](https://insights.stackoverflow.com/survey/2020#most-loved-dreaded-and-wanted).

## What Does It Mean?
What does it mean that Stackoverflow devs seemed to have ranked Go as the #5 loved language?

There are many conclusions we could draw:
1. 60% of the respondents to the StackOverflow 2020 Survey are shills, idiots and/or criminally insane. 🤣
2. The Go creators have paid off Stackoverflow 2020 Survey responders so that they would respond favorably about Go.
3. Respondents to the Stackoverflow 2020 survey aren't "Real Devs" and they are just picking their favorite languages by how much they like their names (Go is a good name, isn't it?).
4. 60% of the respondents to the Stackoverflow 2020 Survey thought that Go was referring to the [ancient game of Go](https://en.wikipedia.org/wiki/Go_(game)).
5.  Other?  Chime in and let me know why a large number of respondents said this is their "most loved" language of 2020.
#Day 6: Binary Tree Traversal
Tags: 100daysofcode
Published: 2020-12-08 19:14:31

Hello there!

Today I studied about Binary Tree. Although it is the first time that I'm learning about a non linear data structure, I found these traversals quite interesting.
I did Preorder, Postorder and Inorder traversals- both in recursive and iterative way.

YouTube really makes things easier. The videos really helped me a lot.
Build a Reddit Clone using Spring Boot and Angular
Tags: java, spring, springboot, angular
Published: 2020-12-08 19:13:51

---
title: Build a Reddit Clone using Spring Boot and Angular
published: true
description: In this series of video tutorials, you will learn how to build a Reddit Clone Application using Spring Boot in the backend and Angular on the frontend side
tags: java, spring, springboot, angular
//cover_image: https://i1.wp.com/programmingtechie.com/wp-content/uploads/2020/05/Featured-Image-Blog.png?resize=1536%2C864&ssl=1
---

In this tutorial series, we are going to build a Reddit Clone application with Spring boot and Angular.

We will be using Spring Boot, Spring Security, Spring Data JPA, MySQL on the back-end side and on the front end we will be using Angular and Bootstrap.

Also, we will be using Token Based Authentication in the form of JSON Web Tokens (JWT).

The main idea of this series of tutorials is to show how to use these technologies to build a simple web application.

You can find the complete playlist on Youtube :

{% youtube 7PsjGI-88sc %}

If you learn quickly by reading through written tutorials, you can also check the written version of this tutorial [here](https://programmingtechie.com/2020/05/14/building-a-reddit-clone-with-spring-boot-and-angular/)

You can follow me on [Twitter](https://twitter.com/sai90_u) to get latest updates on the blog posts and Video Tutorials.
HOE KRIJGT U UW PAYPAL-ACCOUNT VERIFIEERD?

Tags: paypal, klantenservice, nederland, nummer
Published: 2020-12-08 19:07:04

Rekeningverificatie helpt PayPal ervoor te zorgen dat u de rechtmatige eigenaar bent van de bankrekening of kaart die eraan is gekoppeld. U kunt ook uw maandelijkse opnamelimiet verhogen door uw account te laten verifiëren. Bel ons Paypal bellen nederland om te leren hoe u uw kaart of bankrekening aan PayPal koppelt.
https://contactklantenservicenederlands.com/bellen-paypal-telefoonnummer.html
Github Universe 2020 is live now
Tags: github, opensource
Published: 2020-12-08 19:00:06

Guys! Don’t miss a minute of Github Universe 2020. The sessions are worth listening. For those who don't know what Github universe is, it is an annual community event hosted by Github. This year, the event is virtually hosted due to COVID-19 pandemic.

The sessions are grouped into four channels : [Developer](https://githubuniverse.com/developers), [Enterprise](https://githubuniverse.com/enterprise), [Univers(ity)](https://education.github.com/university) and [Play](https://githubuniverse.com/play). 

Here is a brief explanation about each channel (resources from github universe FAQs):
* Developer: geared towards open source contributors and maintainers running projects of all sizes, as well as developers looking to understand the latest software tools, techniques, and best practices.
* Enterprise: tailored for senior leaders and decision-makers from global companies interested in transformation, security, scalability, and productivity.
* Univers(ity): designed specifically for college students seeking the tools, techniques, and connections that will help expand their resumes and prepare them for their future.
* Play: take a break, get inspired, or discover something new with entertaining performances, tutorials, and unexpected stories, all driven by code.

This event will be hosted for three days (Dec 8 - Dec 10). So, I hope you learn something from the sessions that you find interesting.
Web Developer Roadmap 2021 in 10 minutes
Tags: webdev, tutorial, beginners
Published: 2020-12-08 18:59:59

I am going to tell you what exactly I would do if I had to start to learn web development in 2021.

I will cover: 

- Essential Tools
- Programming Languages
- Libraries/Frameworks
- Projects you can do

More on [learn.devchallenges.io](https://learn.devchallenges.io/tutorial/web-developer-roadmap-2021)

You can watch the video here:

{% youtube GAkZfIYWsO4 %}

Or a short summary here:

### Essential Tools:

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

### Programming Languages

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

### Libraries/Frameworks

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

## __________ 🐣 About me __________

- I am the founder of [DevChallenges](https://devchallenges.io/)
- Subscribe to my [Youtube Channel](https://www.youtube.com/channel/UCmSmLukBF--YrKZ2g4akYAQ?sub_confirmation=1)
- Follow my [Twitter](https://twitter.com/thunghiemdinh)
- Join [Discord](https://discord.com/invite/3R6vFeM)
How are you using Map data stricture in your JS applications?
Tags: javascript, showdev, webdev, discuss
Published: 2020-12-08 18:51:04

{% twitter 1336381703288401925 %}

![Object to Map](https://dev-to-uploads.s3.amazonaws.com/i/mqk9zusfud8pn48r054v.png)

If you want to read the full article,
https://jsmates.com/blog/convert-object-to-a-map-in-javascript

Add your comments on use cases for Map data structure?