teleren/devto huggingface dataset:
DP-900 Part 8
Tags: azure, cloud, cloudskills
Published: 2022-10-04 09:32:49

Hello! It's me again :D

We will see Azure Blob Storage in depth...

What is Blob, we have already seen in previous blogs.

### But what is Azure Blog Storage ?

It enables us to store massive unstructured data as binary large objects or blobs in cloud. 

Applications can read or write data using azure blob storage API.
We store blobs in a container, container groups related blobs.

1. Block blobs
- Set of blocks handle this blob
- Block can have size upto 100mb
- Block blob can contain upto 50,000 block of maximum size 4.7 TB
- It is for storing large, discrete and binary object that do not change frequently.

2. Page blob
- It is organized collection of fixed size 512-byte pages
- supports random read/write operations
- page blob can hold upto 8TB data
- used for virtual storage for Vms

3. Append blob
- A block bob for append operations 
- Updating and deleting existing blob is not allowed
- Each block occupies maximum 4 MB
- Maximum size of append blob is 195GB

### Blob storage provides 3 tier

1. Hot tier - It is default, used for blob which are accessed frequently

2. Cool tier - It is for data accessed infrequently

3. Archive tier - It charges less, it is for historical data which is used rarely.
Data is available to us in hours while in hot and cool tier data is available in seconds or mili seconds. 
Blobs are stored in offline state.
To read data from this tier, change it to hot or cool tier.
A life cycle management policy can move from hot/cool to archive tier.

Thanks for reading <3
Layouts in Next.JS
Tags: typescript, nextjs, webdev, tutorial
Published: 2022-10-04 09:27:37

As a aweb developer, I always come accross a fix pattern where I have to create and setup layouts, for the complete website, and even have to define, which pages will not have layouts, or setting up multiple layouts. In this article, I will share everything I know about layouts, and how to create it. 

## What is Layout in website development ?
Layouts could be anything in your website, which you want to show in every page, and dont want to render, with every page change. For example, "_Top Navbar_", "_SideBar_", "_Footer_" etc. It could be anything. 

## Layouts in Next.JS
Next.js allow you to Create and define layouts and set it up for every page. 



```typescript
// components/Layout.tsx

import Sidebar from "./Sidebar";

export default function Layout({ children }: any) {
  return (
    <>
      <div className="w-screen h-screen flex">
        <div className="w-[28%] border h-full">Sidebar</div>
        <main className="w-[82%] bg-[#F3F3F3] pt-6 pl-4 h-full">
          {children}
        </main>
      </div>
    </>
  );
}
```
The above code is your layout component, which now will be used to wrap around the component. 

```typescript
// pages/_app.tsx

import "../styles/globals.css";
import type { AppProps } from "next/app";
import Layout from "../components/Layout/Layout";
import { useRouter } from "next/router";

function MyApp({ Component, pageProps }: AppProps) {
  const router = useRouter();

  return (
    <>
        <Layout>
          <Component {...pageProps} />
        </Layout>
    </>
  );
}

export default MyApp;
```

With the above code, you are able to wrap up the layout around the components, which lets your layout be visible in every page. 

But, now the question is, that how could you stop the layout to be rendered in some specific pages, like in register page, or signIn pages etc.

## Limiting the range of layouts
For limiting the range of layouts, you have to define that in which page, you dont want layouts to be appeared, and then we will use "_useRouter_" and ternary operator to set up the range. 

```typescript
// pages/_app.tsx

import "../styles/globals.css";
import type { AppProps } from "next/app";
import Layout from "../components/Layout/Layout";
import { useRouter } from "next/router";

function MyApp({ Component, pageProps }: AppProps) {
  const router = useRouter();
  const withOutLayouts = ["/auth/signin", "/auth/register"];

  return (
    <>
      {withOutLayouts?.includes(router.pathname) ? (
        <Component {...pageProps} />
      ) : (
        <Layout>
          <Component {...pageProps} />
        </Layout>
      )}
    </>
  );
}

export default MyApp;
```
In the above code, withOutLayouts is the pathname of the pages, in which we don't want to render layouts. 

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

I hope you love the article, and it helps to apply the same in your project. 

Please like this article, give your feedback and share it, if it helps you.
DP-900 Part 7
Tags: azure, cloud, cloudskills
Published: 2022-10-04 09:20:46

Hello again!

In last blog, you read a term, ELASTIC POOL
Lets see what it is

Elastic pool is same as database where we create table, populate it with data and it is scalable, except multiple databases can share same resources such as memory, space and processing power, resources are pool.
You create a pool and database can use this pool.
Release resources once done

There is advanced threat protection and high availability in this.

Thanks for reading <3
Python trading bot
Published: 2022-10-04 09:16:06

Am currently using vectorbt backtesting platform and have created and tested a few strategies and want to move to the next logical step to trade only to get stuck. vectorbt does not have trade execution functionality and so i have to design or develop my own bot or system to achieve this. Am totally new in creating a trading bot and am on this community and platform to learn and create my own bot for my strategies. So i need as much help as possible how to start. Thanks very much.
How to Unlock Krunker's Weapons and Attachments
Tags: gamedev, krunker, beginners
Published: 2022-10-04 09:01:39

Because players begin with very rudimentary weaponry in [Krunker](https://krunkerio.io), acquiring and unlocking additional firearms may be quite beneficial in all of the game's modes. In addition to the conventional AK-47, you may get snipers, submachine guns, and even rocket launchers. Certain weapons and accessories will need some effort to get, although the majority of the weaponry are available right away.

The shooter's weapon unlocking system is shockingly easy. Find and click on the customisation option next to your character on the right side of the screen in the main menu (as shown below). This will open a Classes page with hundreds of additional unlocked characters that employ different main weapons kinds. In addition to secondary weapons and accessories, players may modify their handguns and sights using the Loadout option. However, the bulk of the weapons and attachments available here can only be utilized after your class has reached Level 20.

At the moment, each class's main weapon may be equipped with up to two attachments: a close-range Reflex Scope and a long-range friendly ACOG Scope. Secondary weapons include pistols, shotguns, and blasters, although they will also need to be unlocked. For example, the Sawed-Off shotgun is available at Class Level 20, but the Alien Blaster is available at Class Level 50.
5 Website Fake API for Frontend
Published: 2022-10-04 08:55:40


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/em91gajrmdsl6k6qdcpo.jpg)

Web Fake API is...
fake data web provider haha

It's ok, it means we can use API from web for testing or training on our website

https://medium.com/@appardana/5-website-fake-api-for-frontend-ec2b9f25e9ae

[Aditria Pardana | Portfolio (appardana.com)](https://appardana.com/)
“Stay Young, Be Innovative and Keep Learning”
Improved website loading time by 3seconds
Tags: programming, webdev, javascript, tutorial
Published: 2022-10-04 08:34:22

**Under the Hood**
Yesterday, I spent almost the entire day deleting unnecessary code and improving the website's performance.

Average websites take 10-15 seconds to load on the 3G network. I am glad to announce that now my website ihatereading.in takes less than 5 seconds to completely run on the browser.

I have Improved the website performance by 3 seconds of initial loading time/TTI(Time To Interact). Totally obsessed with providing a top-notch user experience when comes to the website.

**The improvements include the following changes -**
- Deletion of unwanted JS code because javascript takes more time to load on the browser
- Delete the heavy assets and compress the remaining ones
- Removing unwanted packages and modules by analysing them using webpack-bundle-analyzer
- Image optimisation using Next.js Image component and lazy loading
- Pagination in first data fetching to reduce API calls

**References -**
- The hidden cost of javascript - https://lnkd.in/d7KsiBHt
- 15 ways to improve website performance - https://lnkd.in/dFWeGvru
- Image compression using https://lnkd.in/dcn_cDBM
- Webpack bundle analyzer using https://lnkd.in/dHRhjV8P

It's not rocket science to provide a top-notch user experience neither it will be a cakewalk.

**Conclusion**
We really need to understand how our website loads on the browser and what all components, modules and packages take time to load.

If you are obsessed with serving top-notch fast performant websites you will find ways.

Keep developing
Shrey
[iHateReading](ihatereading.in)
How to use framer-motion with ant design
Tags: react, javascript, antd
Published: 2022-10-04 08:24:26

ant design does not support integration with framer-motion , that's what you will need a work-around.

- Pass the `motion.div` (or any other component) to the and.design as `component`

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zz1ojncm98hrvcku2v99.PNG)

- Now you can destructure the framer-motion object into the antd component and it will work just fine.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nrypu950jyjxofdurf7n.PNG)

- If you are using TS and need the auto complete feature, just create a function that takes`AnimationProps` as as parameter to return it again.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/75r964tk5vlckamw2ekj.PNG)

Final result

![Final result](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8b405kvthgcgrso40vk3.PNG)

**_Code_**
```
import { motion, AnimationProps } from "framer-motion";
const Animation = (props: AnimationProps) => props;
<Form component={motion.form} {...Animation({ /* Here */})}></Form>
```
Help The WooCommerce Store Manager using Analytics And Reporting plugin?
Tags: report, plugin, woocommerce
Published: 2022-10-04 08:16:35

Analytics and reporting are important parts of any business that helps WooCommerce store managers to grow their business. In fact, without a report, you will not know if you are doing your job correctly or not. By generating reports at different intervals, you’ll get an overview of your inventory on hand, total sales, best-selling products, loyal customers, etc., and that information can be used in budgeting, resource allocation, marketing efforts, planning for more sales, and more.

Using analytical and valuable reports, you can find the right picture of your business situation and direct it correctly.

Receiving sales analysis and reports are important for each manager for a different purpose. For example, marketing managers seek to identify market opportunities and threats through sales analysis, or sales managers review the sales analysis report to check the profit and loss of their store.

Also, many cases, such as decrease or increase in customer purchases, decrease or increase in product sales, review of customer purchase history, and seasonal trends, are also concluded from these sales analysis reports.

Many store managers have focused on finding new customers and are looking for quick solutions to increase their sales, while to succeed in an eCommerce business, they need to spend time and analyze sales reports and examining customers based on the data related to customer behavior. The most successful managers consider reviewing sales reports as a professional process and use the valuable information provided in sales reports to grow their business.

Any type of sales report will help you understand the customers’ behavior and know their needs to have better insight for categorizing customers, planning targeted sales, and developing marketing activities. For example, by analyzing the report about the number of orders placed in different countries, you can focus your energy on increasing sales in countries with lower income.

This article will explain how analyzing different reports will help you better manage your WooCommerce store. We will also introduce the WooCommerce Report plugin so that you can create any report and export the data you need.

**More information here:**
[iThemeland Blog](https://ithemelandco.com/how-reporting-help-woocommerce-store-manager/)
How to pass the Databricks Lakehouse Accreditation?
Tags: lakehouse, accreditation, databricks, exam
Published: 2022-10-04 08:05:48

## ABOUT ACCREDIATION

- Number of questions : 20
- Type of questions: Multiple choice questions
- Duration: 20min
- Cost  : Free
- Retry: Unlimited
- Passing score: 80%
- Expiration: 1 year
- Where to register for the certification :  Databricks Academy
     - If you are a partner : [Link](https://partner-academy.databricks.com/learn)
     - If you are a customer : [Link](https://customer-academy.databricks.com/lms/)



## TOPICS COVERED OVERVIEW

- Databricks SQL
- Databricks Lakehouse platform
- Databricks Data Engineering and Data Science Workspace
- Databricks Machine Learning
- How to prepare for the certification:

## PREPARATION MATERIAL
Some of the material Recommended by Databricks to clear the accreditation are:
- What's Databricks Machine Learning? : [Link](https://www.youtube.com/embed/4lcQ77rei-k)
- What's Data Science and Engineering Workspace? : [Link](https://www.youtube.com/embed/d8hTZhLlWQQ)
- What's SQL Databricks? : [Link](https://www.youtube.com/embed/beHMFhoFzDc)
- What's the Databricks Lakehouse Platform? : [Link](https://www.youtube.com/embed/BdAiu6CoLfA)

Apart from those resources if you're still curious supported material is attached below:
- Managed MLflow : [Link](https://www.databricks.com/product/managed-mlflow)
- Delta Lake: [Link](https://docs.databricks.com/delta/index.html)
- Workspace assets: [Link](https://docs.databricks.com/workspace/workspace-assets.html)
- Navigate the workspace: [Link](https://docs.databricks.com/workspace/index.html)
- Databricks Machine Learning: [Link](https://docs.databricks.com/machine-learning/index.html)
- Databricks runtime: [Link](https://docs.databricks.com/runtime/index.html)
- Introduction to Databricks AutoML : [Link](https://docs.databricks.com/machine-learning/automl/index.html)
- Introduction to Feature Store: [Link](https://docs.databricks.com/machine-learning/feature-store/index.html)
- Introduction to SQL Databricks: [Link](https://docs.databricks.com/sql/index.html)
- Introduction to the medallion architecture : [Link](https://learn.microsoft.com/en-us/azure/databricks/lakehouse/medallion)
- Add Users and  groups to workspace : [Link](https://docs.databricks.com/administration-guide/users-groups/users.html)
- Databricks Compliance: [Link](https://www.databricks.com/trust#compliance)

## ABOUT ME
I make **#dataEngineering** & **#machinelearing** complex problem easy & make a way for new learners to learn fast & smart. Follow me for more content & don't forget to share if you think material is worthy.
How Secure Is Passwordless Authentication for Businesses?
Tags: security, passwordless, login, authentication
Published: 2022-11-01 06:43:17

---
title: How Secure Is Passwordless Authentication for Businesses?
published: true
date: 2022-10-04 08:03:58 UTC
tags: security, passwordless, login, authentication
canonical_url: https://mojoauth.com/blog/how-secure-is-passwordless-authentication-for-businesses/
---

When it comes to authentication, many businesses are in the process of going fully passwordless or laying out a plan. Tech giants like Microsoft, Google, and Apple have made remarkable progress in going passwordless. However, whether passwordless authentication is secure remains a prevalent question in leaders’ minds when deciding whether to go passwordless or not. This article will talk about two important passwordless authentication security-related questions: How secure is passwordless authentication to use?

[Read On](https://mojoauth.com/blog/how-secure-is-passwordless-authentication-for-businesses/)
Linux Distros To Choose From
Published: 2022-10-04 07:55:42

There are a lot of linux distros to choose from. At first, it might be very confusing to choose one, but trust me you'll get what you need here!

# Arch Linux
If you want a lightweight and smooth running distro, choose Arch. By default, there is no GUI in Arch. If you are experienced with linux servers, you can give it a shot!

| ![Manjaro](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uz6a13qn9ireosowaqgw.png) |
|:--:|
| <b>Manjaro</b>|

You still want the lightweightness but not the hassle of running commands in terminal? You can get any Arch-based distro such as [Manjaro](https://manjaro.org/).

# Debian
The one made for programmers! Has the power of apt. Far more packages that Arch. But here's the catch! No GUI again. However, you still get the basic tools right built-in. And the cherry on the cake is, it is the most stable linux distro! It also has the best hardware support.

| ![Zorin OS 16](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wsj18d7rtprf2em0ox4t.png) |
|:--:|
| <b>Zorin OS 16</b>|

A GUI approach would be [Zorin](https://zorin.com/os/), the OS that I use. Looks perfectly great! But beware! It is not completely open-source. You may also try [Ubuntu](https://ubuntu.com/download/desktop), completely open-source.

# Fedora
For the sys-admins out there. A great OS. But, it is more like Arch. Completely DIY. Neither as stable as Debian nor as unstable as Arch. A middle option. Here's a link to comparision between Debian and Fedore. [Fedora vs Debian](https://www.geeksforgeeks.org/difference-between-fedora-and-debian/)



### Final Thoughts
I feel Debian works best for me. I use Zorin which is based on Ubuntu which is based on Debian. Very Complicated! But it works great. I switched to linux from Windows about a month ago and I was surprised by the looks of linux. Completely Unexpected! I feel it is actually better than Windows. But there are few reasons why Windows still exists on my computer. The biggest reason is MS Office. LibreOffice and OnlyOffice are nowhere close to MS Office.
Global Essence Of Marketing
Tags: webdev
Published: 2022-10-04 07:51:45

Marketing was essential even in the 1800s, there are unique techniques that one business can utilize to flourish the brand. The most effective marketing is the one that caters to the target population based on the research understanding. However, let’s suppose you’re an artist and want to create an influence this can also be possible through [Create A Wikipedia Page For An Artist](https://www.wikicounsellor.com/how-to-create-a-wikipedia-page-for-an-actor/) Some Common tactics behind Marketing are; B2C marketing andB2B marketing. 
Importance of B2C Marketing
It stands for business to consumer; this states that the customer is the direct consumer of any product. Therefore, the sales also depend upon the quality of the product and its nature of it. 
The cycle for B2C products is comparatively temporary and clients might not have to proceed with decision-making. The advertisement that is portrayed on television is B2C marketing. Moreover, some strategies are considered.
•	Advertisement for a product
•	Instagram Ads For Promotions
•	Coupons Of a store via email
Importance of B2B Marketing 
On the other hand, let’s emphasize B2B marketing, this is referred to as business-to-business. It’s targeting other companies’ audiences and gathering attention; this market strategy lingers longer in buying cycle and is truly devoted to considering customers’ needs.
 Consumers have to do in-depth research since the purchasing of products is relevantly high. B2B marketing strategies are mostly executed through digital but work towards traditional platforms as well. Some examples will identify their marketing: 
•	Event marketing 
•	Account-related Marketing
In this global digital world, marketing plays a significant role in drafting many businesses’ success and the quality of product got enhanced through marketing. Marketing gave ease to customers to search for their most wanted products, transparency is portrayed which gained the trust of consumers.
REFLECTIONS ON THE VIDEO GAMES THAT MADE ME A "GAMER"
Tags: gamedev, fireboyandwatergirl, programming
Published: 2022-10-04 07:29:03

How did it all begin? My interest in gaming started when I was approximately 10 years old, when I would play free online games. Much has happened since then, but being an adult has helped me properly appreciate the fantastic games that first drew me in. Daria considers the five most impactful video games in her life.

## Fireboy and Watergirl

[Fireboy and Watergirl](https://fireboyand-watergirl.io) is a cooperative platformer game in which you must collaborate with your partner to complete a level. I used to play this game with a buddy, bragging about my ability to utilize the WASD keys perfectly. The series has many installments that take place in various locations and obstacles, including as a forest, during winter, and in a desert. I like this game since it was all about chaotic teamwork, and the levels' flexibility made it easy to revisit. My companion and I would race to get the greatest time and the gleaming diamonds.

## The Perfect Cocktail

Unsuitable for a ten-year-old? Definitely. A plethora of enjoyment? 100%. Bartender The Right Mix is a game about crafting awful concoctions and mixing cocktails. The game was so addicting due to all of the thrilling endings, which varied from poisoning the bartender to a full-fledged explosion. The Right Mix bartender has undoubtedly turned me into the cocktail expert that I am today.

## Grand Theft Auto: San Andreas

GTA: San Andreas was my first game on a system, the classic PS2. I was around eleven years old at the time, and I played the game with my younger relatives. We'd jot down cheat codes on scrap paper, yelling at each other if we got the sequence incorrect. I just played GTA: San Andreas to fly about in the jetpack and kill a few people, so I didn't get the complete GTA experience. Returning to GTA: San Andreas as a young adult has helped me appreciate the game's plot, voice acting, and originality.

## The Sims Franchise

The Sims series fueled my gaming love, and without it, I doubt I'd be writing this piece. And I can't get enough of The Sims. Why? Because The Sims is perhaps the most innovative simulation game, providing players with complete flexibility and creativity that no other game provides.

## Every one of Papa's Games

The Papa games are well-known. My favorite games in the series were Papa's Wingeria, Pizzeria, and Freezeria, and this game was simply fantastic. I enjoyed meeting all of the eccentric folks and remembering their reminiscence lunches. Mama, are you cooking? We've never met her.