teleren/devto huggingface dataset:
Speed Testing Object VS Array Operation In JavaScript
Tags: javascript, programming, performance, testing
Published: 2022-10-04 07:26:49

When you wants to working with collections of data, there is a conclusion between Object and Array. Sometimes Array works great and sometime Object works outstanding. We are going to testing these 2 things when million of data comes into an empty Array & Object, and how they perform. How many times they needs to update data.

## Update operation speed comparisons.
### Array updating speed with 5M. data

```jsx
// Array..
const arr = [];

for (let i = 0; i < 5000000; i++){
	arr.push({
		id: I,
		value: `${i * 84}`
	});
}

// Updating data..
console.time('ARRAY SPEED');
let id = 4999998;
const findItem = arr.find(item => item.id === id);
findItem.value = 'HACKED BY ASAD ANIK';
console.timeEnd('ARRAY SPEED');
```

> ARRAY SPEED: 48.817ms


### Object updating speed with 5M. data

```jsx
// Object..
const obj = {};

for (let i = 0; i < 5000000; i++){
	obj[i] = {
		id: I,
		value: `${i * 84}`
	};
}

// Updating data..
console.time('OBJECT SPEED');
let id = 4999998;
obj[id].value = 'HACKED BY RAKHIYAATUL KUBRA';
console.timeEnd('OBJECT SPEED');
```

> OBJECT SPEED: 0.085ms


## Delete operation speed comparisons.
### Array’s Deleting speed.

```jsx
// Array..
const arr = [];

for (let i = 0; i < 5000000; i++){
	arr.push({
		id: I,
		value: `${i * 84 + 77}`
	});
}

// Deleting data..
console.time('ARRAY DELETE SPEED');
let id = 4999999;
const index = arr.findIndex(item => item.id === id);
arr.splice(index, 1);
console.timeEnd('ARRAY DELETE SPEED');
```

> ARRAY DELETE SPEED: 49.457ms


### Object’s Deleting speed.

```jsx
// Object..
const obj = {};

for (let i = 0; i < 5000000; i++){
	obj[i] = {
		id: i,
		value: `${i * 84 + 77}`
	};
}

// Deleting data..
console.time('OBJECT DELETE SPEED');
let id = 4999999;
delete obj[id];
console.timeEnd('OBJECT DELETE SPEED');
```

> OBJECT DELETE SPEED: 0.084ms


## Reduce Vs Map, Filter method.
Reduce is more powerful method than Map and Filter. Let’s see the prove.
**→ Map, Filter**

```jsx
const arr = [];

for (let i = 0; i < 5000000; i++){
	arr.push(i);
}

// Not Optimised operation..
console.time('MAP_FILTER');
arr.filter(item => item %2 === 0).map(item => item * 2);
console.timeEnd('MAP_FILTER');
```

> MAP_FILTER: 153.749ms

**→ Reduce**

```jsx
const arr = [];

for (let i = 0; i < 5000000; i++){
	arr.push(i);
}

// Optimised operation..
console.time('REDUCE_WAY');
arr.reduce((acc, cur) => {
	if (cur %2 === 0){
		acc.push(cur * 2);
	}
	return acc;
}, []);
console.timeEnd('REDUCE_WAY');
```

> REDUCE_WAY: 89.065ms


## Decision making
→ When is time to build an Application, so we have to decide about its task. Is your Application are handling lots of traversing ? ⇒ So go for working with Array Operations in the most case. it’s totally fine.

→ And if your Application handles lot’s of CRUD operations like Create, Retrieve, Read, Update, Delete ? ⇒ So go for working with Object Operations in the most case. It’s fine.
DP-900 Part 6
Tags: azure, cloud, cloudskills
Published: 2022-10-04 07:25:29

hello!!

In this blog, we'll see Azure SQL services and capabilities

1. SQL server on azure VM
- A virtual machine in Azure with SQL server installed
- Iaas

2. Azure SQL managed instance
- PaaS
- automated updates, backups and maintenance tasks

3. Azure SQL DB
Fully managed highly scalable PaaS Database service

4. Azure SQL Edge
Optimized for IoT scenarios

### IaaS

SQL service compatibility - Fully compatible with on premise or VM
Architecture - Supports 1+ database 
Availability - 99.99%
Management - Manage all server updates, configuration, tasks
Use case - Use this option when you need to migrate or extend an on-premises SQL Server solution and retain full control over all aspects of server and database configuration.

### PaaS

SQL service compatibility - 100% compatibility with SQL server
Architecture - 1+ database support, Instance pool used to share resources 
Availability - 99.99%
Management - Fully automated updates, backups, and recovery.
Use case - Cloud migration scenarios

### SaaS

SQL service compatibility - Core DB level services, some feature may not be available
Architecture - Manage single DB server or  use elastic pool 
Availability - 99.95%
Management - Fully automated updates, backups, and recovery.
Use case - New cloud solution

Thanks for reading :)
Nullis Operator In JavaScript
Tags: javascript, programming, beginners, tutorial
Published: 2022-10-04 07:16:51

## Nullis Operator

When it got Null Or Undefined Data Type, Then this should return false and never executes the value. Whenever it will get All Falsely values also that not restricts anyone.

```jsx
const iAmAStudent = false;
const isValid = iAmAStudent ?? 'Okay'
console.log(isValid);
```

> This will return you ‘Okay’ because there is only restriction for Null & Undefined value. And all over the truly and falsely value is actually not restriction for this.
>
#TestCulture 🦅 Episode 19 - Optimize regression testing
Tags: agile, testing, devops, beginners
Published: 2022-10-04 07:14:59

𝐖𝐡𝐚𝐭 𝐢𝐬 𝐫𝐞𝐠𝐫𝐞𝐬𝐬𝐢𝐨𝐧 𝐭𝐞𝐬𝐭𝐢𝐧𝐠?
Regression testing refers to testing a previously tested program, after a modification. It ensures that defects have not been introduced or discovered in unmodified parts of the software, as a result of the modifications made. These tests are performed when the software or its environment is modified. The objective of a regression campaign is to check whether the changes made to the software (or to its environment) have not caused major bugs in the functionality already in place... And therefore whether these changes have caused major regressions.
This definition highlights important principles such as software testing that has  𝚊𝚕𝚛𝚎𝚊𝚍𝚢 𝚋𝚎𝚎𝚗 𝚝𝚎𝚜𝚝𝚎𝚍 𝚋𝚎𝚏𝚘𝚛𝚎 or the subsequent modification of the same software. A regression test 𝗿𝗮𝗿𝗲𝗹𝘆 stands alone. It is part of a coherent set of several tests, each with its own characteristics and objectives.

𝐖𝐡𝐲 𝐢𝐬 𝐫𝐞𝐠𝐫𝐞𝐬𝐬𝐢𝐨𝐧 𝐭𝐞𝐬𝐭𝐢𝐧𝐠 𝐜𝐡𝐚𝐥𝐥𝐞𝐧𝐠𝐢𝐧𝐠?
👉🏼 𝐓𝐢𝐦𝐞 & 𝐜𝐨𝐬𝐭 𝐦𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭. Regression tests involve running tests that have already passed. Time spent can be hard to justify to stakeholders. Especially when it comes to creating and running tests, as well as the high cost of test-related services and infrastructure. Especially when stakeholders don't appreciate the value it adds.
👉🏼 𝐂𝐨𝐦𝐩𝐥𝐞𝐱 𝐦𝐚𝐢𝐧𝐭𝐞𝐧𝐚𝐧𝐜𝐞. Regression tests inevitably become large and complex over the course of a complex development project. The number of test cases, as well as the functions and processes that they check, can easily number in the thousands. It makes it impractical for quality assurance engineers to test manually without consuming significant time and resources.
👉🏼 𝐓𝐨𝐨 𝐦𝐚𝐧𝐲 𝐟𝐥𝐚𝐤𝐲 𝐭𝐞𝐬𝐭𝐬. Regression tests are great when they identify issues before a production build. But there's nothing more frustrating than a test suite that throws constant false positives — or tests that fail when they should pass. Flaky tests that generate false positives are frustrating for stakeholders, developers and testers and could make everyone second-guess the process.

------------------
📚 𝕊𝕠𝕦𝕣𝕔𝕖𝕤:
🦅 https://agilitest.com/challenges/multi-device-testing

-------------------
Thread [on Twitter.](https://twitter.com/agilitest/status/1557743678005080072?s=20&t=EK7pEtpbk1YK3rNcWFegbw)
DP-900 Part 5
Tags: azure, cloud, cloudskills
Published: 2022-10-04 07:12:42

Hey!

We are going to explore Relational Structure

- Relational Data 
- Normalization : 
Minimize data duplication and enforce data integrity.
Rules for normalization:
1. Separate each entity into its own table
2. Separate each discrete attribute to its own column
3. Uniquely identify each row using primary key
4. Use Foreign key column to link related entities

### SQL

SQL stands for Structured Query Language, and is used to communicate with a relational database. It's the standard language for relational database management systems. SQL statements are used to perform tasks such as update data in a database, or retrieve data from a database.

#### Some popular dialects of SQL

Transact-SQL (T-SQL). This version of SQL is used by Microsoft SQL Server and Azure SQL services.

pgSQL. This is the dialect, with extensions implemented in PostgreSQL.

PL/SQL. This is the dialect used by Oracle. PL/SQL stands for Procedural Language/SQL.

#### Database Objects

1. Views

Virtual table based on result of SELECT query.

```

CREATE VIEW Deliveries
AS
SELECT o.OrderNo, o.OrderDate,
       c.FirstName, c.LastName, c.Address, c.City
FROM Order AS o JOIN Customer AS c
ON o.Customer = c.ID;

```

2. Stored Procedure

Defines SQL statements that can run on command.
Stores program logic when working with data.

```
CREATE PROCEDURE RenameProduct
	@ProductID INT,
	@NewName VARCHAR(20)
AS
UPDATE Product
SET Name = @NewName
WHERE ID = @ProductID;

```

3. Index

It helps to search data in a table.
Index has a copy of column in sorted order, with pointer corresponding row in a table.
Quickly scan the data.
We can create many index on a table.
Index consume storage space.

Thanks for reading <3
What is JavaScript Short Circuit?
Tags: javascript, webdev, beginners, programming
Published: 2022-10-04 07:08:30

Let’s talk about JavaScript / React Falsely value ignorance. It’s call **JavaScript Short Circuit Evaluation**. In React we can learn and we also know about how to developing Applications. But We don’t know about some special things like **JavaScript Short Circuit**.

In JavaScript short-circuiting, **an expression is evaluated from left to right until it is confirmed that the result of the remaining conditions is not going to affect the already evaluated result**.

And there is 2 types of short circuits. 

1. And Short Circuit 
2. Or Short Circuit 

## And Short Circuit

When we are saying if something is there so do like this specific work or if you here then i will go. 🙄 I know that seems confusing here. So let’s see the real world example.

```jsx
const iAmAStudent = true;
iAmAStudent && console.log('Yes you are a student!');
```

> So here we saw the and short circuit example, there is a log with iAmAStudent value when true. 😎
> 

## Or Short Circuit

When the decision is for just looking up choice who is 💝 present right now, then this will execute. This is actually the conditioning stages value.

```jsx
const HOST = process.env.HOST || 'localhost';
console.log(HOST);
```

> Here we can see the useful example of or short circuit. If you have the value of [process.env.HOST](http://process.env.HOST) so okay it’s fine 🙃 but if you don’t has the .env value so it will set the ‘localhost’ for you.
>
Information Retrieval Assignment Help
Tags: assignmenthelp, informationretrieval
Published: 2022-10-04 07:07:06

Providing **[information retrieval assignment help](https://www.greatassignmenthelp.com/information-retrieval-assignment-help/)** is necessary because of its complexity and density. In information retrieval (IR) or information storage or retrieval (ISAR, ISR), or information organization and retrieval (IOAR), information resources are retrieved through the collection of information resources relevant to information needs. In this sense, data retrieval, information retrieval, document retrieval, and text retrieval overlap, but each has its own theory, literature, and technology. It combines mathematics, machinery, cognitive psychology, arts, information sciences, and statistics. Due to the complexities of the subject, we are here to assist you if you need assistance with BISM7206 information retrieval and management.
Gaming Industry an upcoming monopoly
Tags: gaming
Published: 2022-10-04 07:03:42


There is a talk by Saurabh Mukherjee, founder of Marcellus investments, in which he discusses monopoly businesses. He observes that an industry with a monopoly looks like one with a lot of competition, so no one enters it. Similar is the case with the entertainment industry which consists of movies, music, sports, and games. The gaming industry in the World is generating more revenue than the music, movies, and sports industries combined, making it a monopoly in the entertainment industry. However, as observed by Saurabh, we do not understand who the actual monopoly in the industry is. Only a handful of companies in India can or are trying to make great games. Another thing to note about the Indian gaming market is that it is dominated by mobile game players. When the world caters to the demand of desktop players, Indian companies have a different audience of mobile players and they should focus on them.
There was once a time when making games was a passion project but today it is a full-fledged industry. And what Kunal Shah says in his most speeches is "build dam where a river is". The gaming industry is a river with a very high water current.
Variable in C++
Tags: cpp, cpplanguage, cpptutorial
Published: 2022-10-04 07:03:04

#include <iostream>
using namespace std;

int main()
{
    char examGrade = 'a';
    int myRollNumber = 139;
    float gravitational_acceleration_on_earth = 9.8; // meter per second
    double gravitational_acceleration_on_other_planet = 0.0058;
    bool is_cpp_faster_oop_language = true;

    cout << "Exam Grade : " << examGrade << endl;
    cout << "My Rollnumber : " << myRollNumber << endl;
    cout << "Gravitational Acceleration on Earth : " << gravitational_acceleration_on_earth << " Meter per Second" << endl;
    cout << "Gravitational Acceleration On Other Planet : " << gravitational_acceleration_on_other_planet << " meter Per Second" << endl;
    cout << "is C++ Faster Object Oriented Language ? " << is_cpp_faster_oop_language << endl;
    return 0;
}
Three Reasons to Choose Explainer Videos Created by Gisteo
Published: 2022-10-04 06:51:58

A website is crucial for almost every business serving different industries. And for these websites, businesses need to choose the most engaging content. Now, the best way to make an audience stay on the web page for a little longer is by using images, videos, and animations. A [cartoon explainer video](https://gisteo.com/cartoon-explainer-videos/) is a perfect choice for it.

If you need an impactful explainer video for your business website, you can ask Gisteo for help. The company started offering its services in 2011, and to date, it has produced over 2700 animated videos to explain the gist of a business. Gisteo is a smart choice for explainer video creation. Here are three core reasons to choose this company for the same.

Knows strengths and weaknesses of explainer videos:

Explainer videos need to be short, explanatory, delivering, and engaging. There is a thin line between making an explainer video interesting and overly explaining. And Gisteo understands the dos and don’ts of explainer video creation very well. The creators at this company are aware of the strength and weaknesses of these videos. So, they make sure to emphasize the strengths and help businesses get all the benefits. So, whether you choose [30 second explainer videos](https://gisteo.com/30-second-explainer-videos/) or 2 minute long explainer videos, the creators from this company can help you create the best.

Specialists in 30 seconds explainer videos:

Not every video-creating company can deliver what is required in just 30-seconds. But the creators at Gisteo know it quite well. They have created several unique 30-second videos to explain a business's gist. It is difficult to deliver the message and create an engaging video in such a short span. But the team at Gisteo manages well to do so. Hence, taking help from such a team and company is one of the best decisions for businesses.

No one size fits all concept:

Many explainer video creation companies figure out the best possible option for businesses. These companies try to fit all the businesses in that mold. But creating such [animated explainers](https://gisteo.com/cartoon-explainer-videos/) videos might not seem fit for all businesses. In these situations, businesses need to find a service that delivers according to unique businesses and their requirements. Gisteo is one of the perfect options for businesses. The company understands that one size does not fit all. Every business is unique in one way or another. Therefore, they need unique services.

Find more about Gisteo at [https://gisteo.com/](https://gisteo.com/)

Original Source : [https://bityl.co/Erjn](https://bityl.co/Erjn)
5g and dream of an equal world.
Tags: 5g, equality
Published: 2022-10-04 06:51:35

Who or what brings equality to society?
Firstly, how do we bring equality to the world, by giving everyone equal opportunities in education, health, and career? Every basic requirement like Education, Healthcare, and Career opportunities were affected by two things where you lived and how much money you had.

After the internet became accessible to the general public it increased the transfer of knowledge at a faster speed at low cost leading to decreased inequality in the basics but how? Let's see

1)In education-
The first basic requirement is education, we are seeing the effect of 4g people learning from industry pioneers from their native place and it is affordable to each and every one. 
Now 5g will help us learn in real time as if learning from the best teachers in a classroom.

2)Healthcare-
The second basic requirement of healthcare has been changed by an online consultation with the help of 4g and thus the day is not far where distance surgeries would be possible with the help of 5g.

3)Job Opportunities-
The third basic requirement of a job is being revolutionized by work from a home culture which 4g helped us achieve, but companies and employees are missing the offices because the friction to communicate increases when people are far and 5g might be solving this with VR offices.

Insight of this phenomenon is that inequality will not be eradicated by justice systems as thought by many until now but by the speed at which data transfers.
Decentr browser (Browse-to-Earn) A fully decentralized blockchain-based browser with high privacy and adBlocker
Tags: webdev, news, blockchain, web3
Published: 2022-10-04 06:46:59

Decentr - a fully fledged browser with high privacy were you earn DEC to browse the web. They have exclusive features like dHub and the feed were you can post. There is an built-in adblocker and also a VPN which you can use. 

The DEC you earn can you also delegate for interest. There is lots of features making it easier for devs as well as cryptoDegens. Customize the layout (the color ect of the browser for your needs). Well according to me its the best browser in form of features and rewards!
[https://referral.decentr.net/?referralCode=E0cuU42w](https://referral.decentr.net/?referralCode=E0cuU42w)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kodcx84fd4rddgkpkddx.png)
How the future can be changed with Metaverse, Artificial Intelligence
Tags: metaverse, machinelearning, ai, web3
Published: 2022-10-04 06:38:21


![How the future can be changed with Metaverse, Artificial Intelligence](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yfkujm5ygt4n5oicv2yu.jpg)

Metaverse: The Future of Art and Artificial Intelligence

1. What is the Metaverse?

The Metaverse is a virtual world that exists on the internet. It is made up of many different virtual worlds, and users can travel between them.

2. How will the Metaverse be used in the future?
There is no one answer to this question, as the Metaverse will be used in a variety of ways in the future. Some people believe it will be used mainly for social networking and communication, while others believe it will be used for more business-oriented activities. There are also those who believe the Metaverse will be used for education and training, and for creating and experiencing virtual worlds. The possibilities are endless, and it will be interesting to see how the Metaverse evolves and is used in the years to come.

![How the future can be changed with Metaverse, Artificial Intelligence](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/orawgupzf41qgotu5lzx.jpeg)

3. What is the impact of artificial intelligence on the Metaverse?

Artificial intelligence is changing the Metaverse as we know it. With the advent of smarter-than-human AI, the Metaverse is becoming more and more populated with intelligent bots and avatars. This is having a profound impact on the way people socialize and do business in the metaverse.
Some believe that the rise of AI is a good thing, as it is making the metaverse more intelligent and interesting. Others believe that the rise of AI is a bad thing, as it is making the Metaverse more artificial and less human. Regardless of which side of the debate you are on, it is clear that AI is having a significant impact on the Metaverse.

![How the future can be changed with Metaverse, Artificial Intelligence](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dvhj33i074xmxl7if209.jpg)

4. What is the impact of the Metaverse on art?

The Metaverse has had a significant impact on the art world. It has allowed artists to create and exhibit their work in a new and innovative way. It has also allowed them to reach a wider audience. In the future, the Metaverse will likely have an even greater impact on art. It is likely that more and more artists will create work specifically for the Metaverse, and that the Metaverse will become a major venue for the exhibition of art.
The Metaverse has already had a significant impact on the way people experience art. By providing a virtual space where people can come together to appreciate art, the Metaverse has made it possible for people to appreciate art in a new and more meaningful way.