Newest Questions
24,182,996 questions
0
votes
0
answers
17
views
How do I troubleshoot the error: "__env__.fill is not a function" in ProcessingJS
I am stuck on this error when making a platformer 2 player:
__env__.fill is not a function
I simply added 1 after each instance of the word player.
I was going to then duplicate them and add 2 at the ...
Advice
0
votes
3
replies
21
views
PHP Variable Naming
If I have several variables that are only differentiated by a numerical value within the variable name, is there a way to make the numerical value a variable itself and then pass that value to another ...
1
vote
0
answers
22
views
MUI DatePicker border color won’t change on focus despite using sx and !important
I’m trying to change the border color of a MUI DatePicker component, including its focused state. I’ve tried targeting the fieldset inside MuiOutlinedInput-root with sx, even adding !important, but ...
0
votes
0
answers
32
views
TextFSM parsing column-aligned CLI output where optional columns shift due to variable whitespace
I'm trying to parse output where the records are aligned via variable white space. Here is the output in question:
VLAN Table
VLAN VLAN Name Type Secure eth0 eth1 eth2 ...
1
vote
1
answer
52
views
C++ std::span overload resolution
I want to pass a C-style array to a function taking a std::span, but overload resolution chooses to convert the array to bool instead. Is this behavior required by the standard, or is it a compiler ...
0
votes
1
answer
34
views
STM32H747 SPI+DMA transfer stopping after 8 of 50 bytes
Below is code for an STM32H747 to implement a SPI5 driver that uses DMA. The flow is that initialize is called, then startconveyor, starts SPI and prepares for a series of "bursts" (...
0
votes
0
answers
38
views
How to import a C define into racket via ffi?
raylib.h has the following definition:
#define RAYWHITE CLITERAL(Color){ 245, 245, 245, 255 }
How can I import this definition so that I can use RAYWHITE?
-3
votes
0
answers
48
views
Kubernetes pod using 10GB more memory than memory usage of programs inside the pod [closed]
I have a kubernetes pod running a C++ program that writes to a 11GB file on NFS.
For some reason, occasionally the memory usage of the pod goes up to 10.6GB. I entered the pod and checked the program ...
Advice
0
votes
0
replies
24
views
How to interpolate attribute names into translations with i18next?
Laravel has localization for authorization, validation and other types of messages. validation.php returns an array which contains error messages for validation rules. It can also have custom ...
0
votes
1
answer
58
views
Do compatible types have the same representation?
Furthermore, is the sizeof guaranteed to be the same on compatible types?
I expect the answer to both of these questions is likely "yes" in practice, but I don't see anything in the standard ...
0
votes
0
answers
29
views
Alternate App Icons in Xcode 26 with Icon Composer
Has anyone been successful at getting alternate app icons to work in Xcode 26.2 with Icon Composer icons? I've tried every suggestion I've found online (there's not many), various Info.plist configs ...
0
votes
1
answer
42
views
Why doesn't ignore option for ls work in this instance? [duplicate]
I have a program like this (the indented lines can be run multiple times):
#!/bin/bash
options=""
options+=" --ignore={"
read pattern
options+='"'
options+="$...
-1
votes
0
answers
58
views
How to simplify expressions into the form 1/3x from x/3 in Math.js?
I have an expression of kx^n where k can equal a fraction.
For example, if k = 1/3 and n = 1. Math.js will simplify it to x/3 rather than 1/3x.
How can the functionality of it outputting 1/3x be ...
Advice
0
votes
2
replies
49
views
How to healthcheck a docker container portainer-agent
Can some expert tell me how to setup a healthcheck for portainer edge agent in docker compose? Mine does not work. Many Thanks.
---
services:
portainer_agent:
image: portainer/agent:alpine
...
-3
votes
1
answer
51
views
Using libcurl multi interface in a C++ program, but it only works if there is only one transfer at a time [closed]
I'm writing an application in C++ using libcurl, designed to handle multiple http requests simultaneously, so I'm using the libcurl multi interface. I'm using libcurl 8.17.0 on a Rocky 8 Linux machine ...
-5
votes
1
answer
64
views
How do you use "this" keyword ProccesingJS
My goal is to make a skill tree that shows 1 section at a time and if you click one it goes to the next branch.
I do not know how to use it, though...
Here is my code:
//var[
var branchLocation = ...
-1
votes
0
answers
34
views
'init(frame:)' was deprecated in iOS 26.0: Use init(windowScene:) instead
I am using this file from swift-snapshot-testing library. After updating my project to iOS 26, I need to fix all the warnings. But I am not sure how to fix this one:
'init(frame:)' was deprecated in ...
2
votes
2
answers
59
views
How to do a http request for user details everytime the userID signal value changes?
I'm just getting used to performing http requests with signals in Angular 20.
I'd like a http get request to be executed everytime the profileUserID signal value (which I have defined in a user ...
-4
votes
0
answers
52
views
How to group dictionary of same hours by consecutive day that changes
I have a dictionary of type Dictionary<string, string>, each item of which has the day of week as the key, with the hours of operation as the value. The items might look like this:
[0] {[Sun,...
-2
votes
0
answers
33
views
APatch android kernel [closed]
I am trying to install overlayfs module with an APatch kernel, but i get this error.
APatch is read only.
i decide to look at partitions which may not be properly mounted,
mount -o rw,remount / //...
Best practices
0
votes
0
replies
42
views
How to pass large arbitrary data to opengl shader
I have an array of simulation states that I want to pass to a fragment shader. In this scenario each state element should result in a pixel on the screen.
In order to decide what the color of the ...
-4
votes
1
answer
47
views
Propagating logging.logger from module to single log file
I have a python project with this structure:
Project-Root/
|-- script.py
|-- utils/
| |-- utils.py
| |-- init.py
My script.py looks like this - I import logging, setup an output file, import a ...
-5
votes
0
answers
50
views
Merge official repo into custom while adding any missing lines from official but keeping any lines from custom that exist but differ
I have two repos named official and custom.
I need to merge the official repo into custom while adding any missing lines from official but keeping any lines from custom that exist but differ.
The goal ...
-3
votes
0
answers
67
views
issue with randint errors while trying to create a random key generator [closed]
I am currently trying to create a program to generate random one time use keys for fun, and am currently writing the code to generate random indices. However, I keep getting this error when trying to ...
0
votes
1
answer
42
views
How to implement a strict Content Security Policy with nonce using Apache and Angular (20.3) SSR?
I have spent the entire morning trying to implement a strict Content Security Policy (CSP) using nonces with Apache and Angular 20.3 SSR.
On the Apache side, I am able to generate a nonce correctly ...
-3
votes
1
answer
73
views
How should ACKs be handled for a 10 byte packet traveling across communication hops, starting from a JS client (BLE → UART → MCU → UART → BLE) [closed]
Architecture:
React/Ionic → BLE → ESP32 → UART → PIC16F (authoritative ACK)
→ UART → ESP32 → BLE → React/Ionic
Problem:
I currently use exponential backoff for most commands, which has been reliable ...
-4
votes
0
answers
53
views
Which YouTube video properties get deleted if not specified in an update request?
I am using the YouTube Data API v3's Videos.update endpoint to update a video. My intention is to update the video title while leaving all other video information untouched. The documentation notes:
...
-1
votes
0
answers
44
views
WPF C# thermal printer job stuck in print queue after app is idle/minimized, works only after app restart
Question
I have a C# WPF desktop application that prints invoices to a thermal printer using the Custom Print Queue (ESC/POS–style printing).
Issue:
If the application is idle or minimized for ~10 ...
0
votes
1
answer
59
views
R Code to recognize speaker turns in verbatim records with inconsistent formatting
I am trying to perform text analysis on large character strings that include multiple different speakers. I need to create a dataframe of 2 columns, speaker and turn, which have the person speaking ...
-4
votes
0
answers
38
views
Upgrading Server Mongo DB Version 7.0.3 because of critical vulnerability [closed]
I'm using Maui app in version 9, in VS 2026 , last update.
I'm using Mongo DB: with this app as follow:
Server: version 7.0.3.
Client (compass): version 1.42.2
There is a vulnerability in server ...
0
votes
0
answers
45
views
Git issues with Azure DevOps Server (TFS 2018) using Visual Studio 2022 – Pull Request UI problems, deleted branches, and permissions
I’m working with Azure DevOps Server (TFS 2018, on-prem) and Visual Studio 2022, using Git repositories hosted on TFS.
I’m facing several issues that make Git hard to use reliably in this setup, ...
-3
votes
0
answers
25
views
MySQL data base intitalization is failing [duplicate]
This is the log I get for database initialization failure
Beginning configuration step: Writing configuration file
Saving my.ini configuration file...
Saved my.ini configuration file.
Ended ...
0
votes
0
answers
32
views
WooCommerce custom category pagination using "catalog"
On a site designed almost 10 years ago, a custom rewrite enables the use of the word "catalog" as both shop and category base. I can also set "catalog" as the custom product ...
-8
votes
1
answer
55
views
N8N + Telegram: How to send inline keyboard with all available time slots in a single message for salon booking? [closed]
I'm building a Telegram bot with n8n for a hair salon booking system.
**Goal:**
1. Read available time slots from Google Calendar
2. Send ONE Telegram message with inline keyboard buttons
3. Customer ...
0
votes
0
answers
42
views
nginx reverse proxy not re-resolving dns after servers restarting
we are having an issue with nginx reverse proxy, over k8s cluster
We have an angular app served by nginx, acts as reverse proxy and as a web server, all API requests are being executed via the nginx.
...
0
votes
0
answers
51
views
How to set maximum linear and angular velocities in RealityKit's physics [closed]
My entities are moving too fast, and I'd like to set a max cap on the linear and angular velocities. It looks like I can't access the velocities directly. These fields are likely internal properties ...
1
vote
1
answer
34
views
Responsive Design using Chakra UI Show Component with When property
The newer Show component now has a when prop, but no longer has the above or below props. I'm trying to follow along with an exercise to use the Show component to display a grid item only on certain ...
-3
votes
0
answers
44
views
Automatically Detect Current SwiftUI View, Looking for Better Approaches [closed]
I’m trying to automatically detect the currently visible screen in a SwiftUI app for debugging, logging, or development tools. Ideally, I want a solution where a container view can figure out which ...
1
vote
1
answer
54
views
Python macro to enumerate only selected formulas in a LibreOffice Writer doc
I've written this LibreOffice Python macro, that prints (in ASPO terminal) the inner code of each "formula" (i.e. LibreOffice Math element included in LibreOffice Writer content) of my ...
3
votes
2
answers
122
views
How to avoid implicit conversion in C++ concepts?
Is there a way to prevent implicit conversions happening in concepts? For example, this example compiles with GCC and clang when I actually want it to give an error that the char constructor is ...
0
votes
0
answers
45
views
How to install yarn with mise version manager
I want to install yarn on my machine globally or by project basis, I installed node js with this command ` mise use --global [email protected]` , but am getting this error continuously when i run mise ...
1
vote
1
answer
41
views
Is it possible in Node to wait for a success/error from a net.socket operation before sending an Express response?
I apologize if this is impossible, unadvisable, or answered elsewhere, but I have spent a couple days trying to find an answer as well as changing/testing the code every way I could think of without ...
1
vote
2
answers
66
views
Wrap text within CSS triangle
I'm trying to create triangles with CSS then wrap text content within the triangles itself, so the triangle is the background and the text matches the triangle shape.
I've seen some examples online ...
-2
votes
0
answers
58
views
How to disable this unnecesary suggestion in C++ intellisense suggestion [duplicate]
I dont want to disable completely since I rely on suggestion of function names and variables from current file only. Also i dont want suggestion from other than current working files.
Also I get some ...
-1
votes
0
answers
36
views
Microphone Problem in Arch Linux KDE Plasma 6 Wayland [closed]
I am using arch linux kde plasma wayland so the problem i am facing is that whenever i turn on my microphone for voice typing or like voice search or anything it doesn't works but same i try on ...
0
votes
0
answers
34
views
How to put the status of a big entity into a variable in powershell? [duplicate]
when I run the following code in powershell:
cls
$Name = "SQL_PerfMon_DeepDive" # <-- your set name
logman query $Name
I get the following result:
How can I get the status bit in red ...
0
votes
0
answers
25
views
Can Detox toHaveText method be used with a Regexp ? If not, what equivalent solution can be used?
It seems that the [toHaveText(text)](https://wix.github.io/Detox/docs/api/expect#tohavetexttext) detox method accepts only a plain static string (no regexp).
However, we sometimes need to deal with ...
-1
votes
0
answers
57
views
Is it possible to display the parameters from the Json before I use JsonSerializer.Deserialize?
How can I display the function parameters(SessionTicket, Deviceid, Loginemail, Language) in Azure portal when I call my Azure function? I just want to find out if the function parameters are correct ...
-4
votes
0
answers
54
views
Compiling a Jetpack Compose Desktop app into .exe [closed]
I am trying to build a basic compose app (literally the basic one you get from the kotlin multiplatform wizard) into an .exe. I tried whatever methods Claude gave me, but nothing worked, I ended up ...
-3
votes
1
answer
45
views
django model with foreign key onto settings.AUTH_USER_MODEL fails when app is incorporated into other app using postgres
I have a survey app that works fine as a standalone app with no complaints (using sqlite).
But when I incorporate the survey app into another that is using postgres as a database, it fails to run the ...