Latest Questions

Why can’t my code find the second smallest elements array?

int smallindex = 0; int secsmallindex = 0; I put the lines above into gobalslope. The rest of the code: #include <iostream> using namespace std; int ma

Bike parts in box are not fixing in one place - html css

I am using Visual Products Configurator as per client needs. The product is a bike, and it is divided into 4 parts. Bike body Front wheel Back wheel Seat I am

Getting user ID in lambda function (go 1.x) from AWS API Gateway

I updated the API (rest) via the amplify CLI to add a path and function (go 1.x), and within the function, I was able to retrieve the user ID via the following:

Extract single value from function that returns multiple values for use with dplyr() pipe

I have the following data: date_range <- c('2020-01-31', '2020-02-28', '2020-03-31', '2020-04-30', '2020-05-31',

Javascript Animated Skill Bar On Scroll

I'd like to activate all of this animations whenever I scroll to a certain section, in this case the second one.So basically it starts with the section one and

import google/protobuf/timestamp.proto was not found or had errors in windows

I am trying to generate C# code using .proto file, but getting error import google/protobuf/timestamp.proto was not found or had errors. windows syntax = "proto

Library functions in Inspec Test

Team -- I have a ruby library helper in which I have defined multiple functions/methods. How do I reference those in Chef Inspec tests? def interface_name # s

How to separate large numbers with spaces kotlin

I have a calculator app and I want it to show large numbers with spaces between them when users enter their input. Currently, they don't have spaces between the

Can you run cypress specs all as one test run so that the test records to testrail as one test run instead of a test run for each spec file?

I have been using this npm package: https://www.npmjs.com/package/cypress-testrail-reporter and it does not seem to have a reporter option to allow me to do thi

How to read "Table of Contents" from MS Word Document using win32com client?

Recently i have started working on python and MS word. I tried to update the Table of contents in a .docx document using win32com.client python module(pywin32).

when i pass 2 different test data in @test annotation and in @afterTest driver.close() i get the connection reset error

when i pass 2 different test data in @test annotation and in @afterTest driver.close() i get the connection reset error and 2nd browser instance is closed publi

Eclipse throwing "Unresolved inclusion error" on standard includes like "stdio.h"

After installing Eclipse freshly on Windows 10, I imported code to work on, but Eclipse started throwing the error "Unresolved inclusion error" on standard libr

Firebase Firestore - Get recent trending posts

How can I query for "recent trending posts" using Firestore? I am considering it as "recent" if it is was uploaded in the last 4 hours. I am considering it as

Very long ffmpeg command due to drawtext commands for every second

I have a video of about 20 minutes length and want to show every second a different text using the drawtext filter. I used a java software to compute a very lon

iMacros - extracting text

Can you explain to me why my EXTRACT doesn't work? I am trying to count the number of users with private profiles in my group (because mostly these are bots). S

How to insert properly into a many-to-many relationship?

When inserting data into a many-to-many relationship, should you insert to the join-table or to both original tables? My table models: public DbSet<User>

Copy information from file to variables

#include <iostream> #include <stdio.h> using namespace std; struct Table{ char fullname [100]; int group; int firstMarks[5]; int se

How do I save changes made to data within a Userform back to the same row where the data came from?

I have found code to search a table and load cell values into the form. I need to be able to make changes and save the form data back to the table to update th

Using filterConfig.yml with DocFX

I am new to DocFx and I am trying to configure DocFx to filter out DataSet information from a project and no matter how I enter it - it just doesn't work. The f

Using Typescript with transpiled, unsupported/custom language files

The Problem I have JavaScript-like files with extension .gml I can convert the source to valid JavaScript via magic-string, and can go back the other way using

How can i persistently set the default values for control elements in ms access

I am using a Plugin for Version Control with gitlab. This Plugin exports a whole Database to Textfiles which can be commited to a git-repository. You can than b

Azure DevOps pipelines for cypress tests not running in the test environments(Dev, QA, Stage and prod) that I selected before clicking on run

I have different environments added in my cypress.env.json file like below { "environment":"staging", "prod":"http://production.com", "staging":"http:/

run both master & slaves as docker containers "Jobs"

I have Jenkins Master runnig on docker conatiner and Every time I need A slave to run my jobs a docker container spins up as a Jenkins slave and my script is e

Why is Composer installing an old version when it isn't specified?

When I do: composer require deployer/deployer I get the following output: Info from https://repo.packagist.org: #StandWithUkraine Using version ^4.3 for deploy

what is the best way in flutter to implement payments?

I have to implement an app and a web app with payments. I wanted to use Firebase functions, what do you think is the best way to do it? APay, GPay, PayPal, Stri

Memory leak in Spark Structured Streaming driver

I am using Spark 3.1.2 with hadoop 3.2.0 to run Spark Structured Streaming (SSS) aggregation job, running on Spark K8S. Theses job are reading files from S3 usi

.Net standard project docker COPY file not found visual studio

I have a .Net standard project called PrivateSales with a Dockerfile that looks like this #See https://aka.ms/containerfastmode to understand how Visual Stu

Is it possible to interact with PDF-VIEWER (Selenium or other tools)?

This issue has been driving me crazy lately, I've been looking all over the internet for days and just found unaswered questions. Is it possible in any way to i

Can't use Keras MeanIoU to train semantic segmentation model

I'm working on a binary semantic segmentation problem. I built an UNet model with MobileNetV2 backbone. Here is my model code: def upsample(filters, size, apply

How to pass template variadic arguments by reference in C++?

I want to get repeated inputs, therefore I made the function to get inputs with variety of types. template <typename InputType> void get_inputs(const std: