Latest Questions

Pipeline status not reflecting in PR when manually run

I am manually failing my pipeline before terraform apply. just right after terraform plan. It fails it successfully - I then add a manual approval variable and

SQL GROUP BY and COUNT and conditional SUM with column value

Here is an example of my table. ┌────────┬────────&#

ELS Bool query and sorting

I want to list logs the user name and "Authentication Failed" keywords in the message. if I send to elasting search following query ; {"query": {"bool":

Can't load a transformer model from huggingface

I was trying to load a transformers model from huggingface to my local jupyter notebook and here's the code from transformers import AutoTokenizer tokenizer = A

Google Sheets - Fill in date from another cell if empty

Thanks in advance for your help! Our team has a Google Sheet that is used to manage projects. There is a Start Date (Column E) and a **Due Date **(Column F) tha

pandas.core.indexing.IndexingError: Too many indexers in scikit-learn agglomerative clustering

I have this data set: col_index Sample FID SNP1 SNP2 SNP3 SNP4 SNP5 LiverCysts ESRD_Aug2020 Renal_Survival_Aug2020 Group 1 23 0 1

Python Discord Bot Commands Decorator within classes

Hey I was coding a discord bot, however I can't figure out how to write the commands decorator, I think that's because I am putting all the code in a class, wit

Kafka org.apache.kafka.common.errors.TimeoutException for some of the records

Getting below error message when producing record to Azure event hub(kafka enabled) Expiring 14 record(s) for eventhubname: 30125 ms has passed since batch cre

How to add a column name inside a case_when when using mutate_all and across?

I have the following dataframe and I want to mutate all the columns in ENV dataframe to substitute some value with case_when function: metrics <- stru

listview not getting data correctly

okay, so i got a listView in my android app to display messages, everything has been going good ever since i got help on time but now i got a bug where the last

My Tkinter Python code returns "I/O operation error"

I am trying to create a code that will detect cursor coordinates upon user's entry and exit of the Tkinter window. However, I am not getting an output the first

Sip installation fails --plat-name not recognized correctly

I was trying to use pip to install pyqt5 on my windows 10(64-bit) sytem. Before this I upgraded to python 3.10.4. The Installation using pip failes during the i

Why is my function not printing the try-except-else result?

What is wrong with my code? I am not being able to retrieve data about the age range. I am working with a CSV file but having problems with the try-except-else

Automatically solve rm cannot remove path : device or resource busy error

I am trying to remove a directory /path/to/dir using the rm -rf command. Unfortunately I get the error rm: cannot remove '/path/to/dir/.nfsdda293a660f276ca00000

how to switch between inputs in converter app in react?

I built a celsius(as input) to fahrenheit(as output) conveter with react But I want to switch between celsius and fahrenheit as input and output I mean when I c

Using web sockets with C++ and set the object protocol

I'm a complete beginner to all things HTTP and Websockets. I am trying to figure out how to setup a websocket for this specific example: https://docs.automata.t

problem to do a post at soap service from php soapclient

i'm a new using soap services, so i have a problem when i consume a soap service using soapclient in php. this is the request at soap: <x:Envelope xmlns:x="h

Pine Script Fill Stop Order Only If Stop Price Was Reached Before Stop Loss

I'm building a strategy using Pine Script Version 5. I'm trying to create a stop order using strategy.order command. The command is working as expected and exec

Is there any way to draw line by it's center in OpenGL?

I'm making a class that draws axis for a graph. And the result should look like this: And I want to draw lines which represents scale by only passing the coord

Full Calendar v5.11.0 - How can we vertically stack overlapping events in timeGridWeek view using JavaScript

I am using Full Calendar v5.11.0. The scenario is that there can be multiple hour long sessions in a day and there can be 18-25 people in each session. From Ful

How to iterate over a List of numbers and check if there are pairs of numbers that add up to a given value using Scala?

I have to generate a list of prime numbers smaller than a given number and then find all pairs of the generated prime numbers that add up to that value. E.g. nu

How do I find out the aria role of MUI components for RTL querying?

I've just started migrating from enzyme to react testing library on my project that uses material-ui. From what I understand, RTL queries the dom and the recomm

Jetpack compose scrollable table

I need to have a component that scrolls vertically and horizontally. Here is what I did so far: @Composable fun Screen() { val scope = rememberCoroutineScop

Not all icons are shown in react-native

I added react-native-elemets and react-native-vector-icons. I am looking for the icons name in the official website and by selecting only free icons, and import

Json Web token and implementation in front end & sever side?

I want to know about Json web token and how to implement. If we use **node.js** as backend with the help of express js and **react** as front end, what will be

tampermonkey @grant GM_setValue // @grant GM_getValue when i try open file

// @grant GM_setValue // @grant GM_getValue let fileHandle; let fileData; let text async function read()

Drastically results variation when change condition in _gradient_descent tSNE scikit-Learn

I am working with some noisy data to classify the spectrum of light curves using the tSNE instance in scikit-Learn. The problem comes when I try to understand h

Where can I find names of regions in cartographic report in IBM Cognos Analytics?

I have a map report in Cognos Analytics. It pulls up the names of the regions from the database. However, not all region names correlate with those stored in th

How to remove repititve pattern from an image

I have to clean images for my OCR. Some of them have text of quite pale gray color above complex background. After some modifications I've got result like this