All Questions

New search experience powered by AI

Stack Overflow is leveraging AI to summarize the most relevant questions and answers from the community, with the option to ask follow-up questions in a conversational format.

Get early access
Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

python_TypeError: 'NoneType' object is not callable

I have successfully instantiated the instance object of the class, and the "dynamics" attribute is a method and has been instantiated successfully, but when using "dynamics" I get ...
2 votes
1 answer
31 views

How is reinterpret_cast casting pointer to a different type without creating the object [duplicate]

#include <iostream> using namespace std; class Mango { public: Mango() { cout<<"mango called"<<endl; } void print() { cout<<"mango"<<...
1 vote
1 answer
7 views

restrict .form-text width to input's width

How is it possible to restrict the width of the .form-text based on the width of the above input? I'd like to layout an <input> in a Bootstrap application with a .form-text for some additional ...
0 votes
0 answers
5 views

can't retrive all the data from the access database in table view (Java FX 8

EmpView.setOnAction(event -> { ObservableList<Employee>data = FXCollections.observableArrayList(); TableView<Employee>empTableView = new TableView<>(...
0 votes
0 answers
3 views

Firestore data not saving: receiving error upon clicking save button

/TrafficStats(31499): tagSocket(3) with statsTag=0xffffffff, statsUid=-1 W/Firestore(31499): (24.11.0) [WriteStream]: (a60a66d) Stream closed with status: Status{code=UNAVAILABLE, description=Channel ...
0 votes
0 answers
11 views

Issues with Next/Link with app folder - How can I stop 404'ing?

So here I have a part of my NavBar() {/* Desktop Nav */} <div className="hidden md:flex items-center space-x-6"> <Link href={item1Href}> <...
0 votes
0 answers
23 views

mvn clean install locally works but not in github actions

I am trying to write a simple GitHub workflow where it will install and run tests for my maven project. when I try to run mvn clean install locally the tests run but not when it runs on the pipeline. ...
0 votes
0 answers
3 views

How to clear GPU in training loop using Keras?

I've been exploring methods to train multiple models within a single codebase. The aim is to generate various models using different seeds to assess diverse architectures and training data. The data ...
0 votes
0 answers
5 views

phpfpm and apache configuration not working

i'm recently working on 3-tier architecture on ubuntu virtual machines , 1 desktop and 2 servers, Their network configuration is set to bridged Adapter in order to communicate with the wifi card ...
0 votes
0 answers
2 views

Godot Android program crash without logs

I have a Godot project (source, check 'compile_fail' branch) which crashes on startup, but for some reason only on Android; I can run it on PC just fine. video demonstrating this issue Logcat does not ...
1 vote
1 answer
16 views

Filtering out a key from a useState is causing the last element of ref object to null

I have a visuals state that contains a list of JSX visuals, and their corresponding references stored in a useRef object. I key into both of these with a ref "counter". Currently in the ...
-1 votes
0 answers
6 views

Spring Websocket CORS issue

I have a web application served by an Angular frontend and Spring Boot backend. They are deployed with a multi-stage Docker build on the same server. I had an issue of the websocket on Angular not ...
0 votes
0 answers
24 views

Why is getValue preferred over !! when retrieving from a Map (NoSuchElementException vs NullPointerException)?

When in Map using the !! operator, SonarQube issues warning s6611 "Map" values should be accessed safely. One solution from Sonar is to use getValue, which will throw a ...
0 votes
1 answer
35 views

Transaction silently rolled back

@Modifying @Transactional @Query("DELETE FROM BusinessTransaction bt WHERE bt.userId.id=:id") void deleteByUserId(Long id); For this query I am getting the following error: ...
0 votes
1 answer
13 views

C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found

I want to bind this XML: <?xml version="1.0" encoding="UTF-8"?> <D:propfind xmlns:D='DAV:' xmlns:A='http://apple.com/ns/ical/' xmlns:C='urn:ietf:params:xml:ns:caldav'&...
0 votes
0 answers
10 views

System sound play on some sound ID and not on some others

I have below code. Here is the status. Sound 1304 will be played on both MacBook Pro OSX 14.2.1 Xcode preview mode and iPhone 15 Pro iOS 17.4.1. Both sound 1211 and 1016 will be played on OSX only. ...
0 votes
0 answers
5 views

JMETER Regular Expression Extracto. How can i get the specific extractor using the response i get below

Im not sure why the regexp extractor gives me a 'null' value Response GET http://t1vm-esource01/eSourceUAT/esoa%20printing/Reports/soa.ashx?docIndex=null&mastKey=SF8962 Heres my regular expression:...
0 votes
0 answers
4 views

What is the standard threshold value that is best for accuracy when employing Euclidean distance as a metric for gauging textual similarity?

I'm using Euclidean distance as a metric to compare two sentences for similarity while clustering them using my custom incremental KMeans algorithm. The current threshold value I'm using is 0.7 which ...
1 vote
0 answers
18 views

My Blazor UI is not responding on a domain, but working on another domain

I have a blazor app that's running on container. Seems to have an issue on domain level because on Domain A it's working but on Domain B it's not. WebSocket is allowed on both domains as per checking ...
0 votes
1 answer
22 views

How do I specify the language of my website? [closed]

I use the WooRank plug-in to detect our website(www.medicoswab.com), and it tells me that my website does not have a specified language. What should I do? Is it a meta tag I put at the top? Is this ...
0 votes
2 answers
70 views

calculate sum of floats behavior weird [duplicate]

I try three methods to get sum of floats. one method is pandas sum, another one is use for loop, the last one is using math.fsum. It looks like the last method get the right results. but the first and ...
0 votes
0 answers
3 views

How do sql server synchronous commit do in AlwaysOn group to avoid data loss risk

The official document sys that synchronous-commit with automatic failover will not lose data. But I'm still confused how this is guaranteed. Actually I'm confused how the replication, commit, ack of ...
0 votes
0 answers
3 views

Changing pick chance of multiple elements in weighted set

I have a weighted set implementation that works off a map in the data structure: class WeightedSet<T> { Map<T, Double> weights = new HashMap<>(); double sum; } This ...
6 votes
3 answers
9k views

Go back after call Intent.ACTION_VIEW in android

My app has 3 activity A, B, C. Activity A calls B. In B, I call Intent.ACTION_VIEW to do authentication with Twitter as below: public static void DoAuthen(Context context, String CallBackUrl) throws ...
1 vote
2 answers
596 views

Where did my cloudbuild.yaml come from? And why does it error with a Dockerfile?

I am trying to configure cloud run to deploy continuously from Github. My repo uses a Dockerfile. This worked fine in one project, we will call project A, now I am trying to recreate this in another ...
0 votes
0 answers
19 views

importing class in microservice 1 from another microservice 2

I have two micro-services, I use Spring Boot: Parametrization and Patient I have an entity bed in a mc parametrization I want to import the entity patient in the mc Patient that's generating a problem ...
0 votes
1 answer
26 views

Explanation of the associativity of nested conditional operators

I do know that conditional operators have right associativity, but can't understand how the flow of condition1 , condition2 , expression1 , expression2 , expression3 are all happening one after ...
1 vote
1 answer
17 views

How to impute missing values in electricity time series data considering the previous and next 2 values on the same day and time previous 2 days?

I have a pandas dataframe like below: meter IDs date 00:00 00:30 01:00 01:30 ....... 23:00 23:30 1 2020-09-01 0.30 0.40 0.41 0.42 ....... 0.47 0.39 1 2020-09-02 0.36 0.39 nan nan ....... 0.53 0.41 ...
0 votes
1 answer
14 views

SQL: How to declare AS before SELECT?

How can I rewrite SELECT x, "noflowizts tidbits" AS n, z, bloflvopitz AS b Just as SELECT x,y,n,b Then I could even write SELECT x, CONCAT(n,z), y For this one query, I simply want to ...
0 votes
0 answers
4 views

Connect random point with non self intersection right angle polylines

I've found some posts and known that radom points could be sorted using a ciecle. Then a non self intersection polyline could be drawn follwoing the sorted point order. However, in my case, I need ...
1 vote
0 answers
7 views

Debezium-JDBC connector handling operations using other columns aside from pk (id)

I created a cdc set up using debezium for source and jdbc as my sink connector which is the data is in a Postgres db. The process is working fine as expected. Now we’re facing some use case issue ...
0 votes
3 answers
26 views

How many background layers exist behind every CSS box? [closed]

Behind every CSS box is a specialized layer called the background layer. exactly how many background layers exist in every CSS box? I would like to know that, exactly how many background layers exist ...
0 votes
0 answers
35 views

how to index a boolean in redis FT.SEARCH

hi guy's i'am new on redis. i'am using redis with python. i was read the documentation about making an index and scheme. i want to ask, why i can't add schema about field with bool value. "type&...
1 vote
0 answers
14 views

TypeError: argument 1 must be pygame.surface.Surface, not str

I keep getting this error message when trying to run my code in pygame, it allows me to open to window but when I try to input a direction key it gives me this error code. in redraw_game_window ...
0 votes
0 answers
6 views

How to count the number of time series data for multiple device groups in Apache IoTDB?

Is there a way to implement count(column) group by column in Apache IoTDB? I need to group the devices and count the number of timeseries data in each device group. I want to know are there any method ...
0 votes
3 answers
45 views

Purpose of last 2 while loops in the merge algorithm of merge sort sorting technique

The code below was taught in my Data Structures and Algorithms class. I am currently reviewing it in preparation for exams. The code, by the lecturer, works well. #include<iostream> #define size ...
0 votes
0 answers
3 views

When to use Azure Network interfaces' application_gateway_backend_address_pools

I went through Azure documentation on Application gateway & network interfaces but couldn't find information about when to use application_gateway_backend_address_pools I have a usecase where I ...
-1 votes
1 answer
29 views

vim python omnifunc not working some modules

I started gVim lately in offline window pc. Specification is below... gVim - 9.1.0211 -64bit python - windows embedded 3.11.8 (pandas 2.2.1) - 64bit vimrc - filetype plugin indent on &_ set ...
-1 votes
1 answer
12 views

Error expect a class but get str instead in python

I was running the main to test method read in python3, and recieved error: expect type Program got'str' instead. Where was wrong and how to fix it? Import pyprog Class Program: def init(self): def ...
0 votes
0 answers
5 views

Perpetually running error "Error: cannot have attributes on a CHARSXP"

I am a bit at a loss. I am now revisiting some script that I used multiple times before, which involves stringi, stringr, dyplr, data.table packages. In the past it ran like a charm. Now however I ...
0 votes
0 answers
3 views

After git lfs migration, "refusing to merge unrelated histories" happens when pull

I applied git LFS to my repository. The commands I used were: ( There are no branches in this repository. ) git lfs migrate import --include="*.uasset" git push --force origin master There ...
1 vote
0 answers
24 views

Input Field Required

im making simple data table CRUD. the create must able to have file input, in this context is image. but im encountering this problem where i think the input name isn't recognized by the validate ...
0 votes
0 answers
6 views

Installing libpostal in Databricks

I am trying to install libpostal python wrapper in Databricks. pip install postal ended up with CalledProcessError: Command 'pip --disable-pip-version-check install postal' returned non-zero exit ...
0 votes
0 answers
3 views

combining multiple mutablestates

just started picking up Compose MP and have been running into difficulty combining 2 sources of mutablestates to a new mutablestate or flow within a viewmodel. per documentation https://developer....
0 votes
0 answers
4 views

If I have a network image path, I want to upload to firebase storage. How can I upload image by image url?

I want to upload the network image path to the storage. The image URL like https://firebasestorage.googleapis.com/v0/b/elderlyapp-b7344.appspot.com/o/MedImages%2FJkgWeoMvT1gYoa0YnBvxQU6qPef1_2024-04-...
1 vote
1 answer
34 views

Unclear about python async task cancel/shutdown at program exit

I can't find docs that clearly describe the mechanism here so just want to try to understand and learn best practices. For tasks created by asyncio.create_task, they seem to be cleaned up at program ...
0 votes
0 answers
7 views

How to read Obsolete JSON attributes but not write them?

I need to read older JSON with [Obsolete] properties, but when writing JSON only the [Required] properties should be written. I still have a mix of older Newtonsoft.Json and newer Text.Json in .NET 8, ...
1 vote
0 answers
98 views
+250

SQL connection in .NET Core slow

I am working on an API project that uses the latest .NET 8 which connects to a remote database using EF Core. The initial connection to the database takes 21 seconds approximately. The same method ...
0 votes
1 answer
51 views

How to solve unchecked cast

I am trying to get the ENUM value of class' ENUM field, but retrieving it as below throws me an unchecked cast warning: value = Enum.valueOf((Class<Enum>) classField.getType(), (String) value); ...
-1 votes
1 answer
35 views

'bun' is not recognized as an internal or external command

i am integrating tailwind with flowbite react but this error occured npm ERR! code 1 npm ERR! path C:\\Users\\ASUS\\OneDrive\\Desktop\\Sankalp\\Frontend\\node_modules\\flowbite-react npm ERR! ...

15 30 50 per page
1
2 3 4 5
482398