Evolutionary algorithms are heuristic search and optimization algorithms that imitate the natural evolutionary process. This article puts evolutionary algorithms into context and explains their basic functionality. Consequently, we first examine why we prefer heuristic algorithms… Read More The post An introduction to evolutionary algorithms for dummies appeared first on The Armchair Critic.
In this article, let's try to find how many blocks a recipient should wait for before accepting a transaction. … Read More The post The number of blocks to wait for before confirming transactions appeared first on The Armchair Critic.
Service Function Chaining (SFC) leverages Network Function Virtualization (NFV) and Software Defined Networking (SDN) to create a programmable and dynamic networking paradigm that allows networks to keep up with modern demands. This article briefly discusses… Read More The post The nuts and bolts of Service Function Chaining (SFC) appeared first on The Armchair Critic.
Service Function Chaining (SFC) leverages Network Function Virtualization (NFV) and Software Defined Networking (SDN) to create a programmable and dynamic network paradigm that allows networks to keep up with modern demands. This article briefly discusses… Read More The post The nuts and bolts of Service Function Chaining (SFC) appeared first on The Armchair Critic.
Changing the authorization code redirect URI is one of the ways by which attackers try to game the OAuth 2.0 authorization framework. This article discusses how this attack works in detail and how this attack can be prevented. If you... Continue Reading → The post The Authorization Code Redirect URI Manipulation attack in OAuth 2.0 appeared first on The Armchair Critic.
In the last article, we looked at the process of mining in blockchain in depth. This article will look at how blockchain avoids double spending and how it manages to be immutable. Before we learn… Read More The post Double spending and immutability in blockchain appeared first on The Armchair Critic.
The previous article discussed transferring knowledge from one completed problem to a new problem. However, such sequential transfer of knowledge requires that there exist completed problems. But there could be times when we have to… Read More The post Multitask Knowledge Transfer in Genetic Algorithms appeared first on The Armchair Critic.
In the previous article, we looked at the motivation behind blockchain. In this article, let’s look at the challenges of a decentralized digital financial transaction system. As we saw in the previous article, in a… Read More The post Challenges of a decentralized transaction system appeared first on The Armchair Critic.
I had a tryst with the eslint exhaustive-deps rule recently. It made me go down the rabbit hole and realize that I have been using the useEffect hook wrong. In this article, I will be… Read More The post You might be using useEffect wrong the whole time appeared first on The Armchair Critic.
ASP.NET Core is a cross-platform, open-source web framework that allows you to develop MVC applications and Web APIs with ease. This article will explore how we can easily add authentication to an ASP.NET Core 7.0… Read More The post Adding authentication to an ASP.NET Core app using Asgardeo appeared first on The Armchair Critic.
Let's look at how we can adapt the right mental model of useEffect to fix the exhaustive-deps warning.… Read More The post Fixing exhaustive-deps warning in some common use cases appeared first on The Armchair Critic.
Passwords are fast becoming a thing of the past and for the right reasons. For better user experience and security, services should allow their users to log in without passwords. With Asgardeo, this should be… Read More The post Passwordless login using Asgardeo appeared first on The Armchair Critic.
React 18 introduced a completely new paradigm to the frontend realm in the form of React Server Components (RSC). Next.js 13 followed suit by introducing support for RSC through their app directory, which is in… Read More The post React Server Components vs. Server-Side Rendering appeared first on The Armchair Critic.
Invoking a parent component’s method from a child component is pretty straightforward in React. We can do it by passing the method as a prop to the child component. But what if we want to… Read More The post Call a child component’s method from its parent in React appeared first on The Armchair Critic.
In the previous article, we saw how we use a puzzle to achieve consensus. In this article, we will see how we use Proof of Work as the puzzle and how it works. As we… Read More The post How Proof of Work is used to establish consensus in blockchain appeared first on The Armchair Critic.
We discussed proving ownership of bitcoins in the previous article. Let’s discuss how verifying transactions works at length in this article. Remember that earlier we learned that the pubkey script has a few scripts in… Read More The post Verifying blockchain transactions appeared first on The Armchair Critic.
In the last article, we discussed the Merkle tree and how we can use that to ensure integrity, that is, to make sure that no transaction got added to the block after a miner mined… Read More The post What is Merkle proof and why do we need it? appeared first on The Armchair Critic.
If you have used the OIDC protocol to implement single sign-on, you would be used to receiving the authorization code as a query parameter from the identity server. However, did you know that receiving the… Read More The post Securely receiving authorization code in SPAs using form_post appeared first on The Armchair Critic.
Mininet is a popular network emulator that allows us to create virtual networks using virtual hosts, switches, and controllers. Recently, I faced the need to run multiple Docker containers within virtual hosts in Mininet. This… Read More The post Running multiple containers within virtual hosts in Mininet appeared first on The Armchair Critic.
Universal Windows Platform (UWP) allows you to write Windows applications that run across different platforms such as Windows 10, Windows 11, HoloLens, Windows Mobile (RIP), and Xbox. In this article, we shall look at how… Read More The post Integrating Asgardeo with a .NET UWP application appeared first on The Armchair Critic.