teleren/devto huggingface dataset:
R Programming
Published: 2021-02-01 11:26:28

Why learn [R-course](https://intellipaat.com/r-programming-certification-training/) in 2021? How it is superior to its competitor python?

 Let us discuss all these in this short blog. R is a programming language and an analytics device that was created in 1993 by Robert Gentleman and Ross Ihaka at the University of Auckland, Auckland, New Zealand.

 It is broadly utilized and appreciated by Software Programmers, Statisticians, Data Scientists, and Data Miners, etc. It is quite possibly the most mainstream examination instrument utilized in Data Analytics and Business Analytics. It has various applications in spaces like medical services, scholastics, counseling, money, media, and some more. Its tremendous relevance in Statistics, Data Visualization, and Machine Learning have offered to ascend to the interest for ensured prepared experts in R.

Why R?

R is an Open Source Tool
Since R is an open-source programming language, you can download it for free of cost and begin to learn R Programming. Furthermore, in the event that you as of now are a specialist at R Programming, you can add to the R Community by making your own bundles which the whole R people group can utilize. In this way, you can add your own advancements and own creations to the current arrangement of libraries in R.
R is a Cross-Platform Compatible Language
Since R is a cross-stage viable language, you can run a similar R code in numerous working frameworks and OS. Suppose, you are utilizing a windows framework, however, your customer has a MAC, you don't need to stress by any stretch of the imagination, on the grounds that your R code will run with no issues on your customer's framework.
R is a great Visualization Tool
R is an extraordinary representation tool. It gives different bundles, for example, ggplot2, ggvis and plotly with which we can make shocking and eye-catchy perceptions. This is likewise one of the significant reasons why individuals learn R Programming. With regards to representation, R is a long ways ahead when contrasted with Python.

Hence, you have got some real insights that why you should consider learning R language if you want to show some eye-catchy visuals and perceptions of your findings and research to others.
Maintaining a Python package
Tags: python, machinelearning, datascience, teamworking
Published: 2021-02-01 11:25:40

As previously posted here: <https://dev.to/koti/updating-an-important-but-stale-python-library-3o6i>, me and Dimitry cooperated on updating a Python library important for the smooth operations of his company.

Unfortunately, it seems that its original author never accepted our previous Pull Request to revive the profanity-check package. As a result, Github issues were kept being opened by other developers asking about the library and issues they had while using it. What surprised us the most, was this one: <https://github.com/vzhou842/profanity-check/issues/28>, where someone actually recommended our fork of the project as a "*new version available here, that solves the issue very well*".

Considering this and seeing that package seemed to have many users, either in production or for personal use, we decided that re-publishing the same library would be a great idea to bring the package back to life and make it accessible for more developers to experiment with. The main problem was following up with scikit-learn package's updates which rendered the initial models problematic as the next versions were released.

After taking this quick and handy tutorial from Real Python: <https://realpython.com/courses/how-to-publish-your-own-python-package-pypi/>, we made some minor modifications to the project's repository and uploaded our updated version to PyPi. 

Outcome turned out to be really beneficial during the process and made us better both as people and developers. For example, we found out that when uploading a PyPI package, you don't really sync your repository to the PyPI project page. You only upload a tar'ed "/dist" directory's content produced after running the `python setup.py bdist_wheel` command.

We also realised that many developers can sometimes be demanding things out of nowhere. They may request features and bug fixes, unable to understand that open-source software main purpose is the community's contribution in every possible way. They should consider putting some work on the projects themselves or contributing in other ways or at least saying "thanks".

At any case, taking on the "responsibility" of maintaining a Python package, widely used by the community seems to be an exciting journey on the open-source software adventure. It makes you feel proud and responsible for ensuring that other people's projects continue to operate smoothly.

You can find the package and instructions for its installation here: <https://pypi.org/project/alt-profanity-check/>. Also, the source code can be found here: <https://gitlab.com/dimitrios/alt-profanity-check>. Contributions and new feature ideas are more than welcome.
How to Build a Discord.js Bot on Ubuntu 20.04
Tags: discord, ubuntu, linux, build
Published: 2021-02-01 11:14:12

In this article, we'll explain how to build a Discord.js Bot on Ubuntu 20.04.

A Discord bot can execute commands and perform advanced Discord functions.

<strong>Prerequisites</strong>
A Ubuntu 20.04 installed <a href="https://www.hostnextra.com/vps-hosting.html">KVM VPS</a>.
A root user access or normal user with administrative privileges.

Let's get started. 
<a href="https://www.hostnextra.com/kb/build-a-discord-js-bot-on-ubuntu-20-04/">How to Build a Discord.js Bot on Ubuntu 20.04</a>
How to Setup Spack on Ubuntu 20.04
Tags: spack, ubuntu, server, linux
Published: 2021-02-01 11:10:33

In this article, we'll explain how to setup Spack on Ubuntu 20.04.

Spack is a package management tool designed to support multiple versions and configurations of software on a wide variety of platforms and environments. We can install scientific packages such as 3proxy or PNGwriter.

<strong>Prerequisites</strong>
A Ubuntu 20.04 installed <a href="https://www.hostnextra.com/10gbps-dedicated-servers.html">dedicated server</a> or <a href="https://www.hostnextra.com/vps-hosting.html">KVM VPS</a>.
A root user access or normal user with administrative privileges.

Learn more: <a href="https://www.hostnextra.com/kb/how-to-setup-spack-on-ubuntu-20-04/">How to Setup Spack on Ubuntu 20.04</a>
How to add user into Database and Manage Privileges
Published: 2021-02-01 11:07:27

Few days ago, I was working with live hosting server which is basically called cPanel. So, I want to share this experience with all of you.
Recently I was developed a web application after successful testing in local environment. I need to deploy it on live hosting server. So how was the process being, don’t worry I’m going to clear about it.
For that first I go to my cPanel link which is like: https://mywbsite.com/cpanel now it’s shows me like below screen:
 
  So, I need to submit my login credential for going to cPanel Dashboard

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

After login successfully it shows me cPanel Dashboard area it looks like below:
 ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/djzbev7aw067fw58tnfh.png)
Now I am ready to go create database as mention my heading for that I need to click MySQL Databases from DATABASES area
 ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ttneb7hkzkh2vngto5hs.png)
It will redirect me another panel which is like below
 ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/6vrnq5oy0s31rns0enro.png)
Now it’s time to select Database user and Select the Database and click Add button.
It’s redirects me another panel which is like below:
 ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/bl0577ctggkhs4jo8jds.png)
In this panel I need to click ALL PRIVILEGES checkbox and then click to Make Changes Button. All done. 
That’s it
.
Happy Coding.
osman forhad
Web & Mobile Application Developer💻
How To Install OpenSSL 1.1.1i in CentOS 8
Tags: openssl, centos, linux, linuxtutorials
Published: 2021-02-01 10:56:34

In this article, we'll explain how to install OpenSSL 1.1.1i in CentOS 8.<br>
OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. OpenSSL is a software library for applications that secure communications over computer networks against eavesdropping or need to identify the party at the other end.<br>

OpenSSL is licensed under an Apache-style license, which means that you are free to get and use it for commercial and non-commercial purposes subject to some simple license conditions. For a list of vulnerabilities, and the releases in which they were found and fixes, see our Vulnerabilities page.<br>

<strong>Prerequisites</strong>
A CentOS 8 installed <a href="https://www.hostnextra.com/dedicated-server.html">dedicated server</a> or <a href="https://www.hostnextra.com/vps-hosting.html">KVM VPS.</a>
A root user access or normal user with administrative privileges.

Learn more: <a href="https://www.hostnextra.com/kb/how-to-install-openssl-1-1-1i-in-centos-8/">How To Install OpenSSL 1.1.1i in CentOS 8</a>
How Upgrade to PHP 8.0
Published: 2021-02-01 10:47:48

Upgrade to PHP 8.0 (On #Linux, and #Windows):
** LINUX:
1. List existing PHP packages with:
$ dpkg -l | grep php | tee packages.txt
2. Add ondrej/php PPA with:
$ sudo add-apt-repository ppa:ondrej/php
# Press enter when prompted.
$ sudo apt-get update
3. Install PHP 8.0 and extensions with:
$ sudo apt install php8.0-common php8.0-cli -y
# Check with:
$ php -v
# Add additional extensions:
$ sudo apt install php8.0-{bz2,curl,intl,mysql,readline,xml}
Install Server APIs:
Depending on the web server you use, you will need to install additional packages to integrate with the web server.
For Apache using mpm_event, Nginx, Litespeed, etc., php8.0-fpm package provides integration with PHP 8.0 via FPM.
$ sudo apt install php8.0-fpm
For Apache using mod_php, install libapache2-mod-php8.0.
$ sudo apt install libapache2-mod-php8.0
4. Test PHP 8.0 installation with:
$ php -v
$ php -m
5. Purge old PHP versions:
If the new installation is working as expected, you can remove the old PHP packages from the system.
$ sudo apt purge '^php7.4.*'
6. What's new and changed in PHP 8.0:
For a complete list of changes in PHP 8.0, see What's new and changed in PHP 8.0 https://php.watch/versions/8.0
** For Valet on Linux, re-config it with the command :
"valet use" to choose php8.0 by default by Velet.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/twctzkeko06ah32pij8a.jpg)

#WINDOWS:
Download the php8 for windows from windows.php.net/download and extract it in a directory like "C:\laragon\bin\php" Then add this path to the windows Env variable, and remove previous php one (if you have any). Then Go to your apache directory like "C:\laragon\etc\apache2" and open the mode_php.conf file as Administrator, then change the line
LoadModule php8_module "C:/laragon/bin/php/php-8.0.0-Win32-vs16-x64/php8apache2_4.dll"
with
LoadModule php_module "C:/laragon/bin/php/php-8.0.0-Win32-vs16-x64/php8apache2_4.dll"
That means you write php_module instead of php8_module there.
Then go to "C:\laragon\bin\php\php-8.0.0-Win32-vs16-x64" directory and rename php.ini-development as php.ini or just edit existing php.ini file as your need (Extensions you need). Just simply uncomment (remove semicolons ";" from lines ) to doing so.
Then restart the apache, and you will good to go.
.
Happy Coding.
osman forhad
Mobile & Web Application Developer💻
How to Install and Configure CSF on CentOS 8
Tags: csf, firewall, centos, linux
Published: 2021-02-01 10:44:53

In this article we will learn to install and configure CSF on CentOS 8.

ConfigServer Security & Firewall (it is also called csf in short) is a Stateful Packet Inspection (SPI) firewall, Login/Intrusion Detection and Security application for Linux servers.<br>
To complement the ConfigServer Firewall (csf), is developed a Login Failure Daemon (lfd) process that runs all the time and periodically (every X seconds) scans the latest log file entries for login attempts against your server that continually fail within a short period of time. Such attempts are often called "Brute-force attacks" and the daemon process responds very quickly to such patterns and blocks offending IP's quickly.

<strong>Prerequisites</strong>
A CentOS 8 installed <a href="https://www.hostnextra.com/dedicated-server.html">dedicated server</a> or <a href="https://www.hostnextra.com/vps-hosting.html">KVM VPS</a>

A root user access or normal user with administrative privileges.

Learn more: <a href="https://www.hostnextra.com/kb/install-and-configure-csf-on-centos-8/">Install and Configure CSF on CentOS 8</a>
Use RegEx to split a string in Javascript (preserving separators) | Notes
Tags: notes, regex, javascript, recipe
Published: 2021-02-02 11:50:04

---
title: Use RegEx to split a string in Javascript (preserving separators) | Notes
published: true
date: 2021-02-01 10:40:00 UTC
tags: notes,regex,javascript,recipe
canonical_url: https://abhi.page/notes/javascript-split-string-with-separators/
---

Use the Javascript split() function with a `Positive Lookbehind Regular Expression` to split a string while preserving the separators in the sub-strings:

```javascript
split(/(?<=[<separator characters go here>])/)
```

## What is Lookbehind? [§](https://abhi.page/notes/javascript-split-string-with-separators/#what-is-lookbehind)

Lookbehind in regular-expression allows to match a pattern only when it follows the given lookbehind pattern (without actually matching it).

### Syntax [§](https://abhi.page/notes/javascript-split-string-with-separators/#syntax)

- Positive lookbehind: `(?<=Y)X` matches X if there is Y before it.
- Negative lookbehind: `(?<!Y)X` matches X if there is no Y before it.

**One limitation** is that Javascript only supports fixed length lookbehind patterns. So, you cannot use it to split by a separator pattern with variable length.

## Demo [§](https://abhi.page/notes/javascript-split-string-with-separators/#demo)
<iframe height="300" style="width:100%;" scrolling="no" title="CodePen Embed" src="https://codepen.io/anon/embed/MWbYPLO?height=300&amp;theme-id=dark&amp;default-tab=js,result" frameborder="0" loading="lazy" allowtransparency="true" allowfullscreen="true"><p><a href="https://codepen.io/abhiweb/pen/MWbYPLO" target="_blank" rel="noopener">See the Pen</a></p></iframe>
* * *

[**Read on abhi.page**](https://abhi.page/notes/javascript-split-string-with-separators/) | [**Read more notes**](https://abhi.page/notes/)
Count Number of Cells with String Length Greater than X!!
Tags: excel, excelpreface, countcellsbasedonstr, excelbasics
Published: 2021-02-10 11:00:19

---
title: Count Number of Cells with String Length Greater than X!!
published: true
date: 2021-02-01 10:31:47 UTC
tags: Excel,ExcelPreface,Countcellsbasedonstr,ExcelBasics
canonical_url: https://geekexcel.com/count-number-of-cells-with-string-length-greater-than-x/
---

To count the total number of cells in a range is simple, but have you ever tried to count the cells by a given length? Not to worry. Here, I am going to introduce a way to **count the cells with string length greater than a specific number in Excel**. Let’s get them below!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)
## Formula and Explanation:

- You can use the below formula to count the cells with string length.

**=[SUMPRODUCT](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)(N([LEN](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/)(range)>10))**

### Function Explanations:

- **[SUMPRODUCT Function](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)** – This function will help to multiply the corresponding arrays or ranges and returns the sum of the products.
- **[LEN Function](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/)** – It helps to find the length of a given text string.
- **N function** – This function will help to convert a value to a number.

## Practical Example:

Refer to the below example.

- Here, we will give the input text and length in **Column**  **B** and **Column**  **C**.

![Input Range](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/02/Input-Range-1.png)<figcaption id="caption-attachment-21608">Input Range</figcaption>

- Then, apply the above-given formula in the blank cell where want to display the result.

![Enter the formula](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/02/Enter-the-formula-1.png)<figcaption id="caption-attachment-21609">Enter the formula</figcaption>

- Press the **ENTER** key, it will count the cells that are greater than the given criteria.

![Result](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/02/Result-1.png)<figcaption id="caption-attachment-21610">Result</figcaption>

## Wrap-Up:

Hope you understood how to **count the cells with string length greater than a specific number in Excel**. Let me know your queries in the below comment section. I reply to queries frequently. Continue learning on **[Geek Excel](https://geekexcel.com/)!! **

### Related Articles:

- **[Excel Formulas to Count Cells that do not contain Errors!!](https://geekexcel.com/excel-formulas-to-count-cells-that-do-not-contain-errors/)**
- **[Formulas to Count Cells that contain numbers in Excel Office 365!!](https://geekexcel.com/formulas-to-count-cells-that-contain-numbers-in-excel-office-365/)**
Install primeNG for jHipster
Tags: angular, npm, jhipster, spring
Published: 2021-02-01 10:30:39

Here's the steps used to install primeNG 10.0.7 lts for angular 10 in jhipster 6.10.5

## Steps

1. run `npm i primeng-lts primeicons @angular/animations chartjs @angular/cdk --save`
2. add following lines into vendor.scss

       `@import '~primeng-lts/resources/primeng.min.css';`

       `@import '~primeng-lts/resources/themes/nova/theme.css';`

       `@import '~primeicons/primeicons.css';`

3. import BrowserAnimationsModule to your app.module.ts

     `import { BrowserAnimationsModule } from '@angular/platform-browser/animations';`

      and add it to imports
      `BrowserAnimationsModule,`


4. add  `import 'chartjs/chart.js';` to vendor.ts
5. Now you can use it 
    for example let's use card https://www.primefaces.org/primeng/v10-lts/#/card
    * `import {CardModule} from 'primeng-lts/card';` in your module and then add `CardModule,` to imports:[]
    * add ` <p-card> Content </p-card> ` to your component's html 
    





## References
* https://medium.com/@ts.io/how-to-install-and-use-primeng-components-on-a-jhipster-project-fb2acb0d9f64
* https://stackoverflow.com/questions/60061672/primeng-with-jhipster
FOSDEM 2021 is coming up!
Tags: fosdem, opensource
Published: 2021-02-01 10:06:37

The annual [fosdem conference](https://fosdem.org/2021/) is comming up next weekend (6 & 7 February 2021)! 

This year it is all virtual so people from around the planet can join from the convenience of their laptops :-)

The #fosdem schedule is busy as always, but there is an (obviously) #opensource app to [help planning](https://f-droid.org/en/packages/info.metadude.android.fosdem.schedule/).

There are many, many streams to cater to the diversity of the open source community, see you around the #python one ;-)
Some small Css tips #004
Tags: webdev, css, html, beginners
Published: 2021-02-01 09:53:34

---
title: Some small Css tips #004
published: true
description: I try to tweet a small css tip every day. Here is a collection of some of them.
canonical_url: https://since1979.dev/some-small-css-tips-004/
cover_image: https://since1979.dev/wp-content/uploads/2021/01/css-tips-banner-004.jpg
tags: webdev, css, html, beginners
---

To continue on my [previous post](https://dev.to/vanaf1979/some-small-css-tips-003-522b) here are some more tweets with little Css tips that might help you in your projects. 

### Multiple transforms
{% twitter 1345337646411821056 %}
{% codepen https://codepen.io/Since1979/pen/poELjKa default-tab=css,result %}
Css transform docs: https://developer.mozilla.org/en-US/docs/Web

--- 

### Images url’s in custom properties
{% twitter 1345717096865550348 %}
{% codepen https://codepen.io/Since1979/pen/dypmGNX default-tab=css,result %}

--- 

### Multiple background images
{% twitter 1346072170179522560 %}
{% codepen https://codepen.io/Since1979/pen/WNGzrQz default-tab=css,result %}

--- 

### Filter Drop Shadow
{% twitter 1346428807868248065 %}
{% codepen https://codepen.io/Since1979/pen/dypeRMq default-tab=css,result %}
Css dop-shadow docs: https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/drop-shadow()

--- 

### Making selections with Css pseudo-selectors
{% twitter 1354448545454174210 %}
{% youtube 6JZ2sUL-Jhc %}
Blog post: https://dev.to/vanaf1979/making-selections-with-css-pseudo-selectors-30p7

--- 

### Subscribe and Follow

**[Subscribe to my Youtube channel.](https://www.youtube.com/channel/UCeyqA3y26RlnfUSx3ufgFoA)**

**[Follow me on Twitter](https://twitter.com/Vanaf1979)**

**Thanks for reading/watching and stay safe**