teleren/devto huggingface dataset:
Data Backup and VM Modernization: A Step-by-Step Guide
Tags: data, backup, vm
Published: 2022-11-17 08:36:29

In the modern business world, data is everything. Losing data can mean losing customers, losing revenue, and even losing your competitive edge. That's why [data backup](https://cacm.acm.org/blogs/blog-cacm/266511-data-backup-and-vm-modernization-how-to-guide/fulltext) is so important.


Backing up data used to be a time-consuming and complicated process, but with today's technology, it's easier than ever. In this guide, we'll show you how to back up your data and modernize your virtual machines (VMs) in just a few simple steps.


1. Choose a backup solution that fits your needs. There are many different backup solutions available on the market, so it's important to choose one that fits the specific needs of your business. If you're not sure which solution is right for you, our team of experts can help you find the perfect fit.


2. Set up your backup schedule. Once you've chosen a backup solution, it's time to set up a regular backup schedule. Depending on the size and scope of your data, you may want to back up daily, weekly, or even hourly.


3. Back up your data. This is the most important step in the process! Be sure to back up all of your data, including your operating system, applications, and user data.


4. Modernize your VMs. Once you've backed up your data, it's time to modernize your VMs. This will ensure that they're running smoothly and efficiently and that they're able to take advantage of the latest features and security updates.


5. Test your backups. It's important to regularly test your backups to make sure they're working properly. This will give you peace of mind knowing that your data is safe and sound and that you can recover it if something goes wrong.


 following these simple steps, you can easily back up your data and modernize your VMs. By doing so, you'll be able to protect your data from loss or corruption, and keep your business running smoothly.
# Day 4 | How to resolve it?
Tags: javascript, programming, beginners
Published: 2022-11-17 08:34:29

# The problem 
How can I ensure the condition returns `true` and print 1.

```js
var a = ?;
if(a == 1 && a == 2 && a == 3){
  console.log(1); // 1
}
```
Data Backup Errors That Cause Data Loss
Tags: data, backup, dataloss
Published: 2022-11-17 08:34:07

Data backup is an important process for any business or individual to protect their data from loss. However, data backups can sometimes fail and cause data loss. There are a few common data backup errors that can cause data loss:

1. Incorrect Backup Configuration

One of the most common data backup errors is an incorrect backup configuration. This can happen if the data backup software is not configured properly or if there are changes made to the data that are not backed up. When this happens, data can be lost when it is restored from the backup.

2. Failed Hardware

Another common data backup error is failed hardware. This can happen if the disk drive fails or if the tape drive fails. When this happens, data can be lost when it is restored from the backup.

3. Corruption

Corruption can occur during the data backup process. This can happen if the data is not backed up correctly or if the data is corrupted during the backup process. When this happens, data can be lost when it is restored from the backup.

4. Incomplete Backups

An incomplete data backup can also cause data loss. This can happen if the data is not backed up completely or if the data is not backed up in the correct order. When this happens, data can be lost when it is restored from the backup.

5. Human Error

Human error can also cause data loss during a data backup. This can happen if the data is not backed up correctly or if the data is deleted by accident. When this happens, data can be lost when it is restored from the backup.

Data loss can be a major problem for any business or individual. It is important to make sure that [data backups](https://gracethemes.com/data-backup-mistakes-that-lead-to-data-loss/) are done correctly to avoid data loss. If you have any questions about data backup, please contact a data recovery company for help.
React People: If React is a Library, then CRA is a Framework?
Published: 2022-11-17 08:32:32

I have this doubt:  It seems that we are in agreement that **ReactJS** is just a library.  You include it in your HTML and start using it.

But then, what is **Create React App**?  Because it comes with a **lot more**.  It comes with a NodeJS development server, hot modules, webpack, babel and a hacked dotenv library.  All is tied together with the React scripts that run, test and build.

Would you say then that **CRA** is a framework?  I hear you all.  Post away!
We gave an interview to a HackerNoon Contributor
Tags: webdev, opensource, productivity, motivation
Published: 2022-11-17 08:31:20

We have partnered with them on several projects, and we were glad to give them an interview about company positioning and writing engaging case studies useful both for your potential clients and team members.

Read the [full interview on HackerNoon](https://hackernoon.com/case-studies-digests-open-source-how-should-it-companies-promote-themselves)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d8aeryik63qz92w29s87.jpg)
Complete E-Commerce in React and Node.js (free) 🔥 | MERN Course in 15hrs
Tags: react, node, webdev, javascript
Published: 2022-11-17 08:15:43

This course is perfect for beginners and intermediate developers who would like to improve their `JavaScript` and web development skills by creating a complete e-commerce web app.

It covers a wide range of topics including but not limited to the following:
- **A complete shopping cart** - This is the first feature you will implement in the course. You will get introduced to `redux toolkit` and learn more about it in a step by step manner by creating a complete shopping cart.
- **Auth APIs(backend)** - You will then start adding authentication to the app by creating APIs in `JWT` `Node.js`, `express` and `MongoDb`.
- **Consume Auth APIs(frontend)** - The next step will be consuming the auth APIs using `react` and `redux toolkit` on the frontend.
- **Stripe Payment** - Here you will learn how to process payments and create an order in db using `stripe`, `stripe webhooks`, `react` and `node.js`
- **Admin Dashboard** - Here we will create a complete admin dashboard with graphs and data tables to manage `products`, `users` and `orders`
- **and much more..**

This course is available for free on my YouTube Channel.. Check it out below 👇

{% youtube XQJNVF9pFYs %}
Responsive Signup Form in HTML and CSS
Tags: html, css
Published: 2022-11-17 08:06:03

In this tutorial we will learn How to Make Responsive Signup Form in HTML and CSS. inside the project, I've used HTML to make structure of the page, then I've used CSS3 to design it.

Also Inside the project, I've used Image in the right side. So, You can watch the complete tutorial to learn it step by step with practically.

Hope this tutorial is helpful and beneficial for you.

{% embed https://www.youtube.com/watch?v=kCGj_jnqngU %}
Stripe Card issue in android
Published: 2022-11-17 08:03:24

Hey guys can you help me in one issue regarding stripe card in android, the issue is while adding the card I am entering card numbers, expiry date and cvc, it's works fine, but when I erase cvc, expiry date and two or three digits of card and again complete the card number , and then expiry date, in this case, expiry date(month and year) is not separated by a slash(/).
And this issue is happening in Xiaomi devices

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cx4xpio91v03e4j49dtk.png)
My first SQL Query
Published: 2022-11-17 08:01:19

This is my first Microsoft server SQL, I can't believe it! I really longed for this opportunity .I must thank BlackTech Academy for giving me the opportunity to join 'The free SQL cohort2 training'.
How can I forget to thank the 'DEV COMMUNITY ' for giving me a platform to document my projects and learn more !! #Thank your ,THE DEV COMMUNITY.


**Database Overview.**
The database was AdventureWorks2017 database with several tables and https://learn.microsoft.com/en-us/sql/samples/adventureworks-install-configure is the link to access the database




1.#SELECT STATEMENT
-Is  a built-in function used to select  entire table or column in a table.

a. Showing  person from Person. Person  table with the first name  Rob or Roberto
I applied the following  select query command :. Person from person. Person table with the firstname as  Rob or Roberto
 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yc374rnyhoq64uz5v479.png)
A Nice Developer Joke For Today
Tags: jokes, dailydeveloperjokes
Published: 2022-11-17 08:00:03

---
title: "A Nice Developer Joke For Today"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12591b4fccd.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ Why don't parents teach their kids about regular expressions?

___A:___ Because they don't want them playing with matches
 -->
How to Add Font Awesome Icons in HTML
Tags: html, css
Published: 2022-11-17 07:59:31

How to Add Font Awesome Icons in HTML

In this video tutorial we will learn How to Add Font Awesome Icons in HTML document. Inside the video tutorial you will learn two methods to display the font awesome icons inside the HTML document.

The First way, you can add the font awesome cdn file inside the HTML document. Then you can add the font awesome icons code inside the span or I tag.

The Second way you can add the font awesome file file inside the HTML Document, is then you can add classes inside the HTML tag where you want to add font awesome icons.

Then you need to use CSS to display the font awesome icons, inside the CSS, you need to use pseudo selectors like before or after, inside the there you need to use Unicode inside the content section.

So, Hope you are understood as well all about How to Add Font Awesome Icons in HTML and CSS. 

The last thing is Inside the tutorial you will learn How to use Font Awesome CDN file and also you will learn How to Use Awesome Offline. 

So, This tutorial is very helpful and beneficial to you.

{% embed https://www.youtube.com/watch?v=ykLMrW0bG5o %}
Responsive Website Using HTML and CSS FlexBox
Tags: html, css
Published: 2022-11-17 07:55:26

Responsive Website Using HTML and CSS FlexBox

in this video tutorial, we will learn How to Make a Responsive Website Using HTML and CSS FlexBox. I've used flexbox tactics to make a completely responsive website.

You can watch the complete tutorial to understand the usage of Flexbox to create a professional, attractive, and also responsive website. So, you need to watch the start-to-end video tutorial.

Then you need to practice on your personal computer. Then you will able to understand everything step by step.

{% embed https://www.youtube.com/watch?v=oPMtVCFaDAU %}
Ecommerce Dashboard
Tags: webdev, react, laravel, javascript
Published: 2022-11-17 07:51:48

Hello Devs,
Wanted to share with you a project I've worked on in my time to enhance my web dev skills. The project is an E-Commerce dashboard with React and Laravel. I would like to hear your thought about it, about my choice of technologies and any possible enhancements.
The link to my project is here: https://github.com/BadreddineZatout/Ecommerce-Dashboard
Feel free to fork it, star it or submit any issues.
Hyperscript - the hidden language of React
Tags: react, webdev, javascript, programming
Published: 2022-11-17 07:50:23

## JSX is the starting point
React uses JSX to make things easier for the developers. So when you write something like this.
`<div id="foo">
  Hello!
</div>`

Babel with a react preset transforms it to this.
`React.createElement("div", {
  id: "foo"
}, "Hello!");`

Check out this example in Babel REPL. React.createElement is a function that creates a virtual node. It's a well-known fact, and you probably already know it. So what's the point?

## Preact way
If you've used Preact before, you may notice it has an unobvious export in its source code.

`export {
  createElement,
  createElement as h,
} from './create-element';`

To make things clear, the createElement function from Preact serves the same needs as React.createElement. So the question is, why is it exported as h as well?

The reason is dead simple. It's exported as h because it's a hypescript function. So what exactly is hypescript?

## Hyperscript is the key
Hypescript is a kind of language to create HyperText with JavaScript and was started by Dominic Tarr in 2012. He was inspired by markaby, the "short bit of code" to write HTML in pure Ruby. Markaby allows doing things like that.

`require 'markaby'

mab = Markaby::Builder.new
mab.html do
  head { title "Boats.com" }
  body do
    h1 "Boats.com has great deals"
    ul do
      li "$49 for a canoe"
      li "$39 for a raft"
      li "$29 for a huge boot that floats and can fit 5 people"
    end
  end
end
puts mab.to_s`

And the h function allows doing essentially the same thing, but with different syntax.

`h = require("hyperscript")
h("div#foo", "Hello!")`

It also supports nesting and CSS properties.

`h = require("hyperscript")
h("div#foo", 
  h("h1", "Hello from H1!", { style: { 'color': 'coral' } })
)`

First, let's make up a render function, that creates real DOM elements from our virtual nodes.

`const render = ({type, children, props}) => {
  const element = document.createElement(type);

  if (props) {
    for (const prop in props) {
      element.setAttribute(prop, props[prop]);
    }
  }

  if (children) {
    if (Array.isArray(children)) {
      children.forEach(child => {
        if (typeof child === 'string') {
          element.innerText = child;
        } else {
          element.appendChild(render(child));
        }
      })
    } else if (typeof children === 'string') {
      element.innerText = children;
    } else {
      element.appendChild(render(children));
    }
  }

  return element;
}`

Than, let's create the h function.

`const h = (type, children, props) => {
  let handledType = typeof type === 'string' ? type : 'div';

  return {
    type: handledType,
    props,
    children
  }
}`

Finally, let's create an actual content with our h function, render it with our render function and mount the result to the DOM.

`const div = render(
  h('div',
    [ 
      h('h1', 'Hello!', { id: 'foo' }),
      h('h2', 'World!', { class: 'bar' })
    ],
  )
);

document.querySelector('#app').appendChild(div);`
Is local a bad part in Perl?
Tags: perl, beginners, tutorial, programming
Published: 2022-11-17 07:39:05

## Q. Is local a bad part in Perl?

A. In my opinion, Yes. <code>local</code> is a bad part in Perl. If I could re-implement Perl, I will not implement <code>local</code>.

```
local $foo;
```

## Q. Why does local a bad part?

A. This is because the variable that is the operand of <code>local</code> is a global variable although at a glance it looks like a local variable in C.

```
int32_t foo;
```

## Q. What should be used instead of local?

Using <code>my</code> in all Perl programs is recommended strongly.

```
my $foo;
```

This is called a lexical variable. This is strange name we don't usually hear in daily life.

## Q. Does local need to be used in current days.

Q. I want to say No, but in some cases, <code>local</code> is used in current days. One is to save and restore predefined global variable.

```
{
  # Save
  local @ARGV;
}

# Restore @ARGV at the end of the scope
```

Tow is to get the whole content of a file.

```
my $content = do { local $/; <$fh>; };
```

Ugly, user experience is worse than other programing languages, but most efficient way because Perl doesn't have the function to get the whole content of a file.

The efficient is sacrificed, the following code can be written.

```
my $content = join('', <$fh>);
```

## Q. Are there ways to restore lexical variables?

Yes, using <a href="https://metacpan.org/pod/Scope::Guard">Scope::Guard</a>.
What are the best design resources platform?
Tags: ux, webdev, uihut, designresource
Published: 2022-11-17 06:58:00

[UIHUT](https://uihut.com/) is One of The most powerful and largest design resources platform. Over 20,000 UI KITs across all categories such as Web Template, Illustrations, 3D Assets, Web App, Icon, Dashboards, and so much more. Components for every single product design need.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6t3mny0a49r8mdkcekkc.png)

also Discounts are available on UIHUT during Black Friday, buying it for $149 saves you $1449 at [uihut](https://uihut.com/)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/06ra6ivpcz3rhz1udeh2.png)

Happy Designing
Continuous Integration and Go
Tags: opensource, ssgo, go, githubactions
Published: 2022-11-17 06:38:59

Hey there! Thanks for coming by. Today, I want to tell you how I created a Continuous Integration workflow for [SSGo](https://github.com/devils2ndself/SSGo) using GitHub Actions, as well as how I created some tests for a different Open Source repo. Maybe you'll find something useful, too!

## CI Workflow

For my start, I decided to stick with [GitHub's official guide](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go), which also conveniently included running unit tests, which I described in my [earlier post](https://dev.to/devils2ndself/unit-testing-in-go-cd7).

I made sure to specify Go version as 1.16 as this is the version that switched `ioutil.ReadFile` to `os.ReadFile`.

### Adding linter

`golangci-lint` has a beautiful [GitHub Actions installation guide](https://golangci-lint.run/usage/install/#github-actions), so I used that and didn't have to worry about setting up VM linters on my own. Very nice!

## Adding Node.js unit tests

Repo I picked for adding unit tests is [izyum](https://github.com/Myrfion/izyum), which is another SSG written in Node.js and TypeScript.

I added some unit tests for a couple file utility functions. Since it involved file system, I had to use [jest.mock](https://jestjs.io/docs/manual-mocks) on `fs` module. After I was done with my changes, I opened a [pull request](https://github.com/Myrfion/izyum/pull/19).

## Summary

Continuous Integration is crucial for keeping the project clean and working. Automatic tests and linting is right what every Open Source project needs, so I would encourage every repo manager to consider adding CI. You'll thank me later, haha!
Top 5 Must Have Mac Apps
Tags: mac, apps, developer, productivity
Published: 2022-11-17 06:38:01

Here are some of my favorite apps on the Mac that make my life as a developer easier. 

Let's get started

## **1. Rectangle**

![Picture of Rectangle](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y0ndljwnzvtyhjm89lzl.png)


Mac window management is trash. This helps you organize your windows on your desktop. There are paid versions of this exact app like magnet, but why would you want to pay...

[Install Rectangle](https://rectangleapp.com/)


## **2. Gifox**

![Picture of Gifox](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ps4oqbuh6k7anzhubpa4.png)


Do you ever need to show something to someone, but screen recording is too much and a screenshot wouldn't show everything? Why not send a gif instead! 

[Install Gifox](https://gifox.app/)


## **3. Notion**


![Picture of Notion](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9sgw5w8dtd7aiu1fmytv.png)

Notion has to be one of the best note apps. There are things I don't like about it, but for the most part, it does what you tell it to, and your notes stay oragnized.

[Install Notion](https://www.notion.so/)


## **4. iTerm2**

![Picture of iTerm2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jnanxske07l212ozxvqu.png)


The default terminal for mac is okay. It will get the job done. iTerm2 gives you a few more customizations + features.

[Install iTerm2](https://iterm2.com/)


## **5. Boop**

![Picture of Boop](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oersa8c564g0n9mxsur6.png)

If you work with a lot of text often, Boop will help you modify it based on pre-existing scripts. For example, you have a super messy unformated json file. Paste it into boop, and run the format json script! Done!
[Install Boop](https://apps.apple.com/us/app/boop/id1518425043?mt=12)
Latest Developments In Servicenow Itsm Certification.
Published: 2022-11-17 06:37:40

<a href="https://dumpsarena.com/servicenow-dumps/cis-itsm/">servicenow itsm certification</a> he following table suggests the learning domains, scales, subtopics, and chances of questions represented in each place. The capabilities listed beneath should now now no longer be considered a whole list of exam content material cloth. Number of Learning Areas Percentage of Test Activity Management 25% Problem Management 15% Change and Release Management 25% Knowledge Management 5% Inc. withinside the USA and/or exclusive countries. Other corporation and product names may be emblems of the respective corporations with which they will be affiliated. Service Catalog and Request Management 25matabase Management Configuration 5% Total one hundred% Exam Registration Service Already partners with Kryterion use its Webassessor gadget for exam registration. Our center checks are provided at Kryterion sorting out facilities or can be taken anywhere online wherein a Kryterion administrator evaluations the check rankings. To join up for the exam, you may need to create a Webassessor account and link it in your Learn Now account. For human beings with disabilities or English as a Second Language (ESL), ServiceNow gives less costly lodges at a few level withinside the certification exam.

Click Here More Info >>>>> https://dumpsarena.com/servicenow-dumps/cis-itsm/
FIS Phase 4 Project Demonstration (Lamborghinian)
Published: 2022-11-17 06:31:13

{% embed https://youtu.be/hCBBGYJejYQ %}

This is my phase 4 project at Flatiron School.

For any questions, feedbacks, please leave a comment.

Thank you.

Github: https://github.com/jmjkim/fisphase4-project