Latest Questions

Explanation of $dynamicRef $dynamicAnchor in Json Schema (as opposed to $ref and $anchor)

Can somebody explain the purpose of the $dynamicRef keyword in JSON Schema For an actual use, see the JSON Schema meta schema itself. It makes use of $dynamicAn

(.Net Core) How to test connection to db at startup?

.Net 6.0, EF, Asp.Net Core I'm trying to interrupt my web server's startup if the connection to the db could not be established. I'm thinking that the natural p

Pine Script Strategy - Position Entry directly after Exit

i want to do a strategy that entries a position at the buy-level (blue Line) and sells after reaching the take-profit-Level (green line) or the stop-level (red

Copying a Java Dynamic Web Project and renaming it to new one causes the error in Tomcat

In eclipse whenever we copying a java dynamic web project into new one by renaming it and trying to run the new copied project in tomcat server it causes below

Can't push to private repository

By mistake i pushed .env file to github and then i wanted to hide .env file from my private github repo using .gitignore. For this purpose, i did many stupid th

After Angular 13 Upgrade, Jasmine Unit Test Fails - Expected one matching request for criteria "Match method: POST, URL: api/x/x-search", found none

After upgrading to Angular 13 from 12, some of the Unit Tests started failing: Error: Expected one matching request for criteria "Match method: POST, URL: api/

Mail merge with different attachments

Please guide me. For how to fix the script to different attachments. In other parts of script is perfected. I want to solution for attachments. See code here

IntelliJ IDEA Terminal not see commands

I'm using Fedora 35 Linux and I installed IntelliJ IDEA via flatpak, and when I try to use the docker command in the IDEA's terminal window, it gives me the fol

How can I build a bitcoin wallet?

I am going to work on a project in which we want to build a bitcoin wallet, like for example mycelium, coinbase etc, but I have no knowledge of which apis we sh

How get specific file from directory using apache camel in java?

I have an scenario, a directory contains various file named pattern filehhmm like: hh=hours mm=minutes dir: file1200.txt file1210.txt file1220.txt otherfile1.tx

problem with vue3 animation when using dynamic component

I want to add animation for two components , this is my code : let activeComponent = ref('Login') </script> <template> <Transition name="fad

Axios getting blocked by laravel 7 cors. No "access-control-allow-origin-header"

I've a backend app working with Laravel 7 and a frontend which works with VueJs. My Laravel app is running on laradock (nginx, postgres etc...) Using Postman th

Nested condition is not working in Vtiger Rest Query API

I'm trying to work with Query API to get matched results set from Vtiger. This API works fine with normal queries (without multiple AND/ OR conditions) like: wo

Is it possible to to use Azure AD V1 V2 token token using MSAL in Microservices?

I m working with azure add and have more then 10 microservices. have existing implementation with ADAL library. now I have started converting my microservice to

GlobalAveragePooling1D equivalence with Lambda Layer

Is the GlobalAveragePooling1D Layer the same like calculating the mean with a custom Lambda Layer? The data is temporal, so x has shape (batch, time, features)

AWS Lambda hang until it timout on stipe invoices list

I am using AWS Lambda to host a nodeJs service that fetch my open invoices on Stripe and execute a payment and update my database. The problem is that most of t

android camera2 Api autoflash not working properly, the first picture is taken before the flash fires

I'm using camera 2 API, my project is heavily based on the archived project from google: https://github.com/googlearchive/android-Camera2Basic/ I'm starting the

Unity gyroscope reads only two axes

I want to make it so that the gyroscope will only change the x and y-axes of an object. There is code for one axis and for three axes (mostly used), but I could

Graphql upload file shows as empty object

when I'm trying to upload file via Graphql mutation (apollo-angular) with parameter $file: Upload!, the variable value is shown as an empty object in developer

Make id in FormattedMessage from react-intl inherit from a custom TypeScript interface to enable VS IntelliSense and type checking

Given that react-localization does not have date and number format and is heavily dependent on one developer we decided to switch to react-intl because it seems

Django with postgresql deployment on aws elastic beanstalk

I’ve been trying to deploy a django application with postgresql db on aws elastic beanstalk and i ran into many issues that i surfed and solved. Now the a

How do I detect if someone has removed my Google Workspace Add-On?

I'm creating a public Google Workspace Add On and I'd like to detect when the add-on has been removed. I don't see a way to do this in the documentation. Is thi

Unable to fix popper placement in autocomplete

I am using the <Autocomplete /> component of Material-UI and I have a situation where I want my drop-down to always appear at the bottom. Therefore I did

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/view/MenuHost;

I'm making a google sign in process in my app. Whenever I open my app it crashes and gives NoClassDefFoundError I checked the logcat and found this:- ------

In bash, replace each character of a string with a fixed character ("blank out" a string)

MWE: caption() { echo "$@" echo "$@" | sed 's/./-/g' # -> SC2001 } caption "$@" I'd like to use parameter expansion in order to get rid of the she

How can I fix : Request header field x-access-token is not allowed by Access-Control-Allow-Headers in preflight response?

I am trying to upload an image to Cloudinary from my local address (localhost:3000). However, when I try upload an image to it, it is giving me this error: Acce

Issue installing Terratest using Go Task's Yaml Azure pipeline - issue triggering terratest tests in sub-folder

I'm facing this issue while installing terratest by azure yaml pipeline : C:\hostedtoolcache\windows\go\1.17.1\x64\bin\go.exe install -v github.com/gruntwork-io

Split string cell into multi rows but keep original row

I have a macro that splits a string (list of names) using a space as the delimiter and creates a new row for each name while keeping all data the same in other

Sawtooth validator is not registering a custom transaction processor. Logs 'No Handler for that type' message

I am trying to build a custom transaction processor for sawtooth but I have run into a wall and since then have been stuck there. I created a sawtooth test netw

Typescript - Custom type assignment by value [duplicate]

In one of my procedures I need to periodically reset a custom type, but I noticed that in TypeScript (and I think in JavaScript too maybe), wh