Latest Questions

Each child should have a unique key prop even they're set - REACT

I'm getting my navbar routes from a json file like this: { "categorias": [ { "nombre": "Faltas de profesorado", "componentes": [ {

Getting Missing Months

I am working on a project where I am trying to chart the number of monthly order that I have received. My current data for monthlyOrder is: [ { _id: { mon

How to disable scroll on Safari? Nextjs

I am trying to disable scroll when the navbar menu is open on mobile, it works perfectly on chrome but not on safari. I have seen that many people have similar

Why page speed insights is taking field data from a different url if the original one contains a '?'

I have tested some pages which contains parameters "?" in PSI. As a result page speed insights is taking field data from a different url if the original one con

How can i get Y position in all the website page

I have a website which is 6 viewports height. I would like to get the Y position for no matter where i am in the page not only the viewport. I have tried : eve

Couldn't convert MobileNet V2 PyTorch to mlmodel using CoreML tools

I want to convert PyTorch MobileNet V2 pre-trained model to .mlmodel using coremltools. here is my code: import torchvision import torch import core

Take a picture and after successfully receiving a response I we need to call the endpoint - REACT NATIVE

I have a screen where on click on image I need to open camera and take photo, I successfully open camera, take a picture but when I need to call the endpoints i

ssh proxyjump into tailscale network from outside network

Is it possible to proxyjump into the tailscale network from outside the network, such as from the local library or university computer? Something like: ssh -J u

How to combine custom permission-based authorization with MicrosoftIdentity/MSAL in Hosted Blazor WebASM

As the title, i'm trying but still found no solution. This is flow: User <-> Blazor.Client <-> Blazor.Server <-> External APIs. Blazor.Client:

Can I use Xcode font on QtCreator?

After using QtCreator for a long time on Windows I was comfortable with it. But now I'm using it on macOS too and it feels different. I noticed default font is

how to train yolov3 on custom dataset

i want to train yolov3 on this dataset https://www.kaggle.com/datasets/mangosata/exclusivelydarkimagedataset-from-cschan i have a text file for each image conta

Wandb line plots only show bar charts after refresh

My weights and biases (wandb) panels (e.g. for loss) shortly show line plots (x: steps, y: loss), then refresh (showing a spinner for some time) and then only s

SwiftUI, AppStorage and using Picker in TabViews

I am trying to save a small amount of data with picker using AppStorage across multiple views. However the issue I'm running into is that when I select one valu

Is there a way to export a txt file in a cell like an image with AG Grid's excel export function?

I see a lot of information about exporting an image (jpg, png, gif) to an excel file with AG Grid, but nothing on something like a txt file. I am trying to get

How to prevent libcurl(c++) form downloading binary data?

I am making a web crawler and I have the following code but the problem is that it also downloads binary data and I don't want that to happen. How do I prevent

Create macro to simplify declaration of deeply nested enum?

I want to use deeply nested enums to represent blocks in my game: enum Element { Void, Materal(Material) } enum Material { Gas(Gas), NonGas(NonGas) } enum NonGa

i want to add 2 data(may be 1) object in an array where array is a state of react

So here is my query, this is a small part of my code that is relevant to the question I want 3 input fields for different data input from users as in case the u

NestJS and Prisma ORM : cleanest way to exclude password from response while allow it in requests?

I'm using NestJS with Prisma ORM and kinda of struggling with the use of @Exclude() decorator because when I add it on my UserDto, it also excludes the password

Index of first child on a list is lost when sending it to the parent with React.CloneElement (React + Typescript)

I'm building a custom Dropdown component and I'm having trouble using children. The Dropdown component has 3 levels, and the children are the options which are

Can I ship Test-Json from pwsh with my software?

Is it possible to ship cmdlet Test-Json only with my software or a dll that contains it from pwsh? I downloaded the entire pwsh zip file but not sure which one

How to prevent SQL Server from stripping leading zeros when importing data

A data file is imported to a SQL Server table. One of the columns in data file is of text data type with values in this column to be integers only. The correspo

Click HREF to display specific Array Content?

Is it best if I use HREFs to display specific array content? Should I use a button instead? I am trying to filter and I am new to arrays and javascript, so I am

Generate sales report using MySql and Php

I m looking for advices in report generating per client, per product, per salesman, in a given period, using mysql and php. I m currently working on an applicat

Trying to run Python 3.10 from Terminal after Homebrew install

I used the Homebrew command brew install [email protected] to install Python3.10 on my Mac. However, when I'm in Terminal and type python and then press Tab, it is on

Using the :general with use-package sometimes doesn't work

I started converting my evil-define-key calls to use the :general extension to use-package, and sometimes they work, and sometimes not. Re-evaluating the (use-p

ERROR: Failed building wheel for pystan in Anaconda distribution. How to fix this error?

When trying to install Darts library its dependencies Pystan and Prophet were throwing errors: ERROR: Failed building wheel for pystan Building wheel for prophe

HTTP retrieval failure when creating drop-in audio chat using Twilio

I am leveraging the Twilio Programmable Voice API to create a drop in audio chat room when a user completes a signup form. I am using ngrok to listen to both my

Can't parse .mjs module from Iconify. Vue 3 cli using composition api and typescript

Update: Changing: if(data.aliases?.[name2] !== void 0) to: if(data.aliases != null && data.aliases[name2] !== void 0) in the iconify .mjs file fixes the

How to get progress of file upload using requests.post() if the file was just uploaded via form-data? (Not sure whether this is a streaming process)

Suppose I'm running some kind of web service with python & flask aiming to provide file upload. It should be noted that my service is only a kind of transfe

use python interface to do interpretable ai why always restarting kernel?

https://docs.interpretable.ai/stable/IAI-Python/quickstart/ot_classification/ I use python interface to do interpretable ai, but it is always restarting the ker