Latest Questions

variable pivot data range (i.e no. of rows and columns gets change)

iam gettin an error while running below code, i want to apply pivot table to dynamic data range ( data gets change everytime i.e rows and columns) i want macro

Google Maps clustering feature for polygons

I want to use same feature which is used for markers on GoogleMap with clustering if you zoom out too much on map. But I want to use this for custom drawn polyg

Python rank: give negative rank to negative numbers

I have a basic set of data like: ID Value A 0.1 B 0.2 C -0.1 D -0.01 E 0.15 If we use data.rank() we get the result: ID Value A 3 B 5 C 1 D 2 E 4 Bu

Angular Font Awesome Icons not Rendering (tried other suggestions on site)

I am attempting to add a delete icon to my Angular task list project. I have used ng add @fortawesome/angular-fontawesome. I then used npm install later when t

Milvus 1.1.1 only continues to query, memory usage continues to grow, from 4g to 20GB, what might be the cause?

My dataset: 1M 768d Index: ivf_pq,nlist=4096,m=12 Operation: Only search, without insert and delete

Dynamically add a bookmark on PDF.js Express Viewer

In my web application, I'm using the PDF.js Express Viewer library to preview a PDF file. Despite having read the documentation and made numerous attempts, I am

angular universal + @angular/flex-layout cannot work well on first rendering

I am on a ssr project with angular universal , and use flex-layout to handle media css issuses. I found this issuse , and imported FlexLayoutServerModule into

Field value not persisted after import

Model.py class Order(models.Model): customerID = models.CharField(max_length=300, blank=True, null=True) osm_bol = models.CharField(max_length=300, bla

How to use AFrame Inspector tool with 8th wall

I'm currently using 8th Wall paid plan to develop some scenes for mobile web AR. In their docs, they mention running the A-Frame Inspector tool: 8th Wall Docs-

Filter column list based on another column in Python

In Python, I have a dataset like this below, where column1 and column2 are objects and not strings: data = {'id': ['first_value', 'first_value', 'second_value'

ARP sniffer and packet interception

i want to sniff arp replays to be more specific i want to intercept arp packet and retrieve ip addresses using libtins im not quite sure with the filter i put "

Cannot be Compressed because it includes characters that cannot be used, but I don't have any files with special characters

So I'm trying to compress some documents I made when I get the following error message: I have no idea what the character is, as it just looks like a blank spa

How to get the i-th element of vector

I want to get the i-th element of the void*. I understand that it is void type and I have to give it a certain data type. The idea behind this is that it should

React App: Cannot find module 'react-dom/client' or its corresponding type declarations

I'm currently experiencing this error and I'm not really sure how to fix it. I've been trying to merge a project with components stored in bit.dev. import React

Fixed effect instrumental variable (IV) regression with available diagnostic tests

May I please know an R package and code to run fixed effect instrumental variable (IV) regression with available diagnostic tests (e.g., weak instrument test, e

How can I create a dynamic sum of the % for the rows in a matrix visual?

It's my first time using this website, and I am a newbie with PowerBi, so apologies in advance if the question isn't clear. This is a quickly reproduced scenari

React - How to avoid object getting same key? - Todo

I'm working on a todo app. The problem is: when I add two todos for example, first one gets id 0 and the other one gets id 1 (this is from todo.length), if I re

How is Windows Authentication Wired Up?

I'm in the process of creating an ASPNET Core 6 MVC app in VS 2022 which will eventually be deployed in a Docker container. Windows Authentication will be used

loops in my smart contract that I cant find

I'm testing my contract and I got the following error: Gas costs: Gas requirement of function vjkNFT.safeMint is infinite: If the gas requirement of a function

GCP OPS agent transfer nginx log to cloud logging problem

I followed this link steps to configure nginx.conf and the config.yaml of google-cloud-ops-agent. https://cloud.google.com/stackdriver/docs/solutions/agents/ops

pdf preview not working on html using ajax

url: "http://localhost/pdfupload/php/upload.php", dragDrop: true, multiple:true, acceptFiles:"application/pdf*", allowedTypes:"pdf", showPre

Select xml files and their corresponding jpg files from a folder with R

I have have a folder with about 4000 jpg files and only about 50 of them have a corresponding xml file. I want to select those jpg files that have a correspondi

Django template language how to fix

Hi I'm trying to build a simple django app but I can't get index.html file to recognise the variables created in views.py. Nothing I do seems to work. Does it h

TypeScript & React: What's the difference between 'React.HTMLProps<T>' and 'JSX.IntrinsicElements["T"]'

I am looking for the most "canonical" and/or "up-to-date" way to add a set of default HTML attributes as a set of allowed TypeScript props to a customized, "enh

How can I check the TextInput change completed in react native

Basically, I need to hit search API when the text changed but it's not a good thing to call API on every change in TextInput. So, is there any callback function

Find the K-Beauty of a Number Unexpected Runtime Error

I was recently doing the first question in the Leetcode Biweekly Competition 78, and I received an unexpected runtime error which I couldn't understand, especia

Issue with Keycloak and Cloudflare

I'm running a web site and I secured it with Keycloak, with running Cloudflare as well. All the login forms, registration forms etc. are used by Keycloak, so I

How to stop the Api icon keep adding when click the buttons?

I have to create a web with two buttons to show each city's information. When I clicked the button the icon would keep adding every each time i click it. I have

how to manipulate JSON files and add fields according to other fields

I have a JSON file that contains answers that user's answers I want to generate an SQL query that changed according to the user's answers and add it as a new fi

How to prevent SNI from displaying incorrect web page over port 443?

I have a server with ISPConfig 3 installed. When a new website is added to the server and is accessed via a browser with HTTPS, the website that is displayed is