teleren/devto huggingface dataset:
Benefiting From Dedicated Server Hosting
Published: 2021-02-26 12:41:06


The main reason many businesses are opting outsourcing server hosting services has lots to do with the many comforts related to it. Apart from getting the benefits of a greater bandwidth than what one may otherwise afford, selecting this option also includes an assurance of first rate performance and security.

Creating a separate server makes it more helpful because this includes a greater degree of stability also reduced dependency on the internet host. Although it costs a bit more than what sharing would cost you, it's worth the additional expense.

Nevertheless, one can only get the best from it in case he or maybe she meets numerous variables which eat away its biggest loopholes:

Cost

A significant drawback connected with this particular provision is the massive disparity between its month rates which of shared hosting. Companies that choose the option should ensure it's actually a need for them and not simply a question of convenience.

The best is by company outfits or maybe firms which are big enough to require its unique benefits and also to discuss the resulting expense.

Specialized Skills
Managing this high tech system requires a great deal of expertise. Although you've the possibility of obtaining administration products in the web host, this can just come as an additional feature attracting hefty month charges.

Because of this, its amazing benefits come up when you are able to using the program easily. This will assure constant stability and sufficient security from hackers along with other malicious persons in addition to programs. Managed hosting might be the only resort if there's nobody to manage this large task effectively.

The net host The point that you don't have immediate physical access to the process would mean that you actually have to obtain a dependable host. They're accountable for all maintenance and repairs procedures needed and the effectiveness of theirs in this regard will impact performance.

If the ones chosen aren't really good, there's a higher possibility of losing data and experiencing different problems. For example, the security measures used to keep the product secure from crisis or even theft should be higher standard.

The standard of gear offered also matters since it is going to determine how often the demand for maintenance comes up. It'll also play an excellent role in the software program and hardware that you are able to use.

Available provisions In many cases, your own server might not be equipped with exactly the same application as the people located on shared. The choice to customize it to the specialized needs of yours is in several ways an advantage.

Nevertheless, it includes unnecessary extra expense that any company might do a lot better without. Hence, it's essential to select a web host that is going to cost you the very least possible in regards to additional expense. Use this as a criterion to make the final choice and select the option which will come with probably the most pre installed ware.

Find More Information: https://ggservers.net
When I run `exit` command in bash function, how it works.
Published: 2021-02-26 12:40:12

## Environment

- bash

## Problems

- I don't know how it works when I exec `exit` command in bash function.
    - exit function or exit script?
    - What will the exit code look like?

## How to solve

I actually did it, and found out below.

- script execution ended.
- exit code will be set to exit code specified by `exit` command.

## Description

```
cat << EOF > a.sh
exit_func () {
    exit 0
}

exit_func
echo 'execute here!'
EOF

sh ./a.sh
echo $?
```

**output**

```
0
```

```
cat << EOF > b.sh
exit_func_254 () {
    exit 254
}

exit_func_254
echo 'execute here!'
EOF

sh ./b.sh
echo $?
```

**output**

```
254
```

## Reference

- https://linuxize.com/post/bash-functions/
bee network 
Published: 2021-02-26 12:11:34

Voici mon lien de parrainage pour BEE Network. Obtenez 1 BEE gratuit en rejoignant BEE . Téléchargez à https://bee.com/download.html.
après la téléchargement, elle vous propose de écrire un code pour rejoindre un équipe
voici mon code :  azizjlassi9
Where Can We Buy WBTC (White Bitcoin) Cryptocurrency?
Tags: wbtc, whitebitcoin, wbtccryptocurrency, wbtcprice
Published: 2021-02-26 11:43:33

White Bitcoins can be converted through bitcoins so that you need secure exchange to buy Bitcoins. A few factors that you should keep in mind while choosing the exchange can be- how safe it is? What is the credibility of the exchange? What are the benefits that exchange provides you? Does the system they have can solve any discrepancy?. One of the safest exchanges to buy and convert bitcoins into White Bitcoins in Belpay Exchange.
Belpay Exchange is one of the emerging exchanges that has built a credibility in buying and selling of many cryptocurrencies and allows conversion of BTC into [WBTC Cryptocurrency](www.whitebitcoin.io) as well. 
They have been trusted by many experts in the field and as much as 70 Million Dollars have been invested through the Belpay exchange. The simple interface will allow even the novice investors to operate in a smooth way. The exchange also abides by all the legislations laid down by the countries and hence their credibility is even strengthened.
Lastly, they also have an ecosystem where the investors can really grow, they have complaint management systems and the whole community can be there to help you grow and this way both investors and exchange earns profit and grows in cooperative manner. Hence Belpay Exchange should be the first choice of anyone who is going for security as their main priority in the market.
Building effective management and development processes for a discount service
Tags: ruby, agile, productivity, programming
Published: 2021-02-26 11:42:01

Kupikupon.ru is an online service that promotes goods and services through coupons and discounts. For Evrone, this was one of the projects that influenced the development of our company, values, and approaches.

Kupikupon management contacted us to build their development processes and create several important features. They were attracted, not only by our experience, but also by our approach to management, which they later used within their own team.

We helped Kupikupon with the development of new MVP features, built the necessary processes for the digital coupon platform development, assisted with management of their team, and also helped to interview and hire in-house specialists. [Read more in the case study.](https://evrone.com/kupikupon)
VSCode - REST Client
Tags: ptbr, vscode, braziliandevs
Published: 2021-02-19 17:15:39

Olá Devs! 👩‍💻👨‍💻

No desenvolvimento e nos testes de uma API, é interessante que você utilize alguma ferramenta que apoie com as requisições. Sei que o Postman é uma ferramenta incrível, mas existem outras opções e uma delas é o "REST Client" 

Rest Client é uma extensão do VSCode que faz esse trabalho. Você consegue criar seus "scripts" com a codificação necessária para executar as suas requisições 

Um pequeno exemplo
```
### Variables 
@apiurl = https://gorest.co.in/public-api

### GET users
GET {{apiurl}}/users HTTP/1.1

### POST users
POST {{apiurl}}/users HTTP/1.1
Content-Type: application/json
Authorization: Bearer ACCESS-TOKEN

{
   "name":"Tenali Ramakrishna",
   "gender":"Male",
   "email":"tenali.ramakrishna@15ce.com",
   "status":"Active"
}

### GET categories
GET {{apiurl}}/categories HTTP/1.1
```

Para conseguir utilizar o exemplo:
* Instale o VSCode - Link no final do post
* Instale a Extensão - Link no final do post
* Copie o código de exemplo
* Crie um arquivo com a extensão ".http" ou ".rest"
* Cole o conteúdo do exemplo
* Abra o arquivo no VSCode

Sua tela será parecida com essa. Clique na opção "Send Request" para ver aquele pedaço do script sendo executado
![alt text](https://dev-to-uploads.s3.amazonaws.com/i/xvae76dhp74yy7nlsf8j.png)
 

Você encontra mais detalhes e explicações nos seguintes links:
👉 [VSCode] (https://code.visualstudio.com/)
👉 [Rest Client] (https://marketplace.visualstudio.com/items?itemName=humao.rest-client)
👉 [Online REST API for Testing and Prototyping] (https://gorest.co.in/)

Até a próxima!👊
5 Cool Error 404 Page Design | Rustcode
Tags: codepen, beginners, html, webdev
Published: 2021-02-26 11:38:30

![5 Cool Error 404 Page Design](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nw88fdqa1lyjhbtyxzd6.jpg)

## 1. Error Page
{% codepen https://codepen.io/uiswarup/pen/mBzyLR %}

## 2. Error 404 Page
{% codepen https://codepen.io/uiswarup/pen/NWWQNjZ %}

## 3. 404 Page Not Found
{% codepen https://codepen.io/uiswarup/pen/bXwvjp %}

## 4. 404 Error Page
{% codepen https://codepen.io/uiswarup/pen/dyoyLOp %}

## 5. 404 Page
{% codepen https://codepen.io/uiswarup/pen/oNXLbqQ %}
How to use the command line
Published: 2021-02-26 11:34:50

## Terminal

### Mac:
* Click the "spotlight search" icon in the top right corner.
* Search for "terminal".
* Click terminal to open it (right click it to run as admin).

![terminal](https://user-images.githubusercontent.com/28051494/109295364-7ccca500-77e3-11eb-991f-d580eee08aca.png)

### Windows:

* Click the search bar in the bottom left corner.
* Search for "command prompt".
* Click terminal to open it (right click and say "run as administrator" to run as admin).

![commandprompt](https://user-images.githubusercontent.com/28051494/109295366-7e966880-77e3-11eb-8f2d-22fabcae3a54.png)

### Basic Terminal Commands

**Shortcuts:**
* `.` : current directory
* `..` : previous directory
* `~` : home directory

**Directory (folder):**
* `pwd` : print current directory (if you're lost, or need the full path to the current directory you're in)
* `ls` : list everything in current directory (super useful to know which files/folders you can currently access)
* `ls [directory path]` : list everything in current [directory path]
* `cd [directory path]` : change directory to [directory path] 
  * `cd /home/users/Shreya/Documents/terminal.md`
  * `cd .` : change directory to current directory (doesn't really do much)
  * `cd ..` : change directory to previous directory (useful)
  * `cd ../some_folder_name` : change directory to some_folder_name directory in previous directory (sort of like going back one and into another folder)
  * `cd .` : change directory to home directory

**Opening files (in terminal, you don't need this if you're using GitHub desktop)**  
In file:
* `vi` : open file
* `[ECS] -> *+w+q` : save file
* more useful commands: https://www.cs.colostate.edu/helpdocs/vi.html

**Running a program**
* `./[program_name.extension]` [any other expected arguments]
  * `./sumarray.js` (week 2)
  * `./romanint.js 78` (week 3)

Find more useful commands: https://www.techrepublic.com/article/16-terminal-commands-every-user-should-know/

Not sure which command to use or how it works? **Google it!** Everyone uses terminal so there's a lot of useful content/blogs/video tutorials online. You can also ask your mentor for help if you're not sure where to start.
210. Course Schedule II
(javascript solution)
Tags: javascript, algorithms, leetcode, graphs
Published: 2021-02-26 05:41:18

###Description:
There are a total of n courses you have to take labelled from 0 to n - 1.

Some courses may have prerequisites, for example, if prerequisites[i] = [ai, bi] this means you must take the course bi before the course ai.

Given the total number of courses numCourses and a list of the prerequisite pairs, return the ordering of courses you should take to finish all courses.

If there are many valid answers, return any of them. If it is impossible to finish all courses, return an empty array.


###Solution:
See my solution to 207 Course Schedule I for more details on how the algorithm uses topological ordering: https://dev.to/cod3pineapple/207-course-schedule-javascript-solution-24e5

Time Complexity : O(n)
Space Complexity: O(n)

```javascript
var findOrder = function(numCourses, prerequisites) {
    // Initialize result array
    const result = new Array(numCourses).fill(0)
    const inDegree = new Array(numCourses).fill(0);
    
    for(const pre of prerequisites) {
        inDegree[pre[0]]++
    }

    const zeroDegree = [];

    for(let i = 0; i < numCourses; i++) {
        if(inDegree[i]===0) {
            zeroDegree.push(i);
        }
    }
    
    // Topological sort not possible
    if(zeroDegree.length === 0) return []
    
    let i = 0
    while(zeroDegree.length) {
        const course = zeroDegree.pop()
        // Add course to the result array 
        result[i++] = course
        for(const pre of prerequisites) {
            if(course === pre[1]) {
                inDegree[pre[0]]--
                if(inDegree[pre[0]]===0) {
                    zeroDegree.push(pre[0])
                }
            }
        }
    }
    
    // Topological sort not possible
    for(const num of inDegree) {
        if(num!== 0) return []
    }
    
    return result;
};
```
How personal should you go?
Tags: discuss
Published: 2021-02-26 11:29:59

Recently, I remembered some extremely painful life events that have caused me to pretty much poop out of everything. 

My question to you is how personal should you go when sharing with clients that it will take longer to get work done than before?

Another question is: Has something like this ever happened to you? How did you work through your pain healthily?
Scraping Reddit with Python and Beautiful Soup
Published: 2021-02-26 11:18:19

Today we are going to see how we can scrape Reddit posts using Python and BeautifulSoup is a simple and elegant manner.

This article aims to get you started on a real-world problem solving while keeping it super simple, so you get familiar and get practical results as fast as possible.

So the first thing we need is to make sure we have Python 3 installed. If not, you can just get Python 3 and get it installed before you proceed.

Then you can install beautiful soup.
We will also need the library's requests, lxml, and soupsieve to fetch data, break it down to XML, and to use CSS selectors. Install them using.

Now let's go to the programming subreddit and inspect the data we can get.

This is how it looks.
Back to our code now. Let's try and get this data by pretending we are a browser like this.
Save this as reddit_bs.py.

If you run it


You will see the whole HTML page.

Now, let's use CSS selectors to get to the data we want. To do that, let's go back to Chrome and open the inspect tool. You can see that all the post title elements have a class called review-title in them.
Once installed, open an editor and type in.
Let's use CSS selectors to get this data like so.
This will print the title of the first post's title. We now need to get to all the posts. We notice that the

with the class 'Post' (amongst others) holds all the individual data together.
To get to them individually, we run through them like this and try and get to the post title from 'inside' the 'Post.'
And when you run it, you get.
Bingo!! We got the post titles.

Now with the same process, we get the class names of all the other data like post votes, the number of comments, link to it, etc.
That, when run, should print everything we need from each post like this.
If you want to use this in production and want to scale to thousands of links, then you will find that you will get IP blocked easily by Reddit. In this scenario, using a rotating proxy service to rotate IPs is almost a must.

Otherwise, you tend to get IP blocked a lot by automatic location, usage, and bot detection algorithms.

Our rotating proxy server Proxies API provides a simple API that can solve all IP Blocking problems instantly.

With millions of high speed rotating proxies located all over the world
With our automatic IP rotation
With our automatic User-Agent-String rotation (which simulates requests from different, valid web browsers and web browser versions)
With our automatic CAPTCHA solving technology
Hundreds of our customers have successfully solved the headache of IP blocks with a simple API.

A simple API can access the whole thing like below in any programming language.
10 Free Resource for Vector Illustrations.
Tags: 100daysofcode
Published: 2021-02-26 11:15:37

*Today in this article you will get to know about 10 different resources from where you can download free vector illustrations. All these illustrations are free for commercial and personal use, but make sure you read their Licence Agreement before using them*

## [Undraw.co] (https://undraw.co/search)

*This is the most popular resource for illustration, These all illustrations are open source so you can use these illustrations for personal as well as commercial purposes. You can also change the color of the illustration. You can download these illustrations in SVG and png format.*

## [illustrationkit.com] (https://illustrationkit.com/)

*This open-source illustration library is Khusmeen & Dilpreet, this library has more than 120 illustrations. Her illustrations are divided into categories scenes and characters. YOu are allowed to use these illustrations for personal as well as commercial purposes without giving attribution to the author. For more read the license page. You can download these illustrations in SVG and png format.*

## [drawkit.io] (https://www.drawkit.io/)

*Here illustrations are divided into many different categories, here you can find more than 300 illustrations. You can use these resources for personal as well commercial purposes.*

## [illlustrations.co] (https://illlustrations.co/)

*These 100 illustration is designed by Vijay Verma during his 100 days of illustration challenge, now there is more than 100 illustrations, you can use these illustrations for personal and commercial purposes. YOu can download the illustration in png, SVG.*

## [manypixels.co] (https://www.manypixels.co/)

*Here you can find more than 2000+ royalty-free illustrations.
You can download these illustrations in png and SVG format.*

## [pixeltrue.com] (https://www.pixeltrue.com/free-illustrations)
*On this site you there are more than 180 + vector illustrations & Lottie animation, all these illustrations are available for free for personal and commercial use.*

## [humaaans.com] (https://www.humaaans.com/)

*From here you can download illustrations of human challenge, and all their illustrations are free for commercial and personal use.*

## [vectorportal.com] (https://www.vectorportal.com/)

*Here you can find illustrations for free vector illustrations for personal and commercial use.*

## [freepik.com] (https://www.freepik.com/)
*From this you can download free stock photos, vector illustrations, PSD, and icons*

## [vecteezy.com] (https://www.vecteezy.com/)
*From here you can download vector illustrations, stock photos, and videos*

*Thanks for reading this article, if you have any feedback, let me know in the comment section.*
Upgrade Husky to Latest Version
Tags: javascript, beginners, tutorial
Published: 2021-02-26 11:15:00

In this post, I'll show you how to upgrade from [Husky - Git hooks](https://typicode.github.io/husky/#/) v4.x to v5.x.

The motivation to write about that is because I made this upgrade on some of my projects and I think this short post can be helpful to you.

At the moment I'm writing this post the current version of Husky is `v5.1.1`, I'll keep this version of the package to avoid configuration problems when we are reading this post.

Notice that Husky v5.x.x is free just for open source projects, read more [here](https://typicode.github.io/husky/#/?id=announcement).

## New Features of Husky
* Zero dependencies
* Lightweight (~0.02MB vs ~1MB for husky 4)
* Fast (~0.01s vs ~0.5s for husky 4)
* Supports macOS, Linux and Windows

## Installing Husky v5.x.x
**npm:**
```bash
npm install --save-dev husky@5.1.1
```

**yarn:**
```bash
yarn add -D husky@5.1.1
```

## Moving Configurations from .huskyrc
Now, you already had installed Husky v5.1.1 you can execute the following command:

**npm**
```bash
npx husky install
```

**yarn**
```bash
yarn husky install
```

Note: It will create the `.husky` directory at the current directory you are when running this.

## Adding a Hook
You will use the basis command every time you want to add a new hook to Husky, like:
```bash
npx husky add .husky/<HOOK NAME> "<SCRIPTS TO RUN>"
```

In this case, I'll add two hooks to Husky, such as:

### pre-commit
```bash
npx husky add .husky/pre-commit "npx lint-staged"
```

### commit-msg
**npm**
```bash
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"'
```

**yarn**
```bash
yarn husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"'
```

## Wrapping Up
I think this movement of Husky to bash scripts helps to integrate with other stacks and removes the focus to JavaScript language.

If you want to go deeper, I recommend you read the [Husky docs](https://typicode.github.io/husky/#/).

Enjoy programming!

## References
- [Husky - Migrating from 4 to 5](https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v5)
How To Install and Setup PyCharm for Python in Windows 10 in 2021?
Tags: python, django
Published: 2021-02-26 11:01:12

Are you just starting your journey to become a Python developer. If yes, then your first step should be choosing the best IDE for you. There is a number of python IDEs available on the internet, but I would recommend you to kick start your Python journey by installing PyCharm community edition. Why? Because PyCharm community edition comes with a lot of exciting features such as version control, visual debugging, syntax highlighting and many more. In this article, I will guide you to install PyCharm on your computer without any errors.

Follow the steps given below to install and set up PyCharm IDE for Python:

1.Download Python by clicking here. You can install any version of Python of your choice. But, I would recommend you to download the latest version of Python., i.e., Python 3.9.1 at the time of writing this article.

2.Install the .exe file. Make sure you check “Add Python 3.9 to path” otherwise you would need to call it from the command line like this: C:/Python3.9/Python some_python_script.py

3.Verify if the Python is installed correctly or not by typing python –version in the Windows PowerShell.

4.The next step is to download the Community version of PyCharm IDE by clicking here. The community version is free to use. You can download the Professional edition if you want(it has additional support for HTML, JS and SQL). If you are a beginner, then I would recommend you to use the community edition and insatll.

regards:
<a href="https://ruhihandblockprinters.com/">Ruhihandblockprinters
</a>
onClick event in Strapi doesn't work
Tags: help
Published: 2021-02-26 11:00:06

I am working with Strapi, react.js and Apollo. My problem is that I have implemented the following event in the editor of Strapi: 

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

onclick="window.trackDownload('mapal_mitte', 'MAPAL_Neuheiten-2021_EN')"

but the onclick event raises the following error :
 
Uncaught Error: Minified React error #231;

full message:

Expected `onClick` listener to be a function, instead got a value of `string` type.

Does anyone know what I did wrong?
FEC Day 3
Published: 2021-02-26 10:47:59

Today our focus was to draw out our wireframe while referencing the example wireframe and making sure we include the requirements in the Business Requirements Document. We decided to try out Figma as our wireframing tool because it seems to be the industry standard and it allows for simultaneous editing which is really nice for collaboration. Fleshing out the wireframe proved to be beneficial for my understanding of all the components of our app. It got us thinking about reusable parts and all the small pieces that each widget requires. As we start putting in tickets into our Trello board, I'm getting increasingly more excited to start coding this bad boy!