Latest Questions

Next.js Image always on top

I am using Tailwind CSS to style a Next.js website. I have an image element for which I am using Next.js Image element. Now I want to open a modal on top of the

roblox LUA Expected 'end' (to close 'than' at line 3), got '='

function teleportTo(placeCFrame) local plyr = game.Players.LocalPlayer; if plyr.Character then return plyr.Character.HumanoidRootPart.CFrame = p

Read and Modify the key value in XML using Bash/Shell script

I need to read (store in variable) and then change the online_hostname key value in XML using bash/shell script. <?xml version="1.0" encoding="UTF-8" ?> &

FileLoadException: Could not load file or assembly 'Microsoft.AspNetCore.SignalR.Core

I'm creating a .net core console application where some of the libraries are using SignalR. I have installed "Microsoft.AspNetCore.SignalR.Core" from nuget pack

How to check if user is logged in and redirect them to the right screen using Jetpack Navigation

what is the best way to save user logged in state, check if they logged in or not and redirect them to the right screen. I'm not using firebase Auth in this cur

Node/Twilio multiple config variables in require function

I was wondering if any other people have managed to find a way to use multiple account sids and auth tokens when using Twilio for Node. The documentation is pre

Build problem with React viteJS and was amplify

my question is quite simple to explain. I've initialized a React project with ViteJS and then added aws-amplify for the backend. I developed the project and eve

OidcClient.LoginAsync in Xamarin Android caching the login information

In Xamarin.Forms application, I am doing login through OidcClient, I am facing one issue with Android. After the first successful login, the user does not go th

protobuf doesn't see .proto files in gradle project

Protobuf plugin for gradle: id 'com.google.protobuf' version '0.8.13' Here is dependencies from build.gradle implementation "io.grpc:grpc-protobuf:${grpcVersio

How can I set the default branch name for all new projects on GitLab?

Note that I am not looking to change it for a specific repo. I want to change the default branch name per account, so any new created repository will have this

How to use a CNN code in python inside a website?

I have website with backend in Python (Django) and JavaScript hosted on heroku. Also, I have code in python that does image classification with EfficientNet, so

C#- http client response help request

I have the following code: static async Task checkIMEI( double IMEI) { var client = new HttpClient(); var request = new HttpRequest

Can I get the mouse position with a different format

I am trying to get the position of my mouse, but make it print just the coordinates like 1000, 1000 Not like Point(x=1212, y=621) My Code: x = pyautogui.posi

cloud build pass secret env to dockerfile

I am using google cloud build to build a docker image and deploy in cloud run. The module has dependencies on Github that are private. In the cloudbuild.yaml fi

Understanding continuation tokens in AWS S3

I'd like to understand better how continuation tokens work in list_objects_v2(). Here is a piece of code that iterates through a large S3 bucket, storing the co

SQL- How to combine 3 tables to get this result?

The SNO seems to be misdirecting So, I simplified the question even further --creation CREATE TABLE LAB (JOB_ID int, LAB_ID VARCHAR(50)); CREATE TABLE SPR (JOB_

Unable to connect internet/google.com from pod. Docker and k8 are able to pull images

I am trying to learn Kubernetes. Create a single-node Kubernetes Cluster on Oracle Cloud using these steps here cat /etc/resolv.conf >> nameserver 169.254

How to use dedicated GPU with TF2, given that multiple GPUs are available?

As title. I thought these lines would work to use only one GPU: _GPU = tf.config.list_physical_devices('GPU')[3] tf.config.experimental.set_memory_growth(_GPU,

What options do you have for the internal logger of a logger provider?

I have developed Logging.Raven: a net core logger provider that stores log entries in a RavenDB database. When something goes wrong I write the error informatio

Create multiple DataFrames using data from an api

I'm using the world bank API to analyze data and I want to create multiple data frames with the same indicators for different countries. import wbgapi as wb imp

Whats wrong with my RK4 Orbital Propagator?

I am working in a RK4 orbital propagator, and I have followed the basic structure of: k1​=dt×f(tn​,yn​) k2​=dt×f(tn​

How to match the input image with the ground truth image (the order)

I'm a beginner learning deep learning and trying to do semantic segmentation problems on histologic image using python and TensorFlow. There is 2 main file : Im

PHP array filled by a MySQL query [closed]

I need to fill multiple different arrays by using a MySQL query. This would have up to 16 different arrays. I want to specify each array with

How to add classpath in new version of Android Studio

I updated my android studio version to bumblebee version. Now I want add navigation component to my project. I want add classpath to gradle, but this file gradl

FFmpeg change video speed with -r vs -filter and setpts

If I want to change the video speed with ffmpeg, what exactly is the difference changing the fps: ffmpeg -y -r 10 -i video.mp4 video_new_fps.mp4 or using filter

I pushed .env file in git without .gitignore in my node project. how can I remove it from my github? [duplicate]

I tried this method [https://daily-dev-tips.com/posts/removing-a-env-file-from-git-history/] but still .env file showing on my git repo.

Bookmarklet redirecturl trims off #tag

I have a bookmarklet I use to autologin to certain test sites but I have it to where I can redirect them to specific pages after the login occurs. However the u

Pip Install failure with error TLSV1_ALERT_PROTOCOL_VERSION in RHEL 8

I am getting error when installing packages using pip install on RHEL8 version WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=

Is obtaining the list of all user IDs in a discord server illegal or considered botting?

If I follow the instructions here, would it be considered against Discord TOS? Such as botting or whatever.

Amazon SQS:: Got an error while trying to create queue: NoCredentialProviders: no valid providers in chain. Deprecated

I am trying to create Amazon SQS from my local machine and facing errors like Got an error while trying to create queue: NoCredentialProviders: no valid provide