All Questions
24,202,065
questions
0
votes
0
answers
2
views
Socket io group chat logic
I'm building a chat app and i'm comfused at some point how should be socket io logic these are my things plese share if there is a more optimal option
1-) The new message events are emit for all user ...
0
votes
0
answers
1
view
Next.js app fails deployment on both Vercel and Github Pages but it runs and build fine on my machine
I'm a novice programmer who just finished a web app using Next.js and wanted to deploy it to a remote source but I'm getting a very weird type error right on my _app.tsx file every time I try. I have ...
0
votes
0
answers
2
views
Flutter styled toast not showing toast in Release mode but working in debug mode
Here the package used flutter_styled_toast: ^2.2.1
Method used to show toast.
Perfectly working in debug mode, but toast not appearing in Release Mode.
showToast(
msg,
context: context,
...
0
votes
0
answers
3
views
How to use parmap in a class?
import parmap
import multiprocessing
# in a class
class Main():
def __init__(self):
super().__init__()
self.setupUi(self)
self.initUI()
def initUI(self):
self....
0
votes
0
answers
2
views
python classification using stratified labelling list
I have a stratified labels for categorizing games. Ideally I planned to use a final level to train my model and then fill back the earlier levels.
a brief example of the setup
genre subgenre ...
-1
votes
0
answers
7
views
vs code error ./a.exe is not coming so please solve
PS C:\Users\micro\Desktop\CODING> cd "c:\Users\micro\Desktop\CODING" ; if ($?) { gcc datafind.c -o datafind } ; if ($?) { .\datafind }
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../...
0
votes
0
answers
3
views
How to enable chunks for development on Nuxt?
When I use dev-mode with HMR and I open any page of my project every file in the project has separated request in Network Inspector - from several hundreds to several thousands files downloaded ...
0
votes
0
answers
3
views
Unsupported Database: H2 2.2
When upgrading org.flywaydb:flyway-core:9.22.3 to 10.15.2 I seem to be forced to add a database specific dependency.
We are using H2 for testing and PostgreSQL in rpoduction.
I was able to get ...
0
votes
0
answers
3
views
a valid external instance reference no longer exists
After drawing a line, after a while, the browser produces a warning: a valid external instance reference no longer exists. I wonder if it was because of my setVertexBuffer in requestAnimationFrame, or ...
0
votes
0
answers
2
views
Setting 3D-plot scale to logarithmic in Matplotlib giving an almost empty 2D plot
I'm trying to set the scale of a plot to logarithmic, using the code below. When plotting without the log scale, it gives me a correct plot.
for it, folder in enumerate(norm_folder_list):
fig = ...
0
votes
0
answers
3
views
Numpythonic way to fill value based on range indices reference (label encoding from given range indices)
I have this tensor dimension:
(batch_size, class_id, range_indices) -> (4, 3, 2)
int64
[[[1250 1302]
[1324 1374]
[1458 1572]]
[[1911 1955]
[1979 2028]
[2120 2224]]
[[2546 2599]
[2624 ...
0
votes
0
answers
2
views
Override parameterNames in EntityPersister to include composite key attribute
There is a column CreatedDate which is updated to be part of composite key in postgresql. @IdClass is used to define the composite key. After the change, CreatedDate is not added as a propertyName in ...
0
votes
0
answers
3
views
How to set center tab as Initial tab in expo router
I tried setting the center tab as the initial tab but its not working. Also pressing back button from center screen takes to the left most tab and then it exits.
How to fix this behaviour.
<Tabs
...
0
votes
0
answers
3
views
Error: Authentication kind "jwt" configured, but no XSUAA instance bound to application
I would like to connect my BTP CAP Node.js app to external SAP service in production env using destinations. It is important to use OAuth2.0ClientCredentials authentication method. Sandbox works for ...
0
votes
0
answers
6
views
REACT NATIVE 0.74.3 Signed Release APK Issue
I am using React Native Latest version 0.74.3 for developing an APP. My App works fine if I ran this on Emulator with np react-native run-android.
When I try to generate the Signed APK for Android ...
0
votes
0
answers
4
views
How to replace icon in instance of a component in Figma?
Requirement:
I used same icons for the navigation items at the beginning of the time but after creating the Figma design I want to change and use specific icons for the specific item.
Problem:
I am ...
-4
votes
0
answers
11
views
Sms Onay Servisi
Sms Onay
Bu sitemde arama menüsü çalışmıyor.
İstenilen servisin adını yazınca o servisle ilgili bilgi gelmesi gerekiyor. Bu konuda yardımcı olabilecek var mı ?
JavaScript ile düzenlenme yapılması ...
0
votes
0
answers
11
views
Unable to query or access ng-template contents inside the spec.ts file
I am not able to test a ng-template data in my component which is rendered inside a mat-dialog pop-up.FYI I used fixture.detectChanges() also.
When i try to log the templateRef in spec.ts getting the ...
0
votes
0
answers
5
views
SimpleLocalize nested traduction isn't workin
I'm using next-intl and simpleLocalize for translation.
I'm currently upgrading monorepo from Pages Router to App Router of Next.
I've done what said in the doc of next-intl and it work pretty well. ...
0
votes
0
answers
4
views
I can't run my flutter project when I try to integrate with firebase on MacBook with Xcode
I'm using Mac and I can't run my flutter project if try integrate with firebase.
I can run the first flutter project easily with the Xcode simulator(iPhone 15), but when configure the firebase to my ...
0
votes
0
answers
4
views
Issue with Yup validation schema using conditional fields
I'm trying to set up a validation schema using Yup for a form that has two conditional fields: page_id and custom_link. The requirement is that one of these fields must be provided. If one is filled, ...
0
votes
0
answers
7
views
symbol not found in flat namespace '_bcp_batch' in python 3.12.4
I'm using pyenv to manage my python versions.
When i use python 3.12.4 or python3.9^, i get this error:
File "src/pymssql/_pymssql.pyx", line 1, in init pymssql._pymssql
ImportError: dlopen(...
0
votes
0
answers
6
views
SSH connection autentication says ok, but still fails to connect
enter image description here
as showed in the image above the connection works but permissions say denied but i double checked the permissions on the linux server to 600 and 644 using chmod command on ...
0
votes
0
answers
8
views
How to fetch rows within a date range and pivot them
I've a dataset of the form :
Now for each combination of id1 and id2, so suppose id1 = 1 and id2 = 2, for each date value, i want to pick value from rows that lie within 1 week prior and 1 week post ...
0
votes
0
answers
5
views
Add Global parameters in Swagger with Apache camel
I have a parameter shared by multiple rest apis and instead of define the param is each api like this
.param()
.name("Timezone")
.type(RestParamType.header)
.required(Boolean.FALSE)
....
0
votes
0
answers
5
views
Why does dumping heap with --heapsnapshot-signal=signal flag instantly revert memory usage to baseline?
I encountered a weird scenario. I run a nodejs application that uses around 70MB of Heap memory. It occasionally spikes to ~1.7GB, so I tried to find the case by taking snapshot with --heapsnapshot-...
0
votes
0
answers
5
views
Photos transfer from mac-book air to a hard disk
I have 7800 Photos on my photos of mac-book air, i need to transfer all the 7800 photos to a external harddisk. I created a separate folder with all the 7800 photos on the desktop now when i try to ...
0
votes
0
answers
7
views
Could not find com.android.tools.build.gradle:7.4.2:
enter image description here
9 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
Launching lib\main.dart on sdk gphone64 x86 64 in ...
0
votes
0
answers
3
views
Usage of add_constructor() in 0.18.x
One of my packages (tinject), currently using ruamel.yaml 0.17.x, installs a custom constructor to implement a !include directive allowing me to write a document like:
foo:
- bar: 42
---
bar:
- ...
0
votes
0
answers
3
views
Camera.MAUI.ZXing (.Net 8) The function does not detect my cameras
I'm using Camera.MAUI.ZXing and Camera.MAUI in my .Net MAUI project.
On my xaml.cs I have the following code:
private async void InitializeCamera()
{
// barcode detection
cameraView....
0
votes
0
answers
7
views
how to change logo beside website text using next js
i have problem that the logo beside website text not change when search in google
in next js this is the _document.tsx and the image exists in public folder but it still take the last logo and not ...
0
votes
0
answers
4
views
compress yolov8 object detection model (.pt file)
I've tried compressing my .pt file using pruning, quantization, and various other methods, but these attempts have doubled the file size 20mb file becomes 40mb. If anyone has any ideas on how to ...
0
votes
0
answers
4
views
Do dismissed RDS Recommendations become active again if they reoccur?
We've had a few RDS recommendations triggered by one-off maintenance work we've carried out. I want to dismiss the recommendations, but want to know if AWS will reactivate the recommendation if it is ...
0
votes
0
answers
4
views
neovim pylsp not connecting on temp files from scp
I have a remote server with the files I want to edit. I use
nvim scp://hostname//filename
to edit the files. But the issue is that I cannot get nvim to connect to the LSP in this case. It connects ...
0
votes
0
answers
7
views
getting the latest date for a a duplicated item in r
I have the following dataset.
I am trying to get the latest SEnd value for each individual tag (see Desired output) where I have the Tag, Owner and the latest SEnd date. Essentially getting the latest ...
0
votes
0
answers
5
views
dSYM file missing on Xcode 15 archive
In Xcode 14, when I archived my project, it generated a .dSYM file within the .xcarchive.
Since upgrading to Xcode 15, this no longer get generated. Why?
(I do not believe I changed any project ...
0
votes
0
answers
3
views
Creating a new Julia environment with a different version
I currently have Julia 1.10.3, but I want to create a new environment that runs on an older version of Julia.
My current manifest file in "C:\Users\####\.julia\environments\v1.10" reads
...
0
votes
0
answers
4
views
Visual Studio Remote development "attach visual studio code" always connecting to dev container as root?
I have a docker container running and I attempt to use the docker extension to "attach visual studio code" to the container. This always connects me as root, though I want to connect as a ...
0
votes
0
answers
5
views
function for geom_point to increase the scale_size
I have the following code for some random values:
legend_size <- c(6,5,4,3,2,1,0,1,2,3,4,5,6)
tt <- data.frame(x = c(27.9656, 27.1704, 26.2128 ,23.5634 ,25.3528 ,22.8595 ,21.3536 ,26.9125 ,23....
0
votes
0
answers
4
views
How to minimize youtube-data-api v3 query quota useage?
I have a code to get video urls given a channel ID that I get from the API as well, but the main part uses the requests component.
I tried running it on a channel with 3500 videos, but for some reason ...
0
votes
0
answers
5
views
Google Cloud Storage Image Upload not working in Flutter Web App
I have a Flutter Web App that lets me upload an image to Google Cloud storage using Firebase.
It works fine in Debug mode on Flutter and even on "flutter run --release". However when I build ...
0
votes
0
answers
6
views
Getting the error LNK2019: unresolved for unit test file (.cc file) which is including Gtest and for mock integrated with FFF
Hi as i'm new to the stackoverflow as well as unit testing using gtest and fff, when building the test file(test_dummy.cc) getting the linking error
note(this project is building with CMakeLists.txt ...
0
votes
0
answers
4
views
Read a S2P file with Julia
I'd like to read a S2P file (containing a frequency response) with Julia.
What is the best way to do it? Is there an equivalent of "scikit-rf" (Python) in Julia?
I saw: SParameters and ...
0
votes
0
answers
7
views
Terraform GCP: apply IAM binding policy to buckets created through terraform
I am new to Terraform. There are many GCS buckets created through my terraform code. I am trying to apply a deny policy to restrict any console changes to be done on these buckets only and not the ...
0
votes
0
answers
6
views
SSLHandshakeException: Spring boot with Azure IDP in Docker
I have integrated Azure Idp with spring boot for single sign on, it works well in local or windows deployment as service, but throws SSL exception when deployed in docker, below is the application yml ...
0
votes
0
answers
6
views
Content-Security-Policy refuses to load the script
I have a GCP run instance, a web app written in React and Golang. It works, yesterday I added a google map, locally it works, once deployed I get the CSP error:
Refused to load the script 'https://...
0
votes
0
answers
7
views
Initialise SavedStateHandle in shared view model
I have a parent fragment and a child fragment which have a shared viewmodel. The viewmodel uses the SavedStateHandle to retain viewmodel state even after process kill. The parent fragment uses shared ...
0
votes
0
answers
6
views
Running ACL removal command from python doesn’t work
I am creating a python script to make Kafka ACL manipulation easier. I am not using zookeeper. I am trying to run this command to remove ACLs from consumer groups:
$KH/kafka-acls.sh --bootstrap-server ...
0
votes
0
answers
6
views
Dialog / Bottomsheet Flutter Web not popping when trigger by device back trigger / manual back by keyboard at desktop
Dialog / Bottomsheet Flutter Web not popping when trigger by device back trigger / manual back by keyboard at desktop
it should popping dialog / bottomsheet first before page, but the condition its ...
0
votes
0
answers
9
views
Get class of Java object after traversing object hierarchy
I convert a Java object to json and traverse it using a given json path. Result is some json node that I would like to cast back to a Java object. How can I find out what is the class of this object?
...