Category "web"

Domain Name Regex Including IDN Characters c#

I want my domain name to not contain more than one consecutive (.), '/' or any other special characters. But it can contain IDN Characters such as Á, 

mixed payload data fields in react signup form

I am really new to react i created a sign up form but when posting data values are mixed I created onchange and onsubmit to track changes and submit the to back

preconnect vs dns-prefetch resource hints

https://www.w3.org/TR/resource-hints/ If I understand correctly, both are used to initiate an early connection to load resources faster at a later time. preco

Charts.js how to set zero-value on axis?

I'm trying to implement a horizontal bar chart with Charts.js (sample page) Standard behavior is, that the bars split at the "mirror line" at "0" See image How

unable to resolve dependency tree error for creating new angular project

so today I wanted to create a new Angular project using the command ng new <projectname> and I got this error: npm ERR! ERESOLVE unable to resolve depende

Blockly: Update other inputDummy dropdown fields based on selection of a inputDummy dropdown field

I've been trying to make a custom block in the Blockly workspace that changes the options in drop-down fields based on the selection of a previous drop-down fie

Blockly: Update other inputDummy dropdown fields based on selection of a inputDummy dropdown field

I've been trying to make a custom block in the Blockly workspace that changes the options in drop-down fields based on the selection of a previous drop-down fie

Website Performance Issue [closed]

If a website is experiencing performance issues all of a sudden, what can be the reasons behind it? According to me database can one reason or

How REST API handle continuous data update

I have REST backend api, and front end will call api to get data. I was wondering how REST api handles continuous data update, for example, in jenkins, we wil

Failed to load resource: the server responded with a status of 502 (Bad Gateway)

How can you solve a 502 error? I believe whats causing the 502 error is a nested loop that contains heavy calculations. It would take up to 2 minutes for it t

convert recording audio to buffer

I want to record audio in javascript and convert it to a buffer at the time (not saving it to a file and then converting it to a buffer). how I can do this? I t

Spring boot + thymeleaf in IntelliJ: cannot resolve vars

I'm writing a short web form application using spring boot and thymeleaf on IntelliJ, but it seems that in the html file, all fields in the model cannot be reso

add a serial number while performing iteration in thymeleaf

I have a senario in which i must perform iteration on a list and display result as a grid.Also include serial number in it. Now what I did for serial number is

CSS Semi-Transparent box

I want a semi transparent div for better readability of the site's content, over my background image. The div has rounded corners, and I am having trouble combi

Mixed named and unnamed function parameters

I have this function for authenticating JWT tokens (not middleware), which says: package main import ( "net/http" "log" "fmt" "github.com/dgrijalva/jwt-go" )

class LaratrustSeeder does not exist

I tried to clear the cache and config and do vendor and dumpload everything but keeps telling me the class Laratrust does not exist I am using laravel 8 any s

Flutter iOS - How to hide the DONE button at the top of the ios keyboard?

The DONE button doesn't work on Flutter Web (Safari, Chrome). I just added a Textformfield Widget to 'Counter Example Project' and built it on Chrome. And I acc

Halt batch file until website stop is complete?

This question is very similar to Halt batch file until service stop is complete? but I would like to stop a website instead. I currently have appcmd stop sites

What are other options for storing data in a web application besides a database? [closed]

I have a pretty small database (15 tables, ~1000 rows) that is being accessed very frequently to get data. I was wondering what other options

Java velocity vm file #set use boolean variable

We can not use Boolean variable by #set when I find velocity project guidelines in Apache official site, but it is also worked when I use in my project. #set($