StackOverflow.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (13 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Flyon UI angular@^21.x integration gives has no exports [import-is-undefined] error

17 February 2026 @ 5:38 am

After installing FlyonUI into angular 20.x and 21.x, I am unable to import and use the components. for example import { HSAccordion } from "flyonui/flyonui"; Generates a warning in the console with the message Import "HSAccordion" will always be undefined because the file "node_modules/flyonui/flyonui.js" has no exports [import-is-undefined] As mentioned in the message, the component is not usable and gives a error in the browser console when the page is loaded. The `html` based designs and interactions work find. I don't have this issues with flyonui integration for angular 19.x. How can this issue be resolve?

I Have two Github accounts how to switch

17 February 2026 @ 5:35 am

I have two Github accounts one for my personal use and one created for my job usage, Previously I used git bash to push my code into my repos but when I started my job I was told that I have to use my company's account to push code, They took my laptop and removed my Personal Github credentials from the credential manager because I was unable to push code from vscode into the company repo but now I want to push my personal code into my personal account how to do that, my laptop has windows 11 and I use vscode for most of my work. I am a beginner when it comes to this please forgive me if I haven't given any important details or my question doesn't adhere to the normal stack overflow style any suggestions are welcomed.

Why did /var/log/syslog grow to 35GB on Ubuntu 22.04 despite weekly logrotate?

17 February 2026 @ 5:33 am

On Ubuntu 22.04, /var/log/syslog unexpectedly grew to 35GB. The system uses rsyslog with the default logrotate configuration: /var/log/syslog { rotate 4 weekly missingok notifempty compress delaycompress sharedscripts postrotate /usr/lib/rsyslog/rsyslog-rotate endscript } logrotate.timer is enabled and active: systemctl status logrotate.timer Relevant output: Active: active (waiting) Trigger: daily Disk usage summary: sudo du -sh /var/log/* 35G /var/log/syslog 6.4M /var/log/syslog.1 1.7M /var/log/syslog.2.gz 588M /var/log/syslog.3.gz Given this configuration and an active logrotate timer, I would expect weekly rotation to prevent the active log file from reaching this size. Why would /var/log/syslog grow to 35GB despite rotation being configured? Under what circumstances would logrotate fail to rot

Running a AI forecasting Model in Node without using the python Compiler

17 February 2026 @ 5:24 am

I am currently working on a project where I am using an AI model for forecasting but the challenge here is I should not use python compiler so I must use only node js for that to build the model. I Need to know is there any way to implement and get the inference in node or there is any way in training the model in node itself. Another problem is that here the data are vast and the parameters are way too much it will be around 70 to 80 parameters so that must with hold it and give good performance and the data are very much likely to be flat and have a very slight differences

I am building an authentication system using OTP verification. Should OTP be stored in a database or in an in-memory store like Redis?

17 February 2026 @ 5:18 am

For an application expecting 4–5 lakh daily login and authentication requests, what is the recommended production architecture? Should authentication data be handled using a database, Redis cache, or a hybrid approach for better performance and scalability?

mingw32-make fails with Error 1 on Windows even though gcc works manually

17 February 2026 @ 5:09 am

I am begginer trying to compile a C project on Windows using mingw32-make, but I keep encountering an Error 1 during the linking/compiling stage. If I copy the exact same gcc command and run it manually in my terminal (CMD/PowerShell), it works perfectly. The Error(in VS code, git bash terminal): ~/Downloads/C_train/C (main) $ mingw32-make Compiling user/calculator.exe with dependencies gcc -Wall -Wextra -MD -MP -o user/calculator.exe launcher.c mingw32-make: *** [Makefile:46: user/calculator.exe] Error 1 Makefile EXECUTABLES=$(foreach f,calculator.exe bin/calculator_Core.exe,user/$(f)) WARNINGFLAGS=-Wall -Wextra HCHECK=-MD -MP # --- RULES --- all : $(EXECUTABLES) # buiding the launcher $(word 1,$(EXECUTABLES)) : launcher.c @echo Compiling $@ with dependencies gcc $(WARNINGFLAGS) $(HCHECK) -o $@ $< Folder Structure

Is there a way to publish a Power BI report with empty filter context?

17 February 2026 @ 5:08 am

This is my problem: I develop with Power BI Desktop taking information from SSAS. Everything local. Then I publish the report to Power BI service, that will use the information from SSAS on a VM on Azure. Since the .pbix "remembers" the last values selected in the slicers before it's saved, then the user will see invalid values, as the report was saved in a development environment with development data. What is the best practice to publish a Power BI report with slicers? The slicers should contain fresh data from SSAS production.

Unity Android crash with SIGSEGV in libil2cpp.so on Nokia T20 (Mali-G52, Unity 6000.0.60f1, IL2CPP)

17 February 2026 @ 5:07 am

Unity Android crash with SIGSEGV in libil2cpp.so on Mali-G52 (Nokia T20, Android 13, Unity 6000, IL2CPP) I have a Unity Android game that crashes on a specific device with a native crash inside libil2cpp.so. The crash only occurs on this device and works correctly on other Android devices. I am trying to understand the root cause and how to debug or fix it. Unity version Unity 6000.0.60f1 Device information Device: Nokia T20 Android version: 13 (API level 33) CPU architecture: ARM64 GPU: Mali-G52 RAM: 4 GB ABI: arm64-v8a Build settings Platform: Android Scripting Backend: IL2CPP Target Architectures: ARM64 only Managed Stripping Level: Medium IL2CPP Code Generation: Optimize for runtime speed C++ Compiler Configuration: Release Development Build: Disabled Script Debugging: Disabled Graphics settings

Supabase Realtime doesn't receive INSERT events when writing via Prisma (Transaction Pooler/PgBouncer)

17 February 2026 @ 4:56 am

I'm currently building a real-time chat application using Next.js, Supabase, and Prisma, but I've got problem with the Realtime subscriptions. The Context My setup is: Frontend: Next.js with the supabase-js client (using the anon key). Backend: Node.js using Prisma to handle database writes (using transaction pooler). Database: Supabase Postgres. The Problem The Supabase client on the frontend successfully connects to the WebSocket channel. The status logs as 'SUBSCRIBED'. However, when user sends message from the frontend, I create a new message using Prisma on the backend, the frontend never receives the INSERT event. If I manually refresh the page, the new message appears, so I know the data is being successfully written to the database. T

iOS Universal Link not working when called from a PDF opened within the associated app

17 February 2026 @ 4:54 am

We have an application which is available both via browser and via iOS and Android apps, using the same path scheme (e.g. www.example.com/#/resource/123 on the website and resource/123 in app). iOS universal links are correctly configured and working, however, we have an app function which generates a PDF files, which contains links (e.g. www.example.com/#/resource/123 ) that should be handled as universal links and so opened with the app itself. If the PDF is generated and thus opened from within the app, universal links do not work, they are opened in the default browser instead, while clicking on a link from the exact same PDF, downloaded and opened outside of the app, works correctly, opening the route in the associated app. Both out web application and iOS version share the same Vue.js codebase, made with Capacitor, in our route.js file we have a listener that works like this: import { App } from "@ca