Latest Questions

Regarding Merging classes in Image Segmentation (Python)

I'm Trying to implement Domain adaptation of Segmentation of Satellite Images From one set of images to another images. To align the classes in two domains , I

Update a bot variable with user input created in boot framework

I created in bot composer a new multiple choice for a user to select, given the user answer i want to update or set the value of a variable created in Power Vir

Stack balanced Parentheses build log show :- Process terminated with status -1073741510 (0 minute(s), 2 second(s))

When I try to implement parenthesis problem using stack (array representation) it showing above problem. Here I use dynamic memory allocation in array. When I

Extract indices of certain values from a list in python

Suppose, I have a list [0.5,1,1.5,2,2.5,3,3.5,4,4.5], now I would like to extract the indices of a list [1.5,2.5,3.5,4.5], which is a subset of that list.

calculate compound profit in javascript

I have to calculate compound profit. for example, I have $100, increasing 10% monthly, and I have to calculate the total profit for 12 months. And I need a prof

Parse Huge xml file in spring boot and load to oracle

I have a requirement to load huge xml file having 1 million records and load to the oracle table. Each record has starting and end tags as and there are many a

AWS SAM "No response from invoke container for" wrong function name

I've debugged my application, and identified a problem. I have 2 REST API Gateway, and it seems like since they both bind on the same endpoint, the first one wi

Creating a PDF from WKWebView in macOS 11.+

As WKWebView contents can finally be printed out in macOS 11+, I'm trying to replace old WebView dependencies. However, with the HTML correctly loaded in WKWebV

Github Action won't run until manually enabled

I need to create a bunch of repositories programmatically using from a local template. I have a .github/workflows/build.yml with on: [push]. However, Github Act

RankWarning: Polyfit may be poorly conditioned

I am trying to find the rolling price slope of btc trading data (minute data) using pandas. When I run the script, the following error / warning pops up sys:1:

Object Detection Google Colab: AttributeError: module 'tensorflow' has no attribute 'contrib'

I've been working on codes for Object Detection in Google Colab as in 1 and in 2 but, when using the following code sample: !git clone --quiet https://github.co

How to check if all lowercase 'g' in a string has another 'g' adjacent to it?

I need to write a program that returns True/False based on the following conditions: A lowercase 'g' in a string is "happy" if there is another 'g' adjacent to

How do I parse the data on the website when scraping the web when the attribute I want is in the sub data?

I'm doing scrapping on a website and want to retrieve data on the 'stats' attribute then 'interest_count' data. But I don't know how to retrieve these attribute

spring boot transactional integration for event management

We have recently put a REST Spring Boot MVC application into production. We are using JPA with Postgresql in order to achieve some nonfunctional requirements: w

Gstreamer x264enc invalid buffer size c

I've been trying to use this gstreamer c code(my system is running on ubuntu 20.04 with GStreamer 1.16.2 and gcc 9.4.0): #include <gst/gst.h> #include <

How to make multiple smooth curves in one plot in R (with these data)?

I am a beginner with R. I have the next data: 5 cars drive from A to B, the total distance is 100 km. The speed of these cars is measured during different momen

WARNING: Ignoring JAVA_HOME, because it must point to a JDK, not a JRE

what happend: i can't solve the warnings fjw@MacBook-Pro googletest % [master] bazel info WARNING: Ignoring JAVA_HOME, because it must point to a JDK, not a JRE

Friendly way to redeem Custom Code from Google Play

I have create a Custom codes which allow user subscriptions with some free trials. From the document, in order to redeem the code, we need to initiate the purch

jMeter Regular Expression Extractor with use of variable in regexp

I use jMeter 5.5-Snapshot 3a74a92. I need to use result of previous Regular Expression Extractor stored in variable in next Regular Expression Extractor when bo

Swift: Unit testing delegate methods with 3rd party class as an argument

I know how to unit test with 3rd party dependencies by extending the class with your own protocol so that you can inject a mock dependency that implements that

Recenter the scrollview content Swift

I'm trying to recenter the scrollview view and move the frame, when the user current location goes to the out of the screen frame. Currently I have a PDF a

SQL Server SubQuery Error - Only one expression can be specified in the select list when the subquery is not introduced with EXISTS

I'm trying to select multiple values from 3 subqueries and combine them together. But I get the error "Only one expression can be specified in the select list w

Network errors with Python Telegram Bot

I use a Python Telegram Bot script in Visual Studio Code on my PC, and sometimes i have this error: telegram.ext.dispatcher - ERROR - No error handlers are regi

Python Win32 hide subtotals of pivot table

I've got the following code: def pivot_table(wb: object, ws1: object, pt_ws: object, ws_name: str, pt_name: str, pt_rows: list, pt_filters: list, pt_fields: lis

Display data from SharePoint Online document library on Powerapp

I am looking for the best solution to get the documents from SharePoint online document library and display them on a website or power app. The website or app

How can we use a python string variable in a SPARQL query?

I want to use python string variables in my SPARQL query without an IRI (for the sake of looping through a list of variables etc. I tried the code below but it

NPM Error "Can't find Python executable" in MacOS Big Sur

I've been looking for the answer to this for a good solid week now, with no success. I've looked at every StackOverflow post, every article from Google and ever

Postman auth service principal to azure database

I am testing some workflow in azure on which I have some web apps api connecting to a SQL Database using a service principle. Everything works fine and the web

NUKE Build: Could not find a suitable MSBuild instance (Visual Studio 2022)

After upgrade Visual Studio 2019 to 2022, I got the following error when I try to build the project with NUKE Build (Debug/Release): ╬═══