Latest Questions

add div element dynamically in same form

I have a div element which should add itself when the image plus sign is clicked. Can someone please suggest the way to implement it? I am not experienced in we

Got error 'Primary script unknown' with Apache alias outside document root

I've setup an Apache alias on a subdomain, which points to a directory outside the document root like this: Alias / /home/keyhelp/www/webmail/plugins/xcalendar/

Cloud Fusion Pipeline works well in Preview mode but throws error in Deployment mode

I have the below pipeline which ingests news data from RSS Feeds. Pipeline is contructed using HTTPPoller, XMLMultiParser Transorm, Javascript and MongoDB Sink.

It shows, Field 'id' expected a number but got ''

When I submit then shows this error. views.py: class userINFOupdate(View): def get(self,request): userid = request.GET.get("user_up_id") u

Set "selected" tag in responsive dropdown and select using Flask and jinja2

I have a flask server which sends a dictionary of options to a dropdown or selection (in form). Here is the Python code: @app.route("/", methods=['GET']) def in

React-Native: i got new "Expo" app update then I found <TextInput/> is not working

When I run the app along with through expo it is showing- attempt to invoke virtual method 'boolean abi44_0_0.com.face... got this error after install new "exp

OpenIddict front & back channel logout

Can someone point me in the right direction about OpenIddict and https://openid.net/specs/openid-connect-backchannel-1_0.html https://openid.net/specs/openid-co

Export is not recognize

I would like to install dot.net package but the export is not recognized in Azure App Service. wget -q -O - https://dot.net/v1/dotnet-install.sh | bash -s -- --

Is using @Nonnull (javax) on entities with Hibernate a bad idea?

We are using Hibernate in our Spring Boot application. Whenever we can, we use @javax.annotation.Nonnull and @javax.annotation.Nullable annotations to help us a

Fluent Validation with conditions in asp.net core

I am working in asp. net core 6.0 web API project (clean architecture (CQRS)). I am using fluent validation for validate command and queries. public class Creat

button only clicks once, at one div element

this is the onclick function export function changeColorButton() { document.getElementById("friendDiv").style.background = "grey"; } this is the output file.

What "appropriate source of randomness" in php random_int means?

I was writing some PHP code when I came to an warning in my coding saying "Unhandled Exception" pointing to the use of random_int in some part of my algorithm.

How to select record in the database using BETWEEN in sql?

How to select record in the database using BETWEEN in sql? what I want here is to select record within the startDate and endDate. if the record is exists within

When sending a get request to api, I get an error: has been blocked by CORS policy: No 'Access-Control-Allow-Origin'

When sending a get request to api, I get an error: has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Pandas groupby mean - into a dataframe?

Say my data looks like this: date,name,id,dept,sale1,sale2,sale3,total_sale 1/1/17,John,50,Sales,50.0,60.0,70.0,180.0 1/1/17,Mike,21,Engg,43.0,55.0,2.0,100.0 1

react native pdf view error resolving dependency

I have been stuck with this problem in react native version 0.64 latest. pdf view is throwing an error while configuring. I don't understand and not found the

How to style the cell edit component in material table?

So the thing is that I am trying to create an editable table using material-table library and when I click on a cell to edit its content, an edit component show

For Loop in R to find duplicates in single vector WITHOUT built-in functions

I found this as an interview question and can't seem to work a solution. You can't use any built in R functions. x <- c(77, 12, 4, 8, 77, 2, 4, 12) answer &

Python - find pattern in file in max 4 lines of code

i have the following task. I have to find a specific pattern(word) in my file.txt(is a song centered on page) and to print out the row number + the row which ha

Kafkajs - `The group is rebalancing, so a rejoin is needed` error causes message to be consumed more than once

I have an edge in Kafkajs consumer, where at times I get a rebalancing error: The group is rebalancing, so a rejoin is needed [Connection] Response Heartbeat(ke

SQL Server : unable to save decimal digits

I am facing a peculiar problem. I have a few tables in SQL Server where I have properly declared a few columns as decimal(18, 2). Unfortunately, whenever, I sav

Encrypting a video file with the 3DES algorithm

I am encrypting a video file using 3DES algorithm and ffmpeg library.In my program, I use two channels, each connected to its own instance of FFmpeg. Basically,

Why do new variable names need to be on the left of the equals (=)?

I am curious as to why a certain format produces an error while the other doesn't. Code that works: name = input().split() if len(name) == 3: first_name, mid

Measure bandwidth usage of application using C#

My application uses two separate ethernet-based devices. Each device is assigned a static IP. I want to show the bandwidth usage by each device separately. The

How to combine lines of code into one line?

I have 2 lines of code here but i want to combine all 2 lines into 1 // How to combine these 2 lines here $product = $this->productService->searchProduct(

ERROR LARAVEL EMAIL: Unable to connect with STARTTLS: stream_socket_enable_crypto(): SSL operation failed with code 1

Greetings to the community! I have recently developed a web page with Laravel 9.X, which works correctly in local, but when I upload it to my Host, I am having

meta description tag automatically

I am trying to add meta tag for description when it is missing in the posts. I want first 150 characters to be considered as description. I tried with multiple

How to change the aspect ratio of image and upload to Imgur?

I have a drop zone where you can drop or select images. And I am using a background-image property to display the image. I am building a post scheduler for Inst

How to get Enum values Array in PHP

I have Enum Class. <?php namespace Enum; enum Status:string { case ACTIVE = 'active'; case ARCHIVE = 'archive'; case INACTIVE = 'inactive'; }

Does Okta Sign In Widget Validation Summary Error Message support hyperlink?

We need to customize the Okta Sign In Widget Validation Error for user account locked out. we have updated the error below: ‘error.auth.lockedOut’: