Resolving Common Issues When Upgrading to MySQL 8.0
Encountered Problems During Installation
The steps below are based on MySQL 8.0.13, downloaded as a ZIP archive from the official MySQL website. For manual installation of the ZIP version, initialization is required after extraction. Use the following command:
mysqld --initialize --user=mysql --console
If the command fails, ensure you are runn ...
Posted on Mon, 21 Sep 2026 16:29:58 +0000 by texerasmo
Understanding DRF's APIView Implementation and Request Handling
The APIView class in Django REST Framework extends Django's base View with REST-specific functionality. Here's the key implemantation:
class EnhancedAPIView(View):
@classmethod
def as_view(cls, **initkwargs):
# Prevent direct queryset evaluation
if isinstance(getattr(cls, 'queryset', None), models.query.QuerySet):
...
Posted on Sun, 20 Sep 2026 16:00:45 +0000 by erupt
Managing Multiple SSH Keys on a Single Linux System
Scenario
A single Linux machine needs to handle multiple Git accounts or code hosting platforms simultaneously, each requiring its own SSH key pair for authentication.
Generating Multiple SSH Key Pairs
Create distinct key pairs for different accounts. For example, generating keys for three seperate identities:
$ ssh-keygen -t rsa
Generating pub ...
Posted on Thu, 17 Sep 2026 16:48:27 +0000 by RynMan
Understanding Cookie and Session for Web Authentication with Login/Registration Example
Introduction to Session Tracking
HTTP is a stateless protocol—each request from a client to a server is treated independently. To maintain user context across multiple requests (e.g., keeping a user logged in), web applications use session tracking.
A session begins when a user opens a browser and accesses a web application and ends when the ...
Posted on Thu, 17 Sep 2026 16:44:11 +0000 by micksworld
JWT-Based Stateless Authentication in Spring Boot REST Services
Why choose JWT over classic session cookies?
Cross-origin ready – the token travels in the Authorization header, so CORS is trivial compared to cookie restrictions.
Stateless – the server keeps no session store; every request is self-contained.
Protocol agnostic – works the same for browsers, mobile apps, or third-party gateways.
CSRF safe – n ...
Posted on Tue, 15 Sep 2026 16:55:08 +0000 by nocniagenti
Implementing a Senior Living Management System with SSM and Vue.js
Technical Architecture
Backend Framework: Spring Boot
Spring Boot simplifies backend development with embedded servers (Tomcat, Jetty, Undertow) and auto-configuration capabilities. The framework automatically configures application components based on project dependencies, eliminating manual setup. It offers extensive out-of-the-box features i ...
Posted on Sun, 13 Sep 2026 16:47:23 +0000 by mechew
Seamless Token Refresh: A Practical Guide
Why Seamless Token Refresh?
When performing business operations on a system page, sudden logout and redirection to the login page may occur. This is typically due to token expiration causing authentication failure.
The solution involves automatic token refresh and tokan renewal.
Approach: If a token is about to expire, generate a new token duri ...
Posted on Mon, 07 Sep 2026 16:45:01 +0000 by claire
Integrating User Authentication into ASP.NET Core with Identity
Personalization is a hallmark of modern web applications. Whether it is saving a shopping cart, remembering reading preferences, or enabling user-ganerated content, most systems need to know who is on the other side of the HTTP request. This article walkss through adding user accounts to an ASP.NET Core application by leveraging the built-in Id ...
Posted on Mon, 07 Sep 2026 16:16:01 +0000 by stow19
Converting IdentityServer4 from In-Memory Stores to a Database-Backed User Service
This guide demonstrates how to replace the default in-memory user store in IdentityServer4 with a custom service that queries a database. While IdentityServer4 provides Entity Framework (EF) based data sources, this approach shows how to implement a database-driven user store by extending its core interfaces. The focus will be on the user authe ...
Posted on Thu, 03 Sep 2026 16:33:26 +0000 by inferium
ASP.NET Core JWT Authentication Implementation
JWT Authentication in ASP.NET Core
ASP.NET Core separates authentication and authorization processes. This implementation demonstrates JSON Web Token (JWT) usage with essential components:
Identity represents user identity
Claim denotes individual credential attributes
Policy defines authorization rules
Setup and Configuration
Install require ...
Posted on Thu, 03 Sep 2026 16:04:07 +0000 by onepixel