Latest Questions

Apache Beam KinesisIO Java - Consume the data in a kinesis stream from where it left

First I want to say that am totally new to Beam world. I'm working on an Apache Beam focused task and my main data source is a Kinesis stream. In there, when I

ValueError: Input 0 of layer "sequential_35" is incompatible with the layer: expected shape=(None, 800, 1, 100), found shape=(None, 1, 100)

Hi Im currently working on the below program but im getting below error: ValueError: Input 0 of layer "sequential_35" is incompatible with the layer: expected s

How to automate OAuth2 implicit flow using rest assured

I've used the below code: OAuthClient client = new OAuthClient(new URLConnectionClient()); OAuthClientRequest request = OAuthClientReq

Regex to match if at least one match is found

I am writing a program for users and their different permissions. One user can have several different permissions, but the problem is that some permissions are

Go 1.17: How to log error with the stack trace

How to log the line number and file name of the error? I tried %w, zap logger's Errorw, but its not working as good as github.com/pkg/errors, which is sadly arc

Facing error with terraform code for importing multiple runbook to azure automation account

I have created the azure automation account using terraform code. I have multiple runbooks PowerShell scripts saved in my local. I am using for.each option to i

Reading from cassandra in Spark does not return all the data when using JoinWithCassandraTable

I'm querying data from Cassandra in Spark using SCC 2.5 and Spark 2.4.7 (pyspark). The table I'm reading from has a composite partition key (partition_key_1, pa

EPERM: operation not permitted, stat 'C:\$Recycle.Bin\desktop.ini'

trying to build a react app with vite(npm run build) but this appears. cleaned cashe and reinstalled npm a couple times with vs code closedbut still doesnt work

how python [0] * 3 are independent but [[0] * 3] * 3 each sub list is the same object? [duplicate]

my_list = [0] * 3 my_list[0] = 1 outputs to [1, 0, 0] my_2ndlist = [[0] * 3] * 3 my_2ndlist[1][1] = 5 outputs to [[0, 5, 0], [0, 5, 0], [0,

Oracle REGEXP_REPLACE for both space and "%" at the same time

I have following Oracle SQL code: SELECT TO_NUMBER(TRIM(REGEXP_REPLACE(per_growth, '(%)(\s)')), 'FM99999999999999999990D099999999999999999',

How to convert mean value of each column variable and fill this mean value to corresponding variable in dataframe? [duplicate]

I have a mining dataset which has a following features Rock_type, Gold in grams(AU). Rock type has 8 different rock types and Gold (AU) has pr

if error in useEffect, return <NotFound/>

Below I want to use a variable to record error condition of useEffect, and handle it later on. Is it good to use a useState variable, or there are more suitable

Azure to aws migration (synapse question)

We want to decommission the azure lake and maintain just aws moving forward. Issue is several of my customers use synapse that sources from azure lake. We are h

Bubble sort on string array not doing anything in C with strcmp

I am trying to sort a string array in C (char**), the string array is an array of all the names of files in a directory. Here are all the parts of the code, I e

Using array_agg with multiple DISTINCT Columns

In this query, I'm listing all users in organization 123 but I also want a column showing which other teams they are on across all organizations. My query right

Windows Powershell: How to compare two CSV files and output the rows that are just in either of the file but not in both

I have a file first.csv name,surname,height,city,county,state,zipCode John,Doe,120,jefferson,Riverside,NJ,8075 Jack,Yan,220,Phila,Riverside,PA,9119 Jill,Fan,120

Rollercoaster Project

I am supposed to filter the ages of the users through the following rule: if users >=120 cm then print("You can ride the rollercoaster!"), if users <=119

jbpm, getting error after deploying, error:Unable to complete your request. The following exception occurred: "...- org.apache.cxf.interceptor.Fault"

complete error: Unable to complete your request. The following exception occurred: "Unable to create response: [WebServiceProject.WebServiceBP:232 - WS:3] -- or

Can Cloudfront be configured to scrub all IP addresses from the incoming request before passing to the origin?

For compliance reasons, we are not able to collect or process IP addresses in our application. With an initial look, it seems that the new(ish) Cloudfront Funct

IIS 8 - HTTP to HTTPS URL rewrite not working - ASP.NET site - Document moved

I have IIS 8 installed on Windows Server 2012 R2 Followed these steps to configure http to https so when clicking on http://a5.example.com, user is redirected t

Getting "Failed - File incomplete" in Chrome when downloading file from MongoDB

My JavaScript application allows users to download a file. The page shows a clickable link to the file. The file is stored in MongoDB. When I click on the link

twilio error "accountSid must start with AC"

const express = require("express"); const app = express(); const PORT = 3000; require("dotenv").config(); const accountSid = process.env.TWILIO_ACCOUNT_SID; con

Creating endless copies of objects

I have a macro which theoretically works perfectly but I think it is creating unnecessary processing and calculation requirements which then crashes the file. I

VBS | Case - Selection issue

I realize this is silly but I've spent too much time trying to figure this out. I just need this block to loop until either "Red", "red", "Blue", or "blue" is t

Is Consistency is responsible for not allowing users to see data which is not committed in ACID?

Which property gives assurance that multiple data readers won't see uncommitted data? A. Isolation B. Atomicity C. Consistency D. Durability I believe the an

I want to create an html element, using javascript, with content drawn from two initialized arrays on page load

I want to create an html element, using javascript, with content drawn from two initialized arrays on page load. This is how far i have gotten but, aside from t

How do I use SetActive to turn on my Player Object from my GameManager?

I'm writing an Asteroid clone and I am running up against an issue with re-spawning my player object after it is deactivated on collision with an asteroid. I ru

Function stops without any logs in firebase (sometimes works well.. sometimes partly) - confused

Can you please share your thoughts or experience why this can happen: I have a folder on firebase cloud with a bunch of images (jpeg, png). It can contain from

How do I insert ThreeJS objects into Vue components? I am currently using Vue 3

How should I start using ThreeJS objects in Vue components? I was wondering whether someone could help me write a minimal working example of using the ArrowHelp

DevOps Pipeline changing Timeformat when sending variable values as JSON Body to Deploy Azure Resources with Terraform

My Terraform Deployment for Azure Resources contains a Budget, which requires a start and end date. When I'm sending my JSON Body/variable value from my Logic A