Latest Questions

Roslyn SonarAnalyzer.CSharp does not respect rule settings from SonarLint.xml

I am trying to customize some rules, particularly S134 but it does not take my deviation from the default max parameter into account Repro: Create new Console A

How to cancel orders if they are not triggered within 1 bar?

How do i prevent orders from remaining open and executing later. For long entries i have a buystop = high, so if the next candle the price doesn't hit the high

When deploying to Azure app service from GitHub I get "Artifact storage quota has been hit." error. How to I fix this?

I try to deploy my Django app into Azure development using App Service with B1 plan. It worked fine, but suddenly I can't deploy to Azure anymore. When I read w

ErrorException Trying to get property 'nom_service' of non-object [closed]

pls help I tried the maximum ways but no result, I'm beginner in laravel!!! liste.blade.php <td> {{$data->candidature->dem

VSTEST@2 - error could not find testhost | Azure Pipelines

I'm running tests solution on azure pipeline with help of vstest@2 task. Pipeline distributes test cases on 4 agents and then runs them. Task yaml: - task: VS

How to scroll horizontally to an item in a container while keeping it centered?

I have a list of items in a container. The container takes the full width of the parent, allowing the items to overflow horizontally if needed. Here's what it l

Neural network: same prediction for different inputs

I am getting the same prediction for different inputs. I am trying to use a regressional neural network. I want to predict values instead of class using neural

How to verify a keycloak kcToken and kcIdToken fetched from browser's cookies after @react-keycloak/ssr login?

I am trying to secure NextJS API endpoints with keycloak. Keycloak authentication is already implemented on the front-end pages. The user is forced to sign in b

Trying to utilize a window function instead of this script

I'm trying to improve my query for this topic at hand. I'm trying to find the top 5 and bottom 5 growth rates per state from 2020 to 2021 in my org. The table h

Apache poi PowerPoint slide masters - not generating footer with page number

I have problem with slide master layout which contains page number and static text. I have them on my layouts but they are not appearing once I'm generating pre

how to add a header to all html pages (preferably without javascript)

I was wondering how to add a header (or just any html file) into another html file. I tried using iframes, but it just redirected what was inside of the iframe.

Remove certain elements from an array that fit a condition in PHP?

So i have an a array of numbers: $arr = [53, 182, 435, 591, 637]; All i am trying to do is loop trough each element and when a certain condition is true it sho

Angular Error trying to diff '[object Object]'. Only arrays and iterables are allowed

I have issue with this "Error trying to diff '[object Object]'. Only arrays and iterables are allowed" when i want to get my products in html Here is my product

How to Show result after uploaded file in PHP

I have a script that uploads the video to a server, everything is correct but there is a problem, after the upload of the video to the server is completed it sh

Why am I getting an npm error while trying to install Parcel?

I'm trying to install Parcel but when I run the command npm install --save-dev parcel I get this error: npm ERR! code 1 npm ERR! path E:\\ javascript\\Resorce &

Change default StackView animation

Forgive me if explanation is not excellent. Basically, the video below shows the standard animation for hiding labels in a stack view. Notice it looks like the

Tried four different methods to convert long to wide but all result in errors

My data looks like this newdata APPLICATION USER APPLICANT 25428X. P991. A1 25428X. P929. A2 26619L. P929. A1 26619L. P991. A2 This is what I am looking for

ERESOLVE Error when installing Angular Material

I'm currently creating a project with Angular 13, the Ionic CLI, and Angular Material. I have no problem adding @angular/material when I don't use Ionic, but us

select query unsuccessfully in the Apache IotDB

I execute the statement below in the picture.However, I failed. I don't know the reason about it. Apache IoTDB version: 0.13 If someone knows it, please let me

Aerospike filter expression on boolean fields not working

I've written the following Aerospike filter in Java. Both Field1 and Field2 are booleans. For some reason, the "filterByField.ValidBoth" condition does not yiel

Snyk False Positives for XSS in PHP

We've recently started using Snyk to perform code analysis, however have hit the stumbling block that the first scan is reporting many (>700) XSS vulnerabili

How to use custom labels from Django models.Choices field together with enum.auto?

Before Django v3.0 I used to use enum.Enum together with enum.auto (see reference) for my choices fields. The reason was mostly so I could use my enumeration cl

How to change storybook's stories folder directory?

I use CRA(typescript) and add storybook using under cli code $ npx create-react-app <project name> -template typescript $ npx -p @storybook/cli sb init --

Get_queryset() missing 1 required positional argument: 'request' when i'm trying to filter objects by logged in user

I'm trying to list all facilties owned by a user on a "facility list page" using the django rest framework and react. I tried the following to make this happen

Vscode randomly remove code when using format on save

I am using format on save feature in vscode for a while. And sometimes when i save, which invoking format on save, vscode randomly remove function and other sen

Apache beam blocked on unbounded side input

My question is very similar to another post: Apache Beam Cloud Dataflow Streaming Stuck Side Input. However, I tried the resolution there (apply GlobalWindows()

Pagination in PHP with N number of elements per page

I need a little bit of help. I have an XML file as a database. From it, I need to create a pagination with 25 elements per page with Next and Previous buttons,

'Product' matching query does not exist

this is the views code, the item is in the database but it still brings DoesNotExist, i have also tried get_object_or_404 im trying this url http://127.0.0.1:80

EF Core - ValueConverter or OwnedType for simple ValueObjects?

I use value objects to encapsulate validations like maxLength. This is an extract of a sample class without factory method and validation: public class CallingN

How to set outlook addins pinned right away?

I set the SupportsPinning to true for outlook addins by modifying the manifest file as shown below. This allows the pin icon available. By default, the Pin is