Latest Questions

Exceptions while creating dirs with getDirectoryHandle in specific cases

Update: I raised a bug report in Chromium. Hopefully this situation can be fixed soon.     I'm trying to create a web app that can modify a directory

Pytorch Training; "Runtime Error:PyTorch and torchvision versions are incompatible ..."

SOLUTION at the bottom! I want to do Object Detection with this tutorial: https://towardsdatascience.com/building-your-own-object-detector-pytorch-vs-tensorflow

Why get 403 Forbidden while click on login [duplicate]

I am working on Spring MVC project. I use Spring Security for secure the url of my project. While i click on login button login succesfully bu

download artifacts between pipelines in the same project Gitlab ci

I am currently running 2 jobs. One running some test unit which generate a coverage.xml file from php based project and another which launch a sonarqube analysi

Soalris11 smbfs mount utility is failing to mount SMB2.0 onward windows shares

We are using smbfs mount utility in solaris 11 to mount windows SMB2 share but failure was reported as below: command(executed with root): sudo mount -F smbfs -

Failed to decrypt data with Fernet - TypeError: token must be bytes

I'm trying to make simple encrypt/decrypt cli script. I'm getting an error while decoded the encrypted text. TypeError: token must be bytes If I use str.encod

Create a custom response in Swagger Nestjs

I have my controller with @Post('email/register') @HttpCode(HttpStatus.CREATED) @ApiOkResponse(AuthConfigSwagger.API_OP_CREATE) @ApiCreatedResponse(Auth

Is there a way to extract data (maybe in csv/excel formal) from a Plotly html figure?

I have a Plotly heatmap graph only in html format. But I need the data used for it for my analysis. Is there a python function which I can use or any server whe

How can I Make from Flutter Project files a one single file to install it on Android or IOS?

I am just starting learn Flutter, I build a simple as you see on the photos. My problem is I have a windows 11 and I don't have any MacOS Device, But I want to

React native, Firebase notification quit state listener re-fire after refreshing app

I'm using React native 0.65.1 and "@react-native-firebase/messaging": "12.8.0", and have messaging().getInitialNotification() listener for cases that the app op

randomize Background image in an array for a button for AS3

I have a sample code: backgroundChange_btn.addEventListener(MouseEvent.CLICK, randomBG); function randomBG(e: MouseEvent): void { var Background = new Array

Split string on Upper Case word

I have a string with 2 phrases, separated by an upper case word in the same string: c="Text is here. TEST . More text here also" I want to separate both phrase

How to calculate 2d X-ray image projection given camera orientation (theta, phi, distance) and 3d object coordinates

I'm trying to recreate an X-ray projection I have 3D coordinates of an object of shape (100,3), spherical coordinates of the camera (theta, phi, distance), dist

Truffle init returns cannot find module

After installing nodejs, I created a directory, installed truffle, but after typing the command truffle init it returns this error. I've tried everything, but t

Hibernate envers revision throws exception when use @OrderBy

I have 2 entities and use Hibernate envers and Spring envers for auditing @Data @ToString(exclude = {"groupReportPrices"}) @EqualsAndHashCode(exclude = {"groupR

How can I configure list styles in CKEditor5?

we have a requirement where we have to remove one list style from CKEditor 5 Currently if list properties plugin is enabled, then following 6 list styles are av

Error connecting to localhost after npm hardhat run

I am new to deploying smart contracts with hardhat and am following a tutorial at https://dev.to/dabit3/the-complete-guide-to-full-stack-ethereum-development-3j

User defined fields in graphQL

Making an employee management system with graphene-Django and I have a JsonB field that I don't know the shape of because each company will defined the shape. H

Is REST framework token authentication safe?

I am relatively new to REST Framework for django. I was creating a simple app to login the users and I tried using Token Authentication. My concern is the token

How to display initialValues for material-ui autocomplete field?

I use the autocomplete field of material-ui (v5) and formik to generate my forms. On this form, I have some lists defined as constants. I use an api to get the

Live Server is Working but button is not showing on vscode?

Earlier Live Server Button (Go Live) was easily visible but now it no more visible. P.S.- It works with Cmd + L -> Cmd + O, but button in not visible. What c

Running a method on timer for the life of Session

I use the following code segmant to authenticate my users to office365 for my organization and create a session cookie. This also allows me to start an SMTP con

Redirect Loop happen when the session is not set

"Session.php" if(!isset($_SESSION['username'])) { header('Location: ./index.php'); // Redirecting To

Razor Pages Cannot Read File with build action "Content" Properties

I have a resources file name "Index.en-US.resx", initially it was "embedded resources" build action and it worked well in localization. But when it is "embedded

How to fetch dependencies of a resource using .NET Azure SDK?

I am trying to create an alternative to using ARM templates. I have so far managed to fetch subscriptions, resource groups and resource details using apropriate

How to resize plot_ly plot in R

I have been trying to plot a surface from the following data z = structure(c(-0.901395069908367, -0.889270928722939, -0.860498522734513, -0.81162341264254, -0.

CV2 puttext is not adding special characters

I am trying to update text om images using CV2.Puttext feature. Its adding all english words properly but special/asci characters like №,■,<<,

Generating a shuffled range in python

I need to generate (iterator) a random sequence of 32 bit integers with absolutely no repeats. The naive solutions to this problem don't work for me because of

Decode ByteArrayOutputStream without string it

I want a byteArray from a baos (ByteArrayOutputStream) but the baos contains some special characters (like '&' ) so I use StringEscapeUtils.unescapeHtml to

How to Export Strava Club activities to an excel?

How to Export Strava Club activities (for all Club members) to excel? Options are available for exporting self data but not Participant data for a Strava Club