Adding a Custom .NET AI Module to CodeProject.AI Server
Selecting a Base AI Module
You can build an AI module entirely from scratch, or adapt one of the thousands of existing open-source .NET AI projects available online. For this walkthrough, we’ll adapt Microsoft’s TextClassificationTF sentiment analysis example from the official .NET samples repository, which classifies input text as having eithe ...
Posted on Sun, 20 Sep 2026 16:32:20 +0000 by show8bbs
Upgrading PostgreSQL from 13.6 to 14.11: A Step-by-Step Guide
Migration Context and Requirements
GitLab 17.x requires PostgreSQL 14.9+ as minimum version, necessitating an upgrade from currrent 13.6 deployment. This guide documents the in-place upgrade process for a production streaming replication enviroment.
Version Specifications
Source: PostgreSQL 13.6
Target: PostgreSQL 14.11
Upgrade Procedure
Cre ...
Posted on Sun, 20 Sep 2026 16:32:36 +0000 by Magestic
Implementing a Path Utility Class for Resource File Management in Java
Since file validation inherently involves path resolution and file reading operations, it makes sense to create reusable utility classes in a helper package. This approach allows for consistent path access across the entire application.
Create a new package named QHHelper at the same level as QHBasic, and implement a utility class for absolute ...
Posted on Sun, 20 Sep 2026 16:30:08 +0000 by justspiffy
Deploying KingbaseES Standalone Instances Using Docker Compose
Acquiring and Loading the Image
When deploying KingbaseES (KES) in a standalone environment, utilizing Docker significantly streamlines the process compared to traditional command-line installations. As the official Docker Hub does not currently host a public KES image, the installation package must be downloaded from the official website as a ...
Posted on Sun, 20 Sep 2026 16:30:15 +0000 by TheIceman5
STM32F103 GPIO Programming Fundamentals
STM32F103 GPIO Programming Fundamentals
Overview
In the previous article, we discussed the reset and clock configuration for the STM32F103C8T6 minimal system. At this point, the system clock (SYSCLK) has been configured to 72MHz through a 9x multiplication of the external 8MHz high-speed oscillator (HSE) using the PLL. With the minimal system ...
Posted on Sun, 20 Sep 2026 16:28:21 +0000 by jack bro
Essential Data Structures in Everyday Development
Several fundamental data structures are frequently used in software development to manage and organize data efficiently.
Array
An array stores a fixed-size sequential collection of elements of the same type. In C#, common variants include Array, ArrayList, and List<T>.
Accessing an element by index is O(1).
Searching for a value requires ...
Posted on Sun, 20 Sep 2026 16:27:59 +0000 by mutedgirl
Fundamental SQL Operations and Advanced Query Techniques in MySQL
Defining a New Table
CREATE TABLE members (
member_id INT PRIMARY KEY AUTO_INCREMENT,
fullname VARCHAR(50) NOT NULL UNIQUE,
years_old INT DEFAULT 0,
contact_email VARCHAR(100),
joined_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
Inserting Records
Single Row Insertion
-- Insert specific fields
INSERT INTO members (fullname, years_old, con ...
Posted on Sun, 20 Sep 2026 16:26:24 +0000 by yodasan000
ARM MDK Build Pipeline: Compilation Stages and Output File Formats
Build Pipeline Architecture
ARM MDK (Microcontroller Development Kit) orchestrates a multi-stage build process transforming source code into machine-executable binaries. The toolchain comprises armcc (C/C++ compiler), armasm (assembler), armlink (linker), and fromelf (format converter). Each stage generates distinct intermediate artifacts with ...
Posted on Sun, 20 Sep 2026 16:26:07 +0000 by fernyburn
Configuring pip Package Mirror for Faster Downloads
Problem
The default pip install package-name command pulls packages directly from the official PyPI repository at https://pypi.python.org/pypi. For users in certain regions, download speeds can be extremely slow. While you can specify an alternative mirror with the -i flag during installation, configuring a persistent default source eliminates ...
Posted on Sun, 20 Sep 2026 16:24:32 +0000 by Tazerenix
Installing MySQL from tar.xz Package on Linux Systems
Determining System glibc Version
Before downloading MySQL, identify the glibc version installed on your system:
rpm -qa | grep glibc
Common versions include glibc 2.17 and glibc 2.28. Download the corresponding MySQL package from the official website that matches your system's glibc version.
Pre-Installation Checks
Removing Conflicting Package ...
Posted on Sun, 20 Sep 2026 16:23:19 +0000 by LostNights