teleren/devto huggingface dataset:
How do you perform API testing?
Tags: api, startup, cybersecurity, blst
Published: 2022-03-24 12:19:18

I've always been interested in learning how to use APIs and finally decided to take the plunge and learn how to use them.

When I started my journey in BLST security, I began experimenting with different APIs and trying to figure out how to use them.

Now, I feel like I have a good basic understanding of how APIs work and am able to use them to my advantage.

I'm excited to continue learning more about how to use APIs and expand my knowledge so that I can build even more amazing things, but before I move on further today, I want to talk about something I encountered rather quickly.

##So... how do you perform API testing?

API testing is a type of software testing that focuses on the application programming interfaces (APIs) directly and indirectly to determine if they meet expectations for functionality, reliability, performance, and security.

In order to perform API testing, you will need to use a variety of tools and approaches. Some of the most popular tools for API testing include SoapUI, Postman, and curl.

To get started with API testing, you should first identify the specific APIs you would like to test. Once you have identified the APIs you would like to test, you can begin creating test cases. When creating test cases, it is important to consider the various types of testing you will need to perform, such as functional testing, load testing, and security testing.

Once you have created your test cases, you can then use a tool like SoapUI or Postman to execute the tests. These tools will allow you to send requests to the API and validate the responses.

Finally, you can use a tool like curl to verify the results of your tests. Curl is a command-line tool that can be used to make HTTP requests. By using curl, you can send requests to the API and view the responses directly from the command line.

In the next article I'll write about

##Open source API Security testing tools

Until that please check [BLST Security open source](https://github.com/blst-security/cherrybomb) CLI tool - Cherrybomb which is a CLI tool that helps you avoid undefined user behavior by validating your API specifications.
Intro to deep learning
Tags: codenewbie, deeplearning, machinelearning, datascience
Published: 2022-03-24 12:15:47

Deep learning is different from ML.

Neural network is building block of DL. What is neural network?

Mathematics plays important role in DL.

It has layers like input layer, hidden layer and output layers. Simple neural network has single  hidden layer, deep learning neural network has many hidden layers.

Four important components, which are building blocks of nay DL framework

1. Optimizer - The major goal is to keep the cost function as slow as possible. Algorithms like gradient descent perform it and many more.
Objective is to minimize coft fuc.
2. Loss - ANy newural n/w it performs a func. regression or classification or any other task. There is some kind of error which is being there, one we can calculate is how much error our model is making. A func is required to catch how much error loss func is making.
3. Metrics - It is very imp to have evaluation criteria, to evaluate how well it is performing. 
4. Activation Functions - Most of the machine learning models. It introduces non linearty to your model.
ALX SE 0x02. Emacs Project With Ease!
Tags: emacsproject, alx, emacs, alxse
Published: 2022-03-24 12:01:55



// I will advice you to use the Webterm terminal in the sandbox
//  Don’t include type any where you see type echo , just copy echo & the command
// You might have to click on start a new test if you get an error while checking your code
// The done Botton turns green after a successful task so you don’t need to click on it!


*Task 0*
Navigate to /root and create a directory named 0x02_emacs

cd root & hit enter
mkdir 0x02_emacs & hit enter
got back to the project page to click on *Check your code*

*Task 1 - Opening*

cd root & hit enter
cd 0x02_emacs & hit enter 
 echo C-x C-f > opening & hit enter
 cat opening & hit enter to see your code

got back to the project page to click on *Check your code*


*Task 2 - Saving*

cd root --> hit enter
cd 0x02_emacs & hit enter
 echo C-x C-s > saving & enter
cat saving & hit enter to see your code
got back to the project page to click on *Check your code*


*Task 3 - Cutting*

cd root & hit enter
cd 0x02_emacs & hit enter
type echo C-k > cutting & hit enter
cat cutting & hit enter to see your code
got back to the project page to click on *Check your code*


*Task 4 - Pasting*

cd root & hit enter
cd 0x02_emacs & hit enter
type echo C-y > pasting & hit enter
cat pasting & hit enter to see your code
got back to the project page to click on *Check your code*


*Task 5 - Searching*

cd root & hit enter
cd 0x02_emacs & hit enter
type echo C-s > searching & hit enter
cat searching & hit enter to see your code
got back to the project page to click on *Check your code*

*Task 6 - Undoing*

cd root & hit enter
cd 0x02_emacs & hit enter
type echo C-x u > undoing & hit enter
cat undoing & hit enter to see your code
got back to the project page to click on *Check your code*


*Task 7 - Quitting*

cd root & hit enter
cd 0x02_emacs & hit enter
type echo C-x C-c > quitting & hit enter
cat quitting & hit enter to see your code
got back to the project page to click on *Check your code*

Goodluck  👍🏼
Special thanks to Kasiera Bertha and Sammy Ebogen

You can fellow me  
 https://www.linkedin.com/in/Appsorwebs/
https://github.com/Appsorweb
https://twitter.com/Appsorwebs
https://www.instagram.com/appsorwebs/
https://medium.com/@appsorwebs
https://dev.to/appsorwebs
https://www.youtube.com/channel/UCHcyk0cQzQ2RD-_kYfXrCDw
 https://web.facebook.com/Appsorwebs

You can learn a whole lot here https://t.me/appsorwebs1
5 Ways to Increase SaaS MRR Without Any New Users
Tags: saas, mrr, pricing, business
Published: 2022-03-24 11:59:42

There are many creative ways of using what you have to increase your SaaS revenue without acquiring any new users. You may think this is hard to do, but it can actually be pretty simple for most SaaS businesses. It just requires you to adjust your thinking away from seeing users as the only dial that can turn into the only dial you can't.

## 1. Charge More
The most obvious, and usually the most effective. If you're worried about what your existing customers will think, you can use new pricing models to upsell. For example, you can offer additional users at an additional cost. Or start charging for usage, or some kind of "credits" system for buying additional usage past a certain maximum amount. This won't affect most of your low-usage users. Your users who are high-usage are more likely to be affected, but they are also getting more value out of your SaaS and are usually fine paying a little extra for their extra usage.

## 2. Add On Features
If you're about to launch any new features, considering launching them as paid add-ons, instead of just attaching them to your existing plans. Alternatively, if you know your new feature is going to be popular, you can put it in your highest tier. You will likely see a few users upgrade after you announce the feature.

## 3. Send Emails
It's possible many of your users don't know what the advantages are of your higher tiers. Send out an email to your low-tier users letting them know the benefits of upgrading. You can even offer them coupons if it's not a lot of overhead for you.

## 4. Remove Your Free Plan
It doesn't have to be forever. But you might have some users on your free plan who are actually fine with paying if there's no alternative. Or if you don't want to shut it down entirely, see if you can remove some important features in the free plan to make it less valuable to stay with or more temporary.

## 5. No Unlimited Plans
The same is true of your unlimited plans. You can always get rid of these and turn them into usage-based plans, or split them into even higher tiers.

## Going Further
You can probably come up with all kinds of other ways of rearranging your pricing to incentivize your existing users to pay more. Just get creative, and pay attention to the features your users get the most value out of.
SYNTAX VS SEMANTICS; NAMING CSS CLASSES
Published: 2022-03-24 11:52:17

Let's briefly look into the concept of Structure and Semantics in Programming languages, with major references to CSS class names.

The Syntax of a programming language is a collection of rules to specify the structure or form of code, whereas, semantics refers to the interpretation of the code or the associated meaning of the symbols, characters or any part of a program. (source: techdifferences.com)

In this context, I can simply say,

Syntax relates to the rules guiding how class names can be written.
while,
Semantics refers to what class names can be interpreted to mean.

For the remaining part of today's nudget, we'll be using our understanding of Syntax and Semantics (S&S) to answer the questions;

> Q1. How do you properly name CSS class properties?

Ans
A proper or conventional CSS class name must obey both concepts of S&S.
i.e the class name must be inline with the rules guiding naming of CSS classes, and as well, it's meaning must be easily interpreted.

Consider a div containing a user's personal details.

A proper CSS class naming could be

```
<div class="user-details">...</div>

.user-details { color: #042; }

An improper class naming could be

<div class="p2">...</div>

.p2 { color: #042; }
```

> Q2. If a class name works, does it make it conventional?

Ans
There are conventional ways of naming classes, mainly to enhance development speed and debugging, one of which is the BEM (which stands for Block Element Modifier ...see my previous article for in-depth analysis).

Even though most css codes developed without any Structure or naming conventions still works, the knowledge of S&S proves that not every code that works is conventional.
Consider example 2 above, although the code works, it's is not conventional.

The concept of Semantics calls for the use of class names that are easily interpreted. I like to imagine that another developer would continue on every code I write, to help me define 'easy-to-interpret' class names.

Therefore, take out time for in-depth study of conventional class naming. 

I hope you found this insightful, do drop a comment if you did, and if you would like to read more of my articles as well.
Lifetime: an online platform for ordering at-home medical tests
Tags: ruby, programming, writing, webdev
Published: 2022-03-24 11:16:57

Lifetime is an online platform offering medical laboratory services where you can order medical tests and analyses in a couple of clicks.

[When Lifetime approached us](https://evrone.com/lifetime) for help improving their digital technology for laboratory diagnostics, they had a monolith that was, among other things, in charge of order processing. Our task was to implement the transfer of orders and their processing, as well as to make integrations internally, with a manager and nurse courier CRM to manage digital health data, and externally, providing integration with laboratories. In addition, we needed to develop a mobile API for a mobile application.
What is Oracle Fusion Financials?
Published: 2022-03-24 11:14:40

Overview: Oracle Fusion Financials training allows you to control, streamline, and automate the financial processes of your enterprise. It includes Oracle Fusion Financials fundamentals like Oracle fusion architecture, functional setup manager, activate the offer, offerings documentation, application through FSM, offerings, and approvals setup. The real-time projects and assignments deliver an in-depth understanding of creating primary ledger, executing LDAP job, data access set, creating account entries, creating standard receipt, auto accounting configuration, external cash transactions, standard receipt reversal, and creating approval groups. You will also learn Oracle fusion expenses, Oracle Fusion Purchasing, and Oracle Transactional business intelligence. Enroll in our Oracle Fusion Financials online training to become an Oracle Fusion Financial Consultant.

For More Info Visit Here

If you Want to become a Oracle Fusion Financial Professional? Get trained and Certified at [Oracle Fusion Financials Training](https://tekslate.com/oracle-fusion-financials-training) Institute
FaceSign
Tags: encryption, digitalsigniture, productivity, devops
Published: 2022-03-24 11:14:23

> FaceSign is an entirely new form of eSignature that is as simple as taking a selfie, literally. It improves the security of your documents and gives you peace of mind, without compromising the ease of use you've come to know.
 
Using anti-spoofing technology, FaceSign reduces fraud significantly.

```
[](https://www.signiflow.com/facesign-esignature-with-selfie-liveness)
```
Leveraging DEV for productive purposes
Tags: productivity, skills, firstpost, ideasharing
Published: 2022-03-24 11:13:17

Hello Guys

This is my first post on DEV, and I was just wondering what could be the most efficient ways to leverage DEV to increase productivity and skills

Do comment out whatever the methods that you employ to get the best and maximum out of DEV community

> _Take up one idea. Make that one idea your life - Swami Vivekanand (Indian Philosopher/Thinker/Warrior Monk)_

Thanks! Stay Safe and Keep Coding!!
How to check List Equality in Python
Tags: python
Published: 2022-03-24 11:12:39

Hello guys. How are you all? I hope you all fine. In this [tutorial ](https://exerror.com/python-tutorial/)we will learn about How to check List Equality in Python. so without wasting time lets learn about of this.

## Method 1: Use == operator
By using == you can check if both the list are equal or not. Lets learn about of this by given below example:

`l1 = [11,12,13,14,15]
l2 = [12,1,8,15,14,8]
l3 = [11,12,13,14,15]
print(l1 == l2)
print(l1 == l3)`

Output :

`False
True`

## Method 2: Use == and numpy.all()

By using == and numpy.all() you can check if both the list are equal or not. Lets learn about of this by given below example:

`import numpy as np
l1 = [11,12,13,14,15]
l2 = [12,1,8,15,14,8]
l3 = [11,12,13,14,15]
print((np.array(l1) == np.array(l2)))
print((np.array(l1) == np.array(l3)))`

Output

`False
[ True  True  True  True  True]`

`Conclusion
`
It’s all About this Tutorial. Hope all methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which method worked for you?
Control Value Accessor
Tags: angular, javascript, programming, seo
Published: 2022-03-24 10:59:23

[Control Value Accessor in Angular](https://pawan-kumawat.medium.com/control-value-accessor-component-as-formcontrol-in-angular-251c949915a2?source=friends_link&sk=ae5d40ea5066a99b1166a5d11634c9a5)
Created a svelte tooltip library
Tags: tooltip, svelte, sveltekit, javascript
Published: 2022-03-24 10:44:58

---
title: Created a svelte tooltip library
published: true
description: I created a svelte-actions based tooltip library
tags: tooltip, svelte, sveltekit, javascript,
//cover_image: https://direct_url_to_image.jpg
---

## Overview

I created a light weight tooltip library. It was my first time making a svelte library. But it was a breeze thanks to `svelte-kit`.

## What I made

As stated above, I created a svelte-actions based tooltip library. I'll leave links to the repo and demo page here.

Repo: [https://github.com/K-Sato1995/svelte-tooltip](https://github.com/K-Sato1995/svelte-tooltip)

Demo: [https://svelte-tooltip-k-sato1995.vercel.app/](https://svelte-tooltip-k-sato1995.vercel.app/)

## How to make a library with svelte-kit

**※ `svelte-kit package` is currently experimental at the time of writing (2022/03/24)**

`svelte-kit` makes creating a library super easy. The only notable difference between creating a library with `svelte-kit` and creating a web app with `svelte-kit` is the location of the public-facing stuff.

- The location of the public facing stuff based on what you want to create
    - `src/routes` : for creating a web app with `svelte-kit`
    - `src/lib`: for creating a library with `svelte-kit`

And with that out of the way,  all you have to do now is to write code and build & publish it by running the commands below.

```bash
$ npm run package // build the package from the code under src/lib
$ cd package // move to the package directory
$ npm publish // publish the package
```

For more information about creating a library with `svelte-kit` check out the official document below.

[SvelteKit docs](https://kit.svelte.dev/docs/packaging)
fishmust.live
Tags: laravel, php, plasticpollution, sdg14
Published: 2022-03-24 10:42:38

I am developing this website with PHP - Laravel, here is the repository: [Link](https://github.com/syaycili/fishmustlive)

FishMust.live! is a website that was created as the initial step toward a worldwide campaign to raise social awareness. 🌊 It aims to decontaminate marine water resources from plastic pollution and offer a suitable environment for underwater organisms with social interactions! 👥

https://fishmust.live

Come and Share a Post, be a Plastic Detector!
Prevent Plastic Pollution in Marine Areas!

[Video Link](https://www.youtube.com/watch?v=UbBoBqK8Zl4)


**Features:**

- You can share plastic pollution and explore what others shared.
- Plastic pollution will be appear on the map that located on homepage when a user shares a post.
Your first payload (XUMM PHP SDK)
Tags: xumm, php, sdk, xrpl
Published: 2022-03-24 10:07:53

# 3. Your first payload 

Now that we've established a connection to the XUMM platform using the SDK, it's time to send something we can sign. 
We'll send a "transaction template" to the XUMM platform, called a Payload. The lifecycle of a Payload is explained in 
more detail in [the XUMM API documentation.](https://xumm.readme.io/docs/payload-workflow)

First, create a payload by instantiating an instance of `Xrpl\XummSdkPhp\Payload\Payload`. It **must** contain a 
transaction body array formatted as per [XRP ledger specifications](https://xrpl.org/transaction-types.html). It **can**
contain a user token, options, and some custom metadata.

### 3.1 Create a payload
Our first payload will be a Payment transaction type. This is a very minimal example of a payload you can send to XUMM:
```php
$payment = new Xrpl\XummSdkPhp\Payload\Payload(
    [
        'TransactionType' => 'Payment',
        'Destination' => 'rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ', // Use your own address here
    ],
);
```

If, like in the minimal example above, no amount is entered, the end user will be able to select the currency and amount
to send in XUMM after opening the sign request. You could also add more details to your payload, as per the following 
example:

```php
$payment = new Payload(
    transactionBody: [
        'TransactionType' => 'Payment',
        'Destination' => 'rwietsevLFg8XSmG3bEZzFein1g8RBqWDZ', // Use your own address here
        'Amount' => '10000',
    ],
    options: new Options(
        immutable: true
    )
    customMeta: new CustomMeta(
        uniqid(),
        'Hi! Can you pay me please? Thanks! ❤️',
    )
);
```

### 3.2 Send the payload
Now you can pass your `Payload` object to `XummSdk::createPayload` and show the result:
```php
$createdPayment = $sdk->createPayload($payment);
$url = $createdPayment->next->always;
echo "Sign request: ${url}\n";
```

Re-run your script to see it work! You can now follow the URL in the result and scan the QR code to sign the request,
or reject it.

The first time you send a user a sign request, they'll always have to scan the QR code. Once they've signed it, you can
obtain a user token for that user and send them push notifications on future sign requests! Let's see how that's done
in the next chapter:

Next: [4. Subscribe to live status updates](https://dev.to/wietse/subscribe-to-live-status-updates-xumm-php-sdk-5131)

-- 

Credits: thank you [Pauline](https://github.com/paulinevos/xumm-php-sdk-tutorial)!
Project setup (XUMM PHP SDK)
Tags: xumm, php, xrpl, sdk
Published: 2022-03-24 10:07:51

# 2. Project setup 

_Previous: [1. Create XUMM API credentials](https://dev.to/wietse/xumm-sdk-1-get-your-xumm-api-credentials-5c3i)_

The tutorial project has a little script that will use the SDK as a dependency. Right now, it returns a 
`Hello World` response. Let's run it in our terminal:

```shell
php ./start.php   # Start server listening to port 8080 
```

You should now see `Hello World`. Great! Any time you make changes to your project during this tutorial, you'll run the
script to see the changes.

### 2.1 Include the SDK
Use composer to add the XUMM PHP SDK as a dependency to your project:
```shell
composer require xrpl/xumm-sdk-php
```

### 2.2 Add your credentials
_Note: this is the only part that won't be included in the code solution of this chapter, as everybody's credentials are
unique._

Assign the credentials you created in 
[Step 1](https://dev.to/wietse/xumm-sdk-1-get-your-xumm-api-credentials-5c3i)
to the `XUMM_API_KEY` and `XUMM_API_SECRET` environment variables (be aware you need to do this on every new terminal 
session):
```shell
export XUMM_API_KEY="{your API key}"
export XUMM_API_SECRET="{your API secret}"
```

### 2.3 Use the XUMM SDK
In `start.php`, include composer's `autoload` file at the top of the script, so that your script can find the `XummSdk` 
class:

```php
require_once './vendor/autoload.php';
```

Now instantiate the `XummSdk`. It will source your credentials from the environment variables you set in step 2.2.
To test the SDK, call `XummSdk::ping` and show the application name.
```php
$sdk = new \Xrpl\XummSdkPhp\XummSdk();
$pong = $sdk->ping();
echo "Application name: " . $pong->application->name
```

Now when you run your script your should see:
```shell
Application name: {your app name}
```
🎉 It works!

Next: [3. Your first payload](https://dev.to/wietse/your-first-payload-xumm-php-sdk-2phg)

-- 

Credits: thank you [Pauline](https://github.com/paulinevos/xumm-php-sdk-tutorial)!
Using the XUMM PHP SDK (tutorial)
Tags: xumm, php, xrpl, sdk
Published: 2022-03-24 10:07:47

In a nutshell, the [XUMM API](https://xumm.readme.io/docs/call-xumm-platform) allows developers to deliver sign requests
to their app's users, to create new transactions on the XRP ledger.

XUMM end users can then [scan a QR code](https://www.youtube.com/watch?v=P6hL1FDvF4c) or receive a push notification to 
open the sign request. When they approve it, XUMM signs it, and the transaction is placed on the ledger.

To make it easier to interact with the API, XUMM released an SDK in a number of languages, 
[most recently in PHP](https://github.com/XRPL-Labs/XUMM-SDK-PHP). This tutorial explains how to use it. Every chapter 
will have a branch with the code solution in the tutorial's Git repository. So if you get stuck, just `git 
checkout ch-2`, `git checkout ch-3`, etc.

### Prerequisites
For this tutorial, we assume you have:
- basic knowledge of PHP and the terminal
- [composer](https://getcomposer.org/doc/00-intro.md) installed on your machine
- PHP^8.1 (the SDK's required PHP version) installed on your machine
- the XUMM app on your phone, and an account
- XUMM Developer credentials. You can [register them at the XUMM Developer Console](https://dev.to/wietse/xumm-sdk-1-get-your-xumm-api-credentials-5c3i)

-- 

Credits: thank you [Pauline](https://github.com/paulinevos/xumm-php-sdk-tutorial)!