Latest Questions

OpenCV HoughCircles parameters for detecting circles (microstructure spheres)

I am creating program that helps processing microstructure images. One of the function is detecting circles with the same radius. User draws one circle, my prog

Cognito throwing Username should be an email

I am attempting to build a lambda function connected to an API gateway POST method that will allow users to create and register cognito users within a given poo

Django rest framework jwt {"detail": "You do not have permission to perform this action."}

I am trying to make a request using django-rest-framework and django-rest-framework-jwt but The response that I get detail": "You do not have permission to perf

Taking Second Value with Case When in Hana Tables Join Condition

I have event, cases and roads tables. I want to join these 3 tables but i have a problem because there is two different road_id which matched same firstpoint, l

React Material UI Select conditional rendering shows value as out of range

The use case is creating an order that has multiple order lines. I have two lists of Products: Preferred and All. Every item in Preferred is in All. I have a bo

VSCode Haskell Extension Error: `ghcup --no-verbose upgrade` exited with exit code ENOENT

When opening a Haskell file with VSCodium (I don't think that makes a difference), I get the error `ghcup --no-verbose upgrade` exited with exit code ENOENT. He

emplace and try_emplace with copy constructor

I have an issue with emplace and try_emplace as they always use the copy constructors when moving an object in. #include <iostream> #include <unordered

React checkbox data from mongodb

I try check if checkbox is checked in mongodb or not So for isClosed my value in db is true And its working so far my checkbox is checked bcs its true in db. Bu

Question for auto-resizing Textarea using VueJS

I'm trying to let the text area automatically adjust its height when the text value changes: <textarea ref="textarea" v-model="message"> </textarea>

How to use a custom post type slug within another custom post type's slug

I have created two custom post types in my wordpress project: city and property using the below query. register_post_type('city', array(

The view function for 'run' did not return a valid response. The function either returned None or ended without a return statement

I did write an HTTP Cloud Function in the Google Cloud Platform. The purpose of this function is to update data in the Database (Firestore). I do not intend to

?Invalid char constant compile error ?cannot able to declare in java

I am trying declare char constant in java it throwing invalid constant error. public static final char code = 'RETURN';

Vue Stripe checkout error "TypeError: this.$refs.checkoutRef.redirectToCheckout is not a function"

I am testing the Vue Stripe Checkout from: https://docs.vuestripe.com/vue-stripe/stripe-checkout/one-time-payment And i am getting this error in console: [Vue w

Maven shade plugin does not exclude an artifact

I need to exclude the log4j artifact from the shade plug-in to avoid the log4j vulnerability, however, the exclude tag under artifactSet does not seem to work.

How to create arrays with combinations between certain indexes of a fixed length and fixed sum

For example: array = [4,3,2,0,0,0,0,0,0] The 0th index should only have combinations with 3rd index and 6th index. The 1st index should only have combinations

How to use MUI to stack components on top of eachother?

I want a div that looks like this on Desktop: ------------------------------------------------------------------ | (icon) | (content)

How to make a button event handler in discord.js V.13

I create a function to send an embed message with a button and now I would like to create an event handler to detect when the button is clicked and execute a fu

Converting non-conventional CSV into a compatible CSV

I got this kind of CSV which is not an CSV. Let me explain it. The output has column_name,value. e.g. created_at,2022-02-10T16:53:49+01:00 upd

Sorting and getting position or row nth number of sqlite database for Android studio

I have this table of students public void onCreate(SQLiteDatabase db) { String createTableStatement= "CREATE TABLE " + STUDENT_TABLES + " (" + ID_COL + "

My React Native app is lagging in the light mode, but is superfast in the dark

I am creating a React Native app with light and dark modes. The colors of all components in the app are controlled with my custom hook: export const useColors =

What is the best way to generate all possible three letter strings?

I am generating all possible three letters keywords e.g. aaa, aab, aac.... zzy, zzz below is my code: alphabets = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',

ScriptUI - Integer number in slider percentage

I have a script that shows a dialog window with a slider bar, next to a static text. The text shows the percentage of the slider bar (0 to 100). The problem is

sorry - old question again: imagecropauto() not working

I have some simple code: $original_image = imagecreatefromjpeg($image_path); $cropped_image =imagecropauto($original_image , IMG_CROP_THRESHOLD, .5, 16777215);

Not able to use rasa x with current version of rasa

Rasa forum says that rasa x 1.1 supports rasa 3.x, but when i try running rasa x on a model trained with rasa 3.1 it gives me error. UserWarning: Your version o

Powershell: Pass result of Get-AzTableRow to function

I am using below PowerShell code in azure functions to retrieve rows of users in azure table who belongs to a particular location. $Rows = Get-AzTableRow -table

Azure DevOps trigger at pipeline completion using different branch than expected

In the workflow of a pipeline triggering another pipeline according to this doc, I'm trying to set: feature-branch PR to develop-branch triggers stage-ci stage-

How to add pooled standard error in tbl_summary() and eta effect size?

I am trying to include Pooled Standard Error (PSE) and Eta square to tbl_summary(). PSE is calculated by sqrt(mean(residuals^2)/n), I tried to calculate step by

Unable to connect from Google Cloud to Bitbucket repository using app password

I'm using GCP build triggers connected to Bitbucket repositories. The connection is made using user credentials. Bitbucket has announced they're ending support

Select max value from table by category

Bought X times Name Manufacturer 19 Олівець Faber-Castell, Castell 9000 F FaberCastell 14 Наб&#