coding

The One Thing Nobody Seems To Be Talking About

The One Thing Nobody Seems To Be Talking About

The first thing that I think that happens to most of us software developers that causes us to lose hope is we are forced to cut corners. We are basically told you have to hit a certain deadline. And we start doing some work and when we get close to that deadline, we inevitably realize that it is going to take us longer than we thought. And if you are anybody that has been programming, or doing software development. Whether you are in Ops, or UX or any discipline related to software development, you know that estimates in software development…
Read More
Monitor the Performance of your Python FastAPI App with AppSignal

Monitor the Performance of your Python FastAPI App with AppSignal

While building an app with FastAPI can be reasonably straightforward, deploying and operating it might be more challenging. The whole user experience can be ruined by unexpected errors, slow responses, or even worse — downtime. AppSignal is a great tool of choice for efficiently tracking your FastAPI app's performance.It allows you to easily monitor average/95th percentile/90th percentile response times, error rates, throughput, and much more.Useful charts are available out of the box. Let's see it in action! What Can You Do with Performance Monitoring? With performance monitoring, we can track app response times, throughput, error rates, CPU consumption, memory usage,…
Read More
My first single file webpage I have no idea if this is right so pls give me some feedback

My first single file webpage I have no idea if this is right so pls give me some feedback

<!DOCTYPE html> Barirah Uddin - Student Designer <br> body {<br> font-family: Arial, sans-serif;<br> line-height: 1.6;<br> margin: 0;<br> padding: 0;<br> background-color: #f0f0f0;<br> color: #333;<br> }</p> <div class="highlight"><pre class="highlight plaintext"><code> .container { max-width: 800px; margin: auto; background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } header { text-align: center; margin-bottom: 30px; } header h1 { color: #333; font-size: 2.5em; margin-bottom: 10px; } header p { color: #666; font-size: 1.2em; } .section { margin-bottom: 40px; } .section h2 { border-bottom: 2px solid #333; padding-bottom: 5px; margin-bottom: 10px; } .section p { margin-top: 10px; } .portfolio-item { margin-bottom:…
Read More
How to use razorpay api and integrate payment gateway

How to use razorpay api and integrate payment gateway

Introduction Razorpay is a leading payment processor in India that provides end-to-end solutions for businesses and individuals. Razorpay offers a comprehensive suite of payment solutions, from payment gateway services to processing transactions and settling funds.Some of them we will be discussing here in this article. We will be using python code here but it can be replicated in other language easily because we are not using any SDK here.If you need SDK examples then let me know in the comment. Example code for razorpay api hereAPI docs can be found hereTest card details - here Step 1: Sign Up for…
Read More
Persistent and Immutable Java LinkedList

Persistent and Immutable Java LinkedList

In this article we are going to implement a persistent and immutable variation of the LinkedList in Java withpartial structural sharing for time and space efficiency gains. Introduction What is a LinkedList A linked list is a data structure consisting of a collection of nodes where each node contains a value and a reference to the next node in the sequence. Operations like adding an element to head of the list or removing an element from the head are O(1) operations. However, operations like adding an element to the end of the list or removing an element from the end…
Read More
Desenvolvimento Orientado a SOLID

Desenvolvimento Orientado a SOLID

No desenvolvimento de software, a manutenção, extensão e a flexibilidade do código são importantes para o sucesso a longo prazo de um projeto. Os princípios SOLID foram formulados para orientar os desenvolvedores na criação de código que seja mais fácil de entender, modificar e estender. Neste artigo, vamos falar de cada um dos cinco princípios SOLID e como usar com exemplos práticos em Java. 1. Single Responsibility Principle (Princípio da Responsabilidade Única) O Princípio da Responsabilidade Única (SRP) estabelece que uma classe deve ter apenas uma razão para mudar, ou seja, deve ter uma única responsabilidade dentro do sistema. //…
Read More
How to Debug Scripts in Bash

How to Debug Scripts in Bash

When I was first starting out with some command line automation and development, I remember spending many hours trying to find the error in my code, and in the end, it could be something very simple, like a comma. You may have faced the same situation as well. Knowing how to use proper debugging technique will help you resolve errors quickly. Unlike other languages, there is no debugging tool for bash where you can set breakpoints, step through code, etc. But you can enable some options in your scripts for debugging, which can help you, as follows: Enable debugging flags…
Read More
Understanding CORS: A Crucial Security Feature for Your React Applications

Understanding CORS: A Crucial Security Feature for Your React Applications

In web development, security is paramount, especially when dealing with sensitive user data. One critical security mechanism is Cross-Origin Resource Sharing (CORS). This feature, implemented by web browsers, restricts web pages from making requests to a different domain than the one that served the original page. Understanding and correctly implementing CORS is essential for any developer working with React applications. Let's dive into what CORS is, why it's important, and how you can configure it for your React projects. What is CORS? CORS stands for Cross-Origin Resource Sharing. It's a security feature designed to protect users by preventing unauthorized cross-origin…
Read More
Lifetimes in Rust explained

Lifetimes in Rust explained

I want to discuss a fundamental concept you must grasp to master the Rust programming language: “Lifetimes.” Usually, when we learn about a programming language, we reference other languages, like “it works like in JavaScript,” “it’s similar to Python,” and so on. We can’t make this analogy in this case because “Lifetimes” are peculiar to the Rust programming language. Lifetimes in Rust ensure that references are valid as long as they are used, preventing common bugs like dangling pointers and use-after-free errors. This article explores lifetimes, their significance, and how to work with them through examples. If you prefer a…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.