Latest Questions

GMail API Node.js quickstart - ERR_CONNECTION_REFUSED

I am trying the GMail API Node.js quickstart on Windows 10. I do get the expected . However when I visit the url I get for http://localhost/?code=4/xxxxxxxxxx

Function returns no value - web scraping [closed]

I am trying to web scrap data from otodom without selenium/scrapy. Problem is, function getnextpage does not fetch any information on the pag

Java ORM vs multiple entities

I have a class Health Check - as part of the class I record how many parasites are seen (enum NONE, SOME, MANY) and also the location of the parasites (enum HEA

Template format error: Unresolved resource dependencies [ECSCluster] in the Resources block of the template

I have a condition to create or not the ECS Cluster and when I choose not to create it, indicating the boolean value false, Cloudformation returns the following

How to count a field if value is not null in elasticsearch

I have indexed some documents in ElasticSearch. Short view looks like this: { "tenant_id":"abcd1234" "provider_id":"3456" . . . "doctor_summary"

Code copied and pasted from outside sources into Visual Studio Code not working

I have come across this recent problem when I copy & paste code from outside sources -- for example, GitHub sources or from my own Google Docs -- and paste

Why is 'szbd-shipping-method:5' not being unset by my snippet here? [duplicate]

To open, I do not know PHP. I have cobbled this snippet together from the information in these two links -> Show and Hide div based on day

Error "takes 1 positional argument but 2 were given" when Tkinter slider callback

I am trying to use Tkinter sliders and buttons to adjust variables. Somehow when I move the slider, it gives this error message below. I have self on each of th

Attempting to use np.insert in a created class which has subscripts yields "object does not support item assignment" debug

I have defined my own class which takes in any matrix and is defined in such a way to convert this matrix into three numpy arrays inside a parenthesis (which I

Strange bug when cycling dog photos

I have this code that generates a dog photo and can cycle through them. import tkinter, urllib.request, json, io from PIL import Image, ImageTk main = tkinter.

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