Latest Questions

APP_NAME wants additional access to your Google account

What is throwing me off here is the keyword additional. Users are seeing this screen every time they sign in with Google. Shouldn't they only see it once (the f

Returning ID from not yet created linked table index

I'm currently working on the database integration of my internship project using EntityFrameworkCore.Jet version 3.11. I cant upgrade because I'm using an MS Ac

How to record depth stream from realsense L515

I have a depth camera (Intel Realsense L515) and I do like to record a video of the depth. I have seen this answer which is using FFMPEG, but I didn't know how

MicroK8S pods have no connectivity

No pods in newly created MicroK8S cluster on my Ubuntu have any connectivity, including coredns: $ k logs -f coredns-64c6478b6c-4pdnj -n kube-system ... E0429

Chrome Extension manipulate DOM ONLY if tab is in focus

I have a Chrome Extension that subscribes to a WebSocket and pops a window when a message comes down that socket. This runs in a background script, so no matte

Trying to get the minimum date and getting TypeError: '<' not supported between instances of 'datetime.datetime' and 'int'

i'm reading from an excel file GA = pd.read_excel("file.xlsx", sheet_name=0, engine= "openpyxl") The data type is: Email object Date datetime64[ns] Name object

Parallel test execution and growing active connections to mongodb

I have an application with thousands of tests through MockMvc. The tests are running in band, so 1 at a time and whole process takes hours. I decided to try par

Show two different size of image when url is pasted in the textbox

I'm unable to resize the image. Here's my code document.getElementById('btn1').addEventListener('click', function(){ document.getElementById('photo').inne

What can be reason I got CORS error but it was actually NOT a CORS error (more like a 504)?

What can be reason I got CORS error but it was actually NOT a CORS error? Please refer to the following pictures to see what I mean: The console output the erro

Hi all ., Not able to sendkeys in Appium server, when connected to my real device ! ...[Android]

[ this is the version am using & connected to my real device Where I used the xpath such as (//*[@resource-id='text-input-outline'])1 After that , its showi

Can I find out the version function/classes were added from a tagged GitHub repo for PHPDoc @since

I am looking to add PHPDoc comments to my project, I previously have various versions before PHPDoc was used, these are tagged releases in GitHub. Is there a me

vsCode dependencies bug with nestJs

my vsCode bug to recognize dependencies when i program with nestJs, after setting up the project with: nest new projectname then after running for example: npm

OpenIddict, after restarting auth server the tokens are invalidated

I have the following set up: Authorization server (.NET 6 with MVC, port 7000), Client (.NET 6 with MVC, port 7001), Resource Server (.NET 6 API, port 7002). Au

Is it possible to do a list comprehension of a list of dictionaries? [duplicate]

If anyone knows how to do a list comprehension of this, please do let me know!~ Right now I am trying to extract only the IDs into a list. The

Youtube value doesn't effect to conditional branch, but only if I hot reload the page

I wanted to try change text color depends on youtubeController.value.position,but only if I hot reload the page. Why? Can you guide me please? Also, youtubeCont

Problem with variables using a namespace at C++

I am trying to write a relativity big code. The main problem, for awhile, is that there is a problem occurring when I define a dictionary. I have a .hh file nam

Understanding bitwise NOT in python

I was trying to understand bitwise NOT in python. I tried following: print('{:b}'.format(~ 0b0101)) print(~ 0b0101) The output is -110 -6 I tried to understa

How to mark the icons according to the GPS coordinates on the map-captured image?

Capture a map, create an image, and display it on the screen. The image has a start point and an end point. Rotate the image so that the starting point is alway

TGPUObjectsPool memory leak on shutdown in Delphi 11.1 FMX

Running 11.1, I get this TGPUObjectsPool error on shutting down a simple basic FMX 2D app under Windows 64-bit (Release mode). First time I have seen this error

convert cv::mat to IplImage

Mat m = Mat(4, 4, CV_8UC3); IplImage * iplImage = cvIplImage(m); error: cannot convert ‘_IplImage’ to ‘IplImage*’ {aka ‘_IplImage

How do I make my setfunction run through my if loop?

I am working on a program and I need to make a class about cars. I need to add setFunctions that only allow a car year manufacture of 1930 -2030 as input, anyth

Facing problem while deploying my site in firebase

While deploying my site in firebase they show me i have completed deploying but don't show me anything in the page. Why this happen?

How to make a Generic Type Serializable API Model?

When i using Retrofit2, I wanna to trying to convert JSON to Object in Kotlin. I have no idea how to generate it to an Object. My Api Response Json [ {

Open3D scene renderer render_to_image returns black screen

I am trying to render a scene that simply contains a mesh of obj file and the material file. It looks okay when I try to view with o3d.visualization.draw([{

Converting .ova file to .vdi

I had installed mininet-wifi on virtual box via .ova file. Its operating system was lubuntu. As a result of moving and deleting, the .vdi file in the mininet-wi

How to convert PPM image file to JPG or PNG using Python? [duplicate]

I have made a script which makes a valid ppm file which when opened using a ppm viewer is working properly. But I don't want my users to insta

How to use standard input redirection to a file while debugging using cppdbg in Visual Studio Code

{ "version": "0.2.0", "configurations": [ { "name": "Run GDB", "type": "cppdbg", "request": "launch",

sum of a int in a list excluding the " " python

I have a list like this lst = [12, 0, 13, ' ', 8, ' ', 13, 4, 4, 3, ' ', 0, ' ', 19, 0, 23, 8, ' ', 20, 15, ' ', 19, 14, ' ', 20, 1, 20, 3] and what I am looki

How to test a class with token using IConfiguration

I use Xunit in the .Net framework. This class is GenerateJWT that has a parameter is User type (Object) which needs to be tested, I want to mock the IConfigurat

How do I make part of a regex match optional?

This is an example string: 123456#p654321 Currently, I am using this match to capture 123456 and 654321 in to two different groups: ([0-9].*)#p([0-9].*) B