Latest Questions

How to merge multiple in index into single page applications

I have these two ReactDOM renders to merge into single ReactDOM, having difficulties in merging. ReactDOM.render( <Provider store={store}> <Brows

Jenkins not triggering build on PR merged in bitbucket

We are using Bitbucket cloud to host our repos and Jenkins for CI/CD. I have setup a multibranch pipeline which has develop and release branches. I want to trig

How to Claims mapping in AD B2C custom policy when using SAML IDP

I'm trying to add an SAML IDP to AD B2C using custom policy, did all setup and B2C redirecting me to IDP's login page. But now I'm confused with the claims mapp

Buefy autocomplete - prevent list close

I have a Buefy autocomplete which works as expected. But if I choose option list with options close. I need it to stay open to select multiple choices. It seems

Query with arbitrary number of filter conditions that come from querying the same collection

const score_schema = mongoose.Schema( { tester_id: { type: mongoose.Schema.Types.ObjectId, ref: "user", required: true, }, test_

How to install SQL Server PowerShell module on my company's server

Environment: Windows 2016 Server Standard PowerShell 5 Has Internet connection Running PowerShell as administrator JFrog is something new we're implementing but

Problem with Firebase Firestore when calling on App Delegate swift

I want to make a firestore call every time the app launches. but the line of accessing firestore or the completion is not being executed. class MoodAnalysisFire

How to solve Tesseract installation error?

I am trying to use this function: pytesseract.image_to_string(img) However the following error is appearing: enter image description here I installed it : enter

Room Database returns updated value only after app restart

i am inserting and deleting a row in room database using following methods of ViewModel class fun insert(rules: TableRules) = viewModelScope.launch { reposi

I am training Yolov5 on OID dataset and I'm getting these errors, "Caught KeyError in DataLoader worker process 0" and "KeyError: 'copy_paste'"

So this is my error, I am using the OID dataset for training using the YOLOV5 model. As a reference, I'm using this article: https://blog.paperspace.com/train-y

how to add an image to user playing activity?(discord.py)

Iam trying to add image user activity status in discord.py and basically, the problem is that I can't seem to add an image so I looked up discord.py API but cou

I am using viewpager2 inside a recyclerview but the images are not outputting. Why?

No matter what I do the pictures are not showing up. Even if I set the items to match parent, I still have the same problem, I've been dealing with it since the

How can I use Continue in a choose statement in xslt

I want to continue to check for other if statements if the first one is met. From what I read, Choose statement does not have this functionality like other lang

Specialize a visitor for types under a namespace

I have a variant which can contain 8 different types, some of them under a particular namespace std::variant<T0, T1, T2, ns::T0, ns::T1, ns::T2> v; There

NestJS module import not working in the forRootAsync and forRootMethod of a dynamic module

When trying to import another module inside of my dynamic modules nest throws the following error when using a service exported by that module inside of my serv

How can i create this type of html layout

I want to create something like this in a layout where the icon line themselves up with html, how can i get this done? Layout i would like to create I Tried the

How can we add DI (Dependency Injection) of a class library to multiple projects in C# asp.net 6

here I am trying to add dependencies from SchoolAppASPv2.Infrastructure to SchoolAppASPv2.Identity but I am not being able to. It shows an error in using Schoo

Best way to update Database with List where items have been deleted

I'm working on a recipe Webapp with Asp.NET 6.0 and Razor pages. There are three database tables : recipe, ingredient and food. Each Recipe has a Name, Preperat

Model definition does not give any output

from sklearn.linear_model import LogisticRegression logmodel = LogisticRegression() logmodel The output of the above code is just LogisticRegression() But I e

Is it possible to create new linked list nodes inside a loop in goLang?

I need to create a nodes for a linked list and return the head inside a Function. Definition for each node: type ListNode struct { Val int Next *ListNo

Virtual addressing page table if we use 32-bit, 64-bit, and 128-bit

Hi i'm having a little bit of trouble here concerning a exercice. Calculate the number of entries in a page table if we use 32-bit, 64-bit, and 128-bit virtual

Global Accelerator issue when connected to Elastic Beanstalk AWS

I have a Global accelerator connected to elastic beanstalk in 3 regions(US, AU, EU). The issue is whenever I hit the global accelerator it responds with the cer

Sympy blanket initial condition (or assumption?)

I'm using Sympy 1.10.1 in Jupyter. Some cells look like: import sympy as sp x = sp.Symbol('x') y = sp.Function('y')(x) y.diff(x) diff_eq = sp.Eq(y*y.diff(x), 4

How to add vector images support for ImageChooserBlock in Wagtail CMS?

I want to be able to upload .svg files in ImageChooserBlock. By default, .svg format fails validation when uploading via Wagtail's admin panel. (Vector graphics

c#: cannot FindCertificateByHash when loading certificate from X509CertificateStore

I need to add a BinarySecurityToken to the WS security header of a SOAP request. I followed https://stackoverflow.com/a/22560639 and the Samples of MicrosoftWSE

Getting the same HREF link instead of different HREF links with Selenium

This is the first time I'm making a website scraper and I'm relatively new to programming in general. So I'm trying to get the HREF links for all the subpages o

How do I make this function more efficient?

I'm trying to create a tiny database that contains a list of people, their names, ID, and their income as time passed on. Using this database I'd like to find t

Changing the toolbar item placement on iPad

Let's take the Shortcuts app for example. On the iOS App: On the iPadOS App: As you can see, the toolbar items were on .navigationBarTrailing on iPhone, but i

How to Move Menu Element Shopify

I'm trying to add a menu item to the right side of the search bar on Shopify (Sense theme) as indicated in this image. Anyone can help how to move that item? I

how to set IBM MQ topic to share message only within same applications

this is what I want to achieve with IBM MQ: I have a topic in place, and 2 different applications (A1,A2) subscribing the topic. each application has 2 instance