teleren/devto huggingface dataset:
What Do Quantum Computers Mean for Security?
Tags: security
Published: 2021-05-12 19:07:45

#### Quantum computers are not simply very fast regular computers.

### <br>

## A Definition Of Quantum Computers

At the pace, technology has been growing over the last decades, our ability to make faster and smaller processors is slowing down. However, why do we have to make computers faster in the first place?

It doesn’t matter how fast the “classical” computers of today become; their architecture isn’t well-suited to solve certain kinds of problems, like drug research, training artificial intelligence, and breaking encryption algorithms.

Quantum computers aren’t the “faster horses” that Ford alluded to when he created the Model T, but rather an entirely different type of computer that changes the paradigms of how computers work, much like the car changed the transportation paradigm at the time.

They are another tool to aid researchers, scientists, and computer programmers in developing solutions that can radically alter how we interact with technology.

Quantum computers date way back to the 70s and 80s when quantum physicists were theorizing on how they could harness the quantum mechanics properties of particles and create a machine that could make use of them.

Feynman, a pioneer in the field, published a paper in 1982 titled [Simulating Physics with Computers](https://www.cs.princeton.edu/courses/archive/fall05/frs119/papers/feynman82/feynman82.html), where he said that to simulate quantum systems, we would need to build quantum computers.

And while quantum computers have been talked about for decades (you can take a look at the [timeline](https://en.wikipedia.org/wiki/Timeline_of_quantum_computing_and_communication)), the first quantum computer was only ever built in 2009. The reason for such a delay is that they are extremely fickle and very sensitive to interference from the external world.

But now they are becoming increasingly mature, so we’re going to talk about how they work, what problems researchers are facing today, and their future.

[Read more...](https://auth0.com/blog/what-do-quantum-computers-mean-for-security/?utm_source=content_synd&utm_medium=sc&utm_campaign=security)
Discovering Tailwind CSS
Tags: css, framework, frontend, devjournal
Published: 2021-05-12 19:05:51

After work there is always something to study and deepen, and if it happens that your work is also your passion, studying is really the best thing!

Today I am about to finish the first "dusting" on Tailwind (tailwindcss.com), to then move on to some practical exercises on components.

Tailwind represents my short break from the JavaScript in-depth course that I hope to finish soon. Studying a new CSS Framework makes me feel almost guilty because I was "born" with Bootstrap and now I feel "at home" when I use it, but Tailwind is a low-level framework and allows you to build responsive components and configure the project at the start, creating customized layouts and with a lot of margin of choice on the color palette and typography.

The only thing to keep in mind when using Tailwind, born to write semantic CSS, is that the markup will get very polluted, and I must to evaluate the maintainability of code written with this type of approach.

With the @apply directive you can create custom classes to which the Tailwind classes "attach", in order to have a custom nomenclature.

In general, I like the idea of keeping markup separate from style, but so it is! Obviously having HTML overflowing with classes it doesn't really matter to some.

Tailwind also, in production, removes the unused CSS, so that we can lighten and optimize the project!

Visual Studio Code has the integration of the Tailwind Intellisense extention, that allows you to view the list of classes while you are writing, a very valuable aid to not do the continuous "ping pong" from the documentation.

I still have to "mess around" a bit to get carried away, but Tailwind has given me good vibrations, also for the good documentation that it hangs around with, (the community looks really nice, you can find it on Discord and GitHub) I will probably work on some small components to share on Codepen.

I hope it will make me passionate as did Bootstrap, which I consider "my giant". On the next break from JavaScript, let's see... what could I do? Of course! I'll go dig into Bulma's documentation...!
Be careful when you using an input "number" field in your web app
Tags: help, webdev, javascript, productivity
Published: 2021-05-12 19:04:39

  Recently I faced one *interesting issue* when I working on my web application. I thoughts it will help others.

#Introduction
  <Input/> is one of the HTML tags and has some types are text, number, password..etc., So, a user able to give a value through to the input. Each input type field has some generic behavior. Input number type field rejects non-numerical entries. 

##Technical use case:
  If a user is able to create a custom number field in your product and add the field inside a product form(Add contact form). Inside the Contact form, the number field value will have an auto-generated large number of digits.


##Problem
   If an input field has without limit the min and max length of the number. if the user is able to more than 20 digits number value, the javascript engine only accepts as specified in `IEEE 754` remainings will automatically change 0.

Example:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j0o17me6ueffw3q0bt6o.png)
   
This is an issue.

###Solution 1
  By default, limit the number field max length and before save the field validation also. 
```
<input type="number" min="-9007199254740991" max="9007199254740991"/>
``` 

###Solution 2
  Whenever we save the user number field value before the two conditions need to check.
```
function saveNumber(value) {
   if( Number.MIN_SAFE_INTEGER <= value && Number.MAX_SAFE_INTEGER >= value)
     //do save stuff
   }else {
     // Throw error
   }
}
```    

Done and thanks for reading this post...
Need help regarding mailgun api
Tags: javascript, node, https, mailgun
Published: 2021-05-12 18:57:19

howdy dev's
I need help related to mailgun API

```bash
curl -s --user 'api:YOUR_API_KEY' \
    https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages \
    -F from='Excited User <mailgun@YOUR_DOMAIN_NAME>' \
    -F to=YOU@YOUR_DOMAIN_NAME \
    -F to=bar@example.com \
    -F subject='Hello' \
    -F text='Testing some Mailgun awesomeness!'
```

where is this '-s --user' part i have to place while requesting the post request using HTTPS core node module, can explain this in detail.

> Important: I was restricted from using npm so can't use the mailgun-js module or any module, 

# Please Help 👽
Pairing with Jhey Tompkins
Tags: devstream, pairprogramming, greensock, javascript
Published: 2021-05-12 18:38:25

On <time datetime="2021-04-28">April 28th</time>, DEV Community member Jhey Tompkins joined @coffeecraftcode and I on the pairing stream to have some fun and help us build out a Twitch overlay using our mascot, Sloan!

![dev.to's mascot Sloan](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/urutyzau41a6gfovx9ze.png)

Watch the pairing session with Jhey below to catch up on what you missed:

{%youtube DDJB8KSh-Sw %}

### On this stream, we talked about:

* Sloan, DEV's awesome mascot!
* Twitch overlays
* ComfyJS (which allows folks to interact with a Twitch stream via chat commands)

{%github https://github.com/instafluff/ComfyJS %}

Thanks again for coming on the stream, Jhey!

<center>

![Man in the woods being zoomed in on as he nods as if to say he agrees](https://media.giphy.com/media/NEvPzZ8bd1V4Y/giphy.gif)

</center>

### You can also find the three of us all over the web here:

Jhey:

* [Twitter](https://twitter.com/jh3yy)
* [Jhey everywhere](https://jhey.dev/links)

Nick:

* [Twitter](https://twitter.com/nickytonline)
* [Website](https://iamdeveloper.com/)
* [livecoding.ca](https://livecoding.ca)
* [YouTube](https://youtube.iamdeveloper.com)

Christina:

* [Twitter](https://twitter.com/coffeecraftcode)

We hope to see you on future DEV streams! If you're interested in pairing, fill out [this form](https://iamdeveloper.com/pair). Christina and I would love to tackle an issue with you that the whole community could learn from.

P.S. [Follow DEV on Twitch](https://twitch.tv/thepracticaldev) to be notified when future streams begin and catch old streams on [YouTube](https://www.youtube.com/c/thepracticaldevteam)
Salesforce B2C Commerce storefront
Tags: salesforce
Published: 2021-05-12 18:14:00

*Salesforce has so much terminology it can be a bit overwhelming in the beginning. I am starting a series of short posts to help me learn the definitions.*

-----

## Model–View–Controller (MVC) Architecture
  divides an application into three parts.

* **Model** - the business logic, data, and rules underlying the application. 
  * Traditionally, models store the data that’s used to populate the view.
  * In B2C Commerce, data is represented by APIs, which provide helper classes instead of storing data.

* **View** - What the shopper sees on the storefront. It’s the landing page, the product details page, QuickView, the cart page, etc

* **Controller** handles entry fields, button clicks, etc and turns them into actions or data that is consumed by the model or view.

https://trailhead.salesforce.com/content/learn/modules/cc-digital-for-developers/digital-dev-environment?trail_id=develop-for-commerce-cloud
Creating a blockchain using Ethereum (part 2)
Tags: go, blockchain, beginners, tutorial
Published: 2021-05-12 18:02:48

### Recap
- I really like crypto, so I created a private Ethereum blockchain and made a miner account.

Check it out *[here]( https://dev.to/talemache/creating-a-blockchain-using-ethereum-part-1-4cn9)*

### Mining The First Block
I needed to run a few more code snippets before I could start mining. I reinitialized the genesis file to enable a remote (rpc) server:

`geth --rpc --rpcport "8085" --datadir /path/to/data/dir init /path/to/data/genesis.json`

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

Then I simply started the private network and proceeded to mine!

`geth --rpc --rpcport "8085" --datadir /path/to/dir --networkid 1234 --nodiscover console`

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7ebhy6pxse7b8sifdxsp.png)

Next I got my account ID using `eth.accounts` in the console, took a sip of coffee and waited while my ether stacked up. 

..............................................................

After less than 5 minutes, I was shocked at how much I had made:

`eth.getBalance("account ID")`

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

Which in today's market would come out to roughly 3.82511175e+23 USD

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3pkpk9uq65i80u8hrux6.png)

Granted, the difficulty was set to easy and this isn't on the main Ethereum network so it's not real ether, but it got me thinking. What if I used my M1 on the *actual* network? 

Luckily for me there've been plenty of people who have already tried this which saved me the extra effort. Here's an example from [BarTech TV](https://www.youtube.com/watch?v=TLImyWDXS6I) 

In the video they ended up with a hash rate of around 2.2 MH/s. 

How does that stack up against better hardware? An [article](https://zipmex.com/learn/how-long-to-mine-ethereum/) from 2020:

> The latest Nvidia RTX 3090 has a hash rate of 120[MH/s], whereas an ASIC hardware Innosilicon A10 Pro has a hash rate of 500 [MH/s]. 

> With the current GPU trends and mining difficulty, it may take up to **half a year or more** to mine 1 Ethereum.

So what would a hash of 2.2 MH/s be in USD? I went to a profitability calculator to find out:

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

**Nearly 5 USD** *[Check it out for yourself](https://www.cryptocompare.com/mining/calculator/eth?HashingPower=2.2&HashingUnit=MH%2Fs&PowerConsumption=140&CostPerkWh=0.12&MiningPoolFee=1)*

### Conclusion
This was a fun project that was pretty quick and very simple. Now, it's clear that I won't be an ether millionaire anytime soon, but maybe someone else reading this has the resources and will be inspired to start mining and make a profit. Happy mining!
Welcome Thread - v124
Tags: welcome
Published: 2021-05-12 17:49:09

---
title: Welcome Thread - v124
published: true
description: Welcome to DEV! A thread of hellos and intros.
tags: welcome
canonical_url: 
---

![Puppy saying hello from behind a bed](https://media.giphy.com/media/yrhhmre5fN2PtRujfo/giphy.gif)

### Welcome to DEV!

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

**Great to have you in the community!**
List of Fully Explained Machine Learning Algorithms
Tags: machinelearning, python, programming, datascience
Published: 2021-05-12 17:40:40


Learning data science and machine learning is very much important now a days to get a sustainable survival in the hot jobs of 2021. 
Getting knowledge is a key to get on a right path. Here, i am sharing a list of machine learning algorithms to get started in artificial intelligence.

**Regression Algorithms**
1. Linear Regression with Python
   Link: https://pub.towardsai.net/fully-explained-linear-regression-with-python-fe2b313f32f3?source=friends_link&sk=53c91a2a51347ec2d93f8222c0e06402

2. Logistic Regression with Python
   Link:https://pub.towardsai.net/fully-explained-logistic-regression-with-python-f4a16413ddcd?source=friends_link&sk=528181f15a44e48ea38fdd9579241a78

**Classification Algorithms**
1. SVM Classification with Python
   Link: https://pub.towardsai.net/fully-explained-svm-classification-with-python-eda124997bcd?source=friends_link&sk=da300d557992d67808746ee706269b2f

2. Decision Tree Classification with Python
   Link: https://pub.towardsai.net/fully-explained-decision-tree-classification-with-python-d90d3bd16836?source=friends_link&sk=419e4d54e32085a58216ad3b7cad4d23

3. K-Nearest Neighbors with Python
   Link: https://pub.towardsai.net/fully-explained-k-nearest-neighbors-with-python-ebbe27f93ba9?source=friends_link&sk=d36e316f9d7efc8e80f66e7d277b6a8f

**Clustering Algorithms**
1. K-means Clustering with Python
   Link: https://pub.towardsai.net/fully-explained-k-means-clustering-with-python-e7caa573176a?source=friends_link&sk=9c5c613ceb10f2d203712634f3b6fb28

2. DBScan Clustering Algorithm with Python
   Link: https://pub.towardsai.net/fully-explained-dbscan-clustering-algorithm-with-python-a568139ebff5?source=friends_link&sk=fb2e979c6e0dff1fdbce06fddfbf5486

3. BIRCH Clustering for Outliers with Python
   Link: https://pub.towardsai.net/fully-explained-birch-clustering-for-outliers-with-python-2ad6243f126b?source=friends_link&sk=5628f0f907411ba7e3f4ec382c19ce93

**Ensemble Techniques**
1. Ensemble Random Forest Example with Python
   Link: https://pub.towardsai.net/fully-explained-ensemble-techniques-example-with-python-b83e50310841?source=friends_link&sk=0becef8124530f2741ccf3b2a7be8404

2. Gradient Boosting Technique in Supervised Learning
   Link: https://pub.towardsai.net/fully-explained-gradient-boosting-technique-in-supervised-learning-d3e293ca70e1?source=friends_link&sk=0094add5ffc4a8d33f32aad1a5fc6188
Linked List
Published: 2021-05-12 17:19:29

A linked list is a set of data structures linked together by connections.

A Linked List is a list of objects that is made up of a series of links. Each link is connected to a different link. After series, the linked list is the most commonly used data structure. The following are some key words to know in order to grasp the idea of Linked List.

1)Link − Each link of a linked list can store a data called an element.

2)Next − Each link of a linked list contains a link to the next link called Next.

3)Linked List − A Linked List contains the connection link to the first link called First.

Linked List Representation
Linked list can be visualized as a chain of nodes, where every node points to the next node

The first connection element in a Linked List is named first.
Each connection has a data field(s) as well as a next link field.
Each connection is connected to the next link via the next link.
To indicate the end of the list, the last connection has a null link.

Types of Linked List
Following are the various types of linked list.

1)Simple Linked List − Item navigation is forward only.

2)Doubly Linked List − Items can be navigated forward and backward.

3)Circular Linked List − Last item contains link of the first element as next and the first element has a link to the last element as previous.

Basic Operations
Following are the basic operations supported by a list.

Insertion − Adds an element at the beginning of the list.

Deletion − Deletes an element at the beginning of the list.

Display − Displays the complete list.

Search − Searches an element using the given key.

Delete − Deletes an element using the given key.

Insertion Operation: Adding a new node to a linked list is a multi-step method. This will be taught using diagrams. Build a node with the same structure and locate the position where it should be inserted first.

Deletion Operation: 
Deletion is also a more than one step process. The left (previous) node of the target node now should point to the next node of the target node-LeftNode.next −> TargetNode.next; This will remove the link that was pointing to the target node. Now, using the following code, we will remove what the target node is pointing at TargetNode.next −> NULL.

Reverse Operation:
This operation is a thorough one. We need to make the last node to be pointed by the head node and reverse the whole linked list.
.
Stop Procrastination !
Tags: javascript, productivity, leadership, devops
Published: 2021-05-12 17:13:53

How To Stop Procrastination As A Developer:

Procrastination is the act of delaying or putting off tasks until the last minute, or past their deadlin. we all do procrastination. I learn few useful tips to stop doing Procrastination whch are very useful in all fields. Here are the most common steps I do to do my tasks on time:

1. Make goals - break down your tasks in small sections 
2. Thing about the reward as a great motivation factor 
3. Aviod distraction - one common example is mobile orsocial media
4. keep the task small with certain breaks
5. Be deliberate with your study environment
6. Understand your personalit and work according to it

Procrastination reduce your productivity level and effect your growth in the career. Its better to take steps to stop doing pocrastination. It will bosst your confidence, level of learning and make you feel less stressed.
Journey to the real world by cloning DEV.to backend server(part 2)
Tags: node, apollo, express, prisma
Published: 2021-05-12 17:10:25

In the last series we have talked about the tools and library we will use to create dev.to backend.

In this series we will setup our server using Express js , Prisma  and apollo server.

I am using ubuntu linux based os and vscode as IDE.

Open your terminal using `ctrl + alt + t` and navigate to the choice of your directory where you will create your project .

```
harsh@dev:~ cd Harsh/nodejs/devblog_server
harsh@dev:~/Harsh/nodejs/devblog_server$ pnpm init -y
harsh@dev:~/Harsh/nodejs/devblog_server$  pnpm add apollo-server-express graphql express @prisma/client

harsh@dev:~/Harsh/nodejs/devblog_server$  pnpm add -D nodemon prisma
harsh@dev:~/Harsh/nodejs/devblog_server$  code .
```

here i am using pnpm a new way to manage nodejs dependency. pnpm is Fast, disk space efficient package manager and upto 2x faster than  alternatives.

I have initialize brand new project devblog_server and then install dependencies and devDependencies related to express , prisma and apollo server.

`apollo-server-express`  is a express integration of graphql server. You can opt any framework no matter like  Connect, Hapi, Koa and Restify

`graphql` is a javascript implementation of GraphQL

`@prisma/client` is an auto-generated query builder that enables type-safe database access and reduces boilerplate

`nodemon` auto restart our development server when we make change in our file.

`prisma` provide cli based interface to generate prisma project and apply migration


 > In this series we have setup our development tools and installing our dependencies . From next series we will setup apollo server , express and prisma with postgresql database
Book of Five Rings - Miyamoto Musashi
Tags: books, summary, career
Published: 2021-05-12 16:57:50

I have recently completed one of the great ancient books - **The Book of Five Rings** by **Miyamoto Musashi**. And thought that the book consists of ground rules that can be followed in any aspect of your life - career, personal etc. 

**Book of Ground**: Getting to know the groundwork is really important. Build your knowledge to lead 

**Book of Water**: Water is clear and water gets the shape of its receptacle. You should be clear and be like water always.

**Book of Fire**: The enthusiasm should be like fire always.

**Book of Wind**: The strategy is to know what other schools are doing, studying old-traditions, traditions of the world. 

**Book of Void**: There is no start no ending. When you appreciate the nature and observe the things that are happening around you, you will naturally strike the opponent using those forces.
Why Fintech Startups Fail and How to Avoid these Failures?
Tags: fintech, startup, webdev, business
Published: 2021-05-12 16:51:06

---
title: Why Fintech Startups Fail and How to Avoid these Failures?
published: true
description: Majority of Fintech startups make mistakes that lead to their failures. Techtic provides 12 reasons why fintech startups fail and how to avoid these failures.
tags: fintech, startup, webdev, business
cover_image: https://www.techtic.com/wp-content/uploads/2021/05/why-fintech-startups-fail.png
---

Fintech is one of the most modern trends currently in the technology sector. The fintech market is predicted to hit around $460 billion by the year 2025. Fintech Startups are driving this flourish and steering digital transformations.

They are launching innovative products and services using technological innovations. However, achieving success in this domain is full of challenges. Though fintech startups initiate with suitable investments and funding, there are higher business risks.

Most Fintech startup owners think they are building the next million-dollar business. But, they face problems with scaling their business. They also face issues in making users pay for their products.

The majority of Fintech startups make mistakes in diverse areas that lead to their failures. Besides, wrongly targeted customers, funding, and technology are not merely the challenges in the fintech ecosystem. These startups even face issues with fierce competition and chosen revenue models.

Here is how fintech startups meet failures and how they can avoid the same.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2lro2su3wkgu6emwoff6.jpg)
<h2>12 Reasons behind Why Most Fintech Startups Fail</h2>

<ul>
 	<li>1. Not getting Enough Funds</li>
 	<li>2. Choosing the Wrong VC</li>
 	<li>3. Going too much Compliant</li>
 	<li>4. Working like Another Tech Startup</li>
 	<li>5. Thinking of Cost as a Factor to Eliminate Competition</li>
 	<li>6. Underestimating your Competitors</li>
 	<li>7. Skipping to Understand your Customers</li>
 	<li>8. Overloading their Product Offerings</li>
 	<li>9. Skipping to Innovate with Technical Functionalities</li>
 	<li>10. Not having Enough Clarity on the Revenue Model</li>
 	<li>11. Not Considering Legal Aspects</li>
 	<li>12. Choosing the Development Partner Randomly</li>
</ul>

If you want to read all reasons of why fintech startups fail and how to avoid these failures then visit <a href="https://www.techtic.com/blog/why-fintech-startups-fail/">https://www.techtic.com/blog/why-fintech-startups-fail/</a>