Latest Questions

401.0000007 Error while trying to get the DHL Interface C# code. Followed DHL document

I have been trying to connect to DHL interface but i cannot get the token access key from C# code. here is my current code. Please let me know if you have a sol

typescript return type of instance method

how can I infer the return type of an instance method of an extending class? see psuedo code below Note, this might not be possible, after looking into: https:/

Pointer to single bytes of vector of doubles

I have vector of doubles and I need to have pointer with access to each single byte (probably char *ptr). Can you tell me how to assign pointer to char to vecto

how to coverage write file func in java

I made a simple function? to which I give a list of objects and then get their headers (just some strings), then sort and write to a file when i made a test for

Find which two angles an angle is between in Python

I have a list of angles (in radians) in the range [-pi, pi]. The angles can be assumed to ordered as follows: every increasing index in the list will be counter

How to change true to false __N_SSG in nextjs?

How to change pageProps inside of __N_SSG parameter true to false or remove pageProps. Because I generated build time multiple pages. I manual changed true to

The condition within the while statement

How can I write a condition that fulfills the same condition as inside the while clause without using a <stdbool.h> void show_path(int a[][5]) { int i =

How can I hide code from the Edge browser in React?

I have developed a dummy React application using create-react-app. Stackbliz Reference I know that when we do npm run build a build is created and there are map

next() call not iterating

var = 10 Constant = 10 def Gen(): i = 1 for x in range(var): yield i i +=1 o = Gen() c = next(o) * Constant for i in range(var):

Java - Update Elements in Large XML Files

I work with very large XML datasets (1 GB+) and need to backtrack and update specific elements per node, depending on the values of other elements that follow.

best way to add a spring boot web application with JSPs to a docker container?

so i have a spring boot web application, it uses JSPs, and im supposed to put it in a container . my question is what is the best way ? ive tried to copy the pr

OAuth2 PKCE Flow - Using Access tokens securely from Single Page Apps

I have an Angular application that uses angular-auth-oidc-client for integration with KeyCloak server I use PKCE flow and I get the id token, access token and r

How to group firebase data in flutter with DateTime?

I am making a chat application in flutter using firebase. I want to show a header with the date whenever the date changes. How can I group messages in flutter c

How to set the width of an error message in R?

I know you can set the width of your R output > options(width = 20) > 1:30 [1] 1 2 3 4 5 [6] 6 7 8 9 10 [11] 11 12 13 14 15 [16] 16 17 18 19 20

Are there any Java Class Library "header files" containing all method descriptors in the standard library?

In order to create a valid .class file, every method has to have a full internal name and type descriptors associated with it. When procedurally creating these,

i am using a small php microframework and keep getting an error Uncaught Error: Undefined constant "mu"

Fatal error: Uncaught Error: Undefined constant "mu" in E:\xampp\htdocs[[myphpframework]]\mu-clean\examples\hello1.php:3 Stack trace: #0 {main} thrown in E:\xam

Only download certain label tf dataset

Looking to do some fine tuning. The dataset (found here: https://knowyourdata-tfds.withgoogle.com/#dataset=sun397&filters=kyd%2Fsun397%2Flabel:%2Fh%2Fhouse&

In Mongo, If a document I'm saving "Prateek" then I don't want on the next create operation even the "prateek" or "praTEEK", etc is saved

//** If I'm adding a new document with the name: "India", then I don't want that the DB allow another name with the name: "INDIA", "india", "indIA", etc. I'm ne

How to implement only client to graphql subscriptions in a website with only front code?

I am coding a only front end site using Django. to query data to a DataBase I use AJAX to my Django and Django requests a third party GraphQL. so far all works

Does a Pipeline object store the score of the data it trained with?

I was wondering if a saved model in a Pipeline object contains the score of the data with which it has been trained. If so, how to get that score without having

json.decoder.JSONDecodeError : Expecting value: line 1 column 1

I'm trying to create a simple UserAgentHandler for my Telegram Bot that works with json ; But when I try to load empty json file I got this error: json.decoder

Minikube not able to expose service (AWX Operator) with ingress

I'm trying to expose an kubernetes service (AWX Operator) to access it outside from the deployed localhost. Port-forwarding is not an option, because it should

How do I test for an empty JavaScript object?

After an AJAX request, sometimes my application may return an empty object, like: var a = {}; How can I check whether that's the case?

Unresolved reference: ExposedDropdownMenuBox in Compose for Desktop

I need to implement a drop down menu for Windows App which is based on Compose for Desktop For that I am trying to use ExposedDropdownMenuBox But I am getting e

Object is nothing after json deserialization

I want to deserialize a json file into 'Artikelstammdaten' and afterwards to a list of 'Artikelstammdaten' (don't know how to iterate over the deserialized json

Set of functions using Function interface [closed]

Let there be a set A = {1,2,3}. The goal is to compute all bijections on AxA. It should be of type Set<Function<T,T>> so that in t

Eclipse marvin classpath

I'll keep it short. I have a project in eclipse using Marvin, the Marvin's jar is added correctly in the build path, classpath. The problem is, whenever me or s

specific text in prompt for pythonscript

In JavaScript, you can use prompt("This text is above the field of the prompt.", "This text is in the field of the prompt.") to get a customized window appearin

Accessing a value from a different js file in reactjs

how can I use the variable below theId from file1 in another js file2 in react? file1.js import ..... class File1 extends React.Component { constructor(pr