teleren/devto huggingface dataset:
What is Business Analysis?
Published: 2021-06-02 07:44:53

Analysis plays a major role for successful running of the business. The result of the analysis lets you know the further steps to be taken for the smooth running of the firm. This analysis is essential for both small as well as large scale firms. Moreover, the steps after the analysis are the deciding factor for the rise (or) fall of the business. So the analysis should be done with at most care for the exponential growth of the business. Moreover, Do you know “what things were necessary during business analysis”? Read the complete article to get the answer

Business analysis is defined as a practice that is responsible for enabling change in an organization. It does so by defining the firm needs and recommending solutions that deliver value to the stakeholders.

business analysis | Kits online Training

Even though the definition is static, the set of techniques and practices may vary from firm to firm. Moreover, in some cases, they may vary from one project to the other with in the organization. In the IT industry, the solutions may include a system development component, which may consist of process improvement (or) the organizational change. It was performed to understand the current state of the organization (or) to serve as a basis for the identification of the business needs. In the majority of the cases, it was done to define and validate the solutions that meet the business needs, goals (or) objectives.

Are you looking for the practical exposure of business analysis?then  get it from business analysis online training
Why does the organization require business analysis?
Organization requires business analysis for the following reasons:

To understand the organizational structure and dynamics in which a system needs to be deployed.
To understand the issue in the organizations and to identify the improvement potentials
In ensuring that the customer, end-user, as well as the developer, do share the common problem
Business analysis usually involves various phases as below:

In the initial stage of the project, when the requirements were interpreted by the solutions as well as the design teams, the business analyst is responsible to review the solutions documents. Business Analyst work closely with the solution designers as well as the Project Managers to ensure that the requirements are clear. In a large firm, you can find the business analyst as the key person who has a link to both the teams. Besides, he would interact with business users ( technical as well as non-technical) and the stakeholders with the projects to get approval and finally node before proceeding with the project.
Angular structural directives — implement your own *ngIf
Tags: angular, javascript, coding, frontend
Published: 2021-06-17 08:12:51

---
title: Angular structural directives — implement your own *ngIf
published: true
date: 2021-06-02 07:35:45 UTC
tags: angular,javascript,coding,frontend
canonical_url: https://kevinkreuzer.medium.com/angular-structural-directives-implement-your-own-ngif-860175f540cc
---

[![](https://cdn-images-1.medium.com/max/2600/1*PU3czynv7vCeXiu5QyD4PA.png)](https://kevinkreuzer.medium.com/angular-structural-directives-implement-your-own-ngif-860175f540cc?source=rss-6cd4fff6b841------2)

[Continue reading on Medium »](https://kevinkreuzer.medium.com/angular-structural-directives-implement-your-own-ngif-860175f540cc?source=rss-6cd4fff6b841------2)
Questions YOU can ask during interviews
Tags: career, codenewbie, javascript, html
Published: 2021-06-02 07:07:04

Here are some of the questions I like to ask in interviews.

- What stack would I be working on?
- What stack is the backend written on? (I'm front)
- How is the relationship with the backend teams or design teams?
- Would I be able to participate in design decisions?
- What is the design / frontend development process like?
- How do you measure developers performance?
- What is the best and worst part of working there?
- What are the biggest challenges in this project?
- What can you tell me about the project?
- What would you expect from me in X time?
- Do you give access to education tools / platforms (Egghead, - Pluralsight, Frontend Masters)?
- Why are you looking for more people, are you understaffed or want to start new projects?


If you can come up with more, please share them in the comments!

### Find me on [Twitter](https://twitter.com/jordienr)
Await inside JavaScript template strings
Tags: javascript, async, await
Published: 2021-06-02 06:59:27

Did you know it is possible to use `await` inside interpolated JavaScript template strings (aka [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals))? I personally did not, and have just discovered that by an accident.

For example, try this with Node or Deno ([runkit](https://runkit.com/noseratio/asyncinterpolated-mjs) and [gist](https://gist.github.com/noseratio/621b208ea72a8056654ce08b84fccac8); save the code as `.mjs` so it runs as an ESM module):

```JS
const delay = (ms, result) => 
  new Promise(r => setTimeout(r, ms, result));

const interpolated = `Hello, ${await delay(1000, "World!")}`; 

console.log(interpolated);
```

This code works in the browser console as well, verified for Chrome/Edge/Firefox.

It does require the top-level await support, or otherwise has to reside inside an `async` function, as it's basically just a syntactic sugar for: 

```JavaScript
const interpolated = "Hello, " + await delay(1000, "World!");
```

Why would this feature be useful? For one thing, I can think of a *poor man's* text templating engine for JavaScript, where instead of `delay` we might be using something like [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API), [`readFile`](https://nodejs.org/api/fs.html#fs_filehandle_readfile_options) or any other `Promise`-based APIs.

For now, I've added this to my collection of [a few handy JavaScript tricks](https://dev.to/noseratio/a-few-handy-javascript-tricks-an9).

**Updated**, here's a follow-up article: [Automation with Deno: a tiny text template processor in JavaScript](https://dev.to/noseratio/a-nascent-text-template-processor-with-deno-1hd6).
Useful lesser known Git commands
Published: 2021-06-02 06:49:39

> Just some useful tips that will be further added with more commands that should be useful to take note of and aids in increasing productivity when working with GIT.

## Commands

When you want to get all files that have been modified in git branch:

```bash
# i.e.
git diff --name-only <notMainDev> $(git merge-base <notMainDev> <mainDev>)

# e.g.
git diff --name-only feature-branch-a $(git merge-base master feature-branch-a)
```
Machine Learning Predictions using AWS Redshift ML
Tags: aws, machinelearning, cloud, database
Published: 2021-06-02 06:49:04

#Introduction
In the previous [article](https://dev.to/aws-builders/automate-sagemaker-machine-learning-inference-pipeline-in-a-serverless-way-bpk), we have seen how to train and infer the predictions for the bring your own Algorithms ( BYOA) models. Standard ML pipeline features to infer the predictions will be either raw format or output of feature engineering pipeline stored in a feature store. Redshift-ML enabled the creation, train, and deployment models using SQL and enables predictions in SQL. This enables the creation of feature stores in Redshift DB and infer the predictions and share the predictions without much overhead or orchestration services.

#Redshift-ML
ML provides the below options using SQL.
1. Create, Train and Deploy the Model
2. Localize the model in Redshift DB
3. Infer the predictions for the deployed Model

Additionally, users can bring their own model (BYOM) trained in Amazon sagemaker. The inference can be local and also remote using the sagemaker endpoint.

The reference architecture for BYOM with local inference will be as shown below.

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

The local inference saves the infra cost of batch transforms and removes the overhead of setting up endpoints for the models especially when models are served in real-time mode. The Redshift cluster scale and can share the predictions via data APIs. The materialized view/table can be created and predictions can be inferred from web apps.
Go Programming - Basic Syntax
Tags: go
Published: 2021-06-02 06:17:23

###Agenda
* Variable
* If statement
* Array
* Slice
* For loop
* Map
* Function
* Package
* Pointer
* Struct
* Method

####ติดตามผลงานได้ที่
* **Page:** [https://fb.com/CodeBangkok​](https://fb.com/CodeBangkok​)
* **Group:** [https://fb.com/groups/msdevth​](https://fb.com/groups/msdevth​)
* **Blog:** [https://dev.to/codebangkok](https://dev.to/codebangkok)
* **YouTube:** [https://youtube.com/CodeBangkok](https://youtube.com/CodeBangkok)
Installing and using NumPy in Python
Tags: python
Published: 2021-06-02 05:53:57

First of all, let me explain a bit what NumPy is and why you might need it.
NumPy is a Python library that is used for working with arrays.
It stands short for Numeric Python

This, of course, is still a bit vague. In general, it makes working with arrays (lists) about 50x faster than traditional python lists.

## Installing and using NumPy

To install NumPy, we must run a pip install command for it.

```bash
pip install numpy
```

Then we have to import it into our Python file.

```python
import numpy
```

Now we can convert a list into a numpy array:

```python
arr = numpy.array([1, 2, 3, 4, 5])
print(arr)
```

However, it's quite often used to have the numpy imported as the `np` alias.

We can do so like this:

```python
import numpy as np

arr = np.array([1, 2, 3, 4, 5])
print(arr)
```

This now does the exact same thing, but it's easier to write.

If you ever wonder what version of numpy you have installed, you can simply print that out.

```python
print(np.__version__)
# 1.20.3
```

## Types of arrays

The cool part about the NumPy arrays is that they can be built from all array-like [data types of Python](https://daily-dev-tips.com/posts/data-types-in-python/).

Which include the list, tuple, dictionary.

```python
tuple = np.array((1, 2, 3, 4, 5))
print(tuple)

list = np.array(["dog", "cat", "penguin"])
print(list)

set = np.array({"dog", "cat", "penguin"})
print(set)
```

It's super easy to convert this stuff to NumPy arrays since we can eventually do more stuff and faster!

In a follow-up article, I'll go more in-depth about the options for the NumPy arrays.

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
My Journey as a Bi Trans Man
Tags: devpride
Published: 2021-06-02 05:53:33

Happy Pride Month! 

This happens to be my first post in the Dev community, let me introduce myself. 

My name is Kris and I’m a 20 year old developer. I currently live in Denver, CO, am in college for cybersecurity, work at a local mental health nonprofit, and am starting my journey in freelance web development. I love to hike, watch anime, game, and enjoy time with friends. I also happen to be transgender and bisexual. 

My identity as a member of the LGBTQ+ community has always been a point of contention. I was raised in an unaccepting family, in Kansas and Missouri, surrounded by casual homophobia and transphobia.

Once I started breaking into the world of tech it was hard because there weren’t many people like me. Most of the people I knew in the field were the stereotypical straight, white man. At first I felt like I wasn’t cut out for development because I didn’t fit the mold. That stigma almost made me stop doing something I am extremely passionate about. Thankfully, I continued and forged my own path. 

In recent years, I’ve seen more and more representation of people like me in the world of tech. This trend gives me a lot of hope; I know it will open so many doors for young people to know there is a space for them in this amazing community. I believe the perspective we bring is extremely valuable. We have a culturally educated, unique, and proud perspective. A lot of us have had to deal with hardships and it has made us incredibly resilient. I love being able to be myself and do all the things I’m passionate about.

For all of you allies, during pride month (and always) I urge you to educate yourselves. Talk to you LGBTQ+ friends and family, really listen to what they have to say. Research the history of Pride. Learn about the current inequalities towards LGBTQ+ people. It is so important to proactively look for ways you can help amplify our voices. 

I hope everyone has a wonderful Pride month!

Signing off,
Kris
Unsubscribe to confirm email
Tags: technews, cybersecurity, discuss
Published: 2021-06-02 05:39:19

Bleeping computer tried to check if it's true or not- **scammers are using your action of unsubscribing from a newsletter as confirmation to the fact that the email address is an active one**.

As soon as the user clicks on _UNSUBSCRIBE_ button, the scammers mark it and sign it up for future spam and fraudulent mails.

Fellows at bleeping computer tried to see the whole thing in action by using couple of throwaway email IDs, they discovered that it would link other email addresses and that the test accounts would be flooded with spam mails once the button is clicked.

We are always taught to never open or click on a link related to a spam/unknown mail- that is like email 101.

But in this case, users can simply mark the subscription provider as spam rather than unsubscribing.
Code-server additional settings
Tags: vscode, cloudskills, azureapril
Published: 2021-05-31 20:00:16

# Things that i forgot in the video.
Here is the link to the vide.
{% youtube YEuZPNza5Dg %}

## A quick thing to mention
I forgot to tell you one important thing. You can access your code-server from any 
browser without even ssh'ing into your remote server.

See the image below.
![Screenshot](https://i.imgur.com/WxfBhfD.png)

You need to change the `bind-addr` in your config file which is located at 
- Path: `~/.config/code-server/config.yaml`
```
bind-addr: 0.0.0.0:8000
auth: password
password: SECRET_PASSWORD
cert: false
```
The `0.0.0.0` indicates that you can access using your localhost as weel as the public
IP Address of your remote machine.
So basically, it means you can use either `localhost:8000` (With port forwarding) or
`divcorn.com:8000` (without port forwarding).

### Case with `localhost` or `127.0.0.1`
It basically says that the traffic is only accessible from your local machine.

### Case with `0.0.0.0`
It basically says that the traffic is accessible from your local machine as well as 
public ip address.


## I want to access with `divcorn.com` only.
That's a good question, you can achieve it from one of the following ways.

### Using port 80
When we enter the address of a website, our web browser tries to conect to port 80 by default, that means `divcorn.com` and `divcorn.com:80` are the same.

Instead of `0.0.0.0:8000`, you can use `0.0.0.0:80` then run it

> ⚠️ Make sure to stop other services (if any) which are running on port 80.

### Using Reverse Proxy with NginX (Preferred)
Many times you might be using you port 80 for your website hosting (if any).
In those cases we can add a `CNAME` record from our domain's DNS management console.
Which is pointing to `@` or your public ip address and value will be a string example 
`code`. Then we can create a nginx config file where we will listen at port 80 from the
url `code.divcorn.com` and use the reverse proxy to direct the traffic from port 8000 to
the port 80 with `code.divcorn.com` only.

> If you want a video on it, please make sure to tell me.
Tootltip...
Published: 2021-06-02 05:20:05

Hey this is my tooltip by js and css...


<!DOCTYPE html>
<html lang="en">
<head>
  <title>Pragdeesh Tooltip</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h3>Tooltip Example</h3>
  <a href="#" data-toggle="tooltip" title="Hooray!">Hover over me</a>
</div>

<script>
$(document).ready(function(){
  $('[data-toggle="tooltip"]').tooltip();   
});
</script>

</body>
</html>
#1 eBook to read for Web Developers in 2021
Tags: books, webdev, career
Published: 2021-06-02 05:07:23

Let me tell you, this is going to be the **best investment of your life as Web Developer**.


The landscape of how we **make money is changing**. This book shows you ten ways that you can monetize & how to create a profitable business out of your coding skills, and explains in detail what each method involves (which is really a golden part).

The world today is a digital one. With this book, you will get to know the full spectrum of ways that you can make money as a web developer. You will **discover new opportunities** and how you can take advantage of them once you read this book.

I know, most of you already familiar with methods mentioned below (But not aware of how to actually perform with straightforward strategy).

* Working as a Professional Developer
* Freelancing
* Blogging
* Running a YouTube Channel
* Live Coding & Streaming
* 1-on-1 Mentoring
* Creating Courses
* Creating Digital Products
* Contributing to Open Source
* Building a SaaS (Software-as-a-Service)

This is what florin(who is a full blown web developer), covered in his ebook [Ten++ Ways to Make Money as a Developer" eBook](https://gumroad.com/a/279647347/SkkZt) in very detail and easy ways. 

We highly recommend you to read this ebook, so that you will see other possibilities of earning in Web Development.
What are data types and scope in javascript??
Published: 2021-06-02 04:23:59

## What are Data Types in javascript?

Data types basically specify what kind of data can be stored and manipulated  in javascript.

There are two types of data types: primitive type which referred as value types and object type referred as reference types.

### Primitive types:
**There are 7 primitive types in javascript** 
Number, string, boolean, symbol, undefined and null.

Why i am saying primitive types to value types, bcz primitive data types copied by their value.

Let's take a look at example: 

```

let a = 5;
let b = a;
a = 10;

console.log(a) // 10
console.log(b) // 5 

```

### Object types
Objects, function and array are object types and can call be reference types.

And objects are copied by their reference not their value.

Let's take a look at example: 

```

let a = {value:5};
let b = a;
a.value = 10;

console.log(a) // {value:10}
console.log(b) // {value:10} 

```

Have you notice we have used a keyword name let, what it is?? 
let is keyword that allows us to declare the variables.

####Variable
Now again, what is variable?? 

let's take a look at variable:
variable is a name or identifier which is used to refer a value. A variable is a combination of letters, numbers, special characters and dollar sign with the first letter being the alphabet.
And also we can't use reserved keyword like let,var,const, this and much more.

##Scope 
scope means where you can access the specific variables and functions in our code and a variable defined inside a scope is accessible only within that scope, but inaccessible outside. In JavaScript, scopes are created by code blocks, functions, modules.
Javascript behind the scenes!
Tags: hoisting, javascript, executioncontext
Published: 2021-06-02 04:40:54

## Execution context(EC)
Everything in javascript happens inside the environment called 'execution context' where the javascript code executed.

So, javascript code runs in two phases in this environment. 

The **first phase** is **memory phase or creation**, in which the memory is allocated to all variables and functions from top to bottom. Variables value stored equal to undefined and in the case of 'function' the whole function stored in memory phase.

The **second phase** is **execution phase**, in which code will execute line by line, bcz as you know javascript is a synchronous or single threaded language.

This global execution context or execution context will be deleted after the execution of whole code.

Their is one more thing to remember function execution context, when we envoke a function the function execution context is being created inside 
 gloabl execution context for every function. 

The function execution phase has access to a special value called arguments.

## Hoisting
Let's take a look at hoisting, once you got the hack of how execution of javascript works then it's going to be easy.

so, hoisting is a phenomena in javascript by which we can acccess variable and function even before we have initialize it.

You, will think that how it's possible that, how we can access variables or functions before their initialization. 

Let's take a look at this example:

```
getFruit();
console.log(name);

var name = mandeep;

function getFruit() {
  console.log('Mango')
 getCar();
}
function getCar() {
  console.log('Lambo')
}



// so, we will get these values, even before initialized the variable and function.

//undefined
// Mango
//Lambo
```
Do, you know all of this happend bcz of execution context.

In the creation phase,

The memory gets allocated for the variable name, and a special value undefined is assigned to the variable.
In the execution phase,

The console.log(name) statement will execute.
This mechanism of allocating memory for variables and initializing with the value undefined at the execution context's creation phase is called Variable Hoisting.

So, now let's talk about Function Hoisting. It follows the same pattern as Variable Hoisting.

The execution context creates the memory for the function and puts the entire function declaration of getFruit function in it in memory phase.

The functions create their own execution context. So a similar thing happens for function getCar as well.

Next, the functions get executed in their execution context respectively.

Putting the entire function declaration ahead into the memory at the creation phase is called Function Hoisting.

So, this was the brief overview about execution context and hoisting in javascript. Hope you liked it and understand it.
🔥 Parameters v/s Arguments in JavaScript
Tags: javascript
Published: 2021-06-02 04:34:26

Are both same or different? 

📌 Parameters: 

1. They are integral part of a function
2. Parameters are values which a function expects when its being invoked.
3. A function could accept parameter in the form of a variable, array, object and another function which is referred as callback functions 

Example: 

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7gi3ajrqx6dqks2okxhb.png)
 
📌 Arguments: 

1. They are integral part of a function at the runtime
2. Parameters are values which are passed to a function at the runtime. 
3. If no arguments are passed to a function in JS, By default it takes undefined arguments. 


![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d007oz8jsb0grh0cyfb9.png)