teleren/devto huggingface dataset:
Want to encrypt your disk?
Tags: security
Published: 2020-06-16 15:49:18

In the modern era many people want security for their files,documents,disk..etc., So to provide security to our files we use folder locker and so many apps, but here comes the [VeraCrypt](https://www.veracrypt.fr/en/Home.html) an open-source encrypting disk software. It encrypts entire disk in our system. How it works?
On what basis encryption does?

VeraCrypt is a software for establishing and maintaining an **On-the-fly-encrypted** volume. **On-the-fly** encryption means that data is automatically encrypted right before it is saved and decrypted right after it is loaded, without any user intervention. No data stored on an encrypted volume can be read (decrypted) without using the correct password/keyfile(s) or correct encryption keys. Entire file system is encrypted (e.g., file names, folder names, contents of every file, free space, meta data, etc).

Here what VeraCrypt uses for encryption and hashing?
Encryption Algorithm's are -
1. AES (Advanced Encryption Standard)
2. Camellia
3. Kuznyechik
4. Serpent
5. Twofish
6. Cascades of ciphers

Hash Algorithm's are -
1. RIPEMD-160
2. SHA-256
3. SHA-512
4. Whirlpool
5. Streebog

Here you can checkout how to use [VeraCrypt Tutorial] (https://www.veracrypt.fr/en/Beginner%27s%20Tutorial.html) !
Fix MySQL Cant Logged As Normal User
Tags: linux, mysql, troubleshoot
Published: 2020-06-16 15:48:32

**Problem**: User "root" can't logged in normal terminal, but can login on super user terminal only a.k.a `sudo`.

**Solution**:

1.) Login as sudo.

``` bash
sudo mysql -u root
```

2.) Check if `root` user is exists (actually this is optional).

``` bash
SELECT User,Host FROM mysql.user;
```

3.) Delete root user in MySQL.

``` bash
DROP USER 'root'@'localhost';
```

4.) Create the root user again.

``` bash
CREATE USER 'root'@'%' IDENTIFIED BY '';
```

5.) Setup permission for the new user.

``` bash
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
```

``` bash
FLUSH PRIVILEGES;
```

Logout from MySQL (quit) then try login back with normal terminal user, it should be fixed.
What Python Questions Are You Always Asking?
Tags: discuss, python, showdev
Published: 2020-06-16 15:43:06

Over the last 2 years, I've been building up a list of answers to common Python questions:

{% github TheRenegadeCoder/how-to-python-code %}

In that time, I've sort of "run out" of things to talk about despite the enormous amount of complexity of programming. 

As a result, I thought it would be fun to start a discussion around things you find yourself constantly Googling. For instance, I probably search up "how to read a CSV in Python" once a month. Do you have any similar searches?
Hugo + OpenTelemetry - How fast is my site? (Video, Pt. 1)
Tags: opentelemetry, tutorial, javascript
Published: 2020-06-16 15:41:07

We love Hugo for building blazing-fast static sites, but it can be tricky to understand how well they perform for everybody. There can be hundreds or thousands of variables from an end-user's browser, to their ISP, to the vagaries of routing and content delivery networks around the world. Wouldn't it be nice if there was a simple way to quickly understand the performance of your static site?

OpenTelemetry can help! In this video series, we'll walk through how you can start instrumenting a static web page generated with Hugo (or the static site generator of your choice) using OpenTelemetry's automatic instrumentation, send that telemetry data somewhere, and then use it to analyze the performance of your page and debug in production.

{% youtube p4pqj8Vj3nQ %}

Stay tuned for part two, where we'll get our telemetry out of the browser and into an analysis system like Lightstep in order to visualize the performance of our site.

**Links and References**

{% github open-telemetry/opentelemetry-js no-readme %}
{% github open-telemetry/opentelemetry.io no-readme %}
{% github gohugoio/hugo no-readme %}
{% github jgthms/bulma no-readme %}

**Questions? Comments? Want to watch the next show live?**
[Follow me on Twitter for all the latest!](https://twitter.com/austinlparker)
[Follow On-Call Me Maybe on Twitch!](https://twitch.tv/oncallmemaybe)
Tisn is now an open source project!
Tags: javascript, showdev, contributorswanted, webdev
Published: 2020-06-16 15:40:40

Last week I posted about why I created a social network, and the article received quite a bit of feedback that I appreciated very much. Make sure to take a look at it if you haven't seen it yet!

{% link https://dev.to/albertopdrf/why-i-created-a-social-network-1fad %}

On the article I presented [tisn.app](https://tisn.app), a new social network that I've been working on for the past few months. This article is a quick follow up to let everyone now that Tisn is now an open source project!

There's still **a lot** of stuff, in every sense, to figure out and work on, but I decided to take this step now as probably a lot of people would like to experience contributing and setting the direction of a newborn project. Make sure to drop by the repository!

{% github tisn/tisn.app %}

I'm very excited about the project in general and this step in particular, and hopefully some of you are too! If that's the case, make sure to let me know by reacting and/or commenting to the post!
My crappy Thoughts about Programming
Tags: programming, webdev
Published: 2020-06-16 15:37:11

All programming ideas or implementations came from real-life solutions or problems. And that makes programming more than just coding.
It takes detailed observation of everything. Because understanding and realizing existing solutions or problems are the most important part of programming.

For Example:
We know about JWT(JSON Web Token) right?
Did we have seen this idea and the implementation before somewhere else? Yes, we all know this. In fact, we all have gone through this several times. 
**=>** When we go to a service center, at first they give us a ticket/token. Then we go to the service provider and give our ticket/token, if the ticket is not fake then they provide expected services. 
Another example is Design Patterns. All design Patterns are also inspired by real-life solutions. 

The idea of implementation has to come from real life. That's why observing life, understanding existing solutions and problems are the most important part of programming.

The funny thing is - we all know these things. But very few among us truly realize these things and also have the ability of execution.
Is it my imagination or was there a tag following intensity feature on dev.to?
Tags: meta, help, discuss
Published: 2020-06-16 15:33:08

I seem to remember that there was a mechanism for my user to say per tag how interested they were on dev.to?

e.g. I could go to my settings and from there view my tags, with a decimal value next to each of them where 1 is 'normal interest', 2 was 'very high interest', and 0.5 was 'not interested'. 

Is it still here? Where does it live? Has it moved? Did I imagine in in some dev.to centric fever dream?
Road to Genius: smart #17
Tags: javascript, beginners, computerscience
Published: 2020-06-16 15:14:35

Each day I solve several coding challenges and puzzles from Codr's ranked mode. The goal is to reach genius rank, along the way I explain how I solve them. You do not need any programming background to get started, and you will learn a ton of new and interesting things as you go.

![coding challenge](https://dev-to-uploads.s3.amazonaws.com/i/fq5rlleydlm7yggl2lou.png)

We have encountered similar code before in "beginner" rank, but this time the challenge asks us to solve it. Fortunately for us it's not that complicated.

The challenge starts with two arrays `a1 and a2` which contain five random numbers each, and an empty array `arr`. Following is a while-loop that executes as long as both `a1 and a2` are not empty. If you analyze the body of the loop, it's removing numbers using `pop` (from the end of the array) and compares those numbers. Depending on the condition of `x and y` those numbers are added to `arr`. Below is  some pseudo-code that to help us analyze the code:

```JS
a1.pop  ->  x=4
a2.pop  ->  y=6
push    ->  arr=[6, 4]

a1.pop  ->  x=4
a2.pop  ->  y=9
push    ->  arr=[..., 9, 4]

a1.pop  ->  x=3
a2.pop  ->  y=4
push    ->  arr=[..., 4, 3]

a1.pop  ->  x=0
a2.pop  ->  y=9
push    ->  arr=[..., 9, 0]

a1.pop  ->  x=7
a2.pop  ->  y=3
push    ->  arr=[..., 7, 3]

arr = [6, 4, 9, 4, 4, 3, 9, 0, 7, 3]
```

Now that we know the final value of `arr`, the challenge asks us to solve `R = arr[4]`, which is the value in `arr` at 4th index, which is `4` in this case.

Important note: we've analyzed the whole code above, but keep in mind that we should've stopped once we found `arr`'s value at index 4, because that's the only thing that matters here.

![coding challenge answer](https://dev-to-uploads.s3.amazonaws.com/i/m06f8mp75x6zkwhpvqqd.png)

---

Join me on the Road to Genius and upgrade your programming skills, at https://nevolin.be/codr/
Hi, I'm Baris
Tags: introductions
Published: 2020-06-16 15:11:30

I live in Ankara,Turkey and I've been coding since 2006. 
I mostly use these languages in daily basis: JavaScript, PHP and Python. I also use React and React Native.
You may find me on GitHub as [baris5D](https://github.com/baris5D)
I also use same nickname on other social medias.
I'm technology enthusiast and now I'm learning more about Data Science.
I hope to be more active on developer communities and wish to make it real.
Nice to meet you all.
Devart Excel Add-ins 2.4 Now Support Dynamics CRM OAuth 2.0 Authentication
Tags: excel, oauth2, dynamicscrm, authentication
Published: 2020-06-16 15:10:26

---
title: Devart Excel Add-ins 2.4 Now Support Dynamics CRM OAuth 2.0 Authentication
published: true
description: Devart released Excel Add-ins 2.4 with support for Dynamics CRM OAuth 2.0 authentication and minor improvements for Marketo and Shopify.
tags: Excel, OAuth2, DynamicsCRM, Authentication
---
*Devart released Excel Add-ins 2.4 with support for Dynamics CRM OAuth 2.0 authentication and minor improvements for Marketo and Shopify.*

Devart, a recognized vendor of world-class data connectivity solutions for various data connection technologies and frameworks, released the new version of [Excel Add-ins 2.4](https://www.devart.com/excel-addins/) with support for  Dynamics CRM OAuth 2.0 authentication and minor improvements for Marketo and Shopify.

The new version of Excel Add-in for Dynamics CRM allows users to connect to Dynamics CRM using OAuth 2.0 authentication. They can perform web login to Dynamics CRM instead of specifying their user id and password in the connection settings. This also means that when users store an OAuth 2.0 connection in workbooks or in Excel with the Allow saving password selected, an OAuth 2.0 refresh token is stored instead of user id and password.

**Devart Excel Add-ins** allow users to work with database and cloud data in Microsoft Excel as with usual Excel spreadsheets. External data can be edited as it is usually done in Excel and then saved back to the data source.

**About Devart**

Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration, and backup solutions. The company also implements Web and Mobile development projects.
For additional information about Devart, visit https://www.devart.com/
What’s the purpose of “checking out” a file in TFVC (Visual Studio)?
Tags: help, discuss, azure, learning
Published: 2020-06-16 14:58:03

Hi! I’m new to version control with TFVC and I’m not able to understand what the “Check Out” option does. I couldn’t find a true definition and real use case for it. In particular, I’m working in a team. When I compile a certain project, I need to copy two dll files created by the previous build process inside two folders related to different projects, replacing their old versions of the dll files. Now, after building the project, they told me I have to check out the old dll files selecting them and clicking <kbd>Check Out</kbd> from <kbd>Source Control Explorer</kbd> and I just have to copy the new dll files, replacing the old ones with a simple “copy and paste” inside my local workspace. Why do I need to check out those files? Why can’t I just open my local workspace and replace the old dll files with a “copy and paste” directly?

Thanks in advance for the help!
Replacing master with main in Github
Tags: git, github, inclusion
Published: 2020-06-16 14:55:48

As a black software engineer I have often felt uncomfortable with a variety of terms used throughout the industry. Terms like master/slave, blacklist/whitelist, and black hat/white hat enforce this country's belief that white is good and black is not. We can and should be better than this.

I am the product of slaves and sharecroppers from Louisiana/Tennessee so using the term `master` to define the default source of truth in my repos has always caused me pain. But I got used to it because it was such a pervasive term, and every time I brought up how hurtful it was to coworkers I was met with resistance. I refuse to do so any longer. Today, I have begun the process of moving to the use of `main` as my default branch in all of my owned repos. So i'm here to show you how to make a change that will take 3 minutes or less and make your teams more inclusive.

## Step 1 - Update Local
While on the master branch input the following:
```
$ git branch -m master main
$ git push -u origin main
```

So what are we doing here? First with the `-m` command we are moving the git history from `master` to a new branch called `main`. Next we're pushing the `main` branch up to the origin remote, and establishing an upstream connection with the `-u` command.

## Step 2 - Update Repo
- Navigate to your repository > Settings > Branches
- Select main as your default branch
- Update your branch protection rules
- Navigate to Code > Branches and delete master

That's literally it. I hope this guide helps you and your teams become more inclusive!
~40 lines code editor in pure js
Tags: javascript, css, webdev, tutorial
Published: 2020-06-16 14:54:19

There are many awesome full-features code editors like CodeMirror, Ace, and Monaco. But if you want to edit small code snippets you probably want to use tiny editor and keep your bundle size small. Also, you can create your own!

## Plan

1. Create a class `Editor`. The constructor take CSS selector and options: initial value and highlighter function.
2. Create `pre` and `textarea` elements.
3. Listen to `textarea` `input` event.
4. Add HTML to `pre` element with external highlighter when `textarea` is changed.

## Trick

We will be interacting with `textarea` element but see only highlighted HTML in `pre` element. `textarea` text will be hidden by CSS rule [-webkit-text-fill-color: transparent](https://caniuse.com/#feat=mdn-css_properties_-webkit-text-fill-color).

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

## Uses

You can check all code in [sandbox](https://codesandbox.io/s/vigorous-roentgen-5j46e?file=/src/Editor.js)

```js
import Editor from './Editor.js'
// use highligh.js as external highlighter
import hljs form "highlight.js"

const editor = new Editor('#editor', {
  value: "my awesome code",
  highlighter: value => hljs.highlight("javascript", value).value
})

editor.onUpdate(value => console.log(value));
```

## Live demo

{% codesandbox vigorous-roentgen-5j46e %}

## Conclusion

If you don't need features like code folding, multi cursors, etc., you can create your code editor to keep your bundle size small.

If you need tiny editor with only features you want, like line numbers, handling tab for indentation, cut line, etc. you can check `yace`: 

{% github petersolopov/yace no-readme %}

It's lightweight ~1KB code editor, with ability to add your plugins. It also uses `textarea` + `pre` idea.

## Thanks
Bases numéricas: Decimal
Tags: decimal, base, braziliandevs
Published: 2020-06-16 14:42:39

Todas as tecnologias que usamos atualmente necessitam de sistemas de numeração diferente daquele que usamos no dia a dia (sistema decimal).

## Notação posicional

### Sistema decimal

![dez dedos](https://dev-to-uploads.s3.amazonaws.com/i/46e936qw24b5yrl2x47b.png)

Possivelmente esse sistema de contagem surgiu porque nós possuímos 10 dedos nas mãos.

Isso significa que para contar utilizamos uma técnica de agrupar as coisas de dez em dez, ou seja, separamos os números em grupos de dez. Por isso temos,

![sistema decimal](https://dev-to-uploads.s3.amazonaws.com/i/jwhkmrxuzn19sy7mr1xh.png)

Com algarismo que vão de 0 a 9 para cada agrupamento.

Isso significa que o valor de cada algarismo depende da sua posição relativa na composição do número. Por isso é possível escrever o número acima de outras formas. Assim, para **122154** temos,

**cem mil** = 100 x 1000 = 1 x 100000 = **1 x 10<sup>5</sup>** 
**vinte mil** = 20 x 1000 = 2 x 10000 = **2 x 10<sup>4</sup>**
**dois mil** = 2 x 1000 = **2 x 10<sup>3</sup>**
**cem** = 1 x 100 = **1 x 10<sup>2</sup>**
**cinquenta** = 5 x 10 = **5 x 10<sup>1</sup>** 
**quatro** = 4 x 1 = **4 x 10<sup>0</sup>**

que equivale a

**122154** = 100000 + 20000 + 2000 + 100 + 50 + 4

ou

1 x 100000 + 2 x 10000 + 2 x 1000 + 1 x 100 + 5 x 10 + 4 x 1

ou ainda,

**1x 10<sup>5</sup> + 2 x 10<sup>4</sup> + 2 x 10<sup>3</sup> + 1 x 10<sup>2</sup> + 5 x 10<sup>1</sup> + 4 x 10<sup>0</sup>**

Todos os algarismo do número foram representados na **base dez**, que pode ser descrito **(122154)<sub>10</sub>**

![representação decimal](https://dev-to-uploads.s3.amazonaws.com/i/gk7qchzynfoloha2vfbr.png)
What Is A Dial Out Conference Call?
Published: 2020-06-16 14:31:24

Now, imagine this. You’re the host. You have scheduled a call for 11 am and at exactly 11 am, you receive a call. You answer the call and are informed that this is your conference call. Now, you fire up the app and notice that the other participants are also joining in. They too received calls which they answered and voila, they were connected! No PINs, no waiting, no meeting IDs. You already had shared the agenda with the participants so you get on with your meeting and everybody is happy. This is grptalk’s dial-out conferencing. Hassle-free, simple and effective. 

If you use dial-out conferencing, you don’t have to take on the additional stress of dialing-in and waiting. You also don’t have to worry about informing others about the meeting ID. Plus, the biggest advantage of <a href="https://www.grptalk.com/">grptalk</a> is that it uses PSTN based conference calling so the other participants don’t even have to have an application installed on their phones. They can conference with you even if they’re in a spotty wifi zone. Business can be done with no trouble! 
If you still want dial-in conference calling, grptalk has a feature that eliminates <a href="https://blog.telebu.com/what-is-a-dial-out-conference-call-no-pin-conferencing/">dial-out conference</a> call altogether. If you’d like to have both the options, you have that flexibility too. 

Good business, at the end of the day, isn’t just about making profits. It’s about finding a smart, sustainable solution to a problem. It is about scalability and optimizing revenues. When your business runs smoothly is when you can help others achieve their business objectives and goals. We are all a part of a large system of co-dependent enterprises. With effective solutions like these, rest assured that businesses can go places!

Read More : https://blog.telebu.com/what-is-a-dial-out-conference-call-no-pin-conferencing/
How easy do you find resources that can help a developer transition from intermediate to senior level?
Tags: discuss, career, development
Published: 2020-06-16 14:10:47

I have noticed that there are infinite resources to get you started as a beginner, but rare ones that define advanced topics that can help you level up and reach a senior level.

There is some sort of unwritten agreement that you have to learn advanced topics the hard way through your work experience, but some developers are not lucky enough to be subjected to the right challenges that might help them grow. How do you educate yourself?
Daily Challenge #259 - Duplicate Encoder
Tags: challenge
Published: 2020-06-16 13:49:54

---
title: Daily Challenge #259 - Duplicate Encoder
published: true
series: Daily Challenge
description: Convert characters in a string to parentheses.
tags: challenge
//cover_image: https://direct_url_to_image.jpg
---
The goal of this exercise is to convert a string to a new string where each character in the new string is "(" if that character appears only once in the original string, or ")" if that character appears more than once in the original string. Ignore capitalization when determining if a character is a duplicate.

**Examples**
"Success"  =>  ")())())"
"(( @"     =>  "))((" 

**Tests**
"din" 
"recede" 

Good luck!
***
_This [challenge](https://www.codewars.com/kata/54b42f9314d9229fd6000d9c/train/javascript) comes from obnounce on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
The Complete Javascript Course 2020
Tags: javascript, tutorial
Published: 2020-06-16 13:47:02

Hi guys,
I have just made a video review about one of the greatest javascript course I have found out there.

I think javascript is probably the most important programming lenguage to learn and this is a great course for both begginer and expert web developers.

This is the link of the video:
https://www.youtube.com/watch?v=W7Ro4PPEdi0

Let me know if you have enjoyed this course as much as I did!
I made my friend's portfolio for his job!
Tags: javascript, webdev, css, html
Published: 2020-06-16 13:30:07

My friend Sankhadeep told me to make a website/portfolio for the new job he's going to apply for.

The requirements are pretty simple. It should look like a profile page with a dedicated 'view resume' button and contact buttons.

As he is a vlogger, he wanted to showcase his videos and photos to his portfolio and the blogs that he writes!

Here it looks like: 
https://sankhachakra.blogspot.com/
Let's check your math
Tags: javascript, html, webdev, node
Published: 2020-06-16 13:28:09

[Comment]: # (All of this is placeholder text. Use this format or any other format of your choosing to best describe your project and experience.)

[Note]: # (If you used the GitHub Student Developer Pack on your project, add the "#githubsdp" tag above. We’d also love to know which services you used and how you used it!)

## Math Game

## Demo Link
http://codesk.offyoucode.co.uk/MathGame/

[Note]: # (Our markdown editor supports pretty embeds. If you're sharing a GitHub repo, try this syntax: `{% github link_to_your_repo %}`)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/bw386scp8lcobq2hwv3l.jpg)


## Technology Used - 
### Here, basically I use Javascript, Jquery, HTML5 and CSS3. I have a highest records of 37. So, mine challenge is for you let's play this game and send me the Screen Shot if you can beat me or not. Remember I am the best :). Play with your children they must enjoy this game and ofcourse if you don't have childrens play this game with your partner, or with your friends. Hope you enjoy.

###Don't forget to share Screen Shot.
###Happy Learning :) 


## 


[Final Note]: # (CONGRATULATIONS!!! You are amazing!)