MYSQL replacing string to number

Summary The problem at hand involves converting a string in the format ‘Mar-2025’ to ‘3-2025’ and vice versa in a MySQL database using PHPMyAdmin. Date formatting and string manipulation are key concepts here. The user has tried various methods recommended by chatgpt but was unsuccessful. Root Cause The root cause of the issue lies in … Read more

Android Auto in Flutter

Summary The Flutter Android Auto app does not appear on the Desktop Head Unit (DHU) due to a misconfiguration in the Android Auto setup. The app is designed to use the CarAppService and communicate with Flutter using MethodChannel. However, the app fails to show up on the DHU, indicating a problem with the native connectivity. … Read more

How to convert a daily time series into a monthly one?

Summary Converting daily time series into a monthly time series is a common task in data analysis, particularly when dealing with financial, economic, or environmental data. This process involves aggregating daily data into monthly data, often using the last day of the month as a reference point. Root Cause The root cause of the challenge … Read more

Best algorithm for doing fixed-point euclidean difference?

Summary The problem at hand is to find a fast algorithm for computing the fixed-point Euclidean distance in 3D space on a 32-bit RISC-V processor with fast multiply but no arbitrary divide. The current approach involves calculating the distance squared using 16.16 fixed-point math and then performing a square root operation. Root Cause The root … Read more

Why does using an array in EF Core LINQ queries instead of a list cause performance issues in .NET10 / C#14.0?

Summary The recent upgrade to .NET10 from .NET9 has introduced performance issues in existing EF Core LINQ queries. The root cause of this issue is the use of arrays instead of lists in these queries. In this article, we will explore the reasons behind this performance degradation and why switching to lists resolves the issue. … Read more

How to build a xtensa-esp32-elf toolchain that is able to run on Android aarch64-linux-android?

Summary The goal is to build a xtensa-esp32-elf toolchain that can run on Android aarch64-linux-android. The initial attempt using crosstool-ng resulted in a toolchain with libc statically linked, leading to large executables. An alternative approach using the Android NDK for dynamic linking encountered issues with unrecognized command-line options. Root Cause The root cause of the … Read more

Upgradin to .Net 10: System.PlatformNotSupportedException : Microsoft.Data.SqlClient is not supported on this platform

Summary The System.PlatformNotSupportedException is thrown when running tests in Azure after upgrading a .NET 8 project to .NET 10 and updating all NuGet packages. This error occurs despite adding the Microsoft.EntityFrameworkCore.SqlServer NuGet package directly to the project. Root Cause The root cause of this issue is that Microsoft.Data.SqlClient is not supported on the platform being … Read more