teleren/devto huggingface dataset:
Why Mobile Apps Will Play A Vital Role In Banking and Financial Industries in 2022
Tags: android, ios, react, flutter
Published: 2022-06-16 07:18:37

Customers have switched from traditional banking to mobile banking apps as they are easy-to-use for everyday basic banking activities. According to Statista, 90% of users in the US use mobile banking apps to check their balances, view recent transactions, pay bills, and make transfers. Instead of using online banking services more and more users are switching to mobile apps.

As more people prefer mobile banking there is a change in consumers expectations. Consumers expect convenience, security, and added features that help improve their financial health. Financial institutions that do not meet these expectations risk losing customers.  

Many financial firms offer compelling mobile banking experiences. Developing high-quality in-app user experience means banks can get customers more engaged with their finances.

**Here’s why you need to hire mobile app developers as mobile apps are playing a crucial role in fintech and banking**

* Better Security
* Bill Payments
* Cashless Transactions
* 24x7 Banking Access
* Better Customer Experience
* Omnichannel Experience
* mCommerce
* Mobile Wallet
* Virtual Cards
* Trading and Investment

Financial apps developed are offering more security and features such as voice banking, making the user experience convenient. Current banking apps are smart enough to assist users with almost every financial need, such as share market, loans, bill payments, grocery payments, and much more.
How to open BBR
Published: 2022-06-16 07:13:35

Using TCP BBR on a network link with a certain packet loss rate can improve the transmission speed.

First `uname -r` to see if the kernel is >= 4.9
Enter the administrator terminal
```
su
```
run `lsmod | grep bbr`, if there is no `tcp_bbr` in the result, execute it first

```
modprobe tcp_bbr
echo "tcp_bbr" >> /etc/modules-load.d/modules.conf
```
run
```
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
```

Save

```
sysctl -p
```

run

```
sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control
```

If the result has `bbr`, it proves that your kernel has bbr enabled

run 
```sh
lsmod | grep bbr
```
If you see the tcp_bbr module, it means that bbr has been started
What if your private instances are not register automatically to your Load balancer target group ?
Tags: aws
Published: 2022-06-16 07:05:44

If the Loadbalancer ip(public) and the instance behind the loadbalancer are in the same avaiability zone, Autoscaling will create the instance automatically and register the instances in coresponding target groups(which are in turn used by your load balancer). You don't need to manually register instances to your target group. If you had to manually register the booting instance, something is wrong. Check the VPC and subnet of Load balancer and ASG network section.
Elestio API now GA
Tags: opensource, elestio, api
Published: 2023-10-11 12:14:37

---
title: Elestio API now GA
published: true
date: 2022-06-16 07:05:39 UTC
tags: opensource, elestio, api
canonical_url: https://elestio.hashnode.dev/elestio-api-now-ga
---

We have just published our REST API, its covering 100% of what you can do through our dashboard (because this is what we use internally)

Elestio API Documentation: [https://api-doc.elest.io/](https://api-doc.elest.io/?ref=blog.elest.io)  
Its available as an OpenAPI / Swagger format

_Originally published at_ [_https://blog.elest.io_](https://blog.elest.io/elestio-api-is-now-ga/) _on June 16, 2022._
N-ary Tree Level Order Traversal
Tags: leetcode, dsa, theabbie
Published: 2022-06-16 07:00:47

Given an n-ary tree, return the _level order_ traversal of its nodes' values.

_Nary-Tree input serialization is represented in their level order traversal, each group of children is separated by the null value (See examples)._

**Example 1:**

![](https://assets.leetcode.com/uploads/2018/10/12/narytreeexample.png)

**Input:** root = \[1,null,3,2,4,null,5,6\]
**Output:** \[\[1\],\[3,2,4\],\[5,6\]\]

**Example 2:**

![](https://assets.leetcode.com/uploads/2019/11/08/sample_4_964.png)

**Input:** root = \[1,null,2,3,4,5,null,null,6,7,null,8,null,9,10,null,null,11,null,12,null,13,null,null,14\]
**Output:** \[\[1\],\[2,3,4,5\],\[6,7,8,9,10\],\[11,12,13\],\[14\]\]

**Constraints:**

*   The height of the n-ary tree is less than or equal to `1000`
*   The total number of nodes is between `[0, 104]`

**SOLUTION:**

    """
    # Definition for a Node.
    class Node:
        def __init__(self, val=None, children=None):
            self.val = val
            self.children = children
    """
    
    class Solution:
        def levelOrder(self, root: 'Node') -> List[List[int]]:
            nodes = [(root, 0)]
            i = 0
            op = {}
            while i < len(nodes):
                curr, level = nodes[i]
                if curr:
                    op[level] = op.get(level, []) + [curr.val]
                    for node in curr.children:
                        nodes.append((node, level + 1))
                i += 1
            return list(op.values())
What if woocommerce rest api parameter "per_page is not working" ?
Tags: wordpress
Published: 2022-06-16 06:57:22

If per_page is not working,woocommerence will use the default page size 10, in that case , use 
filter[limit] 

for example
`
/wp-json/wc/v3/products?filter[limit]=50&page=1`
How to whitelist your EC2 instances reside in private network?
Published: 2022-06-16 06:52:15

Let's say you have private network instances, how will they connect to internet? That's when NAT comes in. NAT ip is public. And private subnets can be associated with NAT. So in that way, the instance in private subnet can connect to internet using NAT. This is very useful when you have server to whitelist your ip. Just give the NAT EIP to whitelist and problem solved. Your private instances are whitelisted.
Iniciando na programação? Então não deixe de ler esse artigo!
Tags: webdev, programming, beginners, tip
Published: 2022-06-16 06:40:18

> Parece muito complicado, mas te digo: Não é! Mas tudo vai depender do seu empenho! ( ͡° ͜ʖ ͡°)

Hoje o mercado está muito amplo para os DEV's, mas se eu te disser que sempre teve amplo e nunca vai deixar de está? Você concordaria comigo? 

Então, o que acontece? Nos últimos anos a tecnologia vem evoluindo absurdamente, o que víamos em filmes futuristas e imaginávamos que seria uma realidade muito distante, não passou de mero pensamento, pois na mesma velocidade em que pensamos sobre a tecnologia avançou!

> E como avançou!

## Mas vamos falar de programação e como podemos iniciar da melhor forma possível!

Independente da linguagem que você queira aprender, deve ser trilhado um caminho sólido para o aprendizado efetivo da linguagem de programação, e digo por experiência própria que não adianta querer pular estas etapas por mais chatas e entediosas que pareçam!

Minha ideia aqui não é criar nada motivacional, até porque não sou a pessoa ideal para isso, mas sim mostrar um pequeno Road Map para deixar mais claro o que você deve fazer e ter sucesso na jornada de estudos!

> Vamos lá!

## Road Map para estudar e ter uma boa base para iniciar no universo da programação

Mas Allisson eu nem sei o que é um Road Map... tem como me explicar? Poutz! Claro que ensino, mas de forma bem breve ok?

Um Road Map, como o próprio nome já diz é um mapa para trilhar o seu caminho de aprendizado e este termo é utilizado em qualquer área, ok? Pronto! Vamos lá ao nosso objetivo que é falar de programação!

Existe um site chamado roadmap.sh e tenho certeza que ele vai te ajudar a desenhar o seu caminho de acordo com a sua necessidade.

![Tela do site do Roadmap.sh](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vkogl72rlhrqjzrfxjgo.png)
Acesse: [Roadmap.sh](https://roadmap.sh)

Através desta ferramenta começamos a dar os nossos primeiros passos nessa longa jornada de aprendizados!

Vamos supor que queremos aprender hoje Java e não sabemos por onde começar a estudar, e vamos ver o que a ferramenta nos propõe:

![Road Map gerado através da nossa escolha](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kh5nr5g9hngfnkhjjkz7.png)

Temos tudo que devemos fazer, de forma detalhada como: Por onde começar e onde finalizar.

> Vale destacar que os itens em amarelo destacado são os passos que devem ser seguidos, em algum momento você irá encontrar algum lado a lado, e o que isso significa? Significa que você tem a opção de escolha para qual caminho vai seguir como mostra no exemplo abaixo:

![Opção de escolha](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p6niy1mojdle1v4g674m.png)
 
Neste momento você escolhe qual caminho seguir: Build Tools ou Web Frameworks? Se joga! 

Espero poder ter ajudado você a esclarecer e sanar a grande dúvida que sempre temos quando vamos iniciar nossa carreira nos estudos!
Binary Search
Tags: leetcode, dsa, theabbie
Published: 2022-06-16 06:30:39

Given an array of integers `nums` which is sorted in ascending order, and an integer `target`, write a function to search `target` in `nums`. If `target` exists, then return its index. Otherwise, return `-1`.

You must write an algorithm with `O(log n)` runtime complexity.

**Example 1:**

**Input:** nums = \[-1,0,3,5,9,12\], target = 9
**Output:** 4
**Explanation:** 9 exists in nums and its index is 4

**Example 2:**

**Input:** nums = \[-1,0,3,5,9,12\], target = 2
**Output:** -1
**Explanation:** 2 does not exist in nums so return -1

**Constraints:**

*   `1 <= nums.length <= 104`
*   `-104 < nums[i], target < 104`
*   All the integers in `nums` are **unique**.
*   `nums` is sorted in ascending order.

**SOLUTION:**

    class Solution:
        def search(self, nums: List[int], target: int) -> int:
            n = len(nums)
            beg = 0
            end = n - 1
            while beg <= end:
                mid = (beg + end) // 2
                if nums[mid] == target:
                    return mid
                elif beg == end:
                    break
                elif nums[mid] > target:
                    end = mid
                else:
                    beg = mid + 1
            return -1
Website Feedback and Ask plugin - Vue3, NodeJS
Tags: node, javascript, vue
Published: 2022-06-16 06:08:33

Hello friends,

I coded a Question Asking and Website Rating System for websites. I wrote the FE side with Vue3 and the API side with NodeJS. In this completely open source project, FE and API connections were made.
In the future, I will Deploy with Docker and publish the API side.

* The question is sent to the account you specified by e-mail,
* The feedback sent is also sent to your e-mail account.

FE:
https://github.com/ahmetilhan24/paroter-customer-questioner-client
API:
https://github.com/ahmetilhan24/paroter-customer-questioner-api

#nodejs #javascript #vue
Fireside chat hosted by Lumigo, Lambdas or containers
Tags: devops, serverless, containers
Published: 2022-06-16 06:06:02

---
title: Fireside chat hosted by Lumigo, Lambdas or containers 
published: true
description: The fireside chat of what who and why of what to use inside your stack, from APIs to authentication hosted by Lumigo
tags: devops, serverless, containers
---

Whether to use serverless or container technologies is a common question companies are asking as they modernize their applications in the cloud. But the truth is that these distributed architectures aren't mutually exclusive of each other.

[Click here to find out more and sign up](https://info.lumigo.io/webinar-container-or-lambda)
Multiply Strings
Tags: leetcode, dsa, theabbie
Published: 2022-06-16 06:00:46

Given two non-negative integers `num1` and `num2` represented as strings, return the product of `num1` and `num2`, also represented as a string.

**Note:** You must not use any built-in BigInteger library or convert the inputs to integer directly.

**Example 1:**

**Input:** num1 = "2", num2 = "3"
**Output:** "6"

**Example 2:**

**Input:** num1 = "123", num2 = "456"
**Output:** "56088"

**Constraints:**

*   `1 <= num1.length, num2.length <= 200`
*   `num1` and `num2` consist of digits only.
*   Both `num1` and `num2` do not contain any leading zero, except the number `0` itself.

**SOLUTION:**

    class Solution:
        def addStrings(self, num1: str, num2: str) -> str:
            m = len(num1)
            n = len(num2)
            if m < n:
                num1 = "0" * (n - m) + num1
            else:
                num2 = "0" * (m - n) + num2
            carry = 0
            i = max(m, n) - 1
            op = ""
            while i >= 0:
                val = carry + int(num1[i]) + int(num2[i])
                op = str(val % 10) + op
                carry = val // 10
                i -= 1
            if carry > 0:
                op = "1" + op
            return op
        
        def mulNtimes(self, num, n):
            if n == 0:
                return "0"
            if n == 1:
                return num
            op = "0"
            if n & 1:
                a = num
                b = self.mulNtimes(num, (n - 1) // 2)
                b = self.addStrings(b, b)
                return self.addStrings(a, b)
            else:
                a = self.mulNtimes(num, n // 2)
                return self.addStrings(a, a)
        
        def multiply(self, num1: str, num2: str) -> str:
            op = "0"
            n = len(num2)
            for i in range(n):
                curr = self.mulNtimes(num1, int(num2[n - i - 1]))
                if curr != "0":
                    curr += "0" * i
                op = self.addStrings(op, curr)
            return op
New achivements of Mezon PHP Framework
Tags: php, router, mezon, framework
Published: 2022-06-16 05:49:17

Hi all! Today I want to try a new format with Mezon Framework news. May be it will be more interesting for you.

## Replacing Laravel with Mezon Router

It was quite surprising for me but some people use Mezon Router to replace Laravel’s one. [Here is the proof](https://github.com/alexdodonov/mezon-router/issues/18#issuecomment-1012926779)

You can also refer to it if you need migration tips.

## Non-ASCII routes in Mezon Router

Another news for my router. New feature was implemented after the issue was [submitted](https://github.com/alexdodonov/mezon-router/issues/33).

If you need new featured in the router or in other packages of the Mezon Framework – please feel free to submit them )

But as we are speaking about non-ASCII routes let’s look at the simple example:

```php
$router->addGetRoute('кириллический-урл', ...callback...);
```

No changes in your code required. You can use non-ASCII routes as common routes.

## Plugin manager

Here I want to make a simple announce – right now I do small plugin manager wich can made web applications more  granular. 
[Subscribe for updates )](https://twitter.com/mezonphp)
Contains Duplicate III
Tags: leetcode, dsa, theabbie
Published: 2022-06-16 05:30:40

Given an integer array `nums` and two integers `k` and `t`, return `true` if there are **two distinct indices** `i` and `j` in the array such that `abs(nums[i] - nums[j]) <= t` and `abs(i - j) <= k`.

**Example 1:**

**Input:** nums = \[1,2,3,1\], k = 3, t = 0
**Output:** true

**Example 2:**

**Input:** nums = \[1,0,1,1\], k = 1, t = 2
**Output:** true

**Example 3:**

**Input:** nums = \[1,5,9,1,5,9\], k = 2, t = 3
**Output:** false

**Constraints:**

*   `1 <= nums.length <= 2 * 104`
*   `-231 <= nums[i] <= 231 - 1`
*   `0 <= k <= 104`
*   `0 <= t <= 231 - 1`

**SOLUTION:**

    import bisect
    
    class Solution:
        def containsNearbyAlmostDuplicate(self, nums: List[int], k: int, t: int) -> bool:
            indices = {}
            for i, el in enumerate(nums):
                if el in indices:
                    indices[el].append(i)
                else:
                    indices[el] = [i]
            vals = sorted(indices.keys())
            n = len(vals)
            for i in range(n):
                j = i
                while j < n and vals[j] - vals[i] <= t:
                    for a in indices[vals[i]]:
                        b = bisect.bisect_right(indices[vals[j]], a)
                        b = min(b, len(indices[vals[j]]) - 1)
                        bi = indices[vals[j]][b - 1]
                        bj = indices[vals[j]][b]
                        if 0 < abs(a - bj) <= k or 0 < abs(a - bi) <= k:
                            return True
                    j += 1
            return False
Data Backup and Disaster Recovery in the Cloud: Benefits for Small Businesses
Tags: backup, cloud, data, business
Published: 2022-06-16 05:15:29

If you're a small business owner, then you know that protecting your data is of utmost importance. In today's digital age, losing your data can be catastrophic. That's why Cloud Data Backup and Disaster Recovery solutions are so important. In this article, we will discuss the benefits of Cloud Data Backup and Disaster Recovery for small businesses, and we will provide tips on how to choose the right solution for your business.

 [Cloud Data Backup](https://www.logaster.com/blog/cloud-data-backup-and-disaster-recovery/) and Disaster Recovery solutions offer many benefits for small businesses. Perhaps the most important benefit is that they provide a safety net in the event of data loss. Whether your data is lost due to a natural disaster, human error, or malicious intent, Cloud Data Backup and Disaster Recovery can help you get it back.

Another big benefit of Cloud Data Backup and Disaster Recovery is that it can save you time and money. If you lose your data, it can take days or even weeks to recover it. With Cloud Data Backup and Disaster Recovery, you can have your data back up and running in no time. This can help you avoid costly downtime, which can be devastating for small businesses.

Finally, Cloud Data Backup and Disaster Recovery solutions can give you peace of mind. Knowing that your data is safe and sound can help you sleep better at night and focus on running your business during the day.

Now that we've discussed the benefits of Cloud Data Backup and Disaster Recovery, let's talk about how to choose the right solution for your business. There are a few things you should keep in mind when making your decision.

First, you need to consider what type of data you need to protect. Do you have sensitive customer data? Financial information? Employee records? Make sure the Cloud Data Backup and Disaster Recovery solution you choose can handle all of your data needs.

Next, you need to think about how much data you have. If you have a lot of data, you'll need a solution that can handle large backups. If you have less data, you may be able to get away with a smaller backup solution.

Finally, you need to consider your budget. Cloud Data Backup and Disaster Recovery solutions can vary widely in price, so it's important to find one that fits within your budget.

When it comes to Cloud Data Backup and Disaster Recovery, there is no one-size-fits-all solution. The right solution for your business will depend on your specific needs. However, by keeping the above factors in mind, you can be sure to find a Cloud Data Backup and Disaster Recovery solution that will work for you.
Is python slow ?
Tags: python, compiler, programming
Published: 2022-06-16 05:10:04

Here are a few superchargers 🚀 for your python.
- [PYPY](https://www.pypy.org/index.html)
 - Plane simple easy to use but 🏎️*fast*
- [Numba](https://numba.pydata.org/)
 - Boost performance with JIT. Or better yet, have an NVIDIA GPU ? 😏💵
- [Pyjion](https://www.trypyjion.com/)
 - Easy to use, small compiler. Increase performance of our 🐌 CPython.

Let's race now 😎
In the Web jungle the mighty Web jungle the IE sleeps tonight
Tags: ie, rip, internet
Published: 2022-06-16 05:06:08

In the Web jungle the mighty Web jungle the IE sleeps tonight
In the Web jungle the quite Web jungle the IE sleeps tonight
Near the web 4.0 the not so peaceful web the IE sleeps tonight
In the Windows in peaceful settings the IE sleeps tonight
Hush my windows, don't fear my darling
Make me yours default... setting dies
Ee-e-e-oh-mum-a-weh
Ee-e-e-oh-mum-a-weh
To Lower Case
Tags: leetcode, dsa, theabbie
Published: 2022-06-16 05:00:44

Given a string `s`, return _the string after replacing every uppercase letter with the same lowercase letter_.

**Example 1:**

**Input:** s = "Hello"
**Output:** "hello"

**Example 2:**

**Input:** s = "here"
**Output:** "here"

**Example 3:**

**Input:** s = "LOVELY"
**Output:** "lovely"

**Constraints:**

*   `1 <= s.length <= 100`
*   `s` consists of printable ASCII characters.

**SOLUTION:**

    class Solution:
        def toLowerCase(self, s: str) -> str:
            return s.lower()
Pure CSS The Queen's Gambit
Tags: codepen, html, css, webdev
Published: 2022-06-16 04:55:18

---
title: Pure CSS The Queen's Gambit
published: true
tags: codepen,html,css, webdev
---

{% codepen https://codepen.io/AsyrafHussin/pen/YzeZKJZ %}

<p>Speed Code Video
<a href="https://twitter.com/asyrafhussin4/status/1526580125113864193" target="_blank">https://twitter.com/asyrafhussin4/status/1526580125113864193</a></p>
Apache Airflow 2.3. Grid view the game changer.
Tags: airflow23, airflow, python, devop
Published: 2022-06-16 04:52:51

Airflow 2.3 just came out and here's what I interested about.

### Grid View replaces Tree View
![thenewgridview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/olytncfmartak9edolmt.png)
I think it's great since it's tell me the list of task with duration on the top of the grid.

I can see if a task take longer time to run than usual without hover on it or open another tab to see the duration of each task.
It's good that we can know [which file is failed](https://youtu.be/4APWCHgfmCo?t=1659) and it's make our task atomic as much as possible.


The Airflow team also mentioned that it's great for checking **mapping task** as well.



**Reference:**
- [Release note](https://airflow.apache.org/blog/airflow-2.3.0/)
What is APIs.
Published: 2022-06-16 04:41:04

API stands for Application Programming Interface.It allows different softwares to talk to eachother.It is used by developers to integrate different services into their product.

API created by server side scripting languages are used by clients to interact with webserver.

For instance lets consider a MERN stack web app in which API is created by node js which is connected with mongo database.The created API is used by REACT, which is a front end javascript library.Here front end interact with webserver using API

**EXAMPLES OF API** 

- Booking movie tickets
- Acessing weather info
- Travel bookings

**DIFFERENT TYPES OF APIs**

- REST API
- RPC
- Composite APIs
- Internel APIs
Awesome Blog on Cypress | Cypress.io
Tags: javascript, cypress, automation, testing
Published: 2022-06-16 04:32:34

Hello Guys,

If you like to learn Cypress here are some blogs from learning perspective.


## **Blogs Covered **

**Please follow me on medium ** https://kailash-pathak.medium.com/

1. Generate Cucumber .html report in Cypress
2. Cypress BDD: Use of Data Table, Background in Cypress — Cucumber
3. Approach of integrating Mochawesome custom report in cypress
4. How to Integrate Cypress Project with Allure Report
5. How to Setup and run Cypress Test cases In Azure DevOps Pipeline
6. 
7. How to run Cypress test cases across multiple domains
8. Run Cypress tests in Cross-browser Using the testing tool LambdaTest
9. Integration of BrowserStack with Jenkins to run cypress test cases
10. Cypress test case execution in CI/CD using CircleCI