teleren/devto huggingface dataset:
Best programming languages for Blockchain app development
Published: 2022-03-16 11:39:46

## Solidity

Influenced by JavaScript, Powershell, and C++, Solidity is the first blockchain programming language that one must learn. Especially when you want to develop dApps or are looking to get into the ICO development game.

The Solidity blockchain programming language was developed by Vitalik Buterin, the mastermind behind Ethereum. It serves [blockchain development](https://appinventiv.com/blog/best-blockchain-programming-languages/) firms with a myriad of benefits, such as:-

- Developer-friendliness,
- Accessibility to JavaScript infrastructures, debuggers, and other tools,
- Statically typed programming,
- Possibility of inheritance properties in smart contracts,
- Precise accuracy

## Java

Java, the official language of [android application development](https://appinventiv.com/android-application-development/) and a preferred option for backend development, is also considered one of the top blockchain programming languages used for Blockchain development.

The language is derived from C-syntax and is widely chosen for building sophisticated smart contracts and dApps because of its following properties: -

- Robust support for OOP (Object-Oriented Programming) methodology,
- Ease of memory cleaning
- Availability of ample libraries
- Python
- Blockchain programming in Python has not only ruled the world of app development, IoT app development, and network servers’ development, but is also proving to be an asset in the Blockchain-as-a-service arena.

The language, created in 1991, is widely used for dApps and Smart Contracts development because of the exceptional features it offers. Some of those features of blockchain coding in Python include:

- Blockchain programming in Python language is easy to learn
- Access to dynamic architecture
- Perfect for both base and scripting approaches,
- Open-source support
- Blockchain coding in python is efficient for prototyping
- Steem, Hyperledger Fabric, and NEO are a few popular Python–based Blockchain projects that are prevailing in the industry.
Why is customer flow important?
Tags: digitalidentity, integration
Published: 2022-04-26 19:59:55

---
title: Why is customer flow important?
published: true
date: 2022-03-16 11:20:10 UTC
tags: DigitalIdentity,Integration
canonical_url: https://vyou-app.com/en/why-is-customer-flow-important/
---

VYou is motivated by a common pattern our developers have seen in many of our projects in the past. There is a general concern on what are the set functionalities to implement on websites, applications or projects with a wide variety of purposes.

### **Why is customer flow so relevant?**

Congested lines for services are unfortunately too common today, as are customer frustrations. This can be a serious challenge especially when customer interactions are a significant part of a business’ operations. Not only does this negatively impact the customer experience, but it also has a detrimental effect on the business in a variety of ways.

Customer flow management technology offers an effective way to improve customer flow, benefiting customers, employees, and businesses alike.

Assessing this flow allows you to map a customer’s journey from pre-service to post-service, so any event in between these times can affect the entire customer experience as well as your processes and, ultimately, your business. A way to make the customer flow process simpler is by using a management system like VYou that streamlines this process to improve the management experience across the customer whole journey.

### **VYou customer flow**

We mainly discovered that the following features are equal in every project:

1. **User management** (account creation, login system, recover password flow, profile management, user listing, role and group system, etc..)

1. **User profiling and segmentation**

1. **Communications** (push notification, email, segmented communication)

1. **Payments** (credit card payment, subscriptions, in-app-billing)

1. **Privacy management** (GDPR, explicit acceptance of terms, security measures to ensure lack of breaches)

As we ended up implementing again and again the set of features above, we realized that implied several factors that impacted on the projects:

- Longer time to market
- Higher budget
- Custom integrations

### **How does a business benefit from customer flow management?**

The main motivation to implement VYou is that businesses could take care of the common features and serve them in a box, so that what takes weeks to implement every time could take only minutes to integrate.

[VYou](https://vyou-app.com/en) provides all the necessary pieces that allow our tenants not to worry about user management. We have created a service that exposes an API that implements all the user related operations and this works in combination with the tenant backend and business logic.
Top 10 Mobile App Development Companies in Melbourne 2022
Published: 2022-03-16 11:16:37

``Traditional businesses must be aware that, as mobility continues to transform how industries work, they are no longer only competing with one other but also with mobile-first startups that captivate the attention of consumers.  Statista`s annual number of global mobile app downloads shows that the worldwide smartphone market has grown by 50 percent since 2016.  With so much potential growth, major corporations and app development businesses are investing their time, money, and effort in learning about the shifting trends of the digital economy and looking for reliable app developers Melbourne.  As a result, a significant number of businesses, including those in Melbourne, are turning to mobile applications to help them grow. 

 The most difficult challenge that all of these companies encounter is finding a reliable mobile app development partner in Melbourne. [ aTeam](https://www.ateamsoftsolutions.com/top-10-mobile-app-development-companies-in-melbourne-2022/) has compiled a list of the best [mobile app development companies in Melbourne ](https://www.ateamsoftsolutions.com/top-10-mobile-app-development-companies-in-melbourne-2022/)to help you find a reliable, competent, and cost-effective app developer.  The top app developers Melbourne featured below are well-known in the worldwide app development arena for delivering high-performing iPhone and Android applications. 
.
Scalable Reusable Components in React
Tags: javascript, react
Published: 2022-03-16 08:03:45

I will briefly go over this tutorial, with an example `ErrorAlert` component.

## The Problem
When creating reusable components people will naturally feel passing what the component needs as props would be right, but over time that component would become this:
```js
<ErrorAlert
    data={...}
    type={...}
    closeIcon={...}
    className={...}
    onInit={...}
    onClose={...}
/>
```  
You don't need me to tell you the disadvantages of this approach in the long run.

---
## The Solution
```js 
import { IonIcon } from "@ionic/react";
import { alertCircleOutline } from "ionicons/icons";
import React from "react";

interface IEssentials {
  className?: string;
}

const Body: React.FC<IEssentials> = ({ children, className, ...rest }) => {
  return (
    <div className={"p-4 text-sm text-red-700 bg-red-100 rounded-lg dark:bg-red-200 dark:text-red-800" + " " + className} {...rest} role="alert">
      {children}
    </div>
  );
};

const Text: React.FC<IEssentials> = ({ children, className, ...rest }) => {
  return (
    <div className={"flex items-center gap-1" + " " + className} {...rest}>
      <IonIcon icon={alertCircleOutline} />
      <div>{children}</div>
    </div>
  );
};

export const ErrorAlert = { Body, Text };
``` 
**Usage**
```js
import { ErrorAlert } from "./ErrorAlert.tsx"

const data = [...];

const App: React.FC = () => {
    return (
        <div>
            <ErrorAlert.Body>
               {data.map((dataItem) => (
                  <ErrorAlert.Text>
                     {dataItem}
                  </ErrorAlert.Text>
               ))}
            </ErrorAlert.Body>
        </div>
    )
}
```

---
## Advantages of this approach
- Open/Closed principle (SOLID): It should be open to extend but closed for modification.
- Single Responsibility Principle (SOLID): Individual child components should have a single responsibility or perform a single function, this approach makes it easier to extend without having to modify the whole component.
- Decoupling enables adding explicit functionalities based on requirements.
- Easy refactoring.
Controllers
Tags: node, api, express, javascript
Published: 2022-03-16 11:14:29

A GET request route set up in a seperate route File instead of the server.js file.

```
/** greetingRoute.js */ 
...
router.get('/', (req,res) => {
   res.status(200).json({ message: "Greetings!"});
});
...
```
We could set up routes like this, they aren't doing much currently but they are set up. We could proceed to add our functionality in the body of these callback functions but it's much better practice to create a controller and have your functions there.

So, in the backend folder that we had, create a controllers folder and add a file for the corresponding controller. Lets say, greetingController.js

Here, we can create some functions. For instance, lets have a getGreeting function

```
/** greetingController.js */

const getGreeting = (req,res) => {
    res.status(200).json({ message: "Greetings!"});
}

module.exports = {
    getGreeting,
}
```

We need to export it in order to use it in our routes file.
The modules.exports is a Object here because we might wanna add more functions to it later as routes grow.

So, now in our routes file we need to require it.
```
/** greetingRoute.js */
...
const { getGreeting } = require('../controllers/greetingController.js');
...

router.get('/', getGreeting);

...
```

Notice how we replaced the callback function body with the getGreeting function that we pulled in via require above.
And it should still work!

You wanna do these with rest of the routes as well and clear the clutter from the routes file as well.

And when you are done with all the routes, you can chain same routes but different request types together, like so

```
...

router.route('/').get(getGreeting).post(setGreeting);
router.route('/:id').update(updateEntity).delete(deleteEntity);

...
module.exports = router;
```

That's it for this one. Leave a like!
Top 20 Valuable Startup in Australia | Australian Startups
Published: 2022-03-16 11:09:27

Many professionals seek something unique and ask themselves, “Now what?” as the economy begins to recover at varied rates across industries.  [Australia`s startup](https://www.ateamsoftsolutions.com/top-20-valuable-startup-in-australia-australian-startups/) industry has grown from a little outpost with little activity to a bustling center of talent and capital in the past few years.  The [Australian startup](https://www.ateamsoftsolutions.com/top-20-valuable-startup-in-australia-australian-startups/) industry has the potential to generate $109 billion in revenue or 4% of the country`s GDP.  According to a poll, in the Startup Genome Ecosystem Index, for example, Sydney is ranked 12th out of 20 cities. 

 Cities like Sydney, Melbourne, and Perth are fast establishing themselves as favored Australian startup centers.  The Australian top startup market has set the benchmark when it comes to entrepreneurial growth and innovation. 
.
How can I sort the array as per the array length inside it in sequelize
Published: 2022-03-16 11:09:12

I want to fetch array that is sorting as per its include  length 
`Category.findAll({
        include: [
            {
                model: db.product,
                as: "products",
            }
        ],
})`
I want to arrange the array of category as per length of fetched products
The Necessary Components to consider when creating an EC2 Instance
Tags: beginners, webdev, discuss, aws
Published: 2022-03-16 11:02:37

Ec2 is a compute service that allows you to deploy virtual service within the AWS environment. there are several components that comes up to make an existing Ec2 instance a whole. The are; 
1. Operating Systems and Software
2. Networking
3. Storage
4. Cost and Capacity Optimization
5. Global Infrastructure

I will be delving deeper into Operating Systems and Software, breaking the components of this feature and what to consider when setting up.

**OPERATING SYSTEMS AND SOFTWARE**
Primary is comprised of the Amazon Machine Images(AMIs). AMIs comprises of Images(operating systems) which mainly includes Microsoft Windows and Linux Distributions.

**For Research and Testing Purposes**
when a user wants to test or research an idea with creating an Ec2 instance, there are free tier images that can utilized. This means you can use this images without incurring any cost. The following are some of those images with their specifications.

a. **Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type - 64-bit(x86)/64-bit(Arm).**
under this image, 
- The free eligible family type is t2 micro
- Which has 1 vCPUs, 1Gb of memory
- Amazon Elastic Block Store(EBS) only instance storage (EBS 
  stores volumes that available to the instance)
- Does not support EBS optimization
- Has low data transfer rate and supports IPv6

b. **Microsoft Windows Server 2019 Base (64-bit-x86).**
under this image,
- The free eligible family type is t2 micro
- Which has 1 vCPUs, 1Gb of memory
- Amazon Elastic Block Store(EBS) only instance storage (EBS 
  stores volumes that available to the instance)
- Does not support EBS optimization
- Has low data transfer rate and supports IPv6

**Other free tier images include** 
- Red Hat Enterprise Linux 8 (HVM), SSD Volume Type
- SUSE Linux Enterprise Server 15 SP3 (HVM), SSD Volume Type
- Ubuntu Server 20.04 LTS (HVM), SSD Volume Type
- Debian 10 (HVM), SSD Volume Type
- Microsoft Windows Server 2019 Base with Containers

and they all have similar specifications to the ones listed above.

In the next part of the series, I will be looking at the purpose of Lightweight businesses.
My open source contributions to Supabase
Tags: opensource, programming, github, go
Published: 2022-03-16 10:54:38

I'm sharing my experience with contributing to Supabase.

Supabase is an open-source Firebase alternative. 

[Supabase](https://github.com/supabase) uses Gotrue as an authentication server. Gotrue is an auth API server written in Go by the Netlify team. Supabase manages its fork of the Gotrue and is actively maintained. 

Gotrue is responsible for issuing access tokens for your users, sending confirmation, magic-link, and password recovery emails, and also transacting with third-party OAuth providers to get user data.

A few months ago, while I was exploring the Supabase project, I found some issues tagged with `good first issue` on the repository [supabase/gotrue](https://github.com/supabase/gotrue)

Without previous experience with Go and Gotrue, I thought it would be hard to understand the source code and contribute to such a large project.

I learned the basics of Go in the following weeks and set up supabase/gotrue locally on my machine.

I noticed Supabase users were asking for new SMS providers like Twilio, Vonage, Textlocal, etc.

Supabase needs an SMS provider when you want the users to log in with their mobile. Supabase will send an OTP to the user's mobile number (i.e.passwordless login).

I decided to add Vonage as a new SMS provider to supabase/gotrue. It took me around 4-5 hours to understand the code and finish the Vonage integration.

My previous experience with authentication libraries and APIs helped me to understand the code much faster than I initially anticipated.

I got some initial feedback from the Supabase team on that PR. It got merged after a few days and included in the next release.

After the first PR, I successfully contributed two more integrations.

[Added the Zoom: OAuth provider](https://github.com/supabase/gotrue/pull/355)

[Added Vonage: SMS provider](https://github.com/supabase/gotrue/pull/333)

[Added Textlocal: SMS provider](https://github.com/supabase/gotrue/pull/342)

I also got a mention in the [Supabase Beta January 2022](https://supabase.com/blog/2022/02/22/supabase-beta-january-2022) newsletter and blog post. Thanks to Paul Copplestone (Supabase CEO).

![Supabase Beta January 2022](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9vkmgd6uxv8a424ij18t.png)

Follow me on [Github](https://github.com/devkiran)

Feel free to reach me if you want any help with your first open source contribution.

Thanks
Python raw_input
Published: 2022-03-16 10:42:27

Python raw_input() function is removed from Python 3.x versions. But it exists in Python 2.x. Actually, it has the same functionality same as the python input() function of Python 3.x.

The raw_input() function reads a line from input (i.e. the user) and returns a string by stripping a trailing newline.

## raw_input syntax Python v2.x

```Python
mydata = raw_input('Prompt :')
print (mydata)
```

## raw_input syntax Python v3.x

```Python
mydata = input('Prompt :')
print (mydata)
```

## Python raw_input() examples

In this example, read the user name using raw_input() and display it back on the screen using print():

```Python
#!/usr/bin/python
name=raw_input('Enter your name : ')
print ("Hi %s, Let us be friends!" % name);
```

Read More : [Python raw_input](https://askavy.com/python-raw_input-example/)
Setting “checked” for a checkbox with jQuery
Published: 2022-03-16 10:38:16

You can check or uncheck a checkbox element or a radio button using the .prop() method:



```javascript

// Check #x
$( "#x" ).prop( "checked", true );
 
// Uncheck #x
$( "#x" ).prop( "checked", false );

```

f you’re working with just one element, you can always just access the underlying HTMLInputElement and modify its .checked property


```javascript

$('.x')[0].checked = true;
$('.x')[0].checked = false;

```

## jQuery 1.5.x and below

```javascript
$('.x').attr('checked', true);
$('.x').attr('checked', false);

```
Read More : [Setting “checked” for a checkbox with jQuery](https://askavy.com/setting-checked-for-a-checkbox-with-jquery/)
Add Live Transcriptions to a Daily Video Call With Deepgram
Tags: video, tutorial, transcription
Published: 2022-03-16 10:17:41

---
title: Add Live Transcriptions to a Daily Video Call With Deepgram
published: true
description: How to set up a Daily video call with live transcriptions.
tags: video, tutorial, video, transcription
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8p10cki33nxb6xzj92xf.png
canonical_url: https://developers.deepgram.com/blog/2022/02/daily-video-live-transcription/
---

[Daily](https://www.daily.co) allows developers to build in video and audio calls into their applications. [Daily recently announced](https://www.daily.co/blog/add-live-transcription-to-a-daily-call-with-our-newest-api/) our partnership which brings accurate live transcriptions to video calls in just a few lines of code.

In their announcement, the team at Daily provide a super useful React.js demo and starter project. Today we're sharing a video tutorial on getting live transcription working, without a framework, in under 40 lines of code (including the HTML boilerplate).

This tutorial covers:

1. How to set up a Daily video call using Daily Prebuilt.
2. How to enable live transcriptions for your Daily domain.
3. How to start transcribing your Daily video calls.

{%embed https://www.youtube.com/watch?v=nyDnC5iCU_I %}

Important links:

- [Get a free Deepgram account](https://console.deepgram.com/signup)
- [Get a free Daily account](https://dashboard.daily.co/signup)

Further reading:

- [Daily's announcement post with sample React app](https://www.daily.co/blog/add-live-transcription-to-a-daily-call-with-our-newest-api/)
- [React sample app](https://github.com/daily-demos/examples/tree/main/custom/live-transcription)
- [Daily `startTranscription()` Documentation](https://docs.daily.co/reference/daily-js/instance-methods/start-transcription)

If you have any questions, please feel free to reach out on Twitter - we're [@DeepgramDevs](https://twitter.com/DeepgramDevs).
Recursive Feature Elimination
Tags: machinelearning, beginners, tutorial, python
Published: 2022-03-16 10:17:34


Recursive Feature Elimination or RFE is primarily used for Feature ranking.

- Given an **external estimator** that assigns weights to features (e.g., the coefficients of a linear model), the goal of recursive feature elimination (RFE) is to select features by recursively considering smaller and smaller sets of features.

- First, the estimator is **trained on the initial set of features** and the importance of each feature is obtained either through any specific attribute or callable. 

-  Then, the least important features are pruned from current set of features. 

- That procedure is recursively repeated on the pruned set until the desired number of features to select is eventually reached.

_**RFECV performs RFE in a cross-validation loop to find the optimal number of features.**_

First lets get to know how many types of feature selection is provided in sklearn.
The classes in the sklearn.feature_selection module can be used for feature selection/dimensionality reduction on sample sets, either **to improve estimators’ accuracy scores** or **to boost their performance on very high-dimensional datasets**.

1. Removing features with low variance_(Not applicable for dynamic data)_:
>VarianceThreshold is a simple baseline approach to feature selection. 
>It removes all features whose variance doesn’t meet some threshold.
2. Univariate feature selection_(Not applicable for multivariate data)_:
>Univariate feature selection works by selecting the best features based on univariate statistical tests.
> It can be seen as a preprocessing step to an estimator.
> _SelectKBest_ removes all but the  highest scoring features
> _SelectPercentile_ removes all but a user-specified highest scoring percentage of features using common univariate statistical tests for each feature: false positive rate SelectFpr, false discovery rate SelectFdr, or family wise error SelectFwe.
> _GenericUnivariateSelect_ allows to perform univariate feature selection with a configurable strategy. This allows to select the best univariate selection strategy with hyper-parameter search estimator.
3. Recursive feature elimination
> Recursive feature elimination with cross-validation is also available
4. Feature selection using SelectFromModel
5. Sequential Feature Selection
6. Feature selection as part of a pipeline
Python Mini Projects
Tags: python, pythonminiprojects
Published: 2022-03-16 10:00:29

> 
Engineering student projects for B.Tech and M.Tech final year students. Takeoff Edu Group offers a wide range of projects best for [python mini projects](https://takeoffprojects.com/python-mini-projects) looking for magnificent final projects at low cost.

Python is dynamically compartmented and scrap collected. It supports several programming paradigms, including structured ( particularly procedural), object- acquainted and functional programming. It's frequently described as a" battery included" language due to its expansive standard library.
We have successfully delivered python mini projects to our engineering students. Our programs are specially designed by experts for best results of python mini projects for engineering students. max of the B.Tech, M.Tech, PhD and Diploma scholars.

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

𝗧𝗮𝗸𝗲𝗼𝗳𝗳 𝗘𝗱𝘂 𝗚𝗿𝗼𝘂𝗽 provides the most creative conceptions and ideas for that can make very effective python mini projects for scholars, experimenters, and engineers. So browse through our list of python mini projects. contents and choose the smart python mini projects for your requirements moment.

<u>Few python mini projects:</u>

1. Dice roll simulator
2. Guess the number game
3. Random password generator
4. Binary search
5. Sending emails using python
6. Medium Article Reader
7. Alarm clock
8. URL shortened
9. Weather app
10. Key logger