Latest Questions

How to define and call functions in c++?

I am new to c++ and I am wodering how to properly define functions? Right now I am receiving the following errors: Severity Code Description Project File

Multiple problems with Sobel algorithm in c

I'm trying to build an edge detection program using the code below. I have faced a variety of problems though, that I don't know how to solve. #include <stdl

how can I turn my linear regression model from univariate into the multvariate?

I have built this univariate linear regression model from scratch and I am conceptually ok with how the multivariate version of it works. the problem is that ho

How does one create text that can overlay all windows like the Windows Activation Watermark?

I would like to create a count down timer that displays in the lower right hand of the screen with slightly transparent text that can be seen no matter what you

How do you use std::distance in a range-based loop?

This is my code that won't compile: for( auto occurances : occ ){ if( occurances == 1 ) cout << distance( occ.begin(), occurances ) } It gave me th

Firebase App Distribution - No "install" button on Google Play window

I am deploying an aab with Firebase App Distribution to testers in my company for the first time. Devices not any worries while others ... Some are blocked on t

Your app(s) are using a WebView that is vulnerable to cross-app scripting

My android app keeps getting rejected because of this reason: Your app(s) are using a WebView that is vulnerable to cross-app scripting. I already did an extens

Dplyr Lags on Summarised Grouped Data

Using dplyr, I'm looking to summarise a new column of data as a lagged version of an existing column of grouped data. Reprex: dateidx <- as.Date(c("2019-

Global variable is not updated if it is from other .py file

As you know, the code: var = "flower" def update(): global var var = "forest" update() print(var) will properly modify the variable var, but if you do

appscript - get multiple selected rows

If i mark and select 5 rows in google sheet. I want to retrieve an array of retrieved rows. Particully column (0). function selectRow() { var sheet = Spreadsh

python logging library init.py returns keyerror and acquireLock() is NoneType

Im absolutely not sure which library is causing this or what is causing this but i really would appreciate some help. Although the error isn't messing up with t

Make standalone Checkbox filter - Mapbox

Fairly new to Mapbox but I have an issue with my code. With my link here (https://codepen.io/bearcats6001/project/editor/XjrPNP) I have a map that you have to p

How to customize functionality of "Delete Line" hotkey in Visual Studio Community 2022?

In most IDE's I've used, including VS Code, the "Edit.LineDelete" keyboard shortcut deletes the line and tries to keep the cursor in the same place on the follo

When I convert the obtained road network data into a geodataframes structure, why does the list element appear in the highway column?

import osmnx as ox G = ox.graph_from_place('成都市',network_type='all') G = ox.project_graph(G) ox.plot_graph(G) # 将图形

Create and fill new columns based on range information from two other columns

I have the following data: df <- data.frame(group = c(1, 1, 1, 2, 2, 2), start = c(2, 2, 2, 7, 7, 7), stop = c(4, 7, 8,

Fatal Exception: java.lang.IllegalArgumentException offset(23) is out of bounds [0, 0] JetPack Compose OutlinedTextField

Facing one crash in the jetpack compose, can anyone please help me with this. Fatal Exception: java.lang.IllegalArgumentException: offset(23) is out of bounds [

Facebook For android: Unable to get youtube video's large thumbnail

I am trying to post one of my youtube videos on Facebook and I'm unable to get a large thumbnail on Facebook for Android and when I'm trying to check that parti

How to add infinite scrolling to classic view blogger

Question: I'm trying to get all my posts in one scroll. It was working until recently by increasing "Max posts shown on main page" in Posts under settings to

In Cypress, Date and Time input fields are cleared unexpectedly after other input fields are filled

I have 4 input fields that must be filled to activate a form submit button. Date Time select textarea I created a cypress test to fill each of them by order and

The Composer installer script did not run correctly [exit code 259] and no output was returned

Hey guys i just got a new device so i tried installing composer on it, so i downloaded it from getcomposer.org and i tried installing but then after clicking ne

How to iterate over a countif checker in an if function

Im not an expert at excel/sheets. I wanted to make a dynamic function that would stop user error by doing all of the work. The function basically uses regex to

How to handle data for integration tests in Flutter with Firebase Realtime Database?

I am in the process of adding integration tests for my flutter app (Android & iOS). I am planning on having a sort of BDD test structure, with the Given par

How to use this Android Week View Library

I'm trying to implement on my android application a calendar week view where I will show all the events in that week like a school schedule. After searching for

azure python SDK retrieve backup items from recoverservices(backup)

I was told to move my bash script that reports on VM backup status, also reports VMs that are not being backed up to Azure automation account. I picked python s

Since we can generate cloudformation stack from serverless framwork execution similarly can we generate terraform scripts from serverless framework?

Since a serverless framework generates cloudformation stack upon execution so I wanted to know is it possible to generate terraform scripts from the serverless

Why do new lines keep appearing every time I append using "[,\n]" delimiter?

I'm new to java programming, and I currently build a program that updates an information from a user through file handling. For instance, I have this initially

Bypass gRPC interceptor for specific endpoint

Lately I have been struggling with one problem : I can't ignore io.grpc.ServerInterceptor for some endpoints, in my case the health-check one, provided under th

recursive finding longest path of same element in 2d list

I need to find the longest path of 0's in a 2d matrix recursively and can't figure out how to do it.( from a given (i , j) it can only move up, down, right or l

Cytoscape Diffusion Algorithm

Can anyone tell me what diffusion algorithm is used by the tool diffusion in Cytoscape? Also, I found a plugin genemania in Cytoscape, does it do the same thing

How to struct an object to represent a list of topics?

I'm coding at C# and I'm trying to make an OOP representation of a list of topics. I tried countless approaches but I still not being able to reach the desired