Latest Questions

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

C++ google test fail for multi threads

I am having following C++ code and corresponding unit tests in google test. I am studying book on Modern C++ programming using Test Driven development. Below co

Composable calls are not allowed inside the calculation parameter of inline fun

I am trying to access the dao instance of my room database which is being used to store names(This code I wrote just to get familiar to jetpack compose). I trie

pyaudio Segmentation fault in termux

I am trying to run pyaudio (version: https://git.skeh.site/skeh/pyaudio) in termux, but nothing can be heard from my tablet and it prints out "Segmentation faul

is this the right way to implement a custom architecture in flutter app using riverpod?

I am creating an App using riverpod, hooks and freezed. My aim is to remove the entire logic out of the widget tree. This article by @ttlg inspired me. In my a

How to send a reply email when recipient clicks button embedded in an email message?

I am doing Excel VBA code to send emails from Outlook. This is working so far. I would like to add a couple of buttons (or links) inside the email body. The rec

Discord bot stopped working through Heroku, works fine offline

Solved! Answer below. EDIT: Cleaned up this post to keep it all clear. Here's the code for a simple GIF bot. The important thing is: this bot works offline, giv

how can i fix pagespeed score when base64 font is treated as unused css

I embedded the font file directly into my css file in fontface as base64. Besides the font, I have about 150 css lines there. The pagespeed claims 60.5 KiB of 6

Control display of an ipyvuetify page by a dropdown works in notebook not in voila

I have encountered another working in notebook but not in voila issue. I have tried for a couple of hours but feel like I am still missing something and therefo

Feed formats other than pbf to Osmosis

I've written code in Java using the Osmosis framework and specifically OsmosisReader for Java, for OSM processing. As far as I understand, OsmosisReader can onl

justify-self propety doesn't work in bootstrap's navbar [duplicate]

I have a basic bootstrap header here: https://codepen.io/yan14171/details/KKQNoYW <nav class="navbar navbar-light" id="navbar"> <a

Swift - Re-add time back into Timer

I have a countdown Timer that shows seconds and milliseconds. The user can start/stop recording multiple times until the timer hits zero. The user can also dele

"is not registered in resolver" exception when serializing with abstract class using MessagePack

Trying to serialize componentMappers . The Exception is throwed at .Serialize(): var componentMappers = new Bag<ComponentMapper>(); var componentMappersS

Volatile reference to mutable object - will updates to the object's fields be visible to all threads

... without additional synchronization ? The Tree class below is meant to be accessed by multiple threads (it is a singleton but not implemented via an enum) c

Linqpad: LINQPad.Util.Cache throws error if query file is modified, saved and re-run. "Cannot load type" error

Using the amazing LinqPad with a C# script. Get an error using the Util.Cache storing a custom class declared in the same script. How to resolve, other than res

How the vector gets returned even though it is a local variable inside a method of a class

The vector<int> bfs is local to the method bfs_of_graph then how can we return the vector as it would be erased in the memory and only garbage values shou

ASP .NET Core custom authentication scheme with external login

I have a website where users log in on an external website and are redirected back with a token in the querystring. I then validate the token and create the aut

Search data for JTable using PLSQL stored procedure

I have a JFrame in which I have populated some data by stored procedure. Now I want to search the data through a JTextField. I used a RowSorter filter method b

.NET 6 console app using NuGet library written for .NET 5 runs fine under Windows but crashes on Mac M1 with System.BadImageFormatException

Under Windows I have used the SaxonCS library (available on NuGet https://www.nuget.org/packages/SaxonCS/ that is written against .NET 5 successfully in both .N

Compute shared secret for ECDSA<ECP, SHA256> keys with Crypto++

I'm trying to do the following: Receive x and y coordinates of a EC public key Generate a random EC public key Compute the shared secret of the two keys I'm stu

How can I italicize part of a ggplot2 plot title when knitting the figure in an RMarkdown file?

If I'm just working in R to save a plot as a PNG I'm able to use the {ggtext} package to incorporate basic markdown into elements of my plots, but {ggtext} outp