teleren/devto huggingface dataset:
What Is Data Security?
Tags: datasecurity
Published: 2021-03-15 07:50:10

The protection of data is called data security. Data stored in any computer can be lost due to different reasons. The data can be lost accidentally. Sometimes can damage the data. Data can be lost completely or partially. The data is much valuable and important than the computer itself. It should be saved in such a way that it may not be lost or damaged.

Reasons for Data Loss

Different reasons for data loss are as follows:

1. Sabotage

Damaging data deliberately is called sabotage. Any person may deliberately damage or delete the data stored on the computer.

2. Machine Failure

The data stored on a computer may be lost due to the failure of hardware. For example, if the hard disk is damaged, the data stored on that hard disk will be lost.

3. Software Error

Data can also be lost due to some technical defect or failure of some software running on the computer... Read More: https://baydari.com/study/security-and-copyright/what-is-data-security-
Nirala Estate Noida Extension
Published: 2021-03-15 07:35:56

Nirala Estate Properties could be a name of trust within the land business, that is developing first residential comes for home seekers for a protracted time. So, if you're trying to find appointed flats in any of the most effective residential comes of Nirala developer, you're suggested to possess a glance at flats within the Nirala Estate Noida Extension project. you'll realize a extremely spacious and appointed lodging in Nirala Estate. The developer has provided well-designed and robustly made flats in 2BHK, 3BHK, and 4BHK ranges. https://www.niralaestatenoidaextension.in/
Got Myself into a Pickle Last Week!
Tags: devjournal, codenewbie, womenintech, career
Published: 2021-03-15 07:20:08

_This post was originally published on March 15, 2021 on [my blog] (https://alexlsalt.github.io/blog)._

-------------

I got myself into a pickle last week at work!! It was one of those "you have to make the mistake to learn from it" kind of realizations, and it's because I'd bitten off much more than I could chew when it came to the number of PRs I had open at a given time.

The work I've been working on recently involves implementing a new design that was created for the emails the app sends to users on any given event (i.e. confirm account or forgot password, among other things) and I was working on about three different ones.

However, my mistake was starting new PRs when I still had another one that wasn't merged yet. Because the thing is, when you have multiple works in progress, you don't realize how much the production code is changing each day with new code being merged from other teammates.

So the moment you go to work on one project or PR, you realize that the code you started writing has maybe been completely changed and then you run into all sorts of merge conflicts.

Thankfully, it's gotten me better at not being as intimidated of conflicts (because let me tell ya - I was scared of those before!), and it's definitely become easier to navigate them on my own and actually now what I'm doing and what's going on.

With the help of a teammate last week, I was able to unravel myself from the fiasco I'd created (where I just didn't know where one file started and another one ended!) and by the sheer grace of God (and Git!), I was able to get my head above water again.

This week, I'll be focusing on only one thing at a time - especially since it's going to be a pretty eventful week.

Yay for making mistakes and learning from them and ultimately becoming better than we were yesterday!

-------------

Pssst! I send weekly newsletters about the self-taught coding journey and my own coding adventures (and misadventures!)  [Sign up here! >>](https://ladies-code-collective.ck.page/e53b5fca44)
Help Please 
Tags: html, css, javascript, php
Published: 2021-03-15 07:19:06

Please I need guide on how to achieve this task 
A training school that provides training classes for different units of an organization wishes to automate enrolment for her classes. The school should be able to set up different classes, set date and period for the classes, and set maximum number of participants than can enroll for the classes. Staff of the organization should be able to enroll for any of the training classes. To enroll a user must sign in to the portal, view all available classes and then register for classes of choice.  The system administrator should be able to create users, create training classes and create venues. Deletion and updating of classes should be done by the admin. All users should be able to view all training classes created. If a user wishes to register for a class, he/she proceeds to login page before given such access.  Design and develop a Web application using HTML, CSS, JavaScript and PHP for the training school based on the requirement above.
Sky Hub Discord Server Now Live
Tags: news, machinelearning
Published: 2021-03-15 07:14:24

We're excited to announce we're moving our chat to Discord for an improved chatting experience. Rocket.Chat has been good to us, but we've outgrown it in recent weeks.
Fully optimized for desktop and mobile devices, our new server with Discord will enhance your Sky Hub community experience. You can use it via web browser but the desktop/mobile apps offer the best experience. See all available channels without browsing for them, know when people are talking in any channel, high quality voice/video.. the benefits are numerous. And, priced right at free!
Discover who we are, what we do, and how you can join the international team of volunteers.

We will keep Rockt.Chat running for the time being while we transition but we expect to be primarily responding in Discord over the coming week or so.

Click the invite link below to join the server:
https://discord.gg/4SKAWUEquB
Typescript - Tips & Tricks - Non-null assertion operator
Tags: typescript, webdev
Published: 2021-03-15 07:13:45

In some cases, you have a field that you initialize in a method, and if you follow the flow of the code you are sure that this field is initialized but typescript doesn't understand it.
An example
```ts
type Person = {
  name: string;
};

let person: Person;

function initialize() {
  person = { name: "name" };
}

initialize();
console.log("Hello", person.name); // Variable 'person' is used before being assigned.
```
In this case, you can see how the typescript compiler doesn't understand that the "person" field isn't null but it's initialized.
To resolve this problem, the typescript language exposes us the _"Non-null assertion operation"_(!). This operator says to the compiler that the field isn't null or undefined but it's defined.
The previous example can be reviewed in this way
```ts
type Person = {
  name: string;
};

let person: Person;

function initialize() {
  person = { name: "name" };
}

initialize();
console.log("Hello", person!.name);
```
As you can see, in this case, the code doesn't have errors and the compilation ends with success.

That's all for today!
Bye-bye guys!
Refining the Definition of Masters
Published: 2021-03-15 06:16:53

Today, I was fortunate enough to work with my long-term friend and life coach Jon Sugai.  As we were talking I gained a new definition of what masters are, got to revisit the definition of luck, and refined my effectiveness theory.

During my talk with Jon he said (paraphrase) luck is where opportunity and preparation meet and that masters are always playing with the mindset of practice. Masters, when they are given an event which they are asked to perform, they take that event as just another opportunity to practice.

While not a lot of this was new, I think that this was one of those times that hearing a new angle tied pieces of information together and made it impactful.  This is what I took away:

1. Masters aren’t attached to the external outcome.
2. Masters value the internal outcome (e.g. learning, character building, habit forming).
3. Masters see moments that they are called to perform and times they are not as moments to improve themselves to increase their probability of achieving outcomes.
4. Masters realize that it isn’t so much what it is that they do when they are called to perform but more so the preparation that caused the performance.
5. Playing as a master is being able to evaluate what worked, what didn’t work, and how does that correlate to the current situation so that they can make great decisions during their performance.

What is your definition of mastery and the strategy of obtaining it?  What are your thoughts on goal setting, luck, and creating results?

Related knowledge:
“You control how you play.” -Ryan Holiday
“You do not rise to the level of your goals. You fall to the level of your systems.” -James Clear
Focus on the journey, not the destination. -Various people in different forms
“Infinite-minded leaders understand that “best” is not a permanent state. Instead, they strive to be “better.” “Better” suggests a journey of constant improvement and makes us feel like we are being invited to contribute our talents and energies to make progress in that journey.” -Simon Sinek
Union in C Programming
Tags: c, programming, tutorial, beginners
Published: 2021-03-15 06:15:02

In this tutorial we will study what is a [union in c programming](https://usemynotes.com/what-is-union-in-c-programming/), defining a union, accessing union members variables with the help of a suitable example. So let’s go start.

## Union in C Programming
A union is a data type. C Language provides us a special type of data type called union by which it can store many types of data types in the same memory location but it has the same value in the variable of data types at the same time. But the Union can use the same memory location in many types through Union All members of the Union use only one memory location and their size can be as much as the member with the largest size.

## Defining a Union
Let's use the union keyword to define unions. This is similar to defining the structure.

**The basic syntax of Unions:-**
```
union union_name
{
  data_type var1;
  data_type var2;
  ...
  ...
  data_type varn;
}u1.u2,….un;
```
First of all, union defines keyword and union name. Then before we define variables in curly brackets {}. Then let's create before union variables of curly brackets {}.
```
union in-put
{
  int a;
  float b;
}in;
```
Now it is of in variable input type and it can store an integer value or it can store a float value. We cannot store value in both its variables simultaneously.

## Accessing Union Member Variables
Union members also access the same way structure members access. First of all, we write the name of the union. Then before dot (.) An operator is written and the member's name is written. We can assign the value of union members with this type.
```
in.a = 10;
```
If we want to print this union member then we can do with these types.
printf(“%d”,in.a);

### For Example:-
```
#include<stdio.h>

/* Declaring input union */
union input
{
  int a;
  float b;
}in; /* Union variable */
int main()
{
  in.a = 15;
  in.b = 20;
  /* Will print a garbage value */
  printf(“Value of a is : %dn”,in.a);

  /* Will print 20 */
  printf(“Value of b is : %f”,in.b);
return 0;
}
```
### Output
```
Value of a is: 1101345
Value of b is: 20.00000
```

I hope that you all liked this tutorial, if you want to read these tutorials more then stay connected with me.


Originally posted on - [Union in C Programming](https://alimammiya.hashnode.dev/union-in-c-programming)
New opportunities for developers at Chennai
Published: 2021-03-15 06:06:52

Guidanz , Chennai is now hiring

1) Senior Frontend Engineer

https://lnkd.in/grEQABx

2) Senior Devops Engineer

https://lnkd.in/gmGH-3d

Post your relevant profiles to gayathri@guidanz.com

#frontenddeveloper #devops #kubernetes #reactjs #gcp #jenkins #docker #aws
#jobsatchennai
Draw Canvas with JSX (or XML)
Tags: react, javascript, html, canvas
Published: 2021-03-15 05:53:57

Hi folks!

I just figured out how to draw something on canvas almost like composing HTML DOM.

# Why is this matter?

Well... let's see the comparison

## Draw a single blue square

![a single blue square on the browser](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4o6njbg8po9knevajak6.png)

...and This is how it's made

![Code to make blue square on the browser](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kogiw1q2pnxj9j4jl1n7.png)

> Okay but what's the point? It didn't proof anything aside preventing canvas stretch issue!

Good question. Now see the real use case:

## Draw complex shapes

![Ben 10 knock-off logo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/41dkeqowj6rw5h8qcj8u.png)

Did you see that green circle logo? This is how you make it with canvas

![Code to make Ben 10 knock-off logo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x3prbt9hb5n5alfacf5o.png)

> Wow massive difference. But how we compose it programmatically without hurting performance much? Should we ditch Compodraw for that case?

Not necessarily, you can compose existing instructs by hands and let them handle context scoping + geometrical math stuffs. So you just focus on your logic. Here's the example:

## Programmatical Composition

![Group of squares that gradually turn white](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/69jdtoycp5dhnisftv6w.png)

Did you see the shadow? you don't have to configure shadow manually. Instead, let `Elevate` instruct handle those rectangles' shadow. Here's the code:

![Code of programmatical composition](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xqmb91w1sre81ifucvz8.png)

> Okay, "instruct" words just being written repeatedly. But what's the meaning of that?

Instruct is just a bunch of instruction for drawing (or giving effect to) shape. Imagine of having a lot of snippet for doing such thing and all you need to do is just use them and set properties for them. Then they will draw the shapes for you.

Instructs are modular. That means people can create their own a package of instructs and share it to community.

Here's the example of [a package of instructs](https://github.com/Thor-x86/compodraw-js-instructs#readme).

> I want to try, how do I start?

On [compodraw github repo](https://github.com/Thor-x86/compodraw-js#readme), there is an installation procedure you can follow + some examples.

I hope this tool can help your project, happy hacking!
Day 1 of 100 days of SwiftUI
Tags: swift, 100daysofcode
Published: 2021-03-15 05:41:35

I just completed my first day of 100 days of SwiftUI. I learnt about variables today. 

Variables allow you to store temporary data in your app. They are called variables because their value can be easily changed at any time. 

The var keyword is used to declare a variable. After declaring a variable you can change its value anytime you want.

```var myFirstVar = "Hello World"``` 

The code above creates a variable called myFirstVar and set its value to Hello World.

```myFirstVar = "Goodbye"```

The code above changes the value of myFirstVar to Goodbye. 

That's why they are called variables because you can easily change their value anytime you want. 

See you tomorrow :)
Closures
Tags: javascript, devjournal, programming
Published: 2021-03-15 05:39:32

What is a closure?

*"A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function’s scope from an inner function. In JavaScript, closures are created every time a function is created, at function creation time."* (MDN Web Docs, online)

In other words, a closures control what is and isn't in a scope for a function. A closure gives you access to an outer functions scope from within the function you are currently working in. The inner function will have access to the variables and objects from the outer functions scope. 

Some examples of simple closures.

    function increment() {

    let i = 0;

      return function() {

        return i++;

      }

    }

    let addUp = increment();
    //addUp() 0
    //addUp() 1
    //addUp() 2

In this example, out inner function is pulling data from outside its scope and accessing a variable from the outer function.

Here is another example.

    let num = 5;
    
    const addTo = function(){
      let inner = 2;
      return num + inner;
    }
    console.log(addTo());

In this example, 1 function is accessing a global variable from within the functions scope.

I hope you enjoyed this blog, have a wonderful day
CSS Tips: Relative units with EM and REM
Tags: css, webdev, html, tutorial
Published: 2021-03-15 05:03:43

We have already seen the use of the relative unit of measure with %. We use this relative measure when we want an element to use, for example, 100% of the available space.

**HTML**:

```html
<div>
  <img src="img/avatar.png" alt="Avatar">
</div>
```

**CSS**:

```css
div {
  width: 400px;
}
```

In the example above, depending on the size of the image, the image may exceed the space we defined for the `<div>` or it may occupy a smaller space. If we want the image to occupy the entire space of the `<div>`, we can use the relative unit %:

```css
div {
  width: 400px;
}

img {
  width: 100%; /* It occupies 100% of the available space */
}
```

The great advantage of using % is that no matter what size we put in `<div>`, `<img>` will always follow the size of its parent tag (the `<div>`).

EM and REM have the same concept as %, but instead of being based on the size of an element, these measures are based on the size of the font. EM uses the font size of the parent element and REM uses the font size of `<html>`.

**HTML**:

```html
<html>
<head>
    <meta charset="UTF-8">
    <title>An example</title>
</head>
<body>
    <div>
        <img src="img/avatar.png" alt="Avatar">
    </div>
</body>
</html>
```

**CSS**:

```css
html {
  font-size: 10px;
}

div {
  font-size: 20px;
}

img {
  width: 10em; /* The width will be 200px */
  height: 10rem; /* The height will be 100px */
}
```

The advantage of using these measures is that if we have other elements using these measures and we need to change the size of all the elements proportionately, just change them in one place. These units of measure are ideal for when the website needs to be displayed on different screen sizes, where on each screen size the font must be displayed on different size scales and proportional to each other.
Top distributed companies open to hiring remote devs from India
Tags: remote, jobs, india
Published: 2021-03-15 05:02:55

I have curated a list of companies and startups with distributed teams that are open to hiring from India. It's an open list with the following details. You can find the list here - 
https://outteam.nurturelabs.co/remote-companies-hiring-India

1. Company Name
2. Company URL
3. Career Page URL
4. Tech Stack (Skills)
5. Manual verification flag

All the companies are manually verified to ensure they accept Indian applications. If you find any company that's not available on the list - feel free to submit it. I will verify and add that to the database. 
All data provided is Free forever 

To get a feed of remote job openings available for Indian developer You can Follow us on Twitter - (https://twitter.com/Outteam2021)
Sarkari Result : Latest Updates of Result, Online Form
Tags: sarkariresult
Published: 2021-03-15 04:55:44

Sarkari Result 2021 - सरकारी रिजल्ट : Sarkari Results Info provide the latest SarkariResult or free job alert of government Job, Sarkari Exam, Admit Card, Online Form, Admission, Syllabus and all other details related to the government sector.

https://www.sarkariresultsin.info/
About Microsoft Patent, Rainbows, Dunning–Kruger and Internet in numbers
Tags: webdev, programming, react, node
Published: 2021-03-15 04:38:51

Greetings..

Every Monday I publish my newsletter/Blog. Throughout the week I try to gather some useful links and post them in a specific format and I believe this would help my readers and the community.

Read about this week's newsletter by clicking this link or using the below URL:

https://gokhale.me/microsoft-patent-rainbows-dunningkruger-and-internet-in-numbers
Weekend Updates -  March 6th and 7th, 2021
Tags: devjournal
Published: 2021-03-15 04:36:32

---
title: Weekend Updates -  March 6th and 7th, 2021
published: true
description: 
tags: #devjournal
canonical_url: https://reaper.im/blog/20210301-Weekend-Updates----March-6th-and-7th,-2021
//cover_image: https://direct_url_to_image.jpg
---

## TillWhen
This week, I wasn't really feeling like developing or working on TillWhen so there are no specific updates there other than a small patch that adds to the authentication check during first render of the app. 

## New Additions
The past week was mostly me working on [themer](http://themer.reaper.im/) and making fixes and making the code more cleaner and readable in case someone else wants to fix something that isn't working as they expected it to. 

Another project that was created yesterday was [conch](https://github.com/barelyhuman/conch), a micro library to handle sequential batch processing of promises for systems that can't handle processing like a 100 promises at once, and also something I needed to regulate for cases where I have to preserve memory usage, though the current logic can be improved a lot. 

## Modified / Feature Upgrades
Other than adding themer to most maintained projects, [music](https://music.reaper.im) got a UI upgrade and now supports importing spotify playlists into the queue, you can either replace the entire queue with the playlist or add the tracks from the playlist to the existing queue. The keyboard shortcuts it had still work but are not listed on the UI right now , since I haven't figured a good way to show them on the current UI style without making it look odd.

Minor work includes template updates to the [ftrouter-templates](https://github.com/barelyhuman/ftrouter-templates) repo, and this includes an experimental cli command that was added to the current `master` branch of [ftrouter](https://github.com/barelyhuman/ftrouter), it now allows you to init a folder though this is not in any of the official releases tags, also I finally plan to sort the of ftrouter using some cli tool framework first before I release ftrouter onto the npm registry. You can still install it using the git repo as the repo consists of the compiled source.
```sh 
mkdir -p new-project
cd new-project
ftrouter --init # which is a shorthand for `ftrouter --init -d .`
```
For an example on how ftrouter works you can check the [music-server](https://github.com/barelyhuman/music-server) or the minimal template's example which includes both query and param cases as well. 

That's all that I was able to do this weekend, though I plan on focusing a little more on TillWhen next week, let's see if I do.