Latest Questions

"SassError: The target selector was not found" when using SCSS Modules and Bootstrap in Next.js

I am using Next.js with SCSS Modules. I installed boostrap with npm install bootstrap. I then created a file called common.scss inside /public/scss/. I have the

Migrate Work Items from all the projects of one TFS Collection to a single project in ADO Organization

Actually my need is to migrate all the work items from TFS to ADO in Collection level. For example: my collection contains around 50 team projects. If we are r

Invariant Violation: requireNativeComponent: "BVLinearGradient"

I have been working with the react-native-gradient and I am getting the following error regarding the package. Error Invariant Violation: requireNativeComponent

make responsive flexible images that are rotated on a single line in tailwind css?

i want to recreate this effect that is visible on https://www.tella.tv/ in tailwind css: i tried to inspect their source code but i couldn't make it work in my

Convert data frame into adjacency matrix format in R

My data looks like this: Sample_A Sample_B Value Rabbit Mouse 1.2 Mouse Tiger 7.89 Tiger Lion -0.9 Mouse Rabbit

How do I send multiple image attachments in html form with php?

This form handles the form data and a single image nicely. However... when I add the brackets [] to the file input name to handle multiple images, I receive no

Finding and comparing unique values Grouped by Datetime Quarters python

I'm working with an extremely large dataset in a Pandas Dataframe. I'm now trying to understand on a quarterly basis: how many UNIQUE sellers have COMMENCED usi

How to compute the TF-IDF for a given word in a document using Whoosh?

I have a dataframe including the following columns: URLFullName Constituency Caucus Province SubjectOfBusiness Intervention time where each row rep

How to install PHP 8.1 on Amazon Linux 2 (ARM64)

I'm trying to install php 8.1 on a Graviton 2 (ARM64) EC2 instance thats running Amazon Linux 2. All of the guides I've followed use remi-release-7.rpm. When I

Perform streaming aggregations on CDC events that contain deletes/updates

A friend reached out and told me that he'd built a data pipeline that captures changes from MySQL using the Debezium connector, and then performs streaming aggr

Why do I get worse results in Java than in Python when using the same Tensorflow models?

Introduction: For education purpose I developed a Java class that enables students to load Tensorflow models in the Tensorflow SavedModel format and use them fo

C# array issue due to indexing of int

I am fairly new to this and trying to learn. I am struggling trying to make a loop to find the max value in an array. I am not sure what I am doing wrong. I hav

How to change the colors of the modified lines indicator in version 17.2?

I updated Visual Studio 2022 Preview to version 17.2 Preview 6.0, and after doing so, the colors and appearance of the changed lines indicators are "modernized"

Removing Custom-Defined Words from List - Python

I have a dataframe column that looks like: I'm looking into removing special characters. I' hoping to attach the tags (in list of lists) so that I can append t

How using function np.where along with apply lambda

this code: def nearest_independment(target): lst=df[df['CLINE_TYPE'].str.contains('crease') & df['CLINE_TYPE'].isin(['nan']).shift(2)

Azure static website use my own ssl certificate?

I have my own certificate that I want to use with azure static website(not web app, we use the one based on blob storage), but looks uploading my own certificat

Error : Module '"@angular/material"' has no exported member "..."

i create a custom Angular material module, material.module.ts file and import the following Angular material UI components in this file like given below. import

Session not working in ASP.Net Core Web API

I am trying to use the session capability in ASP.NET Core Web API (.NET Core 3.1). As a test, I configured my project as follows. Install NuGet package Microsof

Express.js backend not saving cookie to Nuxt.js frontend

I've built an authorization server with Express.js that works when testing with Postman where it saves the access and rotating refresh token as signed cookies.

EF Core - Unable to resolve service for type DbContext while attempting to activate ApplicationContext

I am attempting to scaffold CRUD razor pages using entity framework but the code generator throws the following error: There was an error running the selected

How to pass ref to draw control in react-map-gl

Following the Mapbox draw example I can use the draw variable to access all features that are drawn on a map. const draw = new MapboxDraw({ // ... }); map.addC

Terra - terrain deploy counter - Error: Command failed: cp artifacts/counter{-aarch64,}.wasm

I have been following the the Terra CosmWasm smart contract tutorial and have taken all steps outlined (tried from scratch multiple times, re-installed Rust, et

Annotate bars with values on Pandas bar plots

I was looking for a way to annotate my bars in a Pandas bar plot with the rounded numerical values from my DataFrame. >>> df=pd.DataFrame({'A':np.rand

How can I use a virtual audio sink on an android emulator in headless mode? Getting pulseaudio init error when launching emulator

I have a virtual sink on my host machine. pulseaudio is running as a system wide daemon. When trying to launch an emulator with the follow command: emulator -av

Swing library creating unwanted grid when trying to use for loops to run function on every pixel

A program I am writing, upon running, generates a mandelbrot set mostly correct, however it additionally generates a grid of blank space. I have not found a sol

Android - How to get canvas object from my view?

My app uses a tensorflow lite model to detect objects from an uploaded image . Therefore I need to draw the bounding boxes of the object on the image that the u

How to get list of palindrome in text? [closed]

I have the following interview question that may require traversing through the entire string. Problem I searched about find Problem and most

ActiveMQ Artemis how to filter message by part of the "text" field

Is there any way to filter messages in ActiveMQ Artemis 2.10.0 by part of the "text" field using the management console? I use method "browse(java.lang.String)"

doing a task after a looping YAML template-ized azure devOps pipeline

I have a YAML Azure DevOps pipeline that loops through series of configurations, copying artifacts to various places. What I want to do is, after the looping i

Can required parameters in a Dart constructor be named?

I am working with some Dart code for a Flutter/Dart class I'm taking. I expected the following code to compile, but it did not: class Person { String? name;