Latest Questions

Spring Boot MongoDB the field with version annotation does not increment

This question asked several times before, but the answers in these questions didn't work for me. This is my Book document @Document @NoArgsConstructor @ToString

Get only those rows from a pandas data frame where a particular value is not present in a data frame column of type list

One of my columns in dataframe is of type list. I want to get only those rows where color is not red.Output should give row 2 and 3. I tried def Removecolo

Tailwind CSS No Utility Classes Were Found

Trying to get Tailwind to work via CLI instructions here. I've got a (simplified) file structure of -public -stylesheets -styles.css -tailwind.css -v

how to parse yaml file that contains dictionary and structure at multiple levels in C++

I am trying to parse a yaml file that likes like below in C++: test_case_0: - input: a: 10 b: 5 - output: area: 50 delta: 5 test_case_1: - input

Jetpack Compose Navigation - Bottom Nav Multiple Back Stack - View Model Scoping Issue

So I have two tabs, Tab A and Tab B. Each tab has its own back stack. I implemented the multiple back stack navigation using code in this google docs val na

Min and max width issues [duplicate]

I used the @media (min-width:320px) and noticed my design from mobile scaling back to desktop had inherited my mobile design. changed to max-w

toContainHTML providing an error when HTML element exists (React Testing)

todoElement is supposed to contain a strike element but my test says otherwise. I've declared in my Todo function that if text is completed then it should rende

asdf errors when starting Linux shell

Sorry it's hard to be specific here but I'm struggling to pin down the source of various error messages in my Linux shell with asdf. I've got Fish shell 3.4.0 r

How to group subarrays by a column value?

I have the following array Array ( [0] => Array ( [id] => 96 [shipping_no] => 212755-1 [part_no] =>

Calculating remaining CIDR ranges with Python

I need assistance in calculating in Python the remaining CIDR ranges after i use a subnet. Example: I want to use a wide range of 10.0.0.0/15 and from it to cal

password authentication failed while trying to connect into my docker database

I'm following this tutorial and the guy uses docker with postgres which I've never used honestly. I created a docker-compose.yml file with the following fields:

Sequence with stopping values

This is like a regular tribonacci sequence, however, I want the sequence to stop whenever the term is at the min or max value. This is what I have started seque

Turning an ERC721 mint contract to store funds and accept payments

hope all is well. I have been following Dapp University tutorial (https://www.youtube.com/embed/x-6ruqmNS3o?start=2111) to make a mintable NFT pairs game. I am

Iterator next method lifetime mismatch

I'm trying to create an Iterator interface using the csv crate such that I can return a HashMap of col-name: value and am running into a lifetime error I cannot

PowerShell AzureAD odata v3.0 filter

So I am trying to fetch all sign-in logs that fails a particular Conditional Access that have been set in Report-Only mode. The cmdlet is in preview and is unab

Spring Cloud Stream - Is there a way to customize the StreamThread thread name?

I'm using Spring Cloud Stream (Kafka as the binder) in my current project and the default thread name for StreamThread keeps me bothered as it is very long. Her

How to handle 403 and 404 errors with AWS Cloudfront containing multiple origins

I have the current configuration in AWS: S3 Bucket set to static website for my frontend ELB which has an EC2 instance for my backend Cloudfront distribution

How to Print celery worker details on windows and mac

I actually had issues printing mine on command prompt because I was using the wrong command but I found a link to a project which I forked Project (If on Mac )

Attribute error: comtypes has no module named ISpeech

Traceback (most recent call last): File "C:\Users\ammar\AppData\Local\Programs\Python\Python310\lib\site-packages\pyttsx3\__init__.py", line 20, in init e

Convert float pointer returned by c++ DLL function to float C#

extern The return is a pointer to the internal array containing results info. It should not be modified results values are output as a float array (mantissa

Intermittent CORS issue with FastAPI deployed on Heroku

I deployed a FastAPI based backend on Heroku and whenever I query the url via cURL or Postman, it works fine. However, when it queried from a chrome extension (

How to deploy nodejs Azure function to azure with docker?

This is my first time playing with azure. I have a simple tool written which has to fetch some data from the postgres db, and send it to a MS teams channel. All

correctly create object with data

I have a loop where i iterate over the pixel data received from the method getImageData(). There I find the coordinates for each pixel (coordX and coordY). Then

Python Websocket wait for variable change

I have a class that contains a websocket-client WebSocketApp, that is started in a thread. The websocket connection recieves messages and sets some class variab

Appending to a TextArea from multiple threads on JavaFX [duplicate]

I am currently creating a program that utilizes multithreading. In each thread, it appends to a TextArea. I've come upon an error that I belie

building a nested JSON

Some data files that I need to read / parse have headers in the style: level0var = value0 level0var.level1field = value1 level0var.level1array[11].level2field

Playwright "Element is not attached to the DOM"

I am trying to scrape a website using Playwright (.NET). The website looks like it was written in the early 2000s (running in quirks mode and all), and I'm runn

Adding to a value in a loop counter in Python

I’m trying to get it add 1 to streak every time the loop runs, but it keeps the same number. I’m trying to make a counter every time it sees red. fr

Java 17 with Maven Wrapper results in Unrecognized VM option 'MaxPermSize=512m'

I use OpenJDK 17 with Maven Wrapper 3.8.2 from Spring Initializr (Maven project, JAR packaging, Java 17, Spring Boot 2.6.0). No additional dependencies. user@D

Docker "no data received" on host, but data in container

I'm trying to host a Linux Mint container that starts a simple Angular server and listens on port 4200. I'm in a very tight environment, with no admin authority