Latest Questions

Npm install error. 'npm ERR! gyp ERR! find Python, stack Error'

Whenever I try to run npm install or npm update in my nuxt.js(vue.js) project, error below appears. npm ERR! code 1 npm ERR! path /Users/kyeolhan/ForWork/BackOf

How to convert value of optional type Binding<T?>? to Binding<T?> in SwiftUI?

I have an init like so: @Binding var height: Double? init(height: Binding<Double?>? = nil) { self._height = height } I am getting an error: Value of

How to use this keyword inside eval in javascript?

Having this: const person = { name: "James Smith", hello: function (x) { console.log(this.name + " says hello " + x); } } function newContext() { t

How can I get instagram Direct Messages

I was working on Facebook Graph api and created a website on react that sends and receives messages from my business page which is connected it to my business a

How can I make the text and image be on the same level?

I am trying to make the text and image be on the same level but when I add the text the image moves, I am unsure on how to fix it and looking for help. I though

TFS Form fields not working in Visual Studio 2019 but work on web

I will start by saying that I am not a developer, I use Visual Studio only for TFS as a means of contributing to Work Items in our project (I am a product owner

microsoft.insights/components/ProactiveDetectionConfigs in arm template force to multiple deploy

I'm deploying an ARM template that take care of creating an app service plan. I've exported the template from the existing plan and parametrized for our needs.

Azure Automation power shell

I am running the power shell script below in Azure Automation runbook , the script goes to on prem file share and rename file names replace strings. Script runs

AWS MediaConvert - HLS only-audio stream

I'm struggling a long time now for setting up the following AWS MediaConvert job and I hope I can get some help. I want to create an HLS stream without any vide

Set Java/JRE default settings which can be overridden by JAVA_TOOL_OPTIONS

I have multiple java spring boot services, which are running in docker containers and are configured via docker-compose. Each of those services need several jav

No content using fputc

I am attempting to complete a lab. When I run this code nothing is written to the text file that is created. According to the lab it should write A thru Z to th

Metamask API to know list of tokens

I have created a smart contract with erc-721 and erc-1155 tokens standards and then deployed these on Ropsten, rinkeby and polygon mumbai testnet, I want to kno

Include androidx.constraintlayout.helper.widget.Flow in layout file

Rather than writing same code in every page, I need to have it somewhere in a layout file and include it in other files. I have tried this and failed: flow.xml:

convert azure directory/subdirectory to zipped blob

I have posted similar question before but not finding anyone's participation or solution from anyone.My requirement is to download folders which azure blob stor

Make codes run for each individual

Is it possible to listen to each users contract events from the database at once? I've tried but it only works for one user. Web3 python telebot from web3 impor

There is already an object named 'Id' in the database. Could not create constraint or index

im using EF core 3.1 and trying to Update-Database after adding migration, but im getting this error "There is already an object named 'Id' in the database. Cou

Optional node still visited in OR-tools vehicle routing problem

In a simple vehicle routing problem solved by Google OR-tools library, two nodes (2, 3) are marked as optional with visiting penalty set to 0. The shortest path

NestJS Testing ConfigService works

I am writing an application to handle requests and return predefined responses to allow testing of external REST endpoints by software that cannot have internal

How to convert binary into sign representation?

If an array consist of decimal number which represents as blocks('#') or empty(' '). For example. A = [31,21,29,19,31] represents['11111', '10101', '11101', '

Kubernetes nfs-subdir-external-provisioner stuck in ContainerCreating / Unable to attach or mount volumes: unmounted volumes=[nfs-client-root]

I'm trying to install a nfs-client-provisioner and run a mongdb with it. Unfortunately, the nfs-client-provisioner hangs in ContainerCreating and says "Warning

Why does the canvas have a black background?

Why does the below canvas have a black background? Because of it, the text behind the canvas is not visible. I need it to be transparent to show the elements be

Issue in html code for redirect user to url after is logged

Hi I’m html learner and I have an issue with my code but I don’t know what’s the problem The prob is weird , when i enter the right pass in on

How to check if a filesystem supports hard links in linux?

What's going on here is I have a construct that goes something like this: if (link(source, intermediate)) { if (pathconf(dirname(source), _PC_LI

Problem with transform.rotation in unity c#

I`ve been doing a game and i got a problem , i tried to do a jumping cube but if you jump a lot the cube can rotate , i tried to restrict rotation by using: //

User defined renderer object causes a TypeError - marked.js

Right now I'm familiarizing myself with marked.js. I want to add html attributes to the elements that are rendered when marked.parse() is called. In doing so a

vscode bracket pairs changed colors with v1.67

I was trying out Swagger for Go. But somehow in Visual Studio Code it changed the colors. Before I installed Swagger the braces and brackets were not pink, yel

How to invite user to a team using Graph API?

I can invite a user with Grap API /invitations endpoint: POST https://graph.microsoft.com/v1.0/invitations Content-type: application/json { "invitedUserEmail

Azure Devops - Pulling subset of pull requests in to Master branch for release pipeline

We have a dev and a master branch. When making a change I take a feature branch from Dev make those changes and push them and pull them back in to Dev for a rel

Is abind console output incorrect?

I am trying to combine multiple 2d vectors to obtain a 3dvector, the 3d vector should be [rows, columns, 2dvectors]. So far I have only worked with 3d vectors m

express-fileupload limithandler crushing the server on redirect

const express = require('express'); const app = express(); const fu = require('express-fileupload'); const fs = require('fs'); app.listen(3000, () => consol