All Questions
24,200,584
questions
0
votes
0
answers
4
views
useLocation Hook Error: "useLocation() may be used only in the context of a <Router> component" in React Application
I'm developing a React application and I'm encountering an error when using the useLocation hook from the react-router-dom library. The error message I receive is:
Error: useLocation() may be used ...
0
votes
0
answers
2
views
CollectionView SelectedChangedCommand executes multiple times - .NET MAUI
I am using a CollectionView where I need to navigate to new page on SelectedChangedCommand.
But the command bound to SelectedChangedCommand execute multiple time for a single selection.
I have a ...
0
votes
0
answers
3
views
Why is the transpose operation commonly used to change the view of data rather than operating in memory?
Why is the transpose operation commonly used to change the view of data rather than operating in memory?
Changing the data view will obviously bring about the problem of no longer needing to **copy **...
0
votes
0
answers
3
views
Error: Not authorized to perform sts:AssumeRoleWithWebIdentity during OIDC when a PR get merged into main
I'm trying to assume a role of AWS using OIDC in my github action file but it's saying "Error: Not authorized to perform sts:AssumeRoleWithWebIdentity" When we merge PR into main but if I ...
0
votes
0
answers
4
views
JNATS microservice Future cancelled, response not registered in time, check connection status
I'm trying to call a microservice via jnats:
var message = natsConnection.request("calc",data).get(60, TimeUnit.SECONDS);
I'm getting this exception:
Future cancelled, response not ...
0
votes
0
answers
3
views
How to see certain colums and rows on an embedded google sheet on google sites
I have a google sheet with multiple tabs that I want users to be able to interact with. It is a booking system for a laptop trolley that has 30 laptops so users can book a certain amount of laptops ...
0
votes
0
answers
4
views
How to use libpixman-1.so instead of libpixman-1.so.0 when building qemu-system-x86_64?
I added libqemu-system-x86_64.so to my Android app and this happened:
java.lang.UnsatisfiedLinkError: dlopen failed: library "libpixman-1.so.0" not found: needed by /data/app/~~...
0
votes
0
answers
4
views
Telegram tapper on angular and types
Люди, нужна ваша помощь. Как мне написать программу на подобии HamsterKombat с помощью ангуляра и питона? Я читал на каком-то форуме, что для этого может понадобиться SQL, но это не точно. Это моя ...
0
votes
0
answers
6
views
How to determine number of rows in a dataset in the do loop
I have below SAS code
data original_data;
input var1 $ var2;
datalines;
A 12
B 19
C 23
D 40
;
run;
data original_data1;
set original_data;
do i = 1 to 4;
new_val = var2 + 44;
...
0
votes
0
answers
3
views
Does jobscheduler have features that Workmanager doesn't have
In the android docs it is mentioned that,
In most cases, the best option for running background tasks is to use WorkManager, though in some cases it may be appropriate to use the platform ...
0
votes
0
answers
5
views
Azure event hub to Kafka
We have to requirement to Read message from azure event hub and send it to Kafka using azure analytic stream. I could not see the output type as Kafka while looking into no-code editor of analytic ...
0
votes
0
answers
6
views
Very slow CPP color detection when checking for mass amounts of color pixels
So, I am creating a program where it counts of pure black pixels given an x,y range on the monitor. The only problem is that this method provided below takes so long to run, while in java, it can run ...
0
votes
0
answers
5
views
How to correctly get the coordinates of the cursor relative to the parent element?
Problem: There are 2 events - imgMousePressEventand imgMouseMoveEvent. When I click on the first one, I get the coordinates of the cursor's starting point. Then, when the left mouse button is pressed, ...
0
votes
0
answers
6
views
Experiencing an error when trying to import from a diffrent directory
i am trying to import a function from another file
a/b/c.py
a/1/2.py
i wanted to import a funciton from c.py in 2.py
sys.path.insert(1, '/path/to/c/py/a/b/c')
from c import function1, function2
i ...
0
votes
0
answers
3
views
Suspend API not working on 'Created' Task Status in JBPM V6.4
TaskService.suspend(id, user) is used for suspending tasks status by taking the inputs as Task Id and User Id in JBPM V6.4.
But we have some tasks in Created Status which are not being considered by ...
0
votes
0
answers
4
views
response error when working on jupyter notebook for the purpose of extracting data on tweeter
tweets = []
try:
response_json = connect_to_endpoint(search_url, headers, params)
print("Response received successfully.")
except Exception as e:
print(f"An error occurred: ...
0
votes
0
answers
5
views
How to add dynamic filter to visualization in Superset?
I want to add a filter for table visualization that will filter by the last month, taking into account the main filter applied to the entire dashboard.
For example, if there no filter I want see ...
0
votes
0
answers
3
views
Is there a way to create vertical header for table in PrimeReact library?
I want the headers in my table to be displayed vertically along the left side of the table instead of the top.
I’ve looked through the PrimeReact documentation and haven’t found a clear solution for ...
0
votes
0
answers
9
views
How to include version information in a C++ project?
I wrote a C++ static library, and I want to add version information for it in a designated header. I'm working with C++14.
I'm contemplating on multiple approaches:
Adding it as macros:
#pragma once
...
0
votes
0
answers
5
views
Azure Connection String not readable in Spring Boot application.properties
I have a Java Spring Boot app deployed on Microsoft Azure that is connected to a PostgreSQL database. I want to connect to the database using credentials stored in Azure as Connection strings. The ...
0
votes
0
answers
3
views
Deploying express api from monorepo failing on render
I am trying to deploy my express backend on render as a web service from a mono repo (github link of repo : GitHub - kartik-chausali/code-arena-turbo)
this backend uses different modules which i ...
0
votes
0
answers
3
views
npm install failed in expo react native project on MacOs M1
I was trying to install a package in expo React Native project without success. I then tried running npm install and expo upgrade. Unfortunately, npm install failed with following error message:
npm ...
0
votes
0
answers
10
views
VPS server %steal reason
We have VPS hosting for our e-commerce website which use hostinger service. The server specification is 32 GB RAM with 8cpu. Now when there is only user coming up in the website also not getting ...
0
votes
1
answer
7
views
Is it ok to replace image files in the system32 folder with other image files
I want to get custom system icons, to do this i expect you would replace files in the system32 folder. I want to replace the icons on the taskbar with "cooler" ones, so I found them in c:\...
-1
votes
0
answers
8
views
What traps Awaits a C# programmer learning the Swift Async system? [closed]
Reading about the new version of Swift I see it have Async and Await, a quick read of the Swift documentation makes it sound like the async surport built into C#.
But clealy life is never that easy!
...
0
votes
0
answers
6
views
Not able to activate virtual environment using python 3.12.0 in vs code
I'm working on webapp using python, django and html, css. For that I need to create a virtual environment for that i installed Python 3.12.0 and i run this command "py -m venv myenv" in ...
0
votes
0
answers
9
views
How do I optimally read latest data from different tables in openmrs database
I am trying to uniquely read latest patient data from openmrs database but it takes a lot of time and I want to know if their is a way I can optimize my SQL code to be efficient.
below is the initial ...
0
votes
0
answers
4
views
Module 'FirebaseRemoteConfigInterop' not found
Firebase SDK Version: Unity 12.1.0
Xcode Version: 15.4
Installation Method: CocoaPods
Firebase Product: Remote Config
Targeted Platform: iOS
Issue:
I got an error: Module 'FirebaseRemoteConfigInterop' ...
0
votes
0
answers
3
views
Precision and Scale Question in Floating-Point Column
I'm a little confused by the very last example. Here's the excerpt:
When using a floating-point type, you can specify a precision (the total number of allowable digits both to the left and to the ...
0
votes
0
answers
4
views
Playwright: how to interact with Angular Material checkbox
I have an Angular component that contains an Angular Material checkbox:
<mat-checkbox id="my-checkbox">My Checkbox</mat-checkbox>
My goal is to test the containing application, ...
0
votes
0
answers
9
views
I keep getting errors with my machine learning model
It's just a version of a model i made which predicts stocks, when I run it, it works fine, but returns errors with the output, note indentations were messed up but its self explanatory
This is the ...
0
votes
0
answers
4
views
Why textMeshPro makes gc when called SetCharArray?
I am new about unity,I found that in the function named SetCharArray, like this:
public void SetCharArray(char[] sourceText, int start, int length)
{
PopulateTextBackingArray(...
-3
votes
0
answers
9
views
Which is the best company for itad?
I am looking for the best company to provide itad services. During my research, I came to the Rapid Solutions website. Do you have experience in this field? If you have any experience, please share it ...
0
votes
0
answers
10
views
Why is binding null
when the button is clicked, it is located on a fragment, and the method from MainActivity is called. after selecting from the dialog box, the method in the fragment is called again. But in this ...
0
votes
0
answers
6
views
ERD for Learning Management System
Anyone can help me with this diagram correction?
My examiner highlighted the wrong part of my ERD, and i don't know how to fix it. I'm attempted to create an ERD for my LMS project. Here's a quick ...
0
votes
1
answer
9
views
Trying to create a grouped barchart in R - producing a stacked one instead
I am trying to create a bar chart that has the number of each species grouped into years. I want each year represented on the x axis with the number of each of the 3 species grouped next to one ...
0
votes
0
answers
8
views
a constructer declared in a type with parametere list must have 'this' constructor inisializer error
'm working on a C# project where I have an abstract base class Employee with a parameterized constructor Employee(string name). My derived class FullTimeEmployee has a constructor that takes three ...
0
votes
0
answers
7
views
Dependency 'androidx.appcompat:appcompat-resources:1.7.0' requires version 34 or later to compile
How to know a particular version of dependency can be compiled with a minimum/maximum version of Android SDK API version.
e.g. How to know Dependency 'androidx.appcompat:appcompat-resources:1.7.0' ...
0
votes
0
answers
8
views
Rust Bevy cannot run the release executable file; missing libbevy_dylib. [Ubuntu]
help !
I built Bevy on Ubuntu, but when I try to run the executable file in the target/release folder, it logs the following error:
./BevyPractice: error while loading shared libraries: libbevy_dylib-...
0
votes
0
answers
5
views
How do I set up the 3d visualizer correctly so that it shows a signal in the form of a sphere?
INET has a standard example of two hosts working (/inet/examples/wireless/obstacle).
Looking at the information on the Internet, I came across this article
This clearly shows that 3d signal ...
0
votes
0
answers
4
views
2 itemTouchHelpers for 2 recyclerviews not working
Context: WorkoutStartFragment hosts a RecyclerView (For exercises within the workout) that hosts a RecyclerView (For sets). Each RecyclerView has their own itemTouchHelper. For the exercise ...
0
votes
0
answers
13
views
How can a PDF with text and images be generated
The following snippet generates a pdf with text but the image is distorted like this
Seems the required image should be a .jpg. When I used a .png, not even a distorted image was showing in the pdf.
...
0
votes
0
answers
13
views
Cool date pickers for solidjs
Hey just started trying out solidjs few days ago on a personal website.
What date picker would you recommend for solidjs?
Tried this looks cool but not all that customizable it seems. And it doesn't ...
0
votes
0
answers
6
views
K8s Ingress Proxy Body Size Annotation Quotes Removed After Applying and Getting 413 Error
I'm working with a Kubernetes (k8s) Ingress and need to increase the upload size limit. I added the following annotation to my Ingress definition:
annotations:
nginx.ingress.kubernetes.io/proxy-...
0
votes
0
answers
10
views
I want to sort my data according to nearest location
Hi i want to get data nearby location for that I am providing coordinates so its giving right data but I want all data in sorting order by coordinates like I have searched for vadodara then it should ...
-3
votes
0
answers
7
views
whatsapp@ +256750444629 abortion pills clinic in nairobi Eldoret Mombasa Kisumu
ABORTION CLINIC pills whatsapp@ +256750444629 Your clinician may recommend taking 400–800 micrograms (mcg) of vaginal misoprostol (Cytotec) to treat a missed miscarriage during the termination of ...
0
votes
0
answers
5
views
How to create a seamless infinite loop for parallax images with framer motion in React?
I have created a ParallaxText with Framer-motion in which images move. This is the code for it:
import { useRef } from "react";
import {
motion,
useScroll,
useSpring,
useTransform,
...
0
votes
0
answers
4
views
Can't define BackgroundSocketProcessor with ASP.NET 8
I'm following the instruction by Microsoft but I can't use BackgroundSocketProcessor . Do I miss any library ?
Program.cs:
app.Run(async (context) =>
{
using var webSocket = await context....
0
votes
0
answers
7
views
Thymeleaf, Java Spring boot, trouble in get value radio th:field value in backend (biding thymeleaf)
<input type="radio" th:field="*{questoes[__${iter.index}__].respostaCorreta}"
th:value="${alternativa.texto}">
I'm working on a ...
0
votes
0
answers
15
views
Excel/Vba/ADODB: how to connet to Table only with its name, to perform a query?
I have tried to get a solution to my problem, looking also to the past questions here reported, but I didn't find a solution.
Problem: in VBA, how I can specify the name of a Excel table, inside an ...