teleren/devto huggingface dataset:
Hacktoberfest-pull request done
Tags: hacktoberfest
Published: 2020-11-14 07:50:33

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### [Intro Heading]
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and decided to participate in Hacktoberfest this year.  --> 
I am Ayoola Paul and I am web developer, I joined dev to collaborate with other developers so that I can learn and horn my skill 
### Background

<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here →
I am newbie taking a Js course on udemy, I got here from google search for code error

### Progress

<!-- Share a bit about where you’re at in your Hacktoberfest journey. What stage are you at? How has the process been?  -->
 Congratulations to me, I am the last stage
### Contributions

<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  -->
I choose the 10-days-of-Js-challenge because I am not yet a pro at it and I made correction to some code error like declaring a variable, writing alternative code to arrive at same result, I also included ES6 code for the ES5

### Reflections
<!-- Overall, how has your Hacktoberfest 2020 experience been? If you’re a first-timer, will you participate again? What have you learned? Have you made any interesting connections? What is your next step in open source?  -->
I am a first timer, and I will keep participating, I have learnt how to contribute to open source and I made a connection with a good developer in my country.  My next step is to become more active in open source
C# 9.0 Perks
Tags: csharp, news
Published: 2020-11-14 05:59:48

Hello everyone!

C# 9.0 is the new kid on the block for language enthusiasts.

There are quite a few new "goodies" in it, here I'll talk a little bit about some that caught my attention, be it because it's something that will make my everyday easier or something that community has talked a lot about it and it's finally here!

I'll cover **Init-only properties and accessors**, **target-typed new expressions** and **records & with-expressions**.

Got all of those objects that should be set only in initialization? Problem solved!
The **init accessor** was just introduced to make your day easier.

```
Public class Product
{
    public string? Name { get; init; }
    public string? Brand { get; init; }
}
```

With the aforementioned declaration any subsequent assignment to those properties will throw a compile time error!
This means that initialization onwards the state of the object is totally protected from mutation.

```
var product = new Product { Name = "Tomato", Brand = "XYZ" }; // YAY!
product.Brand = "GEEZ"; // NOPZ!
```

And with **target-type new expressions** we can kiss goodbye to verbose declarations!

```
Product product = new { Name = "Tomato", Brand = "XYZ" };
```

Which would be especially nicer if we were dealing with arrays or lists!

```
Product[] products = { 
    new { Name = "Tomato", Brand = "XYZ" }, 
    new { Name = "Potato", Brand = "XYZ" }, 
    new { Name = "Tomato", Brand = "GEEZ" }, 
    new { Name = "Potato", Brand = "GEEZ" }
};
```

We do have a trade-off between var and target-type new expressions, but the freedom to decide what's better in each situation is what thrills me. 

Continuing on our previous subject: want the whole object to be immutable, just like a value type behavior? Combine it with **Record class**!

```
Public record Product
{
    public string? Name { get; init; }
    public string? Brand { get; init; }
}
```

In these cases we normally represent new states by creating a whole new object based on the values of existing ones. And this is where **With-expressions** come into place!

We can create the new object by only stating what's different:

```
Product product = new { Name = "Tomato", Brand = "XYZ" };
var otherProduct = product with { Brand = "GEEZ" };
```

There are many other features that might help you out such as static anonymous functions, covariant returns and improved pattern matching. To learn more take a look in the ["What's new in C# 9.0" documentation](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9).
Check out the link from tourplacesinfo.com
Published: 2020-11-14 07:31:04

https://tourplacesinfo.com/
https://tourplacesinfo.com/best-credit-cards-for-international-travel/
https://tourplacesinfo.com/best-places-to-visit-in-november/
https://tourplacesinfo.com/best-time-to-visit-bali/
https://tourplacesinfo.com/best-visiting-places-in-usa/
https://tourplacesinfo.com/where-to-stay-in-london/
https://tourplacesinfo.com/where-to-stay-in-tokyo/
https://tourplacesinfo.com/couples-bucket-list-ideas/
https://tourplacesinfo.com/tiger-reserves-in-india/
Fix PHPMyAdmin Error: requested authentication method unknown to the client [caching_sha2_password]
Tags: mysql, macos, phpmyadmin
Published: 2020-11-14 07:17:20

---
title: Fix PHPMyAdmin Error: requested authentication method unknown to the client [caching_sha2_password]
published: true
description: 
tags: MySQL, MacOS, PHPMyAdmin
//cover_image: https://dev-to-uploads.s3.amazonaws.com/i/an2eudeyoxfje3dc23vd.png
---

While installing PHPMyAdmin on your Mac OS, you might encounter the following error:

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


```
mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]
mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client
```

This error happens because of the change in authentication in the later MySQL versions.

This is how to solve the above error:
1. Make sure your MySQL Server is running

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

2. From your terminal, login to MySQL:

`sudo /usr/local/mysql/bin/mysql -u root -p`

Enter the password you used to setup MySQL

3. Run the below command from MySQL shell:

`ALTER USER 'user'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';`

**OR** 

`ALTER USER root IDENTIFIED WITH mysql_native_password BY 'password';`

Replace **user** and **password** with your actual values.
Graph databases introduction 
Tags: database
Published: 2020-11-14 06:55:01

Hi, lets talk about graph databases.😊 A graph database is composed of two elements: nodes (vertices) and relationships (edges). A node is comparable to an entity in relational databases, the relationships connect the nodes. Properties are similar to attributes of a relational database, they are key-value pairs that can be stored on both nodes and relationships.

You can add labels to the nodes and relationships to specify their type. The data model of graph databases is called the labeled property graph model. Cypher is the query language for graphs. Here is an example for creating two nodes with a relationship:
```
CREATE (ee:Person { name: "Emil", from: "Sweden"})–[:WORKS_FOR]->(:Company {name: ”Google”})
```
It is a CREATE clause to create data.
- () parenthesis to indicate a node
- ee:Person a variable 'ee' and label 'Person' for the new node
- {} brackets to add properties to the node
- [:WORKS_FOR]→ specifies the relationship to the Company node.

If you now want to retrieve these nodes with their relationship write:
```
MATCH (ee:Person{name:’Emil’}) –[:WORKS_FOR]->(m) RETURN *;
```
Neo4J is the most popular graph database managament system at the moment. On their website you can use a sandbox with predefined datasets to play around, on the picture I queried the “Crime Investigation Dataset”. :) They also have a lot of info for beginners, find the link at the end.

What do you know about graph databases? Have a nice evening! :)
Reference: neo4j.com
9 Best TensorFlow Courses & Certifications Online in 2021- Discover the Best One!
Tags: machinelearning, datascience
Published: 2020-11-14 05:26:20

Are you looking for **Best TensorFlow Courses Online?.** but unable to find a good one, then read this article. 

I have listed some of the Best TensorFlow Courses Online after filtering out hundreds of courses. So, give your few minutes to this article and find out the **Best TensorFlow Course for you.**

TensorFlow is one of the **most popular open-source Deep Learning Library.** It is designed to perform both **numeric and neural network-oriented problems.**

Before learning TensorFlow, you should know, Why TensorFlow is important in Machine Learning?.

So, let’s have a look at TensorFlow features-

##**Why TensorFlow?**

I will explain with the help of **TensorFlow features.** So, these are some important features of TensorFlow-

1. With the help of TensorFlow, **we can visualize each and every part of the graph** which is not an option while using Numpy or SciKit.

2. TensorFlow is easily **trainable on CPU as well as GPU for distributed computing.**

3. TensorFlow offers **Parallel Neural Network Training.** That means you can train **multiple neural networks and multiple GPUs.** This feature makes the models very efficient on large-scale systems.

4. TensorFlow has a huge team because it is **developed by Google.**

5. The best part about TensorFlow is that it is **open source** so anyone can use it as long as they have internet connectivity.

6. Availability of Statistical Distributions such as **Bernoulli, Beta, Chi2, Uniform, and Gamma.**

These are very few features of TensorFlow that I discussed. TensorFlow has lots of other features too. I hope now you understood the importance of TensorFlow.

Before we dive into the courses, let me tell you, on what **criteria** these courses are “Best TensorFlow Courses Online”-

##**Criteria-**

1. Rating of these Courses.
2. Coverage of Topics.
3. Engaging trainer and Interesting lectures.
4. Number of Students Benefited.
5. Good Reviews from various aggregators and forums.

Now without further delay, let’s start finding the **Best TensorFlow Courses Online-**
**[Click to continue reading...](https://www.mltut.com/best-tensorflow-courses-certifications-online/)**
Pretty git log
Tags: macos, git, log, pretty
Published: 2020-11-14 06:41:35

If you are seeing that default `git log` is not visual and hard to read. You can try to do some customizes by using `--graph` and `--pretty`. 

```
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
```
Or shorter with `alias`
```
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
```
Finally
```
git lg
```
Let try to update colors as you like.
Happy coding!

Source: https://coderwall.com/p/euwpig/a-better-git-log
5 useful browser extensions for front-end developers
Tags: webdev, beginners
Published: 2020-11-14 06:38:36

### 1. Site Palette
A browser extension to create comprehensive color palettes. A must-have tool for designers and front-end developers.
Site Palette will extract all the colors used on a website and create a color palette. You can share and export your palettes to Sketch, Adobe Swatch, and more.
![Site palette example](https://palette.site/assets/section-overview-f9d0f2db5ee1916b7432c5421f583ff2963ac9b4f2e08dfe04b326ca31c17a0c.png)
[Link to extension](https://chrome.google.com/webstore/detail/site-palette/pekhihjiehdafocefoimckjpbkegknoh?ref=designrevision.com)

### 2. Fonts Ninja
Identify fonts used on any website, bookmark them, try them out, and buy them.
This is a great tool to detect on a webpage which fonts are used, and use them in your own code (if free and available of course)<br>
![Font Face Ninja example](https://lh3.googleusercontent.com/OgfkIhQhHqC-6Jt0oB9i3vUK6dEmKaR8vAfL6de1fvaRDuAl9YspXPFU8fjPBOndEUruRamJcug=w640-h400-e365-rj-sc0x00ffffff)

[Link to extension](https://chrome.google.com/webstore/detail/fonts-ninja/eljapbgkmlngdpckoiiibecpemleclhh)

### 3. ColorZilla
ColorZilla is an advanced Eyedropping tool, Color Picker, Gradient Generator, and much more. Using ColorZilla you can easily extract color from any point in the browser, and copy the color straight to your code editor, Photoshop file, ... <br/>

Useful features of ColorZilla
* Eyedropper - Get the color of every pixel on the page
* Advanced Color Picker
* CSS Gradient Generator
* Webpage Color Analyzer - Create color palette for webpage
* Color History - review recently picked colors

![ColorZilla example](https://lh3.googleusercontent.com/P77_Pe5xvds-T4r2LJZhj2nIZ7JS7n58mOI9AhpwvTquBlvy0DvZ3YSADGIjsAaLjDbvrit_Rg=w640-h400-e365-rj-sc0x00ffffff)
[Link to extension](https://chrome.google.com/webstore/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp)

### 4. Page Ruler
A great tool to measure objects on a webpage. Measures width and height in pixels.

![Page ruler example](https://lh3.googleusercontent.com/78WNH7CwMwmdMO5sSlCehZSwX-qdH5SYRQ5h8KdkgkdFydVYajWpIC5ML2GL-1XVSrmSkY6g=w640-h400-e365-rj-sc0x00ffffff)
[Link to extension](https://chrome.google.com/webstore/detail/page-ruler/idhjfgkakeliobkfbijghiaklmiaheag?hl=en)

### 5. JSON Formatter
Extension to show JSON content in the browser in a clear and readable way. 
Useful features : 
* JSON & JSONP support
* Syntax highlighting
* Collapsable trees, with indent guides
* Clickable URLs
* Toggle between raw and parsed JSON content
* For URLs or local files

![](https://lh3.googleusercontent.com/68vofGty-EmFi1WHH-y0IbwRXeJpKTg3eTZOjZQoZAhJ6vuY7cL0G6yJ0CsE5sooUtJkSbqwUbI=w640-h400-e365-rj-sc0x00ffffff)
[Link to extension](https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en)
100 days of code — Dia 5
Tags: python, programming, productivity, 100daysofcode
Published: 2020-11-14 06:35:58

<h2>(13/11/2020)</h2>
*Sexta feira 13*
[Comprei uma lampada vermelha]

Hoje foi dia de começar a aplicar algumas regras de negocio que o cliente me passou. No sistema, existirá três tipos de usuários, sendo eles:

1. __Diretor__ -> Ao criar a conta na plataforma, o usuário ja vem, automaticamente, cadastrado como diretor;
2. __Supervisor__ ->  O diretor poderá cadastrar o supervisor, que será responsável por gerenciar horarios de entrada e saida de funcionarios, além de visualizar horas extras, faltas, etc.;
3. __Funcionario__ -> O nivel mais baixo dessa cadeia de posições. O usuário cadastrado como funcionario, terá apenas a funcionalidade de bater o ponto (entrada - almoço / volta - saida).

- Houve também, algumas mudanças no design da aplicação e foi discutido algumas opções para hospedagem e decidimos, a primeiro momento, hospedar o sistema em um VPS.

No final do dia, precisei sair para comprar uma lampada para a minha luminária, preferi dar um toque a mais e comprar uma da cor vermelha.

![4fe74ba2-624c-476f-bd63-51637433ba13](https://dev-to-uploads.s3.amazonaws.com/i/x6e8r5quk1tnjlm0kioy.jpeg)

> Continuei lendo meus livros:
> *Sapiens:* 257/428;
> *O que é racismo:* 40/82;


<br>_Se hidratem, comam frutas, leiam bastante, a terra não é plana, vacinas salvam vidas e bolsonaro vai tomar no cu._
How to Generate a URL QR Code in Google Chrome on Andriod
Tags: chrome, android, url, qr
Published: 2020-11-14 06:34:43

Hello everyone! I am Nirupamvas and I will be going be say how you can generate a URL QR Code in Google Chrome on Andriod. Lets get started
>Warnings!To use the QR code sharing feature in Google Chrome on Android, we’ll need to enable a couple of feature flags. Enabling these flags will not alter your browsing experience, but know that, at the time of writing, the feature is experimental. Enabling flags might cause issues down the road.

###Step 1:
Open Google chrome in your Andriod mobile or tablet and type `chrome://flags` in the address bar.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qi98eyz66ei6el8brfcb.jpg)

###Step 2:
Search for `sharing-hub` in the search bar and enable it.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/h2ydo0xem3xgbvy7oqi9.jpg)
Search for `QR` in the search bar and enable it.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jn6si921ssu35c1dk4ca.jpg)
###Step 3:
Click on Relaunch
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jkoqshwomvce88bg6zgt.jpg)
###Step 4:
Select share option on your URL you want 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/9x633dpn8l1x5uuaksqf.jpg)

Then you will see the following pop up click on QR Code
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/xeg9xizr1hvwtv5vccq0.jpg)
If you want to download click on download share to your friends


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/demejmq5oi66namu0fvj.jpg)
 And swipe the QR and you could able to see scan and you can scan your friends QR to

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

That's it guys! Hope you like the post click on like if you do so.
Building a modern CRM in Ruby on Rails — Part 1
Tags: ruby, rails
Published: 2020-11-14 05:55:35

This is the first of a series of tutorial on building a Customer Relationship Management application using Ruby on Rails.

In this tutorial, we will:
* Set up our environment (Ruby and Ruby on Rails)
* Create a Rails 6 application
* Add ActiveAdmin
* Create the Clients model
* Add an ActiveAdmin resource for Clients

[Read More](https://medium.com/modern-rails/building-a-modern-crm-in-ruby-on-rails-part-1-3b62f7b4dc7d)
Slack or Discord?
Tags: discuss, productivity
Published: 2020-11-14 05:55:33

I used Slack extensively at my previous company and it seems quite a number of people would complain about the issues with the platform. On the other hand, Discord seems to be a good alternative. Admittedly, I've only used Discord for smaller personal projects and I haven't tried integrations with Discord (like Jenkins for test notifications). With that being said, I don't see any problems with it working for bigger teams. Which do you prefer?
HOW TO HANDLE API ERRORS IN LARAVEL
Tags: laravel
Published: 2020-11-14 05:20:39

Hi Guys .
as you know Laravel can handle error as well. but when you develop an API you will know that it's not good for API exceptions. so if we want to handle api errors in best way we should write a code and put it in `app\Exceptions\Handler.php`. and if we want to use that code in another project we have to copy that and paste in our project . so I decided to create a package `laravel-api-error-handler`. 
this package can handle your api error easily.
you must only determine what handler handle what error; and all of things are OK!
{% github hamidreza2005/laravel-api-error-handler no-readme %}
Impostor indo para as provas na faculdade 02
Published: 2020-11-14 05:05:34

Agora falar como eu SEMPRE ia para as provas na faculdade 02, que era a noite, a 01 era de manhã.

Nunca esqueço uma situação muito específica de uma prova que nós sabíamos que iria cair um certo algoritmo, porém eu depois da aula NUNCA NEM VI. Sério eu NUNCA ESTUDAVA EM CASA, nem sei como me formei.

Pois então nessa faculdade a noite, mais de meia hora antes da prova GERAL de encontrava antes para repassar a matéria, eu me aproveitava disso pois NUNCA tirava xerox de nada. Depois conto como passei em Contabilidade sem ter caderno.

Bom nesse dia eu sabia q não tinha estudado NADA e pensei: vou lá estudar com o pessoal que manja.

Tinha certeza que um certo algoritmo iria cair na prova e eu não tinha nem ideia de como era, porém cheguei na cara dura e pedi pra ver o conteúdo de algum colega.

Li, analisei, entendi. Expliquei para o dono do material como eu tinha entendido e tal, beleza. Não deu 5-10 minutos o professor chegou para dar a prova. Nunca  esqueço que me sentei na PRIMEIRA CARTEIRA da segunda fila começando da porta. Eu raramente me sentava na primeira carteira, mas beleza.

Não deu nem 20 minutos de prova o dono do material que eu li e expliquei tava entregando a prova e eu fiz um sinal de pergunta e ele fez um sinal de resposta negativo.

Pensei: bah mas não pode ter errado esse algoritmo QUE EU LI DELE e o ensinei há 10 minutos atrás.

SIM O ALGORITMO CAIU NA PROVA, eu acertei.

Após a saída da prova, eu nunca demorei muito para responder provas porque ou eu sabia ou não sabia, se eu demorasse muito era porque eu não sabia.

Fui e perguntei para a pessoa: e aí acertou aquela né?

A pessoa me falou que NÃO!!!

Fiquei pensando: MAS COMO? Essa pessoa sempre estuda e faz todos exercícios, etc. Como pode não ter acertado algo que eu li minutos antes da prova, expliquei pra ela e ela não ter acertado.

Essa faculdade a noite eu basicamente passava chegando 30 min antes da prova sem nenhum material, lendo o dos outros. TODA PROVA q tinha consulta eu me fodia pq eu não tinha material.

Mas a situação da matéria de Contabilidade fica pra próxima.
síndrome do impostor desde sempre
Published: 2020-11-14 04:21:01

Bem vindxs a FAMOSA Síndrome do Impostor.

Todos nós que trabalhamos com TI um, ou vários, dia(s) passamos por isso, mas e se você sentisse isso desde crinaça?

Imagine que você sempre se saia bem na escola, mesmo não querendo, que boa parte da sua família sempre te achou muito inteligente, na maioria dos seus trabalhos, por vc fazer algo q ninguém tinha feito, te chamavam de GÊNIO!

Agora imagine você ouvir isso a VIDA TODA, até ouvir que você é GÊNIO em vários trabalhos, porém VOCÊ SABIA Q NÃO ERA!

Gostaria que você imaginasse o efeito que isso faz num cérebro durante sua vida, tirando todas as merdas que ocorreram na sua família, que sim você poderia usar como desculpa. Mas sabe que aqui apenas contribui para seu estado atual, porém o que sempre te corrói é o pensamento de todos acharem que você deveria SER MUITO FODA e você nunca foi, salvo algumas exceções.

Uma pessoa que possui esse tipo de cérebro, pensa e fala diferente das outras pessoas. Vão te taxar ou de hiperativos ou de autista, mas você pode estar num desses extremos ou no meio.

As pessoas reclamam que você fala muito rápido, porém você só quer tentar acompanhar seu cérebro.

Mesmo sendo assim você consegue dar aulas, palestras, cursos, pois para você aprender e correlacionar informações sempre foi fácil, com certeza você aprendeu a maior parte do que quis sozinho, ser autodidatada para você é apenas ser você.

O mundo exige tanto de nós, sendo que muitas coisas nós nem queremos. Não queremos ganhar muito dinheiro, nem reconhecimento. Queremos apenas sermos nós mesmos.

Nosso maior problema é a procrastinação e a falta de interesse posterior. Conseguimos ter ideias novas apenas conversando com pessoas de outras áreas, contudo quando explicamos essas ideias as outras pessoas não acreditam ser possível. Até se passarem 4 ou 5 ou 10 anos.

Procrastinamos porque sabemos como será o final, com isso perdemos o interesse para continuar.

Isso não significa que somos burros, apenas que não queremos mais continuar nesse caminho.

Somos muito bons para criarmos a ideia e darmos seu início, porém se nesse meio do caminho achamos outra coisa mais interessante nós apenas mudamos de caminho.

Isso é uma das piores coisas que alguém que programa pode fazer.

Sabendo de tudo isso gostaria de dar uma sugestão para quem se reeconheceu nesse texto: junte um grupo de pessoas que ainda possuem a gana de programar e aprender, formalize sua ideia, ajude a organizar com alguém que é melhor que você nisso e.

Por mais que você saiba fazer tudo ou possa aprender e fazer melhor que os outros; junte uma equipe que queira aprender contigo e crie o caminho para sua ideia, juntando as pessoas que desejam aprender a fazer cada área/especialidade.

Todas pessoas precisam se apoiar em pessoas que ou já criaram algo ou que possam direcionar para uma finalidade.

Aí você me pergunta:

- Qual a finalidade desse artigo?

Se você fez essa mesma pergunta, esse artigo não foi feito para você.