teleren/devto huggingface dataset:
Custom plugin development with an emphasis on RSA/HMAC encryption
Tags: kong, customplugin, encryption, plugindevelopment
Published: 2024-06-19 09:39:05

By **_Venkata Reddy Bhavanam_**
Author LinkedIn:https://www.linkedin.com/in/venkatareddybhavanam/

**Role of Zelar:**

Zelar developed a custom Kong plugin to enhance the client's security. The plugin integrated RSA encryption for robust data integrity and authentication and was adapted to support the client's unique signing string format. By modifying the open-source plugin code, Zelar seamlessly integrated the solution into the client's ecosystem, meeting their specific security requirements without disrupting ongoing operations.

**About client:**

The client, a leading digital bank in Indonesia, manages vast data critical to its operations, requiring intricate transformations across digital platforms. This process was time-consuming and prone to errors. By leveraging advanced technology and a customer-centric approach, the bank enhances its services, ensuring efficient and secure financial solutions while driving digital transformation in the Indonesian banking industry.


**Problem Statement:** 

- Need for Enhanced Security: The customer needed a solution that was not only covered by the current capabilities of Kong’s HMAC plugin but also covered the RSA encryption. This was mandatory in order fulfil their particular security requirements that use the asymmetric encryption methods.

- Custom Signing String Format: The HMAC plugin was not capable of supporting the customer's unique signing string format that uses a different separator and specific attributes, which are vital for the security processes of the company.

**Solution Provided:**

**Custom Plugin Development:**
- **RSA Encryption Implementation:** A custom plugin was created to include RSA encryption, providing secure and verifiable data integrity and authentication through a public/private key mechanism.

- **Adaptation to Custom Signing Formats:**  The custom plugin was tailored to fit the client's unique signing string format, including specific separators and attributes. It was maximally customized to be compatible with the client's security infrastructure and protocols.

**Implementation:**
 
The solution was to alter the open-source plugin code from the base of the GitHub repository of Kong to incorporate the required features. This method was effective, utilizing already available resources for that and the integration with Kong’s ecosystem was smooth. 

**Outcome:**

The execution of the custom plugin has been successful in meeting the client’s specific security requirements, thus allowing them to keep the data security and integrity high level across their applications. The feedback showed that the solution worked perfectly and did not interfere with the present activities.

For more information: https://zelarsoft.com/
Removing sensitive content from GIT | BFG
Tags: github, git, bfg
Published: 2024-06-19 09:35:32

## Using BFG

BFG is one great open source tool which is an alternative for git filter repo maintained by Roberto Tyley.

## Use Case
Today I am using this to clear alias key and password that I unknowingly pushed to the repo and is present in all the commits. It is present in gradle.properties inside android folder.

## Installation

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


You can download jar file from BFG website and install using java.

## Installing with brew

You can use: `brew install bfg `
command to install bfg directly from terminal

I had to use arch -arm64 in my m1Mac book.

`arch -arm64 brew install bfg`

## Creating backup 
It is recommended to create backup before performing the modification.

`cp -R path/to/Project path/to/Project_backup
`

## Create replacements.txt file
Write the codes or passwords in this file that you want to be removed. 

BFG crawls your repo and removes the codes from this file.

Default is changed to **Removed**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ub3v7gisw5r4xr6461im.png)
source: [](https://stackoverflow.com/a/15730571/10153866)

## Run replace text command
Now run the following command. This will change the passwords to ***REMOVED*** or custom texts and crawls all the commits and also updates them.

`bfg --replace-text  path/to/replacements.txt  path/to/Project`

After running above command, it will prompt following to be executed:

`git reflog expire --expire=now --all && git gc --prune=now --aggressive`

## Commit protection

I ran into commit protection where adding this --no-blob-protection
solved it.

## Pushing to git

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9z3edhq7nttnmb81l7am.png)
Now you can push to git using force push

git push -uf

You can now check in Git, if your updates are present now.
A very quick review on Ragdoll Physics in video games.
Tags: ragdollphysics, gamephysics, gamedev, gaming
Published: 2024-06-19 09:28:42

Have you ever noticed how characters in video games react realistically to falls or impacts? This lifelike motion is due to ragdoll physics, a technology that simulates character and object movements based on physical principles.

## What is Ragdoll Physics?

[Ragdoll physics](https://bluebirdinternational.com/ragdoll-physics/) simulates realistic movements by breaking down a character into multiple parts and applying physical rules to each part. This creates more lifelike animations, accounting for factors like weight, gravity, and momentum.

## How Does It Work?

In video games, characters are divided into parts, and physics engines calculate how these parts move and interact with the environment. This ensures realistic character reactions to various forces and impacts.

## Key Principles

Ragdoll physics relies on Newton’s laws of motion, describing how objects interact with their environment. For example, when a character jumps, the physics engine calculates the force, weight, and gravity effect, resulting in a natural-looking jump.

## Importance in Realism

Ragdoll physics enhances realism by allowing characters to react dynamically to their surroundings. Instead of following pre-determined animations, characters respond to forces and impacts in real-time, providing a more engaging and immersive experience.

## Procedural Animation

Ragdoll physics is a type of procedural animation, creating dynamic and realistic character movements through algorithms rather than manual animation. This integration often blends with keyframe or motion capture animations for seamless transitions, as seen in games like “Assassin’s Creed.”

## History and Evolution

Ragdoll physics debuted in “Hitman: Codename 47” (1997) and evolved with advanced physics engines in games like “Max Payne” (2002) and “Half-Life 2” (2004). Continuous refinements have led to realistic character movements in today’s games.

## Future Trends

Future advancements include AI integration for dynamic environmental reactions, advanced collision algorithms for lifelike movements, and soft-body physics for realistic details. Virtual and augmented reality will further enhance immersive experiences.
Is it ok to send plain-text password over HTTPS? How to pass credentials over network layer from Front - end
Tags: http, https, security, webapplication
Published: 2024-06-19 09:26:50

Sending "plaintext" passwords over HTTPS is standard practice. Due to the encryption provided by TLS, the passwords are not actually sent in plaintext.

To secure a REST API accessible on the internet, you should follow these best practices:

## Always Use TLS/SSL

Every web API should utilize TLS (Transport Layer Security), which encrypts the data transmitted between the client and server. TLS, often referred to by its predecessor's name, SSL, ensures that sensitive information like API credentials and private data are protected from interception by third parties. Websites with TLS enabled have URLs that start with https:// instead of http://.

TLS requires a certificate from a certificate authority, which also verifies the legitimacy of your API. Many cloud providers and hosting services manage certificates and enable TLS for you. If you're managing your own web server, you can use Let's Encrypt to easily obtain and manage your certificates.

## Password Hashing: Server-Side vs. Client-Side

The recommended approach is to hash passwords on the server side, just before storing them in the database. This is the safest and most preferred method. While you can hash passwords on the client side for additional security, it is generally unnecessary. Client-side hashing only makes sense if you do not trust the server and do not want to expose the actual password to it.

## Transmitting Login Credentials

When sending login credentials (username and password) to the server API, ensure that you:

1. Transmit the form data in the POST body to avoid caching and logging.
2. Use HTTPS to prevent password interception through network traffic observation.

By following these practices, you enhance the security of your REST API and protect sensitive user information during transmission.
P vs NP Problem: The Ultimate Computer / Math Puzzle
Tags: devchallenge, cschallenge, computerscience, beginners
Published: 2024-06-19 09:26:34

*This is a submission for [DEV Computer Science Challenge v24.06.12: One Byte Explainer](https://dev.to/challenges/cs).*

## Explainer

A fundamental question in computer science asking if every problem whose solution can be quickly verified (NP) can also be quickly solved (P). Solving this would revolutionize fields like cryptography, optimization, and more.

## Additional Context

The P vs NP Problem is one of the seven Millennium Prize Problems with a $1 million reward for a correct solution, highlighting its significance in theoretical computer science and practical applications.
Join Our Vibrant Laravel Developers Squad!
Tags: laravel, php
Published: 2024-06-19 09:15:47

Are you passionate about Laravel development? Whether you're a seasoned developer or just starting out, our Laravel Developers Squad is the perfect community for you. Join us as we dive into the world of Laravel, share insights, troubleshoot together, explore new packages, and discuss the latest trends shaping our industry.

### Why Join Our Squad?

**1. Community Connection:** Connect with a diverse group of Laravel enthusiasts who share your passion for coding and learning.

**2. Knowledge Sharing:** Share your expertise, tips, and tricks while learning from others. Our squad is all about mutual growth and support.

**3. Stay Updated:** Stay ahead with the latest updates, best practices, and emerging trends in the Laravel ecosystem.

### How to Get Started

Joining is easy! Simply follow these steps:

1. Click on the invitation link to join our Squad: [Join Laravel Developers Squad](https://dly.to/kVX24NYCQtg).
   
2. Introduce yourself! Start by saying hello and let us know what excites you most about Laravel.

3. Dive into discussions: Share your thoughts, ask questions, and engage with fellow developers. Your input is valuable to our community.

### Our Commitment

We strive to maintain a welcoming and respectful environment for everyone:

- **Respect:** Treat others with kindness and respect diverse perspectives.
  
- **Constructive Feedback:** Offer feedback that helps others grow without discouraging them.

- **Relevance:** Keep discussions focused on Laravel development and related topics.

### Let's Code Together!

Join us in shaping the future of Laravel development. Together, we can innovate, build, and create amazing projects. Click the link, introduce yourself, and let's embark on this exciting journey!

🔗 [Join Laravel Developers Squad](https://dly.to/kVX24NYCQtg)

See you in the Squad!
Application Programming Interface (API's) : One Byte Explainer
Tags: devchallenge, cschallenge, computerscience, beginners
Published: 2024-06-19 09:15:07

*This is a submission for [DEV Computer Science Challenge v24.06.12: One Byte Explainer](https://dev.to/challenges/cs).*

## Explainer

<!-- Explain a computer science concept in 256 characters or less. -->
Imagine APIs as the postman for your digital world. They deliver messages (data requests) between your computer (web client) and websites (web servers). They make sure everything gets where it needs to go, like your own personal courier service for the internet!


## Additional Context

<!-- Please share any additional context you think the judges should take into consideration as it relates to your One Byte Explainer. -->

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- Don't forget to add a cover image to your post (if you want). -->

<!-- Thanks for participating! -->
Discover Serenity and Wellness at the Premier SPA in Gandhinagar Sargasan
Published: 2024-06-19 09:10:07

Discover Serenity and Wellness at the Premier **[SPA in Gandhinagar Sargasan](https://spa.trakky.in/gandhinagar/spas/Kudasan)**
In the midst of our busy lives, finding a sanctuary where you can unwind and rejuvenate is essential. Our premier **[SPA in Gandhinagar Sargasan](https://spa.trakky.in/gandhinagar/spas/Kudasan)** offers a perfect escape, with a range of luxurious treatments designed to revitalize your body and mind.

Why Our SPA in Gandhinagar Sargasan Is Your Ideal Choice
We strive to provide a comprehensive and enriching experience for all our clients. Here’s what makes our SPA exceptional:

Experienced Therapists: Our team consists of skilled and certified therapists who tailor each treatment to your specific needs. With their extensive expertise and deep knowledge of various therapies, they ensure you receive the best care.
Luxurious Treatments: Our SPA menu is diverse, offering everything from traditional massages to modern wellness therapies. Whether you seek stress relief, pain management, or a moment of indulgence, we have the perfect treatment for you.
Tranquil Environment: Our SPA is designed to be a peaceful retreat. The soothing interiors, calming music, and pleasant aromas create an atmosphere that allows you to completely relax.
High-Quality Products: We use only the finest products in our treatments, ensuring you not only feel good but also experience long-lasting benefits from premium ingredients.
Signature Treatments at Our SPA
Aromatherapy Massage: This sensory journey combines the therapeutic benefits of essential oils with expert massage techniques, ideal for relaxation and rejuvenation.
Hot Stone Therapy: Utilizing the heat from smooth, warm stones, this therapy helps to loosen tight muscles and enhance relaxation.
Herbal Body Scrub: A revitalizing treatment that exfoliates your skin, leaving it soft, smooth, and glowing.
Detoxifying Mud Wrap: This treatment draws out impurities and toxins from the skin, promoting a clearer and more radiant complexion.
Benefits of Regular SPA Visits
Regular SPA visits offer numerous health benefits, including:

Stress Reduction: SPA treatments significantly reduce stress levels. The calming environment and expert techniques help release tension and promote relaxation.
Improved Circulation: Massages enhance blood flow, boosting overall health and energy levels.
Pain Relief: Many SPA therapies target chronic pain areas, providing relief from conditions such as arthritis and muscle tension.
Skin Health: SPA treatments like facials and body scrubs improve the health and appearance of your skin, giving it a youthful and radiant glow.
Book Your Experience Today
Are you ready to embark on a journey of relaxation and rejuvenation? Visit our **[SPA in Gandhinagar Sargasan](https://spa.trakky.in/gandhinagar/spas/Kudasan)** and treat yourself to a luxurious experience. Our convenient online booking system allows you to schedule your visit with ease. Don’t wait – book your appointment today and discover the ultimate in relaxation and wellness.
Benefits of Using Large Event Tents for Outdoor Gatherings
Published: 2024-06-19 09:09:27

Big Tents Make Outdoor Parties More Fun. 
You know that sometimes the weather can be hard to predict if you have ever planned an outdoor event. That’s why it’s important to have a plan for when things get rainy or too hot. An easy method great make sure that everyone stays comfortable is by using a large event tent! We’ll explore the benefits of using a big tent for outdoor gatherings. 

Advantages of Using a Big Tent 
One of the biggest advantages of using a tent big that it provides shelter from the elements. Rain, snow, and sun hot all put a damper on your party plans. With a tent, you can keep everyone cool and dry in the shade. Additionally, a tent provides a designated space for your event, where people can gather and enjoy themselves without worrying about finding a spot to sit or stand. 

Innovation in Tent Technology
Tent technology has come a way long recent years. Pagoda Tent are made from high-quality materials that tend to be long-lasting and durable. Many tents also feature advanced features like air heating and conditioning systems, making them suitable for year-round use. And with the addition of lighting and sound systems, tents can be transformed into beautiful and event functional. 

Safety First 
When planning an event outdoor safety is always a concern. Fortunately, using a event large provides a safe, controlled environment for your guests. With a tent, you can control the flow of people, prevent overcrowding, and ensure that everyone stays comfortable and safe. Tents also pose less of a fire hazard than other types of outdoor structures, making them an choice ideal events with open flames or fireworks displays. 

How to Use a Big Tent 
Using a tent big your outdoor event is easy. Simply choose a location level and free of obstacles such as trees or power lines. Make sure to stake down the A Shape Tent securely, especially if you are expecting high winds or weather bad. Consider decorations that are using lights, flowers, and banners to customize the tent and make it look festive and inviting. 

Quality and Service 
When choosing a tent for your outdoor event, it’s important to select a high-quality product from a provider trusted. Look for a tent made from sturdy, weather-resistant materials and comes with a warranty. Additionally, choose a provider that offers reliable consumer service and support, so you need if any issues arise that you can get the help. 

Applications of Big Tents 
Big Tents are suitable for a range wide of events, including weddings, parties, festivals, and corporate events. Mixed Tent can be used for everything from intimate gatherings to celebrations that are large-scale and they offer versatility and flexibility in terms of layout and design. With a tent big you can create a customized event space tailored to your specific needs and preferences. 

Source: https://www.msttent.com/Pagoda-Tent
Invitation to Test a Built-in Anonymous Crypto Wallet
Tags: react, learning, discuss, blockchain
Published: 2024-06-19 09:06:23

Hey guys,

This is Sophie. I love the vibe here, and it was very touching to see how seriously you guys treat each other's projects and are always open for discussion!

🙌 We are actually launching a Built-in Anonymous Crypto Wallet on June 26th on ProductHunt, and I would like to invite all of you to test it out! Right now, it's in the pre-launch stage. You can click 'Notify' to stay updated!

🚀 Check it out and hit 'Notify' here: [WireMin ProductHunt](http://www.producthunt.com/products/wiremin)
Top Identity Verification Solutions for 2024
Tags: ai, machinelearning, learning
Published: 2024-06-19 09:03:13

In the digital landscape of 2024, when cyber threats and data breaches are becoming a daily headline, businesses and individuals alike are turning to robust identity verification software solutions to protect their operations and personal information. In this blog article, we will examine the top identity verification software options which have raised the bar for security, usability, and innovation. From biometric authentication to AI-powered verification processes, these platforms are not just about confirming identities – they are about building trust in an increasingly interconnected world. Join us as we investigate the features, advantages, and business uses of the top software programs that are revolutionizing identity verification in 2024.

Learn more here: [Top Identity Verification Solutions for 2024](https://luxand.cloud/face-recognition-blog/top-identity-verification-solutions-for-2024/?utm_source=devto&utm_medium=top-identity-verification-solutions-for-2024)
Software Solutions That Solve Your Real Problems: Topiax to the Rescue!
Published: 2024-06-19 09:00:16

Is your business stuck in a frustrating cycle of clunky software, missed deadlines, and unmet expectations? It's time to break free and discover a partner who understands your unique challenges and delivers solutions that truly make a difference. 

At Topiax, we're not just another software development company – we're problem solvers, innovators, and collaborators dedicated to your success.

### Your Challenges, Our Mission

We get it. Whether you're struggling with:

*   Outdated technology holding you back
*   Cost overruns and missed deadlines
*   Lack of expertise in-house
*   Communication breakdowns with developers

...We've seen it all, and we have the expertise and experience to help you overcome these obstacles.

### How We Turn Problems into Solutions

1.  **We Listen:** We take the time to truly understand your business goals, your pain points, and your vision for the future.
2.  **We Strategize:** We collaborate with you to develop a tailored solution that aligns perfectly with your needs and budget.
3.  **We Execute:** Our team of skilled developers, designers, and project managers bring your vision to life, using cutting-edge technology and proven methodologies.
4.  **We Deliver:**  We go above and beyond to ensure your software is delivered on time, within budget, and exceeds your expectations.

### What Makes Topiax Different?

*   **Client-Centric Approach:** Your success is our top priority. We're always there to listen, guide, and support you throughout the entire process.
*   **Proven Track Record:**  Our portfolio of successful projects speaks for itself. We've helped businesses across various industries achieve their goals through innovative software solutions.
*   **Transparent Communication:** We believe in open and honest communication. You'll always be informed about the progress of your project and any potential challenges.

### Ready to Solve Your Software Challenges?

Don't let technology hold your business back. Let Topiax be your trusted partner in transforming your ideas into reality. 

**Contact us today at hello@topiax.xyz or visit our website at [topiax.xyz](https://topiax.xyz) to learn more about how we can help you achieve your goals.**

Let's turn your software nightmares into a dream come true!
Serving Static Page with Docker
Tags: webdev, docker, html
Published: 2024-06-19 08:50:57

Hello, I am qui! Today, we'll serve a static page with Docker.

## Installing Docker
Install it with your package manager.

Debian/Ubuntu/Mint: https://docs.docker.com/engine/install/debian/#install-using-the-repository

Arch: `sudo pacman -S docker docker-compose`

## Creating Dockerfile
Create Dockerfile. And enter to it.

We'll use nginx image. Add this: `FROM nginx:alpine`

We want to copy static site to /usr/share/nginx/html in container. Add this: `COPY . /usr/share/nginx/html`

### Complete Dockerfile

```
FROM nginx:alpine
COPY . /usr/share/nginx/html
```

## Building Container

```
docker build -t <sitename>:latest .
```

## Run Container
If you want to run site in background, run this command: `docker run -d -p 80:80 <sitename>:latest`

If you don't want to run site in background, run this command: `docker run -p 80:80 <sitename>:latest`

If you are getting port errors, change 80:80 with 8080:80.

## Credits
- https://medium.com/@tony.aloysius.77/deploying-your-static-website-with-ease-using-nginx-35cca659079f
- https://docs.docker.com/engine/install/debian/#install-using-the-repository