Latest Questions

How to free a malloc 2D array in C initialiszed in this way?

I have declared a 2D malloc array like this in C: int** pArray; int i; pArray=(int**)malloc(pRows*sizeof(int*)); for(i=0;i<pRows;i++)

My Xamarin app keeps crashing due to Databinding(Basic Databinding)

I was trying to use Databinding in my Xamarin app. After implementing, just like the many instructions suggest, it just always crashes while loading the app. Wi

Convert list of strings of delimited values to list of lists of floats [closed]

I have this array of strings of comma-separated numbers: data = ['1,14.23,1.71,2.43,15.6,127,2.8,3.06,.28,2.29,5.64,1.04,3.92,1065', '

API view returning { "detail": "Not found." },

class User(models.Model): user_id = models.CharField(max_length=255, unique=True) mobile = models.CharField(max_length=12) first_name = models.CharF

Duende - BFF Single Sign On

I am trying to implement single sign on using the Duende Backend for Frontend (BFF) Security Framework. This GitHub repository demonstrates the behaviour I am s

Stop flutter build runner from rebuilding my plugin

I have the following file structure in my flutter project lib - router -- router.gr plugins - myplugin //is a dart package -- input_folder --- swagger.json -- l

Load custom components in scenebuilder 17

We are working on Javafx project which was working fine on Java8. Recently, We have updated the project with Java17. We are able to resolve the issues for the I

Map a Azure Fileshare to Azure Runbook local drive to use as temporary storage

I am trying to access an AzureStorage to utilize it in an Azure- Powershell-Runbook. I need to accomplish that to save a SharePoint-Sitetemplate to that locatio

Won't Istio rules not impact intra cluster communication?

After I inject network delay of, say 5s, using add_delay_fault function, the delay is nicely effected for all traffic coming in via the Istio ingress gateway LB

SwiftUI: Array Not Updating In All Views When Referencing The Same Observed Object

I am a fairly novice developer. I wrote an app for tracking indoor bouldering climbs all in 1 really large file. It was working fine, just hard to maintain. Now

Using rgba in box-shadow with styled-components not working

I have this code: const Test = styled.img` width: 48px; height: 48px; border-radius: 50%; box-shadow: 0px 0px 0px 1px rgba(27, 31, 36, 0.15); `;

Spark Structured Streaming writeStream trigger set to once is recording much less data than it should

I have a program that runs every hour, it receives streaming data and writes it in parquet format in batches into a datalake every time it runs, to be later pro

How to exclude future dates from excel data file using pandas?

I'm trying to limit my dataset to dates before today. Below creates a graph but the mask doesn't have any impact. Any help appreciated. df = pd.read_excel("./da

DiscordJS MessageManager is a circular dependency

I try to get a message by id in discord.js, but returned MessageManager is a circular dependency and I cannot access any of it's properties. console.log(cha

Migrate CRA project to existing Nx workspace

I have the Nx workspace with React and Express apps created via the official React tutorial from Nx docs. Also, I have an independent CRA project that has just

AdjustWindowRectEx returns different results in VS and C++Builder

I try to use AdjustWindowRectEx() function to get the sizes of the window frame with aero theme enabled. But I found that AdjustWindowRectEx() function returns

problem configuring CORSin spring boot and reactjs

After reading all the MDN docs on CORS, I am trying to fetch resources at a spring boot server at localhost:8080 from a ReactJS app at localhost:3000, yet i can

What will this assertEquals() in junit return?

Does the assertEquals function result in? WIll this fail beccause assertEquals() requires tolerance value for double comparison? import java.util.*; class

How i can get suspense to work on react 18?

Hello my code is as follow wnna try suspense with react 18 but not having luck to render Loading.... User.jsx import React, { useEffect, useState } from "re

Plotting Multiple Series of Lines on the Same Plot

I am attempting to graph battery cycling data similar to this . Each line is one cycle worth of datapoints and should be one line on the graph. At first the cod

Inno Setup: Iterate/Enumerate through Firewall Rules / IEnumVariant

I have a similar question like Daniel Rogers about how to declare an IEnumVariant in Inno Setup. Declare an OleVariant and IEnumVariant in Inno Setup I'm writin

Place images on same line [Ruby on Rails]

I have badges that are displayed on profile pages But there is this block of white space that fills in. I am not sure how to position the badges appropriately.

Is it bad practice to store/translate static error strings in a form field model?

I'm building a Flutter app where I have a sign-up form that will throw an error if the user inputs an invalid email. I have the following model for the email fo

Google Sheets API: Error 400: redirect_uri_mismatch

I keep getting Authorization errors when sending a POST request from my React/Ruby app. I'm getting different errors depending on what OOB_URI I'm using. If I u

Transaction Error invalid BigNumber string (argument="value", value="1.2e+21", code=INVALID_ARGUMENT, version=bignumber/5.5.0)

Hello i have a problem on string bignumber when transfering morthan 1000BUSD this is my transfer code,, i dont know what problem i hope someone help me thanks c

Sort a list of products save in localstorage with JavaScript change event listener

I have saved a list of products in localstorgae and I want all my products to be displayed in descending order when I click on one of the combobox items con

Is there an efficient way to create static wavy text?

(I'm really sorry if that's not the right way to phrase what I'm looking for.) I'm trying to create text that looks like this: this. Further example. It altern

Python 3.10.2 anti-aliased fonts not smoothing in Tkinter under SUSI Linux

I have a problem with font smoothing AKA anti-aliasing not working. I have provided a small Tkinter test code snippet that shows a grid of Tkinter labels that s

Flutter When i fetch data from api showing SocketException: Failed host lookup: (OS Error: No address associated with hostname, errno = 7)

eg: details about the questions ......................................................................................... When i fetch data from api showing Soc

Multiprocessing uproot approach

I just started looking into parallelizing the analysis of rootfiles, i.e. trees. I have worked with RDataFrames where implicit multiprocessing can be enabled wi