Latest Questions

How to search list of numbers in many files

I have 5 files containing numbers and need to search for a list of numbers and print the name of the file it has. i tried this code but don't work import os

How do we call c++ application from web on client side on linux

For example, a client has a c++ application, and trying to access web application on the browser. But the web application needs to run this application. I don't

Federating Google Cloud with Azure AD

Any reason why the Azure AD sync job which federates google cloud and creates user in GCP which would end up in suspended status ?

Get the bar_index of the first bar that has a lower low than the low of the current bar

To find divergences I'm trying to get the bar_index of the first bar that has a lower low than the low of the current bar. I wish I could inject current bar va

How do i move the "interaction" with the "blob" in this animated blob?

I downloaded this javascript blob graphic, I've added it to my page, and moved it to the right using CSS, But when I move the mouse to interact with the blob, i

Do these built-in UDTF functions need to be registered before use in the Apache IoTDB?

"I want to use the built-in UDTF functions, but I don't know what they are. How can I find them? Before using it, do I need to register it? I don't know the rea

Expanding Records Based On Date Range Pandas

I am attempting to expand the records in a data frame between two dates. Given the input file of single entry for each record, I want to expand it based on a gi

In React Native, I am getting this error "Could not find root view for a given ancestor with tag <no.>"

I was implementing the bottom-tab navigation feature and I am getting this error Could not find root view for a given ancestor with tag number Attaching error

Is this defining the struct pointer address?

I am a bit lost in the following piece of code. What does it mean? Define the the Elf pointer start position? #define ELFHDR ((struct Elf *) 0x10000) Aft

Expanding dataset and filling missing dates in Pandas

The raw dataset is below: DF When the start and end dates differ, we require daily granularity. Daily granularity ensures each row has the same start and end d

How can I run scheme?

1( import ( chezscheme ) ) 2 3 4 ( define ( bigger a b ) 5 ( if ( > a b ) 6 a 7 b 8 ) 9 ) 10 11 ( define ( small

What's behind GCP `There was an error while loading xxx. Please try again.` UI error?

When accessing Google Cloud Platform Services, I'm requested to retry due to an unknown error. It affects all services I want to access. The snapshot below show

POST http://127.0.0.1:5500/add 405 (Method Not Allowed)

Could you help me solve this error? It seems that I can not connect between server.js and app.js. What I want to do is: display the result of the postData('/add

How to replace words in real time like with Facebooks emoticons (javascript)

I want to replace words with others as soon as you finish typing them like Facebook emoticons. I ran into a few problems though. var word = 0; var matches =

Android TV Leanback: Setting setOnHeaderClickedListener or setOnHeaderViewSelectedListener Breaks Normal Navigation

I'm hoping the wisdom of the crowd can help me solve a strange problem. I have a very basic ATV Leanback App using androidx.leanback.app.BrowseSupportFragment.

cant read field in xml section

Using python I got to the correct iteration of the XML (forecast) section, but one child field I cant seem to be able to read here is the section from the XML &

How to export python variable as javascript file

I have a python variable in jupyter notebook allFolders = {'1': { '2': {'3': { 'A' : {}, 'B' : {}, 'C': {}}}}} I am wondering if there is a way to export this

R reticulate specifying python executable to use

First, I'm working on a Windows machine. I would like to specify a specific version of python to use in RStudio. I would like RStudio to use python 3 in the Arc

Cannot reach docker container through WSL2

I run into an issue with a docker and WSL2 configuration that was running ok for weeks... I'm running a docker Apache2 web server on Ubuntu WSL2 with port forwa

In React Native, I am getting this error "Could not find root view for a given ancestor with tag <no.>"

I was implementing the bottom-tab navigation feature and I am getting this error Could not find root view for a given ancestor with tag number Attaching error

next-auth 4 session returns null, next.js

This is code in api/auth/[...nextAuth].js import NextAuth from "next-auth"; import CredentialsProvider from "next-auth/providers/credentials"; import User from

cant read field in xml section

Using python I got to the correct iteration of the XML (forecast) section, but one child field I cant seem to be able to read here is the section from the XML &

Splitting Array of Lists into named subarrays

Splitting Arrays for Test Train Essentially I am attempting to convert a pandas dataframe into numpy arrays so that I can run it through a Test/Train. My goal h

PJSUA call_make_call returned a result with an error set

i have a problem when use PJSUA module with the python3, when i make the call is always have a error: SystemError:<built-in function call_make_call> retur

Start jest in watch mode without executing any tests

I have a lot of test files in my project, and I would like to know how can I start jest in watch mode without executing any tests automatically? Because, as of

How can I run scheme?

1( import ( chezscheme ) ) 2 3 4 ( define ( bigger a b ) 5 ( if ( > a b ) 6 a 7 b 8 ) 9 ) 10 11 ( define ( small

Not able to align floating action menu in flutter

I have this menu on the floating button , but I could not align it correctly, I want it to show directly above the floating button, this is how it looks in red

Cannot reach docker container through WSL2

I run into an issue with a docker and WSL2 configuration that was running ok for weeks... I'm running a docker Apache2 web server on Ubuntu WSL2 with port forwa

next-auth 4 session returns null, next.js

This is code in api/auth/[...nextAuth].js import NextAuth from "next-auth"; import CredentialsProvider from "next-auth/providers/credentials"; import User from

yolov4 test. why one Object detected two different classes?

when i use yolov4 to detect cells. one cell is labeled two different classes. how is it caused and what should i do? enter image description here sry,Eng