Latest Questions

Specify the padding between rows in a checkboxGroupInput

This is my shiny application: ui.R # values to show, or not show, these will be the 'choices' and 'selected' values # for the checkboxGroupInput() all_rows <

Getting records by date is multiples of 30 days

I have the following query to get appointments that need remind once a month if they are not done yet. I want to get records with 30, 60, 90, 120,etc... in the

Count Unique Faces from Image dataset

I'm using OpenCV's haar cascade(haar-classifier) to detect faces in the image and storing those faces(cropped from the image) in one folder. I've around 10000+

How can I get type names and member TypeObjects from a ts.TypeObject?

I'm working with a TypeScript compiler to perform some code generation. This is my first time working with the compiler API directly. With some ugly narrowing b

How to calculate the shortest route between a start coordinate and multiple destination coordinates

I'm working on my graduation thesis in Computer Science. I'm developing an application that locates the shortest route to some emergency services in the city wh

Google Tag Manager - Regex match

I want to check if a specific string is included in a GTM variable. The value of this variable is a first-party-cookie value decoded via URI looking like this:

The destination phone number has been blocked by Verify Geo-Permissions. NZ is blocked for key xxx

currently, I am facing an issue with Verify Geo Permissions. I have checked the related docs and reached my admin, and he can confirm that all Verify Geo-Permis

How to use a database connection string in App.config?

I use EF 6, and if I use a hardcode database connection in the OnConfiguring: protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)

How to request a signature remotely from your own account in docusign with nodejs

I will try my best to explain my problem in as much depth as possible. My usecase: I want to request my user to sign a document that I will be sending to his/he

Leaflet map object undefined inside GET request with axios

I am using the Vue framework in combination to create a frontend showing a map --> vue2-leaflet Inside a GET request using axios i want to set the data for a

Change API response Object name (in Model) for Datagrid binding

I'm using WPF and still relatively new. I haven't yet made the jump to MVVM, still trying to wrap my head around it. I currently have a small app which extracts

What is the fastest way to get all documents of a collection?

I have a problem. I want to get all documents of a collection with ~ 1 mio documents inside. I asked myself what is the fastest way to get all documents inside

az acr login results in error: can’t find token from MSAL cache

Installed podman on MacBook Pro m1. When I run: Token=#(az acr login —name myname —expose-token —output tsv query access Token) I get the fol

Validate form before move to next page

I have coded my own validation form. Is there anyway i can prevent page from submit to php (action="process.php" Method="POST") if form is not validated. I have

How to load image from photos using new PHPicker in iOS programmatically?

I want to select an image from photos using new PHPickerViewController and I want to open PHPicker directly when my controller is load. Like this import UIKit

How to find the name of a field if its not provided in html?

I'm learning Postman and I have an exercise to do. I should create wagers with a sports betting app using Postman. The following POST http://localhost:8080/spor

How to convert the following R code to Python code

The code drops the columns that are not required from the table: inputData <- inputData[,!(colnames(inputData) %in% c('col1','col2',''))] Need help converti

Woocommerce reminder push notification to flutter app

I have an e-commerce flutter app with woocommerce, i'm trying to schedule a reminder push notificacion for pick-up method for example: when order has been recei

How to join two Bezier curve using C1 continuity?

How to draw Two Cubic Bezier Curve using 8 Points The last point of the first curve will be the starting point of second curve What I am doing wrong ?? Please H

How do I go to street view in Google Earth Pro without using the pegman

I put a place marker onto google earth but I want to be able to skip the step of having to put the pegman there in order to go to street view. I'd like to be ab

Add and subtract integers of arbitrary size

I am tasked to implement from scratch addition and subtraction of signed integers of arbitrary size. Such an integer is stored in an array of 64-bit unsigned in

AES encryption of Image In Kotlin

I am trying to encrypt and decrypt the image by AES in Kotlin Key Generation Function- override suspend fun key_genration(callback: Enc) { val keygenerator

Prove recursive function exists using only `nat_ind`

I'm trying to prove the following in Coq: ∀ B: Type, ∀ a: B, ∀ b: nat -> B -> B, ∃ f: nat -> B, f 0 = a ∧ ∀ n: na

What is a proper way to POST multiple sets of data through AJAX to .Net Core EF Core

I have seen numerous examples, mostly wrong or outdated concepts written a decade ago. I cant seem to find a way to submit multiple variables to the ef core dat

Formating a frequency dataframe to a table and a histogram

If I have a frequency table like below: ret < -1(%) -1 < ret < -0.5(%) -0.5 < ret < 0(%) 0 < ret < 0.5(%) 0.5 < ret <

How to covert labels array into one vector of letters

I have the labels as the following: array([[1., 0., 0., 0.], [1., 0., 0., 0.], [1., 0., 0., 0.], ..., [1., 0., 0., 0.], [0., 0., 1., 0.], [0., 0., 0., 1.]], dty

How to split up a dataframe with one column into a dataframe with different columns?

I have asked a similar question before and tried to use the answers (which were very good) on my project, but I failed. I have the following dataframe: library(

Weblogic Log4j2 setup not printing Debug messages

So i have a simple properties handler java code which prints these loggers . I am using commons logging and log4j2 import org.apache.commons.vfs2.FileObject; im

Check 2 keys for Vacant

I am using the HashMap to store some of the value. Now I want to check whether HashMap contains keys, if not insert data else return HashMap is not empty. Below

Intercepting requests with ktor 2 client

Ktor 2 seems to have made it easier to implement server plugins, but they don't mention client plugins at all in their documentation (as far as I can see). What