Newest Questions
24,158,515 questions
0
votes
0
answers
11
views
Malloc makes code crash in C while doing merge sort
I'm new to the C language (I'm doing CS50x) and I want to code a merge sort algorithm. I want to debug my code but I can't figure out why malloc in sort_disassemble is crashing.
P.S. The code isn't ...
0
votes
0
answers
4
views
Problem displaying a message on a ajaxToolkit:ModalPopupExtender
When I display message from within a ajaxToolkit:ModalPopupExtender the ajaxToolkit:ModalPopupExtender closes after the message closes.
How can I display ajaxToolkit:ModalPopupExtender and still ...
0
votes
0
answers
7
views
Loading pytest fixtures from separate Poetry package
I am trying to move some test configuration into a common Poetry package to avoid repetition of the same fixtures.
In a project there is a package named user-service with tests folder inside. Inside ...
Best practices
0
votes
0
replies
8
views
API for study purpose
Good day everyone looking for public api ai for free for study purpose can you give me a links or any api's to support my study in webdev- and any tips about WEB DEV API build with an app how to ...
1
vote
0
answers
7
views
Custom splash screen and icon not showing in Flet Android build
I am building an Android application using the Flet framework in Python. I am trying to customize the splash screen logo and the app icon, but after building the APK, the app still shows the default ...
1
vote
0
answers
7
views
Insert records in Salesforce sales org causing CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY
I'm unable to insert records in Salesforce sales org using below code due to another apex class (trigger handler class):
public class Demo {
// try to insert only one record and fetch Id of ...
0
votes
0
answers
4
views
SSIS Packages in ADF using Key Pair to connect to Snowflake
due to some unavoidable legacy solutions we have several SSIS packages running in Azure Data Factory. These packages reach out to Snowflake using service accounts, and we are now moving those service ...
Tooling
0
votes
0
replies
13
views
What methods can I use to provide an upload page on a static (github pages) website?
I have a project that is currently in github pages (and will change to codeberg sometime this year) and we want to invite collaborators of all backgrounds. This means a lot might not have a github/...
0
votes
0
answers
7
views
SQL Query for Unpivot compatible with SQLGLOT parser
I have imported the data from the attached Excel file. The dataset currently has the following structure:
ISO, Name, 1993, 1994, 1995, …, 2023
Each year is represented as a separate column, and new ...
0
votes
0
answers
7
views
Problem closing an ajaxToolkit:ModalPopupExtender
I have a webpage.
I show a ajaxToolkit:ModalPopupExtender(MPE_Example_Panel_Like_Browser).
I click a button on the ajaxToolkit:ModalPopupExtender(MPE_Example_Panel_Like_Browser) to then show another ...
Best practices
0
votes
0
replies
10
views
Spark Structured Streaming from many S3 buckets with different customer credentials and schemas
have a Spark-on-Kubernetes ingestion use case and I’m trying to understand the right design for Spark Structured Streaming.
We have around 500 customers. Each customer has their own S3 bucket and ...
Advice
0
votes
0
replies
10
views
Collecting samples from adc and presenting the information using median filtering
Good day everyone. I hope you are all fine and healthy.
I have question relating to basically collecting samples and using the best tecqnique to filter and present the information.
I have an ...
-6
votes
1
answer
22
views
How to Integrate a Currency Exchange API to Get Real-Time Rates in JavaScript
I am trying to integrate the Currencylayer API into my website to fetch real-time exchange rates for different currencies.
My goal is to display converted currency values dynamically on my website, ...
0
votes
0
answers
23
views
DatabaseException "out of memory" when opening SQLCipher 3 encrypted DB on versions > 2.2.1
I’m encountering a crash when opening an encrypted database using sqflite_sqlcipher on versions above 2.2.1. The same code works fine on 2.2.1, but fails consistently on newer versions.
Code Snippet:
...
Best practices
0
votes
0
replies
11
views
Kerberos Authentication Flow on Openshift
I’m trying to implement Kerberos SSO (SPNEGO / Integrated Windows Authentication) for a web application in an Active Directory environment.
The application is deployed on OpenShift Kubernetes and ...
Best practices
0
votes
0
replies
12
views
Comment/note for instructions inside .md markdown
If writing .md markdown instructions (e.g. Installation instruction steps),
what would be the best way to give a note, why specific step is needed, some give some references.
In other words,
if I ...
Advice
0
votes
0
replies
16
views
Python code in train.py how to update it into confusion matrix
I have a project on iris classifier, I have done most of the steps but I am stuck. How do I:
1 Update the Python code in train.py so that it can:
Save the confusion matrix as a PNG image in an outputs/...
-2
votes
0
answers
19
views
How to test the database security - phpmyadmin [closed]
I created and hosted a dynamic website .
I created /phpmyadmin also to it so i can access database easily .
How to test the domain/phpmyadmin security vulnerability ?
i dont have credentials to it . i ...
0
votes
0
answers
19
views
NestJS Swagger UI loads on real Android device but "Try it out" fails with CORS / Failed to fetch
I am developing a NestJS backend and testing it on a real Android device.
The Setup:
Backend IP: 192.168.1.5:3000 (MacBook)
Device: Real Android phone connected to the same Wi-Fi.
Observation: I ...
Advice
0
votes
1
replies
41
views
How to make a dialog close when pressing Esc key?
I was told it is possible https://github.com/mui/material-ui/issues/48394 but the docs do not mention this at all.
1
vote
1
answer
40
views
One aync lock call or multiple async lock calls, what is better and safer in Python?
I trying to make ratelimiter for users in aiogram bot with middlware, now I created class for requests and class for ratelimiter, where reuqest are. My problem is what is better for performance and ...
0
votes
0
answers
24
views
How to handle WebSocket reconnect with RealMarketAPI in C#?
I'm using RealMarketAPI WebSocket to stream price data, but when the connection drops, it doesn't reconnect properly.
Here is my code:
using System;
using System.Net.WebSockets;
using System.Text;
...
0
votes
0
answers
21
views
Django - Register User with Confirm Password validation/error message on Bootstrap form
I am trying to create a Register User form using Django 6 and Bootstrap 5. The form displays field level validation/error messages. However, I am not sure how to include the Confirm Password field (...
Advice
0
votes
3
replies
40
views
What is the best way to implement fast media search with autocomplete suggestions?
I am building a web application that allows users to search for media content (audio/video). I want to implement a fast and responsive search feature with autocomplete suggestions.
What are the ...
-3
votes
0
answers
43
views
Oracle database procedure throws ORA-00060 error [closed]
I have 3 different tables in which we first time insert the data and update for same case from 3 others tables.
We have 1500 columns used for selecting and updating, also there is a master like get ...
0
votes
1
answer
30
views
AWS IoT Core Policy - Fail to Authenticate Error with restrictive Action and Resource
I have a device that uses MQTT via 8883 to send data to AWS IoT Core. During intial testing I applied a very permissive policy and it can connect. When I try to make the policy more restrictive I run ...
0
votes
0
answers
13
views
Void Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
I have an application that has been running successfully for several years. Recently, I upgraded to .NET 8.0, after which I started encountering the following error:
Method not found: 'Void Microsoft....
1
vote
1
answer
26
views
SwiftUI PhaseAnimator causing AttributeGraph cycle crash when nested in List with @Observable
I’m hitting a very specific runtime crash in iOS 19.2 (Xcode 17.1) that I haven't seen documented anywhere.
I have a List where each row uses the new @Observable macro for its view model. Inside the ...
Advice
1
vote
1
replies
16
views
Do Apache 2.0 licensed segmentation models (e.g., SegNeXt, PP‑LiteSeg) include commercial‑free pretrained weights?
I’m evaluating semantic segmentation models like SegNeXt and PP‑LiteSeg, which are released under the Apache 2.0 license. The code is clearly permissive, but I’m unsure about the pretrained weights.
...
Advice
2
votes
1
replies
55
views
Are Programmer ViberCoder?
Is reading official documentation necessary when learning a new programming language, or are tutorials sufficient?
What are examples of IT specializations where AI tools are currently ineffective?
1
vote
0
answers
17
views
AOA (Android Open Accessory) device Code 10 "A device which does not exist was specified" on Windows with Node.js usb package
I'm building a desktop app (Electron/Node.js) that switches an Android device into AOA mode using the usb npm package. The device successfully switches to AOA mode (VID_18D1 PID_2D00) and appears in ...
Advice
0
votes
2
replies
27
views
Linkedin - Community Management API
Has anyone been successful getting the Community Management API approved? I have been stuck for more than a month now after filling out their questionnaire. It shows "review in progress" and ...
-2
votes
0
answers
74
views
Why does my model keep getting stuck in one spot? [closed]
Problem Description
The RL code implements a Gymnasium-compatible environment (DoomEnv) for training reinforcement learning agents in DOOM Retro. It captures game state (observations) via shared ...
-1
votes
0
answers
45
views
How to reliably use getImageData() on Public Domain images (Wikimedia/The Met) without a custom proxy? [closed]
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1....
-1
votes
1
answer
33
views
Returning a torch::Tensor causes seg fault in Python when returning from a C++ binding with pybind11
I have data from a device that is being captured in Python as arrays and then sent to a C++ binding to speed up some post processing that must happen to format the data properly and convert into a ...
-2
votes
1
answer
47
views
Why don't the tabs get their active look when I access them without clicking directly on them?
I have in-page tabs that work well, and they look 'active' when you click on them which is great, but I also have images in divs I use to access the tabs and when using that, they don't get their ...
0
votes
1
answer
71
views
What permission do I need for /storage?
I have already requested to be an external storage manager and get true for
Environment.isExternalStorageManager()
However, when trying to read /storage e.g. Environment.getStorageDirectory() I get ...
-1
votes
0
answers
25
views
Recurring event splits in Google Calendar API: how to link masters?
I’m building a sync client that mirrors Google Calendar state into our own database. The client needs to preserve the logical identity of a recurring series even after it’s been split—so that user-...
-3
votes
0
answers
47
views
.NET projects not publishing in Visual Studio 26 [closed]
I have developed some .Net application (Visual Basic) using the Visual Studio version 22. I use IIS to put them for online using.
Now I have installed the Visual Studio version 26. But the projects ...
-1
votes
0
answers
41
views
Modbus TCP Gateway returns successful '0' for non-existent Slave IDs instead of Timeout. How to reliably detect offline devices?
I am developing a C# application using the EasyModbus library to poll multiple Modbus RTU devices connected behind a single Modbus TCP Gateway.
The application works perfectly when the devices are ...
2
votes
3
answers
45
views
URLImage.createMaskAdapter() / Image.createMask() fails on iOS with moderately sized masks
I am seeing what looks like a recent regression in Codename One on iOS.
The problem happens when creating a mask adapter using URLImage.createMaskAdapter(). The same code works correctly in the ...
-2
votes
0
answers
34
views
Transparent image had a white background when I add background-image to body [closed]
I'm making a webpage that has a large transparent (no background/PNG) image of a train. I must reiterate that this is legitimately a transparent no-background image, as in, I removed the background ...
1
vote
0
answers
34
views
need to add Magick++ to build of pdfmixtool
I am trying to build pdffixtool but currently get an error regarding the attempt to build "demo" because of this line
target_link_libraries(demo ${ImageMagick_LIBRARIES})
CMake recognizes ...
Advice
1
vote
9
replies
79
views
Can a strictly conforming definition of main have argc and argv const-qualified?
According to ISO/IEC 9899:1999, §5.1.2.2.1, p. 12, ¶2:
The parameters argc and argv and the strings pointed to by the argv array shall be modifiable by the program, and retain their last-stored ...
2
votes
1
answer
36
views
How to interpret the value of an ABS symbol in a ELF file?
I was looking to the symbols in the libc.a file and I noticed there some "ABS" symbols.
For example, there is the "_nl_current_LC_COLLATE_used" symbol.
Here is the output of ...
0
votes
0
answers
26
views
Query with inferred properties
I'm using rdflib to connect to GraphDB.
When specifying inferred properties such as a reverse properties, I get empty response.
In the case below "schema:children" was defined as the reverse ...
-4
votes
0
answers
56
views
Compilation error - #include errors in visual studio code [closed]
I'm trying to compile C files in Visual Studio Code but I'm getting this errors:
"#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit "
...
-5
votes
0
answers
71
views
I am having issues in making a calculator in c [duplicate]
While loop is not working can someone help. It shows "result of comparison against a string literal is unspecified"
#include <stdio.h>
int main()
{
int a, b, e;
char c[4];
...
0
votes
0
answers
66
views
unable to get world position from mouse position using three.js
I have a WebGL canvas inside of a div and I'm trying to find the mouse position inside the "world", given the mouse position inside of the div. using that position, I'm trying to rotate a ...
-1
votes
0
answers
45
views
Having trouble with an echo in a VOIP call using Android SDK with Linphone
I have tried Android audio manager to handle echo without joy. I have tried linphone core.config.setFloat("sound","echocancellation... without joy. I have been trying to adjust the ...