Newest Questions
24,182,476 questions
0
votes
0
answers
13
views
I have this code, but the form is not showing up, neither do the css
When I placed the PHP just about right under the button and before the form closing tag everything worked but it SHOULD work if you place the PHP right on top of all code,.
<!--Disallowed: ...
1
vote
0
answers
9
views
Flutter FCM FirebaseMessaging.onBackgroundMessage not called on iOS release mode (data-only silent push, capabilities enabled)
In a Flutter chat app using FCM data-only pushes with awesome_notifications for local notifications, FirebaseMessaging.onBackgroundMessage works perfectly on Android (all states) and iOS debug (...
1
vote
0
answers
10
views
how implement auto answer aoo for SIP with Mizu sdk
I am trying to develop a SIP application in java env by using the Mizu JVoIP SDK.
I download del JVOIP.jar from the site and placed in lib and link it.
I write bellow source as a simple auto-answer ...
1
vote
0
answers
12
views
Why does the jquery ulslide plugin fail when my page id is greater than 9?
On https://immergruener.net I have been using the jquery ulslide plugin for galleries which isn't maintained any longer. This simple solution has worked well for many years. But recently the site ...
1
vote
0
answers
14
views
How do I change column names for complex properties?
I have the following entity:
public class CPU
{
public int Id { get; set; }
public int Article { get; set; }
public int Garanty { get; set; }
public int ServiceLife { get; set; }
...
1
vote
0
answers
13
views
AWS Lambda TargetInvocationException : could not load file or assembly 'System.Data.SqlClient, Version=4.6.1.6'
I have a .NET 8 based multi-project backend solution. It uses GitHub actions to build the build/publish project with release, that is later used by AWS Lambda to run it whenever an invocation occurs.
...
1
vote
0
answers
19
views
User providable Stateful plugins In Go
I am working on smtp library to act as mux for smpt. User define config with multiple smtp downstream servers and the service. This service will act as proxy between down streams and upstream. Purpose ...
1
vote
0
answers
15
views
Clion can't find std headers when using CMake Xcode generator
Any ideas why CLion won't find standard lib headers? It seems like some include paths are missing, but I don't know how to add them, normally they should be added automatically. Maybe I configured ...
-2
votes
0
answers
18
views
Recent library to display pandas finance data [closed]
I'm starting with mplfinance.plot() to display OHLC financial data but it seems that this library is getting old now (last update in 2023 on Pypi.org)
Is there a more recent and eventually more ...
Tooling
0
votes
0
replies
16
views
PostGIS: cluster polygons data optimally
In PostGIS/PostgreSQL, I have a table named `prediction` with about 300000 records like this:
sub_type: fk to prediction_sub_type table, end_time: timestamp, county: fk to county table, geometry: ...
1
vote
0
answers
17
views
Authorized routing issue in browserrouter in react
I have an issue with my router.tsx. The problem seems to be somewhere in the student layout, but I cannot figure out what is wrong.
As soon as I try to open localhost:5173/, it immediately checks ...
1
vote
0
answers
13
views
Solving a cubic polynomial using numpy
I intend to design the foundation of an elevated water tank, consisting of a raft with the shape shown in the image below. To do so, I need to determine the raft diameter Dr by solving the following ...
1
vote
0
answers
11
views
React Native video player getting resize in landscape mode
I am trying to create a react native video player using react native video library and when I switch to landscape mode by clicking on fullscreen icon video playing in landscape mode with full width ...
-2
votes
0
answers
31
views
Why does PHP 8 mail() give TypeError null while a string was correctly given?
I'm using a PHP 8.2 environment. For some reason, if I try to use the php mail() function with an empty string as the fifth parameter, I get the following error:
public function testmail()
{
$to = ...
Advice
1
vote
5
replies
47
views
HTML DIV Styles / Layout
In HTML, I want to do the following:
|------|------|-------|-----|
| | div2 | div3 |div4 |
| div1 | -------------------|
| | div5 | div6 |div7 |
I always want div1 to be absolute on the ...
-1
votes
1
answer
45
views
How to encode the score column to a numerical value for giving to train a machine learning model?
How do I encode the score column in my dataset for giving it to train a machine learning model ?
the score column has values like 6-4 6-2 , 3-6 3-6 and 6-7 7-5 6-3 etc. What encoding technique ...
-2
votes
0
answers
27
views
Screen Sharing Prompt - Autoclick
My goal is when using remote access via TeamViewer, to autotap on screen sharing prompt when it appears on target device ( Android 16)
I've tried adb commands , it does work.
However, when network ...
1
vote
0
answers
33
views
Calling setState synchronously within an effect can trigger cascading renders
I get the warning "Calling setState synchronously within an effect can trigger cascading renders" for my useEffect:
useEffect(() => {
if (positionData.length > 0) {
const ...
1
vote
0
answers
23
views
WPF control ignores properties when used in a template
I stumbled over a weird behavior of one of my controls that I can't really explain or fix. Maybe you can help? Properties I set in XAML seem to be ignored.
My small example code isn't really useful ...
-4
votes
0
answers
21
views
Both res.send and res.json send back only the last part of the response [duplicate]
I created a simple web app that should return a list of tasks, but when I use either res.send or res.json it sends back only the last part of the response.
Here is my app code:
const express = require(...
-4
votes
0
answers
23
views
What is correct app.ads.txt when using mediation [closed]
I am using Unity Ads only through Google AdMob mediation.
I do not integrate the Unity Ads SDK directly
All ad requests, auctions, and payments are handled by AdMob
Unity Ads is added only as a ...
Advice
0
votes
0
replies
25
views
Custom "OAuth2" in .NET
OAuth2 is a common standard for authorization. However, I see some simple implementations (for me, they have nothing to do with OAuth2) where they simply expose an endpoint and expect client_id and ...
1
vote
1
answer
50
views
How to move a certain file to another directory?
Recently, I’ve been working on a small project that allows you to download information about a person who has participated in a powerlifting meet. The data comes from OpenIPF.
In this project, a CSV ...
1
vote
0
answers
19
views
Force sequencing in XProc when a p:for-each only has side effects?
I’m using XProc 3.0 with XML Calabash 3. I have a pipeline where:
I iterate over a directory of XML files
For each file, I run an XSLT trasnformation and store a modified version back to disk
After ...
1
vote
1
answer
24
views
Can I install XrootD in google colab
I am trying to install XRootD in Google Colab, and I have two questions regarding the installation process:
1. Is it even possible to install XRootD in Google Colab?
2. If yes, from where should it be ...
Advice
0
votes
0
replies
12
views
Embedding OWASP ZAP in a project and generating reports using Browser + Zest scripts
I’m working on a project where we want to embed OWASP ZAP (Zed Attack Proxy) into our application workflow.
The idea is to use a browser driven by ZAP together with Zest scripting to record traffic, ...
2
votes
1
answer
23
views
Android Instrumentation test : Run button icon is not appearing & facing Cannot find declaration to go to - classes not getting resolved
I'm trying to run instrumentation tests but
Classes are not getting resolved, getting Cannot find declaration to go to
Run button icon is not appearing for @Test functions so not able to run tests
...
2
votes
0
answers
26
views
pydev path mapping with virtual env
see also
pydev debug server shows error that doesn't apply
pydev debugger: unable to find translation for: (please revise your path mappings)
https://stackoverflow.com/a/41765551/1497139
When ...
1
vote
0
answers
19
views
Accessing postgres db using pgxpool in a goroutine
I have created a function to return the db connection of a postgresdb using pgxpool. But I don't want to cerate multiple pools since i will be calling this function each time to execute a query.
Since ...
1
vote
0
answers
19
views
Visual Studio "Package Restore Failed" when scaffolding a WebAPI Controller with EF Actions
I've created an ASP.NET Core 8 Web API project. I've created a number of controllers over the last months that I've been working on this. I use the scaffolded controllers (API with EF actions) as a ...
-2
votes
1
answer
32
views
Code changes are not applied when running docker container
I have containerized a Rails app, which I'm currently working on. Therefore I used the Dockerfile, which is provided with Rails 8.
Building and running the app works great:
docker run -p 8080:3000 -v $...
1
vote
0
answers
13
views
CrudRepository List<T> query of parent entity T with OneToMany child entity returns a lazy list of parent entities
Can someone explain to me the following behavior I'm seeing. I have the following simple setup.
@Entity
public class Contract {
@Id
private Long id;
...
@OneToMany(mappedBy="contract"...
-3
votes
0
answers
35
views
Work with 2 different character sets in MySQL
mysql> SELECT t.table_catalog AS catalog, t.table_schema, t.table_name, "" AS owner, CASE WHEN t.engine = 'InnoDB' THEN (SELECT st.table_id FROM information_schema.INNODB_TABLES st WHERE ...
3
votes
0
answers
23
views
HighCharts updates series slowly
I need to plot wellbores at a horizon map and at a vertical section.
I have no problems with the maps, but vertical sections may have different directional angles, so I have to project my wellbore's ...
-2
votes
0
answers
43
views
How to conditionally run individual jobs based on specific path changes?
In GitLab CI if I want to conditionally run an entire CI file based on certain changes, I'd use include[*].rules.changes:
include:
- local: .gitlab/ci/file.yml
rules:
- changes:
-...
-2
votes
0
answers
43
views
Localhost links wrongly trigger blank VSCode [closed]
I am using AMPPS to execute PHP Mysql and Apache. Recently I started using VS code in order to develop the PHP pages. But every time I open one of the links that my localhost PHP file has it also ...
-3
votes
0
answers
37
views
Fedora | SD with ext4 partition doesn't mount [closed]
I've got a brand new micro SD for my Raspberry Pi an wanted to format the partition as ext4.
It doesn't matter if I create the filesystem via the Disk application or via terminal, I can't mount it ...
2
votes
1
answer
28
views
Not able to validate the error tooltip as it does not show in DOM
I am using Playwright to automate a website: https://demo.automationtesting.in/Register.html
Without filling anything, click on Submit. An error tooltip will show up. I would like capture and validate ...
4
votes
0
answers
69
views
How do I get the display's precise refresh rate?
Currently, I'm using Component.getGraphicsConfiguration().getDevice().getDisplayMode().getRefreshRate() to get the monitor's natural framerate. However, that returns an integer, and my monitor's ...
1
vote
0
answers
26
views
Staged Changes not showing in Android Studio
I started working on a clean local version of the master branch and created a directory and a file (special_files_release/f). This file was created with touch so it had 0 bytes. I then renamed the ...
1
vote
1
answer
20
views
in jenkins how create a pod template with the "Raw YAML for the Pod" filled througth manifest, with helm
in jenkins I want to create a pod template with the "Raw YAML for the Pod" filled througth manifest, with helm at the moment when Jenkins is created
I have a jenkins-controller.yaml where ...
2
votes
3
answers
42
views
Not using require but still getting "require is not defined"
I'm getting the error message:
(global) - index.js:1:0
ReferenceError: require is not defined
The solution I keep seeing online is to use ES6 modules and export/import rather than using require. ...
-3
votes
1
answer
46
views
What is the best way of returning a new array with mapped indexes
I want to be able to return an array that does the following:
Using the f1_driver_draw array I want to build a new array returning the values from f1_driver_number_index array.
For example the new ...
1
vote
1
answer
28
views
Getting the id/name of the state triggered by a boolean parameter in Unity animator controller
Here's the situation: in my project, parameters (triggers) across all objects have the same name, unlike the states, that can vary from object to object for reasons beyond my control, for the lack of ...
-4
votes
0
answers
27
views
Is a shadow with parallax effect expected from libfreenect and Xbox 360? [closed]
I’m using libfreenect v0.7.5 (latest) on the recent raspberry pi OS (trixie, Debian 13.1) on a Raspberry Pi 5/16GB.
I see the following symptom with my own code using the Python wrappers and the ...
-4
votes
0
answers
61
views
How is compatibility achieved between native code and .NET code in C++/CLI? (technically)
C++/CLI allows compatibility between native and .NET code, and vice versa.
According to Microsoft, this compatibility is due to the assembly containing both native and MSIL code, allowing native code ...
0
votes
0
answers
26
views
java.lang.ClassNotFoundException using exec:java in maven
I have struggle in using the exec:java plugin in a multi-modules maven project.
After using this command: mvn clean compile exec:java -Dexec.mainClass="com.ade.logic.ServerInitializer" it ...
-5
votes
0
answers
45
views
Linking Errors when Creating a Shader Class [closed]
I have been trying to create a shader class to read files and make a shader program:
Header:
#pragma once
#include <GLAD/glad.h>
#include <iostream>
#include <fstream>
#include <...
Advice
0
votes
0
replies
22
views
How do I make directional movement in my 3D Raylib game
I am currently making a 3D game with C# in Raylib a game library and when coding the movement of my player which is just a hitbox and a camera, I ran into a problem on how the player movement controls ...
0
votes
1
answer
24
views
Spring Cloud Stream: "Failed to locate function" warning when using custom Consumer abstraction
I am encountering a warning when starting my application using Spring Boot 3.5.8 and Spring Cloud Stream 2025.0.0.
To provide some context, I created an abstraction over Consumer to handle boilerplate ...