teleren/devto huggingface dataset:
PowerBI Interview Questions 2020
Published: 2020-01-04 11:22:53

Business Intelligence helps businesses in identifying hidden patterns and make appropriate predictions. It also improves decision making and adds value to businesses in terms of data visualization.               

The increasing demand for Business Intelligence tools leads to an exponential surge in the availability of BI jobs. Power BI is the leading and on-demand BI tool to which we can upload data and deliver throughout the organization. 

Today, many MNCs are looking for experts who can work on Power BI. Mindmajix offers advanced <a href="https://mindmajix.com/power-bi-training">PowerBI Training</a>  and Interview Questions 2020 will help you gain expertise in Power BI and clear interviews successfully.


Microsoft Power BI Interview Questions - For Freshers
1. What is BI?
Ans: Business Intelligence (BI) is a set of technologies to analyze data and provide actionable insights to business managers, corporate executives, and users to make improved decisions.

2. What are the Different Components in Power BI?
Ans: The various components available in Power BI are:

Power BI Service
Power Pivot
Power Query
Power Map
Power View
Data Management Gateway
Data Catalog
Power BI Q&A
3.  What are the Parts of Microsoft's Self-Service Business Intelligence Solutions?
Ans: Microsoft Self-Service BI has two parts:

Excel BI Toolkit: Allows users to create reports interactively through data importing from distinct data sources as well as model data according to the requirement.

Power BI: It is the online solution that empowers users for sharing interactive reports and queries that you have created with Excel BI Toolkit.

4. Differentiate between Power BI and Power BI Pro?
Ans: Power BI offers distinct kinds of features to help you get started in searching for data in a completely new way.  Power BI Pro, on the other hand, caters with some additional features like scheduling data, live data sources, storage capacity, along with complete interactivity and much more.

5. Define Excel BI Toolkit?
Ans: Excel BI Toolkit allows users for creating an interactive report with importing data from a distinct range of sources and model data according to requirement.

6. What is the cost of Power BI?
Ans: Both Power BI Desktop and Power BI are free of cost. For Power BI Pro, users have to pay $9.99 per month after a 60-day free trial.

7. What does the term Power BI Desktop mean?
Ans: Power BI Desktop is a free app that can be installed on your computer to work in cohesion with the Power BI service through offering shaping, modeling, data exploration,  and report creation using high interactive visualizations. Furthermore, it allows you to save your all work to a file to publish reports and data to the Power BI site for sharing with others.

For More Info Visit  <a href="https://mindmajix.com/power-bi-interview-questions">PowerBI </a>
CodeSnip: Assign types to deconstructed parameters
Tags: typescript, javascript, codenewbie
Published: 2020-01-04 11:05:56

This is a very small post.

I'll be writing many such posts to enlighten new developers a little by using simple Code Snippets.

Such writeups will be small and will yet teach a lot.

## Tweet

{% twitter 1213381677835153411 %}

## Snippet

Here's how you **assign types to deconstructed parameters** in TypeScript functions.

![Code Snippet by Kumar Abhirup](https://i.ibb.co/2hmNVVt/assigning-types-to-deconstructed-parameters.png)

---

# About me

**I am Kumar Abhirup, a 16-year-old JavaScript React developer from India who keeps learning a new thing every single day.**

[Connect with me on Twitter 🐦](https://twitter.com/kumar_abhirup)
[My personal website and portfolio 🖥️](https://kumar.now.sh)

_Do you like such CodeSnip posts? If yes, let me know in the comments section! That'll boost me to make more of these. :)_
Project Euler - Problem 1 - Multiples Of 3 And 5
Tags: projecteuler, javascript, challenge, discuss
Published: 2020-01-04 10:21:28

## The problem

This is [problem 1](https://projecteuler.net/problem=1) from the [Project Euler](https://projecteuler.net/).

> If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

> Find the sum of all the multiples of 3 or 5 below the provided parameter value number.

---

## Let's begin
Initialise variables and common functions:
```
var test_number = 8456; // this number we wanna test

// this function execute the code and records the time to execute
function run_function(func) {
  var t0 = performance.now();
  console.log('Output:', func);
  var t1 = performance.now();
  console.log("Took " + (t1 - t0) + " milliseconds.");
}
```

## Attempt #1: recursive functions
Personal challenge, I always enjoy stretching myself with recursive functions, so here is my take on this problem with a recursive function.  
```
function multiplesOf3and5(number) {
  number = number - 1;
  var list_numbers = []
  list_numbers = multiplesOfN(list_numbers, number, 3);
  list_numbers = multiplesOfN(list_numbers, number, 5);
  return list_numbers.reduce((a, b) => a + b, 0)
}

function multiplesOfN(list_numbers, number, n) {
  if(number > 0 && number%n==0 && !list_numbers.includes(number)) {
    list_numbers.push(number);
    return multiplesOfN(list_numbers, number-n, n);
  }else if(number > 0){
    return multiplesOfN(list_numbers, number-1, n);
  }else{
    return list_numbers;
  }
}

run_function(multiplesOf3and5(test_number));
```

The output:
```
Output: 16687353
Took 0.5999999993946403 milliseconds.
```

Hmmm, but if the test number is `19564`, recursive functions will overflow:
```
RangeError: Maximum call stack size exceeded
```

## Attempt #2: for-loop
Go back to the good old for-loop:
```
var sum = 0;
function multiplesOf3and5_b(number) {
  for(var i = 1; i < number; i++){
    if((i % 3 === 0 )||(i % 5 === 0)){
      sum = sum + i;
    }
  }
  return sum;
}

run_function(multiplesOf3and5_b(test_number));
```

The output:
```
Output: 16687353
Took 0.045000000682193786 milliseconds.
```

Works great for test number `19564`:
```
Output: 89301183
Took 0.6550000034621917 milliseconds.
```

---

The recursive method overflow at bigger test case and good old for-loop is more efficient. Can it be any better?

I just began my [Project Euler Challenge](https://projecteuler.net/) journey; anyone wants to do this together? It will be fun and we can learn a thing or two by solving this problem in different ways.
Open-DAW - Digital Audio Workstation online
Tags: findcollabs, opensource, audio
Published: 2020-01-04 09:50:53

I opened a project in FindCollabs to search for people interested in helping me out, the project is still in research and planning stage, but if you like it or feel you could add something valuable to the project please check it out, and let me know what you think.


## Project description
Open DAW aims to be the Figma of Music Creation. There is no good online DAW, that is free, Open-Source and Collaborative.

If you are interested please check out:  https://findcollabs.com/project/open-daw-uwYja8yhTsg8FC0Aqckp
Blockchain Snippets[1 => Transaction Validation]
Tags: blockchain, beginners
Published: 2020-01-04 09:36:43

Miners on a blockchain (like Bitcoin) carry out transaction validation independently. The process involves validation of over 20 criteria including:

 💻 Size

 💻 Syntax

 💻 The validity of unspent transaction outputs and inputs

 💻 Sufficiency of reference input amount and output amount matching


<small><i>Source</i></small> <kbd>University at Buffalo & The State University of New York</kbd>
Kubelive - kubectl tool reinvented to be more reactive and interactive
Tags: kubernetes, kubectl, javascript, react
Published: 2020-01-04 08:47:03

## What is this?

This tool helps you to get live data on pods, services, replicationcontrollers and nodes  from your Kubernetes cluster and also lets you to delete them or copy their names right from the console. It is built using React. It is an opensource project and it is available here [https://github.com/ameerthehacker/kubelive](https://github.com/ameerthehacker/kubelive)

## Motivation

I felt that the output from kubectl get pod -w is very cluttered and it is a pain in my ass to understand which pod is running, which pod is exactly terminating so I built kubelive which updates the status of the pods in realtime without cluttering the terminal

## Installation

Make sure you have node installed and then run the command

```sh
npm install -g kubelive
```

## Available commands

- List the pods in the clutser

```sh
kubelive get pods
```

- List the services in the clutser

```sh
kubelive get services
```

- List the replication controllers in the clutser

```sh
kubelive get replicationcontrollers
```

- List the nodes in the clutser

```sh
kubelive get nodes
```

- List the pods in the cluster in a jiffy

```sh
kubelive
```

## Actions

- You can use the :arrow_left: and :arrow_right: keys to switch between available namespaces

- You can use the :arrow_up: and :arrow_down: keys to select a pod

- You can press the **D** key to delete the selected pod

- You can press the **C** key to copy the name of the selected pod
JavaScript Data Structures: Queue: Recap
Tags: beginners, tutorial, javascript, webdev
Published: 2020-01-04 08:44:38

---
title: "JavaScript Data Structures: Queue: Recap"
description: "JavaScript Data Structures: Queue: Recap"
published: true
tags: ["Beginners", "Tutorial", "JavaScript", "Webdev"]
series: JavaScript Data Structures
---


## Intro

[Last time](https://dev.to/miku86/javascript-data-structures-queue-dequeue-14cn), we added the `dequeue` method.

I hope you learned something about the concept of a Queue and tried your best to implement it on your own.

---

### Thoughts about the Queue 💭

We implemented the Queue using a [Singly Linked List](https://dev.to/miku86/javascript-data-structures-singly-linked-list-2og).

The Queue data structure is a very important concept, because we use it all the time.

The Queue is based on the ["First In, First Out"-Principle](https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics)), meaning the first node that goes into the queue will later be the first node, that goes out of the queue.

Examples in real life: people who want to pay in a store, the tasks of a printer.

- Access: `O(N)`
- Search: `O(N)`
- Insert: `O(1)`
- Remove: `O(1)`

---

## Final Implementation 📝

Our Queue has these methods:

- `enqueue`, to add a node to the end of the queue
- `dequeue`, to remove a node from the start of the queue

```js
class Node {
  constructor(value) {
    this.value = value;
    this.next = null;
  }
}

class Queue {
  constructor() {
    this.length = 0;
    this.start = null;
    this.end = null;
  }

  enqueue(value) {
    const newNode = new Node(value);

    if (!this.length) {
      this.start = newNode;
      this.end = newNode;
    } else {
      this.end.next = newNode;
      this.end = newNode;
    }

    this.length += 1;
    return newNode;
  }

  dequeue() {
    if (!this.length) {
      return null;
    } else {
      const nodeToRemove = this.start;
      this.start = this.start.next;
      nodeToRemove.next = null;

      if (this.length === 1) {
        this.end = null;
      }

      this.length -= 1;
      return nodeToRemove;
    }
  }
}
```

---

## Further Reading 📖

- [Wikipedia: Queue](https://en.wikipedia.org/wiki/Queue_(abstract_data_type))
- [Wikibooks: Queue](https://en.wikibooks.org/wiki/Data_Structures/Stacks_and_Queues#Queues)
- [Wikipedia: FIFO](https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics))

---

## Questions ❔

- Can you implement a new method `peek`, that returns the start node, without removing it?

---

## Next Part ➡️

We will compare the Data Structures we've built so far.

Don't miss interesting stuff, [subscribe](https://miku86.com)!
Reactjs Vs AngularJs Comparison in 2020
Tags: react, angular
Published: 2020-01-04 08:20:36

It is really important to choose the right platform where you should develop your web applications. ReactJS or AngularJS which framework is more important to build the application. Before talking about the contrasts that both have here is brief introduction given below to simplify the concept of ReactJS and AngularJS. They both are well-known program developing languages that help coders or developers to build an application or websites.

<img src="https://codersera.com/blog/wp-content/uploads/2019/07/angular-react.png">

<center>Reactjs Vs Angularjs</center>
React Native Bridge For Android
Tags: reactnative, android
Published: 2020-01-04 07:52:26

React Native is developed in such a way that we can create a bridge between the Native Language and the JavaScript code. A bridge is nothing but a way to setup communication between native platform and React Native.

<b>But why do we need it?</b>

Let’s assume you want to reuse some existing Java code or library without having to reimplement it in JavaScript. Yes, you guessed it right, you can use it in your React Native application with the help of Native Bridge. At some point of time, to make a production-level application you will most probably need to use Native Bridge.

“As long as we are building our application purely within the framework, we can drive our app with properties and callbacks. But, when we mix React Native and native components, we need some specific, cross-language mechanisms that would allow us to pass information between them.”

<B>What we will learn in this article?</B>

<H3>We will separate this article in two parts which are:</H3>

<ul>
<li>Native Modules</li>
<li>Native UI Components</li>
</ul>

In this article, we are talking about android only.

<h3>Native Modules</h3>

A Native Module is just a set of javascript functions that are implemented natively for individual platform. Native Modules are used when React Native doesn’t have that required module yet, or when the native performance is significantly better.

To understand this concept better we will implement a toast mechanism in which the toast would be coming from the native android and we will call it from a button made in React Native. In case you are wondering “what a toast is?”, think of it as an alert message for your app.

Let’s start:

Before you start you should have Android Studio and Node.js installed in your computer.

Open your terminal and follow along

npx react-native init ReactNativeBridgeDemo

cd ReactNativeBridgeDemo

Where ReactNativeBridgeDemo is the folder name which will be created.

You will find a folder named ‘android’ in your project. Open that in Android Studio.

From there go to app> java > com.reactnativebridgedemo

<img src="https://codersera.com/blog/wp-content/uploads/2020/01/android-navigation.png">

Create two files with names ToastModule.java and MyPackage.java. You will understand in a bit why we named that way.

<a href="https://codersera.com/blog/react-native-bridge-for-android/">Complete Code with Package</a> you can read here
Top Digital Currencies to Watch out for in 2020✅
Tags: currentcryptocurrencyprice, digitalcurrencies, btc, xrp
Published: 2020-01-04 07:10:54

While the performance of cryptocurrencies depends on lots of factors, these eight cryptocurrencies will stay at the top for much of 2020.

For More Details, 👉 https://www.cryptoknowmics.com/all-currency
Stylq CLI
Tags: stylq, stylqcli, cli, html
Published: 2020-01-04 06:35:01

---
title: Stylq CLI
published: true
description: Stylq CLI for easy Stylq Processing
tags: Stylq, StylqCLI, CLI, HTML
---

# Stylq
Stylq is the cool syntax HTML Preprocessor.
Stylq will allow user to make HTML file more easily.
Stlyq is the Rich Syntax file to generator HTML file in the easy way.  Stylq is easy readable and writable.

#Stylq CLI
Stylq CLI is the easy way to process Stylq file

## Command Line Usage
For NPM
```
  npm i stylq-cli
```
For YARN
```
  yarn add stylq-cli
```
## General Syntax

Use
1.
```
stylq FileName.stylq
```
to process the file and save as the same name

2.
```
stylq FileName.stylq TargetFile.html
```
to process and save to the target location


Thanks for reading.

Please Star on GitHub if you like it.

[Stylq](https://github.com/aj1thkr1sh/stylq)
[StylqCLI](https://github.com/aj1thkr1sh/Stylq-CLI)
How To Get Help When You Are Stuck Coding
Tags: discuss, codequality, todayilearned, todayisearched
Published: 2020-01-04 05:56:37

- Read the documentation or error
- Search Google
- Ask your friends for help

This is the most time-efficient way to handle being stuck, and it’s the most respectful of other people’s time, too.

***Please let me know what are your thoughts|comments on this***
32 dev portfolio reviews in one video - a success! 
Tags: career, webdev, community, jobs
Published: 2020-01-04 05:54:59

---
title: 32 dev portfolio reviews in one video - a success! 
published: true
description: A quick wrap-up of today's livestream involving Dev community members.
tags: career, webdev, community, jobs,
cover_image: https://thepracticaldev.s3.amazonaws.com/i/9e8fy8eryr1odin61305.jpg
---

Hello Dev Community,

Thank you for sharing your portfolios with me in [today's YouTube livestream!](http://www.youtube.com/watch?v=IqSwjamlivQ) What a blast! I hope you had a chance to check out your review and perhaps got some inspiration from the other portfolios as well.

[![](http://img.youtube.com/vi/IqSwjamlivQ/0.jpg)](http://www.youtube.com/watch?v=IqSwjamlivQ "")


All portfolios are now linked in the pinned comment. 
Great job everyone! Looking forward to the next one.

Cheers, 
RTC 

P.S. I will post here on Dev when the next livestream is approaching so you can link your portfolio there.
Spotify Premium Features: Detailed Explanation 2019
Published: 2020-01-04 05:40:28


<a href="https://thespotify.com/spotify-premium-apk/">Spotify premium</a> has offered 3 kinds of features, and all plans come with a 3-month trial account. below I have explained all plans in details

1.Individual

S$9.90/month after the offer period
1 account
Listen to music ad-free
Play anywhere - even offline
On-demand playback

2.Family

S$14.98/month after the offer period
Up to 6 accounts
6 Premium accounts for family members living under one roof
Family Mix: a playlist for your family, regularly updated with music you all enjoy
Block explicit music
Ad-free music listening, play offline, on-demand playback

3.Student

$4.99/month after the offer period
1 account
Special discount for eligible students in university
Listen to music ad-free
Play anywhere - even offline
On-demand playback
Lambda's 2020 Winter Hackathon
Tags: react, webdev, devops, javascript
Published: 2020-01-04 04:55:37

After my first ever hackathon, all I can say is, "WOW!". A 30 hour sprint with a team of 8 fellow developers and one common goal: build the best bug tracker app we possibly can. It was grueling and tiresome but we did it! We made it through and every single one of us has a new piece to put on our portfolio that we can be proud of. If I could go back and do it all over again, I would in a heartbeat.

[Check out what we made here!](https://lambda-bug-tracker.firebaseapp.com/)

## The Stack

We used my [bushido-plus](https://www.npmjs.com/package/cra-template-bushido-plus) react template as a base and used SASS to style. The back end was built in Node.js with express and we used Firebase for hosting and authentication.

## The Landing Page

![Welcome to Lambda Bug Tracker!](https://thepracticaldev.s3.amazonaws.com/i/xt6izzlvvzcflkmqxiro.png)

Our good friend Aaron Soler was the one who did the design for the marketing page and in combination with Joscelyn Owen designed our app. 

There is also a picture of every talented developer who worked on this project with link to their GitHub's and social's, so I highly recommend checking them out! 

## The Dashboard

![Welcome to the project board!](https://thepracticaldev.s3.amazonaws.com/i/yk3uk8xaou98jcfaidnv.png)

On the dashboard you can view all your projects and create new projects to track bugs in.

## The Bug Board

![Welcome to the Bug Board!](https://thepracticaldev.s3.amazonaws.com/i/oodtx8mym1wfeekjkvs3.png)

Here you can create new bugs to track. It will add the card to the "Bugs to Squash" column and when you are ready to work on the bug you can move it to the "Currently Squashing" column and from there you can move it to "For Review" or "Squashed" columns when you are done working on the bug. You have three tags you can choose from: Front End, Back End, UX/UI. There are also three levels of priority that can be set on the bug: low, medium and high. 

## The Future!

This is what our team could finish in 30 hours. As impressed as I am with everybody's dedication and determination, we all have more that we would like to accomplish with this app. 

- Adding a team component. Inviting members, having admin for projects, etc.
- Integrating with .git
- Setting up a user-custom tag system
... and much, much more.
The Psychology Of Color
Tags: ui, ux, design
Published: 2020-01-04 04:17:55

---
title: The Psychology Of Color
published: true
description: " Colors have a way of invoking certain emotional states within humans..."
tags: ui, ux, design
---

## ***"The colors can make or break your design"***


You may have heard a statement like this made before when it comes to the implementation of  UI/UX design for applications and sites. 
While this is true, you must also take into account the psychology of color, cultural differences, 
and the color palette of the clients you're working for. 

Colors have a way of invoking certain emotional states within humans.
These factors have to be taken into consideration when you decide on the color palettes for your projects. 



These are a few of the examples of the most used colors and what their meanings are, in relation to North America and most Westernized societies:



## Red   &#x1F34E;

Red is one of the boldest colors and can represent energy and enthusiasm. 
It also evokes strong emotions. A sense of urgency can be conveyed through the usage of this color in a design system.

## Yellow &#x1F49B;

Yellow is considered warm and pleasant and is often used to represent happiness, clarity, warmth, and intelligence. 
Considered an attention grabber. 

## Blue &#x1F499;

Often considered a "cold" color, it can represent calmness and serenity and the feeling of trust and security. 
In many cultures, it is seen as a masculine color and most business-centric corporations use it to symbolize trust and competency. 
The impression of cleanliness has also been conveyed through this color. 

## Green &#x1F34F;

Symbolizes nature which associates with growth, wellbeing, and calmness.

## Pink 🌺

Pink is seen as one of the more warmer colors.
 It symbolizes sophistication, sincerity, and is often connected with feminine imagery.

## Purple &#x1F49C;

It creates a sense of luxury, prestige, and elegance. At times it has been identified with authority and power
Different shades are used to represent creativity and imagination. 

## Black ⬛

This color has come to be defined as symbolizing power, elegance, and luxury. In other cases, it symbolizes grief, loss, and fear.



This post also appears on my [blog](https://objector.netlify.com/The-Psychology-of-Color) as well, feel free to check it out!