Newest Questions
24,231,667 questions
0
votes
0
answers
4
views
React 19 project not working after installing React Router DOM
I started a new project using React 19. After setting up the project, I installed react-router-dom, but my application stopped working. I'm not sure what's going wrong.
Here’s what I did:
Created a ...
0
votes
0
answers
3
views
why snap7 polling return miss data?
I encountered a problem, when I used the as_db_read to read the DB,
I found that there is a data in the returned result that is inconsistent with the return result of the db_read,
which is amazing, ...
0
votes
0
answers
4
views
What does 'arduino-builder returned 139' when uploading a sketch?
Setup: I am using an Apple M2 Mac (running Sequoia) in conjunction with an Arduino Uno to program a basic ATTiny85 chip. The boards are all up-to-date in the board manager. The electronics are set up ...
0
votes
0
answers
2
views
Unable to unpair Matter accessory in Swift
I’m using the MatterSupport framework to integrate Matter devices in my iOS app, following this documentation:
https://developer.apple.com/documentation/mattersupport/adding-matter-support-to-your-...
1
vote
0
answers
10
views
How is np.repeat so fast?
I am implementing the Poisson bootstrap in Rust and wanted to benchmark my repeat function against numpy's. Briefly, repeat takes in two arguments, data and weight, and repeats each element of data by ...
0
votes
0
answers
2
views
Sending email in Jenkins with content from a file
I am unable to access the content of my file through Jenkin's Email System under post build actions.
However, the email that I received says:
ERROR: File 'D:/dontdelete/jenkinslogs/tvendpalltestmail/...
0
votes
0
answers
3
views
why WrongTypeOfReturnValue has been returned when i mock Thread.isAlive()?
I was trying to mock Thread.isAlive() in my UT,my code is as follows:
Thread mockThread0 = PowerMockito.mock(Thread.class);
PowerMockito.doReturn(false).when(mockThread0).isAlive();
but an error is ...
0
votes
0
answers
11
views
Same python script works in base environment but not in created environment in vs code
I have multiple python scripts meant for geospatial data processing.
I had created an environment to run these scripts with following specific libraries installed: gdal, pandas tqdm geopandas numpy ...
0
votes
1
answer
6
views
How to trigger GitHub Actions workflow only for specific label events (not all labels)
I have a CI orchestration workflow that I want to trigger only when:
A PR is opened, synchronized, or reopened
A specific label (let's call it "run-special-ci") is added or removed from a ...
0
votes
0
answers
12
views
Specify multiple constraints on generic type when implementing method on generic struct
When implementation of some method is no different for multiple types but different for some other types, how can I write only one implementation that will encapsulate implementations for those types ...
0
votes
0
answers
7
views
dotnet publish fails intermittently when publishing a WinForms app via code to automate setup buildig
I'm automating the setup generation (.msi) file of a of a WinForms app using a C# console tool that invokes dotnet publish via code.
The reason I'm automating it is because I need to create multiple ...
-1
votes
0
answers
6
views
light.exe : error LGHT0306 : An error (E_FAIL) was returned while finalizing a CAB file
Running two Windows 11 Pro vms on Fedora Linux. One vm runs light.exe 3.11.2 just fine and creates the .msi. The other vm has this error when trying to create the .msi using the exact same codebase, ...
-1
votes
0
answers
8
views
Sequence/Messaging diagrams generation based on code detection and/or annotations?
I'd like to create sequence or message diagrams from annotations in code, or by auto-detection of endpoints and client classes. But I cannot find any library/tool to do that. Need to create several ...
-1
votes
0
answers
9
views
how can i use spring-boot-starter-mail dependency in Spring Boot which provides built-in support for sending emails
i have to create a poc For reset password i need to send email with url how can i use spring-boot-starter-mail dependency in Spring Boot which provides built-in support for sending emails in my ...
0
votes
0
answers
7
views
Any way to disable HTML scroll for any page containing inner scrollable component?
I am facing an issue which happens only in iOS devices. I'm using Nextjs 15.2.3.
Whenever I visit a page which contains an inner scrollable component (a list for example), I can drag as well as scroll ...
0
votes
0
answers
7
views
"Cannot convert numpy.ndarray to numpy.ndarray" error while read csv using pandas?
Just simply read a csv using pd.read_csv("xxx.csv"). Has anyone experienced the following error?
Python 3.9 works. And I am sure the csv has no issue.
Python 3.11.11 (main, Dec 11 2024, 10:...
0
votes
0
answers
5
views
How to add npm cache by using the tarball package
I use npm install ffmpeg to install ffmpeg, and then use npm-pack-all to pack the package.
Now, clean the cache and list the cache:
# npm cache clean --force
npm WARN using --force Recommended ...
-1
votes
0
answers
11
views
not able to log in to Azure managed grafana, https://xxx-xx-x--x--x-x-x.neu.grafana.azure.com,
not able to log in to Azure managed grafana, https://xxx-xx-x--x--x-x-x.neu.grafana.azure.com, form company network give error -->https://sso.neu.grafana.azure.com/login/azuread
I have grafana ...
-2
votes
0
answers
14
views
Python Slicing using tuples and : slice operator
I want a generic way to get each column from an ndarray so I can write them one at a time to another file. The file only accepts 1 column at a time. I also need to know the index numbers for the yz ...
0
votes
0
answers
5
views
"No type or protocol named 'RCTModuleProvider'"
I am following this documentation to implement a C++ TurboModule:
https://reactnative.dev/docs/the-new-architecture/pure-cxx-modules
I had no problem with android, but on iOS, using XCode, i get an ...
0
votes
0
answers
14
views
How to register Handlebars partials in Java similar to JavaScript's registerPartial method?
I'm trying to use Handlebars templates in my Java application, but I'm struggling to find the equivalent of JavaScript's Handlebars.registerPartial() method in the Java library.
In JavaScript, I can ...
-3
votes
0
answers
16
views
What difference between '$USER' & \$USER in Linux? [closed]
I am learning Linux essiantal. I Facing with a subject.
echo /$USER
&
echo '$USER'
The result output are same. Why this happening??
0
votes
0
answers
9
views
After upgrade from TYPO3 11 to 12, clearing a page cache does not reload included constants files
I recently upgraded a TYPO3 11 installation to 12. I have a multisite installation where many sites have a constants file included with something like
<INCLUDE_TYPOSCRIPT: source=“FILE:fileadmin/...
0
votes
0
answers
9
views
Asterisk error on startup : 'res_pjsip_authenticator_digest.so', missing dependency: res_pjsip
I am having trouble getting my new Asterisk server running properly. I have a new Ubuntu 22.04 virtual machine (AWS), have downloaded the Asterisk source files (version 22.4) and gone through the ...
0
votes
1
answer
17
views
Why use a CSS framework like Tailwind instead of writing plain CSS?
I've been learning frontend development for a while now, and I've mostly been writing vanilla CSS for styling my projects. Recently, I’ve seen a lot of developers praising Tailwind CSS and using it in ...
0
votes
0
answers
14
views
TailwindCSS with DaisyUI has problems with bg-gradient-to-r from-primary to-secondary
The bg-gradient-to-r from-primary to-secondary does not work. The only work-around I've found is to have a hidden <div class="hidden bg-gradient-to-r from-[#39d7de] to-[#86ea8f]"> ...
-3
votes
0
answers
24
views
Making Android IDE in web page
I started creating an editor for creating Android applications in html5. For now, I can change the file assets/index.html via jsZip. But I would also like to be able to edit xml. The problem is that ...
-1
votes
0
answers
13
views
Authentication failed. Invalid token on Postman as I try to test some of the protected endpoints
I'm working on a Node.js backend using jsonwebtoken and Prisma. I'm generating a JWT token during admin login, and the token is successfully returned. When I paste the token into jwt.io, the payload ...
0
votes
0
answers
8
views
After installing tailwind using npm install -D tailwindcss postcss autoprefixer, I can't find the tailwind.config file in the folder
enter image description here
Here is a picture of the folder and the terminal.
The terminal shows no error while installing
npm install -D tailwindcss postcss autoprefixer
, but I can't find the ...
0
votes
0
answers
8
views
Circular dependency between modules returns undefined even with forwardRef()
I'm new to NestJS and currently facing a circular dependency issue between two modules: InvoicesModule and TransactionsModule.
Both modules depend on each other, so I tried resolving it using ...
0
votes
2
answers
15
views
Failed to delete record(s): Could not locate a bind configured on mapper MapperPasswords(passwords)], SQL expression or this Session
Failed to delete record(s): Could not locate a bind configured on mapper MapperPasswords(passwords)], SQL expression or this Session.
I keep getting this error when trying to create a delete_record() ...
0
votes
0
answers
8
views
Spring Boot with Oracle DB 19c: Connections Not Closing Properly, Causing ORA-12516 / ORA-00018 Errors
This is an Oracle DB 19C environment, and sessions connected to the Oracle DB on the server are not terminated normally and are accumulating, so new connections are not received, and ORA-12516, ORA-...
0
votes
0
answers
14
views
Should a Spring WebFlux controller return a Mono<T> or the unwrapped T?
I'm building a reactive API using Spring WebFlux and Project Reactor. In my controller layer, I currently return a Mono like this:
@GetMapping("/example")
public Mono<MyResponseDto> ...
-1
votes
0
answers
9
views
mock only specified methods of a struct while running unit tests
How to mock only specified methods of a struct while running unit tests. In the below sample code I only want to mock foo2() and foo4() methods of Struct Abc. I tried using mockall crate but instead ...
-2
votes
0
answers
16
views
Design Suggestion for Logging and Monitoring Solution in Azure
I have created a Data Pipeline solution for near realtime solution. as shown in diagram below.
What could be best solution for Logging, Error Handling and Monitoring Solution which capture failure at ...
0
votes
0
answers
18
views
I just started to learn to verify shellsort using the wp plugin in frama-c, but timeout always occurs
This is the code,However, a timeout always occurs, as shown in the following figure[enter image description here
enter image description here
/*@ requires n > 0;requires \valid(v + (0..n-1));
...
0
votes
0
answers
22
views
How to set file attachment?
I am currently working on an auto-mail sender add-on in Thunderbird.
https://webextension-api.thunderbird.net/en/stable/compose.html
I was able to implement many features by referring to this, but I ...
-3
votes
0
answers
15
views
sql distinct and max value in one query [duplicate]
i want make a reporter
but i have problem
this is my code :
SELECT * FROM `round` WHERE block like '%{$block}%' and roundbegin2 between '{$roundbegin2}' and '{$roundend2}' and roundend2 between '{$...
0
votes
0
answers
16
views
Error connecting client to server side using socket
The server part does not want to connect to the client part.
Error java.net.socketexception, I tried different methods including from the website, for some reason in all cases they give this error
...
0
votes
0
answers
15
views
How to make PrimeNG Carousel responsive based on container width instead of window width?
I'm using the PrimeNG Carousel component in my Angular application. I've configured the responsiveOptions to adjust the number of visible items based on screen size. However, I've noticed that the ...
-1
votes
0
answers
9
views
Calculating cluster size in Cassandra
Can anyone please tell me how to calculate the exact cluster size in Cassandra?
For example, I have 84 nodes and two data centers, each with 42 nodes and a load of 135 GB.
The replication factor is 3.
-1
votes
0
answers
9
views
Getting Out of stock error in Shopify for React Native app while going to continue payment
Error Screenshot
On web site it is working fine but in app side it is causing this problem. It means issue is not in Shopify Side most probably we are missing out on something for App.
Error is coming ...
0
votes
0
answers
6
views
Why WIX MSI for ASP.NET is installing website in "C:\Program Files" folder instead of "c:\inetput\wwwroot"?
Wix installer MSI is installing files in folder:
C:\Program Files\MyManufacture MyWebsiteName
and creating empty folder:
C:\inetpub\wwwroot\testwebsite.
Visual Studio 2022, WIX version is 5.0.2.
Here ...
0
votes
0
answers
3
views
How to customize the DGS validation error in GQL
I have a question regarding error handling in GraphQL. I'm looking for the way to capture the GQL validation error in Netflix DGS framework.
Here’s the scenario:
Assume that in a GraphQL schema, I’ve ...
0
votes
1
answer
11
views
layering border-image on top of box
I've been trying to get the rhinestone hearts to overlay on top of the pink background but z-index doesn't work! can anyone help me with this?
.header {
background-repeat: no-repeat;
background-size: ...
0
votes
0
answers
9
views
Why is SNDPGMMSG not showing messages in a subfile when called from a procedure instead of a subroutine in RPGLE?
I'm a beginner learning RPGLE and display files on IBM i. I’ve created a program that displays a message using a message subfile (SFLMSG) when calling a CL program (MSGSFLCL) via a subroutine, and it ...
-3
votes
0
answers
12
views
How to programmatically access and save IRM "Do Not Forward" protected emails in Outlook Classic using VB.NET?
Scenario:
I am using Outlook Classic (desktop version). An email I received has IRM (Information Rights Management) protection with the "Do Not Forward" policy. This protection restricts ...
-1
votes
0
answers
14
views
SFTP - How do I put multiple file with different file type to each of their respective folder [closed]
For example I have a list of 3 files
data.csv, data.xml and data.json
in my local machine (lcd ~/Documents) and I want each of them belong to their respective folder in the server directory:
└── files/...
-1
votes
0
answers
8
views
How to select an area from an image using click function?
I need help to recreate this function, to select an area when i clicked it, then draw a line around clicked area until the borderlines, then save the coordinates to create polygon from this
to this
...
-6
votes
1
answer
32
views
How to make application platform independent? [closed]
Approaches to consider while programming for your platform independent application.